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

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

.page-login__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px; /* Adjust as needed */
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-login__hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.5); /* Darken background image for text readability */
}

.page-login__hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    max-width: 800px;
}

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

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

.page-login__login-form-wrapper {
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    margin: 0 auto;
}

.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 #8B0000;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

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

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

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

.page-login__checkbox {
    margin-right: 8px;
}

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

.page-login__forgot-password {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

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

.page-login__btn-primary {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background-color: #FFD700;
    color: #8B0000; /* Dark text for gold button */
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.page-login__btn-primary:hover {
    background-color: #e6c200;
    color: #6a0000;
}

.page-login__login-button a {
    color: #8B0000; /* Ensure link text color for primary button is dark */
    text-decoration: none;
    display: block;
}

.page-login__login-button:hover a {
    color: #6a0000;
}

.page-login__register-text {
    margin-top: 25px;
    color: #f0f0f0;
    font-size: 1em;
}

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

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

.page-login__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

.page-login__benefits-section {
    padding: 80px 0;
}

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

.page-login__benefit-card {
    background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff; /* Light text for card content */
}

.page-login__benefit-card:hover {
    transform: translateY(-10px);
}

.page-login__benefit-icon {
    width: 200px;
    height: 150px; /* Minimum size requirement */
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Make icons slightly brighter */
}

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

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

.page-login__video-section {
    padding: 80px 0;
    text-align: center;
}

.page-login__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-login__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
}

.page-login__video-cta {
    margin-top: 30px;
}

.page-login__promotions-section {
    padding: 80px 0;
}

.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: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff;
    text-align: center;
}

.page-login__promo-card:hover {
    transform: translateY(-10px);
}

.page-login__promo-image {
    width: 100%;
    height: 250px; /* Ensure sufficient height for large images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-login__promo-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-login__promo-text {
    font-size: 0.9em;
    color: #f0f0f0;
    margin-bottom: 25px;
}

.page-login__btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #8B0000;
    color: #ffffff; /* White text for dark red button */
    border: 2px solid #8B0000;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-login__btn-secondary:hover {
    background-color: #6a0000;
    border-color: #6a0000;
    color: #FFD700;
}

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

.page-login__faq-section {
    padding: 80px 0;
}

.page-login__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

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

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFD700;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-login__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-login__faq-item.active .page-login__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-login__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5);
    color: #f0f0f0;
}

.page-login__faq-item.active .page-login__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 25px;
}

.page-login__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

.page-login__cta-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Adjust as needed */
    text-align: center;
    overflow: hidden;
    padding: 80px 0;
}

.page-login__cta-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4); /* Darken background image for text readability */
}

.page-login__cta-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    max-width: 800px;
}

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

.page-login__large-button {
    padding: 18px 35px;
    font-size: 1.2em;
    min-width: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-login__hero-title {
        font-size: 2.8em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
    .page-login__hero-section {
        min-height: 600px;
    }
    .page-login__video-wrapper {
        padding-bottom: 65%; /* Adjust for slightly taller aspect on tablets */
    }
}

@media (max-width: 768px) {
    .page-login__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header on mobile */
    }
    .page-login__hero-title {
        font-size: 2.2em;
    }
    .page-login__hero-description,
    .page-login__section-description {
        font-size: 1em;
    }
    .page-login__login-form-wrapper {
        padding: 30px;
    }
    .page-login__form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .page-login__section-title {
        font-size: 1.8em;
    }
    .page-login__benefits-grid,
    .page-login__promotions-grid {
        grid-template-columns: 1fr;
    }
    .page-login__benefit-card,
    .page-login__promo-card {
        padding: 25px;
    }
    .page-login__video-wrapper {
        margin: 20px auto;
        padding-bottom: 75%; /* Adjust for mobile portrait aspect ratio */
    }
    .page-login__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Specific instruction for video section on mobile */
    }
    .page-login__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-login__large-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-login__container,
    .page-login__benefits-section,
    .page-login__video-section,
    .page-login__promotions-section,
    .page-login__faq-section,
    .page-login__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-login img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-login video,
    .page-login__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-login__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-login__hero-title {
        font-size: 1.8em;
    }
    .page-login__section-title {
        font-size: 1.5em;
    }
    .page-login__login-form-wrapper {
        padding: 25px;
    }
    .page-login__large-button {
        font-size: 1.1em;
        padding: 15px 25px;
    }
}