/* style/the-thao-bong-ro.css */
:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
}

.page-the-thao-bong-ro {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    background-color: var(--deep-navy);
    line-height: 1.6;
}

.page-the-thao-bong-ro__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-the-thao-bong-ro__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
}

.page-the-thao-bong-ro__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-the-thao-bong-ro__hero-content {
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 1;
    color: var(--text-main);
}

.page-the-thao-bong-ro__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(79, 168, 255, 0.7);
}

.page-the-thao-bong-ro__hero-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.page-the-thao-bong-ro__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-the-thao-bong-ro__btn-primary,
.page-the-thao-bong-ro__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-the-thao-bong-ro__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--glow-color);
}

.page-the-thao-bong-ro__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--glow-color);
}

.page-the-thao-bong-ro__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-the-thao-bong-ro__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.page-the-thao-bong-ro__section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--deep-navy);
}

.page-the-thao-bong-ro__dark-bg {
    background-color: var(--deep-navy);
    color: var(--text-main);
}

.page-the-thao-bong-ro__dark-section {
    background-color: var(--primary-color);
    color: var(--text-main);
}

.page-the-thao-bong-ro__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(79, 168, 255, 0.5);
}

.page-the-thao-bong-ro__section-description {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-secondary);
}

.page-the-thao-bong-ro__container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-the-thao-bong-ro__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
}

.page-the-thao-bong-ro__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-color);
}

.page-the-thao-bong-ro__feature-title,
.page-the-thao-bong-ro__bet-type-title,
.page-the-thao-bong-ro__promo-title,
.page-the-thao-bong-ro__step-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-the-thao-bong-ro__feature-text,
.page-the-thao-bong-ro__bet-type-text,
.page-the-thao-bong-ro__promo-text,
.page-the-thao-bong-ro__step-text {
    font-size: 1rem;
    color: var(--text-secondary);
    flex-grow: 1; /* Push buttons to bottom */
}

