/* =========================================
   NOIDLE — style.css
   Pixel Art · Retro Neon · Dark Room Vibes
   ========================================= */

:root {
  --bg:         #0d0d14;
  --bg2:        #11111c;
  --bg3:        #16162a;
  --surface:    #1a1a2e;
  --surface2:   #1e1e35;
  --border:     rgba(180, 120, 255, 0.12);
  --border2:    rgba(180, 120, 255, 0.22);
  --purple:     #b47fff;
  --pink:       #ff79c6;
  --cyan:       #80ffea;
  --yellow:     #f1fa8c;
  --green:      #50fa7b;
  --red:        #ff5555;
  --text:       #e2deff;
  --muted:      #6e6a9b;
  --glow-p:     rgba(180, 127, 255, 0.4);
  --glow-c:     rgba(128, 255, 234, 0.4);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'VT323', monospace;
  font-size: 18px;
  overflow-x: hidden;
  line-height: 1.5;
}

/* ── SCANLINES ── */
.scanlines {
  position: fixed; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0.05) 2px,
    rgba(0,0,0,0.05) 4px
  );
  pointer-events: none;
  z-index: 9998;
}

/* ── CANVAS ── */
#pixelCanvas {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

/* ── PIXEL BUTTON ── */
.pixel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--purple);
  color: var(--purple);
  background: transparent;
  padding: 10px 20px;
  position: relative;
  transition: all 0.15s;
  image-rendering: pixelated;
}
.pixel-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(180,127,255,0.2);
  pointer-events: none;
}
.pixel-btn:hover {
  background: var(--purple);
  color: var(--bg);
  box-shadow: 0 0 20px var(--glow-p), 0 0 40px var(--glow-p);
}

.btn-primary {
  background: var(--purple);
  color: var(--bg);
  border-color: var(--purple);
  box-shadow: 0 0 12px var(--glow-p);
}
.btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--bg);
  box-shadow: 0 0 30px #fff6, 0 0 60px var(--glow-p);
}

.btn-ghost {
  border-color: rgba(180,127,255,0.35);
  color: var(--muted);
}
.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: transparent;
  box-shadow: 0 0 12px var(--glow-p);
}

.btn-lg { font-size: 0.65rem; padding: 14px 28px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(13,13,20,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.05em;
}
.logo-bracket { color: var(--purple); }
.logo-text { color: var(--cyan); text-shadow: 0 0 12px var(--cyan); }
.logo-blink {
  color: var(--purple);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.nav-links {
  display: flex; gap: 28px; list-style: none;
}
.nav-links a {
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); text-shadow: 0 0 8px var(--glow-p); }
.nav-cta { font-size: 0.55rem; padding: 9px 16px; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 40px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(180,127,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,127,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent);
  animation: gridMove 25s linear infinite;
}
@keyframes gridMove {
  from { transform: translate(0,0); }
  to { transform: translate(40px,40px); }
}
.hero-glow-1 {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,127,255,0.12), transparent 70%);
  top: -150px; left: 50%;
  transform: translateX(-50%);
  filter: blur(40px);
  animation: pulse-orb 6s ease-in-out infinite alternate;
}
.hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128,255,234,0.08), transparent 70%);
  bottom: 0; right: 10%;
  filter: blur(60px);
  animation: pulse-orb 8s ease-in-out infinite alternate-reverse;
}
@keyframes pulse-orb {
  from { transform: scale(1) translateX(-50%); opacity: 0.7; }
  to { transform: scale(1.2) translateX(-50%); opacity: 1; }
}

.hero-content {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 800px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  border: 1px solid rgba(128,255,234,0.2);
  padding: 6px 20px;
  background: rgba(128,255,234,0.04);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}
.tag-dot {
  width: 8px; height: 8px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 1.5s step-end infinite;
}

.hero-pfp-wrap {
  position: relative;
  width: 120px; height: 120px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.35s;
}
.pfp-ring {
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(180,127,255,0.4);
  border-radius: 50%;
  animation: spin 8s linear infinite;
}
.pfp-ring-2 {
  inset: -16px;
  border-color: rgba(128,255,234,0.2);
  animation-duration: 12s;
  animation-direction: reverse;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.hero-pfp {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--purple);
  box-shadow: 0 0 24px var(--glow-p), 0 0 48px rgba(180,127,255,0.2);
  image-rendering: pixelated;
}
.pfp-fallback {
  display: none;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--purple);
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 2rem;
  color: var(--purple);
  box-shadow: 0 0 24px var(--glow-p);
}

