/* ════════════════════════════════════════════════════════════════
   $REVENGE · for the trenches
   dark gothic · blood-black · parchment · oxidized gold · pixel art
   ════════════════════════════════════════════════════════════════ */

:root {
  /* dark gothic palette */
  --bg-deep:    #050307;          /* outermost void */
  --bg:         #0a0608;          /* main body bg */
  --panel-1:    #16100a;          /* primary panel (window body) */
  --panel-2:    #1f1812;          /* slightly lighter for contrast */
  --panel-3:    #261d14;          /* toolbar, hover */
  --ink:        #e8d8a8;          /* aged parchment text */
  --ink-soft:   #b9a878;          /* faded ink */
  --ink-faint:  #807055;          /* deep faded ink */

  /* accents */
  --blood:        #8b0a16;        /* deep crimson */
  --blood-bright: #c2102f;        /* highlight crimson */
  --blood-deep:   #420610;        /* shadow crimson */
  --gold:         #c9a23d;        /* oxidized gold leaf */
  --gold-bright:  #ffd83a;        /* highlight gold */
  --gold-dim:     #6b5420;        /* deep gold shadow */
  --bone:         #e8d8a8;        /* same as ink, alias */
  --silver:       #c0c0c0;
  --teal:         #5fd4d8;        /* diamond cyan accent */

  --bsod:         #0a1a4a;        /* deeper bsod for dark mode */
  --term-bg:      #050507;        /* terminal background */
  --term-fg:      #d8d0a8;        /* terminal text */
  --warn:         #c2102f;
  --hl:           #ffd83a;
  --green-4:      #6a9128;        /* darker /biz/ green */

  --link:         #ffd83a;
  --link-hover:   #fff5b0;
  --link-vis:     #c9a23d;

  /* bevel system: gold-edged dark windows */
  --bevel-out: inset -1px -1px 0 #000, inset 1px 1px 0 #5a4520,
               inset -2px -2px 0 #0a0604, inset 2px 2px 0 #2a1f10;
  --bevel-in:  inset 1px 1px 0 #000, inset -1px -1px 0 #5a4520,
               inset 2px 2px 0 #0a0604, inset -2px -2px 0 #2a1f10;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: "IM Fell English", "Cormorant Garamond", "Tahoma", system-ui, serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 8% 12%, rgba(139,10,22,0.18), transparent 60%),
    radial-gradient(800px 500px at 92% 88%, rgba(201,162,61,0.10), transparent 60%),
    radial-gradient(circle at 50% 0%, rgba(194,16,47,0.08), transparent 50%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
  cursor: default;
  padding-bottom: 30px;
}
img { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: underline; }
a:hover { color: var(--link-hover); }
a:visited { color: var(--link-vis); }

::selection { background: var(--blood); color: var(--bone); }

/* ═══ EMBER CORNER GLOW (slow breathing) ═══ */
.embers {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(420px 320px at 0% 100%, rgba(194,16,47,0.18), transparent 70%),
    radial-gradient(380px 280px at 100% 100%, rgba(255,122,0,0.10), transparent 70%);
  animation: ember-pulse 8s ease-in-out infinite alternate;
}
@keyframes ember-pulse {
  0%   { opacity: 0.7; }
  100% { opacity: 1; }
}

/* ═══ CRT SCANLINES (stronger now, with phosphor) ═══ */
.crt {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 300;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(0,0,0,0) 0px,
      rgba(0,0,0,0) 2px,
      rgba(0,0,0,0.18) 3px,
      rgba(0,0,0,0) 4px
    ),
    radial-gradient(circle at 50% 50%, transparent 60%, rgba(0,0,0,0.45) 100%);
  mix-blend-mode: multiply;
}

