/* style/khuyen-mai.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Deep Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --background-dark: #1a1a2e; /* Slightly darker for contrast */
  --border-color: #e0e0e0;
}

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

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

.page-khuyen-mai h1, .page-khuyen-mai h2, .page-khuyen-mai h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

.page-khuyen-mai h3 {
  font-size: 1.8em;
  margin-top: 25px;
}

.page-khuyen-mai p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

.page-khuyen-mai ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-khuyen-mai .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-khuyen-mai .cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 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: 60px 20px;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.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;
}

.page-khuyen-mai .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-khuyen-mai .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

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

/* General Section Styling */
.page-khuyen-mai section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-khuyen-mai .promo-overview {
  background-color: var(--background-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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  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 10px 30px rgba(0, 0, 0, 0.15);
}

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

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

.page-khuyen-mai .promo-card p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

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

.page-khuyen-mai .promo-card a:hover {
  background: #000066; /* Darker blue */
}

/* Content Wrapper for text and image side-by-side */
.page-khuyen-mai .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-khuyen-mai .content-wrapper.reverse {
  flex-direction: row-reverse;
}

.page-khuyen-mai .content-wrapper .text-content {
  flex: 1;
  min-width: 300px;
}

.page-khuyen-mai .content-wrapper .image-content {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-khuyen-mai .content-wrapper .image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-khuyen-mai .welcome-bonus-detail, .page-khuyen-mai .deposit-bonuses-detail, .page-khuyen-mai .cashback-offers-detail, .page-khuyen-mai .special-events-detail, .page-khuyen-mai .app-exclusive-promo, .page-khuyen-mai .tips-notes-section, .page-khuyen-mai .contact-support-section {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 40px;
}

.page-khuyen-mai .note {
  font-style: italic;
  color: #666;
  text-align: center;
  margin-top: 30px;
}

/* Large Promo Cards */
.page-khuyen-mai .promo-cards-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-khuyen-mai .card-large {
  background: var(--background-light);
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  padding: 35px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai .card-large:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-khuyen-mai .card-large img {
  width: 100%;
  max-width: 450px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 25px;
}

.page-khuyen-mai .card-large h3 {
  color: var(--secondary-color);
  font-size: 1.8em;
  margin-bottom: 18px;
}

.page-khuyen-mai .card-large p {
  font-size: 1.1em;
  color: var(--text-dark);
  margin-bottom: 25px;
}

/* Cashback Grid */
.page-khuyen-mai .cashback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai .cashback-item {
  background: var(--background-dark);
  color: var(--text-light);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai .cashback-item img {
  width: 100%;
  max-width: 250px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-khuyen-mai .cashback-item h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-khuyen-mai .cashback-item p {
  color: var(--text-light);
  font-size: 1em;
}

/* Event Cards List */
.page-khuyen-mai .event-cards-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai .event-card {
  background: #fdfdfd;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai .event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

.page-khuyen-mai .event-card h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-khuyen-mai .event-card p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

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

.page-khuyen-mai .event-card a:hover {
  background: #e6c200;
}

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

.page-khuyen-mai .faq-container {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

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

.page-khuyen-mai .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

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

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

.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: #fcfcfc;
  color: var(--text-dark);
}

.page-khuyen-mai .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.page-khuyen-mai .faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-khuyen-mai h1 {
    font-size: 2.8em;
  }
  .page-khuyen-mai h2 {
    font-size: 2em;
  }
  .page-khuyen-mai h3 {
    font-size: 1.5em;
  }
  .page-khuyen-mai .promo-cards-large {
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai .content-wrapper {
    flex-direction: column;
  }
  .page-khuyen-mai .content-wrapper.reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai .hero-section {
    padding: 40px 15px;
  }
  .page-khuyen-mai .hero-image img {
    border-radius: 8px;
  }
  .page-khuyen-mai h1 {
    font-size: 2.2em;
  }
  .page-khuyen-mai h2 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-khuyen-mai h3 {
    font-size: 1.3em;
  }
  .page-khuyen-mai p {
    font-size: 1em;
  }
  .page-khuyen-mai .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-khuyen-mai .promo-grid, .page-khuyen-mai .cashback-grid, .page-khuyen-mai .event-cards-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-khuyen-mai section {
    padding: 40px 0;
  }
  .page-khuyen-mai .welcome-bonus-detail, .page-khuyen-mai .deposit-bonuses-detail, .page-khuyen-mai .cashback-offers-detail, .page-khuyen-mai .special-events-detail, .page-khuyen-mai .app-exclusive-promo, .page-khuyen-mai .tips-notes-section, .page-khuyen-mai .contact-support-section {
    padding: 30px;
  }
  .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: 1.8em;
  }
  .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 h3 {
    font-size: 1.2em;
  }
  .page-khuyen-mai .cta-button {
    width: 100%;
    box-sizing: border-box;
  }
  .page-khuyen-mai .promo-card img, .page-khuyen-mai .card-large img, .page-khuyen-mai .cashback-item img, .page-khuyen-mai .event-card img {
    max-width: 100%;
    height: auto;
  }
}