@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700;900&family=Share+Tech+Mono&display=swap');

:root {
    --bg-color: #030508;
    --sky-deep: #02050f;
    --sky-mid: #0a1128;
    --panel-bg: rgba(7, 11, 20, 0.85);
    --panel-border: rgba(0, 240, 255, 0.3);
    
    --cyan-glow: #00f0ff;
    --blue-glow: #0066ff;
    --green-glow: #00ff66;
    --alert-red: #ff3366;
    --magenta-glow: #ff00ff;
    --yellow-glow: #e5ff00;
    --purple-glow: #9d00ff;
    
    --text-main: #e0fbfc;
    --text-muted: #6b7a90;
    --scan-line: rgba(0, 240, 255, 0.08);
    
    --strobe-red: #ff0033;
    --metal-highlight: #ffffff;
    --metal-base: #e8ecef;
    --metal-mid: #cfd6df;
    --metal-dark: #a1aab5;
    --metal-shadow: #7a8594;
    --cabin-light: rgba(255, 230, 180, 0.15);
    
    --fur-base: #11141a;
    --fur-mid: #222630;
    --fur-light: #3d4554;
    --whisker-blue: #0066ff;
    --accent: #e94560;
}

body {
    font-family: 'Rajdhani', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    overflow: hidden;
    margin: 0;
    padding: 0;
}

h1, h3, h4, .rajdhani {
    font-family: 'Rajdhani', sans-serif;
    text-shadow: 0 0 15px rgba(255,255,255,0.2);
}

h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem !important; 
    font-weight: 900 !important;
    text-transform: uppercase; 
    letter-spacing: 3px !important;
    color: transparent !important;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
    text-shadow: 0 5px 20px rgba(0, 240, 255, 0.6), 0 0 10px rgba(255,255,255,0.3) !important;
}

.mono, .hud-text {
    font-family: 'Share Tech Mono', monospace;
}

/* ================= BACKGROUNDS E ANIMAÇÕES ================= */
.sky-background {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, var(--sky-mid) 0%, var(--sky-deep) 70%);
    z-index: 1; overflow: hidden;
}

.stars-layer {
    position: absolute; top: 0; left: 0; width: 200%; height: 100%;
    background-image: 
        radial-gradient(circle at center, #fff 1px, transparent 1px),
        radial-gradient(circle at center, rgba(255,255,255,0.8) 2px, transparent 2px);
    background-size: 150px 150px, 350px 250px;
    background-position: 0 0, 40px 60px;
    animation: panSky 40s linear infinite;
    opacity: 0.6;
}

.constellations {
    position: absolute; top: 0; left: 0; width: 200%; height: 100%;
    animation: panSky 60s linear infinite;
    opacity: 0.4;
}

.clouds-fast {
    position: absolute; top: 30%; left: 0; width: 200%; height: 40%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 20%, rgba(255,255,255,0.08) 50%, transparent 100%);
    background-size: 50% 100%;
    filter: blur(20px);
    animation: sweepClouds 4s linear infinite;
    z-index: 2;
}

.clouds-slow {
    position: absolute; bottom: 0%; left: 0; width: 200%; height: 60%;
    background: linear-gradient(90deg, transparent 0%, rgba(150, 200, 255, 0.05) 50%, transparent 100%);
    filter: blur(40px);
    animation: sweepClouds 12s linear infinite reverse;
    z-index: 1;
}

@keyframes panSky { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sweepClouds { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================= COMPONENTES DA UI PRINCIPAL ================= */

.hospital-panel::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--cyan-glow), transparent);
}

.hud-glass {
    background: rgba(10, 15, 25, 0.75); 
    backdrop-filter: blur(10px); 
    border: 1px solid var(--cyan-glow);
    border-left: 4px solid var(--cyan-glow);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(0, 240, 255, 0.2);
    color: var(--cyan-glow);
    text-transform: uppercase;
}

 /* PAINEL HOLOGRÁFICO (HUD 3D) */
