/* Glassmorphism System */

.glass-card {
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.04),
        rgba(255, 255, 255, 0.01)
    );
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 24px 48px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Inner Glow Effects */
.glass-card:hover .card-icon {
    filter: drop-shadow(0 0 12px rgba(var(--card-accent-rgb, var(--cyan-neon-rgb)), 0.35));
}

/* Depth System */
.glass-card {
    transform-style: preserve-3d;
}

/* Shimmer Effect - top line */
.glass-card {
    position: relative;
    overflow: hidden;
}

/* Glass Navigation */
.glass-nav {
    background: linear-gradient(
        180deg,
        rgba(var(--void-black-rgb), 0.7) 0%,
        rgba(var(--void-black-rgb), 0.5) 100%
    );
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    border: none;
    border-bottom: 1px solid rgba(var(--cyan-neon-rgb), 0.06);
    border-radius: 0;
    box-shadow: 
        0 4px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        inset 0 -1px 0 rgba(255, 255, 255, 0.02),
        0 0 80px rgba(var(--cyan-neon-rgb), 0.015);
}

.glass-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 5%, 
        rgba(var(--cyan-neon-rgb), 0.12) 30%,
        rgba(var(--purple-neon-rgb), 0.08) 70%,
        transparent 95%);
    pointer-events: none;
}

/* Gradient Borders */
.border-gradient {
    position: relative;
    border: double 1px transparent;
    background-image: 
        linear-gradient(var(--void-black), var(--void-black)),
        linear-gradient(135deg, var(--cyan-neon), var(--purple-neon));
    background-origin: border-box;
    background-clip: content-box, border-box;
}

/* Glass Button System */
.glass-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.glass-btn:hover::before {
    left: 100%;
}

.glass-btn:hover {
    border-color: rgba(var(--cyan-neon-rgb), 0.5);
    transform: translateY(-2px);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(var(--cyan-neon-rgb), 0.1);
}

/* ── Glass Mobile Adjustments ── */
@media (max-width: 768px) {
    .glass-card {
        backdrop-filter: blur(16px) saturate(1.1);
        -webkit-backdrop-filter: blur(16px) saturate(1.1);
    }

    .glass-card:hover {
        transform: none;
        box-shadow:
            0 8px 24px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .glass-nav {
        backdrop-filter: blur(20px) saturate(1.3);
        -webkit-backdrop-filter: blur(20px) saturate(1.3);
    }
}