@import url('https://fonts.googleapis.com/css2?family=Butcherman&family=Permanent+Marker&family=Special+Elite&display=swap');

/* ================= RESET ================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  background:
    linear-gradient(rgba(226, 32, 46, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 32, 46, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 18% 10%, rgba(122, 15, 22, 0.18), transparent 28%),
    #050505;
  background-size: 38px 38px, 38px 38px, auto, auto;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.12;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
  animation: scanline-shift 8s linear infinite;
}

img {
  max-width: 100%;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

::selection {
  color: #fff;
  background: var(--blood-deep);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #050505;
  background: linear-gradient(#555, #151515);
}

:focus-visible {
  outline: 2px solid var(--blood);
  outline-offset: 2px;
}

/* ================= TOKENS ================= */
:root {
  --void: #050505;
  --black: #090909;
  --panel: #101010;
  --panel-soft: #171717;
  --steel: #4e4e4e;
  --steel-light: #a7a7a7;
  --ink: #eee9df;
  --ink-dim: #aaa49a;
  --bone: #d8d3c8;
  --blood: #e2202e;
  --blood-deep: #7a0f16;
  --line: rgba(255, 255, 255, 0.25);
  --font-display: "Butcherman", "Courier New", cursive;
  --font-mono: "Special Elite", "Courier New", monospace;
  --font-hand: "Permanent Marker", cursive;
}

@keyframes scanline-shift {
  to {
    background-position: 0 90px;
  }
}

/* ================= CURSOR SPARKS ================= */
.spark {
  position: fixed;
  width: 5px;
  height: 5px;
  z-index: 10000;
  pointer-events: none;
  border-radius: 50%;
  background: var(--blood);
  box-shadow: 0 0 8px 2px rgba(226, 32, 46, 0.7);
  animation: spark-fade 0.6s ease-out forwards;
}

@keyframes spark-fade {
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.25);
  }
}

/* ================= OUTER STAGE ================= */
.site-stage {
  position: relative;
  width: min(1280px, calc(100% - 20px));
  margin: 18px auto 40px;
}

.site-frame {
  position: relative;
  width: 980px;
  max-width: 100%;
  overflow: hidden;
  border: 4px double #9f9a90;
  outline: 1px dotted rgba(255, 255, 255, 0.4);
  outline-offset: 4px;
  background: #080808;
  box-shadow:
    0 0 0 2px #000,
    0 0 0 5px rgba(216, 211, 200, 0.13),
    0 18px 45px rgba(0, 0, 0, 0.75);
}

.site-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 0.65px, transparent 0.65px);
  background-size: 5px 5px;
  mix-blend-mode: overlay;
}

/* ================= HEADER ================= */
.masthead {
  position: relative;
  z-index: 1;
  padding: 8px 8px 0;
}

.brand-banner {
  min-height: 104px;
  display: grid;
  grid-template-columns: 82px 1fr 94px;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border: 3px double #8d8d8d;
  background:
    linear-gradient(90deg, rgba(122, 15, 22, 0.32), transparent 26%, rgba(122, 15, 22, 0.16)),
    radial-gradient(circle at center, #1a1a1a, #050505 66%);
  box-shadow:
    inset 0 0 0 1px #000,
    inset 0 0 22px rgba(226, 32, 46, 0.15);
}

.brand-logo {
  width: 60px;
  margin: auto;
  filter: grayscale(1) brightness(1.8) drop-shadow(0 0 8px rgba(226, 32, 46, 0.6));
  animation: logo-pulse 3s ease-in-out infinite;
}

.brand-copy {
  min-width: 0;
}

.brand-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 2px;
  white-space: nowrap;
  text-shadow:
    2px 2px 0 #000,
    -1px -1px 0 #555,
    0 0 10px rgba(255, 255, 255, 0.12);
  animation: title-glitch 7s infinite;
}

.brand-copy h1 span {
  color: #e8e8e8;
}

.brand-copy h1 strong {
  margin-left: 8px;
  color: var(--blood);
  font-weight: 400;
}

.brand-copy p {
  min-height: 18px;
  margin: 9px 0 0;
  color: var(--ink-dim);
  font-size: 13px;
  letter-spacing: 2px;
}

.type-cursor {
  display: inline-block;
  width: 7px;
  margin-left: 2px;
  background: var(--blood);
  animation: caret-blink 0.85s steps(1) infinite;
}

.online-card {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 6px;
  border: 2px outset #777;
  color: var(--ink);
  background: linear-gradient(#272727, #080808);
  box-shadow: inset 0 0 8px #000;
}

.online-dot,
.status-light {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blood);
  box-shadow: 0 0 8px var(--blood);
  animation: status-blink 1.8s steps(1) infinite;
}

.online-card small {
  color: var(--ink-dim);
}

.ticker {
  overflow: hidden;
  margin-top: 6px;
  border: 2px inset #555;
  background: #060606;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 14px;
  padding: 5px 0 4px 100%;
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: 1px;
  animation: ticker-scroll 26s linear infinite;
}

.ticker-track b,
.ticker-track i {
  color: var(--blood);
}

@keyframes ticker-scroll {
  to {
    transform: translateX(-100%);
  }
}

@keyframes logo-pulse {
  50% {
    transform: scale(1.07);
    filter: grayscale(1) brightness(2.1) drop-shadow(0 0 14px rgba(226, 32, 46, 0.8));
  }
}

@keyframes title-glitch {
  0%, 94%, 100% {
    transform: translate(0);
  }
  95% {
    transform: translate(-2px, 1px);
    text-shadow: -3px 0 var(--blood), 3px 0 #55c8ff;
  }
  96% {
    transform: translate(2px, -1px);
    text-shadow: 3px 0 var(--blood), -3px 0 #55c8ff;
  }
  97% {
    transform: translate(0);
  }
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

@keyframes status-blink {
  50% {
    opacity: 0.35;
  }
}

/* ================= MAIN LAYOUT ================= */
.desktop-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr) 188px;
  gap: 6px;
  padding: 6px 8px 8px;
}

.sidebar,
.content-column,
.rightbar {
  min-width: 0;
}

