/* ============================================================
   REDDIT DOGE — $ROGE
   Token system
   ============================================================ */
:root {
  --charcoal: #141110;
  --charcoal-2: #1D1917;
  --charcoal-3: #262019;
  --line: rgba(245, 241, 232, 0.1);
  --line-soft: rgba(245, 241, 232, 0.06);
  --warm-white: #F5F1E8;
  --warm-white-dim: rgba(245, 241, 232, 0.62);
  --warm-white-faint: rgba(245, 241, 232, 0.38);
  --orange: #FF4500;
  --orange-dim: #C93A00;
  --gold: #E8A93B;
  --gold-soft: #F0C878;
  --green: #3FA34D;
  --green-soft: #58C468;

  --font-display: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@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;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--warm-white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--orange); color: var(--warm-white); }

/* focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.mono { font-family: var(--font-mono); letter-spacing: -0.01em; }
.text-orange { color: var(--orange); }
.text-gold { color: var(--gold); }
.center { text-align: center; }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 32px;
}
.section-inner-narrow { max-width: 720px; }

@media (max-width: 860px) {
  .section-inner { padding: 84px 22px; }
}

.section-head { margin-bottom: 56px; max-width: 640px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
}
.section-lede {
  margin: 18px 0 0;
  font-size: 1.15rem;
  color: var(--warm-white-dim);
  max-width: 52ch;
  line-height: 1.5;
}
.eyebrow-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--orange);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow-tag.center { justify-content: center; width: 100%; }

/* grain texture overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 420px; height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(255,69,0,0.06), transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
@media (min-width: 900px) { .cursor-glow.active { opacity: 1; } }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(180deg, #FF5A1F, var(--orange));
  color: #1a0d05;
  box-shadow: 0 8px 24px -8px rgba(255, 69, 0, 0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(255, 69, 0, 0.7); }
.btn-ghost {
  background: rgba(245,241,232,0.06);
  color: var(--warm-white);
  border-color: var(--line);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(245,241,232,0.1); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: rgba(245,241,232,0.28);
  color: var(--warm-white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.86rem; }
.btn-block { width: 100%; justify-content: center; }

/* magnetic hover handled in JS via transform on mousemove */
.magnetic { transition: transform 0.2s var(--ease); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(20, 17, 16, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { width: 30px; height: 30px; border-radius: 8px; }
.nav-brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.88rem;
  color: var(--warm-white-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--warm-white); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 14px; }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; cursor: pointer; }
.nav-burger span { width: 22px; height: 2px; background: var(--warm-white); transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 22px 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
  background: rgba(20,17,16,0.96);
  backdrop-filter: blur(14px);
}
.nav-mobile.open { max-height: 420px; }
.nav-mobile a { padding: 12px 4px; font-size: 1rem; border-bottom: 1px solid var(--line-soft); }
.nav-mobile .btn { margin-top: 14px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-right .btn-sm { display: none; }
  .nav-mobile { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-banner {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.03);
  will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,17,16,0.55) 0%, rgba(20,17,16,0.15) 30%, rgba(20,17,16,0.55) 68%, var(--charcoal) 100%),
    radial-gradient(120% 90% at 50% 20%, transparent 40%, rgba(20,17,16,0.4) 100%);
}
.hero-scrim-bottom {
  position: absolute; left:0; right:0; bottom: 0; height: 30%;
  background: linear-gradient(180deg, transparent, var(--charcoal));
}

.hero-float-ui { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(20,17,16,0.55);
  border: 1px solid rgba(245,241,232,0.14);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--warm-white-dim);
  animation: floaty 7s ease-in-out infinite;
}
.chip-notif { top: 18%; left: 6%; animation-delay: 0s; }
.chip-ticker { top: 26%; right: 7%; animation-delay: 1.4s; flex-direction: column; align-items: flex-start; gap: 2px; }
.chip-up { color: var(--green-soft); font-family: var(--font-mono); font-size: 0.72rem; }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(255,69,0,0.2); }
.float-chart { position: absolute; bottom: 30%; left: 4%; opacity: 0.75; animation: floaty 8s ease-in-out infinite 0.6s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 760px) {
  .float-chip, .float-chart { display: none; }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 32px 96px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 12vw, 8.2rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  margin: 18px 0 0;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title-accent { color: var(--gold); }
.hero-ticker {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--orange);
  margin: 10px 0 28px;
}
.hero-statement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  max-width: 20ch;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.hero-sub {
  color: var(--warm-white-dim);
  max-width: 52ch;
  line-height: 1.6;
  font-size: 1.05rem;
  margin: 0 0 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}
