:root {
  --bg:           #06001e;
  --bg2:          #0c0033;
  --cyan:         #4dd0ff;
  --cyan-dim:     #1a6688;
  --cyan-glow:    rgba(77,208,255,0.18);
  --purple:       #8833ff;
  --red:          #ff2200;
  --red-glow:     rgba(255,34,0,0.14);
  --green:        #00ff88;
  --light-blue:      #8ad8ff;
  --light-blue-glow: rgba(138,216,255,0.25);
  --discord:      #5865f2;
  --text:         #b8c8ff;
  --text-dim:     #556699;
  --border:       #2a0088;
  --border-bright:#5500cc;
}

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

body {
  background-color: var(--bg);
  background-image: url('pattern-test-1-200.png');
  background-repeat: repeat;
  color: var(--text);
  font-family: 'VT323', monospace;
  font-size: 18px;
  cursor: url('custom-cursor.png') 0 0, auto;
  overflow-x: hidden;
  animation: bg-scroll 18s linear infinite;
}

img { image-rendering: pixelated; }

@keyframes bg-scroll {
  from { background-position: 0 0; }
  to   { background-position: 384px 384px; }
}

/* SPLASH SCREEN */
#splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: var(--bg);
  background-image: url('pattern-test-1-200.png');
  background-repeat: repeat;
  animation: bg-scroll 18s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#splash-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.13) 2px,
    rgba(0,0,0,0.13) 4px
  );
}

.splash-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 36px 36px 28px;
  border: 2px solid var(--light-blue);
  background: rgba(6,0,30,0.92);
  box-shadow:
    0 0 0 1px var(--border-bright),
    0 0 30px var(--light-blue-glow),
    inset 0 0 40px rgba(0,0,0,0.6);
  max-width: 500px;
  width: 90%;
  text-align: center;
  animation: splash-pulse 4s ease-in-out infinite;
}

@keyframes splash-pulse {
  0%, 100% {
    box-shadow: 0 0 0 1px var(--border-bright),
      0 0 30px var(--light-blue-glow),
      inset 0 0 40px rgba(0,0,0,0.6);
  }
  50% {
    box-shadow: 0 0 0 1px var(--border-bright),
      0 0 55px rgba(138,216,255,0.45),
      0 0 90px rgba(138,216,255,0.1),
      inset 0 0 40px rgba(0,0,0,0.6);
  }
}

/* Splash corner characters */
.sc {
  position: absolute;
  font-family: 'VT323', monospace;
  font-size: 18px;
  color: var(--cyan);
  opacity: 0.55;
  line-height: 1;
  pointer-events: none;
}
.sc-tl { top: 5px;  left: 7px; }
.sc-tr { top: 5px;  right: 7px; }
.sc-bl { bottom: 5px; left: 7px; }
.sc-br { bottom: 5px; right: 7px; }

/* Splash boot info */
.splash-boot {
  font-family: 'VT323', monospace;
  font-size: 14px;
  color: var(--text-dim);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  letter-spacing: 1px;
  margin-bottom: -4px;
}
.splash-boot-sep { color: var(--border-bright); }

/* Splash access footer */
.splash-access {
  font-family: 'VT323', monospace;
  font-size: 13px;
  color: var(--border-bright);
  letter-spacing: 2px;
  margin-top: -6px;
}

.splash-pre {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: var(--text-dim);
  letter-spacing: 2px;
}

.splash-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--light-blue);
  text-shadow:
    0 0 10px var(--light-blue),
    0 0 30px var(--light-blue-glow),
    0 0 60px rgba(138,216,255,0.15);
  letter-spacing: 8px;
  animation: glitch 5s step-end infinite;
}

.splash-rule {
  width: 80%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--light-blue), transparent);
}

.splash-text {
  font-family: 'VT323', monospace;
  font-size: 20px;
  color: var(--text);
  line-height: 1.9;
  letter-spacing: 1px;
}

.splash-emojis {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0;
  padding: 14px 28px;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,34,0,0.38) 0%, rgba(255,34,0,0.1) 50%, transparent 75%);
}

