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

:root {
  --primary: #8A2BE2;      /* Neon Violet */
  --secondary: #FF3366;    /* Neon Pink */
  --accent: #00F0FF;       /* Neon Cyan */
  --warn: #FF9F00;         /* Neon Amber */
  --dark: #030307;
  --card-bg: rgba(12, 8, 20, 0.7);
  --card-border: rgba(138, 43, 226, 0.2);
  --text-main: #F0F0FF;
  --text-muted: #8E8A9F;
  --glow-primary: rgba(138, 43, 226, 0.4);
  --glow-secondary: rgba(255, 51, 102, 0.4);
  --glow-accent: rgba(0, 240, 255, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--dark);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
  background-image: 
    radial-gradient(at 0% 0%, rgba(138,43,226,0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(255,51,102,0.08) 0px, transparent 50%);
  background-attachment: fixed;
}

/* 3D Canvas Background & Overlays */
.canvas-wrapper {
  position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
}
#canvas3d {
  width: 100% !important; height: 100% !important; display: block;
}
.space-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 10%, rgba(3,3,7,0.7) 100%);
  pointer-events: none;
}

/* Cybernetic Grid Layer */
.cyber-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.12;
  background-image: 
    linear-gradient(to right, rgba(138,43,226,0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(138,43,226,0.3) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Ambient Floating Blobs */
.bg-blobs {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.25;
  animation: float 30s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}
.blob-1 { width: 65vw; height: 65vw; background: var(--primary); top: -20%; left: -10%; }
.blob-2 { width: 55vw; height: 55vw; background: var(--secondary); bottom: -10%; right: -10%; animation-delay: -8s; }

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, 6%) scale(1.05); }
  100% { transform: translate(-3%, -3%) scale(0.95); }
}

/* Navbar */
nav {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 10005;
  background: rgba(8, 5, 18, 0.65); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(0, 240, 255, 0.25); border-radius: 16px;
  padding: 10px 30px; display: flex; justify-content: space-between; align-items: center;
  width: 92%; max-width: 1250px;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 15px 50px -15px rgba(0,0,0,0.8), 
              inset 0 0 20px rgba(138, 43, 226, 0.15),
              0 0 30px rgba(0, 240, 255, 0.05);
}
nav.scrolled {
  top: 10px; width: 95%; background: rgba(4, 2, 10, 0.85);
  border-color: rgba(138, 43, 226, 0.4);
  box-shadow: 0 25px 60px -10px rgba(0,0,0,0.9), 0 0 25px rgba(138, 43, 226, 0.1);
}

/* HUD Decorations */
.nav-hud-left, .nav-hud-right {
  display: flex; align-items: center; gap: 4px;
  font-family: 'Share Tech Mono', monospace; font-size: 0.65rem;
  color: var(--accent); opacity: 0.8; transition: all 0.3s ease;
}
.nav-hud-right { margin-right: 15px; color: var(--secondary); }
.hud-bracket { font-weight: bold; color: rgba(255, 255, 255, 0.25); }
.hud-tag { letter-spacing: 1px; font-weight: 700; }

/* Active Capsule Pill Selector */
.nav-active-pill {
  position: absolute;
  background: rgba(138, 43, 226, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  border-radius: 8px;
  height: 36px;
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
  opacity: 0;
}

/* Brand Logo */
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900; font-size: 1.25rem; letter-spacing: -0.5px;
  text-decoration: none; cursor: pointer; color: #fff;
  display: flex; align-items: center; gap: 8px;
  text-shadow: 0 0 15px rgba(255,255,255,0.25);
}
.logo-ufo {
  display: inline-block;
  font-size: 1.35rem;
  animation: ufoHover 3s infinite ease-in-out alternate;
  filter: drop-shadow(0 0 6px var(--accent));
}
@keyframes ufoHover {
  0% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-3px) rotate(5deg); }
  100% { transform: translateY(1px) rotate(-2deg); }
}
.logo-cursor {
  color: var(--accent);
  animation: cursorBlink 1s infinite step-end;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* Nav Links */
.nav-links { display: flex; gap: 4px; list-style: none; position: relative; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-weight: 700; font-size: 0.9rem;
  padding: 8px 16px; border-radius: 8px;
  transition: all 0.3s ease; position: relative;
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a.active {
  color: var(--accent);
  text-shadow: 0 0 8px var(--glow-accent);
}

/* Cyber Hamburger Menu Button */
.cyber-hamburger {
  display: none;
  background: transparent; border: none; cursor: pointer;
  flex-direction: column; gap: 6px; width: 30px; height: 20px;
  justify-content: space-between; z-index: 10001; position: relative;
}
.cyber-hamburger .bar {
  width: 100%; height: 2px; background-color: var(--accent);
  border-radius: 2px; transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 0 8px var(--glow-accent);
}
.cyber-hamburger.active .bar-1 {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--secondary);
  box-shadow: 0 0 8px var(--glow-secondary);
}
.cyber-hamburger.active .bar-2 {
  opacity: 0;
  transform: translateX(-20px);
}
.cyber-hamburger.active .bar-3 {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--secondary);
  box-shadow: 0 0 8px var(--glow-secondary);
}

