/* ==========================================================================
   lostinthepast.ru — V2 Hyper-Aesthetic Digital Glassmorphism
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-color: #040407;
  --pink-neon: #eb055a;
  --pink-glow: rgba(235, 5, 90, 0.45);
  --blue-neon: #4632f0;
  --blue-glow: rgba(70, 50, 240, 0.45);
  --cyan-accent: #00f2fe;
  --emerald-accent: #00ffaa;
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: 28px;
  
  --text-main: #fcfcfd;
  --text-muted: rgba(245, 245, 250, 0.65);
  --text-dim: rgba(245, 245, 250, 0.35);
  
  --font-grotesk: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-syne: 'Syne', sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-color);
  font-family: var(--font-sans);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: default;
}

/* ==========================================================================
   Smooth Custom Cyber Cursor
   ========================================================================== */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.1s ease;
  box-shadow: 0 0 10px #ffffff, 0 0 20px var(--cyan-accent);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  backdrop-filter: blur(1px);
}

body.cursor-hover .cursor-ring {
  width: 58px;
  height: 58px;
  border-color: var(--pink-neon);
  background-color: rgba(235, 5, 90, 0.08);
  box-shadow: 0 0 25px var(--pink-glow);
}

body.cursor-glitch .cursor-ring {
  width: 72px;
  height: 72px;
  border-color: var(--cyan-accent);
  border-style: dashed;
  animation: cursorSpin 2s linear infinite;
}

@keyframes cursorSpin {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==========================================================================
   Background Canvas & Screen Effects
   ========================================================================== */
#space-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

.crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  background-size: 100% 3px, 6px 100%;
  opacity: 0.45;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Floating Liquid Gradient Blobs (Zero Gravity)
   ========================================================================== */
.blob-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  filter: blur(85px);
  transform: translateZ(0);
}

.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform, border-radius;
  opacity: 0.65;
  mix-blend-mode: screen;
}

/* Blob 1: Ultra Neon Magenta (#eb055a) */
.blob-1 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at 30% 30%, #ff1c7a, #eb055a 60%, transparent 80%);
  top: 10%;
  left: 15%;
  animation: 
    floatBlob1 22s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate,
    morphBlob1 12s ease-in-out infinite alternate;
}

/* Blob 2: Deep Indigo / Violet (#4632f0) */
.blob-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at 65% 35%, #6350ff, #4632f0 55%, transparent 80%);
  bottom: 8%;
  right: 12%;
  animation: 
    floatBlob2 26s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate,
    morphBlob2 15s ease-in-out infinite alternate;
}

/* Blob 3: Center Pulsing Core */
.blob-3 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(142, 21, 216, 0.85), rgba(235, 5, 90, 0.45) 50%, rgba(70, 50, 240, 0) 75%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: 
    floatBlob3 18s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate,
    morphBlob1 16s ease-in-out infinite alternate;
  opacity: 0.55;
}

/* Blob 4: Cyan Stardust Ambient */
.blob-4 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.4), rgba(70, 50, 240, 0.3) 60%, transparent 80%);
  top: -5%;
  right: 28%;
  animation: floatBlob1 30s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
  opacity: 0.4;
}

/* Blob 5: Bottom Pink Flare */
.blob-5 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(235, 5, 90, 0.4), rgba(142, 21, 216, 0.2) 60%, transparent 80%);
  bottom: -10%;
  left: 20%;
  animation: floatBlob2 24s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
  opacity: 0.45;
}

@keyframes floatBlob1 {
  0% { transform: translate(0px, 0px) scale(1) rotate(0deg); }
  33% { transform: translate(160px, -110px) scale(1.15) rotate(50deg); }
  66% { transform: translate(-90px, 140px) scale(0.9) rotate(100deg); }
  100% { transform: translate(120px, 90px) scale(1.08) rotate(150deg); }
}

@keyframes floatBlob2 {
  0% { transform: translate(0px, 0px) scale(1) rotate(0deg); }
  33% { transform: translate(-170px, 80px) scale(0.88) rotate(-45deg); }
  66% { transform: translate(110px, -120px) scale(1.18) rotate(-95deg); }
  100% { transform: translate(-110px, -70px) scale(1.04) rotate(-150deg); }
}