.panel {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.panel.in-view {
  opacity: 1;
  transform: translateY(0);
}

.site-box {
  margin-bottom: 6px;
  overflow: hidden;
  border: 3px double #858585;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--panel);
  box-shadow:
    inset 0 0 0 1px #000,
    inset 0 0 10px rgba(255, 255, 255, 0.025),
    0 2px 0 #000;
}

.box-title {
  margin: 0;
  padding: 4px 7px 3px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.1;
  text-align: center;
  text-shadow: 1px 1px 0 #000;
  border-bottom: 2px ridge #686868;
  background:
    linear-gradient(90deg, rgba(122, 15, 22, 0.85), rgba(34, 34, 34, 0.9) 45%, rgba(122, 15, 22, 0.55)),
    #181818;
}

/* ================= LEFT SIDEBAR ================= */
.side-nav {
  display: grid;
  gap: 3px;
  padding: 5px;
}

.side-nav a,
.mini-menu a {
  display: block;
  padding: 6px 7px 5px;
  color: #f0f0f0;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  border: 2px outset #666;
  background: linear-gradient(#3c3c3c, #080808);
  box-shadow: inset 0 0 0 1px #000;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.side-nav a::before,
.mini-menu a::before {
  content: "✦";
  margin-right: 6px;
  color: var(--blood);
}

.side-nav a:hover,
.side-nav a.active,
.mini-menu a:hover {
  color: #fff;
  background: linear-gradient(#9b2028, #3b0609);
  transform: translateX(2px);
}

.profile-box {
  padding-bottom: 8px;
  text-align: center;
}

.profile-photo-wrap {
  margin: 7px;
  padding: 4px;
  border: 2px inset #666;
  background: #000;
}

.profile-photo {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
  filter: grayscale(0.65) contrast(1.12) saturate(0.7);
}

.profile-box p {
  margin: 3px 7px;
  font-size: 11px;
}

.hand-note {
  color: var(--blood);
  font-family: var(--font-hand);
  font-size: 14px !important;
  transform: rotate(-2deg);
}

.mini-menu {
  padding-bottom: 5px;
}

.mini-menu a {
  margin: 4px 5px 0;
  font-size: 10px;
}

.system-box dl {
  margin: 0;
  padding: 5px 7px;
}

.system-box dl div {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 0;
  font-size: 10px;
  border-bottom: 1px dotted #555;
}

.system-box dt {
  color: var(--ink-dim);
}

.system-box dd {
  margin: 0;
  color: var(--blood);
  font-weight: bold;
}

/* ================= CENTER ================= */
.welcome-grid {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 9px;
  padding: 7px;
}

.welcome-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border: 2px inset #777;
  filter: grayscale(0.4) contrast(1.08) saturate(0.7);
}

.welcome-copy {
  padding: 2px 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.25;
}

.welcome-copy p {
  margin: 0 0 8px;
}

.welcome-copy b,
.notice-line {
  color: #ff4a52;
}

.notice-line {
  padding: 5px 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  border: 1px dashed var(--blood-deep);
  background: rgba(122, 15, 22, 0.12);
}

/* ================= PLAYER ================= */
.player-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 208px;
  gap: 8px;
  padding: 8px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 65%),
    #0a0a0a;
}

.yt-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  align-self: center;
  border: 3px ridge #747474;
  background: #000;
  box-shadow: inset 0 0 10px #000;
}

.yt-frame iframe,
.yt-frame #yt-player-mount {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.player-console {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 170px;
  padding: 8px;
  border: 4px outset #777;
  border-radius: 4px 22px 4px 22px;
  color: #111;
  background: linear-gradient(145deg, #e3e3e3, #8d8d8d);
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.7), 0 0 0 1px #000;
}

.console-screen {
  min-height: 82px;
  padding: 7px;
  color: var(--ink);
  border: 3px inset #737373;
  background:
    linear-gradient(rgba(122, 15, 22, 0.28), rgba(0, 0, 0, 0.45)),
    #0a0a0a;
  box-shadow: inset 0 0 14px #000;
}

.listen-box {
  display: grid;
  grid-template-columns: 53px 1fr;
  align-items: end;
  gap: 7px;
}

.bars {
  display: flex;
  align-items: end;
  gap: 2px;
  min-height: 47px;
}

.bars span {
  display: block;
  width: 5px;
  border-radius: 1px;
  background: var(--blood);
  box-shadow: 0 0 5px rgba(226, 32, 46, 0.65);
  animation: bar-bounce 1.1s ease-in-out infinite;
}

.bars span:nth-child(1) { height: 18px; animation-delay: 0s; }
.bars span:nth-child(2) { height: 32px; animation-delay: .08s; }
.bars span:nth-child(3) { height: 23px; animation-delay: .16s; }
.bars span:nth-child(4) { height: 42px; animation-delay: .24s; }
.bars span:nth-child(5) { height: 29px; animation-delay: .32s; }
.bars span:nth-child(6) { height: 38px; animation-delay: .40s; }
.bars span:nth-child(7) { height: 20px; animation-delay: .48s; }
.bars span:nth-child(8) { height: 34px; animation-delay: .56s; }

.listen-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.track-song {
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.track-artist {
  color: var(--bone);
  font-size: 12px;
}

.track-album {
  color: var(--ink-dim);
  font-size: 10px;
  font-style: italic;
}

.red-txt {
  margin-top: 2px;
  color: #ff404b;
  font-size: 9px;
  font-weight: bold;
  line-height: 1.1;
}

.player-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.player-btn {
  min-width: 46px;
  min-height: 38px;
  padding: 5px;
  color: #111;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  border: 3px outset #fff;
  border-radius: 50%;
  background: linear-gradient(#fafafa, #9d9d9d);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
}

.player-btn:hover {
  color: var(--blood-deep);
  filter: brightness(1.08);
}

.player-btn:active {
  border-style: inset;
  transform: translateY(2px);
}

.play-btn {
  min-width: 54px;
  min-height: 54px;
  color: #fff;
  font-size: 21px;
  background: radial-gradient(circle, #2d2d2d 0 42%, #a7a7a7 44% 55%, #1b1b1b 57%);
}

.playlist-status {
  color: #222;
  font-size: 9px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
}

@keyframes bar-bounce {
  50% {
    opacity: 0.55;
    transform: scaleY(0.58);
  }
}

/* ================= IMAGE STRIP ================= */
.strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  padding: 5px;
}

.strip-grid img {
  width: 100%;
  height: 51px;
  object-fit: cover;
  border: 2px outset #777;
  filter: grayscale(0.75) contrast(1.15);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.strip-grid img:hover {
  z-index: 2;
  filter: grayscale(0) saturate(1.1) contrast(1.1);
  transform: scale(1.1);
}

/* ================= LOWER CENTER ================= */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.file-list {
  margin: 0;
  padding: 5px 8px;
  list-style: none;
}

.file-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 6px 4px;
  border-bottom: 1px dotted #5e5e5e;
}

.file-list b {
  color: #fff;
  font-size: 11px;
}

.file-list span {
  color: var(--ink-dim);
  font-size: 9px;
  text-align: right;
}

.featured-box {
  padding-bottom: 3px;
}

.feature-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 7px;
  margin: 5px;
  padding: 5px;
  border: 2px ridge #737373;
  background: #0a0a0a;
}

.feature-card img {
  width: 62px;
  height: 55px;
  object-fit: cover;
  filter: grayscale(0.45) contrast(1.1);
}

.feature-card strong {
  color: var(--blood);
  font-size: 11px;
}

.feature-card p {
  margin: 3px 0 0;
  font-size: 9px;
  line-height: 1.2;
}

.button-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 6px;
}

