/* style/the-thao.css */
:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #002244;
  --border-color: #e0e0e0;
}

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

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

.page-the-thao section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-the-thao h1, .page-the-thao h2, .page-the-thao h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-the-thao h1 {
  font-size: 3.2em;
  color: var(--text-light);
}

.page-the-thao h2 {
  font-size: 2.5em;
}

.page-the-thao h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-the-thao p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-the-thao a:hover {
  color: var(--secondary-color);
}

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

.page-the-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-the-thao .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

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

.page-the-thao .hero-content p {
  color: var(--text-light);
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao .cta-button:hover {
  background: #e6b800; /* Slightly darker secondary color */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao .secondary-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.page-the-thao .secondary-button:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Section Intro */
.page-the-thao .section-intro {
  background-color: var(--background-light);
  text-align: center;
}

/* Sports Diversity Section */
.page-the-thao .section-sports-diversity {
  background-color: #ffffff;
}

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

.page-the-thao .sports-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-the-thao .sports-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-the-thao .sports-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-the-thao .sports-item h3 a {
  color: var(--primary-color);
}

.page-the-thao .sports-item h3 a:hover {
  color: var(--secondary-color);
}

.page-the-thao .sports-item p {
  font-size: 0.95em;
  color: #555555;
  text-align: left;
}

/* Platforms Section */
.page-the-thao .section-platforms {
  background-color: var(--background-light);
}

.page-the-thao .platform-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-the-thao .platform-list li {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-the-thao .platform-list li:hover {
  transform: translateY(-5px);
}

.page-the-thao .platform-list h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 10px;
  text-align: left;
}

.page-the-thao .platform-list p {
  font-size: 1em;
  color: #666666;
  text-align: left;
}

/* Guide Section */
.page-the-thao .section-guide {
  background-color: #ffffff;
}

.page-the-thao .guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-counter;
}

.page-the-thao .guide-list li {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
}

.page-the-thao .guide-list li::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-the-thao .guide-list h3 {
  text-align: left;
  margin-bottom: 10px;
  font-size: 1.6em;
}

.page-the-thao .guide-list p {
  text-align: left;
  color: #555555;
}

.page-the-thao .guide-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.page-the-thao .guide-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

/* Promotions Section */
.page-the-thao .section-promotions {
  background-color: var(--background-light);
  text-align: center;
}

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

.page-the-thao .card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-the-thao .card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-the-thao .card h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

.page-the-thao .card p {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
  text-align: center;
}

.page-the-thao .card-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.page-the-thao .card-button:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

/* Tips Section */
.page-the-thao .section-tips {
  background-color: #ffffff;
}

.page-the-thao .tip-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-the-thao .tip-list li {
  background: var(--background-light);
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-the-thao .tip-list li:hover {
  transform: translateY(-5px);
}

.page-the-thao .tip-list h3 {
  text-align: left;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-the-thao .tip-list p {
  text-align: left;
  color: #666666;
}

/* Support and Security Section */
.page-the-thao .section-support-security {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-the-thao .section-support-security h2 {
  color: var(--secondary-color);
}

.page-the-thao .section-support-security p {
  color: #cccccc;
  text-align: center;
}

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

.page-the-thao .security-item {
  background: #002e5b;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-the-thao .security-item h3 {
  color: var(--secondary-color);
  font-size: 1.7em;
  margin-bottom: 15px;
}

.page-the-thao .security-item p {
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-the-thao .security-item img {
  max-width: 250px;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-the-thao .contact-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.page-the-thao .contact-button:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-the-thao .section-faq {
  background-color: #ffffff;
}

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

.page-the-thao .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.page-the-thao .faq-question:hover {
  background: var(--background-light);
}

.page-the-thao .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
  text-align: left;
}

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

.page-the-thao .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

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

.page-the-thao .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

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

/* Blog Section */
.page-the-thao .section-blog {
  background-color: var(--background-light);
}

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

.page-the-thao .article-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-the-thao .article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-the-thao .article-card h3 {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-align: left;
  flex-grow: 1;
}

.page-the-thao .article-card h3 a {
  color: var(--primary-color);
}

.page-the-thao .article-card h3 a:hover {
  color: var(--secondary-color);
}

.page-the-thao .article-card p {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
  text-align: left;
}

.page-the-thao .article-date {
  font-size: 0.85em;
  color: #888888;
  text-align: left;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-the-thao h1 {
    font-size: 2.8em;
  }
  .page-the-thao h2 {
    font-size: 2.2em;
  }
  .page-the-thao .hero-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-the-thao section {
    padding: 40px 0;
  }
  .page-the-thao h1 {
    font-size: 2.2em;
  }
  .page-the-thao h2 {
    font-size: 1.8em;
  }
  .page-the-thao h3 {
    font-size: 1.4em;
  }
  .page-the-thao p {
    font-size: 1em;
  }
  .page-the-thao .hero-section {
    padding: 60px 15px;
  }
  .page-the-thao .hero-image img {
    border-radius: 6px;
  }
  .page-the-thao .cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-the-thao .sports-grid, .page-the-thao .promotion-cards, .page-the-thao .security-grid, .page-the-thao .blog-articles {
    grid-template-columns: 1fr;
  }
  .page-the-thao .platform-list {
    grid-template-columns: 1fr;
  }
  .page-the-thao .guide-list li {
    padding-left: 50px;
  }
  .page-the-thao .guide-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.3em;
  }
  .page-the-thao .faq-question {
    padding: 15px 20px;
  }
  .page-the-thao .faq-question h3 {
    font-size: 1.1em;
  }
  .page-the-thao .faq-toggle {
    font-size: 1.5em;
  }
  .page-the-thao .faq-answer {
    padding: 0 20px;
  }
  .page-the-thao .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-the-thao h1 {
    font-size: 1.8em;
  }
  .page-the-thao h2 {
    font-size: 1.5em;
  }
  .page-the-thao h3 {
    font-size: 1.2em;
  }
  .page-the-thao .hero-content p {
    font-size: 0.95em;
  }
  .page-the-thao .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-the-thao .card img, .page-the-thao .sports-item img {
    height: 180px;
  }
}