/* style/login.css */

/* Base styles for the login page */
.page-login {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background #f5f5f5 */
    background-color: #f5f5f5;
}

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

.page-login__section {
    padding: 60px 0;
    text-align: center;
}

.page-login__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #26A9E0;
    font-weight: bold;
}

.page-login__section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-login__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-login__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-login__text-light {
    color: #ffffff;
}

/* Buttons */
.page-login__btn-primary {
    display: inline-block;
    background-color: #EA7C07; /* Custom color for login button */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.page-login__btn-primary:hover {
    background-color: #d16e06;
    transform: translateY(-2px);
}

.page-login__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    padding: 10px 23px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    font-size: 1em;
}

.page-login__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-login__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Hero Section */
.page-login__hero-section {
    position: relative;
    padding: 100px 0;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.page-login__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    text-align: center;
    max-width: 900px;
}

.page-login__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

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

/* Login Card */
.page-login__login-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 450px;
    margin: 40px auto 0 auto;
    text-align: left;
    color: #333333;
}

.page-login__card-title {
    font-size: 2em;
    margin-bottom: 30px;
    color: #26A9E0;
    text-align: center;
}

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

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

.page-login__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
}

.page-login__form-input:focus {
    border-color: #26A9E0;
    outline: none;
    box-shadow: 0 0 5px rgba(38, 169, 224, 0.5);
}

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

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

.page-login__login-button {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
}

.page-login__register-prompt {
    text-align: center;
    margin-top: 25px;
    font-size: 1em;
    color: #555555;
}

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

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

/* Why Choose Section */
.page-login__why-choose {
    padding-bottom: 80px;
}

.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-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.page-login__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-login__feature-text {
    font-size: 1em;
    color: #555555;
}

/* Guide Section */
.page-login__guide-section {
    background-color: #26A9E0; /* Brand color as background */
    color: #ffffff;
    padding: 80px 0;
}

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

.page-login__step-item {
    background-color: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    position: relative;
    padding-top: 60px;
}

.page-login__step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-color: #EA7C07;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 3px solid #ffffff;
}

.page-login__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-login__step-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-login__security-tips {
    background-color: #ffffff;
    color: #333333;
    padding: 40px;
    border-radius: 10px;
    margin-top: 60px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-login__security-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-login__security-text {
    font-size: 1em;
    color: #555555;
}

/* Games Section */
.page-login__games-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-login__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

.page-login__game-card:hover {
    transform: translateY(-5px);
}

.page-login__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-login__game-title {
    font-size: 1.5em;
    margin: 15px 15px 10px 15px;
}

.page-login__game-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-login__game-title a:hover {
    text-decoration: underline;
}

.page-login__game-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 20px 15px;
}

/* Promotions Section */
.page-login__promotions-section {
    background-color: #26A9E0;
    color: #ffffff;
    padding: 80px 0;
}

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

.page-login__promotion-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

.page-login__promotion-card:hover {
    transform: translateY(-5px);
}

.page-login__promotion-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-login__promotion-title {
    font-size: 1.4em;
    margin: 15px 15px 10px 15px;
}

.page-login__promotion-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-login__promotion-title a:hover {
    text-decoration: underline;
}

.page-login__promotion-text {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 20px 15px;
}

/* Support and FAQ Section */
.page-login__support-faq-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-login__support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.page-login__channel-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.page-login__channel-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-login__channel-text {
    font-size: 1em;
    color: #555555;
}

.page-login__faq-heading {
    font-size: 2em;
    color: #26A9E0;
    margin-bottom: 30px;
    margin-top: 40px;
}

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

.page-login__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-size: 1.15em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #fcfcfc;
    transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
    background-color: #f0f0f0;
}

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

.page-login__faq-item.active .page-login__faq-toggle {
    transform: rotate(45deg); /* Change to '-' or rotate */
    color: #EA7C07;
}

.page-login__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}