/* style/resources-shbet-account-benefits.css */

/* Variables and Base Styles */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --button-register-color: #C30808;
    --button-register-font-color: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f9f9f9;
    --border-color: #e0e0e0;
}

.page-resources-shbet-account-benefits {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--secondary-color); /* Body background is white, so default text is dark */
}

/* Fixed Header Offset */
/* The main content area or hero section needs padding-top to avoid being covered by the fixed header. */
/* If shared.css already sets body padding-top, this should be 0 or small for the hero. */
/* Assuming shared.css does NOT set body padding-top, so this page must handle it. */
.page-resources-shbet-account-benefits__hero-section {
    padding-top: var(--header-offset, 120px); /* Desktop default */
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), #00a859); /* A slightly lighter green for gradient */
    color: var(--text-light);
    text-align: center;
    padding-bottom: 60px;
}

.page-resources-shbet-account-benefits__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-shbet-account-benefits__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-shbet-account-benefits__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-shbet-account-benefits__hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-resources-shbet-account-benefits__hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--button-register-font-color); /* Using yellow for title on dark background */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-resources-shbet-account-benefits__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* CTA Button Styles */
.page-resources-shbet-account-benefits__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-register-color); /* Specific color for register button */
    color: var(--button-register-font-color); /* Specific font color for register button */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.page-resources-shbet-account-benefits__cta-button:hover {
    background: #e02a2a; /* Slightly darker red on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-shbet-account-benefits__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 20px;
    box-shadow: none;
}

.page-resources-shbet-account-benefits__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-resources-shbet-account-benefits__section {
    padding: 60px 0;
    background-color: var(--secondary-color); /* Default light background */
    color: var(--text-dark); /* Default dark text */
}

.page-resources-shbet-account-benefits__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-resources-shbet-account-benefits__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-resources-shbet-account-benefits__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Benefits Grid */
.page-resources-shbet-account-benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-shbet-account-benefits__card {
    background: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-resources-shbet-account-benefits__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-shbet-account-benefits__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
}

.page-resources-shbet-account-benefits__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-resources-shbet-account-benefits__card-text {
    font-size: 1em;
    color: #666666;
}

/* Registration Guide Section */
.page-resources-shbet-account-benefits__section--registration-guide {
    background: var(--primary-color); /* Dark background */
    color: var(--text-light); /* Light text */
}

.page-resources-shbet-account-benefits__section--registration-guide .page-resources-shbet-account-benefits__section-title,
.page-resources-shbet-account-benefits__section--registration-guide .page-resources-shbet-account-benefits__section-intro {
    color: var(--text-light);
}

.page-resources-shbet-account-benefits__list-numbered {
    list-style-type: decimal;
    max-width: 800px;
    margin: 40px auto;
    padding-left: 25px;
    text-align: left;
    font-size: 1.1em;
}

.page-resources-shbet-account-benefits__list-numbered li {
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-resources-shbet-account-benefits__list-numbered strong {
    color: var(--button-register-font-color); /* Yellow for emphasis */
}

.page-resources-shbet-account-benefits__section-outro {
    text-align: center;
    font-size: 1.1em;
    margin-top: 30px;
    color: var(--text-light);
}

.page-resources-shbet-account-benefits__section-outro a {
    color: var(--button-register-font-color); /* Yellow link */
    text-decoration: underline;
    font-weight: bold;
}

.page-resources-shbet-account-benefits__section-outro a:hover {
    color: #ffcc00; /* Slightly darker yellow on hover */
}

.page-resources-shbet-account-benefits__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Why SHBET Section */
.page-resources-shbet-account-benefits__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-shbet-account-benefits__feature-item {
    background: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.page-resources-shbet-account-benefits__feature-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-resources-shbet-account-benefits__feature-text {
    font-size: 0.95em;
    color: #666666;
}

/* FAQ Section */
.page-resources-shbet-account-benefits__section--faq {
    background-color: var(--background-light); /* Light gray background */
}

.page-resources-shbet-account-benefits__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-resources-shbet-account-benefits__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-shbet-account-benefits__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-resources-shbet-account-benefits__faq-question:hover {
    background: #f0f0f0;
    border-color: #c0c0c0;
}

.page-resources-shbet-account-benefits__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-dark);
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-resources-shbet-account-benefits__faq-toggle {
    font-size: 2em; /* Adjusted for better visibility */
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color); /* Green toggle */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; /* Increased size */
    height: 30px; /* Increased size */
}

.page-resources-shbet-account-benefits__faq-item.active .page-resources-shbet-account-benefits__faq-toggle {
    transform: rotate(45deg); /* Rotate for minus sign */
    color: var(--button-register-color); /* Red when active */
}