.button-wall a {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 4px;
  color: #eee;
  font-size: 9px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: 2px outset #777;
  background:
    repeating-linear-gradient(135deg, transparent 0 4px, rgba(255, 255, 255, 0.035) 4px 8px),
    linear-gradient(#333, #080808);
}

.button-wall a:hover {
  color: #fff;
  border-color: var(--blood);
  background: linear-gradient(#8f1a22, #290306);
}

/* ================= RIGHT SIDEBAR ================= */
.scroll-box {
  max-height: 184px;
  overflow-y: auto;
  padding: 5px 6px;
}

.scroll-box article {
  padding: 5px 1px;
  border-bottom: 1px dotted #5b5b5b;
}

.scroll-box time {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: bold;
}

.scroll-box p {
  margin: 3px 0 0;
  color: var(--ink-dim);
  font-size: 9px;
  line-height: 1.25;
}

.status-box {
  padding-bottom: 5px;
}

.status-box p {
  margin: 6px 7px;
  font-size: 9px;
}

.status-light {
  width: 6px;
  height: 6px;
  margin-right: 5px;
}

.stamps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 5px;
}

.stamps-grid span {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 4px;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  line-height: 1.05;
  text-align: center;
  border: 1px dashed #777;
  background:
    linear-gradient(90deg, rgba(122, 15, 22, 0.38), transparent),
    #090909;
  transition: transform 0.18s ease, color 0.18s ease;
}

.stamps-grid span:hover {
  color: #ff4a52;
  transform: rotate(-2deg) scale(1.04);
}

.webring-controls {
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  align-items: center;
  gap: 4px;
  padding: 8px 5px 2px;
}

.webring-controls button {
  cursor: pointer;
  border: 2px outset #777;
  background: #171717;
  color: var(--ink);
}

.webring-controls b {
  color: var(--blood);
  font-family: var(--font-hand);
  font-size: 14px;
  text-align: center;
}

.webring-box small {
  display: block;
  padding-bottom: 7px;
  color: var(--ink-dim);
  text-align: center;
}

.counter-box {
  padding-bottom: 7px;
  text-align: center;
}

.digits {
  display: inline-block;
  margin: 7px auto 3px;
  padding: 4px 7px;
  color: #ff5b62;
  font-family: "Courier New", monospace;
  font-weight: bold;
  letter-spacing: 3px;
  border: 2px inset #666;
  background: #000;
  text-shadow: 0 0 6px var(--blood);
}

.counter-box p {
  margin: 2px 0;
  color: var(--ink-dim);
  font-size: 9px;
}

/* ================= PSP DECOR ================= */
.psp-decor {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 232px;
  padding: 28px 8px 20px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at center,
      rgba(122, 15, 22, 0.22),
      transparent 62%
    );
}

.psp-decor::before {
  content: "PORTABLE SAVE FILE";
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  color: rgba(238, 233, 223, 0.56);
  font-size: 8px;
  letter-spacing: 1.5px;
  white-space: nowrap;
  transform: translateX(-50%);
}

.psp-decor::after {
  content: "";
  position: absolute;
  inset: 18px 3px 8px;
  z-index: -1;
  pointer-events: none;
  border-top: 1px dotted rgba(255, 255, 255, 0.14);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.09);
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 3px,
      rgba(255, 255, 255, 0.018) 3px 4px
    );
}

.psp-decor img {
  display: block;
  width: min(100%, 176px);
  height: auto;
  transform: rotate(-6deg);
  filter:
    drop-shadow(0 15px 12px rgba(0, 0, 0, 0.82))
    drop-shadow(0 0 9px rgba(226, 32, 46, 0.32));
  animation: psp-float 4.8s ease-in-out infinite;
}

@keyframes psp-float {
  50% {
    transform: rotate(-3deg) translateY(-7px);
  }
}

/* ================= FOOTER ================= */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 8px;
  color: var(--ink-dim);
  font-size: 10px;
  text-align: center;
  letter-spacing: 1px;
  border-top: 3px double #777;
  background: #050505;
}

/* ================= OUTSIDE DECOR ================= */
.outside-decor {
  position: absolute;
  top: 42px;
  left: 1015px;
  width: 235px;
  min-height: 720px;
  pointer-events: none;
}

.decor-card {
  position: absolute;
  top: 40px;
  left: 15px;
  width: 180px;
  padding: 14px;
  text-align: center;
  border: 2px dashed rgba(255, 255, 255, 0.28);
  background: rgba(8, 8, 8, 0.86);
  transform: rotate(3deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.55);
}

.decor-card img {
  width: 75px;
  filter: grayscale(1) brightness(1.8) drop-shadow(0 0 10px var(--blood));
}

.decor-card span {
  display: block;
  margin-top: 8px;
  color: var(--blood);
  font-family: var(--font-hand);
  font-size: 15px;
}

.floating-controller {
  position: absolute;
  top: 330px;
  left: 22px;
  width: 205px;
  transform: rotate(-8deg);
  filter:
    grayscale(0.35)
    drop-shadow(0 16px 16px rgba(0, 0, 0, 0.75))
    drop-shadow(0 0 10px rgba(226, 32, 46, 0.25));
  animation: controller-float 4s ease-in-out infinite;
}

.outside-note {
  position: absolute;
  top: 575px;
  left: 50px;
  width: 150px;
  padding: 13px 8px;
  color: #111;
  font-family: var(--font-hand);
  font-size: 17px;
  text-align: center;
  background: var(--bone);
  transform: rotate(-5deg);
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.55);
}

.outside-note strong {
  color: var(--blood-deep);
  font-size: 24px;
}

