/* style/login.css */

/* General page styling */
.page-login {
    font-family: Arial, sans-serif;
    background-color: #0A0A0A; /* Main background color */
    color: #FFF6D6; /* Main text color for dark background */
    line-height: 1.6;
    padding-bottom: 40px; /* General padding for the bottom of the page */
}

/* Hero Section */
.page-login__hero-section {
    position: relative;
    padding-top: 10px; /* Fixed small top padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #0A0A0A;
    padding-bottom: 40px;
}

.page-login__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-top: 20px;
}

.page-login__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

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

.page-login__main-title {
    font-size: clamp(2em, 3.5vw, 3em); /* Responsive font size for H1 */
    color: #FFD36B; /* Accent color for title */
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
}

.page-login__hero-description {
    font-size: 1.1em;
    color: #FFF6D6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-login__btn-primary,
.page-login__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-login__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for bright button */
    border: none;
}

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

.page-login__btn-secondary {
    background: #111111; /* Card BG color */
    color: #FFD36B; /* Glow color for text */
    border: 2px solid #3A2A12; /* Border color */
}

.page-login__btn-secondary:hover {
    background: #3A2A12;
    color: #FFF6D6;
    transform: translateY(-2px);
}

/* Form Section */
.page-login__form-section {
    background-color: #0A0A0A;
    padding: 60px 15px;
    text-align: center;
}

.page-login__form-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: #111111; /* Card BG */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border color */
}

.page-login__form-title {
    font-size: 2em;
    color: #FFD36B;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-login__form-intro-text {
    font-size: 1em;
    color: #FFF6D6;
    margin-bottom: 30px;
}

.page-login__login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-login__form-group {
    text-align: left;
    position: relative;
}

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

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #3A2A12;
    border-radius: 6px;
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-size: 1em;
    box-sizing: border-box;
}

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

.page-login__form-input:focus {
    border-color: #FFD36B;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 211, 107, 0.2);
}

.page-login__forgot-password {
    display: block;
    text-align: right;
    margin-top: 10px;
    color: #F2C14E;
    text-decoration: none;
    font-size: 0.95em;
}

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

.page-login__remember-me {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.page-login__checkbox {
    margin-right: 10px;
    accent-color: #F2C14E; /* Custom checkbox color */
}

.page-login__checkbox-label {
    color: #FFF6D6;
    font-size: 0.95em;
}

.page-login__submit-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

.page-login__register-prompt {
    margin-top: 30px;
    color: #FFF6D6;
    font-size: 1em;
}

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

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

/* Platform Overview Section */
.page-login__platform-overview {
    background-color: #0A0A0A;
    padding: 60px 15px;
    text-align: center;
}

.page-login__overview-content {
    max-width: 1200px;
    margin: 0 auto;
}

.page-login__overview-title {
    font-size: 2.2em;
    color: #FFD36B;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-login__overview-description {
    font-size: 1.1em;
    color: #FFF6D6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.page-login__category-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-login__category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-login__category-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it respects width/height in flex context */
}

.page-login__category-title {
    font-size: 1.5em;
    color: #F2C14E;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-login__category-text {
    font-size: 0.95em;
    color: #FFF6D6;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to grow and push link to bottom */
}

.page-login__category-link {
    display: inline-block;
    background: #F2C14E;
    color: #111111;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background 0.3s ease;
    margin-top: auto; /* Push link to bottom */
}

.page-login__category-link:hover {
    background: #FFD36B;
    color: #000000;
}

/* Security Section */
.page-login__security-section {
    background-color: #0A0A0A;
    padding: 60px 15px;
    text-align: center;
}

.page-login__security-content {
    max-width: 1200px;
    margin: 0 auto;
}

.page-login__security-title {
    font-size: 2.2em;
    color: #FFD36B;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-login__security-description {
    font-size: 1.1em;
    color: #FFF6D6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.page-login__feature-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-login__feature-icon {
    width: 100px; /* Fixed size for icons */
    height: 100px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block;
}

.page-login__feature-title {
    font-size: 1.4em;
    color: #F2C14E;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-login__feature-text {
    font-size: 0.95em;
    color: #FFF6D6;
    flex-grow: 1;
}

/* Benefits Section */
.page-login__benefits-section {
    background-color: #0A0A0A;
    padding: 60px 15px;
    text-align: center;
}

.page-login__benefits-content {
    max-width: 1200px;
    margin: 0 auto;
}

.page-login__benefits-title {
    font-size: 2.2em;
    color: #FFD36B;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-login__benefits-description {
    font-size: 1.1em;
    color: #FFF6D6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}