/* ==========================================================================
   V3nn0 // Biolink - Master Stylesheet (Card Aesthetic)
   ========================================================================== */

:root {
  --bg-deep: #070608;
  --card-bg: rgba(14, 11, 16, 0.30); /* 70% transparent */
  --card-border: rgba(255, 42, 68, 0.35);
  --card-glow: rgba(255, 42, 68, 0.18);
  
  --neon-red: #ff2a44;
  --neon-red-bright: #ff3b56;
  --neon-red-glow: rgba(255, 42, 68, 0.75);

  --text-main: #f3f4f6;
  --text-muted: #94939b;
  --text-dim: #62606b;

  --font-cyber: 'Orbitron', -apple-system, sans-serif;
  --font-body: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  user-select: none;
}

body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* Background Video from Assets (Sharp, clear background) */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

/* Background floating red embers canvas */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
}

.bg-vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(35, 12, 18, 0.2) 0%, rgba(10, 8, 12, 0.7) 60%, #060507 100%);
  pointer-events: none;
  z-index: 1;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   1. FULLSCREEN ARCH LINUX TTY BOOT SCREEN (1:1 Arch Console)
   ========================================================================== */
.boot-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  overflow: hidden;
}

.crt-scanlines {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.22) 50%);
  background-size: 100% 3px;
  pointer-events: none;
  z-index: 5;
  opacity: 0.5;
}

.boot-terminal-body {
  position: relative;
  z-index: 2;
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.45;
  color: #e5e7eb;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.boot-terminal-body::-webkit-scrollbar {
  display: none;
}

.kernel-logs {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.log-line {
  word-break: break-all;
  white-space: pre-wrap;
}

.log-ok {
  color: #22c55e;
  font-weight: 700;
  margin-right: 6px;
}

.log-hook {
  color: #38bdf8;
  font-weight: 700;
  margin-right: 6px;
}

.log-text {
  color: #e5e7eb;
}

.shell-prompt-area {
  margin-top: 12px;
}

.login-msg {
  color: #e5e7eb;
  font-family: var(--font-mono);
  line-height: 1.4;
}

.command-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.95rem;
}

.prompt {
  color: #ffffff;
  font-weight: 700;
}

.cmd-text {
  color: #ffffff;
  font-weight: 600;
}

.cursor {
  color: #ffffff;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.script-output {
  margin-top: 10px;
  color: #e5e7eb;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.skip-hint {
  position: absolute;
  bottom: 12px;
  right: 18px;
  z-index: 10;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #4b5563;
  cursor: pointer;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.skip-hint:hover {
  color: #9ca3af;
}

/* ==========================================================================
   2. MAIN BIOLINK APP (Aesthetic Card Layout)
   ========================================================================== */
.biolink-app {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
  animation: fadeInCard 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInCard {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ==========================================================================
   IOS MEDIA PLAYER WIDGET (TOP RIGHT CORNER)
/* ==========================================================================
   TOP RIGHT WIDGETS (IOS MEDIA PLAYER & VOLUME SLIDER BOX)
   ========================================================================== */
.top-right-widgets {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 99;
  width: 310px;
  max-width: calc(100vw - 44px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ios-player {
  width: 100%;
  background: rgba(18, 16, 22, 0.65);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 13px 15px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 9px;
  user-select: none;
  transition: var(--transition);
}

.ios-player:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   IOS VOLUME SLIDER BOX (POD ODTWARZACZEM)
   ========================================================================== */
.ios-volume-box {
  width: 100%;
  background: rgba(18, 16, 22, 0.65);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 11px 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  gap: 13px;
  user-select: none;
  transition: var(--transition);
}

.ios-volume-box:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.vol-icon-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.82);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
  flex-shrink: 0;
}

.vol-icon-btn:hover {
  color: #ffffff;
  transform: scale(1.15);
}

.vol-icon-svg {
  width: 100%;
  height: 100%;
}

.volume-slider-track {
  flex: 1;
  height: 7px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: height 0.15s ease;
}

.volume-slider-track:hover {
  height: 9px;
}

.volume-slider-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.45);
  transition: width 0.05s ease-out;
}

.ios-player-top {
  display: flex;
  align-items: center;
  gap: 11px;
}

.ios-cover {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.ios-track-info {
  flex: 1;
  overflow: hidden;
  text-align: left;
}

.ios-title {
  font-family: -apple-system, BlinkMacSystemFont, var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ios-artist {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.ios-airplay {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}
.ios-airplay svg {
  width: 100%;
  height: 100%;
}

.ios-progress-area {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ios-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.ios-progress-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.ios-time-row {
  display: flex;
  justify-content: space-between;
  font-family: -apple-system, BlinkMacSystemFont, var(--font-mono);
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.5);
}

.ios-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 1px;
}

.ios-ctrl-btn {
  background: none;
  border: none;
  color: #ffffff;
  width: 22px;
  height: 22px;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ios-ctrl-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}
.ios-ctrl-btn svg {
  width: 18px;
  height: 18px;
}

.ios-play-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  width: 32px;
  height: 32px;
}
.ios-play-btn:hover {
  transform: scale(1.15);
}

.ios-vol-btn {
  background: none;
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  opacity: 0.75;
  transition: var(--transition);
}
.ios-vol-btn:hover {
  opacity: 1;
}

/* ==========================================================================
   FLOATING "DON'T CLICK" BUTTON IN BOTTOM RIGHT CORNER
   ========================================================================== */
.dont-click-corner-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: rgba(18, 16, 22, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 30px;
  font-family: var(--font-cyber);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
  transition: var(--transition);
}

.dont-click-corner-btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(30, 26, 36, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.75);
}

.dont-click-corner-btn:active {
  transform: translateY(0) scale(0.98);
}

/* ==========================================================================
   THE BIOLINK CARD (MATCHING USER SCREENSHOT - NO RED STROKE)
   ========================================================================== */
.card-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.biolink-card {
  position: relative;
  width: 100%;
  max-width: 410px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.12); /* Clean subtle glass border, NO RED STROKE */
  border-radius: 26px;
  padding: 36px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

/* Avatar with clean glass ring (NO RED STROKE) */
.avatar-container {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-glow-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.12);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #110f13;
  display: block;
}

