/* 1. Animated Gradient Background */
.mesh-bg {
    background: linear-gradient(-45deg, #0a0f1c, #1e3a8a, #0a0f1c, #020617);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
    position: relative;
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 2. Noise Texture Layer (Premium Feel) */
.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
}

/* 3. Floating Animation */
.animate-float {
    animation: float 6s ease-in-out infinite;
}
.animate-float-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* 4. Glassmorphism Bento Box */
.bento-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

/* 5. Animated Spinning Glow Border for Premium Card */
.card-premium-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 3px;
}
.card-premium-wrapper::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(transparent, transparent, transparent, #f59e0b, #ec4899, #f59e0b);
    animation: rotate-border 4s linear infinite;
}
.card-premium-content {
    background: #0f172a;
    border-radius: calc(1.5rem - 3px);
    position: relative;
    z-index: 10;
    height: 100%;
}
@keyframes rotate-border {
    100% { transform: rotate(360deg); }
}

/* 6. Text Gradient Glow */
.text-glow-gold {
    text-shadow: 0 0 40px rgba(245, 158, 11, 0.5);
}