/* style/th-thao.css */
:root {
  --primary-color: #003366;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #0a192f;
  --border-color: #e0e0e0;
}

.page-th-thao {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

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

.page-th-thao .section-title {
  font-size: 3em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-th-thao .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-th-thao .section-text {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  color: #555555;
}

.page-th-thao .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
  text-transform: uppercase;
}

.page-th-thao .cta-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-th-thao .inline-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-th-thao .inline-link:hover {
  color: var(--secondary-color);
}

/* Hero Banner */
.page-th-thao .hero-banner {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
}

.page-th-thao .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-th-thao .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.page-th-thao .hero-content-wrapper {
  max-width: 900px;
  padding: 20px;
}

.page-th-thao .hero-title {
  font-size: 4.5em;
  margin-bottom: 20px;
  font-weight: 900;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-th-thao .hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Section Intro */
.page-th-thao .section-intro {
  padding: 80px 0;
  background-color: var(--background-light);
}

/* Section Highlights */
.page-th-thao .section-highlights {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-th-thao .highlight-item {
  background: #fdfdfd;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-th-thao .highlight-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-th-thao .highlight-icon {
  width: 120px; /* Increased size */
  height: 120px; /* Increased size */
  margin-bottom: 20px;
  object-fit: contain;
}

.page-th-thao .highlight-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-th-thao .highlight-item p {
  font-size: 1em;
  color: #666666;
}

/* Section Sports Types */
.page-th-thao .section-sports-types {
  padding: 80px 0;
  background-color: var(--background-light);
}

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

.page-th-thao .sport-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-th-thao .sport-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-th-thao .sport-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-th-thao .sport-title {
  font-size: 1.8em;
  color: var(--primary-color);
  padding: 20px 20px 10px;
  font-weight: bold;
}

.page-th-thao .sport-card p {
  font-size: 1em;
  color: #666666;
  padding: 0 20px 20px;
}

/* Section Live Betting */
.page-th-thao .section-live-betting {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-th-thao .live-betting-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-th-thao .live-betting-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-th-thao .live-betting-text {
  flex: 1;
  max-width: 50%;
}

.page-th-thao .live-betting-text p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #555555;
}

/* Section Promotions */
.page-th-thao .section-promotions {
  padding: 80px 0;
  background-color: var(--background-light);
}

.page-th-thao .promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-th-thao .promo-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-th-thao .promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-th-thao .promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-th-thao .promo-title {
  font-size: 1.6em;
  color: var(--primary-color);
  padding: 20px 20px 10px;
  font-weight: bold;
}

.page-th-thao .promo-card p {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px 20px;
}

.page-th-thao .center-button {
  text-align: center;
  margin-top: 50px;
}

/* Section How To Start */
.page-th-thao .section-how-to-start {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-th-thao .step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-th-thao .step-item {
  background: #fdfdfd;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-th-thao .step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--secondary-color);
  font-size: 2.2em;
  font-weight: bold;
  margin: 0 auto 20px;
  border: 3px solid var(--secondary-color);
}

.page-th-thao .step-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-th-thao .step-item p {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

.page-th-thao .step-button {
  padding: 10px 25px;
  font-size: 1em;
  border-radius: 5px;
}

/* Section Security & Support */
.page-th-thao .section-security-support {
  padding: 80px 0;
  background-color: var(--background-light);
}

.page-th-thao .security-support-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-th-thao .security-support-content .text-content {
  flex: 1;
}

.page-th-thao .security-support-content .text-content p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #555555;
  text-align: justify;
}

.page-th-thao .security-support-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Section FAQ */
.page-th-thao .section-faq {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-th-thao .faq-list {
  margin-top: 40px;
}

.page-th-thao .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

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

.page-th-thao .faq-question:hover {
  background: #f5f5f5;
}

.page-th-thao .faq-question h3 {
  font-size: 1.2em;
  color: var(--primary-color);
  margin: 0;
  font-weight: bold;
}

.page-th-thao .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-th-thao .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-th-thao .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #eef4f7;
}

.page-th-thao .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
}

.page-th-thao .faq-answer p {
  font-size: 1em;
  color: #444444;
  margin: 0;
}

/* Section CTA Bottom */
.page-th-thao .section-cta-bottom {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color), #004d99);
  color: var(--text-light);
  text-align: center;
}

.page-th-thao .section-cta-bottom .cta-title {
  font-size: 3.5em;
  color: var(--secondary-color);
  margin-bottom: 25px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-th-thao .section-cta-bottom .cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-th-thao .section-cta-bottom .large-button {
  padding: 18px 45px;
  font-size: 1.3em;
  border-width: 3px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-th-thao .hero-title {
    font-size: 3.5em;
  }
  .page-th-thao .hero-description {
    font-size: 1.2em;
  }
  .page-th-thao .live-betting-content,
  .page-th-thao .security-support-content {
    flex-direction: column;
    text-align: center;
  }
  .page-th-thao .live-betting-image,
  .page-th-thao .live-betting-text,
  .page-th-thao .security-support-image,
  .page-th-thao .security-support-content .text-content {
    max-width: 100%;
  }
  .page-th-thao .section-title {
    font-size: 2.5em;
  }
  .page-th-thao .section-cta-bottom .cta-title {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .page-th-thao .hero-banner {
    height: 500px;
  }
  .page-th-thao .hero-title {
    font-size: 2.8em;
  }
  .page-th-thao .hero-description {
    font-size: 1em;
  }
  .page-th-thao .section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-th-thao .highlight-item,
  .page-th-thao .sport-card,
  .page-th-thao .promo-card,
  .page-th-thao .step-item {
    padding: 25px;
  }
  .page-th-thao .highlight-title,
  .page-th-thao .sport-title,
  .page-th-thao .promo-title,
  .page-th-thao .step-title {
    font-size: 1.5em;
  }
  .page-th-thao .highlight-icon {
    width: 100px;
    height: 100px;
  }
  .page-th-thao .sport-image,
  .page-th-thao .promo-image {
    height: 180px;
  }
  .page-th-thao .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-th-thao .section-cta-bottom .cta-title {
    font-size: 2.2em;
  }
  .page-th-thao .section-cta-bottom .cta-description {
    font-size: 1.1em;
  }
  .page-th-thao .section-intro, .page-th-thao .section-highlights, .page-th-thao .section-sports-types, .page-th-thao .section-live-betting, .page-th-thao .section-promotions, .page-th-thao .section-how-to-start, .page-th-thao .section-security-support, .page-th-thao .section-faq, .page-th-thao .section-cta-bottom {
    padding: 60px 0;
  }
  .page-th-thao .faq-question h3 {
    font-size: 1.1em;
  }
  .page-th-thao .faq-toggle {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-th-thao .hero-banner {
    height: 400px;
  }
  .page-th-thao .hero-title {
    font-size: 2.2em;
  }
  .page-th-thao .hero-description {
    font-size: 0.9em;
  }
  .page-th-thao .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-th-thao .section-title {
    font-size: 1.8em;
  }
  .page-th-thao .highlight-item,
  .page-th-thao .sport-card,
  .page-th-thao .promo-card,
  .page-th-thao .step-item {
    padding: 20px;
  }
  .page-th-thao .highlight-title,
  .page-th-thao .sport-title,
  .page-th-thao .promo-title,
  .page-th-thao .step-title {
    font-size: 1.3em;
  }
  .page-th-thao .highlight-icon {
    width: 80px;
    height: 80px;
  }
  .page-th-thao .sport-image,
  .page-th-thao .promo-image {
    height: 150px;
  }
  .page-th-thao .step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.8em;
  }
  .page-th-thao .section-cta-bottom .cta-title {
    font-size: 1.8em;
  }
  .page-th-thao .section-cta-bottom .cta-description {
    font-size: 0.9em;
  }
  .page-th-thao .section-cta-bottom .large-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-th-thao .faq-question h3 {
    font-size: 1em;
  }
  .page-th-thao .faq-toggle {
    font-size: 18px;
  }
  .page-th-thao .faq-answer {
    padding: 0 15px;
  }
  .page-th-thao .faq-item.active .faq-answer {
    padding: 15px;
  }
}