/* ═══ PIXEL ICONS (sharp, crisp at any size) ═══ */
.px {
  display: inline-block;
  vertical-align: middle;
  shape-rendering: crispEdges;
  image-rendering: pixelated;
  flex-shrink: 0;
}
.px-d        { width: 16px; height: 16px; margin-right: 8px; }
.px-skull    { width: 32px; height: 32px; }
.px-flame    { width: 28px; height: 36px; filter: drop-shadow(0 0 6px rgba(255,122,0,0.55)); }
.px-skull-bsod { width: 40px; height: 40px; filter: drop-shadow(0 0 8px rgba(255,255,255,0.35)); }

.px-flicker {
  animation: flicker 1.4s ease-in-out infinite;
  transform-origin: bottom center;
}
.px-flicker-2 { animation-delay: -0.7s; animation-duration: 1.7s; }
@keyframes flicker {
  0%, 100% { transform: scaleY(1) scaleX(1); filter: drop-shadow(0 0 6px rgba(255,122,0,0.55)) brightness(1); }
  30%      { transform: scaleY(1.08) scaleX(0.96); filter: drop-shadow(0 0 10px rgba(255,180,40,0.85)) brightness(1.15); }
  55%      { transform: scaleY(0.94) scaleX(1.04); filter: drop-shadow(0 0 4px rgba(194,16,47,0.55)) brightness(0.92); }
  80%      { transform: scaleY(1.06) scaleX(0.98); filter: drop-shadow(0 0 8px rgba(255,150,30,0.75)) brightness(1.08); }
}

/* ═══ ADDRESS BAR (top ribbon, dark) ═══ */
.addressbar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 8px;
  background: var(--panel-1);
  border-bottom: 1px solid var(--gold-dim);
  box-shadow: 0 1px 0 var(--gold-dim) inset, 0 -1px 0 #000 inset;
  padding: 4px 10px;
  font-family: "Tahoma", sans-serif;
  font-size: 11px;
  color: var(--ink);
}
.addr-label {
  font-weight: bold;
  color: var(--gold);
  margin-right: 4px;
}
.addr-path {
  flex: 1;
  background: #000;
  color: var(--gold-bright);
  border: 2px solid;
  border-color: #000 var(--gold-dim) var(--gold-dim) #000;
  padding: 2px 6px;
  font-family: "Consolas", "Tahoma", monospace;
  font-size: 11px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.addr-status {
  font-family: "Tahoma", sans-serif;
  font-size: 10px;
  color: var(--ink-faint);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .addr-status { display: none; }
}

/* ═══ DESKTOP / WINDOW STACK ═══ */
.desktop {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px 80px;
  display: grid;
  gap: 32px;
}

.win {
  background: var(--panel-1);
  box-shadow:
    var(--bevel-out),
    0 0 0 1px var(--gold-dim),
    0 18px 40px -16px rgba(0,0,0,0.85),
    0 0 60px -20px rgba(139,10,22,0.45);
  padding: 3px;
  position: relative;
}
@media (min-width: 900px) {
  .win-hero      { transform: translateX(-6px); }
  .win-text#readme { transform: translateX(8px); }
  .win-text#rules  { transform: translateX(-4px); }
  .win-folder      { transform: translateX(6px); }
  .win-bbs         { transform: translateX(-8px); }
  .win-term        { transform: translateX(2px); }
}

.titlebar {
  display: flex; align-items: center; justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 60%),
    linear-gradient(90deg, var(--blood-deep) 0%, var(--blood) 50%, var(--blood-deep) 100%);
  color: var(--gold-bright);
  padding: 4px 4px 4px 8px;
  user-select: none;
  border-bottom: 1px solid #000;
}
.tb-title {
  font-family: "Tahoma", sans-serif;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 1px 1px 0 #000;
}
.tb-icon { font-size: 13px; color: var(--gold-bright); }
.tb-controls { display: inline-flex; gap: 3px; flex-shrink: 0; }
.tb-btn {
  width: 18px; height: 16px;
  background: var(--panel-2);
  color: var(--gold-bright);
  border: none;
  box-shadow: var(--bevel-out);
  font-family: "Tahoma", sans-serif;
  font-size: 10px;
  font-weight: bold;
  line-height: 14px;
  padding: 0;
  cursor: default;
}
.tb-btn:active { box-shadow: var(--bevel-in); }
.tb-x { color: var(--blood-bright); }

