/* style/login.css */
.page-login {
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background-color: #FFFFFF; /* Explicitly set background for content area */
}

.page-login__hero-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text for dark background */
    position: relative;
    overflow: hidden;
}

.page-login__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-login__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    font-weight: bold;
}

.page-login__intro-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
}

.page-login__hero-image {
    margin: 40px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 90%; /* Responsive image container */
}

.page-login__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-login__cta-button {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-login__cta-button--login {
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for login button */
}

.page-login__cta-button--login:hover {
    background-color: #e0a73b;
    transform: translateY(-3px);
}

.page-login__cta-button--register {
    background-color: #FFFFFF; /* Register button color */
    color: #000000; /* Dark text for register button */
    border: 2px solid #FCBC45;
}

.page-login__cta-button--register:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.page-login__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    margin-top: -50px; /* Overlap with hero for visual flow */
    position: relative;
    z-index: 2;
}

.page-login__section-title {
    font-size: 2.2em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 2px solid #FCBC45;
    padding-bottom: 10px;
}

.page-login__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
}

.page-login__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-login__image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-login__ordered-list,
.page-login__unordered-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-login__list-item {
    background-color: #f9f9f9;
    border-left: 5px solid #FCBC45;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-login__list-item .page-login__paragraph {
    font-size: 1em;
    margin-bottom: 0;
}

.page-login__cta-button--play {
    background-color: #FCBC45;
    color: #000000;
    margin-top: 20px;
}

.page-login__cta-button--play:hover {
    background-color: #e0a73b;
    transform: translateY(-3px);
}

.page-login__faq-container {
    margin-top: 30px;
}

.page-login__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-login__faq-question {
    display: block;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    position: relative;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
}

.page-login__faq-question:hover {
    background-color: #e5e5e5;
}

.page-login__faq-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
    transform: translateY(-50%) rotate(45deg);
}

.page-login__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: #333333;
    background-color: #ffffff;
}

.page-login__faq-answer .page-login__paragraph {
    margin-bottom: 0;
}

.page-login__cta-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #000000;
    color: #FFFFFF;
    margin-top: 50px;
    border-radius: 10px;
}

.page-login__cta-title {
    font-size: 2.5em;
    color: #FCBC45;
    margin-bottom: 20px;
}

.page-login__cta-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-login__cta-button--big {
    padding: 18px 40px;
    font-size: 1.3em;
    background-color: #FCBC45;
    color: #000000;
}

.page-login__cta-button--big:hover {
    background-color: #e0a73b;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-login {
        padding-top: var(--header-offset-mobile, 80px); /* Adjust for mobile header offset */
    }

    .page-login__hero-section {
        padding: 60px 15px;
    }

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

    .page-login__intro-text {
        font-size: 1.1em;
    }

    .page-login__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        display: block;
        margin: 10px auto;
        max-width: 300px;
    }

    .page-login__content-area {
        padding: 40px 15px;
        margin-top: -30px;
    }

    .page-login__section-title {
        font-size: 1.8em;
    }

    .page-login__paragraph {
        font-size: 1em;
    }

    .page-login__list-heading {
        font-size: 1.2em;
    }

    .page-login__image-wrapper img {
        max-width: 100%;
        height: auto; /* Ensure images don't overflow */
        min-width: 200px;
        min-height: 200px;
    }

    .page-login__cta-section {
        padding: 40px 15px;
    }

    .page-login__cta-title {
        font-size: 2em;
    }

    .page-login__cta-description {
        font-size: 1em;
    }

    .page-login__cta-button--big {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    /* Ensure content images do not cause horizontal scroll */
    .page-login img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-login__main-title {
        font-size: 1.8em;
    }

    .page-login__intro-text {
        font-size: 0.95em;
    }

    .page-login__section-title {
        font-size: 1.5em;
    }

    .page-login__cta-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
}