/* Base styles for the Đá Gà page */
.page-da-ga {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #F4F7FB; /* Background color for the page */
}

.page-da-ga__section-padding {
  padding: 60px 0;
}

.page-da-ga__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-da-ga__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-da-ga__section-description {
  font-size: 18px;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-da-ga__text-block {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  text-align: justify;
}

.page-da-ga__text-block p {
  margin-bottom: 15px;
}

.page-da-ga__text-block a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
}

.page-da-ga__text-block a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-da-ga__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #F4F7FB;
}

.page-da-ga__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

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

.page-da-ga__hero-content {
  max-width: 900px;
  padding: 0 15px;
  z-index: 1;
}

.page-da-ga__hero-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: #1F2D3D;
  margin-bottom: 15px;
  line-height: 1.1;
}

.page-da-ga__hero-description {
  font-size: clamp(18px, 2vw, 22px);
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

/* Buttons */
.page-da-ga__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-da-ga__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-da-ga__btn--primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-da-ga__btn--secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-da-ga__btn--secondary:hover {
  background: #F4F7FB;
  color: #1F2D3D;
  border-color: #1F2D3D;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-da-ga__btn--link {
  color: #2F6BFF;
  text-decoration: underline;
  font-weight: 600;
  padding: 0;
  background: none;
}

.page-da-ga__btn--link:hover {
  color: #1F2D3D;
}

.page-da-ga__btn--large {
  padding: 16px 40px;
  font-size: 20px;
}

/* Section Background Colors */
.page-da-ga__light-bg {
  background-color: #F4F7FB;
  color: #333333;
}

.page-da-ga__dark-bg {
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-da-ga__dark-bg .page-da-ga__section-title,
.page-da-ga__dark-bg .page-da-ga__card-title {
  color: #ffffff;
}

.page-da-ga__dark-bg .page-da-ga__section-description,
.page-da-ga__dark-bg .page-da-ga__card-text,
.page-da-ga__dark-bg .page-da-ga__advantage-text {
  color: #f0f0f0;
}

.page-da-ga__dark-bg .page-da-ga__btn--secondary {
  background: #ffffff;
  color: #2F6BFF;
  border-color: #ffffff;
}

.page-da-ga__dark-bg .page-da-ga__btn--secondary:hover {
  background: #e0e0e0;
  color: #1F2D3D;
  border-color: #e0e0e0;
}

/* Image Styles */
.page-da-ga__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Betting Types Section */
.page-da-ga__betting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-da-ga__betting-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-da-ga__betting-card .page-da-ga__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-da-ga__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-da-ga__card-text {
  font-size: 16px;
  color: #333333;
  line-height: 1.6;
  padding: 0 20px;
}

/* Guide Section */
.page-da-ga__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-da-ga__step-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-da-ga__step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(47, 107, 255, 0.4);
}

.page-da-ga__step-card .page-da-ga__card-title {
  margin-bottom: 15px;
}

/* Tips Section */
.page-da-ga__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-da-ga__tip-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-da-ga__tip-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-da-ga__tip-title {
  font-size: 20px;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 10px;
}

.page-da-ga__tip-text {
  font-size: 15px;
  color: #333333;
  line-height: 1.6;
}

/* Promotions Section */
.page-da-ga__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-da-ga__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-da-ga__promo-card .page-da-ga__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-da-ga__promo-card .page-da-ga__card-title {
  padding: 20px 20px 10px;
  text-align: left;
}

.page-da-ga__promo-card .page-da-ga__card-title a {
  color: #1F2D3D;
  text-decoration: none;
}

.page-da-ga__promo-card .page-da-ga__card-title a:hover {
  text-decoration: underline;
  color: #2F6BFF;
}

.page-da-ga__promo-card .page-da-ga__card-text {
  padding: 0 20px 20px;
  text-align: left;
  flex-grow: 1;
}

.page-da-ga__promo-card .page-da-ga__btn--link {
  display: block;
  text-align: right;
  margin: 0 20px 20px;
}

.page-da-ga__view-all-promos {
  text-align: center;
}

/* Why Choose Section */
.page-da-ga__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-da-ga__advantage-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-da-ga__advantage-title {
  font-size: 22px;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 10px;
}

.page-da-ga__advantage-text {
  font-size: 16px;
  color: #333333;
  line-height: 1.6;
}

.page-da-ga__advantage-item a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
}

.page-da-ga__advantage-item a:hover {
  text-decoration: underline;
}

