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

:root {
  --black:    #080808;
  --off-black:#111111;
  --dark:     #1a1a1a;
  --mid:      #333333;
  --border:   rgba(255,255,255,0.1);
  --white:    #f5f2ee;
  --off-white:#c8c4be;
  --muted:    #666666;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { color: var(--white); font-weight: 500; }

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

/* ─── CURSOR ─────────────────────────────── */
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  transform: translate(-50%,-50%);
  pointer-events: none; z-index: 9999;
  opacity: 0;
  transition: width .25s var(--ease), height .25s var(--ease),
              border-color .2s, opacity .3s, background .2s;
}
.cursor-ring.active { opacity: 1; }
.cursor-dot {
  width: 5px; height: 5px;
  background: #fff;
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  transform: translate(-50%,-50%);
  pointer-events: none; z-index: 10000;
  opacity: 0;
  transition: opacity .3s;
}
.cursor-dot.active { opacity: 1; }
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.9);
}

/* ─── HELPERS ────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section { padding: 128px 0; }

.label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.sec-h2 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
}
.stroke-h {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.3);
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

.dot-blink {
  display: inline-block; width: 6px; height: 6px;
  background: #fff; border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.15} }

.period { color: #fff !important; }

.btn-solid {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: #fff; color: var(--black);
  padding: 14px 32px;
  transition: background .2s, transform .3s var(--ease), box-shadow .3s;
}
.btn-solid:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,255,255,0.12);
}
.btn-ghost {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }

/* ─── NAV ────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 48px;
  transition: background .4s, padding .4s, border .4s;
}
.nav.scrolled {
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 48px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem; letter-spacing: 0.1em; color: var(--white);
}
.logo span { color: var(--muted); }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--black); background: var(--white);
  padding: 10px 22px;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--off-white); transform: translateY(-1px); }

/* ─── HERO ───────────────────────────────── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 48px 100px; overflow: hidden;
}
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.brk {
  position: absolute; width: 22px; height: 22px;
  border-color: rgba(255,255,255,0.18); border-style: solid;
}
.brk-tl { top:24px; left:24px;   border-width:1px 0 0 1px; }
.brk-tr { top:24px; right:24px;  border-width:1px 1px 0 0; }
.brk-bl { bottom:24px; left:24px; border-width:0 0 1px 1px; }
.brk-br { bottom:24px; right:24px; border-width:0 1px 1px 0; }

.hero-body { position: relative; z-index: 2; max-width: 860px; }

.hero-eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp .6s .2s var(--ease) forwards;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 13rem);
  line-height: 0.88; letter-spacing: 0.01em;
  margin-bottom: 28px;
  display: flex; flex-direction: column;
}
.hero-h1 em, .hero-h1 strong {
  display: block;
  opacity: 0; transform: translateX(-30px);
  animation: slideR .7s var(--ease) forwards;
  font-style: normal; font-weight: 400;
}
.hero-h1 em:nth-child(1)     { animation-delay: .4s; }
.hero-h1 strong:nth-child(2) { animation-delay: .55s; }
.hero-h1 em:nth-child(3)     { animation-delay: .7s; }

.stroke-title { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.5); }

.hero-desc {
  font-size: 1rem; color: var(--off-white);
  max-width: 460px; line-height: 1.8; margin-bottom: 40px;
  opacity: 0; animation: fadeUp .6s .85s var(--ease) forwards;
}
.hero-btns {
  display: flex; gap: 20px; align-items: center;
  opacity: 0; animation: fadeUp .6s .95s var(--ease) forwards;
}

.hero-strip {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  border-top: 1px solid var(--border);
  margin-top: 72px; padding-top: 32px;
  opacity: 0; animation: fadeUp .6s 1.1s var(--ease) forwards;
}
.hcs-item { display: flex; flex-direction: column; gap: 4px; padding: 0 36px; }
.hcs-item:first-child { padding-left: 0; }
.hcs-num { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; color: var(--white); }
.hcs-unit { font-family: var(--font-display); font-size: 1.4rem; color: var(--muted); }
.hcs-label { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hcs-sep { width: 1px; height: 40px; background: var(--border); }

.scroll-hint {
  position: absolute; bottom: 32px; left: 48px; z-index: 2;
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  animation: scrollBob 2.4s ease-in-out infinite;
}
@keyframes scrollBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }
@keyframes fadeUp { to { opacity:1; transform:none; } }
@keyframes slideR { to { opacity:1; transform:none; } }

/* ─── TICKER ─────────────────────────────── */
.ticker {
  overflow: hidden; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--off-black); padding: 15px 0;
}
.ticker-inner {
  display: flex; align-items: center; white-space: nowrap;
  animation: tickScroll 24s linear infinite; width: max-content;
}
.ticker-inner span {
  font-family: var(--font-display); font-size: 0.85rem;
  letter-spacing: 0.18em; color: var(--muted);
  padding: 0 20px; transition: color .2s;
}
.ticker-inner span:hover { color: var(--white); }
.tsep { color: rgba(255,255,255,0.18) !important; padding: 0 4px !important; font-size: 0.55rem !important; }
@keyframes tickScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ─── ABOUT ──────────────────────────────── */
.about { background: var(--off-black); }
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.about-lead { font-size: 1.2rem; color: var(--white); line-height: 1.7; margin-bottom: 24px; font-weight: 300; }
.about-body { font-size: 0.95rem; color: var(--off-white); line-height: 1.85; margin-bottom: 20px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.about-tags span {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border);
  padding: 6px 14px; transition: color .2s, border-color .2s;
}
.about-tags span:hover { color: var(--white); border-color: rgba(255,255,255,0.35); }

