/* style/eu9-games-card-games.css */

/* Biến CSS */
:root {
  --page-eu9-games-card-games-primary-color: #1A2B3C;
  --page-eu9-games-card-games-secondary-color: #FFD700;
  --page-eu9-games-card-games-text-light: #F8F8F8;
  --page-eu9-games-card-games-text-dark: #333333;
  --page-eu9-games-card-games-background-light: #F0F2F5;
  --page-eu9-games-card-games-background-dark: #121E2C;
  --page-eu9-games-card-games-border-color: #DCDCDC;
}

.page-eu9-games-card-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-eu9-games-card-games-text-dark);
  background-color: var(--page-eu9-games-card-games-background-light);
}

.page-eu9-games-card-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-eu9-games-card-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-eu9-games-card-games__section:nth-of-type(even) {
  background-color: var(--page-eu9-games-card-games-background-dark);
  color: var(--page-eu9-games-card-games-text-light);
}

.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__section-title,
.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__section-subtitle {
  color: var(--page-eu9-games-card-games-secondary-color);
}

.page-eu9-games-card-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--page-eu9-games-card-games-primary-color);
  position: relative;
  padding-bottom: 10px;
}

.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__section-title {
  color: var(--page-eu9-games-card-games-text-light);
}

.page-eu9-games-card-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--page-eu9-games-card-games-secondary-color);
  border-radius: 2px;
}

.page-eu9-games-card-games__section-subtitle {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 40px;
}

.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__section-subtitle {
  color: #B0B0B0;
}