/* Panic Button in Nav */
.nav-panic-container { display: flex; align-items: center; }
.btn-panic {
  background: #09040e;
  border: 2px solid #ff124f; color: #ff124f;
  padding: 8px 20px; border-radius: 8px; font-weight: 900; font-size: 0.78rem;
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 0.8px; cursor: pointer; display: flex; align-items: center; gap: 8px;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 0 15px rgba(255, 18, 79, 0.25), inset 0 0 10px rgba(255, 18, 79, 0.2);
  position: relative; overflow: hidden;
  text-shadow: 0 0 4px rgba(255, 18, 79, 0.5);
}
.btn-panic::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%); transition: transform 0.6s ease;
}
.btn-panic:hover {
  background: repeating-linear-gradient(
    45deg,
    #ff124f,
    #ff124f 8px,
    #0c0512 8px,
    #0c0512 16px
  );
  color: #fff;
  text-shadow: none;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 18, 79, 0.75), inset 0 0 15px rgba(255, 18, 79, 0.4);
  border-color: #fff;
}
.btn-panic:hover::before { transform: translateX(100%); }

/* Radar pulse for Skynet button */
.btn-panic::after {
  content: ''; position: absolute; border: 2px solid #ff124f; border-radius: 8px;
  inset: -2px; opacity: 0; pointer-events: none;
  animation: radarPulse 2s infinite;
}
@keyframes radarPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.15, 1.3); opacity: 0; }
}

.panic-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 8px #fff; animation: panicPulse 1s infinite alternate ease-in-out;
}
@keyframes panicPulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 1; }
}

/* Hologram Full Screen Mobile Menu Overlay */
.hologram-mobile-menu {
  position: fixed; inset: 0; background: rgba(6, 2, 12, 0.96); z-index: 10000;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: center;
  opacity: 0; pointer-events: none;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
  transform: translateY(-30px);
  overflow-y: auto;
  padding: 110px 0 40px;
}
.hologram-mobile-menu.active {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}

