/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0B1120;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #06B6D4;
}

/* Utilities */
.glass-panel {
    background: rgba(21, 30, 50, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-nav {
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.text-gradient {
    background: linear-gradient(to right, #22D3EE, #F97316);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Kinetic Momentum Button */
.btn-momentum {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

/* The "Charge" Layer - Now a Gradient */
.btn-momentum::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from Cyan (Cold) to Orange (Hot) */
    background: linear-gradient(90deg, #22D3EE, #F97316); 
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1); /* Exponential Ease Out */
    z-index: -1;
}

/* Hover Trigger */
.btn-momentum:hover::before {
    transform: scaleX(1);
}

/* The Glow Effect on Completion */
.btn-momentum:hover {
    /* Delay the shadow slightly so it 'ignites' when the bar fills */
    transition: box-shadow 0.2s ease-out 0.2s, transform 0.2s ease;
    box-shadow: 0 0 35px rgba(249, 115, 22, 0.6); /* Superheated Glow */
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Metric Card Animation */
@keyframes cycleMetrics {
    0%, 30% { opacity: 1; transform: translateY(0); }
    33%, 97% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.metric-cycle {
    animation: cycleMetrics 4s infinite; /* Cycle every 4 seconds */
}

/* Holographic Scan Effect for Profile Card */
.holo-card {
    position: relative;
    overflow: hidden;
}
.holo-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom,
        transparent 49%,
        rgba(6, 182, 212, 0.1) 50%,
        rgba(6, 182, 212, 0.1) 51%,
        transparent 52%
    );
    transform: rotate(45deg);
    animation: scan 3s linear infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.holo-card:hover::after {
    opacity: 1;
}
@keyframes scan {
    0% { transform: translateY(-100%) rotate(45deg); }
    100% { transform: translateY(100%) rotate(45deg); }
}

