/* style/login-register.css */

/* Variables for consistent styling */
:root {
    --page-login-register-primary-color: #007bff;
    --page-login-register-secondary-color: #ffc107;
    --page-login-register-text-dark: #333;
    --page-login-register-text-light: #fff;
    --page-login-register-bg-light: #f8f9fa;
    --page-login-register-bg-dark: #0056b3;
    --page-login-register-border-color: #ced4da;
    --page-login-register-shadow: rgba(0, 0, 0, 0.1);
}

.page-login-register {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--page-login-register-text-dark);
    background-color: var(--page-login-register-bg-light);
}

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

.page-login-register__hero {
    background: linear-gradient(135deg, var(--page-login-register-primary-color) 0%, #0056b3 100%); /* Darker shade for better contrast */
    color: var(--page-login-register-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-login-register__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,cards,gaming_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-login-register__hero > .page-login-register__container {
    position: relative;
    z-index: 1;
}

.page-login-register__title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--page-login-register-text-light);
    text-shadow: 2px 2px 4px var(--page-login-register-bg-dark);
}

.page-login-register__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-login-register__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-login-register__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-login-register__btn--primary {
    background-color: var(--page-login-register-secondary-color);
    color: var(--page-login-register-bg-dark); /* Darker text for contrast */
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.page-login-register__btn--primary:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.page-login-register__btn--secondary {
    background-color: transparent;
    color: var(--page-login-register-text-light);
    border: 2px solid var(--page-login-register-secondary-color);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.page-login-register__btn--secondary:hover {
    background-color: var(--page-login-register-secondary-color);
    color: var(--page-login-register-bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.page-login-register__section {
    padding: 60px 0;
    background-color: var(--page-login-register-bg-light);
}

.page-login-register__section:nth-of-type(even) {
    background-color: #e9ecef;
}

.page-login-register__section-title {
    font-size: 2.2em;
    color: var(--page-login-register-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-login-register__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: -20px auto 50px auto;
    color: #555;
}

.page-login-register__form-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

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

.page-login-register__card {
    background-color: var(--page-login-register-text-light);
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--page-login-register-shadow);
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login-register__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-login-register__card-title {
    font-size: 1.8em;
    color: var(--page-login-register-primary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.page-login-register__card-text {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
}

.page-login-register__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-login-register__form-group {
    text-align: left;
}

.page-login-register__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--page-login-register-text-dark);
}

.page-login-register__input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--page-login-register-border-color);
    border-radius: 8px;
    font-size: 1em;
    color: var(--page-login-register-text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-login-register__input:focus {
    border-color: var(--page-login-register-primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    outline: none;
}

.page-login-register__link {
    color: var(--page-login-register-primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-login-register__link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.page-login-register__link--forgot {
    display: block;
    text-align: right;
    font-size: 0.9em;
    margin-top: -10px;
    margin-bottom: 20px;
}

.page-login-register__btn--submit {
    width: 100%;
    background-color: var(--page-login-register-primary-color);
    color: var(--page-login-register-text-light);
    font-size: 1.15em;
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.page-login-register__btn--submit:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
}

.page-login-register__btn--register {
    background-color: var(--page-login-register-secondary-color);
    color: var(--page-login-register-bg-dark);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.page-login-register__btn--register:hover {
    background-color: #e0a800;
    color: var(--page-login-register-bg-dark);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.page-login-register__note {
    text-align: center;
    font-size: 0.9em;
    color: #777;
    margin-top: 30px;
}

.page-login-register__why-join {
    background-color: #f0f4f8;
}

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

.page-login-register__feature-item {
    background-color: var(--page-login-register-text-light);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-login-register__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.2));
}

.page-login-register__feature-title {
    font-size: 1.5em;
    color: var(--page-login-register-primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-login-register__feature-description {
    font-size: 1em;
    color: #555;
}

.page-login-register__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

.page-login-register__guide-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.page-login-register__step-item {
    background-color: var(--page-login-register-text-light);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-login-register__step-title {
    font-size: 1.6em;
    color: var(--page-login-register-secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.page-login-register__step-item p {
    color: #555;
    margin-bottom: 15px;
}

.page-login-register__step-item ol {
    list-style-type: decimal;
    margin-left: 20px;
    color: #444;
    margin-bottom: 20px;
}

.page-login-register__step-item ol li {
    margin-bottom: 8px;
}

.page-login-register__illustration {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-login-register__games-section ul {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
}

.page-login-register__games-section ul li {
    background-color: var(--page-login-register-text-light);
    border-left: 5px solid var(--page-login-register-primary-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: #444;
}

.page-login-register__games-section ul li strong {
    color: var(--page-login-register-primary-color);
}

.page-login-register__security-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
}

.page-login-register__security-list li {
    background-color: var(--page-login-register-text-light);
    border-left: 5px solid var(--page-login-register-secondary-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: #444;
}

.page-login-register__security-list li strong {
    color: var(--page-login-register-secondary-color);
}

.page-login-register__image-full-width {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-login-register__promo-item {
    background-color: var(--page-login-register-text-light);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-login-register__promo-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(255, 193, 7, 0.3));
}

.page-login-register__promo-title {
    font-size: 1.5em;
    color: var(--page-login-register-primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-login-register__promo-description {
    font-size: 1em;
    color: #555;
}

.page-login-register__faq-item {
    background-color: var(--page-login-register-text-light);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 25px;
    transition: box-shadow 0.3s ease;
}

.page-login-register__faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.page-login-register__faq-question {
    font-size: 1.3em;
    color: var(--page-login-register-primary-color);
    margin-bottom: 10px;
    font-weight: 600;
    cursor: pointer;
}

.page-login-register__faq-answer {
    font-size: 1em;
    color: #555;
    padding-left: 10px;
    border-left: 3px solid var(--page-login-register-secondary-color);
    margin-top: 15px;
}

.page-login-register__conclusion-section {
    background: linear-gradient(135deg, #0056b3 0%, var(--page-login-register-primary-color) 100%);
    color: var(--page-login-register-text-light);
    text-align: center;
}

.page-login-register__conclusion-section .page-login-register__section-title {
    color: var(--page-login-register-secondary-color);
}

.page-login-register__conclusion-section .page-login-register__section-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.page-login-register__conclusion-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-login-register__title {
        font-size: 2.4em;
    }
    .page-login-register__subtitle {
        font-size: 1.1em;
    }
    .page-login-register__section-title {
        font-size: 1.8em;
    }
    .page-login-register__form-wrapper {
        grid-template-columns: 1fr;
    }
    .page-login-register__features-grid,
    .page-login-register__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-login-register__hero {
        padding: 60px 0;
    }
    .page-login-register__title {
        font-size: 2em;
    }
    .page-login-register__subtitle {
        font-size: 1em;
    }
    .page-login-register__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-login-register__section {
        padding: 40px 0;
    }
    .page-login-register__section-title {
        font-size: 1.6em;
    }
    .page-login-register__hero-buttons,
    .page-login-register__conclusion-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-login-register__btn--submit,
    .page-login-register__btn--register {
        width: auto;
        min-width: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .page-login-register__title {
        font-size: 1.8em;
    }
    .page-login-register__subtitle {
        font-size: 0.9em;
    }
    .page-login-register__card,
    .page-login-register__feature-item,
    .page-login-register__promo-item,
    .page-login-register__step-item,
    .page-login-register__faq-item {
        padding: 20px;
    }
    .page-login-register__card-title {
        font-size: 1.5em;
    }
    .page-login-register__feature-title,
    .page-login-register__promo-title,
    .page-login-register__step-title {
        font-size: 1.3em;
    }
    .page-login-register__faq-question {
        font-size: 1.1em;
    }
}