/* style/the-thao.css */

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

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

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

.page-the-thao h1, .page-the-thao h2, .page-the-thao h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

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

.page-the-thao h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-the-thao h3 {
    font-size: 1.6em;
    color: var(--secondary-color);
}

.page-the-thao p {
    margin-bottom: 15px;
}

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

.page-the-thao a:hover {
    text-decoration: underline;
}

/* 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: 60px 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #a30000 100%); /* Dark Red gradient for background */
    color: var(--text-light);
}

.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: 8px;
    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 h1 {
    color: var(--primary-color);
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

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

.page-the-thao .cta-button:hover {
    background: #FFC107; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-the-thao .feature-item:hover {
    transform: translateY(-5px);
}

.page-the-thao .feature-item img {
    width: 100%; /* Ensure images are large enough */
    max-width: 300px; /* Example max width for content images */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-the-thao .feature-item p {
    color: var(--text-dark);
}

/* Section Bet Types */
.page-the-thao .section-bet-types {
    padding: 60px 0;
    background-color: #f0f0f0;
}

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

.page-the-thao .bet-type-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-the-thao .bet-type-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-the-thao .bet-type-item p {
    color: var(--text-dark);
}

/* Section Guide */
.page-the-thao .section-guide {
    padding: 60px 0;
    background-color: var(--bg-light);
}

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

.page-the-thao .step-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

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

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

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

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

.page-the-thao .button-small:hover {
    background: #FFC107;
    transform: translateY(-1px);
}

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

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

.page-the-thao .promo-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

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

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

.page-the-thao .promo-item p {
    color: var(--text-dark);
}

/* Section Tips */
.page-the-thao .section-tips {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-the-thao .tip-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-the-thao .tip-list li {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
}

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

/* Section CTA Bottom */
.page-the-thao .section-cta-bottom {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FFCC00 100%); /* Gold gradient */
    color: var(--secondary-color);
    text-align: center;
}

.page-the-thao .section-cta-bottom h2 {
    color: var(--secondary-color);
    font-size: 2.5em;
}

.page-the-thao .section-cta-bottom p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-the-thao .section-cta-bottom a {
    color: var(--secondary-color);
    font-weight: bold;
}

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

.page-the-thao .section-cta-bottom .cta-button:hover {
    background: #a30000;
    color: #ffe066;
}

/* FAQ Section */
.page-the-thao .section-faq {
    padding: 60px 0;
    background-color: #f0f0f0;
}

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

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  border: 1px solid var(--border-color);
  border-top: none;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-the-thao .hero-content h1 {
        font-size: 2.8em;
    }
    .page-the-thao h2 {
        font-size: 1.8em;
    }
    .page-the-thao h3 {
        font-size: 1.3em;
    }
    .page-the-thao .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-the-thao .hero-content h1 {
        font-size: 2.2em;
    }
    .page-the-thao h2 {
        font-size: 1.6em;
    }
    .page-the-thao .feature-grid, 
    .page-the-thao .bet-type-grid, 
    .page-the-thao .guide-steps, 
    .page-the-thao .promo-grid {
        grid-template-columns: 1fr;
    }
    .page-the-thao .feature-item, 
    .page-the-thao .bet-type-item, 
    .page-the-thao .step-item, 
    .page-the-thao .promo-item {
        padding: 20px;
    }
    .page-the-thao .hero-section, 
    .page-the-thao .section-intro, 
    .page-the-thao .section-bet-types, 
    .page-the-thao .section-guide, 
    .page-the-thao .section-promotions, 
    .page-the-thao .section-tips, 
    .page-the-thao .section-cta-bottom, 
    .page-the-thao .section-faq {
        padding: 40px 15px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-question {
        padding: 12px;
    }
    .faq-item.active .faq-answer {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .page-the-thao .hero-content h1 {
        font-size: 1.8em;
    }
    .page-the-thao .hero-content p {
        font-size: 1em;
    }
    .page-the-thao .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-the-thao h2 {
        font-size: 1.4em;
    }
    .page-the-thao h3 {
        font-size: 1.2em;
    }
}