/* style/the-thao-ca-cuoc-bong-da.css */

/* Base styles for the page */
.page-the-thao-ca-cuoc-bong-da {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Main text color for dark background */
    background-color: #0D0E12; /* Page background color */
}

.page-the-thao-ca-cuoc-bong-da__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Hero/Title Section */
.page-the-thao-ca-cuoc-bong-da__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: #0D0E12; /* Ensure background matches body */
    text-align: center;
}

.page-the-thao-ca-cuoc-bong-da__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-the-thao-ca-cuoc-bong-da__main-title {
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FF8C1A; /* Primary color for title */
}

.page-the-thao-ca-cuoc-bong-da__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF3E6;
}

.page-the-thao-ca-cuoc-bong-da__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-the-thao-ca-cuoc-bong-da__btn-primary,
.page-the-thao-ca-cuoc-bong-da__btn-secondary,
.page-the-thao-ca-cuoc-bong-da__btn-small {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-the-thao-ca-cuoc-bong-da__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff;
    border: none;
}

.page-the-thao-ca-cuoc-bong-da__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-the-thao-ca-cuoc-bong-da__btn-secondary {
    background: #17191F; /* Card BG color */
    color: #FF8C1A; /* Primary color for text */
    border: 2px solid #FF8C1A; /* Primary color for border */
}

.page-the-thao-ca-cuoc-bong-da__btn-secondary:hover {
    background: #FF8C1A;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-the-thao-ca-cuoc-bong-da__btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff;
    border: none;
    border-radius: 5px;
}

.page-the-thao-ca-cuoc-bong-da__btn-small:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Section titles */
.page-the-thao-ca-cuoc-bong-da__section-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #FF8C1A; /* Primary color for section titles */
}

.page-the-thao-ca-cuoc-bong-da__text-block {
    font-size: 1.05em;
    text-align: center;
    margin-bottom: 30px;
    color: #FFF3E6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Section */
.page-the-thao-ca-cuoc-bong-da__intro-section {
    padding: 60px 0;
    background-color: #17191F; /* Card BG color for this section */
}

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

.page-the-thao-ca-cuoc-bong-da__feature-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #0D0E12; /* Background for feature items */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #A84F0C; /* Border color */
}

.page-the-thao-ca-cuoc-bong-da__icon-box-media {
    width: 200px; /* Reduced from 240px to fit better with 400x400 image */
    height: 200px;
    aspect-ratio: 1/1;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #FF8C1A; /* Primary color for border */
}

.page-the-thao-ca-cuoc-bong-da__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.page-the-thao-ca-cuoc-bong-da__feature-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFA53A; /* Auxiliary color */
}

.page-the-thao-ca-cuoc-bong-da__feature-description {
    font-size: 1em;
    color: #FFF3E6;
}

/* Types of Bets Section */
.page-the-thao-ca-cuoc-bong-da__types-of-bets {
    padding: 60px 0;
    background-color: #0D0E12;
}

.page-the-thao-ca-cuoc-bong-da__bet-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-the-thao-ca-cuoc-bong-da__bet-type-card {
    background-color: #17191F; /* Card BG color */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #A84F0C; /* Border color */
    display: flex;
    flex-direction: column;
}

.page-the-thao-ca-cuoc-bong-da__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-the-thao-ca-cuoc-bong-da__card-title {
    font-size: 1.4em;
    font-weight: 600;
    padding: 15px 20px 5px;
    color: #FFA53A; /* Auxiliary color */
}

.page-the-thao-ca-cuoc-bong-da__card-description {
    font-size: 0.95em;
    padding: 0 20px 20px;
    color: #FFF3E6;
    flex-grow: 1; /* Push button to bottom if present */
}

.page-the-thao-ca-cuoc-bong-da__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Guide Section */
.page-the-thao-ca-cuoc-bong-da__guide-section {
    padding: 60px 0;
    background-color: #17191F; /* Card BG color for this section */
}

.page-the-thao-ca-cuoc-bong-da__guide-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-the-thao-ca-cuoc-bong-da__guide-item {
    background-color: #0D0E12; /* Background for guide items */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #A84F0C;
}

.page-the-thao-ca-cuoc-bong-da__guide-step-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FF8C1A; /* Primary color */
}

.page-the-thao-ca-cuoc-bong-da__guide-item p {
    font-size: 1em;
    margin-bottom: 15px;
    color: #FFF3E6;
}

.page-the-thao-ca-cuoc-bong-da__guide-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #A84F0C;
}

/* Tips Section */
.page-the-thao-ca-cuoc-bong-da__tips-section {
    padding: 60px 0;
    background-color: #0D0E12;
}

.page-the-thao-ca-cuoc-bong-da__tips-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-the-thao-ca-cuoc-bong-da__tip-item {
    background-color: #17191F; /* Card BG color */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #A84F0C;
}

.page-the-thao-ca-cuoc-bong-da__tip-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFA53A; /* Auxiliary color */
}

.page-the-thao-ca-cuoc-bong-da__tip-item p {
    font-size: 1em;
    color: #FFF3E6;
}

/* FAQ Section */
.page-the-thao-ca-cuoc-bong-da__faq-section {
    padding: 60px 0;
    background-color: #17191F; /* Card BG color for this section */
}

