/* ===================================
   VISUAL UPGRADES (Animations & Slider)
   =================================== */

/* 1. SCROLL REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for children if needed */
.reveal-delay-100 {
    transition-delay: 0.1s;
}

.reveal-delay-200 {
    transition-delay: 0.2s;
}

.reveal-delay-300 {
    transition-delay: 0.3s;
}

/* 2. CUSTOM RANGE SLIDER */
.range-container {
    position: relative;
    padding: 10px 0 30px;
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

/* Slider Track */
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
}

/* Slider Thumb */
input[type=range]::-webkit-slider-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--primary-gold);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    margin-top: -9px;
    /* center on track */
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    border: 2px solid #fff;
    transition: transform 0.2s;
}

input[type=range]::-webkit-slider-thumb:active {
    transform: scale(1.2);
}

/* Range Labels */
.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 600;
}

/* 3. SPLASH SCREEN (GOD LEVEL ENTRANCE) */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    z-index: 2;
}

.splash-logo-container {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-logo-aura {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-gold);
    border-radius: 50%;
    filter: blur(25px);
    opacity: 0.3;
    animation: auraPulse 3s infinite ease-in-out;
}

.splash-logo-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 800;
    color: #000;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.splash-loader-wrapper {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.splash-status-text {
    font-size: 10px;
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    height: 14px;
    /* Fixed height to prevent layout jump */
    transition: opacity 0.3s ease;
}

.splash-loader-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.splash-loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #D4AF37, #FFD700, #D4AF37);
    background-size: 200% 100%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: width 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
    animation: shimmerGold 2s infinite linear;
}

@keyframes auraPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.5;
    }
}

@keyframes shimmerGold {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes pulseGold {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}


/* 4. FOMO TICKER */
.fomo-notification {
    position: fixed;
    top: 80px;
    /* Below header */
    left: 20px;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--success-green);
    padding: 10px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9000;
    transform: translateX(-150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    max-width: 80%;
}

.fomo-notification.show {
    transform: translateX(0);
}

.fomo-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
}

.fomo-text {
    font-size: 11px;
    color: #fff;
    line-height: 1.2;
}

.fomo-text strong {
    color: var(--success-green);
}

.fomo-time {
    font-size: 9px;
    color: var(--text-secondary);
}

/* 5. CENTER MODAL (LOGIN) */
.modal-overlay.modal-center {
    align-items: center;
    padding: 20px;
}

.modal-overlay.modal-center .bottom-sheet {
    border-radius: 24px;
    /* All corners rounded */
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 400px;
    margin: 0 auto;
}

.modal-overlay.active.modal-center .bottom-sheet {
    transform: scale(1);
    opacity: 1;
}

.modal-overlay.modal-center .sheet-handle {
    display: none;
    /* No handle for center modal */
}