@keyframes floatBlob3 {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-30%, -65%) scale(1.25) rotate(70deg); }
  100% { transform: translate(-65%, -35%) scale(0.85) rotate(-70deg); }
}

@keyframes morphBlob1 {
  0% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
  50% { border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%; }
  100% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; }
}

@keyframes morphBlob2 {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 35% 65% 60% 40% / 55% 45% 55% 45%; }
  100% { border-radius: 50% 50% 70% 30% / 40% 60% 40% 60%; }
}

/* ==========================================================================
   3D Viewport Scene
   ========================================================================== */
.scene {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  perspective: 1400px;
  padding: 24px;
}

/* ==========================================================================
   Orbital Satellite Widgets (Levitating in 3D Space)
   ========================================================================== */
.satellite {
  position: absolute;
  z-index: 15;
  pointer-events: auto;
  will-change: transform;
}

.sat-top-right {
  top: 12%;
  right: 14%;
  animation: satFloat1 8s ease-in-out infinite;
}

.sat-bottom-left {
  bottom: 14%;
  left: 13%;
  animation: satFloat2 9s ease-in-out infinite;
}

.sat-top-left {
  top: 14%;
  left: 14%;
  animation: satFloat3 8.5s ease-in-out infinite;
}

@keyframes satFloat1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(1.2deg); }
}

@keyframes satFloat2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(18px) rotate(-1.5deg); }
}

@keyframes satFloat3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}

.glass-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  box-shadow: 
    0 15px 35px -5px rgba(0, 0, 0, 0.6),
    0 0 25px -5px rgba(70, 50, 240, 0.15),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
  user-select: none;
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 20px 45px -5px rgba(0, 0, 0, 0.75),
    0 0 30px rgba(235, 5, 90, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.35);
  transform: scale(1.04);
}

.sat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-accent);
  box-shadow: 0 0 10px var(--emerald-accent), 0 0 20px var(--emerald-accent);
  animation: pulseDot 2s ease-in-out infinite;
}

.sat-info {
  display: flex;
  flex-direction: column;
}

.sat-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}

.sat-val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

/* Audio Visualizer Equalizer Bars */
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.eq-bar {
  width: 3px;
  background: var(--pink-neon);
  border-radius: 2px;
  animation: eqBounce 1.2s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 90%; animation-delay: 0.3s; }
.eq-bar:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.eq-bar:nth-child(4) { height: 100%; animation-delay: 0.5s; }
.eq-bar:nth-child(5) { height: 50%; animation-delay: 0.4s; }

@keyframes eqBounce {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* Sound Button Toggle */
.sound-toggle-btn {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  outline: none;
}

.audio-icon {
  width: 14px;
  height: 14px;
}

.sound-wave {
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.sound-toggle-btn.sound-active .sound-wave {
  opacity: 1;
  stroke: var(--cyan-accent);
}

.sound-toggle-btn.sound-active .sound-label {
  color: var(--cyan-accent);
}

/* ==========================================================================
   Main Levitating Glassmorphism Card
   ========================================================================== */
.card-float-wrapper {
  animation: levitationFloat 7.8s ease-in-out infinite;
  will-change: transform;
}

@keyframes levitationFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  35% { transform: translateY(-20px) rotate(-0.6deg); }
  70% { transform: translateY(14px) rotate(0.8deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.glass-card {
  position: relative;
  width: 100%;
  max-width: 760px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(190%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(190%);
  border-radius: 32px;
  border: 1px solid var(--glass-border);
  padding: 48px 54px;
  overflow: hidden;
  box-shadow: 
    0 35px 90px -15px rgba(0, 0, 0, 0.8),
    0 0 60px -10px rgba(70, 50, 240, 0.22),
    0 0 45px -10px rgba(235, 5, 90, 0.18),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  transform-style: preserve-3d;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 
    0 45px 110px -20px rgba(0, 0, 0, 0.9),
    0 0 80px -5px rgba(70, 50, 240, 0.32),
    0 0 60px -5px rgba(235, 5, 90, 0.28),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.45);
}

/* Prismatic Dynamic Light Border */
.prismatic-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  padding: 1.5px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 0deg,
    var(--pink-neon) 45deg,
    transparent 90deg,
    var(--blue-neon) 180deg,
    var(--cyan-accent) 225deg,
    transparent 270deg,
    var(--pink-neon) 360deg
  );
  opacity: 0.6;
}

/* Glass Reflection */
.glass-reflection {
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  pointer-events: none;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 30%), rgba(255, 255, 255, 0.12) 0%, transparent 45%);
  opacity: 0.85;
  z-index: 2;
}

