/* FLUQXPAD - Animated Background Effects */
/* Based on FLUQXLABS bridges design */

/* ========================================
   ANIMATED HERO SECTION
   ======================================== */
.animated-hero {
    position: relative;
    min-height: auto;
    padding: 96px 20px 32px 20px;
    /* Reduced top padding to 96px for 32px gap from 64px menu */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, var(--crypto-darker), var(--crypto-dark), var(--crypto-darker));
    z-index: 0;
}

/* Dot Pattern */
.hero-dots {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PGNpcmNsZSBjeD0iMzAiIGN5PSIzMCIgcj0iMiIvPjwvZz48L2c+PC9zdmc+');
    opacity: 0.3;
    z-index: 1;
}

/* Floating Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.hero-blob-1 {
    top: 80px;
    left: 40px;
    width: 80px;
    height: 80px;
    background: rgba(139, 92, 246, 0.2);
}

.hero-blob-2 {
    top: 160px;
    right: 80px;
    width: 128px;
    height: 128px;
    background: rgba(6, 182, 212, 0.2);
    animation-delay: -2s;
}

.hero-blob-3 {
    bottom: 80px;
    left: 25%;
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.2);
    animation-delay: -4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    33% {
        transform: translateY(-20px) translateX(10px);
    }

    66% {
        transform: translateY(10px) translateX(-10px);
    }
}

/* Content on top of animated background */
.hero-content {
    position: relative;
    z-index: 10;
}

/* ========================================
   FIX FOR DASHBOARD OVERLAP
   ======================================== */
.dashboard-nav {
    position: relative;
    z-index: 5;
    margin-bottom: 2rem;
}

/* Make sure content doesn't overlap with fixed menu */
.content-section {
    position: relative;
    z-index: 1;
    padding-top: var(--content-top-with-menu, 96px);
}

/* ========================================
   GLASS CARD EFFECT
   ======================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

/* ========================================
   BUTTON STYLES
   ======================================== */
.btn-primary {
    background: linear-gradient(to right,
            #3B82F6 0%,
            #06B6D4 12%,
            #3B82F6 25%,
            #6366F1 40%,
            #8B5CF6 60%,
            #8B5CF6 75%);
    background-size: 200% 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    color: white;
    font-weight: 600;
}

.btn-primary:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
    .animated-hero {
        min-height: auto;
        padding: 96px 16px 32px 16px;
    }

    .hero-blob {
        filter: blur(30px);
    }

    .hero-blob-1 {
        width: 60px;
        height: 60px;
    }

    .hero-blob-2 {
        width: 96px;
        height: 96px;
    }

    .hero-blob-3 {
        width: 48px;
        height: 48px;
    }
}