/* Username (Clean White Glowing Typography) */
.username {
  font-family: var(--font-cyber);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

/* Languages Section Divider (Clean Minimal) */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.45);
}

/* Languages Grid (Clean Text Pills, NO EMOJIS) */
.languages-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 22px;
}

.lang-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.lang-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 5px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: #f3f4f6;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.lang-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

/* Social Buttons Row */
.socials-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 20px;
}

.social-btn {
  width: 44px;
  height: 44px;
  background: rgba(28, 22, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   MUSIC PLAYER BAR (MATCHING SCREENSHOT)
   ========================================================================== */
.music-player-bar {
  width: 100%;
  background: rgba(25, 20, 26, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  backdrop-filter: blur(10px);
}

.player-circle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--neon-red);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  box-shadow: 0 0 14px var(--neon-red-glow);
  transition: var(--transition);
  flex-shrink: 0;
}

.player-circle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(255, 42, 68, 0.95);
}

.player-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  overflow: hidden;
}

.track-title-text {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-timeline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
}

.timeline-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.timeline-fill {
  height: 100%;
  background: var(--neon-red);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--neon-red);
}

.player-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vol-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.vol-btn:hover {
  color: #ffffff;
}

.music-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.eq-bar {
  width: 2.5px;
  height: 3px;
  background: var(--neon-red);
  border-radius: 1px;
  transition: height 0.12s ease;
}

.playing .eq-bar:nth-child(1) { animation: bounceEq 0.6s infinite alternate ease-in-out; }
.playing .eq-bar:nth-child(2) { animation: bounceEq 0.45s 0.15s infinite alternate ease-in-out; }
.playing .eq-bar:nth-child(3) { animation: bounceEq 0.7s 0.08s infinite alternate ease-in-out; }

@keyframes bounceEq {
  0% { height: 3px; }
  100% { height: 13px; }
}

/* ==========================================================================
   CARD FOOTER (EYE 1337 & CODED BY V3NN0)
   ========================================================================== */
.card-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.views-count {
  display: flex;
  align-items: center;
  gap: 5px;
}

.eye-icon {
  width: 14px;
  height: 14px;
  color: var(--text-dim);
}

.coded-by {
  font-size: 0.72rem;
}

.code-tag {
  color: rgba(255, 255, 255, 0.7);
  font-weight: bold;
}

/* ==========================================================================
   AUTHENTIC HORROR JUMPSCARE OVERLAY (Pure Dread, No Circus Colors)
   ========================================================================== */
.jumpscare-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
}

.jumpscare-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 100px 30px #000000, inset 0 0 200px 70px rgba(70, 0, 0, 0.85);
  pointer-events: none;
  z-index: 3;
}

.jumpscare-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.7) 0px,
    rgba(0, 0, 0, 0.7) 2px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 4;
  opacity: 0.9;
}

.jumpscare-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15), transparent 80%);
  pointer-events: none;
  z-index: 4;
  opacity: 0.6;
}

.jumpscare-face-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transform-origin: center center;
  animation: visceralHorrorJitter 0.038s steps(2) infinite;
}

