/* style/th-thao.css */
:root {
  --primary-color: #CC0000;
  --secondary-color: #FFD700;
  --dark-background: #1a1a1a;
  --light-text: #ffffff;
  --dark-text: #333333;
  --grey-text: #cccccc;
  --border-color: #444444;
}

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

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

.page-th-thao-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color), var(--dark-background));
  padding: 60px 0;
  text-align: center;
}

.page-th-thao-hero-container {
  position: relative;
  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-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.page-th-thao-hero-content {
  position: relative;
  z-index: 2;
  color: var(--light-text);
  padding: 0 20px;
}

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

.page-th-thao-hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-th-thao-cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--dark-text);
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-th-thao-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-th-thao-small-cta {
  padding: 12px 30px;
  font-size: 1em;
}

.page-th-thao-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-th-thao-section:nth-of-type(even) {
  background-color: #f0f0f0;
}

.page-th-thao-introduction h2,
.page-th-thao-game-types h2,
.page-th-thao-benefits h2,
.page-th-thao-guide h2,
.page-th-thao-faq h2,
.page-th-thao-conclusion h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-th-thao-introduction h2::after,
.page-th-thao-game-types h2::after,
.page-th-thao-benefits h2::after,
.page-th-thao-guide h2::after,
.page-th-thao-faq h2::after,
.page-th-thao-conclusion h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

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

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

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

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

.page-th-thao-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-th-thao-card h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin: 20px 20px 10px;
}

.page-th-thao-card-link {
  text-decoration: none;
  color: var(--primary-color);
}

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

.page-th-thao-card p {
  font-size: 1em;
  color: var(--dark-text);
  padding: 0 20px 20px;
  text-align: justify;
}

.page-th-thao-benefits ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-th-thao-benefits ul li {
  background-color: #fff3e0;
  border-left: 5px solid var(--secondary-color);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 1.1em;
  line-height: 1.8;
  color: var(--dark-text);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-th-thao-benefits ul li strong {
  color: var(--primary-color);
}

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

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

.page-th-thao-step-item {
  background-color: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.page-th-thao-step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-th-thao-step-icon {
  background-color: var(--primary-color);
  color: var(--light-text);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-th-thao-step-item h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-th-thao-step-link {
  text-decoration: none;
  color: var(--primary-color);
}

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

.page-th-thao-step-item p {
  font-size: 1em;
  color: var(--dark-text);
  text-align: center;
}

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

/* FAQ default state - answer hidden */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* FAQ expanded state */
.faq-item.active .faq-answer {
  max-height: 500px; /* Enough height to contain content */
  padding: 15px;
  border-top: 1px solid #e0e0e0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* Question style */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-radius 0.3s ease;
  margin-bottom: 10px;
}

.faq-item.active .faq-question {
  border-radius: 5px 5px 0 0;
  margin-bottom: 0;
}

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

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

/* Toggle icon */
.faq-toggle {
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.page-th-thao-footer-content {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid var(--border-color);
  background-color: var(--dark-background);
  color: var(--grey-text);
  margin-top: 60px;
  border-radius: 0;
  box-shadow: none;
}

.page-th-thao-footer-content p {
  margin: 5px 0;
  font-size: 0.9em;
}

.page-th-thao-contact-info {
  margin-top: 10px;
}

.page-th-thao-footer-link {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-th-thao-footer-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-th-thao-hero-content h1 {
    font-size: 2.8em;
  }
  .page-th-thao-introduction h2,
  .page-th-thao-game-types h2,
  .page-th-thao-benefits h2,
  .page-th-thao-guide h2,
  .page-th-thao-faq h2,
  .page-th-thao-conclusion h2 {
    font-size: 2em;
  }
  .page-th-thao-card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-th-thao-hero {
    padding: 40px 0;
  }
  .page-th-thao-hero-content h1 {
    font-size: 2.2em;
  }
  .page-th-thao-hero-content p {
    font-size: 1em;
  }
  .page-th-thao-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-th-thao-section {
    padding: 40px 0;
  }
  .page-th-thao-introduction h2,
  .page-th-thao-game-types h2,
  .page-th-thao-benefits h2,
  .page-th-thao-guide h2,
  .page-th-thao-faq h2,
  .page-th-thao-conclusion h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-th-thao-section p {
    font-size: 0.95em;
  }
  .page-th-thao-grid-cards {
    grid-template-columns: 1fr;
  }
  .page-th-thao-card h3 {
    font-size: 1.4em;
  }
  .page-th-thao-benefits ul li {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-th-thao-steps {
    grid-template-columns: 1fr;
  }
  .page-th-thao-step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .faq-question {
    padding: 12px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
  .page-th-thao-footer-content {
    padding: 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-th-thao-hero-content h1 {
    font-size: 1.8em;
  }
  .page-th-thao-hero-image {
    max-height: 300px;
  }
  .page-th-thao-introduction h2,
  .page-th-thao-game-types h2,
  .page-th-thao-benefits h2,
  .page-th-thao-guide h2,
  .page-th-thao-faq h2,
  .page-th-thao-conclusion h2 {
    font-size: 1.5em;
  }
  .page-th-thao-cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-th-thao-card h3 {
    font-size: 1.2em;
  }
  .page-th-thao-step-item h3 {
    font-size: 1.3em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
}