/* style/login.css */

/* Base styles for the page-login container */
.page-login {
    color: #ffffff; /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure space above footer */
}

/* Hero Section */
.page-login__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px);
    padding-bottom: 60px;
    background-color: #000000; /* Matching body background */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    overflow: hidden;
}

.page-login__hero-content {
    max-width: 600px;
    text-align: center;
    z-index: 1;
    padding: 20px;
    box-sizing: border-box;
}

.page-login__main-title {
    font-size: 3.2em;
    color: #26A9E0;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

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

.page-login__login-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    color: #ffffff;
}

.page-login__card-title {
    font-size: 2em;
    color: #26A9E0;
    margin-bottom: 30px;
    text-align: center;
}

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

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

.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: rgba(255, 255, 255, 0.7);
}
.page-login__form-input:focus {
    outline: none;
    border-color: #EA7C07;
    box-shadow: 0 0 8px rgba(234, 124, 7, 0.5);
}

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

.page-login__remember-me {
    display: flex;
    align-items: center;
}

.page-login__checkbox {
    margin-right: 8px;
    accent-color: #26A9E0;
}

.page-login__checkbox-label {
    color: #f0f0f0;
}

.page-login__forgot-password {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}
.page-login__forgot-password:hover {
    color: #EA7C07;
    text-decoration: underline;
}

.page-login__btn-primary {
    display: block;
    width: 100%;
    padding: 15px 25px;
    background-color: #EA7C07;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
}
.page-login__btn-primary:hover {
    background-color: #d16e06;
    transform: translateY(-2px);
}

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

.page-login__register-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
.page-login__register-link:hover {
    color: #EA7C07;
    text-decoration: underline;
}

.page-login__hero-image-wrapper {
    flex-shrink: 0;
    margin-left: 40px;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-login__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* General Section Styles */
.page-login__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0;
}

.page-login__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #f0f0f0;
}

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

/* Benefits Section */
.page-login__benefits-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: #ffffff;
}
.page-login__benefits-section .page-login__section-description {
    color: #f0f0f0;
}

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

.page-login__benefit-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff;
}
.page-login__benefit-item:hover {
    transform: translateY(-10px);
}

.page-login__benefit-icon {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

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

/* How to Login Section */
.page-login__how-to-login-section {
    padding: 80px 0;
    background-color: #000000;
    color: #ffffff;
}
.page-login__how-to-login-section .page-login__section-description {
    color: #f0f0f0;
}

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

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

.page-login__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #EA7C07;
    margin-bottom: 15px;
}

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

.page-login__step-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Troubleshooting Section */
.page-login__troubleshooting-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: #ffffff;
}
.page-login__troubleshooting-section .page-login__section-description {
    color: #f0f0f0;
}

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

.page-login__trouble-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

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

.page-login__trouble-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-login__contact-support {
    text-align: center;
    margin-top: 50px;
}

.page-login__contact-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-login__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
}
.page-login__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Game Showcase Section */
.page-login__game-showcase-section {
    padding: 80px 0;
    background-color: #000000;
    color: #ffffff;
}
.page-login__game-showcase-section .page-login__section-description {
    color: #f0f0f0;
}

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

.page-login__game-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff;
}
.page-login__game-card:hover {
    transform: translateY(-10px);
}

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

.page-login__game-title {
    font-size: 1.3em;
    padding: 15px 20px 0;
    margin-bottom: 10px;
}
.page-login__game-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}
.page-login__game-title a:hover {
    color: #EA7C07;
    text-decoration: underline;
}

.page-login__game-text {
    font-size: 0.95em;
    padding: 0 20px 20px;
    color: #f0f0f0;
}

.page-login__cta-explore {
    text-align: center;
    margin-top: 50px;
}

/* Promotions Section */
.page-login__promotions-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: #ffffff;
}
.page-login__promotions-section .page-login__section-description {
    color: #f0f0f0;
}

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

.page-login__promo-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff;
}
.page-login__promo-card:hover {
    transform: translateY(-10px);
}

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

.page-login__promo-title {
    font-size: 1.3em;
    padding: 15px 20px 0;
    margin-bottom: 10px;
}
.page-login__promo-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}
.page-login__promo-title a:hover {
    color: #EA7C07;
    text-decoration: underline;
}

.page-login__promo-text {
    font-size: 0.95em;
    padding: 0 20px 20px;
    color: #f0f0f0;
}

.page-login__cta-promotions {
    text-align: center;
    margin-top: 50px;
}

