/* ═══════════════════════════════════════════════════════════════
   TINY WRECK — tinywreck.com
   Design System: Dark, Cyber-Indie, Red Panda Energy
═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --bg:          #08080F;
  --bg-2:        #0C0C18;
  --surface:     #111122;
  --card:        #161630;
  --card-hover:  #1C1C3A;
  --border:      rgba(255,255,255,0.07);
  --border-mid:  rgba(255,255,255,0.12);

  --cyan:        #00E5FF;
  --cyan-dim:    #00B8CC;
  --cyan-glow:   rgba(0,229,255,0.12);
  --cyan-glow-s: rgba(0,229,255,0.05);

  --orange:      #FF6B35;
  --orange-dim:  #E05A28;
  --orange-glow: rgba(255,107,53,0.15);

  --green:       #5DBB8A;
  --green-dim:   #4A9970;
  --green-glow:  rgba(93,187,138,0.12);

  --yellow:      #FFD60A;
  --red:         #FF3D5A;

  --white:       #F0F2FF;
  --white-dim:   #C8CADD;
  --muted:       #6B6B90;
  --muted-light: #9090B8;

  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --r-sm:  8px;
  --r:     14px;
  --r-lg:  20px;
  --r-xl:  28px;

  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);

  --t:     0.25s var(--ease);
  --t-med: 0.4s  var(--ease);
  --t-slow:0.7s  var(--ease);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
.sr-only { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: var(--t);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--t);
}
.btn:hover::after { background: rgba(255,255,255,0.06); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 0 rgba(255,107,53,0);
  transition: var(--t), box-shadow var(--t);
}
.btn-primary:hover {
  background: var(--orange-dim);
  box-shadow: 0 0 28px rgba(255,107,53,0.4);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

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

.btn-ghost {
  background: transparent;
  color: var(--white-dim);
  border: 1px solid var(--border-mid);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

.btn-outline {
  background: transparent;
  color: var(--muted-light);
  border: 1px solid var(--border);
}
.btn-coming-soon {
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  border: 1px solid var(--border);
  cursor: default;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-outline:hover {
  color: var(--white);
  border-color: var(--border-mid);
  background: rgba(255,255,255,0.03);
}

.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }

/* ── Section Shared ────────────────────────────────────────── */
section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--muted-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Tags ───────────────────────────────────────────────────── */
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.07);
  color: var(--muted-light);
  border: 1px solid var(--border);
}
.tag-green { background: rgba(93,187,138,0.12); color: var(--green); border-color: rgba(93,187,138,0.2); }
.tag-cyan  { background: rgba(0,229,255,0.10);  color: var(--cyan);  border-color: rgba(0,229,255,0.18); }

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background var(--t-med), border-color var(--t-med), padding var(--t-med);
}
.nav.scrolled {
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted-light);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: var(--t);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-cta { margin-left: auto; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white-dim);
  border-radius: 2px;
  transition: var(--t);
}
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 99;
  background: rgba(8,8,15,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: slideDown 0.2s var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-link {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white-dim);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
}
.mobile-link:hover { color: var(--white); }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}
.g1 {
  width: 600px; height: 600px;
  background: rgba(255,107,53,0.08);
  top: -200px; right: -100px;
}
.g2 {
  width: 500px; height: 500px;
  background: rgba(0,229,255,0.06);
  bottom: -100px; left: -150px;
}
.g3 {
  width: 300px; height: 300px;
  background: rgba(93,187,138,0.05);
  top: 40%; left: 40%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  flex: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.eyebrow-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,0.6); }
  50%       { box-shadow: 0 0 0 8px rgba(255,107,53,0); }
}

.hero-title {
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  display: block;
}
.t-tiny  { color: var(--white); display: block; }
.t-wreck {
  display: block;
  background: linear-gradient(135deg, var(--orange) 0%, #FF3D5A 60%, var(--yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white-dim);
  margin-bottom: 16px;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--muted-light);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted-light);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
}
.pill-accent {
  color: var(--green);
  background: rgba(93,187,138,0.08);
  border-color: rgba(93,187,138,0.2);
}

/* Mascot */
.hero-mascot {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}
.mascot-float {
  animation: float 6s ease-in-out infinite;
}
.mascot-img {
  width: clamp(220px, 28vw, 380px);
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(255,107,53,0.3));
}
.mascot-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 4s ease-in-out infinite;
}
.r1 { width: 110%; height: 110%; border-color: rgba(255,107,53,0.15); animation-delay: 0s; }
.r2 { width: 130%; height: 130%; border-color: rgba(255,107,53,0.08); animation-delay: 0.8s; }
.r3 { width: 155%; height: 155%; border-color: rgba(255,107,53,0.04); animation-delay: 1.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%,-50%) scale(1.04); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.4;
  transition: opacity var(--t);
}
.scroll-cue:hover { opacity: 0.8; }
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
  animation: bounce 2s ease infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}

