/* style/khuyen-mai.css */
:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #F0F2F5;
  --text-dark: #333333;
  --bg-dark: #0A192F;
  --bg-light: #ffffff;
  --accent-light: #FFFBE6;
}

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

.page-khuyen-mai .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-khuyen-mai .section-intro, .page-khuyen-mai .section-welcome-bonus, .page-khuyen-mai .section-diverse-promos, .page-khuyen-mai .section-game-specific-promos, .page-khuyen-mai .section-terms-conditions, .page-khuyen-mai .section-support, .page-khuyen-mai .section-faq {
  padding: 60px 0;
}

.page-khuyen-mai h1, .page-khuyen-mai h2, .page-khuyen-mai h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-khuyen-mai h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai h2 {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
}

.page-khuyen-mai h3 {
  font-size: 1.6em;
  color: var(--primary-color);
}

.page-khuyen-mai p {
  margin-bottom: 15px;
}

.page-khuyen-mai ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-khuyen-mai li {
  margin-bottom: 8px;
}

/* Hero Section */
.page-khuyen-mai .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.page-khuyen-mai .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-khuyen-mai .hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-khuyen-mai .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.page-khuyen-mai .hero-image img:hover {
  transform: scale(1.03);
}

.page-khuyen-mai .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  margin-top: -80px; /* Overlap with image */
  color: var(--text-light);
}

.page-khuyen-mai .hero-content h1 {
  color: var(--secondary-color);
  font-size: 3.2em;
  margin-bottom: 15px;
}

.page-khuyen-mai .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-khuyen-mai .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
  text-transform: uppercase;
}

.page-khuyen-mai .cta-button:hover {
  background: #FFEB3B;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* Section Welcome Bonus */
.page-khuyen-mai .section-welcome-bonus {
  background-color: var(--accent-light);
}

.page-khuyen-mai .section-welcome-bonus .content-block {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 30px;
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-khuyen-mai .section-welcome-bonus .promotion-image {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-khuyen-mai .section-welcome-bonus .text-content {
  flex: 1;
  max-width: 50%;
}

.page-khuyen-mai .section-welcome-bonus h2 {
  text-align: left;
  color: var(--secondary-color);
  font-size: 2.5em;
  margin-bottom: 25px;
}

.page-khuyen-mai .section-welcome-bonus h3 {
  color: var(--primary-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

/* Section Diverse Promos */
.page-khuyen-mai .section-diverse-promos {
  background-color: var(--bg-light);
}

.page-khuyen-mai .promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai .promo-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai .promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai .promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-khuyen-mai .promo-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-khuyen-mai .promo-card p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 20px;
}

.page-khuyen-mai .btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-khuyen-mai .btn-small:hover {
  background: #FFEB3B;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* Section Game Specific Promos */
.page-khuyen-mai .section-game-specific-promos {
  background-color: var(--accent-light);
}

.page-khuyen-mai .game-promo-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-khuyen-mai .game-promo-item {
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  transition: transform 0.3s ease;
}

.page-khuyen-mai .game-promo-item:hover {
  transform: translateY(-5px);
}

.page-khuyen-mai .game-promo-item img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.page-khuyen-mai .game-promo-item h3 {
  margin-top: 0;
  color: var(--secondary-color);
}

.page-khuyen-mai .game-promo-item a {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-khuyen-mai .game-promo-item a:hover {
  color: #FFEB3B;
  border-color: var(--primary-color);
}

/* Section Terms and Conditions & Support */
.page-khuyen-mai .section-terms-conditions, .page-khuyen-mai .section-support {
  background-color: var(--bg-light);
}

.page-khuyen-mai .section-terms-conditions h3 {
  color: var(--secondary-color);
  margin-top: 30px;
}

.page-khuyen-mai .section-support ul {
  list-style: none;
  padding-left: 0;
}

.page-khuyen-mai .section-support li {
  background-color: var(--accent-light);
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--primary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* FAQ Section */
.page-khuyen-mai .section-faq {
  background-color: var(--accent-light);
}

.page-khuyen-mai .faq-list {
  margin-top: 40px;
}

.page-khuyen-mai .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-khuyen-mai .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-khuyen-mai .faq-question:hover {
  background: #f5f5f5;
}

.page-khuyen-mai .faq-question h3 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.25em;
}

.page-khuyen-mai .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-khuyen-mai .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-khuyen-mai .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fdfdfd;
  color: #555;
}

.page-khuyen-mai .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px 25px;
  border-top: 1px solid #eee;
}

.page-khuyen-mai .faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-khuyen-mai .hero-content h1 {
    font-size: 2.5em;
  }
  .page-khuyen-mai .section-welcome-bonus .content-block {
    flex-direction: column;
  }
  .page-khuyen-mai .section-welcome-bonus .promotion-image,
  .page-khuyen-mai .section-welcome-bonus .text-content {
    max-width: 100%;
  }
  .page-khuyen-mai .section-welcome-bonus h2 {
    text-align: center;
  }
  .page-khuyen-mai .game-promo-item {
    flex-direction: column;
    text-align: center;
  }
  .page-khuyen-mai .game-promo-item img {
    width: 100%;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai h1 {
    font-size: 2em;
  }
  .page-khuyen-mai h2 {
    font-size: 1.8em;
  }
  .page-khuyen-mai h3 {
    font-size: 1.4em;
  }
  .page-khuyen-mai .hero-section {
    padding: 60px 15px;
  }
  .page-khuyen-mai .hero-content {
    margin-top: -60px;
  }
  .page-khuyen-mai .hero-content h1 {
    font-size: 2em;
  }
  .page-khuyen-mai .hero-content p {
    font-size: 1em;
  }
  .page-khuyen-mai .cta-button {
    padding: 15px 30px;
    font-size: 18px;
  }
  .page-khuyen-mai .section-intro, .page-khuyen-mai .section-welcome-bonus, .page-khuyen-mai .section-diverse-promos, .page-khuyen-mai .section-game-specific-promos, .page-khuyen-mai .section-terms-conditions, .page-khuyen-mai .section-support, .page-khuyen-mai .section-faq {
    padding: 40px 0;
  }
  .page-khuyen-mai .promo-card {
    padding: 20px;
  }
  .page-khuyen-mai .promo-card img {
    height: 180px;
  }
  .page-khuyen-mai .faq-question {
    padding: 15px 20px;
  }
  .page-khuyen-mai .faq-question h3 {
    font-size: 1.1em;
  }
  .page-khuyen-mai .faq-toggle {
    font-size: 20px;
  }
  .page-khuyen-mai .faq-answer {
    padding: 0 20px;
  }
  .page-khuyen-mai .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-khuyen-mai h1 {
    font-size: 1.8em;
  }
  .page-khuyen-mai h2 {
    font-size: 1.6em;
  }
  .page-khuyen-mai .hero-content h1 {
    font-size: 1.8em;
  }
  .page-khuyen-mai .cta-button {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-khuyen-mai .promo-grid {
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai .game-promo-item img {
    height: 200px;
  }
}