/* style/the-thao-bong-da.css */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --background-dark: #0A0A0A;
  --card-background: #111111;
  --text-light: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
}

.page-the-thao-bong-da {
  background-color: var(--background-dark);
  color: var(--text-light);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-the-thao-bong-da__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Hero Section */
.page-the-thao-bong-da__hero-section {
  padding-top: 10px; /* Adjusted for shared header padding */
  padding-bottom: 60px;
  background: linear-gradient(180deg, rgba(242, 193, 78, 0.1) 0%, rgba(10, 10, 10, 0) 100%), var(--background-dark);
}

.page-the-thao-bong-da__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
}

.page-the-thao-bong-da__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  color: var(--text-light);
}

.page-the-thao-bong-da__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-the-thao-bong-da__hero-description {
  font-size: 1.125rem;
  margin-bottom: 30px;
}

.page-the-thao-bong-da__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-the-thao-bong-da__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-the-thao-bong-da__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-the-thao-bong-da__btn-primary,
.page-the-thao-bong-da__btn-secondary,
.page-the-thao-bong-da__card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao-bong-da__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: var(--background-dark);
  border: none;
}

.page-the-thao-bong-da__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-the-thao-bong-da__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-the-thao-bong-da__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--background-dark);
  transform: translateY(-2px);
}

/* Section Header */
.page-the-thao-bong-da__section-header {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  padding-top: 40px;
}

.page-the-thao-bong-da__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-light);
}