/* Holo scan lines and grid overlay */
.holo-scanner {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 48%, rgba(0, 240, 255, 0.15) 50%, transparent 52%);
  background-size: 100% 200%; animation: scanLine 3s linear infinite; pointer-events: none; z-index: 1;
}
.holo-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.08;
  background-image: 
    linear-gradient(to right, rgba(0,240,255,0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,240,255,0.3) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Holo Content */
.holo-content {
  width: 90%; max-width: 500px; display: flex; flex-direction: column; gap: 40px; z-index: 2;
  padding: 30px; border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  background: rgba(12, 5, 24, 0.5);
  box-shadow: 0 0 45px rgba(0, 240, 255, 0.08), inset 0 0 20px rgba(138, 43, 226, 0.05);
  transform: scale(0.95); transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.hologram-mobile-menu.active .holo-content {
  transform: scale(1);
}

.holo-header {
  border-bottom: 1px solid rgba(0, 240, 255, 0.25); padding-bottom: 18px;
  font-family: 'Share Tech Mono', monospace;
}
.holo-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.holo-tag { font-size: 0.72rem; color: var(--accent); letter-spacing: 1px; }
.holo-status { font-size: 0.65rem; color: #4ADE80; font-weight: bold; background: rgba(74, 222, 128, 0.1); padding: 2px 6px; border-radius: 4px; }
.holo-title { font-size: 1.05rem; font-weight: 900; color: #fff; letter-spacing: 0.5px; }

.holo-links { display: flex; flex-direction: column; gap: 20px; list-style: none; }
.holo-link {
  font-family: 'Outfit', sans-serif; font-size: 1.7rem; font-weight: 900;
  color: var(--text-muted); text-decoration: none; display: flex; align-items: center; gap: 12px;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1); padding: 5px 0;
}
.holo-num { font-family: 'Share Tech Mono', monospace; font-size: 0.95rem; color: var(--accent); opacity: 0.5; transition: opacity 0.3s; }

.holo-link:hover {
  color: #fff; transform: translateX(10px); text-shadow: 0 0 15px var(--glow-accent);
}
.holo-link:hover .holo-num { opacity: 1; text-shadow: 0 0 8px var(--glow-accent); }

.holo-footer {
  border-top: 1px solid rgba(138, 43, 226, 0.2); padding-top: 24px;
  display: flex; flex-direction: column; gap: 20px; align-items: center;
}
.holo-meta { font-family: 'Share Tech Mono', monospace; font-size: 0.68rem; color: var(--text-muted); text-align: center; line-height: 1.4; }
.btn-panic-holo { width: 100%; justify-content: center; }

/* Typography & Glitch Effects */
.gradient {
  background: linear-gradient(135deg, var(--accent), var(--primary), var(--secondary));
  background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradientShine 4s linear infinite;
}
@keyframes gradientShine { to { background-position: 200% center; } }
.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; margin-bottom: 40px; text-align: center; letter-spacing: -1.5px;
}

/* Glitch Typography */
.glitch-text {
  position: relative;
}
.glitch-text::before, .glitch-text::after {
  content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: transparent; clip: rect(0,0,0,0);
}
.glitch-text::before {
  left: 2px; text-shadow: -1px 0 var(--accent);
  animation: glitch-anim-1 2s infinite linear alternate-reverse;
}
.glitch-text::after {
  left: -2px; text-shadow: -1px 0 var(--secondary);
  animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% { clip: rect(10px, 9999px, 44px, 0); }
  5% { clip: rect(3px, 9999px, 12px, 0); }
  10% { clip: rect(80px, 9999px, 95px, 0); }
  15% { clip: rect(40px, 9999px, 50px, 0); }
  20% { clip: rect(0, 9999px, 0, 0); }
  100% { clip: rect(0, 9999px, 0, 0); }
}
@keyframes glitch-anim-2 {
  0% { clip: rect(70px, 9999px, 85px, 0); }
  8% { clip: rect(30px, 9999px, 40px, 0); }
  15% { clip: rect(10px, 9999px, 20px, 0); }
  22% { clip: rect(85px, 9999px, 99px, 0); }
  30% { clip: rect(0, 9999px, 0, 0); }
  100% { clip: rect(0, 9999px, 0, 0); }
}

.glitch-text-main {
  font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 950; letter-spacing: -2px; line-height: 1.05;
  color: #fff; position: relative; text-shadow: 0 0 20px rgba(138,43,226,0.3);
}
.glitch-text-main::before, .glitch-text-main::after {
  content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.glitch-text-main::before {
  left: 3px; text-shadow: -2px 0 var(--accent); clip: rect(44px, 450px, 56px, 0);
  animation: glitch-main-1 3s infinite linear alternate-reverse;
}
.glitch-text-main::after {
  left: -3px; text-shadow: -2px 0 var(--secondary); clip: rect(85px, 450px, 140px, 0);
  animation: glitch-main-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-main-1 {
  0%, 100% { clip: rect(0, 0, 0, 0); }
  5% { clip: rect(12px, 9999px, 30px, 0); }
  10% { clip: rect(44px, 9999px, 55px, 0); }
  15% { clip: rect(88px, 9999px, 110px, 0); }
  20% { clip: rect(2px, 9999px, 14px, 0); }
}
@keyframes glitch-main-2 {
  0%, 100% { clip: rect(0, 0, 0, 0); }
  7% { clip: rect(70px, 9999px, 92px, 0); }
  12% { clip: rect(15px, 9999px, 44px, 0); }
  17% { clip: rect(120px, 9999px, 150px, 0); }
  22% { clip: rect(3px, 9999px, 25px, 0); }
}

/* Hero Section (Sci-Fi Cockpit Layout) */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 130px 24px 80px; position: relative; z-index: 1;
}
.cockpit-layout {
  width: 100%; max-width: 1250px; display: grid;
  grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}

.hero-left { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(138, 43, 226, 0.05); border: 1px solid rgba(138, 43, 226, 0.3); border-radius: 100px;
  padding: 6px 16px; font-size: 0.85rem; font-weight: 700; color: var(--accent); margin-bottom: 20px;
  backdrop-filter: blur(10px); box-shadow: 0 0 15px rgba(138,43,226,0.15);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.blink { animation: eyeBlink 1.5s infinite alternate; }
@keyframes eyeBlink { 0% { opacity: 0.3; } 100% { opacity: 1; } }

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--text-muted); max-width: 580px;
  margin: 20px 0 35px; line-height: 1.6; font-weight: 400;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Premium interactive button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 5;
  pointer-events: auto;
}
/* Safety guard to prevent nested child clicks from intercepting events */
.btn *, .option-btn * {
  pointer-events: none;
}
.btn-primary {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 8px 20px var(--glow-primary);
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px var(--glow-secondary), 0 0 15px rgba(255, 51, 102, 0.3);
}
.btn-primary:hover::before { left: 100%; }

.btn-outline {
  background: rgba(255,255,255,0.03);
  color: var(--text-main);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255,255,255,0.06);
}

/* Sci-Fi Control Dashboard (.control-panel) */
.control-panel {
  background: rgba(12, 6, 22, 0.75); border: 2px solid var(--primary); border-radius: 20px;
  padding: 24px; box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 30px rgba(138, 43, 226, 0.25), inset 0 0 20px rgba(138, 43, 226, 0.15);
  position: relative; overflow: hidden; backdrop-filter: blur(15px);
}
.panel-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
  border-bottom: 1px solid rgba(138, 43, 226, 0.3); padding-bottom: 12px;
}
.panel-screw {
  width: 8px; height: 8px; border-radius: 50%; background: #2f273f;
  box-shadow: inset 1px 1px 2px #000; position: relative;
}
.panel-screw::before {
  content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 2px;
  background: #15101f; transform: translateY(-50%) rotate(45deg);
}
.panel-title {
  font-family: 'Share Tech Mono', monospace; font-size: 0.9rem; font-weight: 800;
  color: var(--accent); letter-spacing: 1.5px; text-shadow: 0 0 8px var(--glow-accent);
}

