/* Rainbow Kitty — playful Arbitrum-native meme world */

:root {
  --bg-deep: #07061a;
  --bg-mid: #0e1240;
  --bg-panel: #12164a;
  --arb-blue: #28a0f0;
  --arb-blue-deep: #1236b5;
  --pink: #ff4fd8;
  --magenta: #e83cff;
  --cyan: #4df0ff;
  --yellow: #ffe566;
  --lime: #7dff9a;
  --orange: #ff9a4d;
  --text: #f4f7ff;
  --text-soft: #b8c0e8;
  --stroke: #0a0820;
  --rainbow: linear-gradient(
    90deg,
    #ff5e5e 0%,
    #ff9a4d 16%,
    #ffe566 33%,
    #7dff9a 50%,
    #4df0ff 66%,
    #7a8cff 82%,
    #ff4fd8 100%
  );
  --font-display: "Sniglet", "Fredoka", system-ui, sans-serif;
  --font-body: "Fredoka", system-ui, sans-serif;
  --radius-blob: 2rem;
  --shadow-pop: 0 8px 0 var(--stroke);
  --nav-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(40, 160, 240, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(255, 79, 216, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 35% at 10% 60%, rgba(77, 240, 255, 0.12), transparent 45%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 40%, #0a1838 70%, var(--bg-deep) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}

ul, ol {
  margin: 0;
  padding: 0;
}

/* Atmosphere */
.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.stars {
  position: absolute;
  inset: 0;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.55;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.cloud {
  position: absolute;
  width: 140px;
  height: 48px;
  background: rgba(180, 200, 255, 0.08);
  border-radius: 999px;
  filter: blur(1px);
  animation: drift 40s linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud::before {
  width: 60px;
  height: 60px;
  top: -28px;
  left: 24px;
}

.cloud::after {
  width: 80px;
  height: 70px;
  top: -34px;
  right: 18px;
}

.cloud-a { top: 12%; left: -10%; animation-duration: 55s; }
.cloud-b { top: 35%; left: 40%; width: 180px; animation-duration: 70s; animation-delay: -20s; }
.cloud-c { top: 68%; left: 70%; width: 110px; animation-duration: 48s; animation-delay: -10s; }

.rainbow-arc {
  position: absolute;
  top: -8%;
  left: 50%;
  width: 140vw;
  height: 70vw;
  max-height: 900px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    transparent 0 35%,
    rgba(255, 94, 94, 0.12) 38%,
    rgba(255, 154, 77, 0.12) 42%,
    rgba(255, 229, 102, 0.12) 46%,
    rgba(125, 255, 154, 0.12) 50%,
    rgba(77, 240, 255, 0.12) 54%,
    rgba(122, 140, 255, 0.12) 58%,
    rgba(255, 79, 216, 0.12) 62%,
    transparent 65% 100%
  );
  opacity: 0.7;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 68%);
}

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(40, 160, 240, 0.22), rgba(255, 79, 216, 0.1) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}

body.has-pointer .cursor-glow {
  opacity: 1;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: rgba(7, 6, 26, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(77, 240, 255, 0.15);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  z-index: 2;
}

.nav-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--pink), 0 4px 16px rgba(255, 79, 216, 0.4);
  animation: bob 3s ease-in-out infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-soft);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--cyan);
  transform: translateY(-2px);
}

.nav-cta {
  background: var(--rainbow) !important;
  color: var(--stroke) !important;
  font-weight: 700 !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 2px solid var(--stroke);
  box-shadow: 0 3px 0 var(--stroke);
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 0 var(--stroke);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

main {
  position: relative;
  z-index: 2;
}

.section-inner {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border: 2px dashed rgba(77, 240, 255, 0.45);
  border-radius: 999px;
  background: rgba(40, 160, 240, 0.12);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 1.5rem;
  padding: calc(var(--nav-h) + 2rem) 1.25rem 3rem;
  width: min(1200px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.42;
  filter: saturate(1.15) brightness(0.75);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 26, 0.92) 0%, rgba(7, 6, 26, 0.55) 55%, rgba(7, 6, 26, 0.35) 100%),
    linear-gradient(180deg, rgba(7, 6, 26, 0.5) 0%, transparent 30%, rgba(7, 6, 26, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 36rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--arb-blue);
  margin-bottom: 0.85rem;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  margin-bottom: 1rem;
}

.hero-title .line-soft {
  display: block;
  font-size: 0.55em;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin-bottom: 0.35rem;
}

.hero-title .line-loud {
  display: block;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.45));
}

