/* style/login.css */

/* Base styles for the login page */
.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default for dark body background */
}

/* Dark background sections */
.page-login__dark-bg {
    background-color: #0a0a0a;
    color: #ffffff;
}

/* Light background sections */
.page-login__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-login__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-login__main-title {
    font-weight: bold;
    line-height: 1.2;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__section-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    line-height: 1.3;
}

.page-login__description,
.page-login__section-intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-login__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
    min-height: 600px;
}

.page-login__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-login__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.page-login__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    width: 100%;
}

.page-login__login-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    max-width: 450px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.page-login__login-card-title {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #ffffff;
    text-align: center;
}

.page-login__form-group {
    margin-bottom: 20px;
    text-align: left;
}

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

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #26A9E0;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

.page-login__form-input::placeholder {
    color: #ccc;
}

.page-login__form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9em;
}

.page-login__remember-me {
    color: #f0f0f0;
}

.page-login__remember-me input {
    margin-right: 5px;
}

.page-login__forgot-password-link {
    color: #26A9E0;
    text-decoration: none;
}

.page-login__forgot-password-link:hover {
    text-decoration: underline;
}

.page-login__btn-login {
    background-color: #EA7C07;
    color: #ffffff;
    border: none;
    padding: 14px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s ease;
}

.page-login__btn-login:hover {
    background-color: #d46f06;
}

.page-login__register-prompt {
    margin-top: 25px;
    color: #f0f0f0;
    text-align: center;
}

.page-login__register-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-login__register-link:hover {
    text-decoration: underline;
}

/* Buttons (General) */
.page-login__btn-primary,
.page-login__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-login__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-login__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-login__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-login__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87b7;
    border-color: #1e87b7;
}

/* Benefits Section */
.page-login__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-login__benefit-item {
    text-align: center;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-login__benefit-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-login__benefit-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-login__benefit-text {
    color: #555555;
    font-size: 1em;
}

/* Guide Section */
.page-login__guide-section .page-login__section-title,
.page-login__guide-section .page-login__section-intro {
    color: #ffffff;
}

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

.page-login__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-login__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-login__step-title {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-login__step-text {
    color: #f0f0f0;
}

.page-login__guide-cta {
    margin-top: 40px;
    width: auto;
    min-width: 250px;
}

/* Troubleshoot Section */
.page-login__troubleshoot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-login__troubleshoot-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-login__troubleshoot-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-login__troubleshoot-text {
    color: #555555;
}

.page-login__troubleshoot-cta {
    margin-top: 40px;
    width: auto;
    min-width: 200px;
}

/* Security Section */
.page-login__security-section .page-login__section-title,
.page-login__security-section .page-login__section-intro {
    color: #ffffff;
}

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

.page-login__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-login__feature-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-login__feature-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-login__feature-text {
    color: #f0f0f0;
}

/* Promotions Section */
.page-login__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-login__promo-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: #333333;
}

.page-login__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-login__promo-card h3,
.page-login__promo-card p,
.page-login__promo-card a {
    padding: 0 20px;
}

.page-login__promo-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-login__promo-text {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 15px;
}

.page-login__promo-link {
    display: inline-block;
    background-color: #26A9E0;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-login__promo-link:hover {
    background-color: #1e87b7;
}

.page-login__promotions-cta {
    margin-top: 40px;
    width: auto;
    min-width: 250px;
}

/* Games Section */
.page-login__games-section .page-login__section-title,
.page-login__games-section .page-login__section-intro {
    color: #ffffff;
}

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

.page-login__game-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #ffffff;
}

.page-login__game-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.page-login__game-card h3,
.page-login__game-card p,
.page-login__game-card a {
    padding: 0 20px;
}

.page-login__game-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-login__game-text {
    font-size: 0.95em;
    color: #f0f0f0;
    margin-bottom: 15px;
}

.page-login__game-link {
    display: inline-block;
    background-color: #EA7C07;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-login__game-link:hover {
    background-color: #d46f06;
}

/* Mobile Section */
.page-login__mobile-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-login__mobile-image {
    flex: 1 1 40%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.page-login__mobile-text {
    flex: 1 1 50%;
    color: #333333;
}

.page-login__mobile-subtitle {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-login__mobile-description {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-login__mobile-features {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 30px;
    color: #555555;
}

.page-login__mobile-features li {
    margin-bottom: 8px;
}

.page-login__mobile-cta {
    width: auto;
    min-width: 200px;
}

/* FAQ Section */
.page-login__faq-section .page-login__section-title {
    color: #ffffff;
}

.page-login__faq-list {
    margin-top: 40px;
}

.page-login__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-login__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-login__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-login__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-login__faq-qtext {
    flex-grow: 1;
    color: #ffffff;
}

.page-login__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #26A9E0;
}

.page-login__faq-answer {
    padding: 15px 20px 20px;
    font-size: 1em;
    color: #f0f0f0;
}

.page-login__faq-answer p {
    margin-bottom: 10px;
    text-align: left;
}

.page-login__faq-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-login__faq-link:hover {
    text-decoration: underline;
}

/* CTA Section */
.page-login__cta-content {
    text-align: center;
    padding: 60px 20px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 2.5em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-login__main-title {
        font-size: 2em;
    }
    .page-login__section-title {
        font-size: 1.8em;
    }
    .page-login__description,
    .page-login__section-intro {
        font-size: 1em;
    }
    .page-login__content-area {
        padding: 30px 15px;
    }

    /* Images */
    .page-login img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Containers for images, videos, buttons */
    .page-login__section,
    .page-login__card,
    .page-login__container,
    .page-login__hero-image-wrapper,
    .page-login__login-card,
    .page-login__benefits-grid,
    .page-login__benefit-item,
    .page-login__guide-steps,
    .page-login__step-item,
    .page-login__troubleshoot-grid,
    .page-login__troubleshoot-item,
    .page-login__security-features,
    .page-login__feature-item,
    .page-login__promotions-grid,
    .page-login__promo-card,
    .page-login__games-grid,
    .page-login__game-card,
    .page-login__mobile-content,
    .page-login__mobile-text,
    .page-login__faq-list,
    .page-login__faq-item,
    .page-login__cta-content,
    .page-login__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    /* Specific overrides for padding to avoid double application */
    .page-login__hero-section,
    .page-login__guide-section,
    .page-login__troubleshoot-section,
    .page-login__security-section,
    .page-login__promotions-section,
    .page-login__games-section,
    .page-login__mobile-section,
    .page-login__faq-section,
    .page-login__cta-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-login__hero-section {
        padding-top: 10px !important;
    }

    /* Buttons */
    .page-login__btn-primary,
    .page-login__btn-secondary,
    .page-login a[class*="button"],
    .page-login a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-bottom: 10px; /* Space between stacked buttons */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-login__cta-buttons {
        flex-direction: column !important;
        gap: 0;
    }

    .page-login__mobile-content {
        flex-direction: column;
    }

    .page-login__mobile-image {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .page-login__mobile-text {
        text-align: center;
    }

    .page-login__mobile-features {
        text-align: left;
        padding-left: 40px;
    }

    .page-login__login-card {
        padding: 20px 15px;
    }

    .page-login__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-login__main-title {
        font-size: 1.8em;
    }
    .page-login__section-title {
        font-size: 1.6em;
    }
    .page-login__login-card-title {
        font-size: 1.5em;
    }
    .page-login__form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .page-login__forgot-password-link {
        margin-left: 0;
    }
}