/* Diagonal Laser Scanline Sweeper */
.scanline-sweeper {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 20px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.15), rgba(235, 5, 90, 0.25), transparent);
  transform: rotate(-35deg);
  pointer-events: none;
  z-index: 2;
  animation: scanlineSweep 9s linear infinite;
}

@keyframes scanlineSweep {
  0% { transform: translateY(0) rotate(-35deg); opacity: 0; }
  10% { opacity: 0.8; }
  50% { transform: translateY(1200px) rotate(-35deg); opacity: 0.8; }
  55%, 100% { opacity: 0; }
}

/* Glass Crack / Rupture Overlay */
.glass-crack-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  mix-blend-mode: overlay;
  background: linear-gradient(135deg, transparent 35%, rgba(255, 255, 255, 0.5) 49%, rgba(235, 5, 90, 0.7) 50%, rgba(70, 50, 240, 0.7) 51%, transparent 65%);
  transition: opacity 0.1s ease;
}

.glass-card.ruptured .glass-crack-effect {
  opacity: 0.95;
  animation: glassFracturePulse 0.35s steps(2, start) infinite;
}

@keyframes glassFracturePulse {
  0% {
    clip-path: polygon(0% 18%, 100% 28%, 100% 48%, 0% 38%);
    transform: translate(-4px, 2px);
  }
  50% {
    clip-path: polygon(0% 58%, 100% 48%, 100% 78%, 0% 88%);
    transform: translate(4px, -2px);
  }
  100% {
    clip-path: polygon(0% 32%, 100% 22%, 100% 62%, 0% 72%);
    transform: translate(-2px, 1px);
  }
}

/* ==========================================================================
   Card Content & Typography
   ========================================================================== */
.card-header {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  font-family: var(--font-mono);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-accent);
  box-shadow: 0 0 10px var(--emerald-accent), 0 0 20px var(--emerald-accent);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.header-badges {
  display: flex;
  gap: 8px;
}

.cyber-badge {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
}

.neon-badge {
  background: rgba(235, 5, 90, 0.12);
  border-color: rgba(235, 5, 90, 0.4);
  color: var(--pink-neon);
}

.card-body {
  position: relative;
  z-index: 5;
  margin-bottom: 36px;
}

.category-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--cyan-accent);
  margin-bottom: 14px;
}

.meta-divider {
  opacity: 0.35;
}

.title-container {
  display: inline-flex;
  flex-direction: column;
  cursor: pointer;
  margin-bottom: 20px;
  position: relative;
}

/* Headline */
.glitch-title {
  font-family: var(--font-grotesk);
  font-size: clamp(40px, 6.4vw, 68px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
  position: relative;
  display: inline-block;
  user-select: none;
}

.title-hint {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-top: 6px;
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.title-container:hover .title-hint {
  color: var(--pink-neon);
  opacity: 1;
}

/* Individual Asynchronous Glitch Characters */
.glitch-char {
  display: inline-block;
  position: relative;
  white-space: pre;
  will-change: transform, text-shadow;
  transition: transform 0.08s ease;
}

.glitch-char::before,
.glitch-char::after {
  content: attr(data-char);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
  opacity: 0;
}

/* Hover & Active Glitch Triggers */
.title-container:hover .glitch-char,
.glitch-char.active-glitch {
  animation: charJitter var(--dur, 0.28s) var(--del, 0s) steps(1) infinite;
}

.title-container:hover .glitch-char::before,
.glitch-char.active-glitch::before {
  opacity: 1;
  color: #ffffff;
  left: var(--shift-x1, -2px);
  text-shadow: 2px 0 var(--pink-neon);
  animation: charSliceTop var(--dur-top, 0.32s) var(--del-top, 0s) infinite;
}

.title-container:hover .glitch-char::after,
.glitch-char.active-glitch::after {
  opacity: 1;
  color: #ffffff;
  left: var(--shift-x2, 2px);
  text-shadow: -2px 0 var(--blue-neon);
  animation: charSliceBottom var(--dur-bot, 0.38s) var(--del-bot, 0s) infinite reverse;
}

@keyframes charJitter {
  0% { transform: translate(0, 0); text-shadow: -1px -1px 0 var(--pink-neon), 1px 1px 0 var(--blue-neon); }
  20% { transform: translate(var(--jitter-x1, -2px), var(--jitter-y1, 1px)); }
  40% { transform: translate(var(--jitter-x2, 2px), var(--jitter-y2, -2px)); text-shadow: 2px -1px 0 var(--pink-neon), -2px 1px 0 var(--blue-neon); }
  60% { transform: translate(var(--jitter-x1, -1px), var(--jitter-y2, 2px)); }
  80% { transform: translate(var(--jitter-x2, 1px), var(--jitter-y1, -1px)); text-shadow: -2px 1px 0 var(--pink-neon), 2px -1px 0 var(--blue-neon); }
  100% { transform: translate(0, 0); text-shadow: -1px -1px 0 var(--pink-neon), 1px 1px 0 var(--blue-neon); }
}

@keyframes charSliceTop {
  0% { clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%); transform: translate(-3px, -1px); }
  25% { clip-path: polygon(0 15%, 100% 15%, 100% 55%, 0 55%); transform: translate(3px, 1px); }
  50% { clip-path: polygon(0 5%, 100% 5%, 100% 30%, 0 30%); transform: translate(-2px, 0); }
  75% { clip-path: polygon(0 25%, 100% 25%, 100% 70%, 0 70%); transform: translate(2px, -1px); }
  100% { clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%); transform: translate(0, 0); }
}

