/* style/login.css */

/* General styles for the login page */
.page-login {
    font-family: Arial, sans-serif;
    color: #1F2D3D; /* Text Main */
    line-height: 1.6;
    background-color: #F4F7FB; /* Background */
}

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

.page-login__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-login__section-description {
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-login__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding as body handles header offset */
    padding-bottom: 60px;
    background-color: #F4F7FB; /* Consistent background */
}

.page-login__hero-image {
    width: 100%;
    height: auto;
    max-width: 1920px; /* Max width for large screens */
    display: block;
    margin-bottom: 30px; /* Space between image and content */
    object-fit: cover;
    border-radius: 10px;
}

.page-login__hero-content {
    max-width: 800px;
    padding: 0 15px;
}

.page-login__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-login__hero-description {
    font-size: 1.2em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
}

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

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

.page-login__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-login__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-login__btn-secondary {
    background: #ffffff; /* Card BG */
    color: #2F6BFF; /* Main color for text */
    border: 2px solid #2F6BFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-login__btn-secondary:hover {
    background: #F4F7FB; /* Background */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-login__btn-tertiary {
    background: none;
    color: #2F6BFF;
    border: 2px solid #D6E2FF; /* Border color */
    padding: 10px 20px;
    font-size: 1em;
}

.page-login__btn-tertiary:hover {
    background: #D6E2FF;
    color: #1F2D3D;
}

/* Login Form Section */
.page-login__form-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-login__login-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: #ffffff; /* Card BG */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-login__form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    font-size: 1.05em;
}

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 8px;
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

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

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

.page-login__form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.95em;
}

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

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

.page-login__checkbox-label {
    color: #1F2D3D; /* Text Main */
}

.page-login__forgot-password {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
}

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

.page-login__submit-button {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
}

.page-login__no-account-text {
    text-align: center;
    margin-top: 30px;
    color: #1F2D3D; /* Text Main */
}

.page-login__register-link {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
}

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

/* Benefits Section */
.page-login__dark-section {
    background-color: #2F6BFF; /* Main color */
    color: #ffffff;
    padding: 60px 0;
}

.page-login__dark-section .page-login__section-title,
.page-login__dark-section .page-login__section-description {
    color: #ffffff;
}

.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-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-login__benefit-icon {
    width: 100%; /* Ensure images are not small */
    height: auto;
    max-width: 300px; /* Max width for benefit icons */
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-login__benefit-description {
    font-size: 1em;
    color: #f0f8ff;
}

/* Security Section */
.page-login__security-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

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

.page-login__feature-item {
    background-color: #ffffff; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-login__feature-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #2F6BFF; /* Main color */
    margin-bottom: 15px;
}

.page-login__feature-description {
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
}

/* FAQ Section */
.page-login__faq-section {
    padding: 60px 0;
    background-color: #2F6BFF; /* Main color */
    color: #ffffff;
}

.page-login__faq-section .page-login__section-title {
    color: #ffffff;
}

.page-login__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-login__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-login__faq-item[open] {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    list-style: none; /* Hide default marker */
    position: relative;
}

.page-login__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-login__faq-qtext {
    flex-grow: 1;
}

.page-login__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
    transform: rotate(45deg);
}

.page-login__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #f0f8ff;
}

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

.page-login__faq-answer a {
    color: #A5C4FF; /* Glow color for links in dark section */
    text-decoration: underline;
}

.page-login__faq-answer a:hover {
    color: #ffffff;
}

/* CTA Bottom Section */
.page-login__cta-bottom {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
    text-align: center;
}

.page-login__cta-content {
    max-width: 800px;
}

/* Global image styles to prevent small icons and ensure responsiveness */
.page-login img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* General button styles to prevent overflow */
.page-login a[class*="btn"],
.page-login button[type="submit"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-login__cta-buttons,
.page-login__button-group,
.page-login__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Placeholder styles for homepage-specific modules, as required for CSS completeness */
/* These elements are not present in login.html but are included for strict compliance */
.page-login__home-content {
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 10px;
    padding: 30px;
    margin: 40px auto;
    max-width: 1000px;
    background-color: #ffffff;
    height: 650px; /* Placeholder height */
    overflow-y: auto;
}
.page-login__row-games,
.page-login__row-sport,
.page-login__row-coop {
    background-color: #1F2D3D; /* Darker background for game sections */
    padding: 40px 20px;
    max-width: 1330px;
    margin: 0 auto;
    color: #ffffff;
}
.page-login__games-title,
.page-login__sport-title,
.page-login__coop-title {
    color: #ffffff;
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 30px;
}
.page-login__slider-wrapper {
    overflow: hidden;
    margin-top: 30px;
}
.page-login__slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 10px 0;
}
.page-login__game-slide {
    flex: 0 0 200px;
    max-width: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
.page-login__banners-top-wrapper {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.page-login__banner-item img {
    
    
    object-fit: contain;
    margin: 0 auto;
    display: block;
}
.page-login__blog-masonry {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    margin-top: 40px;
}
.page-login__blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}
.page-login__blog-card-link:hover {
    transform: translateY(-5px);
}
}