@keyframes controller-float {
  50% {
    transform: rotate(-4deg) translateY(-10px);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1120px) {
  .site-stage {
    width: min(980px, calc(100% - 18px));
  }

  .outside-decor {
    display: none;
  }
}

@media (max-width: 860px) {
  .desktop-grid {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .rightbar {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .rightbar .site-box {
    margin-bottom: 0;
  }

  .update-box {
    grid-column: span 2;
  }

  .psp-decor {
    grid-column: 1 / -1;
    min-height: 180px;
    padding-block: 28px 16px;
  }

  .psp-decor img {
    width: min(100%, 220px);
  }
}

@media (max-width: 680px) {
  body {
    font-size: 13px;
  }

  .site-stage {
    width: calc(100% - 12px);
    margin-top: 10px;
  }

  .site-frame {
    outline: none;
  }

  .brand-banner {
    grid-template-columns: 52px 1fr;
  }

  .brand-logo {
    width: 44px;
  }

  .brand-copy h1 {
    font-size: clamp(36px, 14vw, 58px);
  }

  .online-card {
    grid-column: 1 / -1;
    grid-template-columns: auto auto auto;
    justify-content: center;
  }

  .desktop-grid {
    grid-template-columns: 1fr;
  }

  .side-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .nav-box,
  .system-box {
    grid-column: 1 / -1;
  }

  .sidebar .site-box {
    margin-bottom: 0;
  }

  .welcome-grid,
  .player-grid,
  .split-row {
    grid-template-columns: 1fr;
  }

  .welcome-image {
    height: 210px;
  }

  .player-console {
    min-height: 210px;
  }

  .strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .strip-grid img {
    height: 80px;
  }

  .button-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .rightbar {
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
  }

  .update-box,
  .counter-box,
  .psp-decor {
    grid-column: 1 / -1;
  }

  .psp-decor {
    min-height: 165px;
  }

  .psp-decor img {
    width: min(76vw, 230px);
  }
}

@media (max-width: 430px) {
  .sidebar,
  .rightbar {
    grid-template-columns: 1fr;
  }

  .sidebar > *,
  .rightbar > *,
  .update-box,
  .counter-box,
  .psp-decor {
    grid-column: auto;
  }

  .brand-copy p {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .button-wall,
  .stamps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ================= ACCESSIBILITY ================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .panel {
    opacity: 1;
    transform: none;
  }
}

/* ==================================================
   DECORACIÓN EXTERIOR EN CELULAR
   Convierte los adornos laterales en una franja inferior
================================================== */

@media (max-width: 680px) {
  .outside-decor {
    position: relative;
    top: auto;
    left: auto;

    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      minmax(100px, 130px)
      minmax(0, 1fr);

    align-items: center;
    gap: 10px;

    width: 100%;
    min-height: 0;
    margin: 10px auto 0;
    padding: 14px 10px;

    pointer-events: none;

    border-top: 3px double #777;
    border-bottom: 3px double #777;

    background:
      repeating-linear-gradient(
        0deg,
        transparent 0 2px,
        rgba(255, 255, 255, 0.025) 2px 3px
      ),
      linear-gradient(
        180deg,
        rgba(70, 5, 9, 0.3),
        #050505 45%,
        #090202
      );

    box-shadow:
      inset 0 0 18px rgba(0, 0, 0, 0.9),
      0 8px 18px rgba(0, 0, 0, 0.55);
  }

  .outside-decor .decor-card {
    position: relative;
    top: auto;
    left: auto;

    width: 100%;
    padding: 10px 6px;

    border: 1px dashed rgba(255, 255, 255, 0.25);

    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04),
        transparent
      ),
      rgba(6, 6, 6, 0.88);

    transform: rotate(-2deg);

    box-shadow:
      inset 0 0 8px #000,
      0 5px 10px rgba(0, 0, 0, 0.5);
  }

  .outside-decor .decor-card img {
    display: block;

    width: 52px;
    height: auto;
    margin: 0 auto;

    filter:
      grayscale(1)
      brightness(1.8)
      drop-shadow(0 0 7px var(--blood));
  }

  .outside-decor .decor-card span {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.15;
  }

  .outside-decor .floating-controller {
    position: relative;
    top: auto;
    left: auto;

    display: block;

    width: min(100%, 125px);
    height: auto;
    margin: 0 auto;

    transform: rotate(-5deg);

    filter:
      grayscale(0.25)
      drop-shadow(0 8px 8px rgba(0, 0, 0, 0.75))
      drop-shadow(0 0 7px rgba(226, 32, 46, 0.25));
  }

  .outside-decor .outside-note {
    position: relative;
    top: auto;
    left: auto;

    width: 100%;
    padding: 10px 5px;

    font-size: 13px;
    line-height: 1.1;

    transform: rotate(3deg);

    box-shadow:
      0 6px 12px rgba(0, 0, 0, 0.55);
  }

  .outside-decor .outside-note strong {
    display: block;
    margin-top: 3px;
    font-size: 18px;
  }
}

@media (max-width: 430px) {
  .outside-decor {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 22px;
  }

  .outside-decor .decor-card {
    width: min(100%, 220px);
    margin: 0 auto;
  }

  .outside-decor .floating-controller {
    width: 135px;
  }

  .outside-decor .outside-note {
    width: min(100%, 180px);
    margin: 0 auto;
  }
}

/* ==================================================
   MEDIA STRIP INTERACTIVO
================================================== */

.media-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  height: 55px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  appearance: none;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 8px #000;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.media-card::before {
  content: "OPEN FILE";
  position: absolute;
  left: 50%;
  bottom: 4px;
  z-index: 3;
  padding: 2px 6px;
  color: #fff;
  background: rgba(90, 5, 10, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 1px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 5px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(100, 0, 8, 0.45)
  );
  opacity: 0;
  transition: opacity 0.18s ease;
}

.strip-grid .media-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  filter:
    grayscale(0.55)
    contrast(1.12)
    brightness(0.8);
  transform: none;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.media-card:hover,
.media-card:focus-visible {
  z-index: 4;
  transform: translateY(-3px) scale(1.035);
  border-color: rgba(255, 35, 50, 0.85);
  box-shadow: 0 0 12px rgba(226, 32, 46, 0.5);
}

.media-card:hover::before,
.media-card:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.media-card:hover::after,
.media-card:focus-visible::after {
  opacity: 1;
}

.strip-grid .media-card:hover img,
.strip-grid .media-card:focus-visible img {
  transform: scale(1.08);
  filter:
    grayscale(0)
    contrast(1.12)
    brightness(1);
}

/* ==================================================
   MODAL PERSONALIZADO DE LORE
================================================== */

body.lore-is-open {
  overflow: hidden;
}

.lore-modal[hidden] {
  display: none !important;
}

.lore-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  place-items: center;
  padding: 14px;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(4px);
  transition:
    opacity 0.17s ease,
    visibility 0.17s ease;
}

.lore-modal.is-open {
  display: grid;
  opacity: 1;
  visibility: visible;
}

.lore-window {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 28px);
  overflow: hidden;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 2px,
      rgba(255, 255, 255, 0.018) 2px 3px
    ),
    linear-gradient(
      135deg,
      #080808,
      #160204 52%,
      #050505
    );
  border: 3px double #8b8b8b;
  box-shadow:
    0 0 0 2px #000,
    0 0 0 3px rgba(255, 255, 255, 0.12),
    0 0 35px rgba(226, 32, 46, 0.35);
  transform: translateY(12px) scale(0.96);
  transition: transform 0.2s ease;
}

.lore-modal.is-open .lore-window {
  transform: translateY(0) scale(1);
}

.lore-window::before {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: 10;
  pointer-events: none;
  border: 1px dotted rgba(255, 255, 255, 0.14);
}

.lore-window-bar {
  position: relative;
  z-index: 15;
  min-height: 38px;
  padding: 6px 8px 6px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(
    180deg,
    #77131b,
    #3c070b
  );
  border-bottom: 3px double #858585;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.2);
}

.lore-window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 1px 1px #000;
}

