/* style/register.css */
.page-register {
    color: #333333; /* Dark text for light body background */
}

.page-register__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000000; /* Dark background for hero section */
    color: #FFFFFF; /* Light text for dark hero background */
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
}

.page-register__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-register__hero-content {
    position: relative;
    z-index: 3;
}

.page-register__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FCBC45; /* Gold for emphasis */
}

.page-register__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-register__register-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color for CTA */
    color: #000000; /* Dark text for the button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-register__register-button:hover {
    background-color: #e0a53b;
}

.page-register__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-register__section {
    margin-bottom: 60px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-register__section-title {
    font-size: 2.2em;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
}

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

.page-register__value-item {
    padding: 25px;
    border-radius: 10px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.page-register__value-icon {
    width: 200px; /* Min size */
    height: 150px; /* Min size */
    object-fit: contain;
    margin-bottom: 20px;
}

.page-register__value-heading {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
}

.page-register__value-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

.page-register__steps-section {
    text-align: center;
}

.page-register__steps-image {
    width: 600px; /* HTML width=600, height=337 */
    height: 337px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.page-register__steps-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-register__step-item {
    background-color: #f0f0f0;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    text-align: left;
    border-left: 5px solid #FCBC45;
}

.page-register__step-heading {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
}

.page-register__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

.page-register__action-button {
    display: inline-block;
    background-color: #000000; /* Main color for another CTA */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-register__action-button:hover {
    background-color: #333333;
}

.page-register__conditions-section {
    text-align: center;
}

.page-register__conditions-image {
    width: 400px; /* HTML width=400, height=300 */
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.page-register__conditions-list {
    list-style: disc;
    padding-left: 20px;
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-align: left;
}

.page-register__condition-item {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 10px;
}

.page-register__responsible-gaming-text {
    font-size: 0.95em;
    color: #666666;
    margin-top: 20px;
}

.page-register__responsible-gaming-text a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

.page-register__responsible-gaming-text a:hover {
    text-decoration: underline;
}

.page-register__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-register__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom: 1px solid #eeeeee;
    transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
    background-color: #f0f0f0;
}

.page-register__faq-item[open] .page-register__faq-question {
    background-color: #e0e0e0;
}

.page-register__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: rotate(45deg);
}

.page-register__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-register__hero-section {
        padding-top: var(--header-offset, 80px);
        padding-bottom: 40px;
    }

    .page-register__main-title {
        font-size: 2.2em;
    }

    .page-register__intro-text {
        font-size: 1em;
    }

    .page-register__register-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-register__content-area {
        padding: 20px 15px;
    }

    .page-register__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-register__value-grid {
        grid-template-columns: 1fr;
    }

    .page-register__value-item {
        padding: 20px;
    }

    .page-register__value-heading {
        font-size: 1.3em;
    }

    .page-register__steps-image,
    .page-register__conditions-image {
        max-width: 100%;
        height: auto; /* Ensure images are responsive and do not overflow */
        width: 100%;
    }

    .page-register__steps-list,
    .page-register__conditions-list,
    .page-register__faq-list {
        padding-left: 0;
        margin: 0 auto 30px auto;
    }

    .page-register__step-item,
    .page-register__condition-item {
        padding: 15px;
    }

    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-register__faq-answer {
        padding: 10px 20px 15px;
    }

    /* Enforce min-width for all content images */
    .page-register img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size */
        min-height: 200px; /* Enforce minimum size */
    }
}