.jumpscare-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(220%) brightness(110%) drop-shadow(0 0 20px #000000);
  animation: lungeSlamZoom 2.5s cubic-bezier(0.12, 0.88, 0.25, 1) forwards;
}

@keyframes lungeSlamZoom {
  0% { transform: scale(1.05); }
  15% { transform: scale(1.28); }
  40% { transform: scale(1.45); }
  70% { transform: scale(1.68); }
  100% { transform: scale(1.95); }
}

/* Violent, chaotic jitter like authentic analog tape terror - ONLY stark black, white, and dark blood */
@keyframes visceralHorrorJitter {
  0% {
    transform: translate(0, 0) scale(1);
    filter: none;
  }
  12% {
    transform: translate(-26px, 14px) scale(1.04);
    filter: contrast(300%) invert(1);
  }
  25% {
    transform: translate(22px, -20px) scale(1.02);
    filter: contrast(250%) brightness(140%);
  }
  37% {
    transform: translate(-30px, -12px) scale(1.06);
    filter: contrast(350%) brightness(80%);
  }
  50% {
    transform: translate(24px, 22px) scale(1.03);
    filter: invert(1) contrast(400%);
  }
  62% {
    transform: translate(-18px, 26px) scale(1.05);
    filter: contrast(280%) brightness(150%);
  }
  75% {
    transform: translate(28px, -18px) scale(1.04);
    filter: none;
  }
  87% {
    transform: translate(-22px, 12px) scale(1.02);
    filter: contrast(320%) invert(0.9);
  }
  100% {
    transform: translate(0, 0) scale(1);
    filter: none;
  }
}

/* Strobe layer: purely stark white, pitch black, and visceral blood - NO goofy colors! */
.jumpscare-strobe-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  animation: authenticStrobe 0.045s steps(1) infinite;
}

@keyframes authenticStrobe {
  0%, 15% { background-color: rgba(255, 255, 255, 0.65); mix-blend-mode: overlay; }
  16%, 35% { background-color: rgba(90, 0, 0, 0.55); mix-blend-mode: multiply; }
  36%, 68% { background-color: transparent; }
  69%, 85% { background-color: rgba(0, 0, 0, 0.82); }
  86%, 100% { background-color: rgba(255, 255, 255, 0.4); mix-blend-mode: hard-light; }
}

/* ==========================================================================
   3. STROBE BLINDING GLITCH OVERLAY ("miga dlugo na bialo czarno")
   ========================================================================== */
.strobe-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999999;
  pointer-events: none;
  animation: strobeBlackWhite 0.06s steps(1) infinite;
}

@keyframes strobeBlackWhite {
  0%, 49% { background-color: #ffffff; }
  50%, 100% { background-color: #000000; }
}

/* ==========================================================================
   4. RANSOMWARE PRANK SCREEN (Exact Recreation of First Screenshot)
   ========================================================================== */
.ransomware-screen {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  overflow: hidden;
  user-select: none;
}

.ransomware-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(80, 0, 10, 0.4) 0%, rgba(15, 0, 2, 0.85) 60%, #000000 100%);
  pointer-events: none;
  z-index: 1;
}

.ransomware-scanlines {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.4) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
}

.ransomware-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 950px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Glowing red pixel skull */
.skull-container {
  position: relative;
  width: 110px;
  height: 98px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skull-red-halo {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 30, 50, 0.5) 0%, transparent 70%);
  filter: blur(14px);
  animation: pulseSkullHalo 1.5s infinite alternate ease-in-out;
}

@keyframes pulseSkullHalo {
  from { transform: scale(0.9); opacity: 0.6; }
  to { transform: scale(1.15); opacity: 0.95; }
}

.pixel-skull {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 16px rgba(255, 34, 68, 0.9)) drop-shadow(0 0 35px rgba(255, 0, 34, 0.7));
  animation: skullGlitch 2.8s infinite;
}