.lore-led {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ff2638;
  box-shadow:
    0 0 5px #ff2638,
    0 0 11px rgba(255, 38, 56, 0.8);
  animation: lore-led-pulse 1.3s ease-in-out infinite;
}

.lore-close {
  position: relative;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 30px;
  height: 26px;
  padding: 0;
  cursor: pointer;
  color: #fff;
  appearance: none;
  background: linear-gradient(
    180deg,
    #3d3d3d,
    #090909
  );
  border: 1px solid #aaa;
  font-family: Arial, sans-serif;
  font-size: 21px;
  line-height: 1;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.2);
}

.lore-close:hover,
.lore-close:focus-visible {
  color: #fff;
  background: linear-gradient(
    180deg,
    #b31b27,
    #57070d
  );
}

.lore-window-body {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(260px, 0.65fr);
  gap: 16px;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  padding: 18px;
}

.lore-image-frame {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #020202;
  border: 3px double #777;
  box-shadow:
    inset 0 0 24px #000,
    0 0 15px rgba(0, 0, 0, 0.75);
}

.lore-image-frame::before {
  content: "DANTE20K ARCHIVE";
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 4;
  padding: 3px 6px;
  color: #ff3545;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 45, 60, 0.4);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
}

.lore-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 65vh;
  object-fit: contain;
  filter:
    contrast(1.06)
    saturate(0.9);
}

.lore-scanline {
  position: absolute;
  left: 0;
  top: -20%;
  z-index: 3;
  width: 100%;
  height: 15%;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 30, 45, 0.08),
    transparent
  );
  animation: lore-scan 4s linear infinite;
}

.lore-information {
  padding: 15px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035),
    rgba(0, 0, 0, 0.55)
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 0 16px rgba(0, 0, 0, 0.7);
}

.lore-file {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 8px;
  color: #ff3444;
  background: #080808;
  border: 1px dashed rgba(255, 50, 65, 0.55);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
}

.lore-information h3 {
  margin: 0;
  color: #f5f1ec;
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: normal;
  line-height: 0.92;
  text-shadow:
    2px 2px #000,
    0 0 12px rgba(226, 32, 46, 0.3);
}

.lore-subtitle {
  margin: 10px 0 16px;
  color: #ff3545;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
}

.lore-divider {
  margin-bottom: 14px;
  padding: 6px 8px;
  color: #bcb5ad;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0 5px,
    transparent 5px 10px
  );
  border-top:
    1px solid rgba(255, 255, 255, 0.15);
  border-bottom:
    1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
}

.lore-text {
  margin: 0;
  color: #ddd6ce;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.55;
}

.lore-status {
  margin-top: auto;
  padding-top: 20px;
  color: #aaa;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
}

.lore-status span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #ff2638;
  box-shadow:
    0 0 7px rgba(255, 38, 56, 0.8);
}

.lore-status strong {
  color: #ff3545;
}

@keyframes lore-led-pulse {
  50% {
    opacity: 0.35;
  }
}

@keyframes lore-scan {
  from {
    top: -20%;
  }

  to {
    top: 110%;
  }
}

@media (max-width: 720px) {
  .lore-modal {
    padding: 8px;
  }

  .lore-window {
    width: 100%;
    max-height: calc(100vh - 16px);
  }

  .lore-window-body {
    grid-template-columns: 1fr;
    gap: 11px;
    max-height: calc(100vh - 60px);
    padding: 11px;
  }

  .lore-image-frame {
    min-height: 235px;
  }

  .lore-image-frame img {
    max-height: 43vh;
  }

  .lore-information h3 {
    font-size: 34px;
  }

  .lore-text {
    font-size: 13px;
  }
}

@media (max-width: 680px) {
  .media-card {
    height: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .media-card,
  .media-card img,
  .lore-modal,
  .lore-window,
  .lore-led,
  .lore-scanline {
    animation: none !important;
    transition: none !important;
  }
}

/* ==================================================
   DANTE20K — GAME ARCHIVE PAGE
================================================== */
.games-page .site-frame {
  width: 980px;
}

.games-page .brand-copy p {
  color: #c2bbb2;
}

.game-archive-intro {
  position: relative;
  padding-bottom: 0;
}

.archive-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 10px;
  padding: 10px;
  background:
    radial-gradient(circle at 78% 25%, rgba(122, 15, 22, 0.24), transparent 34%),
    repeating-linear-gradient(
      0deg,
      transparent 0 3px,
      rgba(255, 255, 255, 0.018) 3px 4px
    ),
    #090909;
}

.archive-intro-copy {
  min-width: 0;
}

.archive-kicker {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 7px;
  color: #ff4a52;
  font-size: 9px;
  letter-spacing: 1.5px;
  border: 1px dashed rgba(226, 32, 46, 0.58);
  background: rgba(122, 15, 22, 0.16);
}

.archive-intro-copy h2 {
  margin: 0;
  color: #f6f2eb;
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 1px;
  text-shadow:
    2px 2px 0 #000,
    -2px 0 rgba(226, 32, 46, 0.58),
    2px 0 rgba(85, 200, 255, 0.22);
}

.archive-intro-copy p {
  max-width: 540px;
  margin: 9px 0 0;
  color: var(--ink-dim);
  font-size: 11px;
  line-height: 1.45;
}

.archive-disk {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 120px;
  overflow: hidden;
  border: 3px double #777;
  background:
    radial-gradient(circle, #272727 0 14%, #070707 15% 28%, #494949 29% 31%, #111 32% 52%, #020202 53%),
    #050505;
  box-shadow:
    inset 0 0 18px #000,
    0 0 14px rgba(226, 32, 46, 0.18);
}

.archive-disk::before {
  content: "10 FILES";
  position: relative;
  z-index: 2;
  padding: 5px 8px;
  color: #fff;
  font-size: 10px;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(85, 6, 11, 0.92);
  box-shadow: 0 0 12px rgba(226, 32, 46, 0.45);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 7px;
}

.game-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 3px double #777;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 22%),
    #0b0b0b;
  box-shadow:
    inset 0 0 0 1px #000,
    inset 0 0 14px rgba(0, 0, 0, 0.82),
    0 2px 0 #000;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.game-card:hover,
.game-card:focus-within {
  z-index: 2;
  border-color: #a92a32;
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px #000,
    inset 0 0 16px rgba(122, 15, 22, 0.25),
    0 8px 18px rgba(0, 0, 0, 0.62),
    0 0 11px rgba(226, 32, 46, 0.22);
}

.game-cover-frame {
  position: relative;
  aspect-ratio: 460 / 215;
  overflow: hidden;
  border-bottom: 2px ridge #666;
  background: #020202;
}

.game-cover-frame::before {
  content: "RECOVERED GAME FILE";
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  padding: 2px 5px;
  color: #fff;
  font-size: 7px;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.76);
}

.game-cover-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 58%, rgba(55, 0, 5, 0.72)),
    repeating-linear-gradient(
      0deg,
      transparent 0 2px,
      rgba(255, 255, 255, 0.025) 2px 3px
    );
}