.hero-loaded [data-reveal] {
  animation: reveal-up 0.9s var(--ease) forwards;
}
.hero-loaded [data-reveal]:nth-child(1) { animation-delay: 0.05s; }
.hero-loaded [data-reveal]:nth-child(2) { animation-delay: 0.16s; }
.hero-loaded [data-reveal]:nth-child(3) { animation-delay: 0.30s; }
.hero-loaded [data-reveal]:nth-child(4) { animation-delay: 0.40s; }
.hero-loaded [data-reveal]:nth-child(5) { animation-delay: 0.50s; }
.hero-loaded [data-reveal]:nth-child(6) { animation-delay: 0.60s; }

@keyframes reveal-up {
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--warm-white-faint);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.scroll-line { width: 1px; height: 34px; background: rgba(245,241,232,0.2); position: relative; overflow: hidden; }
.scroll-dot { position: absolute; top: -10px; left: -1px; width: 3px; height: 12px; background: var(--gold); animation: scrollcue 2s ease-in-out infinite; }
@keyframes scrollcue {
  0% { top: -10px; }
  60% { top: 30px; }
  100% { top: 30px; opacity: 0; }
}

/* ============================================================
   DISCOVERY
   ============================================================ */
.discovery { background: var(--charcoal); position: relative; }
.discovery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .discovery-grid { grid-template-columns: 1fr; gap: 48px; }
}

.big-line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.big-line-2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: var(--gold);
  margin: 0 0 26px;
  letter-spacing: -0.01em;
}
.discovery-body {
  color: var(--warm-white-dim);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 46ch;
  margin: 0 0 16px;
}

/* phone mock */
.phone-mock { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone-frame {
  width: 280px;
  border-radius: 40px;
  background: linear-gradient(160deg, #2a2420, #16130f);
  padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7), inset 0 1px 1px rgba(255,255,255,0.08);
  cursor: pointer;
}
.phone-notch {
  width: 90px; height: 20px;
  background: #0e0c0a;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: #0b0a08;
  border-radius: 28px;
  height: 480px;
  overflow: hidden;
  position: relative;
}
.ios-settings-view, .ios-home-view {
  position: absolute; inset: 0;
  padding: 18px 16px;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.ios-status { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--warm-white-faint); font-family: var(--font-mono); margin-bottom: 14px; }
.ios-header { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin-bottom: 2px; }
.ios-caption { font-size: 0.76rem; color: var(--warm-white-faint); margin: 0 0 16px; }
.icon-option-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 8px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--warm-white-dim);
}
.icon-option-row .check { margin-left: auto; opacity: 0; color: var(--orange); }
.icon-option-row.selected .check { opacity: 1; }
.icon-swatch { width: 38px; height: 38px; border-radius: 10px; background: #333; flex-shrink: 0; overflow: hidden; display:flex; align-items:center; justify-content:center; }
.icon-default { background: linear-gradient(135deg, var(--orange), var(--orange-dim)); }
.icon-dark { background: #1a1a1a; border: 1px solid #333; }
.icon-classic { background: linear-gradient(135deg, #444, #222); }
.icon-doge { background: var(--gold); }
.icon-swatch-img { width: 100%; height: 100%; object-fit: cover; }
.icon-option-row.is-active-choice { position: relative; }
.check-appear { transition: opacity 0.5s var(--ease) 0.3s; }

.ios-home-view { opacity: 0; pointer-events: none; }
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 14px; margin-top: 10px; }
.home-app { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 0.65rem; color: var(--warm-white-dim); }
.home-app-icon { width: 54px; height: 54px; border-radius: 14px; overflow: hidden; }
.home-icon-roge { background: var(--gold); }
.home-icon-img { width: 100%; height: 100%; object-fit: cover; }
.home-caption { margin-top: 28px; font-size: 0.78rem; color: var(--gold-soft); text-align: center; font-family: var(--font-mono); }

.phone-mock.swapped .ios-settings-view { opacity: 0; transform: translateX(-16px); pointer-events: none; }
.phone-mock.swapped .ios-home-view { opacity: 1; pointer-events: auto; transform: translateX(0); }

.phone-caption { color: var(--warm-white-faint); font-size: 0.72rem; }

/* ============================================================
   STORY (Kabosu)
   ============================================================ */
.story { position: relative; background: var(--charcoal-2); overflow: hidden; }
.story-bg-panel {
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 80% 20%, rgba(255,69,0,0.08), transparent 60%);
}
.story-inner { position: relative; z-index: 1; }
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 44px; }
  .story-visual { order: -1; }
}
.story-line {
  font-size: 1.15rem;
  color: var(--warm-white-dim);
  line-height: 1.6;
  margin: 0 0 14px;
  max-width: 44ch;
}
.story-line-strong {
  color: var(--warm-white);
  font-weight: 600;
}
.story-tagline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gold);
  margin-top: 26px;
}
.story-visual { position: relative; display: flex; justify-content: center; }
.story-frame {
  width: 100%; max-width: 380px;
  aspect-ratio: 4/5;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6);
}
.story-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15) contrast(1.05); }
.story-year-tag {
  position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%);
  background: var(--charcoal); border: 1px solid var(--line);
  padding: 8px 20px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--warm-white-dim);
  display: flex; gap: 8px;
}

