/* style/login.css */
.page-login {
    color: #333333; /* Dark text for default light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-login__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
    background-color: #002060; /* Main color for hero section background */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-login__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Constrain content width */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.page-login__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.3; /* Slightly dim the background image */
}

.page-login__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff; /* White text over dark background */
    max-width: 800px;
}

.page-login__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #FFD700; /* Gold accent for title */
    font-weight: bold;
}

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

.page-login__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #002060; /* Dark blue text on gold */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 0 10px;
    min-width: 200px;
    text-align: center;
}

.page-login__hero-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

.page-login__hero-button--secondary {
    background-color: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
}

.page-login__hero-button--secondary:hover {
    background-color: #FFD700;
    color: #002060;
}

.page-login__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.page-login__section-title {
    font-size: 2.2em;
    color: #002060; /* Main dark blue for section titles */
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-login__section-text {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    color: #555555;
}

.page-login__section-image {
    display: block;
    margin: 30px auto;
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
}

/* Login Process Section */
.page-login__process-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin-bottom: 30px;
}

.page-login__process-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #002060;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    padding-left: 60px; /* Space for step number */
}

.page-login__process-item::before {
    counter-increment: step-counter;
    content: "Step " counter(step-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    background-color: #002060; /* Dark blue step number background */
    color: #FFD700; /* Gold text */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.page-login__process-step-title {
    color: #002060;
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-login__process-button {
    display: block;
    width: fit-content;
    margin: 0 auto 30px auto;
    background-color: #FFD700;
    color: #002060;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-login__process-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* Security Section */
.page-login__security-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.page-login__security-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-login__security-tip-title {
    color: #002060;
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
}

/* FAQ Section */
.page-login__faq-list {
    margin-top: 30px;
}

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

.page-login__faq-question {
    display: block;
    padding: 20px;
    background-color: #002060; /* Dark blue for FAQ question background */
    color: #FFD700; /* Gold text */
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    position: relative;
    padding-right: 50px; /* Space for toggle icon */
    transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
    background-color: #001a4d; /* Slightly darker on hover */
}

.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;
    background-color: #ffffff;
    color: #333333;
    border-top: 1px solid #e0e0e0;
}

/* Explore Section */
.page-login__explore-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-login__explore-button {
    display: inline-block;
    background-color: #002060;
    color: #FFD700;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 180px;
    text-align: center;
    border: 2px solid #002060;
}

.page-login__explore-button:hover {
    background-color: #FFD700;
    color: #002060;
    transform: translateY(-2px);
}

/* Responsible Gambling Section */
.page-login__responsible-gambling-section {
    background-color: #f0f0f0;
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 10px;
}

.page-login__responsible-gambling-link {
    display: inline-block;
    margin-top: 20px;
    color: #002060;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #002060;
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-login__responsible-gambling-link:hover {
    color: #FFD700;
    border-color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-login__hero-title {
        font-size: 2.2em;
    }

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

    .page-login__hero-button {
        font-size: 1em;
        padding: 12px 20px;
        margin: 5px;
    }

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

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

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

    .page-login__process-item {
        padding-left: 20px;
    }

    .page-login__process-item::before {
        position: static;
        display: block;
        margin-bottom: 10px;
        background-color: transparent;
        color: #002060;
        text-align: left;
        width: auto;
        height: auto;
        border-radius: 0;
        font-size: 1.1em;
    }

    .page-login__explore-buttons {
        flex-direction: column;
    }

    .page-login__explore-button {
        width: 100%;
    }

    .page-login__faq-question {
        font-size: 1em;
    }

    /* Ensure images do not overflow on mobile */
    .page-login img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-login__hero-title {
        font-size: 1.8em;
    }
    .page-login__hero-button {
        min-width: unset;
        width: 100%;
    }
    .page-login__hero-button + .page-login__hero-button {
        margin-top: 10px;
    }
}