.game-cover-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.42) contrast(1.1) brightness(0.82);
  transition: filter 0.28s ease, transform 0.28s ease;
}

.game-card:hover .game-cover-frame img,
.game-card:focus-within .game-cover-frame img {
  filter: grayscale(0) contrast(1.08) brightness(1);
  transform: scale(1.035);
}

.game-card-body {
  padding: 8px;
}

.game-file-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.game-file-number {
  color: var(--ink-dim);
  font-size: 8px;
  letter-spacing: 1.2px;
}

.game-status {
  padding: 2px 5px;
  color: #ff4c55;
  font-size: 7px;
  font-weight: bold;
  letter-spacing: 0.8px;
  white-space: nowrap;
  border: 1px dashed rgba(226, 32, 46, 0.55);
  background: rgba(122, 15, 22, 0.17);
}

.game-card h3 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.05;
  text-shadow: 1px 1px 0 #000;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 0;
}

.game-meta span {
  padding: 2px 5px;
  color: #c7c0b8;
  font-size: 7px;
  letter-spacing: 0.8px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: #050505;
}

.game-card p {
  min-height: 42px;
  margin: 0 0 8px;
  color: var(--ink-dim);
  font-size: 9px;
  line-height: 1.38;
}

.steam-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
  padding: 6px 8px;
  color: #f5f5f5;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.8px;
  text-decoration: none;
  border: 2px outset #727272;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 4px,
      rgba(255, 255, 255, 0.035) 4px 8px
    ),
    linear-gradient(#3b3b3b, #080808);
  box-shadow: inset 0 0 0 1px #000;
}

.steam-link::after {
  content: "↗";
  color: #ff404b;
  font-size: 14px;
}

.steam-link:hover,
.steam-link:focus-visible {
  color: #fff;
  border-color: #c74a52;
  background: linear-gradient(#971e27, #320407);
}

.games-page .rightbar .site-box {
  overflow: visible;
}

.archive-status-list {
  margin: 0;
  padding: 6px 7px;
}

.archive-status-list div {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  padding: 5px 0;
  border-bottom: 1px dotted #555;
}

.archive-status-list dt {
  color: var(--ink-dim);
  font-size: 8px;
}

.archive-status-list dd {
  margin: 0;
  color: #ff414c;
  font-size: 8px;
  font-weight: bold;
  text-align: right;
}

.genre-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 7px;
}

.genre-list span {
  flex: 1 1 calc(50% - 4px);
  padding: 5px 4px;
  color: #eee;
  font-size: 8px;
  text-align: center;
  border: 1px dashed #666;
  background:
    linear-gradient(90deg, rgba(122, 15, 22, 0.32), transparent),
    #080808;
}

.archive-nav-links {
  display: grid;
  gap: 4px;
  padding: 6px;
}

.archive-nav-links a {
  display: block;
  padding: 6px;
  color: #eee;
  font-size: 9px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: 2px outset #666;
  background: linear-gradient(#393939, #080808);
}

.archive-nav-links a:hover,
.archive-nav-links a:focus-visible {
  color: #fff;
  background: linear-gradient(#8f1a22, #290306);
}

.games-page .psp-decor {
  min-height: 196px;
}

@media (max-width: 860px) {
  .games-page .rightbar {
    align-items: start;
  }

  .games-page .rightbar .psp-decor {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .archive-intro-grid {
    grid-template-columns: 1fr;
  }

  .archive-disk {
    min-height: 105px;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .game-card p {
    min-height: 0;
  }
}

@media (max-width: 430px) {
  .archive-intro-copy h2 {
    font-size: 38px;
  }

  .game-card h3 {
    font-size: 15px;
  }
}

/* ==================================================
   GAME ARCHIVE — LINKIN PARK VERTICAL SIDE BANNER V17
================================================== */

.games-page .rightbar {
  align-self: stretch;
  position: relative;
}

.lp-side-sticker {
  position: sticky;
  top: 18px;
  isolation: isolate;
  width: 100%;
  min-height: 610px;
  margin-top: 8px;
  overflow: hidden;
  pointer-events: none;
  border-top: 1px dotted rgba(255, 255, 255, 0.16);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(
      ellipse at center,
      rgba(122, 15, 22, 0.20),
      transparent 62%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 3px,
      rgba(255, 255, 255, 0.015) 3px 4px
    ),
    linear-gradient(
      180deg,
      rgba(17, 2, 4, 0.42),
      rgba(5, 5, 5, 0.94)
    );
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.88),
    0 0 16px rgba(122, 15, 22, 0.10);
}

/* El logo se centra de forma absoluta antes de girarlo.
   Así se ve COMPLETO y no se corta por el ancho de la rightbar. */
.lp-side-sticker img {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: block;
  width: 405px;
  max-width: none;
  height: auto;
  margin: 0;
  background: transparent;
  transform:
    translate(-50%, -50%)
    rotate(90deg);
  transform-origin: center;
  filter:
    saturate(1.12)
    contrast(1.08)
    drop-shadow(0 15px 13px rgba(0, 0, 0, 0.86))
    drop-shadow(0 0 12px rgba(226, 32, 46, 0.33));
}

/* Cinta discreta, sin cubrir el logo. */
.lp-side-sticker::before,
.lp-side-sticker::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 4;
  width: 68px;
  height: 17px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0 5px,
      transparent 5px 9px
    ),
    rgba(204, 196, 177, 0.28);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
}

.lp-side-sticker::before {
  top: 54px;
  transform: translateX(-50%) rotate(-4deg);
}

.lp-side-sticker::after {
  bottom: 54px;
  transform: translateX(-50%) rotate(4deg);
}

.lp-side-label,
.lp-side-caption {
  position: absolute;
  left: 50%;
  z-index: 5;
  width: max-content;
  max-width: calc(100% - 12px);
  font-size: 7px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}

.lp-side-label {
  top: 13px;
  color: rgba(238, 233, 223, 0.55);
  letter-spacing: 1.2px;
}

.lp-side-caption {
  bottom: 13px;
  color: rgba(255, 74, 82, 0.70);
  letter-spacing: 0.9px;
}

@media (max-width: 980px) and (min-width: 861px) {
  .lp-side-sticker {
    min-height: 560px;
  }

  .lp-side-sticker img {
    width: 375px;
  }
}

/* Al pasar la rightbar debajo, el logo vuelve a horizontal. */
@media (max-width: 860px) {
  .lp-side-sticker {
    position: relative;
    top: auto;
    grid-column: 1 / -1;
    min-height: 230px;
    margin-top: 0;
  }

  .lp-side-sticker img {
    width: min(86%, 430px);
    max-width: 430px;
    transform:
      translate(-50%, -50%)
      rotate(-2deg);
  }

  .lp-side-sticker::before {
    top: 38px;
  }

  .lp-side-sticker::after {
    bottom: 38px;
  }
}

@media (max-width: 430px) {
  .lp-side-sticker {
    min-height: 190px;
  }

  .lp-side-sticker img {
    width: min(92%, 330px);
  }

  .lp-side-label,
  .lp-side-caption {
    font-size: 6px;
    letter-spacing: 0.8px;
  }
}

/* ==================================================
   DANTE20K — INTERNET DIRECTORY / LINKS PAGE
================================================== */

.links-page .site-frame {
  width: 980px;
}

.links-page .brand-copy p {
  color: #c2bbb2;
}

/* ================= INTRO / BOOKMARKS.DAT ================= */

.links-directory-intro {
  position: relative;
}

.links-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 205px;
  gap: 10px;
  padding: 10px;
  background:
    radial-gradient(
      circle at 82% 30%,
      rgba(122, 15, 22, 0.28),
      transparent 34%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 3px,
      rgba(255, 255, 255, 0.018) 3px 4px
    ),
    #090909;
}

