/* style/th-thao.css */

/* Biến CSS */
:root {
  --primary-color: #007bff; /* Deep Blue */
  --secondary-color: #ffc107; /* Gold/Amber */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #212529;
  --border-color: #e0e0e0;
}

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

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

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

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

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

.page-th-thao h2 {
  font-size: 2.5em;
  font-weight: bold;
}

.page-th-thao h3 {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--text-dark);
}

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

.page-th-thao .cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-th-thao .cta-button:hover {
  background: #e0a800; /* Darker secondary */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Banner Section */
.page-th-thao .banner-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Gradient from primary to a darker blue */
  color: var(--text-light);
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-th-thao .banner-content {
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-th-thao .banner-content p {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-th-thao .banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  overflow: hidden;
}

.page-th-thao .banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Intro Section */
.page-th-thao .intro-section {
  background-color: var(--text-light);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

/* Sports Categories */
.page-th-thao .sports-categories {
  background-color: var(--background-light);
}

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

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

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

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

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

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

.page-th-thao .sport-card h3 a:hover {
  text-decoration: underline;
}

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

.page-th-thao .read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-th-thao .read-more-button:hover {
  background: #0056b3; /* Darker primary */
}

/* Bet Types Section */
.page-th-thao .bet-types {
  background-color: var(--text-light);
}

.page-th-thao .bet-type-item {
  background: var(--background-light);
  border-left: 5px solid var(--secondary-color);
  padding: 20px 30px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-th-thao .bet-type-item p {
  margin-bottom: 0;
}

/* Advantages Section */
.page-th-thao .advantages-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

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

.page-th-thao .advantage-card {
  background: #343a40; /* Darker background for cards */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-th-thao .advantage-card:hover {
  transform: translateY(-5px);
}

.page-th-thao .advantage-card img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.page-th-thao .advantage-card h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-th-thao .advantage-card p {
  font-size: 0.95em;
  color: #ced4da;
  text-align: center;
}

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

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

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

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

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

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

.page-th-thao .promo-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 50px;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-th-thao .promo-button:hover {
  background: #e0a800;
}

/* Guide Section */
.page-th-thao .guide-section {
  background-color: var(--text-light);
}

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

.page-th-thao .guide-section ol li {
  counter-increment: guide-counter;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding-left: 60px;
}

.page-th-thao .guide-section ol li::before {
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--primary-color);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-th-thao .guide-section ol li h3 {
  text-align: left;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.6em;
}

.page-th-thao .guide-section ol li p {
  text-align: left;
  margin-bottom: 15px;
}

.page-th-thao .guide-button {
  display: inline-block;
  padding: 8px 18px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-th-thao .guide-button:hover {
  background: #e0a800;
}

/* FAQ Section */
.page-th-thao .faq-section {
  background-color: var(--background-light);
}

.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-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.25em;
  color: var(--primary-color);
  text-align: left;
  flex-grow: 1;
}

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

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

.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: var(--text-dark);
}

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

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

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

.page-th-thao .cta-bottom-section h2 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-th-thao .cta-bottom-section p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-th-thao .cta-bottom-section .cta-button {
  margin: 0 15px;
}

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

.page-th-thao .cta-bottom-section .primary-button:hover {
  background: #e0a800;
}

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

.page-th-thao .cta-bottom-section .secondary-button:hover {
  background: #e9ecef;
  color: #0056b3;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-th-thao h1 {
    font-size: 2.8em;
  }
  .page-th-thao h2 {
    font-size: 2em;
  }
  .page-th-thao .banner-section {
    padding: 80px 0;
  }
  .page-th-thao .sports-grid, .page-th-thao .advantage-grid, .page-th-thao .promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-th-thao h1 {
    font-size: 2.2em;
  }
  .page-th-thao h2 {
    font-size: 1.8em;
  }
  .page-th-thao h3 {
    font-size: 1.4em;
  }
  .page-th-thao .banner-section {
    padding: 60px 0;
  }
  .page-th-thao .banner-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
  }
  .page-th-thao .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-th-thao .sport-card img, .page-th-thao .promo-card img {
    height: 180px;
  }
  .page-th-thao .guide-section ol li {
    padding-left: 50px;
  }
  .page-th-thao .guide-section ol li::before {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }
  .page-th-thao .faq-question {
    padding: 15px 20px;
  }
  .page-th-thao .faq-question h3 {
    font-size: 1.1em;
  }
  .page-th-thao .faq-toggle {
    font-size: 20px;
  }
  .page-th-thao .faq-answer {
    padding: 10px 20px;
  }
  .page-th-thao .cta-bottom-section .cta-button {
    margin: 10px 0;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

@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 .banner-section {
    padding: 40px 0;
  }
  .page-th-thao .banner-content p {
    font-size: 0.95em;
  }
  .page-th-thao .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-th-thao .sports-grid, .page-th-thao .advantage-grid, .page-th-thao .promo-grid {
    grid-template-columns: 1fr;
  }
  .page-th-thao .sport-card, .page-th-thao .advantage-card, .page-th-thao .promo-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 350px;
  }
  .page-th-thao .guide-section ol li {
    padding-left: 45px;
  }
  .page-th-thao .guide-section ol li::before {
    width: 30px;
    height: 30px;
    font-size: 1.1em;
  }
  .page-th-thao .faq-question {
    padding: 12px 15px;
  }
  .page-th-thao .faq-question h3 {
    font-size: 1em;
  }
  .page-th-thao .faq-toggle {
    font-size: 18px;
  }
  .page-th-thao .faq-answer {
    padding: 8px 15px;
  }
}