/* style/ththao.css */

/* Base styles for the Thể Thao page */
.page-ththao {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
  box-sizing: border-box;
}

.page-ththao__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-ththao__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-ththao__text-block {
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #A7D9B8; /* Text Secondary */
}

.page-ththao__highlight {
  color: #57E38D; /* Glow */
  font-weight: bold;
}

/* Buttons */
.page-ththao__btn-primary,
.page-ththao__btn-secondary,
.page-ththao__btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 17px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-ththao__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-ththao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-ththao__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-ththao__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Border with some transparency */
  transform: translateY(-2px);
}

.page-ththao__btn-tertiary {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  border: none;
  padding: 8px 20px;
  font-size: 16px;
}

.page-ththao__btn-tertiary:hover {
  background-color: #13994A;
}

/* Hero Section */
.page-ththao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Align content to top initially */
  padding-top: 10px; /* Small top padding */
  background-color: #08160F;
}

.page-ththao__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-ththao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-ththao__hero-content-wrapper {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 0;
  background-color: #08160F;
  width: 100%;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
}

.page-ththao__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-ththao__description {
  font-size: 19px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

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

/* Sports Overview Section */
.page-ththao__sports-overview-section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-ththao__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-ththao__card {
  background-color: #11271B; /* Card B G */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-ththao__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-ththao__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-ththao__card-title {
  font-size: 24px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-ththao__card-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  line-height: 1.7;
}

/* Live Betting Section */
.page-ththao__live-betting-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-ththao__live-betting-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-ththao__live-betting-text {
  flex: 1;
  text-align: left;
}

.page-ththao__live-betting-text p {
  font-size: 18px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  line-height: 1.7;
}

.page-ththao__live-betting-image-wrapper {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-ththao__live-betting-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Promotions Section */
.page-ththao__promotions-section {
  padding: 80px 0;
}

.page-ththao__promo-card {
  background-color: #11271B; /* Card B G */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-ththao__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-ththao__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

/* Why Choose Bet39 Section */
.page-ththao__why-bet39-section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-ththao__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
  text-align: center;
}

.page-ththao__feature-item {
  padding: 20px;
  background-color: #11271B; /* Card B G */
  border-radius: 12px;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-ththao__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-ththao__feature-title {
  font-size: 22px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ththao__feature-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

/* FAQ Section */
.page-ththao__faq-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-ththao__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-ththao__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 19px;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B;
  transition: background-color 0.3s ease;
}

.page-ththao__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-ththao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #57E38D; /* Glow */
}

.page-ththao__faq-item[open] .page-ththao__faq-toggle {
  content: '−';
}

.page-ththao__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
  animation: fadein 0.3s ease-out;
}

.page-ththao__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-ththao__faq-item summary {
  list-style: none;
}

/* CTA Bottom Section */
.page-ththao__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: #08160F;
}

/* Image responsiveness */
.page-ththao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 992px) {
  .page-ththao__live-betting-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-ththao__live-betting-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-ththao__container {
    padding: 0 15px !important;
  }

  .page-ththao__hero-content-wrapper {
    margin-top: -60px; /* Adjust overlap for smaller screens */
    padding: 30px 0;
  }

  .page-ththao__main-title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .page-ththao__description,
  .page-ththao__text-block {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-ththao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-ththao__btn-primary,
  .page-ththao__btn-secondary,
  .page-ththao__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ththao__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 20px;
  }

  .page-ththao__grid-cards,
  .page-ththao__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ththao__card-image,
  .page-ththao__promo-image {
    height: 180px; /* Adjust card image height */
  }

  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ththao__hero-image-wrapper,
  .page-ththao__live-betting-image-wrapper,
  .page-ththao__card,
  .page-ththao__promo-card,
  .page-ththao__feature-item,
  .page-ththao__faq-item,
  .page-ththao__cta-buttons,
  .page-ththao__button-group,
  .page-ththao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-ththao__hero-section,
  .page-ththao__sports-overview-section,
  .page-ththao__live-betting-section,
  .page-ththao__promotions-section,
  .page-ththao__why-bet39-section,
  .page-ththao__faq-section,
  .page-ththao__cta-bottom-section {
    padding: 40px 0;
  }

  .page-ththao__faq-question {
    padding: 15px 20px;
    font-size: 17px;
  }

  .page-ththao__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-ththao__hero-content-wrapper {
    margin-top: -40px;
  }
  .page-ththao__main-title {
    font-size: clamp(24px, 10vw, 36px);
  }
  .page-ththao__description,
  .page-ththao__text-block {
    font-size: 15px;
  }
}