.splash-emoji {
  width: 72px;
  height: 72px;
}

.splash-emoji-gun {
  transform: scaleX(-1);
}

.splash-emoji-devil {
  cursor: url('custom-cursor.png') 0 0, pointer;
}

.splash-emoji-devil:hover {
  animation: devil-shake 0.25s step-end infinite;
}

@keyframes devil-shake {
  0%, 100% { transform: rotate(0deg) translateX(0); }
  20%       { transform: rotate(-12deg) translateX(-3px); }
  40%       { transform: rotate(12deg) translateX(3px); }
  60%       { transform: rotate(-7deg) translateX(-2px); }
  80%       { transform: rotate(7deg) translateX(2px); }
}

/* Splash warning scroll */
.splash-warning-wrap {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255,34,0,0.35);
  padding-top: 7px;
  margin-top: -4px;
}

.splash-warning {
  font-family: 'Press Start 2P', monospace;
  font-size: 5px;
  color: var(--red);
  letter-spacing: 1px;
  display: block;
}

#splash-enter {
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  color: var(--cyan);
  background: rgba(77,208,255,0.04);
  border: 2px solid var(--cyan);
  padding: 12px 32px;
  cursor: url('custom-cursor.png') 0 0, pointer;
  letter-spacing: 2px;
  transition: all 0.15s;
  margin-top: 4px;
}

#splash-enter:hover {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 12px var(--cyan);
  animation: btn-shake 0.25s step-end;
}

@keyframes btn-shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-3px); }
  40%       { transform: translateX(3px); }
  60%       { transform: translateX(-2px); }
  80%       { transform: translateX(2px); }
}

.splash-hint {
  font-family: 'Press Start 2P', monospace;
  font-size: 5px;
  color: var(--text-dim);
  letter-spacing: 1px;
  animation: blink 2s step-end infinite;
}

/* LOADING SCREEN */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: #000323;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 1;
  transition: opacity 0.6s ease;
}

#loading-icon {
  width: 192px;
  height: 192px;
  image-rendering: pixelated;
}

#loading-text-gif {
  width: 200px;
  image-rendering: pixelated;
}

#loading-status {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: var(--cyan);
  letter-spacing: 2px;
  text-align: center;
  min-width: 320px;
  text-shadow: 0 0 6px var(--cyan);
}

/* SCANLINES */
#scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.11) 2px,
    rgba(0,0,0,0.11) 4px
  );
}

/* TOP MARQUEE */
.top-bar {
  background: var(--bg2);
  border-bottom: 2px solid var(--cyan);
  color: var(--cyan);
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  padding: 7px 0;
  box-shadow: 0 2px 12px var(--cyan-glow);
  position: relative;
  z-index: 200;
}

/* HEADER */
#site-header {
  background: var(--bg2);
  border-bottom: 3px solid var(--border-bright);
  padding: 11px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 18px rgba(85,0,204,0.4);
}

.header-logo { display: flex; align-items: center; gap: 10px; }
.header-icon { height: 38px; }
.header-text-logo { height: 24px; }

.header-nav { display: flex; gap: 3px; flex-wrap: wrap; }

.header-nav a {
  color: var(--cyan);
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  padding: 5px 8px;
  border: 1px solid var(--cyan-dim);
  transition: all 0.12s;
  letter-spacing: 0.5px;
}

.header-nav a:hover {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 10px var(--cyan);
  border-color: var(--cyan);
}

