/* ========== BASE STYLES ========== */
html {
    scroll-behavior: smooth;
}

/* Hide scrollbar for carousel */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ========== HERO BACKGROUND ========== */
.hero-bg {
    background:
        radial-gradient(ellipse 80% 50% at 50% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 70% 60%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 30% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
}

/* Animated floating particles */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(245, 158, 11, 0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(167, 139, 250, 0.2), transparent),
        radial-gradient(1px 1px at 60% 20%, rgba(245, 158, 11, 0.2), transparent),
        radial-gradient(1px 1px at 80% 50%, rgba(167, 139, 250, 0.3), transparent),
        radial-gradient(2px 2px at 10% 60%, rgba(245, 158, 11, 0.15), transparent),
        radial-gradient(1px 1px at 90% 80%, rgba(167, 139, 250, 0.2), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(245, 158, 11, 0.2), transparent),
        radial-gradient(2px 2px at 70% 40%, rgba(167, 139, 250, 0.15), transparent);
    animation: float-particles 20s linear infinite;
}

@keyframes float-particles {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* ========== NAVBAR ========== */
#navbar {
    background: transparent;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ========== FADE IN ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 {
    transition-delay: 0.2s;
}

.fade-in-delay-2 {
    transition-delay: 0.4s;
}

/* ========== FEATURE CARDS ========== */
.feature-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ========== GOLD SHIMMER TEXT ========== */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.shimmer-text {
    background: linear-gradient(
        90deg,
        #F59E0B 0%,
        #FCD34D 25%,
        #F59E0B 50%,
        #FCD34D 75%,
        #F59E0B 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 640px) {
    .hero-bg::before {
        animation: none;
    }
}

/* ========== SELECTION ========== */
::selection {
    background: rgba(124, 58, 237, 0.4);
    color: #E2E8F0;
}