.page-eu9-games-card-games__hero {
  background: linear-gradient(135deg, var(--page-eu9-games-card-games-primary-color) 0%, #3A506B 100%);
  color: var(--page-eu9-games-card-games-text-light);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-eu9-games-card-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-eu9-games-card-games-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-eu9-games-card-games__hero-description {
  font-size: 1.4em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
}

.page-eu9-games-card-games__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-eu9-games-card-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-eu9-games-card-games__btn--primary {
  background-color: var(--page-eu9-games-card-games-secondary-color);
  color: var(--page-eu9-games-card-games-primary-color);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-eu9-games-card-games__btn--primary:hover {
  background-color: #E6C200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-eu9-games-card-games__btn--secondary {
  background-color: transparent;
  color: var(--page-eu9-games-card-games-secondary-color);
  border: 2px solid var(--page-eu9-games-card-games-secondary-color);
}

.page-eu9-games-card-games__btn--secondary:hover {
  background-color: var(--page-eu9-games-card-games-secondary-color);
  color: var(--page-eu9-games-card-games-primary-color);
  transform: translateY(-3px);
}

.page-eu9-games-card-games__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-eu9-games-card-games__btn--large {
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-eu9-games-card-games__feature-grid,
.page-eu9-games-card-games__game-grid,
.page-eu9-games-card-games__strategy-grid,
.page-eu9-games-card-games__promo-grid,
.page-eu9-games-card-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-eu9-games-card-games__feature-item,
.page-eu9-games-card-games__game-card,
.page-eu9-games-card-games__promo-item,
.page-eu9-games-card-games__step-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__feature-item,
.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__game-card,
.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__promo-item,
.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__step-item {
  background-color: #2A3B4C; /* Darker background for cards in dark sections */
  color: var(--page-eu9-games-card-games-text-light);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-eu9-games-card-games__feature-item:hover,
.page-eu9-games-card-games__game-card:hover,
.page-eu9-games-card-games__promo-item:hover,
.page-eu9-games-card-games__step-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-eu9-games-card-games__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.page-eu9-games-card-games__feature-title,
.page-eu9-games-card-games__game-title,
.page-eu9-games-card-games__promo-title,
.page-eu9-games-card-games__step-title {
  font-size: 1.5em;
  color: var(--page-eu9-games-card-games-primary-color);
  margin-bottom: 10px;
}

.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__feature-title,
.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__game-title,
.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__promo-title,
.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__step-title {
  color: var(--page-eu9-games-card-games-secondary-color);
}

.page-eu9-games-card-games__game-image,
.page-eu9-games-card-games__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-eu9-games-card-games__game-card .page-eu9-games-card-games__btn {
  margin-top: 15px;
}

.page-eu9-games-card-games__strategy-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-left: 5px solid var(--page-eu9-games-card-games-secondary-color);
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__strategy-item {
  background-color: #2A3B4C;
  color: var(--page-eu9-games-card-games-text-light);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-eu9-games-card-games__strategy-title {
  font-size: 1.3em;
  color: var(--page-eu9-games-card-games-primary-color);
  margin-bottom: 10px;
}

.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__strategy-title {
  color: var(--page-eu9-games-card-games-secondary-color);
}

.page-eu9-games-card-games__step-item {
  position: relative;
  padding-top: 60px;
}

.page-eu9-games-card-games__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--page-eu9-games-card-games-secondary-color);
  color: var(--page-eu9-games-card-games-primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
}

.page-eu9-games-card-games__responsible-gaming {
  background-color: var(--page-eu9-games-card-games-primary-color);
  color: var(--page-eu9-games-card-games-text-light);
}

.page-eu9-games-card-games__responsible-gaming .page-eu9-games-card-games__section-title {
  color: var(--page-eu9-games-card-games-secondary-color);
}

.page-eu9-games-card-games__responsible-gaming .page-eu9-games-card-games__section-description {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
}

.page-eu9-games-card-games__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-eu9-games-card-games__faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--page-eu9-games-card-games-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__faq-item {
  background-color: #2A3B4C;
  border-color: #4A5B6C;
  color: var(--page-eu9-games-card-games-text-light);
}

.page-eu9-games-card-games__faq-question {
  font-size: 1.3em;
  color: var(--page-eu9-games-card-games-primary-color);
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__faq-question {
  color: var(--page-eu9-games-card-games-secondary-color);
}

.page-eu9-games-card-games__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: var(--page-eu9-games-card-games-secondary-color);
}

.page-eu9-games-card-games__faq-question.active::after {
  content: '-';
}

.page-eu9-games-card-games__faq-answer {
  font-size: 1em;
  color: #555;
  display: none;
  padding-top: 10px;
  border-top: 1px solid var(--page-eu9-games-card-games-border-color);
  margin-top: 10px;
}

.page-eu9-games-card-games__section:nth-of-type(even) .page-eu9-games-card-games__faq-answer {
  color: #B0B0B0;
  border-top-color: #4A5B6C;
}

.page-eu9-games-card-games__cta {
  background: var(--page-eu9-games-card-games-secondary-color);
  color: var(--page-eu9-games-card-games-primary-color);
  padding: 80px 0;
  text-align: center;
}

.page-eu9-games-card-games__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--page-eu9-games-card-games-primary-color);
}

.page-eu9-games-card-games__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #4A5B6C;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-eu9-games-card-games__hero-title {
    font-size: 2.8em;
  }
  .page-eu9-games-card-games__hero-description {
    font-size: 1.2em;
  }
  .page-eu9-games-card-games__section-title {
    font-size: 2em;
  }
  .page-eu9-games-card-games__feature-grid,
  .page-eu9-games-card-games__game-grid,
  .page-eu9-games-card-games__strategy-grid,
  .page-eu9-games-card-games__promo-grid,
  .page-eu9-games-card-games__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-eu9-games-card-games__hero {
    padding: 80px 0;
  }
  .page-eu9-games-card-games__hero-title {
    font-size: 2.2em;
  }
  .page-eu9-games-card-games__hero-description {
    font-size: 1em;
  }
  .page-eu9-games-card-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-eu9-games-card-games__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-eu9-games-card-games__section {
    padding: 40px 0;
  }
  .page-eu9-games-card-games__section-title {
    font-size: 1.8em;
  }
  .page-eu9-games-card-games__section-subtitle {
    font-size: 1em;
  }
  .page-eu9-games-card-games__cta-title {
    font-size: 2em;
  }
  .page-eu9-games-card-games__cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-eu9-games-card-games__hero-title {
    font-size: 1.8em;
  }
  .page-eu9-games-card-games__btn {
    width: 95%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-eu9-games-card-games__feature-grid,
  .page-eu9-games-card-games__game-grid,
  .page-eu9-games-card-games__strategy-grid,
  .page-eu9-games-card-games__promo-grid,
  .page-eu9-games-card-games__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-eu9-games-card-games__section-title {
    font-size: 1.5em;
  }
  .page-eu9-games-card-games__cta-title {
    font-size: 1.8em;
  }
}