/* ============================================================
   CTO
   ============================================================ */
.cto { background: var(--charcoal); }
.cto-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .cto-grid { grid-template-columns: 1fr; gap: 48px; } }
.cto-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 8px 0 26px;
}
.cto-body { color: var(--warm-white-dim); font-size: 1.05rem; line-height: 1.6; margin: 0 0 10px; }
.cto-final { margin-top: 20px; color: var(--warm-white); font-weight: 600; }
.cto-list { margin: 18px 0; display: flex; flex-direction: column; gap: 8px; }
.cto-list li {
  color: var(--warm-white-dim);
  font-size: 0.98rem;
  padding-left: 20px;
  position: relative;
}
.cto-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--orange);
}

.takeover-visual { display: flex; justify-content: center; }
.tv-window {
  width: 100%; max-width: 420px;
  border-radius: 16px;
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.tv-titlebar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.tv-titlebar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(245,241,232,0.15); }
.tv-panel { padding: 26px 22px; position: relative; }
.tv-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tv-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #3a3a3a, #222); flex-shrink: 0; overflow: hidden; }
.tv-avatar-doge { background: var(--gold); }
.tv-avatar-doge img { width: 100%; height: 100%; object-fit: cover; }
.tv-bar { height: 9px; border-radius: 999px; background: rgba(245,241,232,0.12); }
.tv-bar.gold { background: rgba(232,169,59,0.35); }
.w70 { width: 70%; } .w50 { width: 50%; } .w60 { width: 60%; }
.tv-label { font-family: var(--font-mono); font-size: 0.75rem; color: var(--warm-white-faint); margin: 10px 0 0; }
.tv-label-gold { color: var(--gold); }

.tv-panel-corp { position: relative; z-index: 1; }
.tv-panel-community {
  position: absolute; inset: 0; top: 45px;
  clip-path: inset(0 100% 0 0);
  animation: takeover-wipe 1s var(--ease) forwards;
  animation-play-state: paused;
  background: var(--charcoal-2);
}
.takeover-visual.in-view .tv-panel-community { animation-play-state: running; }
@keyframes takeover-wipe {
  to { clip-path: inset(0 0 0 0); }
}

/* ============================================================
   REWARDS / STOCK
   ============================================================ */
.rewards { background: var(--charcoal-2); position: relative; }
.rewards-visual { display: flex; flex-direction: column; gap: 34px; }

