/* ============================================================
   axiarel.com — stylesheet · Broadcast edition (2026)
   ============================================================ */

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

:root {
  /* Base */
  --bg:            #070a10;
  --bg-raised:     #0d1220;
  --bg-card:       rgba(255,255,255,0.025);
  --bg-elevated:   rgba(255,255,255,0.05);

  /* One confident blue system */
  --accent:        #4c8dff;
  --accent-hi:     #7fb0ff;
  --accent-lo:     #2463e6;
  --accent-dim:    rgba(76,141,255,0.10);
  --accent-glow:   rgba(76,141,255,0.32);

  /* Text */
  --text:          #edeff5;
  --text-muted:    #9397a3;
  --text-dim:      #52555f;

  /* Lines */
  --border:        rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.14);

  /* Radii */
  --r-sm: 10px;
  --r:    18px;
  --r-lg: 26px;

  /* Type */
  --font:      'Outfit', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease:      cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Brand accents (used sparingly — only on per-card hover) */
  --brand-twitter:   #4c8dff;
  --brand-twitch:    #a47dff;
  --brand-instagram: #ff6b9d;
  --brand-discord:   #7389ff;
  --brand-youtube:   #ff6b6b;
  --brand-steam:     #7fb0ff;
  --brand-bluesky:   #4c8dff;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

input, textarea, select { user-select: text; -webkit-user-select: text; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ── Accessibility ──────────────────────────────────────── */
.sr-only {
  position: absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip-link {
  position: absolute; top: -999px; left: 1rem;
  padding: .5rem 1rem; background: var(--accent); color: #000;
  border-radius: var(--r-sm); font-weight: 700; z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   BACKGROUND STACK
   ============================================================ */
.bg-aurora {
  position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 15% -10%, rgba(76,141,255,0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 110%, rgba(36,99,230,0.14), transparent 55%),
    linear-gradient(180deg, #070a10 0%, #080c14 60%, #060910 100%);
}
.aurora-blob {
  position: absolute; border-radius: 50%; filter: blur(110px); will-change: transform; opacity: .9;
}
.aurora-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(76,141,255,0.28), transparent 65%);
  top: -15%; left: -8%;
  animation: auroraA 26s ease-in-out infinite;
}
.aurora-2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(127,176,255,0.14), transparent 65%);
  bottom: -20%; right: -10%;
  animation: auroraB 32s ease-in-out infinite;
}
.aurora-3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(36,99,230,0.12), transparent 65%);
  top: 45%; left: 52%;
  animation: auroraC 28s ease-in-out infinite;
}
@keyframes auroraA {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(80px,50px) scale(1.1); }
  66%     { transform: translate(-40px,90px) scale(0.92); }
}
@keyframes auroraB {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(-70px,-50px) scale(1.1); }
  70%     { transform: translate(60px,-80px) scale(0.9); }
}
@keyframes auroraC {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50%     { transform: translate(calc(-50% + 100px), calc(-50% - 80px)) scale(1.18); }
}

.bg-grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

/* Scanline overlay — the "broadcast" signature */
.bg-scanlines {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .055;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0,
    rgba(255,255,255,0) 2px,
    rgba(255,255,255,0.6) 2px,
    rgba(255,255,255,0.6) 3px
  );
  mix-blend-mode: overlay;
}

.bg-dots {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .35;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, black 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, black 15%, transparent 75%);
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(7,10,16,0.78);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  padding: 1.1rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}
.nav-logo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .55; transform: scale(.85); }
}

.nav-center {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-center b {
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.18em;
}

nav.nav-right {
  display: flex; gap: 1.6rem; align-items: center; justify-self: end;
}
nav.nav-right a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding: .3rem 0;
  position: relative;
  transition: color .25s;
}
nav.nav-right a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
nav.nav-right a:hover { color: var(--text); }
nav.nav-right a:hover::after { transform: scaleX(1); transform-origin: left; }
nav.nav-right a.active { color: var(--text); }
nav.nav-right a.active::after { transform: scaleX(1); }

