/* style/th-thao.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #222222;
  --border-color: #e0e0e0;
}

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

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

.page-th-thao-h1,
.page-th-thao-h2,
.page-th-thao-h3 {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 20px;
}

.page-th-thao-h1 {
  font-size: 3em;
  text-align: center;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-th-thao-h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-th-thao-h3 {
  font-size: 1.5em;
  margin-top: 20px;
  margin-bottom: 15px;
  color: var(--text-color-dark);
}

.page-th-thao p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

.page-th-thao-cta-button:hover {
  background: var(--primary-color);
  color: var(--text-color-dark);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.page-th-thao-button-small {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-color-dark);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid var(--primary-color);
  margin-top: 10px;
}

.page-th-thao-button-small:hover {
  background: var(--secondary-color);
  color: var(--text-color-light);
  border-color: var(--secondary-color);
  transform: translateY(-1px);
}

.page-th-thao-read-more {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-th-thao-read-more:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-th-thao-card-link {
  color: inherit;
  text-decoration: none;
}

.page-th-thao-card-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Hero Section */
.page-th-thao .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: var(--background-dark);
  color: var(--text-color-light);
}

.page-th-thao .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-th-thao .hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-th-thao .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-th-thao .hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-color-light);
}

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

.page-th-thao .section-intro p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-th-thao .feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-th-thao .feature-item .feature-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-th-thao .feature-item .page-th-thao-h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-top: 0;
}

/* Section How To Start */
.page-th-thao .section-how-to-start {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

.page-th-thao .section-how-to-start .page-th-thao-h2 {
  color: var(--primary-color);
}

.page-th-thao .section-how-to-start .page-th-thao-h2::after {
  background-color: var(--text-color-light);
}

.page-th-thao .section-how-to-start p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-color-light);
}

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

.page-th-thao .step-item {
  background: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
}

.page-th-thao .step-item .step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--text-color-dark);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid var(--text-color-light);
}

.page-th-thao .step-item .page-th-thao-h3 {
  color: var(--primary-color);
  margin-top: 20px;
}

.page-th-thao .step-item p {
  color: var(--text-color-light);
}

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

.page-th-thao .section-sports-categories p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-th-thao .category-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-th-thao .category-card .category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-th-thao .category-card .page-th-thao-h3 {
  padding: 15px 20px 0;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-th-thao .category-card p {
  padding: 0 20px 15px;
  text-align: left;
  font-size: 1em;
}

.page-th-thao .category-card .page-th-thao-read-more {
  display: block;
  padding: 0 20px 20px;
  text-align: right;
}

/* Section Promotions */
.page-th-thao .section-promotions {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-th-thao .section-promotions p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-th-thao .promo-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-th-thao .promo-card .promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-th-thao .promo-card .page-th-thao-h3 {
  padding: 15px 20px 0;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-th-thao .promo-card p {
  padding: 0 20px 15px;
  text-align: center;
  font-size: 1em;
}

.page-th-thao .promo-card .page-th-thao-button-small {
  margin-bottom: 20px;
}

/* FAQ Section */
.page-th-thao .section-faq {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

.page-th-thao .section-faq .page-th-thao-h2 {
  color: var(--primary-color);
}

.page-th-thao .section-faq .page-th-thao-h2::after {
  background-color: var(--text-color-light);
}

.page-th-thao .faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #444444;
  color: var(--text-color-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #555555;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #333333;
  color: var(--text-color-light);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to accommodate content */
  padding: 15px 25px;
}

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

.faq-answer p {
  margin: 0;
  font-size: 1em;
  color: var(--text-color-light);
}

.faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

.faq-answer a:hover {
  color: var(--secondary-color);
}

/* Section Blog News */
.page-th-thao .section-blog-news {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-th-thao .section-blog-news p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-th-thao .blog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-th-thao .blog-card .blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-th-thao .blog-card .page-th-thao-h3 {
  padding: 15px 20px 0;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-th-thao .blog-card p {
  padding: 0 20px 15px;
  text-align: left;
  font-size: 1em;
}

.page-th-thao .blog-card .page-th-thao-read-more {
  display: block;
  padding: 0 20px 20px;
  text-align: right;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-th-thao-h1 {
    font-size: 2.5em;
  }
  .page-th-thao-h2 {
    font-size: 2em;
  }
  .page-th-thao-h3 {
    font-size: 1.3em;
  }
  .page-th-thao .hero-content p {
    font-size: 1.1em;
  }
  .page-th-thao .features-grid, .page-th-thao .steps-grid, .page-th-thao .categories-grid, .page-th-thao .promo-grid, .page-th-thao .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-th-thao .hero-section {
    padding: 40px 15px;
  }
  .page-th-thao-h1 {
    font-size: 2em;
  }
  .page-th-thao-h2 {
    font-size: 1.8em;
  }
  .page-th-thao-cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-th-thao .section-intro, .page-th-thao .section-how-to-start, .page-th-thao .section-sports-categories, .page-th-thao .section-promotions, .page-th-thao .section-faq, .page-th-thao .section-blog-news {
    padding: 40px 0;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question .page-th-thao-h3 {
    font-size: 1.1em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-th-thao-h1 {
    font-size: 1.8em;
  }
  .page-th-thao-h2 {
    font-size: 1.6em;
  }
  .page-th-thao-h3 {
    font-size: 1.2em;
  }
  .page-th-thao .hero-content p {
    font-size: 1em;
  }
  .page-th-thao-cta-button {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-th-thao .feature-item, .page-th-thao .step-item, .page-th-thao .category-card, .page-th-thao .promo-card, .page-th-thao .blog-card {
    padding: 20px;
  }
  .page-th-thao .step-item .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    top: -15px;
  }
  .page-th-thao .category-card .category-image, .page-th-thao .promo-card .promo-image, .page-th-thao .blog-card .blog-image {
    height: 180px;
  }
}