/* Intro Section */
.page-the-thao-bong-da__intro-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-the-thao-bong-da__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-the-thao-bong-da__icon-box {
  text-align: center;
  background-color: var(--card-background);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-the-thao-bong-da__icon-box-media {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-the-thao-bong-da__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-the-thao-bong-da__icon-box-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-the-thao-bong-da__icon-box-description {
  font-size: 1rem;
  color: var(--text-light);
}

/* Betting Types Section */
.page-the-thao-bong-da__betting-types-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-the-thao-bong-da__betting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao-bong-da__betting-card {
  background-color: var(--card-background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.page-the-thao-bong-da__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-the-thao-bong-da__betting-card .page-the-thao-bong-da__card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary-color);
  padding: 20px 20px 10px;
}

.page-the-thao-bong-da__betting-card .page-the-thao-bong-da__card-description {
  font-size: 1rem;
  color: var(--text-light);
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-the-thao-bong-da__betting-card .page-the-thao-bong-da__card-button {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: var(--background-dark);
  border: none;
}

.page-the-thao-bong-da__betting-card .page-the-thao-bong-da__card-button:hover {
  filter: brightness(1.1);
}

/* Guide Section */
.page-the-thao-bong-da__guide-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-the-thao-bong-da__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-the-thao-bong-da__guide-step {
  background-color: var(--card-background);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-the-thao-bong-da__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-the-thao-bong-da__guide-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-the-thao-bong-da__guide-text {
  font-size: 1rem;
  color: var(--text-light);
}

.page-the-thao-bong-da__button-wrapper {
  text-align: center;
  margin-top: 20px;
}

/* Promo Section */
.page-the-thao-bong-da__promo-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-the-thao-bong-da__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao-bong-da__promo-card {
  background-color: var(--card-background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.page-the-thao-bong-da__promo-card .page-the-thao-bong-da__card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary-color);
  padding: 20px 20px 10px;
}

.page-the-thao-bong-da__promo-card .page-the-thao-bong-da__card-description {
  font-size: 1rem;
  color: var(--text-light);
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-the-thao-bong-da__promo-card .page-the-thao-bong-da__card-button {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: var(--background-dark);
  border: none;
}

.page-the-thao-bong-da__promo-card .page-the-thao-bong-da__card-button:hover {
  filter: brightness(1.1);
}

/* FAQ Section */
.page-the-thao-bong-da__faq-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-the-thao-bong-da__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-the-thao-bong-da__faq-item {
  background-color: var(--card-background);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.page-the-thao-bong-da__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary-color);
  cursor: pointer;
  list-style: none;
}

.page-the-thao-bong-da__faq-question::-webkit-details-marker {
  display: none;
}

.page-the-thao-bong-da__faq-qtext {
  flex-grow: 1;
}

.page-the-thao-bong-da__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-the-thao-bong-da__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--text-light);
}

.page-the-thao-bong-da__faq-answer p {
  margin-bottom: 0;
}

/* General image styling for content areas */
.page-the-thao-bong-da img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao-bong-da__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-the-thao-bong-da__hero-content {
    order: 2;
    flex: none;
    width: 100%;
  }

  .page-the-thao-bong-da__hero-image {
    order: 1;
    flex: none;
    width: 100%;
    margin-bottom: 30px;
  }

  .page-the-thao-bong-da__main-title,
  .page-the-thao-bong-da__hero-description {
    text-align: center;
  }

  .page-the-thao-bong-da__hero-cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-the-thao-bong-da__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-the-thao-bong-da__hero-container {
    padding: 20px 0;
    gap: 20px;
  }

  .page-the-thao-bong-da__main-title {
    font-size: 2rem;
  }

  .page-the-thao-bong-da__hero-description {
    font-size: 1rem;
  }

  .page-the-thao-bong-da__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-the-thao-bong-da__btn-primary,
  .page-the-thao-bong-da__btn-secondary,
  .page-the-thao-bong-da__card-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-the-thao-bong-da__hero-cta-buttons,
  .page-the-thao-bong-da__button-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao-bong-da__section-header {
    font-size: 1.8rem;
    padding-top: 30px;
  }

  .page-the-thao-bong-da__section-description {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .page-the-thao-bong-da__intro-section,
  .page-the-thao-bong-da__betting-types-section,
  .page-the-thao-bong-da__guide-section,
  .page-the-thao-bong-da__promo-section,
  .page-the-thao-bong-da__faq-section {
    padding: 40px 0;
  }

  .page-the-thao-bong-da__icon-box-media {
    width: 150px;
    height: 150px;
    border-width: 3px;
  }

  .page-the-thao-bong-da__icon-box-title {
    font-size: 1.3rem;
  }

  .page-the-thao-bong-da__icon-box-description {
    font-size: 0.9rem;
  }

  .page-the-thao-bong-da__card-image {
    height: 200px; /* Adjust card image height for mobile */
  }

  .page-the-thao-bong-da__betting-card .page-the-thao-bong-da__card-title,
  .page-the-thao-bong-da__promo-card .page-the-thao-bong-da__card-title,
  .page-the-thao-bong-da__guide-title {
    font-size: 1.2rem;
  }

  .page-the-thao-bong-da__betting-card .page-the-thao-bong-da__card-description,
  .page-the-thao-bong-da__promo-card .page-the-thao-bong-da__card-description,
  .page-the-thao-bong-da__guide-text {
    font-size: 0.9rem;
  }

  .page-the-thao-bong-da__betting-card .page-the-thao-bong-da__card-button,
  .page-the-thao-bong-da__promo-card .page-the-thao-bong-da__card-button {
    width: calc(100% - 40px) !important; /* Ensure full width within card padding */
  }

  .page-the-thao-bong-da__guide-steps {
    gap: 20px;
  }

  .page-the-thao-bong-da__faq-question {
    padding: 15px 20px;
    font-size: 1.05rem;
  }

  .page-the-thao-bong-da__faq-toggle {
    font-size: 1.3rem;
  }

  .page-the-thao-bong-da__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* Universal image responsive styles for content area */
  .page-the-thao-bong-da img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao-bong-da__container,
  .page-the-thao-bong-da__hero-container,
  .page-the-thao-bong-da__features-grid,
  .page-the-thao-bong-da__betting-grid,
  .page-the-thao-bong-da__guide-steps,
  .page-the-thao-bong-da__promo-grid,
  .page-the-thao-bong-da__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao-bong-da__hero-cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}