.winbody {
  background: var(--panel-1);
  padding: 18px 18px 20px;
  border-top: 1px solid var(--gold-dim);
  color: var(--ink);
}

/* ═══ BUTTONS (dark, gold-trimmed) ═══ */
.btn-3d {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background:
    linear-gradient(180deg, var(--panel-3) 0%, var(--panel-1) 100%);
  color: var(--gold-bright);
  border: none;
  box-shadow: var(--bevel-out);
  padding: 9px 22px;
  font-family: "Tahoma", "MS Sans Serif", sans-serif;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  text-shadow: 1px 1px 0 #000;
}
.btn-3d:hover {
  background: linear-gradient(180deg, #2a2014 0%, #1a1208 100%);
  color: #fff;
  text-decoration: none;
}
.btn-3d:active { box-shadow: var(--bevel-in); padding: 10px 21px 8px 23px; }
.btn-3d:visited { color: var(--gold-bright); }
.btn-primary {
  background:
    linear-gradient(180deg, #4a1a20 0%, #2a0a10 100%);
  color: var(--gold-bright);
  box-shadow: var(--bevel-out), 0 0 12px rgba(194,16,47,0.45);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #6a1a26 0%, #3a0e16 100%);
  color: #fff;
  box-shadow: var(--bevel-out), 0 0 18px rgba(194,16,47,0.7);
}

/* ═══ KICKERS (//comment style) ═══ */
.kicker {
  font-family: "Consolas", "Lucida Console", monospace;
  font-size: 11px;
  color: var(--gold);
  margin: 0 0 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ═══ SLOGAN (blackletter mantra) ═══ */
.slogan-frak {
  font-family: "UnifrakturMaguntia", "Old English Text MT", "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0;
  text-rendering: optimizeLegibility;
}
.hero-slogan {
  font-size: clamp(34px, 5.4vw, 60px);
  color: var(--bone);
  margin: 0 0 18px;
  text-shadow: 0 0 18px rgba(201,162,61,0.4), 2px 2px 0 #000;
}
.finale-slogan {
  font-size: clamp(30px, 4.4vw, 46px);
  color: var(--gold-bright);
  margin: 22px 0 14px;
  text-align: center;
  text-shadow: 0 0 14px rgba(255,216,58,0.45), 2px 2px 0 #000;
}
.rule-final {
  grid-template-columns: 32px 1fr 32px !important;
  background: linear-gradient(90deg, #1a0606 0%, #2a0a10 50%, #1a0606 100%) !important;
  padding: 22px 18px !important;
  border: 2px ridge var(--blood) !important;
  text-align: center;
  align-items: center !important;
  gap: 14px !important;
}
.rule-final .rule-text {
  color: var(--gold-bright);
  text-align: center;
}
.rule-slogan {
  display: inline-block;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold-bright);
  text-shadow: 0 0 12px rgba(255,216,58,0.5), 2px 2px 0 #000;
}
.bbs-slogan {
  font-size: clamp(32px, 4.6vw, 48px);
  color: var(--gold-bright);
  text-align: center;
  margin: 18px 0 22px;
  text-shadow: 0 0 16px rgba(201,162,61,0.4), 2px 2px 0 #000;
}
.term-slogan {
  font-size: clamp(26px, 3.6vw, 38px);
  color: var(--gold-bright);
  margin: 0;
  text-align: center;
  text-shadow: 0 0 12px rgba(255,216,58,0.6), 1px 1px 0 #000;
}
.term-flame-row {
  display: flex; align-items: center; justify-content: center;
  gap: 22px;
  margin: 8px 0 10px;
  flex-wrap: wrap;
}
.bsod-slogan {
  font-size: clamp(30px, 4.5vw, 48px);
  color: #fff;
  text-align: center;
  margin: 14px auto 18px;
  max-width: 760px;
  text-shadow: 0 0 16px rgba(255,255,255,0.35), 2px 2px 0 rgba(0,0,0,0.4);
}

/* ═══ HERO WINDOW ═══ */
.hero-body {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px 24px 28px;
  background: var(--panel-1);
}
.hero-mascot-wrap {
  background: #000;
  box-shadow: var(--bevel-in), 0 0 0 1px var(--gold-dim);
  padding: 16px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  min-height: 320px;
}
.hero-mascot-wrap::before {
  content: "REVENGE.exe - Picture Viewer";
  position: absolute; top: -16px; left: 0;
  font-family: "Tahoma", sans-serif;
  font-size: 10px;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-mascot {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(255,255,255,0.08));
}
.hero-copy { padding-left: 4px; }
.hero-wordmark {
  width: 100%;
  max-width: 460px;
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(2px 2px 0 #000) drop-shadow(0 0 18px rgba(157,126,224,0.25));
}
.hero-questions {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-family: "IM Fell English", "Cormorant Garamond", serif;
  font-size: 19px;
  color: var(--ink);
}
.hero-questions li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(201,162,61,0.22);
}
.hero-questions li:last-child { border-bottom: none; }
.hero-line {
  font-family: "IM Fell English", serif;
  font-size: 19px;
  margin: 0 0 22px;
  color: var(--ink);
}
.hero-line strong {
  background: var(--blood-bright);
  color: #fff;
  padding: 2px 8px;
  font-weight: bold;
  text-shadow: 1px 1px 0 #000;
  box-shadow: 0 0 12px rgba(194,16,47,0.55);
  display: inline-block;
}
.hero-cta-row {
  display: flex; gap: 10px; flex-wrap: wrap;
}

@media (max-width: 800px) {
  .hero-body { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
  .hero-mascot-wrap { min-height: auto; }
  .hero-wordmark { max-width: 100%; }
}

/* ═══ TEXT WINDOWS (readme.txt, rules.txt) ═══ */
.win-text .winbody {
  background:
    linear-gradient(180deg, rgba(255,216,58,0.02) 0%, transparent 100%),
    var(--panel-1);
  padding: 24px 28px 28px;
  font-family: "IM Fell English", "Cormorant Garamond", serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
}
.win-text p { margin: 0 0 14px; }
.win-text .finale {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(201,162,61,0.25);
  text-align: center;
}
.win-text .finale strong {
  background: var(--blood-bright);
  color: #fff;
  padding: 3px 10px;
  font-weight: bold;
  text-shadow: 1px 1px 0 #000;
  box-shadow: 0 0 14px rgba(194,16,47,0.55);
  display: inline-block;
  font-family: "IM Fell English", serif;
}

/* ═══ GREENTEXT (4chan style, dark gothic) ═══ */
.greentext {
  font-family: "Consolas", "Lucida Console", "Courier New", monospace;
  font-size: 14px;
  color: #8fb44a;
  background: #0a0e04;
  padding: 16px 20px;
  border-left: 3px solid var(--green-4);
  border-top: 1px solid rgba(106,145,40,0.4);
  border-bottom: 1px solid rgba(106,145,40,0.4);
  margin: 22px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.greentext span { display: block; line-height: 1.45; }

/* ═══ RULES LIST ═══ */
.rules-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 6px;
  font-family: "IM Fell English", "Cormorant Garamond", serif;
}
.rules-list li {
  display: grid;
  grid-template-columns: 24px 44px 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 12px 14px;
  background: var(--panel-2);
  border: 1px solid rgba(201,162,61,0.20);
  font-size: 18px;
  color: var(--ink);
  position: relative;
}
.rules-list li:hover {
  background: var(--panel-3);
  border-color: rgba(201,162,61,0.45);
}
.rules-list .px-d {
  margin: 0;
  align-self: center;
  filter: drop-shadow(0 0 6px rgba(95,212,216,0.5));
}
.rule-n {
  font-family: "Consolas", monospace;
  font-weight: bold;
  font-size: 16px;
  color: var(--blood-bright);
  align-self: center;
}
.rule-text {
  color: var(--ink);
}
.rule-text em {
  font-style: italic;
  color: var(--ink-faint);
  font-size: 15px;
}

/* ═══ FOLDER WINDOW (Conquests) ═══ */
.folder-toolbar {
  display: flex; align-items: center; gap: 14px;
  background: var(--panel-2);
  padding: 5px 12px;
  font-family: "Tahoma", sans-serif;
  font-size: 11px;
  color: var(--ink);
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid #000;
}
.tool {
  cursor: default;
  padding: 1px 6px;
  color: var(--ink-soft);
}
.tool:hover { background: var(--blood); color: var(--gold-bright); }
.folder-meta {
  margin-left: auto;
  font-size: 10px;
  color: var(--ink-faint);
  font-family: "IM Fell English", serif;
  font-style: italic;
  font-size: 13px;
}
.win-folder .winbody {
  background: var(--panel-1);
  padding: 14px;
}
.folder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.folder-grid .filecard.feature { grid-column: span 4; }
.filecard {
  margin: 0;
  background: #000;
  border: 1px solid var(--gold-dim);
  padding: 6px;
  cursor: default;
  transition: background 0.15s, border-color 0.15s, transform 0.2s;
}
.filecard:hover {
  background: #1a0e08;
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(201,162,61,0.35);
}
.filecard img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
  display: block;
  filter: contrast(1.05) saturate(1.05);
}
.filecard.feature img {
  aspect-ratio: 21 / 9;
}
.filecard figcaption {
  display: grid;
  gap: 2px;
  padding: 8px 4px 4px;
  font-family: "IM Fell English", serif;
}
.fname {
  font-size: 13px;
  font-weight: bold;
  color: var(--gold-bright);
  word-break: break-all;
  font-family: "Consolas", monospace;
  letter-spacing: 0.02em;
}
.fline {
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
}

@media (max-width: 900px) {
  .folder-grid { grid-template-columns: repeat(3, 1fr); }
  .filecard.feature { grid-column: span 3; }
}
@media (max-width: 600px) {
  .folder-grid { grid-template-columns: repeat(2, 1fr); }
  .filecard.feature { grid-column: span 2; aspect-ratio: 1 / 1; }
}

/* ═══ BBS WINDOW (trenches) ═══ */
.win-bbs .titlebar {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 60%),
    linear-gradient(90deg, #2a1f08 0%, #5a4520 50%, #2a1f08 100%);
}
.win-bbs .winbody {
  background: var(--panel-1);
  padding: 24px 28px 24px;
  font-family: "IM Fell English", "Cormorant Garamond", serif;
  font-size: 17px;
  color: var(--ink);
}
.bbs-intro {
  margin: 0 0 14px;
  font-weight: 500;
  color: var(--bone);
}
.bbs-slogans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0 18px;
}
.slogan-tile {
  background: #000;
  border: 1px solid var(--gold-dim);
  box-shadow: var(--bevel-out);
  padding: 14px;
  display: flex; align-items: center; justify-content: center;
  min-height: 130px;
  transition: border-color 0.2s, transform 0.2s;
}
.slogan-tile:hover {
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}
.slogan-tile img {
  width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(157,126,224,0.25));
}
.bbs-cta {
  display: flex; justify-content: center;
  margin-top: 8px;
}

@media (max-width: 700px) {
  .bbs-slogans { grid-template-columns: 1fr; }
}

/* ═══ TERMINAL WINDOW (buy.bat) ═══ */
.win-term .titlebar.term-tb {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 60%),
    linear-gradient(90deg, #000 0%, #1a1a1a 50%, #000 100%);
}
.win-term .winbody {
  background: var(--term-bg);
  color: var(--term-fg);
  padding: 18px 18px 22px;
  font-family: "Consolas", "Lucida Console", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.5;
  border-top: 1px solid var(--gold-dim);
}
.term-pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: inherit;
  color: var(--term-fg);
}
.term-cmd { color: var(--gold-bright); font-weight: bold; }
.caret {
  display: inline-block;
  background: var(--gold-bright);
  width: 8px; height: 14px;
  vertical-align: -2px;
  animation: caret 1.05s steps(2) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.win-term .ca-row {
  display: flex; gap: 8px; margin: 8px 0 4px;
  flex-wrap: wrap;
}
.ca-input {
  flex: 1; min-width: 240px;
  background: #0a0a14;
  color: var(--gold-bright);
  border: 1px solid var(--gold-dim);
  padding: 10px 12px;
  font-family: "Consolas", "Lucida Console", monospace;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.02em;
}
.btn-copy.btn-3d {
  font-family: "Consolas", monospace;
}
.btn-copy.btn-3d.copied {
  background: linear-gradient(180deg, #2a4a1a 0%, #0e2a0a 100%);
  color: #b8f4a0;
}

.term-buttons {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 6px 0 4px;
}

/* ═══ BSOD FOOTER ═══ */
.bsod {
  background: linear-gradient(180deg, var(--bsod) 0%, #050b2a 100%);
  color: #fff;
  padding: 36px 24px 56px;
  font-family: "Consolas", "Lucida Console", "Courier New", monospace;
  margin-top: 18px;
  position: relative;
  z-index: 2;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}
.bsod-skulls {
  display: flex; justify-content: center; gap: 26px;
  margin: 0 auto 20px;
  max-width: 760px;
}
.bsod-pre {
  margin: 0 auto;
  max-width: 760px;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.55;
  color: #fff;
}

/* ═══ TASKBAR (bottom) ═══ */
.taskbar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: flex; align-items: center; gap: 4px;
  background: var(--panel-1);
  box-shadow: 0 -1px 0 var(--gold-dim) inset;
  border-top: 1px solid #000;
  padding: 3px 4px;
  height: 30px;
  font-family: "Tahoma", sans-serif;
  font-size: 12px;
  color: var(--ink);
  user-select: none;
}
.start-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(180deg, var(--panel-3) 0%, var(--panel-1) 100%);
  color: var(--gold-bright);
  border: none;
  box-shadow: var(--bevel-out);
  padding: 3px 12px 3px 9px;
  font-family: "Tahoma", sans-serif;
  font-size: 13px;
  font-weight: bold;
  cursor: default;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.start-btn:active { box-shadow: var(--bevel-in); }
.start-icon { color: var(--blood-bright); font-weight: bold; font-size: 14px; }
.task-divider {
  width: 1px; height: 22px;
  background: linear-gradient(180deg, #000 0%, var(--gold-dim) 100%);
  margin: 0 2px;
}
.task-app {
  background: var(--panel-2);
  color: var(--ink);
  box-shadow: var(--bevel-out);
  padding: 3px 12px;
  font-size: 12px;
  white-space: nowrap;
  display: inline-flex; align-items: center;
}
.task-clock {
  margin-left: auto;
  background: var(--panel-2);
  color: var(--gold-bright);
  box-shadow: var(--bevel-in);
  padding: 3px 10px;
  font-family: "Consolas", monospace;
  font-size: 12px;
  font-weight: bold;
}
@media (max-width: 720px) {
  .task-app:nth-child(n+4) { display: none; }
}

/* ═══ REVEAL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01s !important; transition-duration: 0.01s !important; }
  .reveal { opacity: 1; transform: none; }
}