@media (max-width: 760px) {
  header { grid-template-columns: 1fr auto; padding: 1rem 1.25rem; }
  .nav-center { display: none; }
}

/* ============================================================
   MAIN
   ============================================================ */
main {
  position: relative; z-index: 2;
  flex: 1;
  width: 100%; max-width: 1240px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* Shared keyframes */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes sweep {
  from { transform: translateX(-120%); }
  to   { transform: translateX(120%); }
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ============================================================
   HERO — broadcast band
   ============================================================ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  padding: 2.5rem 0 1.5rem;
  align-items: center;
  animation: fadeUp .9s var(--ease-out) both;
}

.hero-left { min-width: 0; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding: .4rem .8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #33d07a; box-shadow: 0 0 10px #33d07a;
  animation: pulseDot 2s ease-in-out infinite;
}
.hero-eyebrow[data-status="offline"] .dot {
  background: var(--text-dim); box-shadow: none; animation: none;
}

.hero-title {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 10.5rem);
  line-height: .88;
  letter-spacing: -0.055em;
  color: var(--text);
  margin-bottom: 1rem;
  position: relative;
}
.hero-title .stroke {
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
  font-style: italic;
  font-weight: 400;
}
.hero-title .accent {
  background: linear-gradient(100deg, var(--accent-hi), var(--accent) 45%, var(--accent-lo) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientShift 8s ease-in-out infinite;
}

.hero-sub {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: .88rem;
  color: var(--text-muted);
  letter-spacing: .02em;
  margin-bottom: 2rem;
}
.hero-sub .divider {
  width: 32px; height: 1px; background: var(--border-strong);
}
.hero-sub .tag-rotator {
  display: inline-block;
  min-width: 14ch;
  color: var(--text);
}
.hero-sub .tag-rotator span {
  display: inline-block;
  animation: fadeIn .5s ease;
}

.hero-stats {
  display: flex; gap: 2.2rem; flex-wrap: wrap;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
.hero-stat { display: flex; flex-direction: column; gap: .1rem; }
.hero-stat .num {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.hero-stat .label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: .4rem;
}

/* Hero right — portrait / wordmark card */
.hero-right {
  position: relative;
  width: min(420px, 34vw);
}
.hero-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse 120% 90% at 30% 0%, rgba(76,141,255,0.28), transparent 55%),
    linear-gradient(160deg, #121a2e 0%, #0a0f1c 100%);
  box-shadow:
    0 40px 100px -30px rgba(0,0,0,0.8),
    0 0 0 1px rgba(76,141,255,0.12) inset,
    0 0 80px rgba(76,141,255,0.15);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.hero-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0,
    rgba(255,255,255,0) 3px,
    rgba(255,255,255,0.05) 3px,
    rgba(255,255,255,0.05) 4px
  );
  pointer-events: none; z-index: 3;
}
.hero-frame::after {
  content: '';
  position: absolute; inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-hi), transparent 35%, transparent 65%, var(--accent-lo));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
  opacity: .6;
}

.hero-frame-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 1.4rem 1.5rem 1.2rem;
  z-index: 2;
}
.hero-wordmark {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem 0;
}
.hero-wordmark img {
  width: 100%; height: auto; max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 24px rgba(76,141,255,0.4));
}

.hero-frame-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .6rem;
  align-items: end;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-frame-meta strong { color: var(--text); font-weight: 500; }
.hero-frame-meta .rec {
  display: inline-flex; align-items: center; gap: .35rem;
  color: #ff5a5a; letter-spacing: .14em;
}
.hero-frame-meta .rec::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #ff5a5a; box-shadow: 0 0 8px #ff5a5a;
  animation: pulseDot 1.2s ease-in-out infinite;
}

