/* style/resources-alo789-registration-benefits.css */

/* Base Styles */
.page-resources-alo789-registration-benefits {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Body background from shared.css */
}

.page-resources-alo789-registration-benefits__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Color Contrast Specifics */
.page-resources-alo789-registration-benefits__dark-bg {
    background-color: #017439; /* Primary color */
    color: #ffffff; /* White text for dark background */
}

.page-resources-alo789-registration-benefits__light-bg {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-resources-alo789-registration-benefits__hero-section {
    position: relative;
    padding: 100px 0;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    text-align: center;
    overflow: hidden; /* For image positioning */
}

.page-resources-alo789-registration-benefits__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.2; /* To ensure text readability */
}

.page-resources-alo789-registration-benefits__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-resources-alo789-registration-benefits__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Call to Action Buttons */
.page-resources-alo789-registration-benefits__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources-alo789-registration-benefits__cta-buttons--center {
    margin-top: 40px;
}

.page-resources-alo789-registration-benefits__btn-primary,
.page-resources-alo789-registration-benefits__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-resources-alo789-registration-benefits__btn-primary {
    background-color: #C30808; /* Custom color for register */
    color: #FFFF00; /* Custom font color for register */
    border: 2px solid #C30808;
}

.page-resources-alo789-registration-benefits__btn-primary:hover {
    background-color: #a00606;
    color: #ffffff;
}

.page-resources-alo789-registration-benefits__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources-alo789-registration-benefits__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

/* General Content Sections */
.page-resources-alo789-registration-benefits__content-section,
.page-resources-alo789-registration-benefits__benefits-section,
.page-resources-alo789-registration-benefits__registration-guide,
.page-resources-alo789-registration-benefits__promotions-section,
.page-resources-alo789-registration-benefits__support-security-section,
.page-resources-alo789-registration-benefits__platform-overview,
.page-resources-alo789-registration-benefits__faq-section,
.page-resources-alo789-registration-benefits__cta-final-section {
    padding: 60px 0;
}

.page-resources-alo789-registration-benefits__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

.page-resources-alo789-registration-benefits__dark-bg .page-resources-alo789-registration-benefits__section-title {
    color: #ffffff;
}

.page-resources-alo789-registration-benefits__light-bg .page-resources-alo789-registration-benefits__section-title {
    color: #017439;
}

.page-resources-alo789-registration-benefits__text-block {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: justify;
}

.page-resources-alo789-registration-benefits__dark-bg .page-resources-alo789-registration-benefits__text-block {
    color: #f0f0f0;
}

.page-resources-alo789-registration-benefits__light-bg .page-resources-alo789-registration-benefits__text-block {
    color: #333333;
}

.page-resources-alo789-registration-benefits__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Benefits Grid */
.page-resources-alo789-registration-benefits__benefits-grid,
.page-resources-alo789-registration-benefits__promotions-grid,
.page-resources-alo789-registration-benefits__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-alo789-registration-benefits__benefit-card,
.page-resources-alo789-registration-benefits__promotion-card,
.page-resources-alo789-registration-benefits__category-card {
    background-color: #ffffff;
    color: #333333;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-alo789-registration-benefits__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439;
}

.page-resources-alo789-registration-benefits__card-title a {
    color: #017439;
    text-decoration: none;
}

.page-resources-alo789-registration-benefits__card-title a:hover {
    text-decoration: underline;
}

.page-resources-alo789-registration-benefits__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-alo789-registration-benefits__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
}

/* Registration Guide */
.page-resources-alo789-registration-benefits__step-list,
.page-resources-alo789-registration-benefits__note-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-resources-alo789-registration-benefits__list-item {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-alo789-registration-benefits__list-title {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
}

.page-resources-alo789-registration-benefits__list-text {
    font-size: 1em;
    color: #555555;
}

.page-resources-alo789-registration-benefits__subsection-title {
    font-size: 1.8em;
    color: #017439;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

/* Feature Grid (Support & Security) */
.page-resources-alo789-registration-benefits__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-alo789-registration-benefits__feature-item {
    background-color: #ffffff;
    color: #333333;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
}

.page-resources-alo789-registration-benefits__feature-icon {
    width: 250px; /* Enforce min 200px */
    height: 250px; /* Enforce min 200px */
    object-fit: contain;
    margin-bottom: 20px;
}

.page-resources-alo789-registration-benefits__feature-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-resources-alo789-registration-benefits__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-resources-alo789-registration-benefits__faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-alo789-registration-benefits__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #e6f7ed; /* Lighter shade of primary */
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-resources-alo789-registration-benefits__faq-question:hover {
    background-color: #d1edda;
}

.page-resources-alo789-registration-benefits__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-resources-alo789-registration-benefits__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #555555;
    max-height: 0; /* For JS-controlled expansion */
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-resources-alo789-registration-benefits__faq-item[open] > .page-resources-alo789-registration-benefits__faq-answer {
    max-height: 500px; /* Arbitrary large value for expansion */
    padding: 0 20px 20px 20px;
}

/* Details element specific styling */
.page-resources-alo789-registration-benefits__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-resources-alo789-registration-benefits__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for webkit browsers */
}

/* Final CTA Section */
.page-resources-alo789-registration-benefits__cta-final-section {
    text-align: center;
}

.page-resources-alo789-registration-benefits__cta-final-content {
    max-width: 900px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-alo789-registration-benefits__hero-title {
        font-size: 2.5em;
    }
    .page-resources-alo789-registration-benefits__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-alo789-registration-benefits {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-alo789-registration-benefits__container {
        padding: 0 15px;
    }

    .page-resources-alo789-registration-benefits__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important; /* Fixed header spacing */
    }

    .page-resources-alo789-registration-benefits__hero-title {
        font-size: 2em;
    }

    .page-resources-alo789-registration-benefits__hero-description {
        font-size: 1em;
    }

    .page-resources-alo789-registration-benefits__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-resources-alo789-registration-benefits__btn-primary,
    .page-resources-alo789-registration-benefits__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }
    
    .page-resources-alo789-registration-benefits__section-title {
        font-size: 1.8em;
    }

    .page-resources-alo789-registration-benefits__text-block {
        font-size: 1em;
    }
}