@keyframes charSliceBottom {
  0% { clip-path: polygon(0 45%, 100% 45%, 100% 100%, 0 100%); transform: translate(3px, 1px); }
  25% { clip-path: polygon(0 35%, 100% 35%, 100% 80%, 0 80%); transform: translate(-3px, -1px); }
  50% { clip-path: polygon(0 60%, 100% 60%, 100% 95%, 0 95%); transform: translate(2px, 1px); }
  75% { clip-path: polygon(0 40%, 100% 40%, 100% 75%, 0 75%); transform: translate(-1px, -1px); }
  100% { clip-path: polygon(0 45%, 100% 45%, 100% 100%, 0 100%); transform: translate(0, 0); }
}

.description {
  font-size: 15px;
  line-height: 1.68;
  color: var(--text-muted);
  max-width: 580px;
  font-weight: 300;
}

/* ==========================================================================
   Magnetic Glass Action Buttons
   ========================================================================== */
.card-actions {
  position: relative;
  z-index: 5;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.glass-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 9999px;
  font-family: var(--font-grotesk);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-main);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.25s cubic-bezier(0.2, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.5), 0 0 25px -2px rgba(255, 255, 255, 0.15);
}

.primary-btn {
  background: rgba(235, 5, 90, 0.14);
  border-color: rgba(235, 5, 90, 0.45);
  box-shadow: 0 0 25px -5px rgba(235, 5, 90, 0.35);
}

.primary-btn:hover {
  background: rgba(235, 5, 90, 0.28);
  border-color: rgba(235, 5, 90, 0.8);
  box-shadow: 0 12px 35px -5px rgba(235, 5, 90, 0.55), 0 0 30px rgba(70, 50, 240, 0.4);
}

.pulse-shock-btn {
  background: rgba(70, 50, 240, 0.14);
  border-color: rgba(70, 50, 240, 0.4);
}

.pulse-shock-btn:hover {
  background: rgba(70, 50, 240, 0.26);
  border-color: var(--cyan-accent);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.35);
}

.btn-icon {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
}

.primary-btn:hover .btn-icon {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   Card Footer Telemetry
   ========================================================================== */
.card-footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.telemetry-item {
  display: flex;
  gap: 6px;
  align-items: center;
}

.tel-label {
  color: var(--text-dim);
}

.tel-val {
  color: var(--text-muted);
}

.v1-link {
  color: var(--cyan-accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease, text-shadow 0.2s ease;
}

.v1-link:hover {
  text-shadow: 0 0 10px var(--cyan-accent);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {
  .satellite {
    display: none;
  }

  .glass-card {
    padding: 34px 28px;
    border-radius: 24px;
  }

  .card-footer {
    flex-wrap: wrap;
    gap: 12px;
  }
}