/* Sweeping light on hero-frame */
.hero-frame .sweep {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1;
}
.hero-frame .sweep::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(127,176,255,0.12), transparent);
  animation: sweep 6.5s ease-in-out infinite;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-right { width: min(100%, 420px); margin: 0 auto; }
  .hero-title { font-size: clamp(3.5rem, 14vw, 6.5rem); }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  position: relative;
  margin: 2rem 0;
  padding: .85rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, transparent, rgba(76,141,255,0.04), transparent);
}
.ticker::before, .ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.ticker::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.ticker-track {
  display: flex; width: max-content; gap: 3rem;
  animation: marquee 40s linear infinite;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .08em;
  color: var(--text-muted);
  white-space: nowrap;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: .7rem;
}
.ticker-track span::before {
  content: '✦'; color: var(--accent); font-size: .8rem;
}
.ticker-track strong { color: var(--text); font-weight: 500; }

/* ============================================================
   BENTO
   ============================================================ */
.bento { width: 100%; margin-top: 1rem; }

.bento-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; padding: 0 0 1.5rem;
}
.bento-head-left { display: flex; flex-direction: column; gap: .4rem; }
.bento-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-muted);
}
.bento-eyebrow span { color: var(--accent); }
.bento-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
}
.bento-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  -webkit-text-stroke: 0;
}
.bento-count {
  font-family: var(--font-mono); font-size: .7rem;
  color: var(--text-dim); letter-spacing: .08em;
  padding: .3rem .6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.bento-count b { color: var(--text); font-weight: 500; }

.bento-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  grid-template-areas:
    "twitter   twitter   twitch    twitch"
    "twitter   twitter   youtube   youtube"
    "instagram discord   steam     bluesky";
}

/* ── Base card ──────────────────────────── */
.bento-card {
  --card-accent: var(--accent);
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.2rem 1.3rem;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
  transition:
    border-color .4s var(--ease),
    background   .4s var(--ease),
    transform    .5s var(--ease-out),
    box-shadow   .45s var(--ease);
}

/* Cursor-reactive radial halo (controlled via --mx/--my from JS) */
.bento-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(
    220px circle at calc(var(--mx, 50%) ) calc(var(--my, 50%)),
    color-mix(in srgb, var(--card-accent) 28%, transparent),
    transparent 60%
  );
  opacity: 0; z-index: -1;
  transition: opacity .4s var(--ease);
}
/* Thin top accent line — reveals on hover */
.bento-card::after {
  content: '';
  position: absolute; top: 0; left: 25%; right: 25%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
  opacity: 0;
  transition: opacity .4s var(--ease), left .6s var(--ease-out), right .6s var(--ease-out);
}

.bento-card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 42%, var(--border));
  background: color-mix(in srgb, var(--card-accent) 4%, var(--bg-card));
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover::after { opacity: 1; left: 0; right: 0; }

@media (hover: hover) and (pointer: fine) {
  .bento-card:hover {
    box-shadow:
      0 20px 60px -15px color-mix(in srgb, var(--card-accent) 25%, transparent),
      0 0 0 1px color-mix(in srgb, var(--card-accent) 18%, transparent) inset;
  }
  .bento-card:hover .bento-icon { transform: scale(1.06) rotate(-3deg); }
  .bento-card:hover .bento-arrow { transform: translate(3px, -3px); opacity: 1; }
  .bento-card:hover .bento-glyph { opacity: .2; transform: scale(1.05); }
}

.bento-card:active { transform: scale(.99); }
.bento-card:focus-visible { outline: 2px solid var(--card-accent); outline-offset: 3px; }

/* Index */
.bento-index {
  position: absolute; top: .9rem; right: 1rem;
  font-family: var(--font-mono); font-size: .64rem;
  color: var(--text-dim); letter-spacing: .08em;
  z-index: 2;
}