.hospital-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(0, 240, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* 3D Parallax Realidade Aumentada */
    transform-style: preserve-3d;
    transform: perspective(1500px) rotateY(calc(var(--mouse-x, 0) * 8deg)) rotateX(calc(var(--mouse-y, 0) * -8deg));
    transition: transform 0.1s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

/* Z-Depth for children to "pop out" */
.hospital-panel > canvas {
    transform: translateZ(30px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hospital-panel > div.absolute {
    transform: translateZ(50px);
}

.hospital-panel h3, .hospital-panel h2 {
    transform: translateZ(40px);
}

.hospital-panel:hover {
    box-shadow: 
        0 15px 45px 0 rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(0, 240, 255, 0.1);
}

/* Modificadores de Cores UI */
.border-cyan-neon { border-color: var(--cyan-glow); box-shadow: 0 0 10px var(--cyan-glow); }
.border-magenta-neon { border-color: var(--magenta-glow); box-shadow: 0 0 10px var(--magenta-glow); }
.border-yellow-neon { border-color: var(--yellow-glow); box-shadow: 0 0 10px var(--yellow-glow); }

.text-cyan-neon { color: var(--cyan-glow); text-shadow: 0 0 10px var(--cyan-glow); }
.text-magenta-neon { color: var(--magenta-glow); text-shadow: 0 0 10px var(--magenta-glow); }
.text-yellow-neon { color: var(--yellow-glow); text-shadow: 0 0 10px var(--yellow-glow); }

.bg-cyan-neon { background-color: var(--cyan-glow); box-shadow: 0 0 15px var(--cyan-glow); }
.bg-magenta-neon { background-color: var(--magenta-glow); box-shadow: 0 0 15px var(--magenta-glow); }
.bg-yellow-neon { background-color: var(--yellow-glow); box-shadow: 0 0 15px var(--yellow-glow); }

/* Scanlines Globais */
.scanlines::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(var(--scan-line) 1px, transparent 1px);
    background-size: 100% 4px;
    pointer-events: none; z-index: 30; opacity: 0.6;
}

/* Sliders Neon */
input[type=range] {
    -webkit-appearance: none;
    width: 100%; background: transparent; margin: 10px 0;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 18px; width: 18px; border-radius: 50%;
    background: var(--cyan-glow); cursor: pointer; margin-top: -7px;
    box-shadow: 0 0 15px var(--cyan-glow);
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%; height: 4px; cursor: pointer;
    background: rgba(0, 240, 255, 0.2); border-radius: 2px;
}

/* Scrollbar Customizada */
.custom-scrollbar::-webkit-scrollbar { width: 8px; }
.custom-scrollbar::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.3); border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(0, 240, 255, 0.4); border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: var(--cyan-glow); }

/* ================= ANIMAÇÕES DA RAPOSA ================= */
.anim-breathe { will-change: transform;  animation: chestBreathe 3.5s ease-in-out infinite; transform-origin: 140px 350px; transform-box: view-box; }
.anim-head { will-change: transform;  animation: headBob 5s ease-in-out infinite; transform-origin: 140px 180px; transform-box: view-box; }
.anim-ear-l { will-change: transform;  animation: earTwitchLeft 6s infinite; transform-origin: 160px 90px; transform-box: view-box; }
.anim-ear-r { will-change: transform;  animation: earTwitchRight 8s infinite; transform-origin: 130px 85px; transform-box: view-box; }
.anim-jaw { will-change: transform;  animation: panting 2s ease-in-out infinite; transform-origin: 160px 150px; transform-box: view-box; }
.anim-sniff { will-change: transform;  animation: sniffing 3s ease-in-out infinite; transform-box: view-box; }
.anim-eye-saccade { will-change: transform;  animation: saccadicLook 7s infinite; transform-box: view-box; }
.anim-blink { will-change: transform;  animation: blinkAction 6s infinite; transform-origin: 175px 115px; transform-box: view-box; }