/* FAQ Section */
details.page-da-ga__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #FFFFFF;
}

details.page-da-ga__faq-item summary.page-da-ga__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-da-ga__faq-item summary.page-da-ga__faq-question:hover {
  background: #f5f5f5;
}

.page-da-ga__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}

.page-da-ga__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

details.page-da-ga__faq-item[open] .page-da-ga__faq-toggle {
  transform: rotate(45deg);
}

details.page-da-ga__faq-item .page-da-ga__faq-answer {
  padding: 0 20px 20px;
  background: #F4F7FB;
  border-radius: 0 0 5px 5px;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
}

.page-da-ga__faq-answer p {
  margin: 0;
}

.page-da-ga__faq-answer a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
}

.page-da-ga__faq-answer a:hover {
  text-decoration: underline;
}

/* Conclusion Section */
.page-da-ga__text-center {
  text-align: center;
}

.page-da-ga__conclusion-section .page-da-ga__section-description {
  color: #f0f0f0;
}

.page-da-ga__conclusion-section .page-da-ga__section-description a {
  color: #A5C4FF;
  font-weight: 600;
  text-decoration: none;
}

.page-da-ga__conclusion-section .page-da-ga__section-description a:hover {
  text-decoration: underline;
}

/* --- Responsive Styles --- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-da-ga__section-padding {
    padding: 40px 0;
  }

  .page-da-ga__hero-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }

  .page-da-ga__hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
  }

  .page-da-ga__section-title {
    font-size: clamp(24px, 3.5vw, 34px);
  }

  .page-da-ga__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-da-ga__betting-grid,
  .page-da-ga__steps-grid,
  .page-da-ga__tips-grid,
  .page-da-ga__promo-grid,
  .page-da-ga__advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }

  .page-da-ga__betting-card .page-da-ga__card-image {
    height: 200px;
  }

  .page-da-ga__promo-card .page-da-ga__card-image {
    height: 180px;
  }

  .page-da-ga__faq-qtext {
    font-size: 17px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-da-ga__section-padding {
    padding: 30px 0;
  }

  .page-da-ga__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO Section */
  .page-da-ga__hero-section {
    padding-top: 10px;
    padding-bottom: 20px;
  }

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

  .page-da-ga__hero-image {
    object-fit: contain !important; /* HERO mobile: contain to prevent cropping */
    height: auto !important;
    aspect-ratio: unset !important;
  }

  .page-da-ga__hero-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-da-ga__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-da-ga__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* Buttons mobile specific */
  .page-da-ga__btn {
    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;
    font-size: 16px;
  }

  .page-da-ga__btn--large {
    padding: 14px 30px;
    font-size: 18px;
  }

  .page-da-ga__section-title {
    font-size: clamp(22px, 6vw, 28px);
    margin-bottom: 15px;
  }

  .page-da-ga__section-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-da-ga__text-block {
    font-size: 15px;
  }

  .page-da-ga__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 20px;
  }

  /* Betting Grid - 1 column for mobile */
  .page-da-ga__betting-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-da-ga__betting-card .page-da-ga__card-image {
    height: 180px;
  }

  .page-da-ga__card-title {
    font-size: 20px;
  }

  .page-da-ga__card-text {
    font-size: 15px;
  }

  /* Steps Grid - 1 column for mobile */
  .page-da-ga__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-da-ga__step-card {
    padding: 25px;
  }

  /* Tips Grid - 1 column for mobile */
  .page-da-ga__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-da-ga__tip-item {
    padding: 25px;
  }

  /* Promotions Grid - 1 column for mobile */
  .page-da-ga__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-da-ga__promo-card .page-da-ga__card-image {
    height: 160px;
  }

  .page-da-ga__promo-card .page-da-ga__card-title {
    font-size: 18px;
  }

  .page-da-ga__promo-card .page-da-ga__card-text {
    font-size: 14px;
  }

  /* Advantages Grid - 1 column for mobile */
  .page-da-ga__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-da-ga__advantage-item {
    padding: 25px;
  }

  .page-da-ga__advantage-title {
    font-size: 20px;
  }

  .page-da-ga__advantage-text {
    font-size: 15px;
  }

  /* FAQ Section */
  details.page-da-ga__faq-item summary.page-da-ga__faq-question {
    padding: 15px;
  }

  .page-da-ga__faq-qtext {
    font-size: 16px;
  }

  .page-da-ga__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
    margin-left: 10px;
  }

  details.page-da-ga__faq-item .page-da-ga__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }
}