/* HERO */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 52px 24px 44px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('space-background.png');
  background-size: cover;
  background-position: center;
  opacity: 0.72;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(6,0,30,0.3) 0%, rgba(6,0,30,0.88) 100%),
    linear-gradient(to right, rgba(6,0,30,0.5) 0%, transparent 22%, transparent 78%, rgba(6,0,30,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 600px;
  width: 100%;
}

.hero-logo-text {
  width: 408px;
  max-width: 90%;
}

.hero-tagline {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: var(--cyan);
  letter-spacing: 1px;
  text-shadow: 0 0 10px var(--cyan);
}

.hero-sub {
  font-family: 'Press Start 2P', monospace;
  font-size: 6px;
  color: var(--purple);
  letter-spacing: 2px;
  text-shadow: 0 0 8px var(--purple);
}

.hero-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.hero-btn {
  color: var(--cyan);
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  padding: 7px 13px;
  border: 2px solid var(--cyan);
  background: rgba(77,208,255,0.04);
  transition: all 0.12s;
  letter-spacing: 0.5px;
}

.hero-btn:hover {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 12px var(--cyan);
}

.hero-btn-red {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-glow);
}
.hero-btn-red:hover {
  background: var(--red);
  color: white;
  box-shadow: 0 0 12px var(--red);
}

.hero-btn-discord {
  color: var(--discord);
  border-color: var(--discord);
  background: rgba(88,101,242,0.06);
}
.hero-btn-discord:hover {
  background: var(--discord);
  color: white;
  box-shadow: 0 0 12px rgba(88,101,242,0.5);
}

.hero-corner {
  position: absolute;
  font-family: 'VT323', monospace;
  font-size: 13px;
  color: var(--text-dim);
  z-index: 2;
}
.hero-corner-tl { top: 10px; left: 14px; }
.hero-corner-tr { top: 10px; right: 14px; }
.hero-corner-bl { bottom: 10px; left: 14px; }
.hero-corner-br { bottom: 10px; right: 14px; }

/* SYS DIVIDER */
.sys-divider {
  background: var(--bg2);
  border-top: 2px solid var(--border-bright);
  border-bottom: 2px solid var(--border-bright);
  text-align: center;
  padding: 6px 0;
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: var(--border-bright);
  letter-spacing: 3px;
  text-shadow: 0 0 5px var(--purple);
  overflow: hidden;
}

/* STATUS STRIP */
.status-strip {
  background: rgba(12,0,51,0.92);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 16px;
  font-family: 'VT323', monospace;
  font-size: 15px;
}

.status-strip .sep { color: var(--border-bright); }
.strip-hint { color: var(--text-dim); font-size: 13px; }

.status-online {
  color: var(--green);
  text-shadow: 0 0 6px var(--green);
  animation: blink 1.8s step-end infinite;
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
}

.strip-link {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.12s;
}
.strip-link:hover { color: white; text-shadow: 0 0 5px var(--cyan); }

/* PAGE WRAP */
.page-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* PX DIVIDER */
.px-divider {
  text-align: center;
  padding: 10px 0;
  font-family: 'VT323', monospace;
  font-size: 14px;
  color: var(--border);
  letter-spacing: 1px;
  user-select: none;
}
.px-divider::before {
  content: '// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ //';
  word-break: break-all;
}