.panel-grid { display: flex; flex-direction: column; gap: 18px; }
.panel-section { display: flex; flex-direction: column; gap: 8px; }
.panel-label {
  font-family: 'Share Tech Mono', monospace; font-size: 0.8rem; text-transform: uppercase;
  color: var(--text-muted); letter-spacing: 1px;
}

/* 3D Mode Selector Buttons */
.threed-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.selector-btn {
  background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(138, 43, 226, 0.3);
  color: var(--text-muted); padding: 10px 4px; border-radius: 8px; font-weight: 700;
  font-size: 0.8rem; cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-family: 'Share Tech Mono', monospace; text-align: center;
}
.selector-btn:hover {
  background: rgba(138, 43, 226, 0.1); color: #fff; border-color: var(--primary);
}
.selector-btn.active {
  background: rgba(138, 43, 226, 0.25); border-color: var(--accent); color: var(--accent);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

/* Synthesizer Pads */
.synth-pad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pad-btn {
  background: #110d21; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; height: 50px; position: relative; cursor: pointer;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: all 0.1s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.3), inset 0 2px 3px rgba(255,255,255,0.05);
}
.pad-inner {
  font-family: 'Share Tech Mono', monospace; font-size: 0.75rem; font-weight: 800;
  color: var(--text-muted); z-index: 2; transition: color 0.2s;
}
.pad-glow {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.2s; z-index: 1;
}

/* Individual neon pads glow rings */
#synthBleep:hover .pad-inner { color: #00F0FF; }
#synthBleep:hover .pad-glow { opacity: 0.15; background: #00F0FF; }
#synthBleep.active { transform: translateY(2px); box-shadow: 0 0 15px var(--glow-accent); border-color: #00F0FF; }
#synthBleep.active .pad-inner { color: #00F0FF; }

#synthZap:hover .pad-inner { color: #FF3366; }
#synthZap:hover .pad-glow { opacity: 0.15; background: #FF3366; }
#synthZap.active { transform: translateY(2px); box-shadow: 0 0 15px var(--glow-secondary); border-color: #FF3366; }
#synthZap.active .pad-inner { color: #FF3366; }

#synthBoom:hover .pad-inner { color: #8A2BE2; }
#synthBoom:hover .pad-glow { opacity: 0.15; background: #8A2BE2; }
#synthBoom.active { transform: translateY(2px); box-shadow: 0 0 15px var(--glow-primary); border-color: #8A2BE2; }
#synthBoom.active .pad-inner { color: #8A2BE2; }

#synthSiren:hover .pad-inner { color: var(--warn); }
#synthSiren:hover .pad-glow { opacity: 0.15; background: var(--warn); }
#synthSiren.active { transform: translateY(2px); box-shadow: 0 0 15px rgba(255,159,0,0.4); border-color: var(--warn); }
#synthSiren.active .pad-inner { color: var(--warn); }

/* Diagnostics Screen Box */
.diagnostics-box {
  background: #06040a; border: 1px solid rgba(138, 43, 226, 0.2); border-radius: 10px;
  padding: 12px; font-family: 'Share Tech Mono', monospace; font-size: 0.75rem;
  line-height: 1.5; color: #5bc0be; overflow-y: hidden; height: 95px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}
.diag-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.diag-ok { color: #4ADE80; font-weight: bold; }
.diag-warn { color: var(--secondary); font-weight: bold; animation: textBlink 1s infinite alternate; }
.diag-info { color: var(--accent); }

@keyframes textBlink { 0% { opacity: 0.5; } 100% { opacity: 1; } }

/* Slider speed knobs */
.slider-row { display: flex; justify-content: space-between; align-items: center; }
.slider-value {
  font-family: 'Share Tech Mono', monospace; font-size: 0.8rem; font-weight: bold; color: var(--accent);
}
.cyber-slider {
  -webkit-appearance: none; width: 100%; height: 5px; background: #151025;
  border-radius: 10px; outline: none; margin-top: 4px;
}
.cyber-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); cursor: pointer; box-shadow: 0 0 8px var(--accent);
  transition: transform 0.1s;
}
.cyber-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

/* About Section */
.about { padding: 80px 24px; max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.about-card {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 24px;
  padding: 44px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4), inset 0 0 15px rgba(138, 43, 226, 0.05);
}
.about-card:hover {
  transform: translateY(-5px); border-color: rgba(138,43,226,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 25px rgba(138, 43, 226, 0.15);
}
.about-card p { font-size: 1.15rem; line-height: 1.75; color: var(--text-muted); font-weight: 300; }
.about-card p strong { color: var(--text-main); font-weight: 700; }

/* AI-O-Matic 3000 Section */
.ai-section { padding: 80px 24px; max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.ai-subtitle { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 35px; }
.ai-container {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 24px;
  padding: 40px 30px; position: relative; overflow: hidden; backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4); min-height: 360px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  transition: all 0.4s ease;
}
.ai-container:hover { border-color: var(--accent); box-shadow: 0 25px 45px rgba(0,0,0,0.5), 0 0 25px rgba(0,240,255,0.1); }
.ai-scanner-line {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 10px var(--accent); animation: aiScan 5s linear infinite; pointer-events: none;
}
@keyframes aiScan {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.ai-card-content { width: 100%; z-index: 2; }
.quiz-screen { display: none; flex-direction: column; align-items: center; animation: fadeInQuiz 0.4s ease forwards; }
.quiz-screen.active { display: flex; }
@keyframes fadeInQuiz { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.quiz-visual {
  font-size: 3.2rem; margin-bottom: 15px; filter: drop-shadow(0 0 10px var(--primary));
  animation: pulseVisual 2s infinite alternate ease-in-out;
}
@keyframes pulseVisual { 0% { transform: scale(0.95); } 100% { transform: scale(1.05); } }

.quiz-screen h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; color: #fff; }
.quiz-screen p { font-size: 1rem; color: var(--text-muted); max-width: 500px; margin-bottom: 25px; line-height: 1.6; }
.quiz-progress-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.05); border-radius: 10px; margin-bottom: 20px; overflow: hidden; }
.quiz-progress { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--primary)); border-radius: 10px; transition: width 0.3s ease; }
.question-number { color: var(--accent); font-weight: 800; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }

