/* Base styles for the Đá Gà page */
.page-da-ga {
  font-family: Arial, sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy from shared.css body background */
}

.page-da-ga__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-da-ga__dark-section {
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF; /* Text Main */
  padding: 60px 0;
}

.page-da-ga__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-da-ga__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold */
}

.page-da-ga__description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
}

.page-da-ga__text-block {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-da-ga__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding for hero section */
  position: relative;
  overflow: hidden;
}

.page-da-ga__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-da-ga__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-da-ga__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image */
  background: rgba(16, 35, 63, 0.9); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
}

.page-da-ga__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 900;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-da-ga__hero-content .page-da-ga__description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-da-ga__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.page-da-ga__btn-primary,
.page-da-ga__btn-secondary,
.page-da-ga__btn-outline {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-da-ga__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-da-ga__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-da-ga__btn-secondary {
  background: #10233F; /* Card BG */
  color: #4FA8FF; /* Glow */
  border: 2px solid #244D84; /* Border */
}

.page-da-ga__btn-secondary:hover {
  background: #244D84; /* Border color */
  color: #F3F8FF;
  transform: translateY(-2px);
}

.page-da-ga__btn-outline {
  background: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold */
}

.page-da-ga__btn-outline:hover {
  background: #F2C14E;
  color: #08162B; /* Deep Navy */
  transform: translateY(-2px);
}

/* Features Grid */
.page-da-ga__features-grid,
.page-da-ga__promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-da-ga__feature-card,
.page-da-ga__tip-card,
.page-da-ga__promo-card {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-da-ga__feature-icon,
.page-da-ga__promo-image {
  width: 100%;
  max-width: 400px; /* Example max-width for content images */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-da-ga__card-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-da-ga__card-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
  flex-grow: 1;
}

/* How to Play Steps */
.page-da-ga__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-da-ga__step-item {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-da-ga__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  display: block;
}

.page-da-ga__step-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-da-ga__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Tips & Strategy */
.page-da-ga__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-da-ga__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-da-ga__cta-bottom .page-da-ga__text-block {
  margin-bottom: 30px;
  font-size: 1.1em;
}

/* Security Section */
.page-da-ga__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 30px;
}

.page-da-ga__security-list li {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  position: relative;
  padding-left: 25px;
}

.page-da-ga__security-list li::before {
  content: '✅'; /* Checkmark icon */
  position: absolute;
  left: 0;
  color: #4FA8FF; /* Glow */
}

/* FAQ Section */
.page-da-ga__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-da-ga__faq-item {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-da-ga__faq-item[open] .page-da-ga__faq-toggle {
  content: '-';
}

.page-da-ga__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #113B7A; /* Main color */
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For summary tag */
}

.page-da-ga__faq-question::-webkit-details-marker {
  display: none;
}

.page-da-ga__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-da-ga__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #1D5FD1; /* Auxiliary color */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-da-ga__faq-item[open] .page-da-ga__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to form an X or minus */
}

.page-da-ga__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
  background-color: #fcfcfc;
  border-top: 1px solid #eee;
}

.page-da-ga__faq-answer p {
  margin-bottom: 10px;
}

.page-da-ga__faq-link {
  color: #1D5FD1; /* Auxiliary color */
  text-decoration: underline;
  font-weight: bold;
}

.page-da-ga__faq-link:hover {
  color: #113B7A; /* Main color */
}

/* Final CTA Section */
.page-da-ga__cta-final {
  padding: 60px 20px;
  text-align: center;
  background: #10233F; /* Card BG */
  border-radius: 15px;
  border: 1px solid #244D84; /* Border */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-da-ga__cta-final .page-da-ga__section-title {
  color: #F2C14E; /* Gold */
}

.page-da-ga__cta-final .page-da-ga__description {
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-da-ga__container {
    padding: 20px 30px;
  }

  .page-da-ga__hero-content {
    margin-top: -80px;
    padding: 30px;
  }

  .page-da-ga__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-da-ga__section-title {
    font-size: 2em;
  }

  .page-da-ga__features-grid,
  .page-da-ga__steps-grid,
  .page-da-ga__tips-grid,
  .page-da-ga__promo-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-da-ga {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-da-ga__hero-section {
    padding-top: 10px; /* Small top padding */
  }

  .page-da-ga__hero-image-wrapper {
    max-height: 400px;
  }

  .page-da-ga__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }

  .page-da-ga__main-title {
    font-size: 2em;
  }

  .page-da-ga__description {
    font-size: 1em;
  }

  .page-da-ga__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-da-ga__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-da-ga__btn-primary,
  .page-da-ga__btn-secondary,
  .page-da-ga__btn-outline {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-da-ga__features-grid,
  .page-da-ga__steps-grid,
  .page-da-ga__tips-grid,
  .page-da-ga__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-da-ga__feature-card,
  .page-da-ga__tip-card,
  .page-da-ga__promo-card,
  .page-da-ga__step-item {
    padding: 25px 20px;
  }

  .page-da-ga__feature-icon,
  .page-da-ga__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-da-ga__security-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 15px;
  }

  .page-da-ga__security-list li {
    text-align: left;
    width: 100%;
  }

  .page-da-ga__faq-item {
    margin: 0 15px 15px;
  }

  .page-da-ga__container,
  .page-da-ga__cta-final {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mandatory for all images and containers to prevent overflow */
  .page-da-ga img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-da-ga__section,
  .page-da-ga__card,
  .page-da-ga__container,
  .page-da-ga__hero-section,
  .page-da-ga__intro-section,
  .page-da-ga__why-choose-us,
  .page-da-ga__how-to-play,
  .page-da-ga__tips-strategy,
  .page-da-ga__promotions,
  .page-da-ga__security,
  .page-da-ga__faq-section,
  .page-da-ga__call-to-action {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden; /* Ensure no horizontal scroll */
  }
}

/* Ensure no small icons */
.page-da-ga img {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure no filter is used on images */
.page-da-ga img {
  filter: none; /* Explicitly ensure no filter */
}

/* Ensure main body text has good contrast */
.page-da-ga p, .page-da-ga li {
  color: #F3F8FF; /* Text Main for dark background */
}

/* Override for light background sections */
.page-da-ga__light-bg p, .page-da-ga__light-bg li {
  color: #333333; /* Dark text for light background */
}

/* Ensure card background and text contrast */
.page-da-ga__card {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
}

.page-da-ga__light-bg .page-da-ga__card {
  background: #ffffff; /* White background for cards in light sections */
  color: #333333; /* Dark text for cards in light sections */
}

.page-da-ga__light-bg .page-da-ga__card-title {
  color: #113B7A; /* Main color for titles in light sections */
}

.page-da-ga__light-bg .page-da-ga__card-description {
  color: #333333; /* Dark text for descriptions in light sections */
}

.page-da-ga__light-bg .page-da-ga__step-number,
.page-da-ga__light-bg .page-da-ga__step-title {
  color: #113B7A; /* Main color for step numbers/titles in light sections */
}