@keyframes chestBreathe { 0%, 100% { transform: scale(1) translateY(0); } 50% { transform: scale(1.01) translateY(-3px); } }
@keyframes headBob { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(1.5deg); } }
@keyframes earTwitchLeft { 0%, 90%, 100% { transform: rotate(0deg); } 93%, 97% { transform: rotate(-8deg); } 95% { transform: rotate(4deg); } }
@keyframes earTwitchRight { 0%, 80%, 100% { transform: rotate(0deg); } 83%, 87% { transform: rotate(10deg); } 85% { transform: rotate(-4deg); } }
@keyframes panting { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(3deg); } }
@keyframes sniffing { 0%, 100% { transform: translate(0,0); } 30%, 40% { transform: translate(2px, -1px); } 35% { transform: translate(0,0); } }
@keyframes saccadicLook {
    0%, 20% { transform: translate(0, 0); }
    22%, 50% { transform: translate(2px, -2px); }
    52%, 80% { transform: translate(3px, 1px); }
    82%, 100% { transform: translate(0, 0); }
}
@keyframes blinkAction { 0%, 94%, 100% { transform: scaleY(1); } 96%, 98% { transform: scaleY(0.05); } }

/* ================= CLASSES DA SPLASH SCREEN ================= */
.airplane-exterior {
    position: absolute;
    top: 10%; bottom: -10%; left: -5%; width: 150%;
    z-index: 10;
    transform: rotate(-2deg);
    display: flex; align-items: center; justify-content: flex-start;
    padding-left: 10%;
}

.fuselage {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: 
        linear-gradient(90deg, transparent 98%, rgba(0,0,0,0.1) 99%, rgba(255,255,255,0.5) 100%),
        radial-gradient(circle at 10px 10px, rgba(0,0,0,0.15) 1.5px, transparent 2px),
        linear-gradient(to bottom, 
            var(--metal-highlight) 0%, 
            var(--metal-base) 15%, 
            var(--metal-mid) 50%, 
            var(--metal-dark) 85%, 
            var(--metal-shadow) 100%);
    background-size: 400px 100%, 40px 150px, 100% 100%;
    border-top: 4px solid rgba(255,255,255,1);
    border-radius: 50% / 10%;
    box-shadow: inset 0 -50px 100px rgba(0,0,0,0.2), 0 30px 60px rgba(0,0,0,0.5);
}

.airplane-wing {
    position: absolute;
    bottom: 5%; left: 30%;
    width: 800px; height: 150px;
    background: linear-gradient(170deg, var(--metal-base) 0%, var(--metal-dark) 40%, var(--metal-shadow) 100%);
    border-top: 3px solid rgba(255,255,255,0.8);
    transform-origin: left center;
    transform: perspective(800px) rotateY(-40deg) rotateX(10deg) rotateZ(5deg);
    border-radius: 0 500px 10px 0;
    box-shadow: 0 40px 50px rgba(0,0,0,0.8);
    z-index: 20;
    overflow: hidden;
}

.wing-flap {
    position: absolute; bottom: 0; left: 10%; width: 80%; height: 30%;
    background: rgba(0,0,0,0.2); border-top: 1px solid rgba(0,0,0,0.5);
}

.strobe-light {
    position: absolute; top: 10%; right: 20px;
    width: 15px; height: 15px; background: var(--strobe-red);
    border-radius: 50%; box-shadow: 0 0 20px var(--strobe-red), 0 0 40px var(--strobe-red);
    animation: strobeFlash 1.5s infinite;
}

@keyframes strobeFlash {
    0%, 4% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 40px var(--strobe-red), 0 0 80px #fff; }
    5%, 9% { opacity: 0; transform: scale(1); }
    10%, 14% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 40px var(--strobe-red), 0 0 80px #fff; }
    15%, 100% { opacity: 0; }
}

.windows-container {
    position: relative; z-index: 15;
    display: flex; gap: 100px;
    transform: translateY(-50px);
}

