/* style/register-login-login-entry.css */

/* Biến CSS */
:root {
    --page-register-login-login-entry-primary-color: #0A2342;
    --page-register-login-login-entry-secondary-color: #FFD700;
    --page-register-login-login-entry-accent-color: #DC3545; /* Cho nút CTA */
    --page-register-login-login-entry-light-bg: #f8f9fa;
    --page-register-login-login-entry-dark-text: #333;
    --page-register-login-login-entry-light-text: #fff;
}

.page-register-login-login-entry {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-register-login-login-entry-dark-text);
    background-color: var(--page-register-login-login-entry-light-bg);
}

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

.page-register-login-login-entry__hero {
    background: linear-gradient(135deg, var(--page-register-login-login-entry-primary-color), #2a4a6e);
    color: var(--page-register-login-login-entry-light-text);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-register-login-login-entry__hero > div {
    position: relative;
    z-index: 1;
}

.page-register-login-login-entry__title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--page-register-login-login-entry-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register-login-login-entry__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-register-login-login-entry__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-register-login-login-entry__btn--primary {
    background-color: var(--page-register-login-login-entry-accent-color);
    color: var(--page-register-login-login-entry-light-text);
    border: 2px solid var(--page-register-login-login-entry-accent-color);
}

.page-register-login-login-entry__btn--primary:hover {
    background-color: #a72836;
    transform: translateY(-3px);
}

.page-register-login-login-entry__btn--secondary {
    background-color: var(--page-register-login-login-entry-secondary-color);
    color: var(--page-register-login-login-entry-primary-color);
    border: 2px solid var(--page-register-login-login-entry-secondary-color);
}

.page-register-login-login-entry__btn--secondary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-register-login-login-entry__btn--large {
    padding: 20px 40px;
    font-size: 1.3em;
}

.page-register-login-login-entry__btn--center {
    display: block;
    margin: 40px auto 0 auto;
    width: fit-content;
}

.page-register-login-login-entry__section {
    padding: 60px 0;
}

.page-register-login-login-entry__section--light {
    background-color: var(--page-register-login-login-entry-light-bg);
}

.page-register-login-login-entry__section-title {
    font-size: 2.5em;
    color: var(--page-register-login-login-entry-primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.page-register-login-login-entry__section-title--white {
    color: var(--page-register-login-login-entry-light-text);
}

.page-register-login-login-entry__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #555;
}

.page-register-login-login-entry__section-description--white {
    color: rgba(255, 255, 255, 0.9);
}

.page-register-login-login-entry__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.page-register-login-login-entry__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-register-login-login-entry__text-content {
    flex: 1;
}

.page-register-login-login-entry__text-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-register-login-login-entry__image-container {
    flex: 1;
    text-align: center;
}

.page-register-login-login-entry__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-register-login-login-entry__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register-login-login-entry__step {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register-login-login-entry__step:hover {
    transform: translateY(-10px);
}

.page-register-login-login-entry__step-icon {
    background-color: var(--page-register-login-login-entry-primary-color);
    color: var(--page-register-login-login-entry-secondary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-register-login-login-entry__step-title {
    font-size: 1.8em;
    color: var(--page-register-login-login-entry-primary-color);
    margin-bottom: 15px;
}

.page-register-login-login-entry__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-register-login-login-entry__list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-register-login-login-entry__list li {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-register-login-login-entry__list-title {
    color: var(--page-register-login-login-entry-primary-color);
    font-size: 1.6em;
    margin-bottom: 10px;
}

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

.page-register-login-login-entry__offer-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-register-login-login-entry__offer-card:hover {
    transform: translateY(-10px);
}

.page-register-login-login-entry__offer-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.page-register-login-login-entry__offer-title {
    font-size: 1.5em;
    color: var(--page-register-login-login-entry-primary-color);
    margin-bottom: 10px;
}

.page-register-login-login-entry__game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: center;
}

.page-register-login-login-entry__game-list li {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-register-login-login-entry__game-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
}

.page-register-login-login-entry__game-list p {
    font-weight: bold;
    color: var(--page-register-login-login-entry-primary-color);
}

.page-register-login-login-entry__faq {
    margin-top: 40px;
}

.page-register-login-login-entry__faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-register-login-login-entry__faq-question {
    font-size: 1.4em;
    color: var(--page-register-login-login-entry-primary-color);
    padding: 20px 25px;
    cursor: pointer;
    position: relative;
    margin: 0;
    background-color: #f0f4f8; /* slightly lighter for contrast */
    border-bottom: 1px solid #e0e0e0;
}

.page-register-login-login-entry__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.page-register-login-login-entry__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-register-login-login-entry__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.05em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-register-login-login-entry__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding: 0 25px 20px 25px;
}

.page-register-login-login-entry__section--cta {
    background: linear-gradient(90deg, var(--page-register-login-login-entry-primary-color), #1c3c62);
    color: var(--page-register-login-login-entry-light-text);
    padding: 80px 0;
    text-align: center;
}

@media (max-width: 992px) {
    .page-register-login-login-entry__content-wrapper {
        flex-direction: column;
    }
    .page-register-login-login-entry__content-wrapper--reverse {
        flex-direction: column;
    }
    .page-register-login-login-entry__image-container {
        order: -1; /* Move image above text on smaller screens for reverse layout */
        margin-bottom: 30px;
    }
    .page-register-login-login-entry__title {
        font-size: 2.5em;
    }
    .page-register-login-login-entry__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-register-login-login-entry__hero {
        padding: 80px 0;
    }
    .page-register-login-login-entry__title {
        font-size: 2em;
    }
    .page-register-login-login-entry__subtitle {
        font-size: 1.1em;
    }
    .page-register-login-login-entry__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register-login-login-entry__section {
        padding: 40px 0;
    }
    .page-register-login-login-entry__section-title {
        font-size: 1.8em;
    }
    .page-register-login-login-entry__step-title {
        font-size: 1.5em;
    }
    .page-register-login-login-entry__faq-question {
        font-size: 1.2em;
    }
    .page-register-login-login-entry__game-list {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

@media (max-width: 480px) {
    .page-register-login-login-entry__title {
        font-size: 1.8em;
    }
    .page-register-login-login-entry__subtitle {
        font-size: 1em;
    }
    .page-register-login-login-entry__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-register-login-login-entry__step-by-step, .page-register-login-login-entry__offer-grid, .page-register-login-login-entry__game-list {
        grid-template-columns: 1fr;
    }
}