.hero-title {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.5s;
}
.glitch {
  position: relative;
  color: var(--cyan);
  text-shadow: 0 0 20px var(--cyan), 0 0 40px rgba(128,255,234,0.3);
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.glitch::before {
  color: var(--pink);
  animation: glitch1 3s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
  left: 2px;
}
.glitch::after {
  color: var(--purple);
  animation: glitch2 3s infinite;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
  left: -2px;
}
@keyframes glitch1 {
  0%, 90%, 100% { transform: none; opacity: 0; }
  91% { transform: translate(-3px, 2px); opacity: 0.8; }
  93% { transform: translate(3px, -2px); opacity: 0.8; }
  95% { transform: none; opacity: 0; }
}
@keyframes glitch2 {
  0%, 85%, 100% { transform: none; opacity: 0; }
  86% { transform: translate(3px, -2px); opacity: 0.8; }
  88% { transform: translate(-3px, 2px); opacity: 0.8; }
  90% { transform: none; opacity: 0; }
}

.hero-sub {
  font-size: 1.3rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  min-height: 2em;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.65s;
}
.type-cursor {
  color: var(--purple);
  animation: blink 0.8s step-end infinite;
}

.hero-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.8s;
}
.pill {
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border: 1px solid var(--border2);
  background: rgba(180,127,255,0.05);
  color: var(--purple);
  transition: all 0.2s;
}
.pill:hover {
  background: rgba(180,127,255,0.1);
  box-shadow: 0 0 10px var(--glow-p);
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.95s;
}

.hero-stats {
  display: flex; align-items: center; gap: 20px;
  border: 1px solid var(--border);
  padding: 16px 32px;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 1.1s;
}
.stat-box { text-align: center; }
.stat-num {
  font-family: 'Press Start 2P', monospace;
  font-size: 1.2rem;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan);
}
.stat-lbl {
  font-family: 'VT323', monospace;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 4px;
}
.stat-sep {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  color: var(--border2);
}

.pixel-deco {
  position: absolute;
  font-family: 'VT323', monospace;
  pointer-events: none;
  opacity: 0.15;
}
.deco-corner-br {
  bottom: 24px; right: 32px;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: var(--purple);
}
.deco-neon {
  bottom: 20px; left: 32px;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--pink);
  animation: flicker 4s step-end infinite;
}
@keyframes flicker {
  0%, 89%, 91%, 96%, 100% { opacity: 0.15; }
  90%, 95% { opacity: 0.05; }
  92% { opacity: 0.18; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── MARQUEE ── */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg2);
  padding: 12px 0;
  position: relative; z-index: 2;
}
.marquee-inner {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: scroll 22s linear infinite;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.msep { color: var(--purple); opacity: 0.5; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── SECTIONS SHARED ── */
section { padding: 90px 40px; position: relative; z-index: 2; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { margin-bottom: 56px; }
.sec-tag {
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  color: var(--purple);
  margin-bottom: 12px;
}
h2 {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--text);
}
.neon-text {
  color: var(--cyan);
  text-shadow: 0 0 14px var(--cyan), 0 0 28px rgba(128,255,234,0.3);
}

/* ── ABOUT ── */
#about { background: var(--bg2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-text {
  display: flex; flex-direction: column; gap: 16px;
}
.about-text p {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.6;
}
.highlight {
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan);
}
.about-badge-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 8px;
}
.badge {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  padding: 5px 12px;
  letter-spacing: 0.06em;
}
.badge-green { border: 1px solid rgba(80,250,123,0.3); color: var(--green); background: rgba(80,250,123,0.06); }
.badge-purple { border: 1px solid var(--border2); color: var(--purple); background: rgba(180,127,255,0.06); }
.badge-pink { border: 1px solid rgba(255,121,198,0.3); color: var(--pink); background: rgba(255,121,198,0.06); }