.emoji-bounce {
  display: inline-block;
  animation: bounce 1.4s ease-in-out infinite;
  filter: none;
  color: initial;
  -webkit-text-fill-color: initial;
  background: none;
}

.emoji-bounce.delay {
  animation-delay: 0.2s;
}

.ticker-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--stroke);
  background: var(--rainbow);
  padding: 0.2rem 1rem 0.35rem;
  border-radius: 1rem;
  border: 3px solid var(--stroke);
  box-shadow: var(--shadow-pop);
  margin: 0 0 1rem;
  transform: rotate(-2deg);
  animation: wiggle 4s ease-in-out infinite;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text);
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

.hero-actions,
.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 3px solid var(--stroke);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 5px 0 var(--stroke);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 var(--stroke);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--stroke);
}

.btn-buy {
  background: var(--rainbow);
  color: var(--stroke);
}

.btn-chart {
  background: var(--arb-blue);
  color: #fff;
}

.btn-copy {
  background: var(--pink);
  color: #fff;
  flex-shrink: 0;
}

.hero-mascot-wrap {
  position: relative;
  z-index: 3;
  justify-self: center;
  width: min(380px, 85%);
  --px: 0px;
  --py: 0px;
  transform: translate(var(--px), var(--py));
  transition: transform 0.15s ease-out;
}

.hero-mascot-wrap .hero-mascot {
  animation: float 4.5s ease-in-out infinite;
}

.hero-mascot-wrap .mascot-glow {
  animation: spin 12s linear infinite;
}

.hero-mascot {
  width: 100%;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow:
    0 0 0 6px var(--pink),
    0 0 0 12px var(--cyan),
    0 20px 50px rgba(255, 79, 216, 0.35),
    0 8px 0 var(--stroke);
  position: relative;
  z-index: 2;
  background: var(--bg-panel);
}

.mascot-glow {
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #ff5e5e,
    #ff9a4d,
    #ffe566,
    #7dff9a,
    #4df0ff,
    #7a8cff,
    #ff4fd8,
    #ff5e5e
  );
  opacity: 0.45;
  filter: blur(28px);
  z-index: 1;
}

.floating-stickers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.sticker {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 4px 0 var(--stroke);
  animation: float 5s ease-in-out infinite;
}

.sticker-1 { top: 18%; right: 8%; width: 52px; height: 52px; animation-delay: -1s; }
.sticker-2 { bottom: 22%; left: 42%; width: 44px; height: 44px; animation-delay: -2.5s; opacity: 0.85; }
.sticker-3 { top: 55%; right: 38%; width: 38px; height: 38px; animation-delay: -0.8s; }

.chip {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 2px solid var(--stroke);
  box-shadow: 0 3px 0 var(--stroke);
  animation: bob 3.2s ease-in-out infinite;
  white-space: nowrap;
}

.chip-gm {
  top: 22%;
  left: 48%;
  background: var(--pink);
  color: #fff;
  transform: rotate(6deg);
}

.chip-lfg {
  bottom: 28%;
  right: 6%;
  background: var(--yellow);
  color: var(--stroke);
  transform: rotate(-8deg);
  animation-delay: -1s;
}

.chip-arb {
  top: 70%;
  left: 8%;
  background: var(--arb-blue);
  color: #fff;
  transform: rotate(-4deg);
  animation-delay: -1.8s;
}

/* Story */
.story {
  position: relative;
}

.story-card {
  background:
    linear-gradient(135deg, rgba(18, 22, 74, 0.95), rgba(18, 54, 181, 0.35));
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-blob);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.35), 0 0 40px rgba(40, 160, 240, 0.15);
  position: relative;
  overflow: hidden;
}

.story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--rainbow);
}

.story-card p:last-child {
  margin-bottom: 0;
}

/* Watched */
.watched-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.watched-visual {
  position: relative;
}

.polaroid {
  background: #fff;
  padding: 0.85rem 0.85rem 2.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 16px 0 rgba(0, 0, 0, 0.25), 0 0 30px rgba(255, 79, 216, 0.2);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.polaroid:hover {
  transform: rotate(0deg) scale(1.02);
}

.polaroid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.25rem;
}

.polaroid-cap {
  display: block;
  margin-top: 0.85rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: #222;
  letter-spacing: 0.04em;
}

.orbit-sticker {
  position: absolute;
  bottom: -1rem;
  right: -0.5rem;
  width: 100px;
  height: 100px;
  animation: spin-slow 14s linear infinite;
}

