/* style/th-thao.css */
:root {
  --primary-color: #003366;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #002244;
  --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 20px;
}

.page-th-thao section {
  padding: 60px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.page-th-thao section:last-of-type {
  border-bottom: none;
}

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

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

.page-th-thao h2 {
  font-size: 2.2em;
  margin-top: 30px;
}

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

.page-th-thao p {
  margin-bottom: 15px;
  text-align: justify;
}

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

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

.page-th-thao .primary-button,
.page-th-thao .secondary-button,
.page-th-thao .cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  border: none;
}

.page-th-thao .primary-button {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-th-thao .primary-button:hover {
  background-color: #004488;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.page-th-thao .secondary-button {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
}

.page-th-thao .secondary-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.page-th-thao .cta-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-size: 1.2em;
  padding: 15px 40px;
  margin-top: 30px;
}

.page-th-thao .cta-button:hover {
  background-color: #e6c200;
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 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: linear-gradient(135deg, var(--background-dark) 0%, var(--primary-color) 100%);
  color: var(--text-color-light);
  overflow: hidden;
}

.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;
  z-index: 1;
}

.page-th-thao .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-th-thao .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  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%;
  padding: 20px;
}

.page-th-thao .hero-content p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 25px auto;
  color: #e0e0e0;
}

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

.page-th-thao .section-intro p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.page-th-thao .sport-card {
  background-color: var(--text-color-light);
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-th-thao .sport-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 15px;
}

.page-th-thao .sport-card h3 {
  font-size: 1.4em;
  margin: 15px 15px 10px 15px;
  color: var(--primary-color);
  text-align: center;
}

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

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

.page-th-thao .sport-card p {
  padding: 0 20px;
  font-size: 0.95em;
  color: #555;
  flex-grow: 1;
  text-align: justify;
}

.page-th-thao .sport-card .secondary-button {
  margin-top: 15px;
  display: block;
  width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
  box-shadow: none;
}

.page-th-thao .more-sports-text {
  text-align: center;
  margin-top: 30px;
  font-style: italic;
  color: #666;
}

/* Bet Type List */
.page-th-thao .bet-type-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-th-thao .bet-type-list li {
  background-color: var(--text-color-light);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  padding: 25px;
  text-align: left;
}

.page-th-thao .bet-type-list li h3 {
  color: var(--primary-color);
  margin-top: 0;
  text-align: left;
  font-size: 1.5em;
}

.page-th-thao .bet-type-list li p {
  color: #444;
  line-height: 1.7;
  text-align: justify;
}

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

.page-th-thao .step-item {
  background-color: var(--text-color-light);
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding-bottom: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-th-thao .step-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  margin-bottom: 20px;
}

.page-th-thao .step-item h3 {
  font-size: 1.3em;
  color: var(--primary-color);
  margin: 0 15px 10px 15px;
  text-align: center;
}

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

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

.page-th-thao .step-item p {
  padding: 0 20px;
  font-size: 0.95em;
  color: #555;
  flex-grow: 1;
  text-align: justify;
}

/* Promotions Grid */
.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-color: var(--text-color-light);
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-th-thao .promo-card h3 {
  font-size: 1.4em;
  margin: 15px 15px 10px 15px;
  color: var(--primary-color);
  text-align: center;
}

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

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

.page-th-thao .promo-card p {
  padding: 0 20px;
  font-size: 0.95em;
  color: #555;
  flex-grow: 1;
  text-align: justify;
}

.page-th-thao .promo-card .secondary-button {
  margin-top: 15px;
  display: block;
  width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
  box-shadow: none;
}

/* Tips List */
.page-th-thao .tip-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-th-thao .tip-list li {
  background-color: var(--text-color-light);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  padding: 25px;
  text-align: left;
}

.page-th-thao .tip-list li h3 {
  color: var(--primary-color);
  margin-top: 0;
  text-align: left;
  font-size: 1.5em;
}

.page-th-thao .tip-list li p {
  color: #444;
  line-height: 1.7;
  text-align: justify;
}

/* FAQ Section */
.page-th-thao .faq-list {
  margin-top: 30px;
}

.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: var(--text-color-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

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

.page-th-thao .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-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: #f9f9f9;
  color: #555;
}

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

.page-th-thao .faq-answer p {
  margin: 0;
  text-align: justify;
}

/* Contact Section */
.page-th-thao .section-contact {
  text-align: center;
  background-color: var(--background-dark);
  color: var(--text-color-light);
  padding: 80px 0;
}

.page-th-thao .section-contact h2 {
  color: var(--secondary-color);
}

.page-th-thao .section-contact p {
  color: #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-th-thao .contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
}

.page-th-thao .contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-th-thao .contact-list li strong {
  color: var(--secondary-color);
}

.page-th-thao .section-contact .primary-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-th-thao .section-contact .primary-button:hover {
  background-color: #e6c200;
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-th-thao h1 {
    font-size: 2.4em;
  }
  .page-th-thao h2 {
    font-size: 1.8em;
  }
  .page-th-thao h3 {
    font-size: 1.4em;
  }
  .page-th-thao .hero-content p {
    font-size: 1em;
  }
  .page-th-thao .sport-card img, .page-th-thao .step-item img, .page-th-thao .promo-card img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-th-thao section {
    padding: 40px 0;
  }
  .page-th-thao h1 {
    font-size: 2em;
  }
  .page-th-thao h2 {
    font-size: 1.6em;
  }
  .page-th-thao h3 {
    font-size: 1.2em;
  }
  .page-th-thao .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-th-thao .sports-grid, .page-th-thao .guide-steps, .page-th-thao .promo-grid {
    grid-template-columns: 1fr;
  }
  .page-th-thao .sport-card, .page-th-thao .step-item, .page-th-thao .promo-card {
    margin-bottom: 20px;
  }
  .page-th-thao .bet-type-list li, .page-th-thao .tip-list li {
    padding: 20px;
  }
  .page-th-thao .faq-question {
    padding: 15px 20px;
  }
  .page-th-thao .faq-question h3 {
    font-size: 1.1em;
  }
  .page-th-thao .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-th-thao h1 {
    font-size: 1.8em;
  }
  .page-th-thao h2 {
    font-size: 1.4em;
  }
  .page-th-thao .hero-image img {
    border-radius: 5px;
  }
  .page-th-thao .primary-button, .page-th-thao .secondary-button, .page-th-thao .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-th-thao .sport-card img, .page-th-thao .step-item img, .page-th-thao .promo-card img {
    height: 150px;
  }
}