.page-the-thao {
    font-family: 'Arial', sans-serif;
    color: #FFF1E8; /* Text Main */
    background: #140C0C; /* Background */
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

.page-the-thao__hero-section {
    padding-top: 10px; /* Minimal top padding, relies on body padding-top from shared.css */
    position: relative;
    overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
    width: 100%;
    height: 600px; 
    overflow: hidden;
    position: relative;
}

.page-the-thao__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-the-thao__hero-content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-the-thao__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); 
    color: #F3C54D; /* Gold */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao__description {
    font-size: 1.15rem;
    color: #FFF1E8; /* Text Main */
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-the-thao__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; 
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    max-width: 100%; 
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-the-thao__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
    color: #140C0C; /* Dark text for light button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-the-thao__btn-primary:hover {
    background: linear-gradient(180deg, #FFC77A 0%, #E57B26 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-the-thao__btn-secondary {
    background: transparent;
    color: #FFB04A; /* Gold text */
    border: 2px solid #FFB04A; /* Gold border */
    box-shadow: 0 4px 15px rgba(255, 176, 74, 0.2);
}

.page-the-thao__btn-secondary:hover {
    background: rgba(255, 176, 74, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 176, 74, 0.4);
}

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

.page-the-thao__section-title {
    font-size: 2.5rem;
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.page-the-thao__section-intro {
    font-size: 1.1rem;
    color: #FFF1E8; /* Text Main */
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

/* Why Choose Us Section */
.page-the-thao__why-choose-us-section {
    background: #2A1212; /* Card BG */
    padding: 60px 0;
}

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

.page-the-thao__feature-card {
    background: rgba(42, 18, 18, 0.8); /* Slightly transparent Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-the-thao__feature-icon {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block; 
}

.page-the-thao__feature-title {
    font-size: 1.5rem;
    color: #FFB04A; /* Gold */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-the-thao__feature-description {
    font-size: 1rem;
    color: #FFF1E8; /* Text Main */
}

/* Sports Types Section */
.page-the-thao__sports-types-section {
    padding: 60px 0;
    background: #140C0C; /* Background */
}

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

.page-the-thao__sport-card {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-the-thao__sport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-the-thao__sport-image {
    width: 100%;
    height: 280px; 
    object-fit: cover;
    display: block;
}

.page-the-thao__sport-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-the-thao__sport-title {
    font-size: 1.6rem;
    color: #FFB04A; /* Gold */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-the-thao__sport-description {
    font-size: 1rem;
    color: #FFF1E8; /* Text Main */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-the-thao__read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #7E0D0D; /* Deep Red */
    color: #FFF1E8; /* Text Main */
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    max-width: 100%; 
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-the-thao__read-more-btn:hover {
    background: #C61F1F; /* Main Color */
}

/* How To Bet Section */
.page-the-thao__how-to-bet-section {
    background: #2A1212; /* Card BG */
    padding: 60px 0;
}

.page-the-thao__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-the-thao__step-card {
    background: rgba(42, 18, 18, 0.8); /* Slightly transparent Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-the-thao__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-the-thao__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
    color: #140C0C; /* Dark text */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    border: 3px solid #140C0C; /* Background color border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-the-thao__step-title {
    font-size: 1.4rem;
    color: #FFB04A; /* Gold */
    margin-top: 35px; 
    margin-bottom: 15px;
    font-weight: 600;
}

.page-the-thao__step-description {
    font-size: 1rem;
    color: #FFF1E8; /* Text Main */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-the-thao__step-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #C61F1F; /* Main Color */
    color: #FFF1E8; /* Text Main */
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    max-width: 100%; 
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-the-thao__step-btn:hover {
    background: #E53030; /* Auxiliary Color */
}

/* Promotions Section */
.page-the-thao__promotions-section {
    padding: 60px 0;
    background: #140C0C; /* Background */
}

.page-the-thao__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-the-thao__promo-card {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-the-thao__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-the-thao__promo-image {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    display: block;
}

.page-the-thao__promo-title {
    font-size: 1.6rem;
    color: #FFB04A; /* Gold */
    padding: 20px 25px 10px;
    font-weight: 600;
}

.page-the-thao__promo-description {
    font-size: 1rem;
    color: #FFF1E8; /* Text Main */
    padding: 0 25px 20px;
    flex-grow: 1;
}

.page-the-thao__promo-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #7E0D0D; /* Deep Red */
    color: #FFF1E8; /* Text Main */
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%; 
    white-space: normal;
    word-wrap: break-word;
}

.page-the-thao__promo-btn:hover {
    background: #C61F1F; /* Main Color */
}

.page-the-thao__full-promo-cta {
    text-align: center;
}

/* Betting Tips Section */
.page-the-thao__betting-tips-section {
    background: #2A1212; /* Card BG */
    padding: 60px 0;
}

.page-the-thao__tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-the-thao__tip-item {
    background: rgba(42, 18, 18, 0.8); /* Slightly transparent Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao__tip-title {
    font-size: 1.5rem;
    color: #FFB04A; /* Gold */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-the-thao__tip-description {
    font-size: 1rem;
    color: #FFF1E8; /* Text Main */
}

.page-the-thao__full-tips-cta {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-the-thao__faq-section {
    padding: 60px 0;
    background: #140C0C; /* Background */
}

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

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 10px; 
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; 
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFB04A; /* Gold for question text */
  font-weight: 600;
  font-size: 1.1rem;
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question:hover {
  background: rgba(255, 176, 74, 0.05); 
}
.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFB04A; /* Gold */
}
.page-the-thao__faq-toggle {
  font-size: 28px; 
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 20px; 
  width: 30px;
  text-align: center;
}
details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 25px 25px; 
  background: rgba(20, 12, 12, 0.8); /* Slightly lighter background for answer */
  border-radius: 0 0 10px 10px;
  color: #FFF1E8; /* Text Main */
  font-size: 1rem;
}

/* General image and button styles to ensure responsiveness and prevent overflow */
.page-the-thao img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; 
}

@media (max-width: 1024px) {
    .page-the-thao__container {
        padding: 40px 15px;
    }

    .page-the-thao__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-the-thao__section-title {
        font-size: 2rem;
    }

    .page-the-thao__hero-image-wrapper {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .page-the-thao {
        font-size: 16px;
        line-height: 1.6;
    }

    /* 1. Top text / Hero Section */
    .page-the-thao__hero-section {
        padding-top: 10px; /* As per requirement */
    }

    .page-the-thao__hero-image-wrapper {
        height: 350px;
    }

    .page-the-thao__hero-content {
        margin-top: 20px;
        padding: 0 15px;
    }

    .page-the-thao__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem); 
        margin-bottom: 15px;
    }

    .page-the-thao__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-the-thao__cta-buttons {
        flex-direction: column; 
        gap: 15px;
        padding: 0 15px;
    }

    /* Buttons responsive */
    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary,
    .page-the-thao__read-more-btn,
    .page-the-thao__step-btn,
    .page-the-thao__promo-btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-the-thao__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-the-thao__section-intro {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    /* 2. Landing page two-column modules to single column */
    .page-the-thao__features-grid,
    .page-the-thao__sports-grid,
    .page-the-thao__steps-grid,
    .page-the-thao__promotions-grid {
        grid-template-columns: 1fr; 
        gap: 25px;
    }

    .page-the-thao__feature-card,
    .page-the-thao__sport-card,
    .page-the-thao__step-card,
    .page-the-thao__promo-card {
        padding: 25px;
    }

    .page-the-thao__feature-icon,
    .page-the-thao__sport-image,
    .page-the-thao__promo-image {
        height: 200px; 
    }

    .page-the-thao__feature-title,
    .page-the-thao__sport-title,
    .page-the-thao__step-title,
    .page-the-thao__promo-title,
    .page-the-thao__tip-title {
        font-size: 1.3rem;
    }

    .page-the-thao__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
        top: -22px;
    }

    .page-the-thao__tip-item {
        padding: 25px;
    }
}