.links-intro-copy {
  min-width: 0;
}

.links-path {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 8px;
  padding: 4px 7px;
  overflow: hidden;
  color: #ff4a52;
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 1px;
  white-space: nowrap;
  text-overflow: ellipsis;
  border: 1px dashed rgba(226, 32, 46, 0.58);
  background: rgba(122, 15, 22, 0.15);
}

.links-intro-copy h2 {
  max-width: 510px;
  margin: 0;
  color: #f5f1ea;
  font-family: var(--font-display);
  font-size: clamp(32px, 5.4vw, 54px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 1px;
  text-shadow:
    2px 2px 0 #000,
    -2px 0 rgba(226, 32, 46, 0.55),
    2px 0 rgba(85, 200, 255, 0.2);
}

.links-intro-copy > p {
  max-width: 540px;
  margin: 9px 0;
  color: var(--ink-dim);
  font-size: 11px;
  line-height: 1.45;
}

.address-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px;
  border: 2px inset #646464;
  background: #c3c3c3;
  box-shadow: inset 0 0 0 1px #000;
}

.address-strip span {
  padding: 3px 5px;
  color: #111;
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: bold;
}

.address-strip strong {
  min-width: 0;
  padding: 4px 6px;
  overflow: hidden;
  color: #121212;
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
  border: 2px inset #8b8b8b;
  background: #fff;
}

.bookmark-terminal {
  align-self: stretch;
  min-height: 166px;
  padding: 7px;
  color: #a8e8a8;
  font-family: "Courier New", monospace;
  border: 3px double #777;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 2px,
      rgba(255, 255, 255, 0.025) 2px 3px
    ),
    #020502;
  box-shadow:
    inset 0 0 18px #000,
    0 0 12px rgba(226, 32, 46, 0.15);
}

.terminal-title {
  margin: -1px -1px 9px;
  padding: 5px 6px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 1px;
  border: 2px outset #666;
  background: linear-gradient(#3b3b3b, #080808);
}

.bookmark-terminal p {
  margin: 7px 2px;
  font-size: 8px;
  line-height: 1.35;
}

.bookmark-terminal p span {
  color: #ff414c;
}

.bookmark-terminal .terminal-ok {
  color: #fff;
  animation: terminal-caret 1.2s steps(1) infinite;
}

@keyframes terminal-caret {
  50% {
    opacity: 0.58;
  }
}

/* ================= BOOKMARK CARDS ================= */

.bookmark-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 7px;
}

.bookmark-card {
  position: relative;
  min-width: 0;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  padding: 9px;
  overflow: hidden;
  border: 3px double #777;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035),
      transparent 22%
    ),
    #0a0a0a;
  box-shadow:
    inset 0 0 0 1px #000,
    inset 0 0 15px rgba(0, 0, 0, 0.8),
    0 2px 0 #000;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.bookmark-card::after {
  content: "";
  position: absolute;
  right: -32px;
  top: -32px;
  width: 90px;
  height: 90px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(226, 32, 46, 0.18),
    transparent 68%
  );
}

.bookmark-card:hover,
.bookmark-card:focus-within {
  z-index: 2;
  border-color: #a92a32;
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px #000,
    inset 0 0 16px rgba(122, 15, 22, 0.24),
    0 8px 18px rgba(0, 0, 0, 0.62),
    0 0 11px rgba(226, 32, 46, 0.22);
}

.bookmark-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding-bottom: 6px;
  border-bottom: 1px dotted #555;
}

.bookmark-topline span {
  color: var(--ink-dim);
  font-size: 7px;
  letter-spacing: 1px;
}

.bookmark-topline b {
  padding: 2px 5px;
  color: #ff4a52;
  font-size: 7px;
  letter-spacing: 0.9px;
  border: 1px dashed rgba(226, 32, 46, 0.52);
  background: rgba(122, 15, 22, 0.16);
}

.bookmark-main {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 12px 0 8px;
}

.shortcut-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 68px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: bold;
  border: 2px outset #777;
  background:
    linear-gradient(
      135deg,
      transparent 0 72%,
      rgba(255, 255, 255, 0.18) 72% 100%
    ),
    linear-gradient(#3a3a3a, #080808);
  box-shadow:
    inset 0 0 0 1px #000,
    0 5px 10px rgba(0, 0, 0, 0.45);
  text-shadow: 1px 1px 0 #000;
}

.shortcut-icon::before {
  content: ".URL";
  position: absolute;
  left: 50%;
  bottom: 5px;
  color: #ff4a52;
  font-family: "Courier New", monospace;
  font-size: 6px;
  letter-spacing: 1px;
  transform: translateX(-50%);
}

.shortcut-icon-lp {
  color: #ff3545;
  text-shadow:
    1px 1px 0 #000,
    0 0 8px rgba(226, 32, 46, 0.55);
}

.shortcut-icon-music {
  font-size: 27px;
}

.bookmark-copy {
  min-width: 0;
}

.bookmark-copy h3 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.05;
}

.bookmark-handle {
  margin: 4px 0 6px !important;
  color: #ff414c !important;
  font-size: 8px !important;
  font-weight: bold;
  letter-spacing: 0.6px;
}

.bookmark-copy p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 9px;
  line-height: 1.35;
}

.bookmark-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  padding: 8px 0;
}

.bookmark-meta span {
  padding: 2px 5px;
  color: #c7c0b8;
  font-size: 7px;
  letter-spacing: 0.7px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: #050505;
}

.bookmark-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  padding: 6px 8px;
  color: #f5f5f5;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.8px;
  text-decoration: none;
  border: 2px outset #727272;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 4px,
      rgba(255, 255, 255, 0.035) 4px 8px
    ),
    linear-gradient(#3b3b3b, #080808);
  box-shadow: inset 0 0 0 1px #000;
}

.bookmark-open::after {
  content: "↗";
  color: #ff404b;
  font-size: 14px;
}

