@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Caveat:wght@400;700&family=IBM+Plex+Mono:wght@400;600&display=swap');

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

:root {
  --parchment: #f4ecd8;
  --parchment-dark: #e8dcc8;
  --ink: #2a2520;
  --ink-light: #5a4a3a;
  --stone: #8a7a6a;
  --stone-light: #b0a090;
  --stone-dark: #5a4a3a;
  --redstone: #d0312d;
  --redstone-glow: #ff4444;
  --gold: #ffaa00;
  --gold-dark: #cc8800;
  --green-mc: #00aa00;
  --green-dark: #006600;
  --graph-line: rgba(138, 122, 106, 0.12);
  --graph-bold: rgba(138, 122, 106, 0.25);
  --bevel-light: rgba(255,255,255,0.3);
  --bevel-dark: rgba(0,0,0,0.2);
  --shadow-physical: 3px 3px 0 rgba(0,0,0,0.15);
}

body {
  background: var(--parchment);
  background-image:
    repeating-linear-gradient(0deg, var(--graph-line) 0px, var(--graph-line) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, var(--graph-line) 0px, var(--graph-line) 1px, transparent 1px, transparent 40px);
  color: var(--ink);
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(208,49,45,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(255,170,0,0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ===== HEADER — Command Block Style ===== */
.header {
  background: linear-gradient(180deg, #7a6a5a 0%, #6a5a4a 100%);
  border: 3px solid var(--stone-dark);
  border-top: none;
  box-shadow:
    inset 2px 2px 0 var(--bevel-light),
    inset -2px -2px 0 var(--bevel-dark),
    var(--shadow-physical);
  margin: 0 0 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  image-rendering: pixelated;
}

.header::after {
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--stone-dark) 0px, var(--stone-dark) 8px, var(--stone-light) 8px, var(--stone-light) 16px);
}

.header__inner {
  display: flex;
  align-items: center;
  padding: 8px 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  color: #fff;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
  text-decoration: none;
  padding: 6px 12px;
  background: rgba(0,0,0,0.2);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 0;
  image-rendering: pixelated;
  white-space: nowrap;
}

.logo__icon { font-size: 16px; }

.nav {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  margin-left: auto;
}

.nav__link {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 6px 10px;
  background: rgba(0,0,0,0.15);
  border: 2px solid transparent;
  transition: all 0.1s;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
  white-space: nowrap;
}

.nav__link:hover {
  background: rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.nav__link--active {
  background: var(--redstone);
  border-color: var(--gold);
  color: #fff;
  box-shadow: inset 0 0 8px rgba(255,68,68,0.3);
}

.nav__link--highlight {
  background: var(--gold);
  color: #2a2520;
  border-color: var(--gold-dark);
}

.nav__link--highlight:hover {
  background: var(--gold-dark);
  color: #fff;
}

.header__actions {
  display: flex;
  gap: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: none;
  cursor: pointer;
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  text-decoration: none;
  color: #fff;
  background: var(--stone);
  border: 2px solid var(--stone-dark);
  box-shadow:
    inset 2px 2px 0 var(--bevel-light),
    inset -2px -2px 0 var(--bevel-dark),
    2px 2px 0 rgba(0,0,0,0.2);
  transition: all 0.1s;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn:hover {
  transform: translate(1px, 1px);
  box-shadow:
    inset 1px 1px 0 var(--bevel-light),
    inset -1px -1px 0 var(--bevel-dark),
    1px 1px 0 rgba(0,0,0,0.2);
}

.btn--primary {
  background: var(--redstone);
  border-color: #8b1a1a;
}

.btn--primary:hover {
  background: #b82824;
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold-dark);
  color: var(--ink);
}

.btn--outline {
  background: transparent;
  border-color: var(--stone-light);
  color: var(--stone-dark);
  box-shadow: none;
}

.btn--outline:hover {
  background: rgba(0,0,0,0.05);
  box-shadow: none;
  transform: none;
}

.btn--small {
  padding: 4px 10px;
  font-size: 8px;
}

.btn--large {
  padding: 10px 24px;
  font-size: 11px;
}

/* ===== HERO — Chiseled Stone Workbench ===== */
.hero {
  background: var(--parchment-dark);
  border: 3px solid var(--stone);
  box-shadow:
    inset 3px 3px 0 var(--bevel-light),
    inset -3px -3px 0 var(--bevel-dark),
    var(--shadow-physical);
  padding: 48px 0;
  margin-bottom: 40px;
  position: relative;
}

.hero::before {
  content: '⛏ REDSTONE v3.0 ⛏';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: var(--gold);
  background: var(--parchment-dark);
  padding: 2px 16px;
  border: 2px solid var(--stone);
  white-space: nowrap;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
}

.hero__content {
  text-align: center;
  margin-bottom: 40px;
}

.hero__title {
  font-family: 'Press Start 2P', monospace;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 12px;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.1);
  line-height: 1.4;
}

.hero__subtitle {
  font-family: 'Caveat', cursive;
  font-size: 24px;
  color: var(--ink-light);
  max-width: 500px;
  margin: 0 auto 32px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-block {
  background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.06));
  border: 2px solid var(--stone);
  box-shadow:
    inset 2px 2px 0 var(--bevel-light),
    inset -2px -2px 0 var(--bevel-dark);
  padding: 16px 24px;
  text-align: center;
  min-width: 100px;
  transform: rotate(var(--rot, 0deg));
}

.stat-block:nth-child(1) { --rot: -0.5deg; }
.stat-block:nth-child(2) { --rot: 0.8deg; }
.stat-block:nth-child(3) { --rot: -0.3deg; }
.stat-block:nth-child(4) { --rot: 0.6deg; }

.stat-block__num {
  display: block;
  font-family: 'Press Start 2P', monospace;
  font-size: 18px;
  color: var(--redstone);
  margin-bottom: 2px;
}

.stat-block__label {
  display: block;
  font-size: 10px;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== SECTIONS — Each Unique ===== */
.section {
  padding: 32px 0 48px;
  position: relative;
}

/* --- Section 1: News (stacked papers) --- */
.news-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-paper {
  background: #fff;
  border: 2px solid var(--stone-light);
  padding: 20px 24px;
  box-shadow: var(--shadow-physical);
  position: relative;
  transform: rotate(var(--rot, 0deg));
}

.news-paper:nth-child(1) { --rot: -0.3deg; }
.news-paper:nth-child(2) { --rot: 0.4deg; }
.news-paper:nth-child(3) { --rot: -0.2deg; }

.news-paper::before {
  content: '📋';
  position: absolute;
  top: -12px;
  right: 16px;
  font-size: 20px;
  transform: rotate(15deg);
}

.news-paper__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
}

.news-paper__date {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: var(--stone);
  background: var(--parchment);
  padding: 2px 8px;
  border: 1px solid var(--stone-light);
}

.news-paper__cat {
  font-family: 'Caveat', cursive;
  font-size: 16px;
  color: var(--redstone);
}

.news-paper__title {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.news-paper__text {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 8px;
}

.news-paper__link {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: var(--redstone);
  text-decoration: none;
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid var(--redstone);
}
.news-paper__link:hover { background: var(--redstone); color: #fff; }

/* Section heading — handwritten style */
.section-head {
  font-family: 'Caveat', cursive;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  display: inline-block;
  position: relative;
  color: var(--ink);
}

.section-head::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: -8px;
  height: 4px;
  background: var(--gold);
  opacity: 0.5;
  border-radius: 2px;
  transform: rotate(-0.5deg);
}

/* --- Section 2: Features (command block style — 3 different blocks) --- */
.features-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-block {
  flex: 1;
  background: linear-gradient(180deg, #8a7a6a 0%, #7a6a5a 100%);
  border: 3px solid var(--stone-dark);
  box-shadow:
    inset 3px 3px 0 var(--bevel-light),
    inset -3px -3px 0 var(--bevel-dark),
    var(--shadow-physical);
  padding: 24px;
  position: relative;
  color: #fff;
  transform: rotate(var(--rot, 0deg));
}

.feature-block:nth-child(1) { --rot: -0.5deg; margin-top: 0; }
.feature-block:nth-child(2) { --rot: 0.7deg; margin-top: 20px; }
.feature-block:nth-child(3) { --rot: -0.3deg; margin-top: 8px; }

.feature-block::after {
  content: '';
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}

.feature-block__icon {
  font-family: 'Press Start 2P', monospace;
  font-size: 24px;
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
}

.feature-block__title {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  margin-bottom: 8px;
  color: var(--gold);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

.feature-block__text {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.feature-block__corner {
  position: absolute;
  width: 8px; height: 8px;
  border-color: var(--redstone);
  border-style: solid;
}

.feature-block__corner--tl { top: 4px; left: 4px; border-width: 2px 0 0 2px; }
.feature-block__corner--tr { top: 4px; right: 4px; border-width: 2px 2px 0 0; }
.feature-block__corner--bl { bottom: 4px; left: 4px; border-width: 0 0 2px 2px; }
.feature-block__corner--br { bottom: 4px; right: 4px; border-width: 0 2px 2px 0; }

/* --- Section: Full list (news full page) --- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-item {
  background: #fff;
  border: 2px solid var(--stone-light);
  box-shadow: var(--shadow-physical);
  padding: 24px 28px;
  position: relative;
}

.news-item::after {
  content: '✂——';
  position: absolute;
  bottom: -14px;
  left: 20px;
  font-family: 'Caveat', cursive;
  color: var(--stone);
  font-size: 14px;
  letter-spacing: 4px;
}

.news-item:last-child::after { display: none; }

.news-item__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.news-item__date {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: var(--stone);
  background: var(--parchment);
  padding: 3px 10px;
  border: 1px solid var(--stone-light);
}

.news-item__cat {
  font-family: 'Caveat', cursive;
  font-size: 16px;
  color: var(--redstone);
}

.news-item__title {
  font-family: 'Caveat', cursive;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.news-item__text {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.7;
}

/* --- Section: Cards (mods/plugins) — Each card is different --- */
.cards-scattered {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
}

.mod-card {
  background: #fff;
  border: 2px solid var(--stone-light);
  box-shadow: var(--shadow-physical);
  padding: 20px;
  width: calc(50% - 8px);
  min-width: 240px;
  max-width: 320px;
  position: relative;
  transform: rotate(var(--rot, 0deg));
}

.mod-card:nth-child(odd) { --rot: -0.4deg; }
.mod-card:nth-child(even) { --rot: 0.5deg; }
.mod-card:nth-child(3n) { --rot: -0.1deg; }
.mod-card:nth-child(4n) { margin-top: 16px; }

.mod-card__badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--redstone);
  color: #fff;
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  padding: 3px 8px;
  border: 2px solid #8b1a1a;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
  transform: rotate(5deg);
}

.mod-card__version {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: var(--stone);
  display: block;
  margin-bottom: 6px;
}

.mod-card__title {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.mod-card__cat {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: var(--gold-dark);
  display: inline-block;
  background: rgba(255,170,0,0.1);
  padding: 2px 8px;
  border: 1px solid rgba(255,170,0,0.3);
  margin-bottom: 8px;
}

.mod-card__desc {
  font-size: 12px;
  color: var(--ink-light);
  line-height: 1.5;
  margin-bottom: 12px;
}

.mod-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed var(--stone-light);
  font-size: 11px;
  color: var(--ink-light);
}

/* ===== LAUNCHER PAGE ===== */
.launcher-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.launcher-info {
  flex: 2;
  background: #fff;
  border: 2px solid var(--stone-light);
  box-shadow: var(--shadow-physical);
  padding: 28px;
  transform: rotate(-0.2deg);
}

.launcher-info p {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.launcher-features {
  list-style: none;
  margin: 16px 0 24px;
}

.launcher-features li {
  padding: 6px 0;
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px dashed var(--parchment-dark);
}

.launcher-features li::before {
  content: '▶ ';
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: var(--green-mc);
}

.launcher-screen {
  flex: 1;
  background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
  border: 3px solid var(--stone-dark);
  box-shadow:
    inset 3px 3px 0 var(--bevel-light),
    inset -3px -3px 0 var(--bevel-dark),
    var(--shadow-physical);
  padding: 32px 20px;
  text-align: center;
  color: var(--green-mc);
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  transform: rotate(0.4deg);
  margin-top: 20px;
}

.launcher-screen__icon {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
  filter: grayscale(0.5);
}

.launcher-screen p {
  color: var(--green-dark);
}

.launcher-screen__cursor {
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Version log */
.version-log {
  margin-top: 40px;
  background: #fff;
  border: 2px solid var(--stone-light);
  box-shadow: var(--shadow-physical);
  padding: 24px;
  transform: rotate(0.3deg);
}

.version-entry {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 10px 12px;
  border-bottom: 1px dashed var(--parchment-dark);
}

.version-entry:last-child { border-bottom: none; }

.version-entry__tag {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: var(--redstone);
  background: rgba(208,49,45,0.08);
  padding: 2px 8px;
  border: 1px solid rgba(208,49,45,0.2);
  white-space: nowrap;
}

.version-entry__date {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: var(--stone);
  white-space: nowrap;
}

.version-entry__log {
  font-size: 12px;
  color: var(--ink-light);
  flex: 1;
}

/* ===== DOWNLOAD PAGE ===== */
.download-shelf {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.dl-box {
  background: linear-gradient(180deg, #7a6a5a 0%, #6a5a4a 100%);
  border: 3px solid var(--stone-dark);
  box-shadow:
    inset 3px 3px 0 var(--bevel-light),
    inset -3px -3px 0 var(--bevel-dark),
    var(--shadow-physical);
  padding: 32px 24px 24px;
  text-align: center;
  width: 200px;
  color: #fff;
  text-decoration: none;
  transition: all 0.15s;
  position: relative;
}

.dl-box:hover {
  transform: translate(-2px, -2px);
  box-shadow:
    inset 3px 3px 0 var(--bevel-light),
    inset -2px -2px 0 var(--bevel-dark),
    5px 5px 0 rgba(0,0,0,0.2);
}

.dl-box__icon {
  font-size: 36px;
  display: block;
  margin-bottom: 8px;
}

.dl-box__title {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--gold);
  margin-bottom: 6px;
}

.dl-box__desc {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.dl-box__size {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: var(--green-mc);
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--green-dark);
}

/* ===== LOGIN ===== */
.login-panel {
  max-width: 400px;
  margin: 40px auto;
  background: linear-gradient(180deg, #8a7a6a 0%, #7a6a5a 100%);
  border: 3px solid var(--stone-dark);
  box-shadow:
    inset 3px 3px 0 var(--bevel-light),
    inset -3px -3px 0 var(--bevel-dark),
    var(--shadow-physical);
  padding: 28px;
  color: #fff;
}

.login-panel h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--gold);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--parchment);
  border: 2px solid var(--stone-dark);
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  box-shadow: inset 2px 2px 0 rgba(0,0,0,0.1);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: inset 2px 2px 0 rgba(0,0,0,0.1), 0 0 0 3px rgba(255,170,0,0.2);
}

.form-error {
  color: #ff6b6b;
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
}

/* ===== ADMIN PANEL ===== */
.admin-dash {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-card {
  flex: 1;
  min-width: 180px;
  background: linear-gradient(180deg, #7a6a5a 0%, #6a5a4a 100%);
  border: 3px solid var(--stone-dark);
  box-shadow:
    inset 3px 3px 0 var(--bevel-light),
    inset -3px -3px 0 var(--bevel-dark),
    var(--shadow-physical);
  padding: 24px 16px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  transform: rotate(var(--rot, 0deg));
  transition: all 0.15s;
}

.admin-card:nth-child(1) { --rot: -0.3deg; }
.admin-card:nth-child(2) { --rot: 0.5deg; }
.admin-card:nth-child(3) { --rot: -0.1deg; }
.admin-card:nth-child(4) { --rot: 0.4deg; }

.admin-card:hover {
  transform: translate(-2px, -2px);
  box-shadow:
    inset 3px 3px 0 var(--bevel-light),
    inset -2px -2px 0 var(--bevel-dark),
    5px 5px 0 rgba(0,0,0,0.2);
}

.admin-card__icon {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}

.admin-card h3 {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: var(--gold);
}

.admin-form {
  background: #fff;
  border: 2px solid var(--stone-light);
  box-shadow: var(--shadow-physical);
  padding: 28px;
  margin-top: 20px;
}

/* ===== EMPTY STATE ===== */
.empty-note {
  text-align: center;
  padding: 40px;
  background: #fff;
  border: 2px dashed var(--stone-light);
  color: var(--stone);
  font-family: 'Caveat', cursive;
  font-size: 22px;
}

/* ===== FOOTER — Stone slab ===== */
.footer {
  margin-top: 60px;
  background: linear-gradient(180deg, #6a5a4a 0%, #5a4a3a 100%);
  border-top: 3px solid var(--stone-dark);
  box-shadow: inset 0 3px 0 var(--bevel-light);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--stone-dark) 0px, var(--stone-dark) 6px, var(--stone-light) 6px, var(--stone-light) 12px);
}

.footer__inner {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  flex-wrap: wrap;
}

.footer__col {
  flex: 1;
  min-width: 160px;
}

.footer__title {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer__text {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
  line-height: 1.5;
}

.footer__link {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 3px 0;
}

.footer__link:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

/* ===== UTILITY ===== */
.page-title {
  font-family: 'Caveat', cursive;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
  display: inline-block;
  position: relative;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: -4px;
  height: 3px;
  background: var(--redstone);
  opacity: 0.4;
  border-radius: 2px;
  transform: rotate(-0.3deg);
}

.page-subtitle {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: var(--ink-light);
  margin-bottom: 28px;
}

/* Admin list */
.admin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid var(--stone-light);
  padding: 12px 16px;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.06);
}

.admin-list-item__title {
  font-family: 'Caveat', cursive;
  font-size: 18px;
  font-weight: 700;
}

.admin-list-item__actions {
  display: flex;
  gap: 6px;
}

/* Sticky notes for empty states */
.sticky-note {
  background: #fff9c4;
  border: 1px solid #e6c200;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
  padding: 20px;
  font-family: 'Caveat', cursive;
  font-size: 20px;
  text-align: center;
  color: var(--ink-light);
  transform: rotate(0.5deg);
  max-width: 300px;
  margin: 20px auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header__inner { flex-direction: column; align-items: stretch; }
  .nav { margin-left: 0; justify-content: center; }
  .header__actions { justify-content: center; }
  .hero__title { font-size: 16px; }
  .features-row { flex-direction: column; }
  .feature-block:nth-child(2) { margin-top: 0; }
  .feature-block:nth-child(3) { margin-top: 0; }
  .mod-card { width: 100%; max-width: 100%; }
  .launcher-layout { flex-direction: column; }
  .launcher-screen { margin-top: 0; }
  .dl-box { width: 100%; max-width: 280px; }
  .footer__inner { flex-direction: column; gap: 24px; }
  .admin-card { min-width: 140px; }
}
