/* Futuristic Cyberpunk / Sleek Sci-Fi Theme */

:root {
    --neon-cyan: #06b6d4;
    --neon-cyan-glow: rgba(6, 182, 212, 0.4);
    --neon-emerald: #10b981;
    --neon-purple: #8b5cf6;
    --card-bg: rgba(15, 23, 42, 0.75);
}

body {
    background-color: #070a12;
    background-image: 
        radial-gradient(at 0% 0%, rgba(6, 182, 212, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.10) 0px, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    color: #e2e8f0;
    min-height: 100vh;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

.glass-panel-glow {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.15), inset 0 0 15px rgba(6, 182, 212, 0.05);
}

/* Glowing Neon Elements */
.glow-cyan {
    box-shadow: 0 0 15px var(--neon-cyan-glow);
}

.text-glow-cyan {
    text-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
}

.text-glow-emerald {
    text-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.text-glow-rose {
    text-shadow: 0 0 12px rgba(244, 63, 94, 0.6);
}

/* Futuristic Countdown Box */
.countdown-box {
    background: rgba(10, 15, 29, 0.9);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    min-width: 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.countdown-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #06b6d4, transparent);
}

/* Sleek File Item Hover */
.file-card {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.file-card:hover {
    transform: translateY(-2px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(6, 182, 212, 0.15);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #090d16;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #06b6d4;
}

/* Pulse animation */
@keyframes cyber-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.02); }
}

.cyber-pulse {
    animation: cyber-pulse 2.5s infinite ease-in-out;
}

/* Monospace Tabular Figures - Prevents nervous jitter/twitching in counters & timers on iOS / Mobile */
.tabular-nums,
.font-tabular,
[id*="Timer"],
[id*="Percent"],
[id*="Count"] {
    font-variant-numeric: tabular-nums lining-nums !important;
    -webkit-font-feature-settings: "tnum" 1, "lnum" 1 !important;
    font-feature-settings: "tnum" 1, "lnum" 1 !important;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}

#zipProgressTimer {
    display: inline-block;
    min-width: 2.75rem;
    text-align: center;
    white-space: nowrap;
}

#zipProgressPercent {
    display: inline-block;
    min-width: 2.75rem;
    text-align: right;
    white-space: nowrap;
}

/* Smooth fluid progress bar transitions */
.smooth-progress {
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: width;
}