.page-resources-shbet-account-benefits__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #fcfcfc;
    color: #555555;
    font-size: 0.95em;
}

.page-resources-shbet-account-benefits__faq-item.active .page-resources-shbet-account-benefits__faq-answer {
    max-height: 2000px !important; /* Ensure content can fully expand */
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid #f0f0f0;
    border-radius: 0 0 8px 8px;
}

/* CTA Footer Section */
.page-resources-shbet-account-benefits__section--cta {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 80px 20px;
}

.page-resources-shbet-account-benefits__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-shbet-account-benefits__cta-title {
    font-size: 2.8em;
    color: var(--button-register-font-color); /* Yellow for CTA title */
    margin-bottom: 20px;
    font-weight: 700;
}

.page-resources-shbet-account-benefits__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-shbet-account-benefits__hero-title {
        font-size: 2.8em;
    }
    .page-resources-shbet-account-benefits__section-title {
        font-size: 2.2em;
    }
    .page-resources-shbet-account-benefits__cta-title {
        font-size: 2.5em;
    }
    .page-resources-shbet-account-benefits__grid,
    .page-resources-shbet-account-benefits__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    /* Fixed Header Offset for Mobile */
    .page-resources-shbet-account-benefits__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile override */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* General Sections and Containers */
    .page-resources-shbet-account-benefits__section {
        padding: 40px 0;
    }

    .page-resources-shbet-account-benefits__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero Section */
    .page-resources-shbet-account-benefits__hero-title {
        font-size: 2em;
    }
    .page-resources-shbet-account-benefits__hero-description {
        font-size: 1em;
    }
    .page-resources-shbet-account-benefits__hero-image img {
        border-radius: 8px;
    }

    /* Section Titles and Intros */
    .page-resources-shbet-account-benefits__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-resources-shbet-account-benefits__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* Cards and Feature Items */
    .page-resources-shbet-account-benefits__card,
    .page-resources-shbet-account-benefits__feature-item {
        padding: 20px;
    }
    .page-resources-shbet-account-benefits__card-image {
        height: 180px; /* Slightly smaller on mobile */
    }
    .page-resources-shbet-account-benefits__card-title {
        font-size: 1.3em;
    }
    .page-resources-shbet-account-benefits__feature-title {
        font-size: 1.2em;
    }

    /* Buttons */
    .page-resources-shbet-account-benefits__cta-button,
    .page-resources-shbet-account-benefits__btn-primary,
    .page-resources-shbet-account-benefits__btn-secondary,
    .page-resources-shbet-account-benefits a[class*="button"],
    .page-resources-shbet-account-benefits a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-resources-shbet-account-benefits__button-group {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }
    .page-resources-shbet-account-benefits__btn-secondary {
        margin-left: 0; /* Remove left margin on mobile */
    }

    /* Images */
    .page-resources-shbet-account-benefits img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-resources-shbet-account-benefits__section,
    .page-resources-shbet-account-benefits__card,
    .page-resources-shbet-account-benefits__container,
    .page-resources-shbet-account-benefits__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ Section */
    .page-resources-shbet-account-benefits__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-resources-shbet-account-benefits__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px); /* Adjust width for toggle icon */
    }
    .page-resources-shbet-account-benefits__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 1.6em;
    }
    .page-resources-shbet-account-benefits__faq-answer {
        padding: 0 15px;
    }
    .page-resources-shbet-account-benefits__faq-item.active .page-resources-shbet-account-benefits__faq-answer {
        padding: 15px !important;
    }

    /* CTA Footer Section */
    .page-resources-shbet-account-benefits__section--cta {
        padding: 60px 15px;
    }
    .page-resources-shbet-account-benefits__cta-title {
        font-size: 2em;
    }
    .page-resources-shbet-account-benefits__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-resources-shbet-account-benefits__hero-title {
        font-size: 1.8em;
    }
    .page-resources-shbet-account-benefits__section-title {
        font-size: 1.6em;
    }
    .page-resources-shbet-account-benefits__cta-title {
        font-size: 1.8em;
    }
}

/* Color Contrast Enforcement - Specific overrides for clarity */
.page-resources-shbet-account-benefits__dark-bg {
    background: var(--primary-color);
    color: var(--text-light); /* Enforce light text on dark background */
}

.page-resources-shbet-account-benefits__light-bg {
    background: var(--secondary-color);
    color: var(--text-dark); /* Enforce dark text on light background */
}

.page-resources-shbet-account-benefits__faq-question h3 {
    color: var(--text-dark); /* Ensure dark text on white FAQ question background */
}

.page-resources-shbet-account-benefits__faq-item.active .page-resources-shbet-account-benefits__faq-toggle {
    color: var(--button-register-color); /* Ensure red toggle on active */
}