/* ══════════════════════════════════════════════════════════════
   GAMES
══════════════════════════════════════════════════════════════ */
.games { background: var(--bg-2); }

.games-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.game-card {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform 0.1s ease;
  transform-style: preserve-3d;
}
.game-card:hover {
  border-color: var(--border-mid);
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}

.gc-glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0;
  top: -80px; right: -80px;
  transition: opacity var(--t-med);
}
.game-card:hover .gc-glow { opacity: 1; }
.gc-glow-green { background: var(--green-glow); }
.gc-glow-cyan  { background: var(--cyan-glow); }

.gc-inner {
  position: relative;
  z-index: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gc-head { display: flex; align-items: center; gap: 16px; }
.gc-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.gc-icon { width: 100%; height: 100%; object-fit: cover; }
.gc-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.gc-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.gc-desc {
  font-size: 0.92rem;
  color: var(--muted-light);
  line-height: 1.7;
}

.gc-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gc-features li {
  font-size: 0.88rem;
  color: var(--white-dim);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.fi { flex-shrink: 0; font-size: 1rem; line-height: 1.4; }

/* Game Phone Mockups */
.gc-mockup {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}
.phone-shell {
  width: 140px;
  height: 240px;
  background: #0A0A16;
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,0.1);
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.phone-shell-screenshot {
  height: auto;
  min-height: 240px;
}
.gc-screenshot {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.phone-notch {
  width: 40px; height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
}

/* Simple Block screen */
.sb-screen {
  padding: 8px 6px;
  background: #1a2820;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sb-score {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(176,212,184,0.7);
  text-align: right;
}
.sb-grid { display: flex; flex-direction: column; gap: 1.5px; flex: 1; }
.sb-row { display: flex; gap: 1.5px; }
.sc {
  flex: 1; aspect-ratio: 1;
  border-radius: 2px;
  background: rgba(255,255,255,0.04);
}
.sc.filled { border-radius: 3px; }
.sc.g1 { background: #6b9e58; }
.sc.g2 { background: #7eb567; }
.sc.g3 { background: #9ec87a; }
.sb-tray {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding-top: 4px;
}
.sb-piece {
  width: 24px; height: 24px;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  position: relative;
}
.p-l::before, .p-l::after { content:''; position:absolute; background: #7eb567; border-radius: 2px; }
.p-l::before { width:6px;height:6px; top:2px;left:2px; box-shadow:0 6px 0 #7eb567, 6px 0 0 #7eb567; }
.p-s::before { content:''; position:absolute; background:#6b9e58; width:8px;height:4px; border-radius:1px; top:4px;left:3px; box-shadow:0 4px 0 #6b9e58; }
.p-z::before { content:''; position:absolute; background:#9ec87a; width:10px;height:4px; border-radius:1px; top:3px;left:2px; }
.p-z::after  { content:''; position:absolute; background:#9ec87a; width:10px;height:4px; border-radius:1px; top:7px;left:6px; }

/* Consensus screen */
.cs-screen {
  padding: 8px 8px;
  background: #0A0A12;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}
.cs-streak {
  font-size: 0.52rem;
  color: var(--orange);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.cs-q {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.cs-opts { display: flex; gap: 4px; }
.cs-opt {
  flex: 1;
  padding: 5px 4px;
  border-radius: 6px;
  font-size: 0.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  text-align: center;
  background: rgba(255,255,255,0.06);
  color: var(--muted-light);
}
.cs-selected {
  background: rgba(0,229,255,0.15);
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.3);
}
.cs-reveal { margin-top: 2px; }
.cs-bar-track {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}
.cs-bar-fill {
  height: 100%;
  background: var(--cyan);
  border-radius: 2px;
  animation: barGrow 1.2s var(--ease-out) forwards;
}
@keyframes barGrow {
  from { width: 0 !important; }
}
.cs-pcts {
  display: flex;
  justify-content: space-between;
  font-size: 0.46rem;
  color: var(--muted);
}
.cs-match { color: var(--green); }
.cs-rating {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 2px;
}

.gc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════
   STATS
══════════════════════════════════════════════════════════════ */
.stats {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-item {
  text-align: center;
  padding: 48px 24px;
  position: relative;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}
.stat-num.zero { color: var(--green); }
.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-note {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--green);
  margin-top: 8px;
  opacity: 0.7;
}
.stat-zero .stat-num { color: var(--green); }

/* ══════════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════════ */
.about { background: var(--bg-2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-logo-frame {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.about-logo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,107,53,0.06) 0%, transparent 70%);
}
.about-logo {
  width: 100%;
  max-width: 320px;
  height: auto;
  position: relative;
  z-index: 1;
}
.about-quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
  color: var(--muted-light);
  text-align: center;
  padding: 0 16px;
  border-left: 3px solid var(--orange);
  padding-left: 20px;
  text-align: left;
}

.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text p {
  font-size: 1.02rem;
  color: var(--muted-light);
  line-height: 1.8;
}
.about-text em { color: var(--white); font-style: italic; }

.values-list { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.vl-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--card);
  border-radius: var(--r);
  border: 1px solid var(--border);
}
.vl-dot {
  color: var(--orange);
  font-size: 0.8rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.vl-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--white);
  margin-bottom: 2px;
}
.vl-item span { font-size: 0.83rem; color: var(--muted); }


/* ══════════════════════════════════════════════════════════════
   DEVLOG
══════════════════════════════════════════════════════════════ */
.devlog { background: var(--bg-2); }
.devlog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dl-post {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.dl-post:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.dl-post-top { display: flex; align-items: center; justify-content: space-between; }
.dl-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.dl-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  color: var(--muted-light);
}
.dl-tag-cyan  { background: rgba(0,229,255,0.1);  color: var(--cyan); }
.dl-tag-green { background: rgba(93,187,138,0.1); color: var(--green); }
.dl-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}
.dl-excerpt { font-size: 0.88rem; color: var(--muted-light); line-height: 1.65; flex: 1; }
.dl-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  transition: color var(--t);
}
.dl-link:hover { color: var(--white); }

/* ══════════════════════════════════════════════════════════════
   NEWSLETTER
══════════════════════════════════════════════════════════════ */
.newsletter { background: var(--bg); padding: 80px 0; }
.nl-box {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
}
.nl-glow {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.nl-mascot {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}
.nl-mascot img { width: 100%; height: 100%; object-fit: contain; }
.nl-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.nl-desc {
  color: var(--muted-light);
  font-size: 0.95rem;
  margin-bottom: 28px;
}
.nl-form {
  display: flex;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto 12px;
}
.nl-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  padding: 12px 20px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--t);
}
.nl-input::placeholder { color: var(--muted); }
.nl-input:focus { border-color: rgba(255,107,53,0.5); }
.nl-success {
  color: var(--green);
  font-size: 0.9rem;
  margin-top: 12px;
}
.nl-fine {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════════ */
.contact { background: var(--bg-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-text { display: flex; flex-direction: column; gap: 20px; }
.contact-text p { color: var(--muted-light); font-size: 1.02rem; line-height: 1.75; }
.contact-emails {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-email {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  transition: color var(--t);
}
.contact-email:hover { color: var(--white); }
.contact-email-secondary {
  font-size: 0.95rem;
  color: var(--muted-light);
}
.contact-email-secondary:hover { color: var(--white); }
.contact-email-note {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.social-row { display: flex; gap: 12px; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted-light);
  transition: var(--t);
}
.social-btn:hover {
  color: var(--white);
  border-color: var(--border-mid);
  background: var(--card-hover);
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.cc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.cc-row:last-child { border-bottom: none; }
.cc-k {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cc-v {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white-dim);
}
.cc-v-accent { color: var(--green); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-top {
  display: flex;
  gap: 80px;
  margin-bottom: 48px;
  align-items: flex-start;
}
.footer-brand { flex: 1; }
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: var(--muted); }
.footer-nav {
  display: flex;
  gap: 64px;
}
.fn-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fn-col strong {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.fn-col a {
  font-size: 0.88rem;
  color: var(--muted-light);
  transition: color var(--t);
}
.fn-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-love { font-style: italic; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { gap: 40px; }
  .footer-nav { gap: 40px; }
  .hero-mascot { opacity: 0.25; right: 0; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: 100px 24px 60px; }
  .hero-mascot { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .devlog-grid { grid-template-columns: 1fr; }

  .nl-form { flex-direction: column; }
  .nl-input { width: 100%; }
  .nl-box { padding: 40px 24px; }

  .footer-top { flex-direction: column; gap: 40px; }
  .footer-nav { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; }
  .hero-pills { flex-direction: column; gap: 8px; }
  .gc-inner { padding: 20px; }
}

/* ══════════════════════════════════════════════════════════════
   ACCESSIBILITY
══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 4px;
}
