/* style/register-login.css */

/* Biến CSS cho màu sắc và font */
:root {
    --page-register-login-primary-color: #1A202C;
    --page-register-login-secondary-color: #FFD700;
    --page-register-login-text-light: #F7FAFC;
    --page-register-login-text-dark: #2D3748;
    --page-register-login-accent-dark: #b39700; /* Darker variant of secondary for text on secondary background */
    --page-register-login-background-dark: #1A202C;
    --page-register-login-background-light: #EDF2F7;
    --page-register-login-border-color: #4A5568;
    --page-register-login-font-family: 'Arial', sans-serif;
}

.page-register-login {
    font-family: var(--page-register-login-font-family);
    color: var(--page-register-login-text-light);
    background-color: var(--page-register-login-background-dark);
    line-height: 1.6;
}

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

.page-register-login__hero-section {
    background: linear-gradient(135deg, var(--page-register-login-primary-color) 0%, #2D3748 70%, var(--page-register-login-secondary-color) 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-register-login__hero-description {
    font-size: 1.2em;
    color: var(--page-register-login-text-light);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-register-login__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.page-register-login__btn--primary {
    background-color: var(--page-register-login-secondary-color);
    color: var(--page-register-login-primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-register-login__btn--primary:hover {
    background-color: #FFC107; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-register-login__btn--secondary {
    background-color: transparent;
    color: var(--page-register-login-secondary-color);
    border: 2px solid var(--page-register-login-secondary-color);
}

.page-register-login__btn--secondary:hover {
    background-color: var(--page-register-login-secondary-color);
    color: var(--page-register-login-primary-color);
    transform: translateY(-3px);
}

.page-register-login__section {
    padding: 60px 0;
    background-color: var(--page-register-login-background-dark);
    color: var(--page-register-login-text-light);
}

.page-register-login__section:nth-of-type(even) {
    background-color: #2D3748; /* Slightly lighter dark background for contrast */
}

.page-register-login__section-title {
    font-size: 2.5em;
    color: var(--page-register-login-secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-register-login__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-register-login-secondary-color);
    border-radius: 2px;
}

.page-register-login__text-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--page-register-login-text-light);
}

/* Features Grid */
.page-register-login__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-register-login__feature-item {
    background-color: var(--page-register-login-primary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register-login__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--page-register-login-secondary-color));
}

.page-register-login__feature-heading {
    font-size: 1.5em;
    color: var(--page-register-login-secondary-color);
    margin-bottom: 15px;
}

.page-register-login__feature-item p {
    color: var(--page-register-login-text-light);
    font-size: 0.95em;
}

/* Guide Steps */
.page-register-login__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-register-login__step-item {
    background-color: var(--page-register-login-primary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-register-login__step-number {
    font-size: 2.5em;
    color: var(--page-register-login-secondary-color);
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block;
    background-color: rgba(255, 215, 0, 0.1);
    padding: 5px 15px;
    border-radius: 5px;
}

.page-register-login__step-heading {
    font-size: 1.3em;
    color: var(--page-register-login-secondary-color);
    margin-bottom: 10px;
}

.page-register-login__step-item p {
    color: var(--page-register-login-text-light);
}

.page-register-login__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

.page-register-login__image-full-width {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Login Form */
.page-register-login__login-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.page-register-login__form {
    background-color: var(--page-register-login-primary-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    flex: 1 1 450px;
    max-width: 500px;
}

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

.page-register-login__form-label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--page-register-login-secondary-color);
    font-weight: bold;
}

.page-register-login__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid var(--page-register-login-border-color);
    border-radius: 5px;
    background-color: #2D3748; /* Slightly lighter dark for input */
    color: var(--page-register-login-text-light);
    font-size: 1em;
}

.page-register-login__form-input::placeholder {
    color: #A0AEC0; /* Lighter placeholder text */
}

.page-register-login__form-submit-btn {
    width: 100%;
    margin-top: 20px;
}

.page-register-login__forgot-password {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95em;
}

.page-register-login__forgot-password a {
    color: var(--page-register-login-secondary-color);
    text-decoration: none;
}

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

.page-register-login__login-info {
    flex: 1 1 400px;
    background-color: #2D3748; /* Matching the section background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.page-register-login__login-info p {
    font-size: 1em;
    color: var(--page-register-login-text-light);
    margin-bottom: 20px;
}

.page-register-login__image-small {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Download Section */
.page-register-login__download-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.page-register-login__download-item {
    background-color: var(--page-register-login-primary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    flex: 1 1 300px;
    max-width: 380px;
}

.page-register-login__download-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px var(--page-register-login-secondary-color));
}

.page-register-login__download-heading {
    font-size: 1.8em;
    color: var(--page-register-login-secondary-color);
    margin-bottom: 15px;
}

.page-register-login__download-item p {
    color: var(--page-register-login-text-light);
    margin-bottom: 25px;
}

.page-register-login__image-full-width--download {
    margin-top: 60px;
    max-height: 500px;
}

/* Games Section */
.page-register-login__game-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 50px;
}

.page-register-login__game-item {
    background-color: var(--page-register-login-primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    flex: 1 1 450px;
    max-width: 550px;
    text-align: center;
}

.page-register-login__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register-login__game-heading {
    font-size: 1.8em;
    color: var(--page-register-login-secondary-color);
    margin-bottom: 15px;
}

.page-register-login__game-item p {
    color: var(--page-register-login-text-light);
    margin-bottom: 25px;
}

/* Bonus Section */
.page-register-login__container--flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-register-login__bonus-content {
    flex: 1 1 500px;
}

.page-register-login__bonus-content .page-register-login__section-title {
    text-align: left;
    margin-left: 0;
}

.page-register-login__bonus-content .page-register-login__section-title::after {
    left: 0;
    transform: translateX(0);
}

.page-register-login__bonus-content .page-register-login__text-intro {
    text-align: left;
    margin-left: 0;
}

.page-register-login__bonus-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-register-login__bonus-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--page-register-login-text-light);
    font-size: 1.05em;
}

