/* ULTRA GLOSS & ANIMATION PACK */
:root {
    --gloss-highlight: rgba(255, 255, 255, 0.1);
    --neon-cyan: #00f3ff;
    --neon-blue: #0066ff;
    --neon-purple: #bc13fe;
    --glass-surface: rgba(255, 255, 255, 0.03);
}

/* 1. Text Effects */
.text-gradient-animate {
    background: linear-gradient(
        to right,
        #64ffda 20%,
        #48bfe3 40%,
        #ffffff 60%,
        #64ffda 80%
    );
    background-size: 200% auto;
    color: transparent; /* Was #000 which hid it on dark bg if clip failed, but crucial for clip to work */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
    font-weight: 700; /* Beef up font weight for visibility */
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* 2. Glass Cards with Neon Borders */
.ultra-glass-card {
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ultra-glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.5s;
}

.ultra-glass-card:hover::before {
    left: 150%;
}

.ultra-glass-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2), inset 0 0 20px rgba(0, 243, 255, 0.05);
}

/* 3. Advanced Button Glow */
.btn-neon-pulse {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-neon-pulse::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.4) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s, transform 0.3s;
    z-index: -1;
}

.btn-neon-pulse:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* 4. Background Grid Animation */
.cyber-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 255, 218, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    z-index: -2;
    pointer-events: none;
}

/* 5. Floating Elements */
.float-slow { animation: float 6s ease-in-out infinite; }
.float-medium { animation: float 4s ease-in-out infinite; }
.float-fast { animation: float 3s ease-in-out infinite; }

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

/* 6. Scanning Line Effect */
.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    opacity: 0.5;
    animation: scan 3s linear infinite;
    z-index: 10;
    pointer-events: none;
}

@keyframes scan {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* 7. Duotone Split Text (The "Silence the Noise" Effect) */
.text-duotone-split {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
}

.text-duotone-split span:first-child {
    display: block;
    color: #ccd6f6; /* Platinum/White */
}

.text-duotone-split span:last-child {
    display: block;
    background: linear-gradient(to right, #00b4d8 20%, #0077b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 180, 216, 0.3));
}