.window-frame {
    width: 260px; height: 380px;
    background: #060910;
    border-radius: 90px;
    border: 12px solid #b0b8c2;
    box-shadow: 
        inset 0 0 0 4px #85909e,
        inset 0 20px 50px rgba(0,0,0,0.9),
        0 5px 15px rgba(0,0,0,0.2),
        -10px 0 20px rgba(255,255,255,0.8);
    position: relative; overflow: hidden;
    display: flex; justify-content: center; align-items: flex-end;
}

.side-window { 
    background: linear-gradient(145deg, #0a1128 0%, #02050f 100%);
}
.side-window::before {
    content: ''; position: absolute; top: 0; left: 0; width: 200%; height: 100%;
    background-image: radial-gradient(circle at center, #fff 1.5px, transparent 1.5px);
    background-size: 80px 80px; background-position: 0 0;
    animation: panSky 5s linear infinite;
    opacity: 0.7;
}
.side-window::after {
    content: ''; position: absolute;
    top: 20%; left: -100%; width: 50%; height: 40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    filter: blur(8px); transform: rotate(-35deg);
    animation: lightSweep 4s linear infinite;
}

.cabin-glow {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 120%, rgba(255, 220, 160, 0.2), transparent 70%);
    z-index: 1; pointer-events: none;
}

.glass-reflection {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.1) 100%);
    z-index: 30; pointer-events: none;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.1);
}
.glass-reflection::after {
    content: ''; position: absolute;
    top: 10%; left: -150%; width: 100%; height: 30%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    filter: blur(8px); transform: rotate(-35deg);
    animation: lightSweep 5s linear infinite;
}
@keyframes lightSweep { 0% { left: -150%; } 20%, 100% { left: 150%; } }

.fox-container {
    position: relative; z-index: 10;
    width: 140%; height: 120%;
    display: flex; justify-content: center; align-items: flex-end;
    transform: translateY(15px);
}
.fox-svg {
    width: 100%; height: 100%;
    filter: drop-shadow(0 20px 20px rgba(0,0,0,0.8));
}