/* ─── HOW IT WORKS ───────────────────────── */
.how { background: var(--black); }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); margin-top: 8px; }
.step {
  padding: 48px 44px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: background .3s;
}
.step:nth-child(even) { border-right: none; }
.step:nth-child(3), .step:nth-child(4) { border-bottom: none; }
.step::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.step:hover { background: var(--off-black); }
.step:hover::after { opacity: 1; }
.step-num {
  font-family: var(--font-display); font-size: 4rem; line-height: 1;
  color: rgba(255,255,255,0.05);
  position: absolute; top: 20px; right: 28px;
}
.step-body h3 {
  font-family: var(--font-display); font-size: 1.7rem;
  letter-spacing: 0.04em; margin-bottom: 12px; color: var(--white);
}
.step-body p { font-size: 0.9rem; color: var(--off-white); line-height: 1.8; max-width: 360px; }

/* ─── TOURNAMENT ─────────────────────────── */
.tournament { background: var(--off-black); }
.tourn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.tourn-body { font-size: 0.95rem; color: var(--off-white); line-height: 1.85; margin: 24px 0 32px; max-width: 440px; }
.tourn-card { background: var(--dark); border: 1px solid var(--border); padding: 40px; }
.tc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.tc-live {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.18em; color: var(--white);
  display: flex; align-items: center; gap: 6px;
}
.tc-tag {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.15em; color: var(--muted);
  border: 1px solid var(--border); padding: 4px 10px;
}
.tc-title {
  font-family: var(--font-display); font-size: 3rem;
  line-height: 0.95; letter-spacing: 0.02em; margin-bottom: 28px;
}
.tc-divider { height: 1px; background: var(--border); margin-bottom: 24px; }
.tc-rows { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.tc-row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; }
.tc-row span:first-child { color: var(--muted); text-transform: uppercase; }
.tc-row span:last-child  { color: var(--white); }
.tc-btn {
  display: block; text-align: center;
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--black); background: var(--white); padding: 14px;
  transition: background .2s;
}
.tc-btn:hover { background: var(--off-white); }

/* ─── STATS ──────────────────────────────── */
.stats { background: var(--black); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--border); margin-top: 8px; }
.stat-box {
  border-right: 1px solid var(--border); padding: 52px 36px;
  display: flex; flex-direction: column; gap: 8px; transition: background .3s;
}
.stat-box:last-child { border-right: none; }
.stat-box:hover { background: var(--off-black); }
.sb-val { font-family: var(--font-display); font-size: clamp(2.8rem,4vw,4rem); line-height: 1; color: var(--white); }
.sb-inf { font-size: 3.2rem; }
.sb-unit { font-family: var(--font-display); font-size: 2rem; color: var(--muted); }
.sb-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ─── CTA ────────────────────────────────── */
.cta-section { background: var(--white); position: relative; overflow: hidden; }
.cta-noise {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.04;
}
.cta-body { position: relative; z-index: 2; text-align: center; padding: 128px 0; }
.cta-body .label { color: var(--mid); }
.cta-h2 {
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 11rem); line-height: 0.86;
  color: var(--black); margin-bottom: 52px;
}
.cta-h2 .period { color: var(--black) !important; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.85rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--black); color: var(--white);
  padding: 18px 48px; margin-bottom: 24px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.cta-sub { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; color: var(--mid); text-transform: uppercase; }

/* ─── FOOTER ─────────────────────────────── */
.footer { background: var(--black); border-top: 1px solid var(--border); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.08em; color: var(--muted); }

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .nav { padding: 18px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 80px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .tourn-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none !important; }
  .step:last-child { border-bottom: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-box:nth-child(2) { border-right: none; }
  .stat-box:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .stat-box:nth-child(4) { border-right: none; border-top: 1px solid var(--border); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-strip { flex-wrap: wrap; gap: 24px; }
}