.page-register-login__list-icon {
    width: 25px;
    height: 25px;
    margin-right: 10px;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}

.page-register-login__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-register-login__bonus-image-wrapper {
    flex: 1 1 400px;
    text-align: center;
}

.page-register-login__bonus-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-register-login__faq-item {
    background-color: var(--page-register-login-primary-color);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register-login__faq-question {
    font-size: 1.3em;
    color: var(--page-register-login-secondary-color);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-register-login__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: var(--page-register-login-secondary-color);
    transition: transform 0.3s ease;
}

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

.page-register-login__faq-answer {
    color: var(--page-register-login-text-light);
    font-size: 1em;
    padding-top: 10px;
    border-top: 1px solid var(--page-register-login-border-color);
    margin-top: 15px;
    display: none;
}

.page-register-login__faq-answer a {
    color: var(--page-register-login-secondary-color);
    text-decoration: none;
}

.page-register-login__faq-answer a:hover {
    text-decoration: underline;
}

/* Detail Pages List */
.page-register-login__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-register-login__detail-item {
    background-color: var(--page-register-login-primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.page-register-login__detail-title {
    font-size: 1.4em;
    color: var(--page-register-login-secondary-color);
    margin-bottom: 15px;
}

.page-register-login__detail-title a {
    color: var(--page-register-login-secondary-color);
    text-decoration: none;
}

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

.page-register-login__detail-description {
    color: var(--page-register-login-text-light);
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-register-login__btn--link {
    background-color: transparent;
    border: 1px solid var(--page-register-login-secondary-color);
    color: var(--page-register-login-secondary-color);
    padding: 10px 20px;
    font-size: 0.95em;
    align-self: flex-start;
    margin-top: auto; /* Push to bottom */
}

.page-register-login__btn--link:hover {
    background-color: var(--page-register-login-secondary-color);
    color: var(--page-register-login-primary-color);
}

/* Call to Action Section */
.page-register-login__section--call-to-action {
    background-color: var(--page-register-login-primary-color);
    text-align: center;
    padding: 80px 20px;
}

.page-register-login__section--call-to-action .page-register-login__section-title {
    margin-bottom: 30px;
}

.page-register-login__section--call-to-action .page-register-login__text-intro {
    margin-bottom: 40px;
}

.page-register-login__section--call-to-action .page-register-login__hero-actions {
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register-login__hero-title {
        font-size: 2.8em;
    }
    .page-register-login__section-title {
        font-size: 2em;
    }
    .page-register-login__container--flex {
        flex-direction: column;
    }
    .page-register-login__bonus-content .page-register-login__section-title,
    .page-register-login__bonus-content .page-register-login__text-intro {
        text-align: center;
    }
    .page-register-login__bonus-content .page-register-login__section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .page-register-login__login-form-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .page-register-login__form, .page-register-login__login-info {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-register-login__hero-title {
        font-size: 2.2em;
    }
    .page-register-login__hero-description {
        font-size: 1em;
    }
    .page-register-login__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register-login__section-title {
        font-size: 1.8em;
    }
    .page-register-login__features-grid,
    .page-register-login__steps-grid,
    .page-register-login__download-options,
    .page-register-login__game-highlights,
    .page-register-login__detail-list {
        grid-template-columns: 1fr;
    }
    .page-register-login__feature-item, .page-register-login__step-item, .page-register-login__download-item, .page-register-login__game-item, .page-register-login__detail-item {
        max-width: 100%;
    }
    .page-register-login__section--call-to-action .page-register-login__hero-actions {
        flex-direction: column;
    }
    .page-register-login__btn--large {
        width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .page-register-login__hero-title {
        font-size: 1.8em;
    }
    .page-register-login__hero-section {
        padding: 60px 15px;
    }
    .page-register-login__section {
        padding: 40px 0;
    }
    .page-register-login__btn {
        width: 100%;
        margin-bottom: 15px;
    }
    .page-register-login__hero-actions {
        flex-direction: column;
    }
    .page-register-login__section-title {
        font-size: 1.5em;
    }
    .page-register-login__text-intro {
        font-size: 0.95em;
    }
    .page-register-login__form,
    .page-register-login__login-info,
    .page-register-login__download-item,
    .page-register-login__game-item,
    .page-register-login__detail-item {
        padding: 20px;
    }
    .page-register-login__faq-question {
        font-size: 1.1em;
    }
    .page-register-login__detail-title {
        font-size: 1.2em;
    }
}