/* style/register-login.css */

/* Variables for consistent styling */
:root {
    --page-register-login-primary-color: #1A202C;
    --page-register-login-accent-color: #FFD700;
    --page-register-login-text-light: #F8F8F8;
    --page-register-login-text-dark: #1A202C;
    --page-register-login-background-dark: #1A202C;
    --page-register-login-background-light: #f4f4f4;
    --page-register-login-border-color: #333;
    --page-register-login-hover-dark: #0f1217;
    --page-register-login-hover-accent: #e6c200;
}

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

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

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

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

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

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

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

.page-register-login__section:nth-of-type(even) {
    background-color: #ebebeb;
}

.page-register-login__section-title {
    font-size: 2.5em;
    color: var(--page-register-login-primary-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-accent-color);
    border-radius: 2px;
}

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

.page-register-login__text--cta {
    font-weight: bold;
    font-size: 1.2em;
    color: var(--page-register-login-primary-color);
}

.page-register-login__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.2s ease, box-shadow 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-register-login__btn--primary {
    background-color: var(--page-register-login-accent-color);
    color: var(--page-register-login-primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register-login__btn--primary:hover {
    background-color: var(--page-register-login-hover-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.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: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-register-login__step {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 5px solid var(--page-register-login-accent-color);
}

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

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

.page-register-login__step-description {
    font-size: 1em;
    color: #555;
}

.page-register-login__app-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-register-login__btn--download {
    background-color: var(--page-register-login-primary-color);
    color: var(--page-register-login-text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    font-size: 1.1em;
}

.page-register-login__btn--download:hover {
    background-color: var(--page-register-login-hover-dark);
    transform: translateY(-2px);
}

.page-register-login__app-icon {
    width: 30px;
    height: 30px;
    filter: invert(1) brightness(1.2);
}

.page-register-login__text--note {
    font-size: 0.95em;
    color: #777;
    margin-top: 20px;
}

.page-register-login__benefits-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
    text-align: left;
}

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

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

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

.page-register-login__guide-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--page-register-login-primary-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-register-login__guide-title a:hover {
    color: var(--page-register-login-accent-color);
    text-decoration: underline;
}

.page-register-login__guide-description {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-register-login__btn--small {
    padding: 10px 20px;
    font-size: 0.95em;
    background-color: var(--page-register-login-primary-color);
    color: var(--page-register-login-text-light);
    border-radius: 5px;
    align-self: flex-start;
}

.page-register-login__btn--small:hover {
    background-color: var(--page-register-login-hover-dark);
    transform: translateY(-1px);
}

.page-register-login__section--cta-bottom {
    background-color: var(--page-register-login-primary-color);
    color: var(--page-register-login-text-light);
    text-align: center;
    padding: 80px 0;
}

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

.page-register-login__section--cta-bottom .page-register-login__section-title::after {
    background-color: var(--page-register-login-text-light);
}

.page-register-login__section--cta-bottom .page-register-login__text {
    color: var(--page-register-login-text-light);
    opacity: 0.9;
}

.page-register-login__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-register-login__image--center {
    margin-left: auto;
    margin-right: auto;
}

.onebet88-highlight {
    color: var(--page-register-login-accent-color);
    font-weight: bold;
}

/* Floating promotion banner */
.page-register-login__floating-promo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--page-register-login-accent-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    overflow: hidden;
    animation: page-register-login-fade-in-up 0.5s ease-out;
    display: none; /* Hidden by default, JS will show it */
}

.page-register-login__floating-promo-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--page-register-login-primary-color);
    font-weight: bold;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.page-register-login__floating-promo-link:hover {
    background-color: var(--page-register-login-hover-accent);
}

.page-register-login__floating-promo-img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
}

.page-register-login__floating-promo-text {
    font-size: 1em;
}

@keyframes page-register-login-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-register-login__hero-title {
        font-size: 2.5em;
    }
    .page-register-login__hero-subtitle {
        font-size: 1.2em;
    }
    .page-register-login__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-register-login__section-title {
        font-size: 2em;
    }
    .page-register-login__grid, .page-register-login__guides-grid {
        grid-template-columns: 1fr;
    }
    .page-register-login__btn--large {
        width: 100%;
    }
    .page-register-login__app-buttons {
        flex-direction: column;
    }
    .page-register-login__floating-promo {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
    }
    .page-register-login__floating-promo-text {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-register-login__hero-title {
        font-size: 2em;
    }
    .page-register-login__hero-subtitle {
        font-size: 1em;
    }
    .page-register-login__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-register-login__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }
    .page-register-login__floating-promo-link {
        padding: 8px 12px;
    }
    .page-register-login__floating-promo-img {
        width: 30px;
        height: 30px;
    }
}