.page-the-thao-ca-cuoc-bong-da__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-the-thao-ca-cuoc-bong-da__faq-item {
    background-color: #0D0E12; /* Background for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #A84F0C;
}

.page-the-thao-ca-cuoc-bong-da__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: #FF8C1A; /* Primary color */
    cursor: pointer;
    background-color: #17191F; /* Card BG for question */
    user-select: none;
    list-style: none; /* For details/summary */
}

.page-the-thao-ca-cuoc-bong-da__faq-question::-webkit-details-marker,
.page-the-thao-ca-cuoc-bong-da__faq-question::marker {
    display: none;
}

.page-the-thao-ca-cuoc-bong-da__faq-qtext {
    flex-grow: 1;
}

.page-the-thao-ca-cuoc-bong-da__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFA53A; /* Auxiliary color */
}

.page-the-thao-ca-cuoc-bong-da__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #FFF3E6;
    background-color: #0D0E12; /* Background for answer */
}

.page-the-thao-ca-cuoc-bong-da__faq-answer p {
    margin-bottom: 10px;
}

/* Contact CTA Section */
.page-the-thao-ca-cuoc-bong-da__contact-cta {
    padding: 60px 0;
    background-color: #0D0E12;
    text-align: center;
}

/* General image styling for content area */
.page-the-thao-ca-cuoc-bong-da img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-the-thao-ca-cuoc-bong-da__main-title {
        font-size: 2.5em;
    }
    .page-the-thao-ca-cuoc-bong-da__section-title {
        font-size: 2em;
    }
    .page-the-thao-ca-cuoc-bong-da__icon-box-media {
        width: 180px;
        height: 180px;
    }
    .page-the-thao-ca-cuoc-bong-da__card-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    /* General responsive styles */
    .page-the-thao-ca-cuoc-bong-da {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-the-thao-ca-cuoc-bong-da__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* HERO/Title Section */
    .page-the-thao-ca-cuoc-bong-da__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 30px;
    }
    .page-the-thao-ca-cuoc-bong-da__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-the-thao-ca-cuoc-bong-da__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-the-thao-ca-cuoc-bong-da__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
    }
    .page-the-thao-ca-cuoc-bong-da__btn-primary,
    .page-the-thao-ca-cuoc-bong-da__btn-secondary,
    .page-the-thao-ca-cuoc-bong-da__btn-small {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Section titles */
    .page-the-thao-ca-cuoc-bong-da__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    /* Intro Section */
    .page-the-thao-ca-cuoc-bong-da__intro-section {
        padding: 40px 0;
    }
    .page-the-thao-ca-cuoc-bong-da__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-the-thao-ca-cuoc-bong-da__icon-box-media {
        width: 150px;
        height: 150px;
        border-width: 2px;
    }
    .page-the-thao-ca-cuoc-bong-da__feature-title {
        font-size: 1.3em;
    }

    /* Types of Bets Section */
    .page-the-thao-ca-cuoc-bong-da__types-of-bets {
        padding: 40px 0;
    }
    .page-the-thao-ca-cuoc-bong-da__bet-types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-the-thao-ca-cuoc-bong-da__card-image {
        height: 160px; /* Adjusted height for mobile */
    }
    .page-the-thao-ca-cuoc-bong-da__card-title {
        font-size: 1.2em;
    }

    /* Guide Section */
    .page-the-thao-ca-cuoc-bong-da__guide-section {
        padding: 40px 0;
    }
    .page-the-thao-ca-cuoc-bong-da__guide-list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    .page-the-thao-ca-cuoc-bong-da__guide-step-title {
        font-size: 1.2em;
    }
    .page-the-thao-ca-cuoc-bong-da__guide-image {
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Tips Section */
    .page-the-thao-ca-cuoc-bong-da__tips-section {
        padding: 40px 0;
    }
    .page-the-thao-ca-cuoc-bong-da__tips-list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    .page-thao-ca-cuoc-bong-da__tip-title {
        font-size: 1.2em;
    }

    /* FAQ Section */
    .page-the-thao-ca-cuoc-bong-da__faq-section {
        padding: 40px 0;
    }
    .page-the-thao-ca-cuoc-bong-da__faq-list {
        margin: 30px auto 0;
    }
    .page-the-thao-ca-cuoc-bong-da__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-the-thao-ca-cuoc-bong-da__faq-toggle {
        font-size: 1.3em;
    }
    .page-the-thao-ca-cuoc-bong-da__faq-answer {
        padding: 10px 20px 15px;
    }

    /* Contact CTA Section */
    .page-the-thao-ca-cuoc-bong-da__contact-cta {
        padding: 40px 0;
    }

    /* Universal image responsive styles */
    .page-the-thao-ca-cuoc-bong-da img:not(.page-the-thao-ca-cuoc-bong-da__icon-box-media img) {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    /* Specific override for circular images to maintain aspect ratio */
    .page-the-thao-ca-cuoc-bong-da__icon-box-media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    /* All containers with images should also have these properties */
    .page-the-thao-ca-cuoc-bong-da__section,
    .page-the-thao-ca-cuoc-bong-da__card,
    .page-the-thao-ca-cuoc-bong-da__container,
    .page-the-thao-ca-cuoc-bong-da__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}