/* CONTENT SECTIONS */
.c-section {
  background: rgba(12,0,51,0.68);
  border: 2px solid var(--border-bright);
  padding: 20px;
  position: relative;
}
.c-section-green { border-color: #003322; box-shadow: 0 0 14px rgba(0,255,136,0.06); }
.c-section-red   { border-color: #440000; box-shadow: 0 0 14px var(--red-glow); }
.c-section-purple{ border-color: #330066; box-shadow: 0 0 14px rgba(136,51,255,0.1); }
.c-section-cyan  { border-color: var(--cyan-dim); box-shadow: 0 0 14px var(--cyan-glow); }

/* FAKE WINDOW CONTROLS (decorative only) */
.win-btns {
  display: flex;
  gap: 3px;
  margin-left: auto;
  user-select: none;
  pointer-events: none;
  flex-shrink: 0;
}

.win-btn {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(184,200,255,0.35);
  background: rgba(6,0,30,0.55);
  color: var(--text);
  font-family: 'VT323', monospace;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset -1px -1px 0 rgba(0,0,0,0.5), inset 1px 1px 0 rgba(255,255,255,0.12);
}

.win-btn-x {
  color: #ff6644;
}

.win-btns-splash {
  position: absolute;
  top: 5px;
  right: 26px;
  z-index: 3;
}

/* SECTION TITLE — old-school window title bar */
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  color: white;
  margin: -20px -20px 16px;
  padding: 6px 8px;
  background: linear-gradient(to right, var(--border-bright), rgba(85,0,204,0.18));
  border-bottom: 2px solid var(--border-bright);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.6);
  animation: glitch 6s step-end infinite;
}

.c-section-green .section-title {
  background: linear-gradient(to right, #004433, rgba(0,68,51,0.15));
  border-bottom-color: #003322;
  color: var(--green);
}

.c-section-cyan .section-title {
  background: linear-gradient(to right, var(--cyan-dim), rgba(26,102,136,0.15));
  border-bottom-color: var(--cyan-dim);
  color: white;
}

.c-section-red .section-title {
  background: linear-gradient(to right, #550000, rgba(85,0,0,0.15));
  border-bottom-color: #440000;
  color: #ff6644;
}

.c-section-purple .section-title {
  background: linear-gradient(to right, #440088, rgba(68,0,136,0.18));
  border-bottom-color: #330066;
  color: #cfa8ff;
}

.title-emoji {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@keyframes glitch {
  0%, 87%, 100% { text-shadow: 0 0 8px var(--cyan); }
  89%  { text-shadow:  3px 0 var(--red),   -3px 0 var(--cyan); }
  91%  { text-shadow: -2px 0 var(--purple),  2px 0 var(--cyan); }
  93%  { text-shadow:  1px 0 var(--red),    0 0 8px var(--cyan); }
  95%  { text-shadow:  0 0 8px var(--cyan); }
}

/* NEW BADGE */
.new-badge {
  display: inline-block;
  background: var(--red);
  color: white;
  font-family: 'Press Start 2P', monospace;
  font-size: 6px;
  padding: 3px 6px;
  animation: blink 0.7s step-end infinite;
  margin-left: 4px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* CREW WIDGET */
.crew-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--bg2);
  border: 1px solid var(--border-bright);
  padding: 10px 22px;
  margin-bottom: 16px;
  box-shadow:
    0 8px 28px rgba(0,0,0,0.6),
    0 2px 0 rgba(255,255,255,0.03),
    0 0 14px rgba(85,0,204,0.12);
  transform: translateY(-2px);
}

.crew-member {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crew-portrait {
  width: 38px;
  height: 38px;
}

.crew-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.crew-name {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: var(--cyan);
  text-shadow: 0 0 5px var(--cyan);
  letter-spacing: 1px;
}

.crew-role {
  font-family: 'VT323', monospace;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 1px;
}

.crew-role-sub {
  font-family: 'VT323', monospace;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.crew-sep {
  color: var(--border-bright);
  font-family: 'VT323', monospace;
  font-size: 22px;
  user-select: none;
}

/* ABOUT */
.about-inner {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.about-avatar {
  width: 186px;
  flex-shrink: 0;
  border: 2px solid var(--border-bright);
  align-self: flex-start;
}

/* TERMINAL */
.terminal-box {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--green);
  background: rgba(0,0,8,0.96);
  box-shadow: 0 0 10px rgba(0,255,136,0.08), inset 0 0 28px rgba(0,0,0,0.7);
  position: relative;
  overflow: hidden;
}

.terminal-box::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(0,255,136,0.2);
  top: 0;
  animation: terminal-scan 3s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes terminal-scan {
  from { top: 0; }
  to   { top: 100%; }
}

.terminal-topbar {
  background: rgba(0,255,136,0.07);
  border-bottom: 1px solid rgba(0,255,136,0.3);
  color: var(--green);
  font-family: 'Press Start 2P', monospace;
  font-size: 6px;
  padding: 5px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.terminal-body {
  padding: 13px;
  line-height: 1.9;
  font-size: 17px;
}

.prompt { color: var(--green); margin-right: 6px; }

/* UPSCALED IMAGES */
.img-loading-text {
  width: 200px;
  vertical-align: middle;
}

.img-loading-bar { width: 168px; }

/* SOULS BOX */
.souls-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 16px 0;
}

.souls-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border-bright);
  background: var(--bg2);
  padding: 6px 18px;
  gap: 2px;
  box-shadow: 0 0 8px rgba(85,0,204,0.2);
}

.souls-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 5px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.souls-number {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: var(--purple);
  text-shadow: 0 0 8px var(--purple);
  letter-spacing: 2px;
  white-space: nowrap;
  display: inline-block;
  min-width: 7ch;
  text-align: center;
}

/* WAVE-TEST — smaller in contact */
.wave-small {
  width: 200px;
  max-width: 100%;
  animation: screen-flicker 8s step-end infinite;
}

@keyframes screen-flicker {
  0%, 97%, 100% { opacity: 1; }
  98%            { opacity: 0.7; }
  99%            { opacity: 0.9; }
}

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.cards-grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.card {
  border: 2px solid var(--border-bright);
  background: rgba(6,0,30,0.88);
  transition: border-color 0.12s, transform 0.12s;
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: var(--cyan-dim); transform: translateY(-2px); }
.card-active { border-color: var(--red); }
.card-active:hover { border-color: var(--red); }

.card-header {
  background: var(--border-bright);
  color: var(--bg);
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  padding: 6px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.card-active .card-header { background: var(--red); }

.card-body {
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex: 1;
}

.card-emoji {
  width: 48px;
  height: 48px;
}

.card-img { max-width: 58px; }

.card-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--cyan);
  text-shadow: 0 0 5px var(--cyan);
}

.card-desc {
  font-family: 'VT323', monospace;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.4;
  text-align: center;
}

.card-title-sm {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: var(--cyan);
  text-shadow: 0 0 5px var(--cyan);
}

.card-emoji-sm {
  width: 36px;
  height: 36px;
}

.card-tool { border-color: var(--cyan-dim); }
.card-tool:hover { border-color: var(--cyan); }
.card-tool .card-header { background: var(--cyan-dim); color: white; }

.card-live { border-color: var(--green); }
.card-live:hover { border-color: var(--green); box-shadow: 0 0 10px rgba(0,255,136,0.15); }
.card-live .card-header { background: #003322; color: var(--green); }

.card-btn {
  color: var(--red);
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  padding: 5px 10px;
  border: 1px solid var(--red);
  background: var(--red-glow);
  transition: all 0.12s;
  display: inline-block;
  margin-top: auto;
}
.card-btn:hover { background: var(--red); color: white; }

.card-btn-live {
  color: var(--green);
  border-color: var(--green);
  background: rgba(0,255,136,0.05);
  margin-top: auto;
}
.card-btn-live:hover { background: var(--green); color: var(--bg); }

/* CYBER DECK */
.cyberdeck-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.cyberdeck-info {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cyberdeck-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan);
  letter-spacing: 1px;
  line-height: 1.6;
  animation: glitch 7s step-end infinite;
}

.cyberdeck-sub {
  font-family: 'VT323', monospace;
  font-size: 18px;
  color: var(--text-dim);
  letter-spacing: 2px;
}

.cyberdeck-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cyberdeck-logo {
  width: 96px;
  height: 96px;
}

.cta-btn-cyan {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}
.cta-btn-cyan:hover {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 14px var(--cyan);
}

/* ITCH PROMO */
.itch-promo {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.itch-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.itch-img { max-width: 68px; }

.itch-right {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.itch-headline {
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  color: var(--red);
  text-shadow: 0 0 5px var(--red);
  animation: glitch-red 7s step-end infinite;
}

@keyframes glitch-red {
  0%, 87%, 100% { text-shadow: 0 0 5px var(--red); }
  89%  { text-shadow:  3px 0 var(--cyan),   -3px 0 var(--red); }
  91%  { text-shadow: -2px 0 var(--purple),  2px 0 var(--red); }
  93%  { text-shadow:  1px 0 var(--cyan),    0 0 5px var(--red); }
  95%  { text-shadow:  0 0 5px var(--red); }
}

.itch-sub {
  font-family: 'VT323', monospace;
  font-size: 16px;
  color: var(--text-dim);
}

.cta-btn {
  display: inline-block;
  margin-top: 8px;
  color: white;
  background: var(--red);
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  padding: 9px 15px;
  border: 2px solid var(--red);
  transition: all 0.12s;
  align-self: flex-start;
  letter-spacing: 0.5px;
}
.cta-btn:hover {
  background: transparent;
  color: var(--red);
  box-shadow: 0 0 12px var(--red);
}

/* CONTACT */
.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  line-height: 1.8;
}

.discord-btn {
  display: inline-block;
  color: var(--discord);
  background: rgba(88,101,242,0.06);
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  padding: 9px 15px;
  border: 2px solid var(--discord);
  transition: all 0.12s;
  letter-spacing: 0.5px;
}
.discord-btn:hover {
  background: var(--discord);
  color: white;
  box-shadow: 0 0 12px rgba(88,101,242,0.5);
}

/* 88x31 BADGES */
.badges-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px 0;
  text-align: center;
}

.badges-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: var(--text-dim);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.b88 {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 116px;
  height: 42px;
  border: 1px solid var(--cyan-dim);
  background: var(--bg2);
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: var(--cyan);
  text-align: center;
  text-decoration: none;
  line-height: 1.6;
  padding: 4px;
  transition: all 0.1s;
}
.b88:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  background: rgba(77,208,255,0.08);
}
.b88-green   { border-color: #003322; color: var(--green); }
.b88-green:hover { border-color: var(--green); box-shadow: 0 0 6px var(--green); }
.b88-red     { border-color: #440000; color: var(--red); }
.b88-red:hover { border-color: var(--red); box-shadow: 0 0 6px var(--red); }
.b88-purple  { border-color: #330066; color: var(--purple); }
.b88-purple:hover { border-color: var(--purple); box-shadow: 0 0 6px var(--purple); }
.b88-discord { border-color: #3a3f8a; color: var(--discord); }
.b88-discord:hover { border-color: var(--discord); box-shadow: 0 0 6px rgba(88,101,242,0.5); }
.b88-dim     { border-color: var(--border); color: var(--text-dim); }


/* SEE MORE */
.see-more-wrap {
  display: flex;
  justify-content: center;
  padding: 18px 0 4px;
}

.see-more-btn {
  color: var(--cyan);
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  padding: 9px 20px;
  border: 1px solid var(--cyan-dim);
  background: rgba(77,208,255,0.04);
  letter-spacing: 1px;
  transition: all 0.12s;
}

.see-more-btn:hover {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

/* FOOTER */
#site-footer {
  background: var(--bg2);
  border-top: 3px solid var(--border-bright);
  padding: 26px 24px;
  text-align: center;
  margin-top: 24px;
  box-shadow: 0 -4px 18px rgba(85,0,204,0.28);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  max-width: 760px;
  margin: 0 auto;
}

.footer-mascot {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
}

.footer-logo { height: 20px; }

.footer-divider {
  width: 280px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-bright), transparent);
  margin: 5px 0;
}

/* UTILITIES */
.small  { font-size: 14px; }
.dim    { color: var(--text-dim); }
.cyan   { color: var(--cyan); text-shadow: 0 0 5px var(--cyan); }
.green  { color: var(--green); }

.blink-text {
  animation: blink 0.9s step-end infinite;
  color: var(--red);
  font-size: 13px;
}
.blink-cursor {
  animation: blink 0.75s step-end infinite;
  color: var(--green);
  font-size: 18px;
}

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

/* SCROLLBAR */
::-webkit-scrollbar       { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-bright); }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

::selection { background: var(--purple); color: white; }

/* RESPONSIVE */
@media (max-width: 580px) {
  .about-inner  { flex-direction: column; }
  .about-avatar { width: 100%; max-width: 248px; align-self: center; }
  .crew-widget  { flex-wrap: wrap; gap: 12px; }
  #site-header  { flex-direction: column; align-items: flex-start; }
  .hero-logo-text { width: 90%; }
  .hero-wave    { width: 90%; }
  .section-title { font-size: 8px; }
  .px-divider::before { content: '// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ //'; }
}