.options-container { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; max-width: 500px; }
.option-btn {
  background: rgba(255, 255, 255, 0.015); border: 1px solid var(--card-border); color: var(--text-main);
  padding: 12px 18px; border-radius: 12px; font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s ease; text-align: left; display: flex; align-items: center; gap: 10px;
}
.option-btn:hover {
  background: rgba(138, 43, 226, 0.1); border-color: var(--accent); transform: translateX(5px);
  box-shadow: 0 4px 10px rgba(0,240,255,0.08);
}
.option-btn::before { content: '⚡'; font-size: 0.85rem; opacity: 0.5; }

.result-visual { font-size: 4rem; }
.result-bar-container {
  width: 100%; max-width: 380px; height: 10px; background: rgba(255,255,255,0.05);
  border-radius: 20px; margin: 10px 0 20px; position: relative; overflow: hidden; border: 1px solid var(--card-border);
}
.result-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 20px; transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1); }
.result-percent { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 0.65rem; font-weight: 800; color: #fff; }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 15px; }

/* Game Section (Atari Salonu & CRT Cabinet) */
.game-section { padding: 80px 24px; text-align: center; position: relative; z-index: 1; }
.game-subtitle { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; }

/* CRT Atari Cabinet Shell */
.atari-cabinet {
  max-width: 540px; margin: 0 auto; background: #0c0816;
  border: 4px solid #1c142e; border-radius: 24px 24px 12px 12px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 40px rgba(138, 43, 226, 0.3), inset 0 0 20px rgba(0,0,0,0.9);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
}

/* Cabinet Marquee */
.cabinet-marquee {
  background: #07040d; height: 60px; display: flex; align-items: center; justify-content: center;
  border-bottom: 3px solid #1c142e; position: relative; overflow: hidden;
}
.marquee-neon-glow {
  position: absolute; inset: 0; background: rgba(0, 240, 255, 0.05);
  box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.2); animation: marqueePulse 2s infinite alternate;
}
@keyframes marqueePulse { 0% { opacity: 0.5; } 100% { opacity: 1; } }
.marquee-text {
  font-family: 'Share Tech Mono', monospace; font-size: 1.8rem; font-weight: 900;
  color: var(--accent); letter-spacing: 4px; text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
  z-index: 2;
}

