.page-login {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF; /* Ensure page content background is white */
}

/* Fixed header offset for main content */
.page-login.page-content {
    padding-top: var(--header-offset, 120px);
}

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

.page-login__hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-login__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FCBC45; /* Accent color for main title */
    line-height: 1.2;
}

.page-login__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-login__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-login__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.page-login__button--login {
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for login button */
    border: 2px solid #FCBC45;
}

.page-login__button--login:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

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

.page-login__button--register:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-login__form-section,
.page-login__process-section,
.page-login__security-section,
.page-login__faq-section {
    padding: 60px 20px;
    background-color: #FFFFFF;
}

.page-login__form-section {
    border-bottom: 1px solid #eee;
}

.page-login__content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.page-login__section-title {
    font-size: 2em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-login__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #FCBC45;
}

.page-login__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__form-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-login__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-login__form-group {
    text-align: left;
}

.page-login__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333333;
}

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.page-login__form-input:focus {
    border-color: #FCBC45;
    outline: none;
    box-shadow: 0 0 0 3px rgba(252, 188, 69, 0.3);
}

.page-login__form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.page-login__submit-button {
    background-color: #FCBC45;
    color: #000000;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex-grow: 1;
    min-width: 120px;
}

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

.page-login__forgot-password,
.page-login__register-link,
.page-login__text-link {
    color: #000000; /* Dark text for links */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.page-login__forgot-password:hover,
.page-login__register-link:hover,
.page-login__text-link:hover {
    color: #FCBC45; /* Accent color on hover */
    text-decoration: underline;
}

.page-login__no-account {
    text-align: center;
    margin-top: 20px;
    font-size: 1em;
    color: #555555;
}

.page-login__process-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-login__process-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-login__process-step-description {
    color: #555555;
    font-size: 1em;
}

.page-login__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-login__security-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-login__security-icon {
    width: 250px; /* Min 200px requirement met */
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-login__security-item-title {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
}

.page-login__security-item-description {
    color: #555555;
    font-size: 0.95em;
}

.page-login__security-footer-text {
    text-align: center;
    margin-top: 40px;
    font-size: 1em;
    color: #555555;
}

.page-login__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__faq-item {
    background-color: #f8f8f8;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

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

.page-login__faq-item[open] .page-login__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'x' or similar */
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-login__main-title {
        font-size: 2em;
    }

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

    .page-login__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-login__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

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

    .page-login__form-section,
    .page-login__process-section,
    .page-login__security-section,
    .page-login__faq-section {
        padding: 40px 15px;
    }

    .page-login__form-container {
        padding: 30px;
    }

    .page-login__form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .page-login__submit-button,
    .page-login__forgot-password {
        width: 100%;
    }

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

    .page-login__security-icon {
        width: 200px; /* Ensure minimum size on mobile */
        height: auto;
    }

    /* Mobile image overflow prevention */
    .page-login img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure content images meet minimum size requirements */
.page-login img:not(.shared-header__logo, .shared-footer__payment-icon, .shared-footer__social-icon, .shared-footer__game-provider-icon) {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Maintain aspect ratio */
}