/* Icon */
.bento-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--card-accent) 14%, rgba(255,255,255,0.03));
  border: 1px solid color-mix(in srgb, var(--card-accent) 20%, var(--border));
  transition: transform .45s var(--ease-out), background .4s var(--ease);
}
.bento-icon svg {
  width: 22px; height: 22px;
  stroke: var(--card-accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Large decorative glyph (background) */
.bento-glyph {
  position: absolute;
  right: -18px; bottom: -18px;
  width: 160px; height: 160px;
  opacity: .08;
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease-out);
}
.bento-glyph svg { width: 100%; height: 100%; stroke: var(--card-accent); fill: none; stroke-width: 1; }

/* Text */
.bento-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; z-index: 1; }
.bento-name {
  font-weight: 700; font-size: 1rem;
  color: var(--text); letter-spacing: -0.01em;
}
.bento-handle {
  font-family: var(--font-mono);
  font-size: .72rem; color: var(--text-muted);
  letter-spacing: .02em; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* Arrow */
.bento-arrow {
  position: absolute; bottom: .9rem; right: 1rem;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--card-accent); opacity: .55;
  transition: transform .35s var(--ease-out), opacity .3s var(--ease);
}
.bento-arrow svg { width: 14px; height: 14px; }

/* CTA */
.bento-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--card-accent); margin-top: .4rem;
  transition: gap .3s var(--ease);
}
.bento-cta svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .bento-card:hover .bento-cta { gap: .75rem; }
  .bento-card:hover .bento-cta svg { transform: translate(2px, -2px); }
}

/* Featured 2×2 */
.bento-featured {
  padding: 1.9rem 2rem;
  background:
    radial-gradient(ellipse 110% 90% at 0% 100%, color-mix(in srgb, var(--card-accent) 24%, transparent), transparent 60%),
    var(--bg-card);
  border-color: color-mix(in srgb, var(--card-accent) 22%, var(--border));
}
.bento-featured .bento-icon { width: 56px; height: 56px; border-radius: 16px; }
.bento-featured .bento-icon svg { width: 30px; height: 30px; }
.bento-featured .bento-text { gap: .3rem; margin-top: auto; }
.bento-featured .bento-name {
  font-size: 2.6rem; font-weight: 800; line-height: .95; letter-spacing: -0.035em;
}
.bento-featured .bento-handle { font-size: .82rem; margin-top: .25rem; }
.bento-featured .bento-glyph {
  width: 260px; height: 260px; right: -50px; bottom: -50px;
  opacity: .09;
}

/* Wide 2×1 */
.bento-wide {
  padding: 1.3rem 1.45rem;
  flex-direction: row; align-items: center; gap: 1.1rem;
  justify-content: flex-start;
}
.bento-wide .bento-icon { width: 48px; height: 48px; }
.bento-wide .bento-icon svg { width: 24px; height: 24px; }
.bento-wide .bento-name { font-size: 1.3rem; font-weight: 700; }
.bento-wide .bento-arrow { top: 50%; bottom: auto; transform: translateY(-50%); }
@media (hover: hover) and (pointer: fine) {
  .bento-wide:hover .bento-arrow { transform: translate(3px, calc(-50% - 3px)); }
}
.bento-wide .bento-glyph { width: 140px; height: 140px; right: -20px; bottom: -30px; }

/* Per-brand accents */
.bento-card[data-brand="twitter"]   { --card-accent: var(--brand-twitter); }
.bento-card[data-brand="twitch"]    { --card-accent: var(--brand-twitch); }
.bento-card[data-brand="instagram"] { --card-accent: var(--brand-instagram); }
.bento-card[data-brand="discord"]   { --card-accent: var(--brand-discord); }
.bento-card[data-brand="youtube"]   { --card-accent: var(--brand-youtube); }
.bento-card[data-brand="steam"]     { --card-accent: var(--brand-steam); }
.bento-card[data-brand="bluesky"]   { --card-accent: var(--brand-bluesky); }

