/* ============================================================
   GLADIATOR — landing
   Matches legend.trade layout, swapped to GLADIATOR brand.
   Black / cream / gold orange palette + small Base accent.
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --fg: #f2ece0;
  --cream: #ebe1c8;
  --fg-dim: #a89e88;
  --fg-faint: #6a614f;

  --gold: #d4a24c;
  --gold-bright: #f5b942;
  --gold-deep: #8c6420;

  --base-blue: #0052ff;
  --base-glow: #6da0ff;

  --line: #2a2620;
  --line-bright: #4a4230;

  --font-hero: 'Anton', 'Tungsten', Impact, sans-serif;
  --font-italic: 'DM Serif Display', 'Bodoni Moda', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background: var(--bg);
  font-variant-numeric: tabular-nums;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-bright); }

button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   Typography
   ============================================================ */

.wordmark {
  font-family: var(--font-hero);
  font-weight: 400;
  font-size: 42px;
  letter-spacing: 0.02em;
  color: var(--fg);
  text-transform: uppercase;
  font-style: italic;
  line-height: 0.85;
}

.italic-headline {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.012em;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  color: var(--fg);
  margin: 0;
}
.italic-headline .strong {
  font-family: var(--font-hero);
  font-style: italic;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--fg);
}

.tag-mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--fg-dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ============================================================
   Pills (legend.trade style — gold border, italic serif label)
   ============================================================ */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 22px;
  border: 1.5px solid var(--gold);
  background: var(--bg);
  color: var(--gold-bright);
  border-radius: 999px;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: all 0.18s;
  cursor: pointer;
}
.pill:hover { background: var(--gold); color: var(--bg); }

.pill-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 22px;
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid var(--line-bright);
  border-radius: 999px;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 26px;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.pill-base {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  background: rgba(0, 82, 255, 0.12);
  border: 1px solid rgba(109, 160, 255, 0.4);
  color: var(--base-glow);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================================
   Bracket frames — L-corners
   ============================================================ */

.bracket {
  position: relative;
}
.bracket > .br {
  position: absolute;
  width: 24px; height: 24px;
  pointer-events: none;
}
.bracket > .br-tl { top: -1px; left: -1px;     border-top: 1.5px solid var(--gold);    border-left: 1.5px solid var(--gold); }
.bracket > .br-tr { top: -1px; right: -1px;    border-top: 1.5px solid var(--gold);    border-right: 1.5px solid var(--gold); }
.bracket > .br-bl { bottom: -1px; left: -1px;  border-bottom: 1.5px solid var(--gold); border-left: 1.5px solid var(--gold); }
.bracket > .br-br { bottom: -1px; right: -1px; border-bottom: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); }

.bracket-large > .br { width: 36px; height: 36px; border-width: 2px; }

/* ============================================================
   Section + nav
   ============================================================ */

.section {
  position: relative;
  min-height: 100vh;
  padding: 28px 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px;
  position: relative;
  z-index: 10;
}

/* Floating gold pixel squares */
.pixel {
  position: absolute;
  background: var(--gold);
  width: 8px; height: 8px;
  pointer-events: none;
  z-index: 4;
}

/* ============================================================
   Animations
   ============================================================ */

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
@keyframes pulse-soft {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
@keyframes scroll-arrow {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}
@keyframes cloud-drift-r {
  from { transform: translateX(-25vw); }
  to { transform: translateX(120vw); }
}
@keyframes cloud-drift-l {
  from { transform: translateX(120vw); }
  to { transform: translateX(-30vw); }
}
@keyframes burst-zoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.spin-slow { animation: spin-slow 180s linear infinite; }
.burst-zoom { animation: burst-zoom 14s ease-in-out infinite; }
.float-y { animation: float-y 4s ease-in-out infinite; }
.scroll-arrow { animation: scroll-arrow 1.8s ease-in-out infinite; }


/* ===== gold.fun — animated gold gradient pills ===== */
@keyframes goldflow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
.pill-gold {
  position: relative;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(110deg, #7a5a16, #f6d77b, #b8860b, #ffe9a8, #7a5a16) border-box;
  background-size: 100% 100%, 300% 100%;
  animation: goldflow 4s linear infinite;
  color: transparent;
}
.gold-text {
  background: linear-gradient(110deg, #b8860b, #ffe9a8, #f6d77b, #b8860b);
  background-size: 300% 100%;
  animation: goldflow 4s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.pill-gold:hover {
  /* invert: pill fills with the moving gold gradient */
  background: linear-gradient(110deg, #b8860b, #ffe9a8, #f6d77b, #b8860b);
  background-size: 300% 100%;
  animation: goldflow 4s linear infinite;
  border-color: transparent;
}
.pill-gold:hover .gold-text {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--bg);
  animation: none;
}

/* ===== creation scene — drifting petal overlay ===== */
@keyframes petalfall {
  0%   { top: -6%; opacity: 0; }
  8%   { opacity: 0.9; }
  60%  { opacity: 0.85; }
  100% { top: 104%; opacity: 0; }
}
.petal {
  position: absolute;
  top: -6%;
  width: 11px; height: 8px;
  border-radius: 60% 40% 55% 45%;
  background: linear-gradient(120deg, #f6b6c8, #f9dce4 60%, #ffe9a8);
  opacity: 0;
  pointer-events: none;
  animation: petalfall linear infinite;
  box-shadow: 0 0 8px rgba(246, 182, 200, 0.35);
}

/* ===== creation scene — cloudy edge haze ===== */
.edge-fog {
  box-shadow: inset 0 0 200px 90px rgba(3, 3, 4, 0.95),
              inset 0 0 80px 30px rgba(3, 3, 4, 0.8);
}
@keyframes fogdrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(3%, 2%, 0) scale(1.08); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
.fog-puff {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(3, 3, 4, 0.98) 0%,
    rgba(3, 3, 4, 0.75) 45%,
    transparent 72%);
  filter: blur(30px);
  animation: fogdrift 14s ease-in-out infinite;
  pointer-events: none;
}