.bookmark-open:hover,
.bookmark-open:focus-visible {
  color: #fff;
  border-color: #c74a52;
  background: linear-gradient(#971e27, #320407);
}

/* ================= WEBMASTER NOTE ================= */

.links-note-content {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  background:
    linear-gradient(
      90deg,
      rgba(122, 15, 22, 0.18),
      transparent 45%
    ),
    #080808;
}

.links-note-symbol {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #ff3545;
  font-size: 28px;
  border: 1px dashed #666;
  background: #050505;
  text-shadow: 0 0 9px rgba(226, 32, 46, 0.55);
}

.links-note-content p {
  margin: 0;
  color: #d9d2ca;
  font-family: var(--font-hand);
  font-size: 13px;
  line-height: 1.3;
}

/* ================= RIGHTBAR ================= */

.links-page .rightbar .site-box {
  overflow: visible;
}

.links-status-list {
  margin: 0;
  padding: 6px 7px;
}

.links-status-list div {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  padding: 5px 0;
  border-bottom: 1px dotted #555;
}

.links-status-list dt {
  color: var(--ink-dim);
  font-size: 8px;
}

.links-status-list dd {
  margin: 0;
  color: #ff414c;
  font-size: 8px;
  font-weight: bold;
  text-align: right;
}

.link-channel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 7px;
}

.link-channel-grid span {
  display: grid;
  place-items: center;
  min-height: 31px;
  padding: 4px;
  color: #eee;
  font-size: 7px;
  text-align: center;
  border: 1px dashed #666;
  background:
    linear-gradient(
      90deg,
      rgba(122, 15, 22, 0.32),
      transparent
    ),
    #080808;
}

.neocities-link-inner {
  padding: 9px;
  text-align: center;
}

.neocities-link-inner img {
  display: block;
  width: min(100%, 88px);
  height: auto;
  margin: 0 auto 7px;
  image-rendering: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.neocities-link-inner p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 8px;
  line-height: 1.35;
}

.links-wire-decor {
  position: relative;
  min-height: 215px;
  margin-top: 5px;
  overflow: hidden;
  border-top: 1px dotted rgba(255, 255, 255, 0.12);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(
      circle at center,
      rgba(122, 15, 22, 0.20),
      transparent 60%
    ),
    #070707;
}

.links-wire-decor span {
  position: absolute;
  left: 50%;
  width: 135px;
  height: 45px;
  border: 2px solid rgba(226, 32, 46, 0.38);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform-origin: center;
}

.links-wire-decor span:nth-child(1) {
  top: 38px;
  transform: translateX(-50%) rotate(19deg);
}

.links-wire-decor span:nth-child(2) {
  top: 77px;
  transform: translateX(-50%) rotate(-17deg);
}

.links-wire-decor span:nth-child(3) {
  top: 115px;
  transform: translateX(-50%) rotate(7deg);
}

.links-wire-decor b {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: max-content;
  max-width: calc(100% - 14px);
  color: rgba(255, 74, 82, 0.68);
  font-size: 7px;
  letter-spacing: 1.2px;
  transform: translateX(-50%);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 860px) {
  .links-page .rightbar {
    align-items: start;
  }

  .links-wire-decor {
    grid-column: 1 / -1;
    min-height: 145px;
  }
}

@media (max-width: 680px) {
  .links-intro-grid {
    grid-template-columns: 1fr;
  }

  .bookmark-terminal {
    min-height: 145px;
  }

  .bookmark-grid {
    grid-template-columns: 1fr;
  }

  .bookmark-card {
    min-height: 0;
  }

  .links-note-content {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .links-note-symbol {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .links-wire-decor {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .links-intro-copy h2 {
    font-size: 36px;
  }

  .address-strip {
    grid-template-columns: 1fr;
  }

  .address-strip span {
    padding-bottom: 0;
  }

  .bookmark-main {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .shortcut-icon {
    width: 50px;
    height: 60px;
    font-size: 16px;
  }

  .bookmark-copy h3 {
    font-size: 15px;
  }

  .links-note-content p {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bookmark-terminal .terminal-ok {
    animation: none !important;
  }
}

/* ==================================================
   LINKS PAGE — LINKIN PARK SIDE BANNER V19
================================================== */

.links-lp-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 520px;
  margin-top: 5px;
  overflow: hidden;
  pointer-events: none;
  border-top: 1px dotted rgba(255, 255, 255, 0.14);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(
      ellipse at center,
      rgba(122, 15, 22, 0.22),
      transparent 60%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 3px,
      rgba(255, 255, 255, 0.016) 3px 4px
    ),
    linear-gradient(
      180deg,
      rgba(24, 3, 5, 0.48),
      rgba(5, 5, 5, 0.95)
    );
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.88),
    0 0 16px rgba(122, 15, 22, 0.1);
}

.links-lp-banner img {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: block;
  width: 290px;
  max-width: none;
  height: auto;
  background: transparent;
  transform:
    translate(-50%, -50%)
    rotate(90deg);
  transform-origin: center;
  filter:
    contrast(1.08)
    brightness(1.08)
    drop-shadow(0 12px 12px rgba(0, 0, 0, 0.82))
    drop-shadow(0 0 12px rgba(226, 32, 46, 0.34));
}

.links-lp-banner::before,
.links-lp-banner::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 4;
  width: 68px;
  height: 17px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0 5px,
      transparent 5px 9px
    ),
    rgba(204, 196, 177, 0.28);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.38);
}

.links-lp-banner::before {
  top: 78px;
  transform: translateX(-50%) rotate(-5deg);
}

.links-lp-banner::after {
  bottom: 78px;
  transform: translateX(-50%) rotate(4deg);
}

.links-lp-label,
.links-lp-caption {
  position: absolute;
  left: 50%;
  z-index: 5;
  width: max-content;
  max-width: calc(100% - 12px);
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}

.links-lp-label {
  top: 14px;
  color: rgba(238, 233, 223, 0.58);
  font-size: 7px;
  letter-spacing: 1.2px;
}

.links-lp-caption {
  bottom: 14px;
  color: rgba(255, 74, 82, 0.72);
  font-size: 6px;
  letter-spacing: 0.85px;
}

@media (max-width: 860px) {
  .links-lp-banner {
    grid-column: 1 / -1;
    min-height: 210px;
  }

  .links-lp-banner img {
    width: min(86%, 430px);
    max-width: 430px;
    transform:
      translate(-50%, -50%)
      rotate(-2deg);
  }

  .links-lp-banner::before {
    top: 38px;
  }

  .links-lp-banner::after {
    bottom: 38px;
  }
}

@media (max-width: 430px) {
  .links-lp-banner {
    min-height: 180px;
  }

  .links-lp-banner img {
    width: min(92%, 330px);
  }

  .links-lp-label,
  .links-lp-caption {
    font-size: 6px;
    letter-spacing: 0.7px;
  }
}