/* Staggered entry */
.bento-card {
  opacity: 0; transform: translateY(18px);
  animation: fadeUp .7s var(--ease-out) forwards;
}
.bento.revealed .bento-card:nth-child(1) { animation-delay: .05s; }
.bento.revealed .bento-card:nth-child(2) { animation-delay: .12s; }
.bento.revealed .bento-card:nth-child(3) { animation-delay: .18s; }
.bento.revealed .bento-card:nth-child(4) { animation-delay: .24s; }
.bento.revealed .bento-card:nth-child(5) { animation-delay: .30s; }
.bento.revealed .bento-card:nth-child(6) { animation-delay: .36s; }
.bento.revealed .bento-card:nth-child(7) { animation-delay: .42s; }
/* until revealed, hold them hidden */
.bento:not(.revealed) .bento-card { animation: none; opacity: 0; transform: translateY(18px); }

/* ── Responsive bento ───────────────────── */
@media (max-width: 960px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    grid-template-areas:
      "twitter   twitter"
      "twitter   twitter"
      "twitch    twitch"
      "youtube   youtube"
      "instagram discord"
      "steam     bluesky";
  }
  .bento-featured .bento-name { font-size: 2.2rem; }
}
@media (max-width: 520px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 120px;
    grid-template-areas:
      "twitter"
      "twitter"
      "twitch"
      "youtube"
      "instagram"
      "discord"
      "steam"
      "bluesky";
  }
  .bento-featured .bento-name { font-size: 1.9rem; }
  .bento-wide { padding: 1.1rem 1.2rem; }
}

/* ============================================================
   CURSOR GLOW
   ============================================================ */
.cursor-glow {
  position: fixed; pointer-events: none; z-index: 3;
  width: 420px; height: 420px;
  margin-left: -210px; margin-top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,141,255,0.10), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .6s ease;
}
body.cursor-ready .cursor-glow { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  position: relative; z-index: 2;
  padding: 2.5rem 2rem 2rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: .78rem;
  letter-spacing: .02em;
  max-width: 1240px; margin: 4rem auto 0;
  width: 100%;
}
footer .f-left  { justify-self: start; }
footer .f-mid   { justify-self: center; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }
footer .f-right { justify-self: end; display: flex; gap: 1.5rem; }
footer a { color: var(--text-muted); transition: color .2s; }
footer a:hover { color: var(--accent); }