.play-btn {
    background: rgba(233, 69, 96, 0.85);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    color: white; font-family: 'Rajdhani', sans-serif;
    font-size: 3.5rem; font-weight: 900;
    padding: 20px 80px;
    border: 3px solid rgba(255,255,255,0.8);
    border-radius: 20px;
    cursor: pointer; z-index: 50;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 0 20px rgba(255,255,255,0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase; letter-spacing: 5px;
}
.play-btn:hover {
    transform: scale(1.1) translateY(-10px);
    background: white; color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(255,255,255,0.9), 0 0 60px var(--accent);
}

/* ================= LAYOUT E UTILITÁRIOS ================= */
.floating-deck { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100; border-radius: 30px; display: flex; padding: 8px; gap: 8px; }
.floating-codex { position: relative; width: 100%; max-width: 400px; z-index: 40; border-radius: 20px; flex-shrink: 0; margin-left: auto; margin-right: auto; }
@media (min-width: 1280px) { .floating-codex { width: 380px; height: 100%; border-radius: 0; border-left: 1px solid rgba(255,255,255,0.1); margin: 0; } }
.viewport-full { position: relative; flex-grow: 1; min-height: 0; z-index: 10; padding-bottom: 100px; padding-top: 40px; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; align-items: center; }
.sec-content { width: 100%; max-width: 1200px; margin: 0 auto; padding: 20px; display: flex; flex-direction: column; align-items: center; }
.sec-content.hidden { display: none !important; }
.sim-canvas { width: 100%; height: 100%; display: block; }

/* ================= DAY MODE OVERRIDES ================= */
body.light-mode {
    --bg-color: #f0f4f8;
    --sky-deep: #7dd3fc;
    --sky-mid: #bae6fd;
    --panel-bg: rgba(255, 255, 255, 0.9);
    --panel-border: rgba(15, 23, 42, 0.15);
    --cyan-glow: #0284c7;
    --text-main: #0f172a;
    --text-muted: #334155;
    background-color: var(--bg-color);
    color: var(--text-main);
}

body.light-mode .text-slate-200,
body.light-mode .text-slate-300,
body.light-mode .text-slate-400,
body.light-mode .text-slate-500,
body.light-mode .text-white { 
    color: var(--text-main) !important; 
}

body.light-mode .text-cyan-100, body.light-mode .text-cyan-200, body.light-mode .text-cyan-300, body.light-mode .text-cyan-400, body.light-mode .text-cyan-500 { color: #0369a1 !important; }
body.light-mode .text-indigo-100, body.light-mode .text-indigo-200, body.light-mode .text-indigo-300, body.light-mode .text-indigo-400, body.light-mode .text-indigo-500 { color: #4338ca !important; }
body.light-mode .text-emerald-400, body.light-mode .text-emerald-500 { color: #047857 !important; }
body.light-mode .text-amber-400, body.light-mode .text-amber-500 { color: #b45309 !important; }
body.light-mode .text-purple-400, body.light-mode .text-purple-500 { color: #7e22ce !important; }
body.light-mode .text-rose-400, body.light-mode .text-rose-500 { color: #be123c !important; }
body.light-mode .text-fuchsia-400, body.light-mode .text-fuchsia-500 { color: #a21caf !important; }
body.light-mode .text-blue-400, body.light-mode .text-blue-500 { color: #1d4ed8 !important; }
body.light-mode .text-green-400, body.light-mode .text-green-500 { color: #15803d !important; }
body.light-mode .text-lime-400, body.light-mode .text-lime-500 { color: #4d7c0f !important; }
body.light-mode .text-teal-400, body.light-mode .text-teal-500 { color: #0f766e !important; }

body.light-mode .bg-slate-900,
body.light-mode .bg-slate-800,
body.light-mode .bg-slate-950,
body.light-mode .bg-black { 
    background-color: #f8fafc !important; 
    border-color: #cbd5e1 !important; 
}

body.light-mode input[type="range"] { filter: brightness(0.8) contrast(1.2); }

body.light-mode .sky-background {
    background: linear-gradient(to top, var(--sky-mid), var(--sky-deep));
}

body.light-mode .stars-layer,
body.light-mode .constellations {
    opacity: 0 !important;
}

body.light-mode .from-slate-800\/80,
body.light-mode .to-slate-900\/80,
body.light-mode .bg-emerald-900\/10,
body.light-mode .bg-slate-900\/80,
body.light-mode .bg-slate-900\/90,
body.light-mode .bg-slate-900\/50,
body.light-mode .bg-black\/60,
body.light-mode .bg-black\/50,
body.light-mode .bg-black\/40,
body.light-mode .bg-\[\#020617\],
body.light-mode .bg-\[\#02050f\] {
    background-image: none !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
}

/* Fix any remaining light mode contrast issues */
body.light-mode .shadow-inner, body.light-mode .shadow-lg {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* KEYFRAMES DA FASE 8 (CONVERGÊNCIA) */
@keyframes demosaicGuess {
    0%   { opacity: 0.3; filter: grayscale(100%); }
    50%  { opacity: 1; filter: grayscale(0%); box-shadow: inset 0 0 10px rgba(255,255,255,0.5); }
    100% { opacity: 0.3; filter: grayscale(100%); }
}

@keyframes photonRain {
    0%   { transform: translateY(-100%) scaleY(1); opacity: 0; }
    10%  { opacity: 1; }
    50%  { transform: translateY(150%) scaleY(2); opacity: 0.5; }
    100% { transform: translateY(300%) scaleY(0.5); opacity: 0; }
}

@keyframes blurSpread {
    0%   { transform: scale(0.5); opacity: 1; filter: blur(0px); }
    100% { transform: scale(3); opacity: 0; filter: blur(8px); }
}

@keyframes spinFast {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes scanlineRead {
    0%   { transform: translateY(-10px); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(150px); opacity: 0; }
}

@keyframes pulsePingPong {
    0%   { left: 0%; transform: translateX(0); width: 10px; }
    50%  { left: 100%; transform: translateX(-100%); width: 25px; background-color: #f43f5e; box-shadow: 0 0 15px #f43f5e; }
    100% { left: 0%; transform: translateX(0); width: 10px; }
}

@keyframes waveEmit {
    0%   { r: 0; opacity: 1; stroke-width: 4; }
    100% { r: 50; opacity: 0; stroke-width: 1; }
}

@keyframes bloodPump {
    0%   { transform: scale(1); opacity: 0.8; }
    20%  { transform: scale(1.4); opacity: 1; filter: brightness(1.5); }
    40%  { transform: scale(1.1); opacity: 0.9; }
    60%  { transform: scale(1.3); opacity: 1; filter: brightness(1.2); }
    100% { transform: scale(1); opacity: 0.8; }
}

/* ================= CUTE CLOUDS (Nuvens Fofas) ================= */
.day-clouds {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    display: none; /* hidden by default */
}

body.light-mode .day-clouds {
    display: block;
}

.cute-cloud {
    position: absolute;
    animation: dissolve-reform 15s infinite ease-in-out alternate, float-cloud linear infinite;
    opacity: 0.9;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.05));
}

.cute-cloud svg {
    width: 150px;
    height: auto;
}

/* Cara fofa na nuvem */
.cute-face {
    transform-origin: center;
}

.cute-eye {
    animation: blink-cute 4s infinite;
    transform-origin: center;
}

.cute-cheeks {
    fill: #ff8fa3;
    opacity: 0.6;
}

@keyframes blink-cute {
    0%, 96%, 98% { transform: scaleY(1); }
    97% { transform: scaleY(0.1); }
}

@keyframes dissolve-reform {
    0% { transform: scale(0.9); opacity: 0.6; filter: blur(2px); }
    50% { transform: scale(1.1); opacity: 1; filter: blur(0px); }
    100% { transform: scale(0.8); opacity: 0.4; filter: blur(4px); }
}

@keyframes float-cloud {
    0% { left: -200px; transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { left: 110vw; transform: translateY(10px); }
}

.cloud-1 { top: 10%; animation-duration: 40s; }
.cloud-2 { top: 25%; animation-duration: 55s; animation-delay: -10s; transform: scale(0.8); }
.cloud-3 { top: 5%; animation-duration: 65s; animation-delay: -25s; transform: scale(1.2); }
.cloud-4 { top: 40%; animation-duration: 45s; animation-delay: -30s; transform: scale(0.9); }
@import url("subatomic.css");

/* ================= CYBER UI CONTROLS ================= */
.cyber-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(6, 182, 212, 0.2);
    border-radius: 2px;
    outline: none;
    transition: background 0.3s;
}

.cyber-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #06b6d4;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.8), 0 0 20px rgba(6, 182, 212, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cyber-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(6, 182, 212, 1), 0 0 30px rgba(6, 182, 212, 0.6);
}

.cyber-slider.amber-glow {
    background: rgba(245, 158, 11, 0.2);
}

.cyber-slider.amber-glow::-webkit-slider-thumb {
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.8), 0 0 20px rgba(245, 158, 11, 0.4);
}

.cyber-slider.amber-glow::-webkit-slider-thumb:hover {
    box-shadow: 0 0 15px rgba(245, 158, 11, 1), 0 0 30px rgba(245, 158, 11, 0.6);
}

.trigger-btn {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(153, 27, 27, 0.4));
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2), inset 0 0 10px rgba(239, 68, 68, 0.1);
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    position: relative;
    overflow: hidden;
}

.trigger-btn:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(185, 28, 28, 0.6));
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.6), inset 0 0 20px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

.trigger-btn:active {
    transform: translateY(1px);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}