/* Terminal */
.about-terminal {
  border: 1px solid var(--border2);
  background: #0a0a12;
  overflow: hidden;
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.t-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.t-red { background: var(--red); }
.t-yellow { background: var(--yellow); }
.t-green { background: var(--green); }
.t-title {
  font-family: 'VT323', monospace;
  font-size: 1rem;
  color: var(--muted);
  margin-left: 8px;
  letter-spacing: 0.06em;
}
.terminal-body {
  padding: 20px 20px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.t-line {
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  display: flex; gap: 10px;
}
.t-prompt { color: var(--green); }
.t-cmd { color: var(--cyan); }
.t-out { color: var(--muted); padding-left: 20px; }
.t-cursor-term {
  color: var(--green);
  animation: blink 1s step-end infinite;
}

/* ── FEATURES ── */
#features { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.feat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.feat-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.feat-card:hover::after { transform: scaleX(1); }
.feat-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.feat-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.feat-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}
.feat-tag {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.45rem;
  padding: 4px 10px;
  border: 1px solid rgba(180,127,255,0.2);
  color: var(--purple);
  letter-spacing: 0.1em;
}

/* ── CHANNELS ── */
#channels { background: var(--bg2); }
.discord-preview {
  display: flex;
  border: 1px solid var(--border2);
  overflow: hidden;
  max-height: 500px;
}
.discord-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #1e1f2e;
  border-right: 1px solid var(--border);
  overflow-y: auto;
  padding-bottom: 16px;
}
.sidebar-header {
  padding: 16px 14px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.05em;
}
.server-icon-sm {
  width: 28px; height: 28px;
  background: var(--surface2);
  border: 1px solid var(--purple);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.channel-group { padding: 12px 8px 0; }
.ch-group-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.42rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 0 8px 8px;
  text-transform: uppercase;
}
.ch-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  font-family: 'VT323', monospace;
  font-size: 0.95rem;
  color: var(--muted);
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.15s;
  letter-spacing: 0.03em;
}
.ch-item:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.ch-item.active { color: var(--text); background: rgba(180,127,255,0.1); }
.ch-hash { color: var(--muted); font-size: 0.85rem; }
.ch-badge {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.35rem;
  padding: 2px 6px;
  background: rgba(80,250,123,0.15);
  color: var(--green);
  border: 1px solid rgba(80,250,123,0.2);
  margin-left: auto;
}
.ch-badge.hot { background: rgba(255,85,85,0.12); color: var(--red); border-color: rgba(255,85,85,0.2); }

.discord-main { flex: 1; display: flex; flex-direction: column; background: #242538; }
.dm-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dm-status {
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--muted);
}
.dm-messages {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}
.dm-msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.dm-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  color: #fff;
}
.dm-user {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  margin-right: 8px;
}
.dm-time {
  font-family: 'VT323', monospace;
  font-size: 0.85rem;
  color: var(--muted);
}
.dm-text {
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  color: var(--text);
  margin-top: 4px;
  line-height: 1.4;
}
.typing-dots span {
  animation: typeDot 1.2s infinite;
  font-size: 1.4rem;
  color: var(--purple);
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typeDot {
  0%, 80%, 100% { opacity: 0.3; }
  40% { opacity: 1; }
}
.dm-input {
  padding: 12px 18px;
  margin: 0 16px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  font-family: 'VT323', monospace;
  font-size: 1rem;
  color: var(--muted);
}

/* ── JOIN CTA ── */
#join { background: var(--bg); }
.cta-box {
  position: relative;
  border: 1px solid var(--border2);
  overflow: hidden;
  background: var(--surface);
}
.cta-scanline {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(180,127,255,0.02) 0px,
    rgba(180,127,255,0.02) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
}
.cta-content {
  position: relative; z-index: 1;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.cta-title {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 460px;
}

/* Invite Card */
.invite-card {
  background: #1e1f2e;
  border: 1px solid var(--border2);
  padding: 24px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.inv-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.inv-pfp {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--purple);
  flex-shrink: 0;
  position: relative;
}
.inv-pfp img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.inv-pfp-fallback {
  display: none;
  width: 100%; height: 100%;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 1rem;
  color: var(--purple);
}
.inv-name {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.inv-meta {
  font-family: 'VT323', monospace;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.green-dot { color: var(--green); text-shadow: 0 0 6px var(--green); }
.btn-join {
  width: 100%;
  justify-content: center;
  background: #5865F2;
  border-color: #5865F2;
  color: #fff;
  font-size: 0.55rem;
  padding: 12px;
}
.btn-join:hover {
  background: #4752c4;
  border-color: #4752c4;
  box-shadow: 0 0 20px rgba(88,101,242,0.4);
}
.inv-link {
  font-family: 'VT323', monospace;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.06em;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 28px 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem;
  color: var(--cyan);
  letter-spacing: 0.06em;
}
.footer-copy {
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.footer-discord {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  color: var(--purple);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.footer-discord:hover {
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .cta-content { grid-template-columns: 1fr; }
  .invite-card { min-width: unset; }
  .discord-preview { max-height: 420px; }
  .discord-sidebar { width: 180px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner { padding: 14px 20px; }
  #hero { padding: 90px 20px 50px; }
  section { padding: 60px 20px; }
  footer { padding: 24px 20px; }
  .cta-content { padding: 36px 24px; }
  .hero-stats { padding: 12px 20px; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .discord-sidebar { display: none; }
}