@media (max-width: 760px) {
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .f-left, footer .f-mid, footer .f-right { justify-self: center; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  width: 100%; max-width: 880px; margin: 0 auto;
  animation: fadeUp .6s var(--ease-out) both;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contact-intro { position: sticky; top: 100px; }

@media (max-width: 820px) {
  .contact-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-intro { position: static; top: auto; }
}
.contact-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.contact-eyebrow span { color: var(--accent); }
.contact-section h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  color: var(--text);
}
.contact-section h1 em {
  font-style: italic; font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}
.contact-intro p {
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 2rem;
  max-width: 40ch;
}
.contact-meta {
  display: flex; flex-direction: column; gap: .9rem;
  padding: 1.1rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.contact-meta .row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: .78rem;
  color: var(--text-muted);
}
.contact-meta .row b { color: var(--text); font-weight: 500; }

form.contact-form {
  display: flex; flex-direction: column; gap: 1rem;
}
.form-group { position: relative; }
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  margin-bottom: .5rem;
  color: var(--text-muted);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.form-group label::before {
  content: attr(data-num);
  color: var(--text-dim);
  margin-right: .6rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: .95rem 1.15rem;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: .95rem;
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form-group input:hover,
.form-group textarea:hover { border-color: var(--border-strong); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(76,141,255,0.04);
  box-shadow: 0 0 0 4px var(--accent-dim);
}
.form-group textarea { resize: vertical; min-height: 160px; line-height: 1.65; }

.form-group-check {
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .9rem 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.form-group-check input[type="checkbox"] {
  width: 17px; height: 17px; margin-top: 2px;
  accent-color: var(--accent); flex-shrink: 0; cursor: pointer;
}
.form-group-check label {
  font-size: .84rem;
  color: var(--text-muted);
  cursor: pointer; line-height: 1.55;
}
.form-group-check label a {
  color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
}

.hp { display: none !important; visibility: hidden !important; }

.btn-submit {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  padding: 1rem 1.6rem;
  background: linear-gradient(100deg, var(--accent-hi), var(--accent) 50%, var(--accent-lo));
  background-size: 200% 100%;
  color: #041028;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  box-shadow: 0 8px 30px var(--accent-glow);
  transition: background-position .5s var(--ease), transform .2s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
  position: relative;
}
.btn-submit:hover {
  background-position: 100% 50%;
  box-shadow: 0 10px 40px var(--accent-glow);
}
.btn-submit:active { transform: scale(.98); }
.btn-submit svg { width: 16px; height: 16px; stroke-width: 2.2; }

.alert {
  padding: 1rem 1.2rem;
  border-radius: var(--r-sm);
  font-size: .9rem; line-height: 1.5;
  display: flex; align-items: flex-start; gap: .7rem;
}
.alert-success {
  background: rgba(76,141,255,0.08);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--accent-hi);
}
.alert-error {
  background: rgba(255,90,90,0.08);
  border: 1px solid rgba(255,90,90,0.4);
  color: #ff9a9a;
}

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-section {
  width: 100%; max-width: 760px; margin: 0 auto;
  animation: fadeUp .6s var(--ease-out) both;
}
.policy-eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.policy-section h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: .6rem;
}
.policy-meta {
  font-family: var(--font-mono);
  font-size: .75rem; color: var(--text-dim);
  margin-bottom: 2.5rem; letter-spacing: .04em;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.policy-section h2 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--text);
  margin-top: 2rem; margin-bottom: .7rem;
  letter-spacing: -.005em;
  display: flex; align-items: baseline; gap: .7rem;
}
.policy-section h2::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; align-self: center;
}
.policy-section p {
  color: var(--text-muted);
  font-size: .95rem; margin-bottom: .9rem; line-height: 1.75;
}
.policy-section ul { list-style: none; padding-left: 0; margin-bottom: .9rem; }
.policy-section ul li {
  color: var(--text-muted); font-size: .95rem;
  margin-bottom: .5rem; line-height: 1.65;
  padding-left: 1.2rem; position: relative;
}
.policy-section ul li::before {
  content: '—'; position: absolute; left: 0; color: var(--accent);
}
.policy-section a {
  color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
}
.policy-section a:hover { opacity: .8; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed; left: 50%; bottom: 1.2rem;
  transform: translateX(-50%);
  z-index: 500;
  max-width: 820px; width: calc(100% - 2rem);
  background: rgba(13, 18, 32, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  padding: 1rem 1.3rem;
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(76,141,255,0.08);
  animation: slideUp .4s var(--ease-out);
}
@keyframes slideUp {
  from { transform: translate(-50%, 120%); opacity: 0; }
  to   { transform: translate(-50%, 0); opacity: 1; }
}
#cookie-banner p {
  flex: 1; min-width: 220px;
  font-size: .84rem; color: var(--text-muted); line-height: 1.55;
}
#cookie-banner p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie-btn-accept, .cookie-btn-reject {
  padding: .55rem 1.2rem;
  font-weight: 600; font-size: .82rem;
  font-family: var(--font);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: opacity .2s, transform .15s var(--ease);
}
.cookie-btn-accept {
  background: linear-gradient(100deg, var(--accent-hi), var(--accent));
  color: #041028;
  border: none;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.cookie-btn-accept:hover { opacity: .9; }
.cookie-btn-reject {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
}
.cookie-btn-reject:hover { color: var(--text); border-color: var(--text-muted); }
.cookie-btn-accept:active, .cookie-btn-reject:active { transform: scale(.97); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ticker-track { animation: none !important; }
  .bento-card { opacity: 1 !important; transform: none !important; }
}