@keyframes skullGlitch {
  0%, 92%, 100% { transform: translate(0, 0); }
  93% { transform: translate(-3px, 1px); filter: drop-shadow(0 0 25px #00ffff); }
  95% { transform: translate(3px, -2px); filter: drop-shadow(0 0 25px #ff0055); }
  97% { transform: translate(-2px, -1px); }
}

/* Big Title */
.ransomware-title {
  font-family: var(--font-cyber);
  font-size: clamp(1.6rem, 4.2vw, 2.7rem);
  font-weight: 900;
  letter-spacing: 3px;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 0 10px #ff2244, 0 0 25px #ff0033, 0 0 50px #ff0000;
  margin-bottom: 14px;
}

/* Subtitle lines */
.ransomware-meta {
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.8vw, 0.92rem);
  color: #ff4d64;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 24px;
  text-shadow: 0 0 8px rgba(255, 77, 100, 0.4);
}

.warn-tag {
  color: #ff2244;
  font-weight: bold;
}

.highlight-code {
  color: #ffffff;
  font-weight: bold;
}

.key-bar {
  color: #ff3344;
  letter-spacing: 1px;
}

/* Dynamic Files Stream */
.files-stream-wrapper {
  width: 100%;
  max-width: 820px;
  height: 165px;
  margin: 0 auto 30px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.files-stream-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 25px;
  background: linear-gradient(to bottom, #000000, transparent);
  z-index: 2;
  pointer-events: none;
}
.files-stream-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25px;
  background: linear-gradient(to top, #000000, transparent);
  z-index: 2;
  pointer-events: none;
}

.files-stream {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.4vw, 0.82rem);
  line-height: 1.5;
  color: #71717a;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.file-row {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.85;
}

.file-path {
  color: #52525b;
}

.file-ext {
  color: #ff2a44;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(255, 42, 68, 0.6);
}

.file-status {
  color: #71717a;
  margin-left: 6px;
}

/* Countdown Timer */
.timer-container {
  margin-top: 10px;
}

.countdown-timer {
  font-family: var(--font-cyber);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 900;
  letter-spacing: 4px;
  color: #ffffff;
  text-shadow: 0 0 12px #ff2244, 0 0 30px #ff0022, 0 0 60px #ff0000;
  animation: timerGlow 1s infinite alternate;
}

@keyframes timerGlow {
  0% { text-shadow: 0 0 10px #ff2244, 0 0 25px #ff0022; }
  100% { text-shadow: 0 0 16px #ff3b56, 0 0 45px #ff0033, 0 0 70px #ff0000; }
}

/* ==========================================================================
   5. BLACK SCREEN WITH "-- click to return --"
   ========================================================================== */
.black-return-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.return-prompt {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: #a1a1aa;
  letter-spacing: 3px;
  animation: pulseReturnPrompt 2s infinite ease-in-out;
}

@keyframes pulseReturnPrompt {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; color: #ffffff; text-shadow: 0 0 12px rgba(255, 255, 255, 0.45); }
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  background: #141117;
  border: 1px solid var(--neon-red);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 42, 68, 0.35);
  z-index: 999999;
  animation: slideToast 0.3s ease;
}

@keyframes slideToast {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.toast-icon {
  color: var(--neon-red);
  font-weight: bold;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  .biolink-app {
    padding: 16px 14px 75px;
    justify-content: flex-start;
  }

  .top-right-widgets {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 410px;
    margin-bottom: 16px;
  }

  .dont-click-corner-btn {
    bottom: 16px;
    right: 16px;
    font-size: 0.74rem;
    padding: 8px 18px;
  }
}

@media (max-width: 480px) {
  .biolink-card {
    padding: 28px 16px 18px;
    border-radius: 20px;
  }
  .username {
    font-size: 1.95rem;
  }
  .lang-pill {
    padding: 4px 10px;
    font-size: 0.72rem;
  }
  .social-btn {
    width: 40px;
    height: 40px;
  }
  .files-stream-wrapper {
    height: 120px;
  }
}

/* ==========================================================================
   CUSTOM MOUSE CURSOR (White trail, hollow ring, inner solid dot)
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  html, body, *, *::before, *::after {
    cursor: none !important;
  }
}

.cursor-trail-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2147483640;
}

/* Outer Hollow Circle */
.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  margin-left: -19px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  background: transparent;
  pointer-events: none;
  z-index: 2147483645;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2), inset 0 0 6px rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 0.25s ease, width 0.22s cubic-bezier(0.16, 1, 0.3, 1), height 0.22s cubic-bezier(0.16, 1, 0.3, 1), margin 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

/* Ring state on interactive element hover */
.custom-cursor-ring.is-hovering {
  width: 52px;
  height: 52px;
  margin-top: -26px;
  margin-left: -26px;
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.15);
}

/* Ring state on mouse click down */
.custom-cursor-ring.is-clicking {
  transform: translate3d(var(--ring-x, -100px), var(--ring-y, -100px), 0) scale(0.85);
}

/* Inner Solid White Dot */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  margin-left: -4px;
  border-radius: 50%;
  background: #ffffff;
  pointer-events: none;
  z-index: 2147483647;
  box-shadow: 0 0 10px #ffffff, 0 0 18px rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 0.25s ease;
  will-change: transform;
}

/* Inner dot on mouse click down */
.custom-cursor-dot.is-clicking {
  transform: translate3d(var(--dot-x, -100px), var(--dot-y, -100px), 0) scale(1.35);
}