.ticker-strip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 26s linear infinite;
  font-size: 0.85rem;
  color: var(--warm-white-dim);
}
.ticker-track span { display: inline-flex; gap: 8px; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.rewards-chart-wrap {
  position: relative;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 24px 24px;
  overflow: hidden;
}
.rewards-chart { width: 100%; height: 240px; display: block; }

.floating-reward-box {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: rgba(20,17,16,0.75);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  animation: floaty 6.5s ease-in-out infinite;
}
.floating-reward-box img { width: 20px; height: 20px; border-radius: 5px; object-fit: cover; }
.box-1 { top: 18%; left: 6%; }
.box-2 { top: 14%; right: 8%; animation-delay: 1s; }
.box-3 { bottom: 12%; right: 10%; color: var(--green-soft); animation-delay: 2s; }
.reward-glyph { font-family: var(--font-display); font-weight: 800; color: var(--orange); }
@media (max-width: 700px) { .box-1, .box-2, .box-3 { position: static; margin-bottom: 10px; display: inline-flex; } }

.rewards-disclaimer {
  font-size: 0.82rem;
  color: var(--warm-white-faint);
  max-width: 60ch;
  line-height: 1.6;
}

/* ============================================================
   CONTRACT
   ============================================================ */
.contract { background: var(--charcoal); }
.contract-card {
  margin-top: 40px;
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.contract-address {
  font-size: 0.95rem;
  color: var(--warm-white-dim);
  word-break: break-all;
  flex: 1 1 260px;
}
.contract-copy-btn { position: relative; overflow: hidden; min-width: 168px; }
.contract-copy-btn.copied { background: linear-gradient(180deg, var(--green-soft), var(--green)); color: #072b0c; }

/* ============================================================
   PAIR
   ============================================================ */
.pair { background: var(--charcoal); }
.pair-card {
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.pair-tokens { display: flex; align-items: center; gap: 22px; }
.pair-token { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.95rem; }
.pair-token-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; font-family: var(--font-display); font-weight: 800; }
.pair-icon-roge { background: var(--gold); }
.pair-icon-roge img { width: 100%; height: 100%; object-fit: cover; }
.pair-icon-rddt { background: var(--orange); color: #1a0d05; font-size: 1.3rem; }
.pair-x { font-size: 1.4rem; color: var(--warm-white-faint); }
.pair-line { width: 100%; max-width: 500px; height: 90px; }

/* ============================================================
   TOKEN
   ============================================================ */
.token { background: var(--charcoal-2); }
.token-table { margin-top: 34px; border-top: 1px solid var(--line); }
.token-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.token-label { color: var(--warm-white-faint); font-size: 0.9rem; }
.token-value { font-size: 1rem; }
.token-value-address { font-size: 0.85rem; word-break: break-all; text-align: right; }
@media (max-width: 560px) {
  .token-row-address { flex-direction: column; align-items: flex-start; }
  .token-value-address { text-align: left; }
}

/* ============================================================
   MEME GALLERY
   ============================================================ */
.gallery { background: var(--charcoal); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 16px;
}
.g-item-1 { grid-column: span 3; grid-row: span 2; }
.g-item-2 { grid-column: span 3; grid-row: span 3; }
.g-item-3 { grid-column: span 3; grid-row: span 2; }
.g-item-4 { grid-column: span 3; grid-row: span 2; }
.g-item-5 { grid-column: span 4; grid-row: span 2; }
.g-item-6 { grid-column: span 2; grid-row: span 3; }

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-item-1, .g-item-2, .g-item-3, .g-item-4, .g-item-5, .g-item-6 { grid-column: span 1; grid-row: span 1; }
}

.g-card {
  height: 100%;
  border-radius: 16px;
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.g-card:hover { transform: translateY(-4px); border-color: rgba(232,169,59,0.4); }
.g-quote { font-size: 0.95rem; line-height: 1.5; margin: 0; color: var(--warm-white); }
.g-meta { font-size: 0.72rem; color: var(--warm-white-faint); margin-top: 12px; }
.g-card-img { padding: 0; overflow: hidden; }
.g-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.g-card-img:hover .g-img { transform: scale(1.06); }
.g-card-dark { background: linear-gradient(160deg, var(--charcoal-3), var(--charcoal-2)); justify-content: center; }
.g-big { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin: 0; line-height: 1.15; }

/* ============================================================
   COMMUNITY
   ============================================================ */
.community { background: var(--charcoal-2); }
.community-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.community-line { font-size: 1.15rem; color: var(--warm-white-dim); margin: 0 0 6px; }
.community-line-strong { color: var(--gold); font-weight: 700; font-family: var(--font-display); font-size: 1.4rem; margin-top: 10px; }
.community-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--charcoal); border-top: 1px solid var(--line); }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 20px;
  margin-bottom: 34px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 46px; height: 46px; border-radius: 12px; }
.footer-title { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; margin: 0; }
.footer-ticker { color: var(--orange); margin: 2px 0 0; }
.footer-tagline { color: var(--warm-white-faint); font-size: 0.9rem; }
.footer-links { display: flex; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line-soft); font-size: 0.88rem; color: var(--warm-white-dim); }
.footer-links a:hover { color: var(--orange); }
.footer-disclaimer { font-size: 0.76rem; color: var(--warm-white-faint); max-width: 70ch; line-height: 1.6; padding-top: 6px; }

/* ============================================================
   Scroll reveal (generic sections)
   ============================================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}
