/* style/login.css */

/* --- Base Styles --- */
.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg-1); /* Inherited from shared, assuming dark */
}

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

/* --- Hero Section --- */
.page-login__hero-section {
    position: relative;
    width: 100%;
    min-height: 700px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-login__hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-login__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-login__hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-login__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-login__login-form-wrapper {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
    color: #333333; /* Dark text for light form background */
}

.page-login__form-title {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #26A9E0; /* Brand color for title */
    text-align: center;
}

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

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

.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-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;
    color: #666666;
}

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

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

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

.page-login__btn-login {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background-color: #EA7C07; /* Custom color for login button */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

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

.page-login__register-prompt {
    text-align: center;
    margin-top: 25px;
    font-size: 1em;
    color: #666666;
}

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

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

/* --- Sections General --- */
.page-login__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for section titles */
}

.page-login__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
}

.page-login__dark-bg {
    background-color: #26A9E0; /* Primary brand color for dark sections */
    color: #ffffff; /* White text for contrast */
    padding: 80px 0;
}

.page-login__light-bg {
    background-color: #ffffff; /* Auxiliary brand color for light sections */
    color: #333333; /* Dark text for contrast */
    padding: 80px 0;
}

/* --- Features Section --- */
.page-login__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-login__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-login__feature-icon {
    width: 100%; /* Ensure large images are used as per spec */
    height: auto;
    max-height: 200px; /* Limit height for uniform look */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-login__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-login__feature-text {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
}

/* --- Game Showcase Section --- */
.page-login__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}