/* style/login.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --login-button-bg: #C30808;
    --login-button-text: #FFFFFF;
    --body-bg: #1a1a2e;
    --light-text: #ffffff;
    --dark-text: #333333;
    --yellow-text: #FFFF00;
}

.page-login {
    font-family: Arial, sans-serif;
    color: var(--light-text); /* Default text color for dark body background */
    background-color: var(--body-bg);
}

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

/* Hero Section */
.page-login__hero-section {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    padding-bottom: 60px;
}

.page-login__hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.page-login__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.page-login__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.page-login__hero-title {
    font-size: 3.2em;
    color: var(--yellow-text); /* Using custom yellow for title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-login__hero-description {
    font-size: 1.2em;
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-login__login-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 40px;
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-login__card-title {
    font-size: 2em;
    color: var(--light-text);
    margin-bottom: 30px;
}

.page-login__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;
    color: var(--light-text);
    font-weight: bold;
}

.page-login__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    font-size: 1em;
}

.page-login__form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

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

.page-login__remember-me {
    color: var(--light-text);
    display: flex;
    align-items: center;
}

.page-login__checkbox {
    margin-right: 8px;
    accent-color: var(--primary-color);
}

.page-login__forgot-password {
    color: var(--primary-color);
    text-decoration: none;
}

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

.page-login__btn-submit {
    background-color: var(--login-button-bg);
    color: var(--login-button-text);
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-login__btn-submit:hover {
    background-color: #a30606; /* Slightly darker red */
}

.page-login__register-prompt {
    color: var(--light-text);
    margin-top: 20px;
    font-size: 0.95em;
}

.page-login__register-link {
    color: var(--yellow-text);
    text-decoration: none;
    font-weight: bold;
}

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

.page-login__btn-promo {
    display: block;
    text-align: center;
    margin-top: 20px;
    background-color: var(--login-button-bg);
    color: var(--login-button-text);
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-login__btn-promo:hover {
    background-color: #a30606;
}

/* General Section Styling */
.page-login__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: var(--light-text);
}

.page-login__section-description {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--light-text);
}

.page-login__light-bg {
    background-color: var(--secondary-color); /* White background for sections */
    color: var(--dark-text); /* Dark text on white background */
    padding: 60px 20px;
}

.page-login__light-bg .page-login__section-title,
.page-login__light-bg .page-login__section-description {
    color: var(--dark-text);
}

.page-login__benefits-section {
    padding: 60px 20px;
}

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

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

.page-login__light-bg .page-login__benefit-item {
    background: #f8f8f8;
    color: var(--dark-text);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-login__benefit-item:hover {
    transform: translateY(-5px);
}

.page-login__benefit-title {
    font-size: 1.5em;
    color: var(--yellow-text); /* Custom yellow for titles */
    margin-bottom: 15px;
}

.page-login__light-bg .page-login__benefit-title {
    color: var(--primary-color);
}

.page-login__benefit-text {
    font-size: 1em;
    line-height: 1.5;
}

.page-login__game-showcase-img {
    display: block;
    margin: 60px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Security Section */
.page-login__security-section {
    padding: 60px 20px;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.page-login__security-section .page-login__section-title,
.page-login__security-section .page-login__section-description {
    color: var(--light-text);
}

.page-login__security-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-login__security-img {
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-login__security-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.page-login__security-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-login__security-item:last-child {
    margin-bottom: 0;
}

.page-login__list-title {
    font-size: 1.3em;
    color: var(--yellow-text); /* Custom yellow for titles */
    margin-bottom: 10px;
}

/* Troubleshooting Section */
.page-login__troubleshooting-section {
    padding: 60px 20px;
}

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

.page-login__trouble-item {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-login__trouble-item:hover {
    transform: translateY(-5px);
}

.page-login__trouble-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-login__trouble-text {
    font-size: 1em;
    line-height: 1.5;
    color: var(--dark-text);
}

/* CTA Section */
.page-login__cta-section {
    background-color: var(--body-bg);
    padding: 80px 20px;
    text-align: center;
}

.page-login__cta-section .page-login__section-title,
.page-login__cta-section .page-login__section-description {
    color: var(--light-text);
}

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