.page-the-thao-bong-ro__bet-type-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.page-the-thao-bong-ro__more-info-text {
    margin-top: 40px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.page-the-thao-bong-ro__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-the-thao-bong-ro__strategy-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao-bong-ro__strategy-subtitle {
    font-size: 1.35rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-the-thao-bong-ro__strategy-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.page-the-thao-bong-ro__strategy-minor-title {
    font-size: 1.6rem;
    color: var(--gold-color);
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.page-the-thao-bong-ro__strategy-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 800px;
    text-align: left;
    color: var(--text-secondary);
}

.page-the-thao-bong-ro__strategy-list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-the-thao-bong-ro__strategy-list li::before {
    content: '✓';
    color: var(--gold-color);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2rem;
}

.page-the-thao-bong-ro__live-betting-figure {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.page-the-thao-bong-ro__figure-image {
    width: 100%;
    height: auto;
    display: block;
}

.page-the-thao-bong-ro__figure-caption {
    background-color: var(--card-bg);
    padding: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    border-top: 1px solid var(--divider-color);
}

.page-the-thao-bong-ro__live-betting-subtitle {
    font-size: 1.6rem;
    color: var(--gold-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.page-the-thao-bong-ro__live-betting-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 900px;
    text-align: left;
    color: var(--text-secondary);
}

.page-the-thao-bong-ro__live-betting-list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-the-thao-bong-ro__live-betting-list li strong {
    color: var(--gold-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.page-the-thao-bong-ro__live-betting-list li p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.page-the-thao-bong-ro__live-betting-text {
    font-size: 1rem;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.page-the-thao-bong-ro__promo-card .page-the-thao-bong-ro__btn-primary {
    margin-top: 20px;
    width: fit-content;
    align-self: center;
}

.page-the-thao-bong-ro__promo-cta-text {
    margin-top: 40px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.page-the-thao-bong-ro__step-icon {
    background: var(--gold-color);
    color: var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
    align-self: center;
}

.page-the-thao-bong-ro__step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-the-thao-bong-ro__step-card .page-the-thao-bong-ro__btn-primary {
    margin-top: 20px;
    width: fit-content;
}

.page-the-thao-bong-ro__join-cta-text {
    margin-top: 40px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.page-the-thao-bong-ro__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-the-thao-bong-ro__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.page-the-thao-bong-ro__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-color);
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    list-style: none;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Safari */
    -khtml-user-select: none;    /* Konqueror HTML */
    -moz-user-select: none;      /* Old versions of Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-the-thao-bong-ro__faq-question::-webkit-details-marker {
    display: none;
}

.page-the-thao-bong-ro__faq-toggle {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-the-thao-bong-ro__faq-item[open] .page-the-thao-bong-ro__faq-toggle {
    transform: rotate(45deg);
}

.page-the-thao-bong-ro__faq-answer {
    padding: 20px;
    font-size: 1rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--divider-color);
    background-color: var(--card-bg);
}

.page-the-thao-bong-ro__faq-answer p {
    margin: 0 0 10px 0;
    color: var(--text-secondary);
}

.page-the-thao-bong-ro__faq-answer .page-the-thao-bong-ro__btn-primary {
    margin-top: 15px;
    width: fit-content;
    display: block;
    text-align: center;
}

/* General image responsiveness */
.page-the-thao-bong-ro img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-the-thao-bong-ro__hero-content {
        padding: 15px;
    }
    .page-the-thao-bong-ro__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-the-thao-bong-ro__hero-description {
        font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    }
    .page-the-thao-bong-ro__section-title {
        font-size: clamp(1.6rem, 3.8vw, 2.5rem);
    }
    .page-the-thao-bong-ro__section-description {
        font-size: clamp(0.9rem, 1.1vw, 1rem);
    }
    .page-the-thao-bong-ro__features-grid,
    .page-the-thao-bong-ro__bet-type-grid,
    .page-the-thao-bong-ro__promo-grid,
    .page-the-thao-bong-ro__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    .page-the-thao-bong-ro__card {
        padding: 25px;
    }
    .page-the-thao-bong-ro__bet-type-image {
        height: 200px;
    }
}

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

    /* Hero Section */
    .page-the-thao-bong-ro__hero-section {
        padding-top: 10px !important; /* Ensure small padding, body handles header */
        padding-bottom: 30px;
    }
    .page-the-thao-bong-ro__hero-image-wrapper {
        max-height: 400px;
    }
    .page-the-thao-bong-ro__main-title {
        font-size: 2.2rem !important;
        margin-bottom: 10px;
    }
    .page-the-thao-bong-ro__hero-description {
        font-size: 1rem !important;
        margin-bottom: 20px;
    }
    .page-the-thao-bong-ro__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    .page-the-thao-bong-ro__btn-primary,
    .page-the-thao-bong-ro__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1.05rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General Section & Container */
    .page-the-thao-bong-ro__section {
        padding: 40px 15px;
    }
    .page-the-thao-bong-ro__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-the-thao-bong-ro__section-title {
        font-size: 1.8rem !important;
        margin-bottom: 15px;
    }
    .page-the-thao-bong-ro__section-description {
        font-size: 0.95rem !important;
        margin-bottom: 30px;
    }

    /* Grids (Features, Bet Types, Promos, Steps) */
    .page-the-thao-bong-ro__features-grid,
    .page-the-thao-bong-ro__bet-type-grid,
    .page-the-thao-bong-ro__promo-grid,
    .page-the-thao-bong-ro__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-the-thao-bong-ro__card {
        padding: 20px;
        text-align: center;
    }
    .page-the-thao-bong-ro__feature-title,
    .page-the-thao-bong-ro__bet-type-title,
    .page-the-thao-bong-ro__promo-title,
    .page-the-thao-bong-ro__step-title {
        font-size: 1.3rem;
    }
    .page-the-thao-bong-ro__feature-text,
    .page-the-thao-bong-ro__bet-type-text,
    .page-the-thao-bong-ro__promo-text,
    .page-the-thao-bong-ro__step-text {
        font-size: 0.9rem;
    }
    .page-the-thao-bong-ro__bet-type-image {
        height: 180px;
    }

    /* Strategies Section */
    .page-the-thao-bong-ro__strategy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-the-thao-bong-ro__strategy-item {
        padding: 20px;
        text-align: center;
    }
    .page-the-thao-bong-ro__strategy-subtitle {
        font-size: 1.2rem;
    }
    .page-the-thao-bong-ro__strategy-minor-title {
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-the-thao-bong-ro__strategy-list {
        max-width: 100%;
        text-align: center;
    }
    .page-the-thao-bong-ro__strategy-list li {
        padding: 12px 15px;
        font-size: 0.9rem;
        justify-content: center;
    }
    .page-the-thao-bong-ro__strategy-list li::before {
        font-size: 1rem;
    }

    /* Live Betting Section */
    .page-the-thao-bong-ro__live-betting-figure {
        max-width: 100%;
        margin: 30px auto;
    }
    .page-the-thao-bong-ro__live-betting-subtitle {
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-the-thao-bong-ro__live-betting-list {
        max-width: 100%;
    }
    .page-the-thao-bong-ro__live-betting-list li {
        padding: 15px;
    }
    .page-the-thao-bong-ro__live-betting-list li strong {
        font-size: 1rem;
    }
    .page-the-thao-bong-ro__live-betting-list li p {
        font-size: 0.9rem;
    }

    /* How To Join Section */
    .page-the-thao-bong-ro__step-icon {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }

    /* FAQ Section */
    .page-the-thao-bong-ro__faq-list {
        margin-top: 30px;
        max-width: 100%;
    }
    .page-the-thao-bong-ro__faq-question {
        padding: 15px;
        font-size: 1.1rem;
    }
    .page-the-thao-bong-ro__faq-toggle {
        font-size: 1.5rem;
    }
    .page-the-thao-bong-ro__faq-answer {
        padding: 15px;
        font-size: 0.95rem;
    }

    /* Universal Image and Container Responsiveness */
    .page-the-thao-bong-ro img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-the-thao-bong-ro__section,
    .page-the-thao-bong-ro__card,
    .page-the-thao-bong-ro__container,
    .page-the-thao-bong-ro__cta-buttons,
    .page-the-thao-bong-ro__button-group,
    .page-the-thao-bong-ro__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-the-thao-bong-ro__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}