.orbit-sticker img {
  width: 100%;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 6px 0 var(--stroke);
}

.timeline {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.65rem;
}

.timeline li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text);
}

.timeline li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rainbow);
  border: 2px solid var(--stroke);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255, 79, 216, 0.5);
}

/* Back / meme */
.back {
  text-align: center;
}

.back-lead {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.meme-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.meme-tile {
  background: var(--bg-panel);
  border: 3px solid var(--stroke);
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 8px 0 var(--stroke);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s ease;
}

.meme-tile img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
}

.meme-tile span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.meme-wide {
  grid-column: 1 / -1;
}

.meme-wide img {
  width: 100%;
  height: auto;
  max-height: 220px;
  border-radius: 1rem;
  object-fit: cover;
  object-position: center 40%;
}

.tilt { transform: rotate(-2deg); }
.tilt.delay-1 { transform: rotate(2deg); }
.tilt.delay-2 { transform: rotate(-1.5deg); }
.tilt.delay-3 { transform: rotate(1deg); }

.tilt:hover {
  transform: rotate(0deg) scale(1.03);
}

.spirit {
  max-width: 40rem;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text);
}

/* Buy */
.buy {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(40, 160, 240, 0.2), transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(255, 79, 216, 0.15), transparent 45%);
}

.buy-steps {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.buy-steps li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: rgba(18, 22, 74, 0.8);
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.buy-steps li:hover {
  transform: translateX(6px);
  border-color: var(--cyan);
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--stroke);
  background: var(--rainbow);
  border-radius: 50%;
  border: 3px solid var(--stroke);
}

.buy-steps h3 {
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
}

.buy-steps p {
  margin: 0;
  font-size: 0.98rem;
}

/* CA */
.ca {
  text-align: center;
}

.ca-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(7, 6, 26, 0.85);
  border: 3px dashed var(--pink);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem auto;
  max-width: 640px;
  box-shadow: 0 0 30px rgba(255, 79, 216, 0.2);
}

.ca-box code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--yellow);
  word-break: break-all;
}

.ca-note {
  font-size: 0.95rem;
}

.btn-copy.copied {
  background: var(--lime);
  color: var(--stroke);
}

/* Community */
.community-inner {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(18, 54, 181, 0.4), rgba(255, 79, 216, 0.15));
  border: 3px solid rgba(40, 160, 240, 0.35);
  border-radius: var(--radius-blob);
  padding: 3rem 1.5rem;
}

.btn-x {
  margin-top: 0.5rem;
  background: #fff;
  color: var(--stroke);
}

/* Finale */
.finale {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
  overflow: hidden;
}

.finale-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.finale-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.35) saturate(1.2);
}

.finale-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 79, 216, 0.25), transparent 55%),
    linear-gradient(180deg, rgba(7, 6, 26, 0.6), rgba(7, 6, 26, 0.9));
}

.finale-content {
  position: relative;
  z-index: 2;
  max-width: 36rem;
}

.finale-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 5px var(--pink), 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: float 4s ease-in-out infinite;
}

.finale h2 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin-bottom: 0.75rem;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.finale p {
  color: var(--text);
  font-size: 1.2rem;
  margin-bottom: 1.75rem;
}

.finale .hero-actions {
  justify-content: center;
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.5rem 1rem 2rem;
  border-top: 2px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer img {
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframes */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-8px) rotate(var(--rot, 0deg)); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.4); }
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(30vw); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-h) + 1.5rem);
    min-height: auto;
  }

  .hero-content {
    max-width: none;
    order: 2;
  }

  .hero-mascot-wrap {
    order: 1;
    width: min(260px, 70%);
    margin-bottom: 0.5rem;
  }

  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(7, 6, 26, 0.55) 0%, rgba(7, 6, 26, 0.75) 50%, rgba(7, 6, 26, 0.95) 100%);
  }

  .chip-gm { left: 4%; top: 12%; }
  .chip-lfg { right: 4%; bottom: 8%; }
  .chip-arb { display: none; }
  .sticker-2 { display: none; }

  .watched-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .orbit-sticker {
    width: 80px;
    height: 80px;
    right: 0;
  }

  .meme-wall {
    grid-template-columns: 1fr;
  }

  .meme-tile img {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(7, 6, 26, 0.96);
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.25rem;
  }

  .nav.open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav.open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .section-inner {
    padding: 3.5rem 0;
  }

  .ca-box {
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .sticker-1,
  .sticker-3 {
    display: none;
  }

  .chip {
    font-size: 0.65rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor-glow {
    display: none;
  }
}