/* App Download Section */
.page-login__app-download-section {
    padding: 80px 0;
    background-color: #000000;
    color: #ffffff;
}
.page-login__app-download-section .page-login__section-description {
    color: #f0f0f0;
}

.page-login__app-flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.page-login__app-content {
    max-width: 500px;
    text-align: left;
}
.page-login__app-content .page-login__section-title,
.page-login__app-content .page-login__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}
.page-login__app-content .page-login__section-title {
    font-size: 2.2em;
    margin-bottom: 15px;
}
.page-login__app-content .page-login__section-description {
    margin-bottom: 30px;
}

.page-login__app-download-button {
    margin-top: 20px;
}

.page-login__app-image-wrapper {
    flex-shrink: 0;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-login__app-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    min-height: 200px;
}

/* FAQ Section */
.page-login__faq-section {
    padding: 80px 0;
    background-color: #000000;
    color: #ffffff;
}
.page-login__faq-section .page-login__section-description {
    color: #f0f0f0;
}

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

/* CTA Section */
.page-login__cta-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: #ffffff;
    text-align: center;
}
.page-login__cta-section .page-login__section-description {
    color: #f0f0f0;
    margin-bottom: 40px;
}

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

.page-login__cta-buttons .page-login__btn-primary,
.page-login__cta-buttons .page-login__btn-secondary {
    width: auto;
    min-width: 180px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .page-login__hero-section {
        flex-direction: column;
        padding-top: var(--header-offset, 100px);
    }
    .page-login__hero-content {
        max-width: 100%;
        padding: 20px;
    }
    .page-login__hero-image-wrapper {
        margin-left: 0;
        max-width: 80%;
        order: -1; /* Image above content on smaller screens */
    }
    .page-login__main-title {
        font-size: 2.8em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
    .page-login__app-flex-container {
        flex-direction: column;
    }
    .page-login__app-content {
        text-align: center;
    }
    .page-login__app-content .page-login__section-title,
    .page-login__app-content .page-login__section-description {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-login__main-title {
        font-size: 2.2em;
    }
    .page-login__hero-description {
        font-size: 1em;
    }
    .page-login__login-card {
        padding: 30px;
    }
    .page-login__card-title {
        font-size: 1.8em;
    }
    .page-login__section-title {
        font-size: 1.8em;
    }
    .page-login__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-login__benefits-grid,
    .page-login__steps-grid,
    .page-login__troubleshooting-grid,
    .page-login__game-grid,
    .page-login__promotion-cards {
        grid-template-columns: 1fr;
    }
    .page-login__benefit-item,
    .page-login__step-item,
    .page-login__trouble-item,
    .page-login__game-card,
    .page-login__promo-card {
        padding: 20px;
    }
    .page-login__app-content .page-login__section-title {
        font-size: 1.8em;
    }
    .page-login__app-image-wrapper {
        max-width: 90%;
    }
    .page-login__faq-question {
        font-size: 1em;
    }
    .page-login__faq-answer {
        font-size: 0.9em;
    }
    .page-login__btn-primary, .page-login__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-login__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-login__cta-buttons .page-login__btn-primary,
    .page-login__cta-buttons .page-login__btn-secondary {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-login__main-title {
        font-size: 1.8em;
    }
    .page-login__hero-description {
        font-size: 0.9em;
    }
    .page-login__login-card {
        padding: 20px;
    }
    .page-login__card-title {
        font-size: 1.5em;
    }
    .page-login__form-input {
        padding: 10px 12px;
    }
    .page-login__section-title {
        font-size: 1.5em;
    }
    .page-login__section-description {
        font-size: 0.85em;
        margin-bottom: 25px;
    }
    .page-login__benefit-title,
    .page-login__step-title,
    .page-login__trouble-title,
    .page-login__game-title,
    .page-login__promo-title {
        font-size: 1.2em;
    }
    .page-login__benefit-text,
    .page-login__step-text,
    .page-login__trouble-text,
    .page-login__game-text,
    .page-login__promo-text {
        font-size: 0.9em;
    }
    .page-login__app-content .page-login__section-title {
        font-size: 1.5em;
    }
    .page-login__app-content .page-login__section-description {
        font-size: 0.9em;
    }
    .page-login__faq-title {
        font-size: 0.95em;
    }
    .page-login__faq-answer p {
        font-size: 0.85em;
    }
    .page-login__btn-primary, .page-login__btn-secondary {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .page-login__cta-buttons .page-login__btn-primary,
    .page-login__cta-buttons .page-login__btn-secondary {
        width: 90%;
        max-width: 250px;
    }
}