/* Screen Bezel & Screen Wrapper */
.cabinet-screen-bezel {
  background: #141021; padding: 25px 25px 15px 25px; border-bottom: 4px solid #1c142e;
}
.crt-screen-wrapper {
  position: relative; border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,1), inset 0 0 15px rgba(0,0,0,0.8);
  aspect-ratio: 1.38; background: #020204;
}
#gameCanvas {
  display: block; width: 100%; height: 100%; cursor: none; background: #030305;
}

/* Scanlines and Glare overlays */
.crt-scanlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
              linear-gradient(90deg, rgba(255, 0, 0, 0.05), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.05));
  background-size: 100% 4px, 6px 100%;
}
.crt-glare {
  position: absolute; inset: 0; pointer-events: none; z-index: 6;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.06) 0%, transparent 70%);
}

/* Control Deck */
.cabinet-control-deck {
  background: #1a142c; height: 100px; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; border-bottom: 4px solid #110c1f; padding: 0 25px;
  position: relative; box-shadow: inset 0 5px 15px rgba(0,0,0,0.5);
}
.control-label {
  font-family: 'Share Tech Mono', monospace; font-size: 0.65rem; font-weight: bold;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px;
}

/* Joystick visual */
.joystick-container { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.joystick-base {
  width: 45px; height: 20px; background: #0e0a1b; border-radius: 50%;
  border: 2px solid #231b3a; position: relative; box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
}
.joystick-shaft {
  width: 8px; height: 26px; background: linear-gradient(90deg, #ccc, #888);
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  border-radius: 4px; origin: bottom center; transition: transform 0.1s ease;
}
.joystick-ball {
  width: 20px; height: 20px; background: radial-gradient(circle at 6px 6px, #ff4c4c 0%, #cc0000 80%);
  border-radius: 50%; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Arcade Buttons */
.arcade-buttons { display: flex; gap: 20px; justify-content: center; }
.arcade-btn-group { display: flex; flex-direction: column; align-items: center; }
.arcade-btn {
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; border: none;
  position: relative; transition: transform 0.05s ease, box-shadow 0.05s ease;
  box-shadow: 0 4px 0 #000;
}
.arcade-btn.btn-red {
  background: radial-gradient(circle, #ff3b71 0%, #aa0033 90%);
}
.arcade-btn.btn-blue {
  background: radial-gradient(circle, #00f0ff 0%, #008899 90%);
}
.arcade-btn:active, .arcade-btn.active {
  transform: translateY(3px); box-shadow: 0 1px 0 #000;
}
.arc-glow {
  position: absolute; inset: 0; border-radius: 50%; opacity: 0; transition: opacity 0.1s;
}
.arcade-btn:hover .arc-glow {
  opacity: 0.15;
}
.arcade-btn.btn-red:hover .arc-glow { background: #ff3b71; }
.arcade-btn.btn-blue:hover .arc-glow { background: #00f0ff; }

/* Coin door panel */
.cabinet-coin-door {
  background: #090612; padding: 15px 25px; display: flex; justify-content: space-between; align-items: center;
}
.coin-slot { display: flex; gap: 8px; }
.coin-entry {
  background: #141021; border: 1px solid #231b3a; border-radius: 4px;
  padding: 4px 8px; font-family: monospace; font-size: 0.7rem; font-weight: 800;
  color: var(--secondary); text-shadow: 0 0 4px var(--secondary);
}
.coin-return {
  background: #141021; border: 1px solid #231b3a; border-radius: 4px;
  padding: 4px 8px; font-family: 'Share Tech Mono', monospace; font-size: 0.65rem;
  font-weight: 800; color: var(--accent); text-shadow: 0 0 4px var(--accent);
  animation: coinFlash 1.2s infinite alternate;
}
@keyframes coinFlash { 0% { opacity: 0.3; } 100% { opacity: 1; } }

.game-score-row-wrapper { display: flex; flex-direction: column; align-items: flex-end; }
.game-score {
  font-family: 'Share Tech Mono', monospace; font-size: 1.15rem; color: var(--accent);
  font-weight: 800; text-shadow: 0 0 5px var(--glow-accent);
}
.game-combo {
  font-family: 'Share Tech Mono', monospace; font-size: 0.9rem; color: var(--secondary);
  font-weight: 900; text-shadow: 0 0 6px var(--secondary); opacity: 0;
  transform: scale(0.85); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.game-combo.active { opacity: 1; transform: scale(1); }

/* Contact Section */
.contact { padding: 80px 24px 120px; text-align: center; position: relative; z-index: 1; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 950px; margin: 40px auto 0; }
.contact-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 20px; padding: 32px 20px; text-decoration: none; color: var(--text-main);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden; backdrop-filter: blur(10px);
}
.contact-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 20px; padding: 1.5px;
  background: linear-gradient(135deg, rgba(138,43,226,0.3), rgba(255,255,255,0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0.4; transition: opacity 0.3s;
}
.contact-card:hover {
  transform: translateY(-6px); background: rgba(138,43,226,0.06);
}
.contact-card:hover::after { opacity: 1; background: linear-gradient(135deg, var(--accent), var(--secondary)); }

.card-status-indicator {
  position: absolute; top: 15px; right: 18px; font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem; font-weight: bold; color: var(--text-muted); display: flex; align-items: center; gap: 6px;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%; display: inline-block;
}
.status-dot.green { background: #00FF66; box-shadow: 0 0 6px #00FF66; }
.status-dot.purple { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.animate-flicker { animation: coinFlash 1s infinite alternate; }

.contact-card svg { width: 40px; height: 40px; margin-bottom: 12px; transition: transform 0.3s ease; }
.contact-card:hover svg { transform: scale(1.15) rotate(3deg); }
.contact-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.contact-card p { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

.contact-card.whatsapp:hover { box-shadow: 0 12px 30px rgba(37,211,102,0.15); }
.contact-card.email:hover { box-shadow: 0 12px 30px rgba(138,43,226,0.15); }
.contact-card.web:hover { box-shadow: 0 12px 30px rgba(0,240,255,0.15); }

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(37,211,102,0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fabPulse 2.5s infinite;
}
.whatsapp-fab::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #25D366;
  animation: ripple 2s infinite; opacity: 0; pointer-events: none;
}
@keyframes ripple { 0% { transform: scale(1); opacity: 0.4; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes fabPulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.04);} }
.whatsapp-fab:hover { transform: scale(1.1) rotate(5deg); box-shadow: 0 12px 30px rgba(37,211,102,0.6); animation: none; }
.whatsapp-fab svg { width: 30px; height: 30px; fill: #fff; }

/* Footer */
footer {
  text-align: center; padding: 30px 24px; color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
  border-top: 1px solid var(--card-border); background: rgba(3,3,7,0.9); position: relative; z-index: 1;
}

/* Scroll Animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Screen Shake Effect */
.screen-shake { animation: shake 0.15s infinite; }
@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(0px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  55% { transform: translate(-1px, 2px) rotate(-1deg); }
  70% { transform: translate(2px, 1px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(0deg); }
}

/* Red Emergency Siren Alerts */
.emergency-mode { animation: redAlert 1s infinite alternate ease-in-out; }
@keyframes redAlert {
  0% { background-color: #040001; }
  100% { background-color: #1a0004; }
}

/* Skynet Invasion Overlay */
.alarm-overlay {
  position: fixed; inset: 0; background: rgba(5, 0, 1, 0.97); z-index: 10000;
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease; backdrop-filter: blur(15px);
}
.alarm-overlay.active { opacity: 1; pointer-events: auto; }
.alarm-scanner {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 48%, rgba(255, 0, 50, 0.2) 50%, transparent 52%);
  background-size: 100% 200%; animation: scanLine 2.2s linear infinite; pointer-events: none; z-index: 1;
}
@keyframes scanLine { 0% { background-position: 0% 0%; } 100% { background-position: 0% 100%; } }

.alarm-content {
  max-width: 550px; width: 90%; background: rgba(12, 2, 4, 0.9); border: 2px solid #FF3366;
  box-shadow: 0 0 50px rgba(255, 51, 102, 0.4), inset 0 0 25px rgba(255, 0, 0, 0.2);
  border-radius: 24px; padding: 40px 30px; text-align: center; position: relative; z-index: 2;
  transform: scale(0.9); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.alarm-overlay.active .alarm-content { transform: scale(1); }

.alarm-glitch-icon {
  font-size: 3.2rem; margin-bottom: 12px; animation: iconPulse 0.8s infinite alternate ease-in-out;
}
@keyframes iconPulse {
  0% { transform: scale(1) rotate(-4deg); filter: drop-shadow(0 0 8px #FF3366); }
  100% { transform: scale(1.12) rotate(4deg); filter: drop-shadow(0 0 25px #FF3366); }
}
.alarm-title {
  font-size: 1.7rem; font-weight: 900; color: #FF3366; text-shadow: 0 0 12px rgba(255, 51, 102, 0.5);
  margin-bottom: 10px; letter-spacing: -0.5px;
}
.alarm-subtitle { color: #C4B2B6; font-size: 0.95rem; line-height: 1.5; margin-bottom: 20px; }
.alarm-countdown {
  font-size: 5rem; font-weight: 900; color: #fff; text-shadow: 0 0 25px #FF3366, 0 0 50px #FF0000;
  margin-bottom: 20px; font-family: monospace; animation: blinkText 0.8s infinite alternate ease-in-out;
}
.alarm-instructions { color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.5; margin-bottom: 20px; }
.alarm-buttons { display: flex; flex-direction: column; gap: 10px; align-items: center; width: 100%; }

.btn-alarm-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35); font-size: 1rem; padding: 12px 24px;
  border-radius: 50px; font-weight: 800; border: none; cursor: pointer; transition: all 0.3s ease;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center;
}
.btn-alarm-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5); }
.btn-abort {
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.15); color: #C4B2B6;
  padding: 8px 20px; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; font-weight: 600;
}
.btn-abort:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.05); }

/* Responsive Layout */
@media(max-width: 992px) {
  .cockpit-layout { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding-top: 120px; }
  .hero-left { align-items: center; text-align: center; margin-bottom: 10px; }
  .hero-buttons { justify-content: center; gap: 16px 12px; }
  .hero-lead { margin: 25px auto 40px; }
}

@media(max-width: 768px) {
  .nav-links { display: none; }
  .nav-hud-left, .nav-hud-right, .nav-panic-container { display: none; }
  .nav-active-pill { display: none; }
  .cyber-hamburger { display: flex; }
  nav { padding: 10px 20px; border-radius: 12px; border-color: rgba(0, 240, 255, 0.35); }
  .nav-logo { font-size: 1.15rem; }
  .about-card { padding: 25px; }
  .ai-container { padding: 20px; }
  .section-title { font-size: 2.2rem; }
  .whatsapp-fab { width: 50px; height: 50px; bottom: 20px; right: 20px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
  .alarm-content { padding: 30px 15px; }
  .alarm-countdown { font-size: 3.5rem; }
  
  /* General button resizing on mobile */
  .btn { padding: 12px 24px; font-size: 0.95rem; }
  
  /* Atari sizing on mobile */
  .cabinet-screen-bezel { padding: 12px; }
  .cabinet-control-deck { padding: 0 12px; height: 90px; }
  .arcade-buttons { gap: 10px; }
  .arcade-btn { width: 28px; height: 28px; }
}

/* Responsive adjustments for narrow screens */
@media(max-width: 580px) {
  .btn-panic .panic-text {
    font-size: 0;
  }
  .btn-panic .panic-text::before {
    content: '🚨 ACİL';
    font-size: 0.75rem;
    font-weight: 800;
  }
}

@media(max-width: 480px) {
  .hero-buttons, .result-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 12px !important;
  }
  .hero-buttons .btn, .result-actions .btn {
    width: 100%;
    padding: 12px 20px;
  }
}

@media(max-width: 380px) {
  .nav-logo { font-size: 1.02rem; }
  .btn-panic .panic-text::before {
    content: '🚨';
    font-size: 0.85rem;
  }
}
