/* style/login.css */
/* All selectors must use BEM naming rules (double underscore __ connection) */

/* Base styles for the page content, ensuring proper text color for dark background */
.page-login {
    color: #FFF6D6; /* Text Main color for dark background */
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
    background-color: #0A0A0A; /* Background color from custom palette */
}

/* Fixed Header Spacing */
.page-login__hero-section {
    padding-top: var(--header-offset, 120px); /* Desktop default */
    background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Main brand colors */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

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

.page-login__hero-content {
    text-align: center;
    margin-bottom: 40px;
}

.page-login__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    color: #FFF6D6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-login__hero-description {
    font-size: 1.2rem;
    color: #FFF6D6; /* Text Main */
    max-width: 800px;
    margin: 0 auto;
}

.page-login__login-card {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 30px;
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative; /* For image positioning if needed */
}

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

.page-login__card-title {
    font-size: 1.8rem;
    color: #F2C14E; /* Main brand color */
    margin-bottom: 25px;
}

.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: #FFF6D6; /* Text Main */
    font-weight: bold;
}

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #3A2A12; /* Border */
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent background */
    color: #FFF6D6; /* Text Main */
    font-size: 1rem;
    box-sizing: border-box;
}

.page-login__form-input::placeholder {
    color: rgba(255, 246, 214, 0.7); /* Lighter placeholder text */
}

.page-login__form-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.page-login__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #111111; /* Dark text for bright button */
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    display: block; /* Ensure it takes full width in column flex */
    box-sizing: border-box;
    max-width: 100%; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-login__btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.page-login__btn-secondary {
    background: #111111; /* Card BG */
    color: #F2C14E; /* Main brand color */
    padding: 15px 25px;
    border: 1px solid #F2C14E; /* Border with main brand color */
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    display: block; /* Ensure it takes full width in column flex */
    box-sizing: border-box;
    max-width: 100%; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-login__btn-secondary:hover {
    background: #F2C14E; /* Main brand color */
    color: #111111; /* Dark text for bright background */
    transform: translateY(-2px);
}

.page-login__forgot-password {
    display: block;
    margin-top: 15px;
    color: #FFD36B; /* Glow color */
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
    color: #FFF6D6; /* Text Main */
    text-decoration: underline;
}

.page-login__info-section,
.page-login__games-showcase,
.page-login__faq-section,
.page-login__cta-section,
.page-login__registration-payment-section {
    padding: 60px 0;
    text-align: center;
}

.page-login__dark-section {
    background-color: #0A0A0A; /* Ensure dark background consistency */
}

.page-login__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #F2C14E; /* Main brand color */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-login__section-description {
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main */
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-login__feature-item {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    color: #FFF6D6; /* Text Main */
    display: flex;
    flex-direction: column;
}

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

.page-login__feature-icon {
    width: 250px; /* Enforce min size for features */
    height: 250px;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-login__feature-title {
    font-size: 1.5rem;
    color: #FFD36B; /* Glow color */
    margin-bottom: 15px;
}

.page-login__feature-text {
    font-size: 1rem;
    color: #FFF6D6; /* Text Main */
    flex-grow: 1; /* Push button to bottom */
}

.page-login__btn-large {
    padding: 18px 30px;
    font-size: 1.2rem;
    margin-top: 30px;
    display: inline-block;
}

/* New Section: Registration & Payment */
.page-login__registration-payment-section {
    padding: 60px 0;
    text-align: center;
    background-color: #0A0A0A; /* Background color from custom palette */
}

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

.page-login__process-step {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    color: #FFF6D6; /* Text Main */
    display: flex;
    flex-direction: column;
}