/* style/login-entrance.css */

/* Biến màu sắc */
:root {
    --page-login-entrance-primary-color: #0A1931;
    --page-login-entrance-secondary-color: #FFD700;
    --page-login-entrance-text-light: #F8F9FA;
    --page-login-entrance-text-dark: #343A40;
    --page-login-entrance-background-dark: #0A1931;
    --page-login-entrance-background-light: #F0F2F5;
    --page-login-entrance-accent-gold-dark: #B39700; /* Darker variant for text on gold */
}

.page-login-entrance {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-login-entrance-text-dark); /* Default text color for light backgrounds */
}

.page-login-entrance__hero {
    background: linear-gradient(135deg, var(--page-login-entrance-primary-color) 0%, #1a2a47 100%);
    color: var(--page-login-entrance-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-login-entrance__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.page-login-entrance__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-login-entrance-text-light);
}

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

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

.page-login-entrance__btn--primary {
    background-color: var(--page-login-entrance-secondary-color);
    color: var(--page-login-entrance-primary-color);
    border: 2px solid var(--page-login-entrance-secondary-color);
}

.page-login-entrance__btn--primary:hover {
    background-color: var(--page-login-entrance-accent-gold-dark);
    border-color: var(--page-login-entrance-accent-gold-dark);
    transform: translateY(-3px);
}

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

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

.page-login-entrance__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-login-entrance__section {
    padding: 60px 0;
    background-color: var(--page-login-entrance-background-light);
    border-bottom: 1px solid #E0E0E0;
}

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

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

.page-login-entrance__text-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--page-login-entrance-text-dark);
}

.page-login-entrance__section--why-oxbet {
    background-color: var(--page-login-entrance-primary-color);
    color: var(--page-login-entrance-text-light);
}

.page-login-entrance__section--why-oxbet .page-login-entrance__section-title {
    color: var(--page-login-entrance-secondary-color);
}

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

.page-login-entrance__feature-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.page-login-entrance__feature-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

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

.page-login-entrance__feature-title {
    font-size: 1.5em;
    color: var(--page-login-entrance-secondary-color);
    margin-bottom: 15px;
}

.page-login-entrance__feature-description {
    font-size: 1em;
    color: var(--page-login-entrance-text-light);
}

.page-login-entrance__image-full-width {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-login-entrance__steps {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.page-login-entrance__step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    padding: 30px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.page-login-entrance__step-item::before {
    counter-increment: step-counter;
    content: "Bước " counter(step-counter);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--page-login-entrance-secondary-color);
    color: var(--page-login-entrance-primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-login-entrance__step-title {
    font-size: 1.8em;
    color: var(--page-login-entrance-primary-color);
    margin-bottom: 15px;
    text-align: center;
    margin-top: 20px;
}

.page-login-entrance__step-item p {
    font-size: 1.05em;
    color: var(--page-login-entrance-text-dark);
    text-align: center;
    margin-bottom: 20px;
}

.page-login-entrance__step-item p a {
    color: var(--page-login-entrance-primary-color);
    font-weight: bold;
    text-decoration: none;
}

.page-login-entrance__step-item p a:hover {
    text-decoration: underline;
}

.page-login-entrance__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.page-login-entrance__important-note {
    text-align: center;
    font-size: 1.1em;
    color: #DC3545;
    font-weight: bold;
    margin-top: 40px;
    padding: 20px;
    background-color: #FFF3CD;
    border-left: 5px solid #DC3545;
    border-radius: 5px;
}

.page-login-entrance__important-note a {
    color: #DC3545;
    text-decoration: underline;
}

.page-login-entrance__cta-block {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: var(--page-login-entrance-primary-color);
    border-radius: 10px;
    color: var(--page-login-entrance-text-light);
}

.page-login-entrance__cta-block p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: var(--page-login-entrance-secondary-color);
}

.page-login-entrance__section--troubleshoot .page-login-entrance__troubleshoot-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-login-entrance__section--troubleshoot .page-login-entrance__troubleshoot-list li {
    background-color: #FFFFFF;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    color: var(--page-login-entrance-text-dark);
}

.page-login-entrance__section--troubleshoot .page-login-entrance__troubleshoot-list li strong {
    color: var(--page-login-entrance-primary-color);
}

.page-login-entrance__section--app-download {
    background-color: var(--page-login-entrance-primary-color);
    color: var(--page-login-entrance-text-light);
}

.page-login-entrance__section--app-download .page-login-entrance__section-title {
    color: var(--page-login-entrance-secondary-color);
}

.page-login-entrance__app-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-login-entrance__app-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-login-entrance__app-text p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--page-login-entrance-text-light);
}

.page-login-entrance__app-benefits {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-login-entrance__app-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--page-login-entrance-text-light);
}

.page-login-entrance__small-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    filter: invert(1) drop-shadow(0 0 3px var(--page-login-entrance-secondary-color));
}

.page-login-entrance__app-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.page-login-entrance__app-mockup {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-login-entrance__section--promotions {
    background-color: var(--page-login-entrance-background-light);
}

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

.page-login-entrance__promo-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    transition: transform 0.3s ease;
}

.page-login-entrance__promo-item:hover {
    transform: translateY(-5px);
}

.page-login-entrance__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-login-entrance__promo-title {
    font-size: 1.4em;
    color: var(--page-login-entrance-primary-color);
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-login-entrance__promo-description {
    font-size: 1em;
    color: var(--page-login-entrance-text-dark);
    margin-bottom: 20px;
    padding: 0 20px;
}

.page-login-entrance__section--faq {
    background-color: #FFFFFF;
}

.page-login-entrance__faq-item {
    background-color: var(--page-login-entrance-background-light);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-login-entrance__faq-question {
    font-size: 1.25em;
    color: var(--page-login-entrance-primary-color);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-login-entrance__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: var(--page-login-entrance-secondary-color);
    transition: transform 0.3s ease;
}

.page-login-entrance__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-login-entrance__faq-answer {
    font-size: 1.05em;
    color: var(--page-login-entrance-text-dark);
    padding-top: 10px;
    border-top: 1px solid #E0E0E0;
    display: none;
}

.page-login-entrance__faq-answer a {
    color: var(--page-login-entrance-primary-color);
    font-weight: bold;
    text-decoration: none;
}

.page-login-entrance__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-login-entrance__title {
        font-size: 2.2em;
    }
    .page-login-entrance__subtitle {
        font-size: 1.1em;
    }
    .page-login-entrance__features {
        grid-template-columns: 1fr;
    }
    .page-login-entrance__app-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    .page-login-entrance__app-text {
        text-align: center;
    }
    .page-login-entrance__app-benefits {
        display: inline-block;
        text-align: left;
    }
    .page-login-entrance__promo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-login-entrance__hero {
        padding: 80px 0;
    }
    .page-login-entrance__title {
        font-size: 1.8em;
    }
    .page-login-entrance__subtitle {
        font-size: 1em;
    }
    .page-login-entrance__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-login-entrance__btn {
        width: 100%;
        max-width: 300px;
    }
    .page-login-entrance__section-title {
        font-size: 1.8em;
    }
    .page-login-entrance__step-title {
        font-size: 1.5em;
    }
    .page-login-entrance__faq-question {
        font-size: 1.1em;
    }
    .page-login-entrance__faq-answer {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-login-entrance__hero {
        padding: 60px 0;
    }
    .page-login-entrance__title {
        font-size: 1.5em;
    }
    .page-login-entrance__subtitle {
        font-size: 0.9em;
    }
    .page-login-entrance__section-title {
        font-size: 1.5em;
    }
    .page-login-entrance__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
}