/* style/register-login.css */

/* Biến CSS cho màu sắc */
:root {
    --page-register-login-primary-color: #0A192F;
    --page-register-login-accent-color: #FFD700;
    --page-register-login-text-light: #F0F0F0;
    --page-register-login-text-dark: #333333;
    --page-register-login-background-light: #FFFFFF;
    --page-register-login-background-dark: #1A2E44; /* Slightly lighter than primary for contrast */
    --page-register-login-border-color: #444444;
}

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

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

.page-register-login__hero-section {
    background: linear-gradient(135deg, var(--page-register-login-primary-color), #2C3E50); /* Gradient for depth */
    padding: 100px 0;
    color: var(--page-register-login-text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-register-login__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract,geometric,pattern,dark_blue]');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.page-register-login__hero-content {
    position: relative;
    z-index: 1;
}

.page-register-login__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-register-login-accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

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

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

.page-register-login__btn--primary:hover {
    background-color: #E6C200; /* Slightly darker gold */
    transform: translateY(-3px);
}

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

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

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

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

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

.page-register-login__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--page-register-login-primary-color);
}

.page-register-login__section--dark .page-register-login__section-title {
    color: var(--page-register-login-accent-color);
}

.page-register-login__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #666;
}

.page-register-login__section--dark .page-register-login__section-description {
    color: #B0B0B0;
}

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

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

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

.page-register-login__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2)); /* Adding subtle shadow for icons */
}

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

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

/* Register Guide Section */
.page-register-login__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.page-register-login__step-item {
    background-color: var(--page-register-login-background-dark);
    color: var(--page-register-login-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.page-register-login__step-number {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 4em;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.page-register-login__step-title {
    font-size: 1.8em;
    color: var(--page-register-login-accent-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-register-login__step-text {
    font-size: 1em;
    color: #E0E0E0;
    position: relative;
    z-index: 1;
}

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

.page-register-login__tip-text {
    margin-top: 30px;
    font-style: italic;
    color: #777;
}

/* Login Guide Section */
.page-register-login__login-form-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: flex-start;
    margin-top: 40px;
    text-align: left;
}

@media (min-width: 768px) {
    .page-register-login__login-form-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.page-register-login__form {
    background-color: var(--page-register-login-background-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    color: var(--page-register-login-text-dark);
}

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

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

.page-register-login__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid var(--page-register-login-border-color);
    border-radius: 5px;
    font-size: 1em;
    background-color: #F8F8F8;
    color: var(--page-register-login-primary-color);
}

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

.page-register-login__form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.page-register-login__forgot-password {
    color: var(--page-register-login-primary-color);
    text-decoration: none;
    font-size: 0.95em;
}

.page-register-login__forgot-password:hover {
    text-decoration: underline;
    color: var(--page-register-login-accent-color);
}

.page-register-login__login-info {
    background-color: var(--page-register-login-primary-color);
    color: var(--page-register-login-text-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-register-login__login-info-title {
    font-size: 1.6em;
    color: var(--page-register-login-accent-color);
    margin-bottom: 15px;
}

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

.page-register-login__info-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-register-login__info-list li::before {
    content: '✓';
    color: var(--page-register-login-accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-register-login__info-text {
    font-size: 1em;
    color: #E0E0E0;
    margin-bottom: 15px;
}

.page-register-login__cta-center--bottom {
    margin-top: 40px;
}

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

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

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

.page-register-login__benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.page-register-login__benefit-title {
    font-size: 1.5em;
    color: var(--page-register-login-accent-color);
    margin-bottom: 15px;
}

.page-register-login__benefit-text {
    font-size: 1em;
    color: #E0E0E0;
}

/* Responsible Gambling Section */
.page-register-login__responsible-gambling {
    text-align: left;
}

.page-register-login__content-text {
    font-size: 1.1em;
    max-width: 900px;
    margin: 20px auto;
    color: #555;
}

.page-register-login__section--light .page-register-login__content-text {
    color: #555;
}

.page-register-login__bullet-list {
    list-style: none;
    padding-left: 0;
    max-width: 900px;
    margin: 30px auto;
}

.page-register-login__bullet-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--page-register-login-text-dark);
}

.page-register-login__bullet-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--page-register-login-accent-color);
    font-size: 1.2em;
    line-height: 1;
}

/* App Download Section */
.page-register-login__app-download {
    background: linear-gradient(90deg, var(--page-register-login-primary-color), var(--page-register-login-background-dark));
    color: var(--page-register-login-text-light);
    text-align: left;
    padding: 80px 0;
}

.page-register-login__app-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

@media (min-width: 992px) {
    .page-register-login__app-content {
        flex-direction: row;
        text-align: left;
    }
    .page-register-login__app-text-content,
    .page-register-login__app-image-wrapper {
        flex: 1;
    }
}

.page-register-login__app-text-content .page-register-login__section-title {
    color: var(--page-register-login-accent-color);
    text-align: left;
}

.page-register-login__app-text-content .page-register-login__section-description {
    color: #E0E0E0;
    text-align: left;
}

.page-register-login__app-benefits-list {
    list-style: none;
    padding-left: 0;
    margin: 30px 0;
}

.page-register-login__app-benefits-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #E0E0E0;
}

.page-register-login__app-benefits-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--page-register-login-accent-color);
    font-size: 1.2em;
    line-height: 1;
}

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

.page-register-login__app-image-wrapper {
    text-align: center;
}

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

/* FAQ Section */
.page-register-login__faq {
    text-align: left;
}

.page-register-login__faq-list {
    margin-top: 40px;
}

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

.page-register-login__faq-question {
    font-size: 1.4em;
    color: var(--page-register-login-accent-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;
    transition: transform 0.3s ease;
}

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

.page-register-login__faq-answer {
    font-size: 1em;
    color: #E0E0E0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    padding-top: 0;
}

.page-register-login__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    opacity: 1;
    padding-top: 15px;
}

/* Conclusion Section */
.page-register-login__conclusion {
    background-color: var(--page-register-login-accent-color);
    color: var(--page-register-login-primary-color);
    padding: 80px 0;
}

.page-register-login__conclusion-content {
    text-align: center;
}

.page-register-login__conclusion .page-register-login__section-title {
    color: var(--page-register-login-primary-color);
}

.page-register-login__conclusion .page-register-login__section-description {
    color: var(--page-register-login-primary-color);
    margin-bottom: 40px;
}

.page-register-login__conclusion .page-register-login__btn--primary {
    background-color: var(--page-register-login-primary-color);
    color: var(--page-register-login-accent-color);
}

.page-register-login__conclusion .page-register-login__btn--primary:hover {
    background-color: #1A2E44; /* Slightly lighter primary */
    color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-register-login__main-title {
        font-size: 2.5em;
    }
    .page-register-login__section-title {
        font-size: 2em;
    }
    .page-register-login__cta-group {
        flex-direction: column;
    }
    .page-register-login__btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-register-login__login-form-wrapper {
        grid-template-columns: 1fr;
    }
    .page-register-login__form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .page-register-login__forgot-password {
        text-align: center;
    }
    .page-register-login__app-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-register-login__main-title {
        font-size: 2em;
    }
    .page-register-login__section-title {
        font-size: 1.8em;
    }
    .page-register-login__hero-section,
    .page-register-login__section {
        padding: 50px 0;
    }
    .page-register-login__feature-item,
    .page-register-login__step-item,
    .page-register-login__benefit-item {
        padding: 20px;
    }
    .page-register-login__form {
        padding: 25px;
    }
}