:root {
  --ink: #07131d;
  --ink-soft: #0c1f2d;
  --paper: #f4f7f8;
  --white: #ffffff;
  --muted: #677482;
  --line: rgba(7, 19, 29, .14);
  --cyan: #16e0c2;
  --cyan-soft: #95fff0;
  --pink: #ff4f95;
  --violet: #7867ff;
  --yellow: #f5db68;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(0, 0, 0, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 78px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(7, 19, 29, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
}
.brand { display: inline-flex; align-items: baseline; gap: 12px; font-weight: 800; }
.brand-mark { font-size: 1.45rem; letter-spacing: .04em; color: var(--cyan); }
.brand-copy { font-size: .72rem; letter-spacing: .22em; opacity: .78; }
.header-nav { display: flex; align-items: center; gap: 28px; font-size: .9rem; font-weight: 600; }
.header-nav a:hover { color: var(--cyan); }
.nav-cta { padding: 10px 16px; border: 1px solid var(--cyan); border-radius: 999px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 930px;
  padding: 150px 0 96px;
  color: #fff;
  background: radial-gradient(circle at 80% 20%, rgba(120,103,255,.22), transparent 35%), var(--ink);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .55; }
.hero-glow-one { width: 450px; height: 450px; background: rgba(22,224,194,.14); right: -140px; top: 160px; }
.hero-glow-two { width: 360px; height: 360px; background: rgba(255,79,149,.12); left: -130px; bottom: 50px; }
.hero-content { position: relative; z-index: 2; }
.eyebrow, .section-label, .card-code, .tag, .place, .org-grid span {
  font-family: "Space Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow { display: inline-block; color: var(--cyan); font-size: .78rem; border: 1px solid rgba(22,224,194,.4); padding: 8px 12px; }
.hero h1 { margin: 28px 0 22px; max-width: 930px; font-size: clamp(4rem, 9.5vw, 8.6rem); line-height: .84; letter-spacing: -.07em; font-weight: 900; }
.hero h1 span { color: var(--cyan); text-shadow: 0 0 38px rgba(22,224,194,.24); }
.hero-lead { max-width: 850px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 800; transition: .25s ease; }
.button-primary { color: var(--ink); background: var(--cyan); box-shadow: 0 10px 34px rgba(22,224,194,.18); }
.button-primary:hover { transform: translateY(-2px); background: var(--cyan-soft); }
.button-secondary { color: #fff; border: 1px solid rgba(255,255,255,.32); }
.button-secondary:hover { border-color: #fff; }
.event-facts { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 76px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.04); backdrop-filter: blur(12px); }
.event-facts article { padding: 24px; min-height: 150px; border-right: 1px solid rgba(255,255,255,.16); }
.event-facts article:last-child { border-right: 0; }
.event-facts span { display: block; margin-bottom: 12px; color: var(--cyan); font-family: "Space Mono", monospace; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.event-facts strong, .event-facts small { display: block; }
.event-facts strong { font-size: 1.08rem; line-height: 1.35; }
.event-facts small { margin-top: 6px; color: rgba(255,255,255,.58); }

section { position: relative; }
.section-light, .section-dark { padding: 112px 0; }
.section-light { background: var(--paper); }
.section-dark { color: #fff; background: var(--ink); }
.manifesto { padding: 86px 0; background: linear-gradient(125deg, #0b2230, #09141e); }
.manifesto-grid { display: grid; grid-template-columns: .6fr 1.15fr 1fr; gap: 36px; align-items: start; }
.section-kicker { font-family: "Space Mono", monospace; color: var(--cyan); font-size: .76rem; letter-spacing: .14em; }
.manifesto h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5.3rem); line-height: .98; letter-spacing: -.05em; }
.manifesto h2 span { color: var(--pink); }
.manifesto p { margin: 0; color: rgba(255,255,255,.72); font-size: 1.05rem; }

.section-heading { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 36px; }
.section-number { color: var(--cyan); font-family: "Space Mono", monospace; font-weight: 700; padding-top: 9px; }
.section-label { margin: 0 0 6px; color: var(--muted); font-size: .72rem; }
.inverted .section-label { color: rgba(255,255,255,.48); }
.section-heading h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.05em; }
.intro-copy { max-width: 1040px; font-size: 1.18rem; color: #3f4c58; }

.feature-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.feature-card { min-height: 280px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 34px rgba(7,19,29,.05); }
.card-code { color: #00a98f; font-size: .72rem; }
.feature-card h3, .partner-card h3, .arena-list h3, .prize-card h3, .steps h3 { margin: 18px 0 10px; font-size: 1.35rem; }
.feature-card p, .partner-card p, .arena-list p, .prize-card p, .steps p { margin: 0; color: var(--muted); }

.partner-section { background: linear-gradient(180deg, var(--ink), #0b1e2a); }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.partner-card { padding: 34px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.partner-card h3 { color: #fff; font-size: 1.8rem; }
.partner-card p { color: rgba(255,255,255,.68); }
.partner-note { margin-top: 18px !important; font-weight: 600; }
.accent-cyan { border-left: 4px solid var(--cyan); }
.accent-pink { border-left: 4px solid var(--pink); }
.tag { display: inline-flex; padding: 6px 9px; border: 1px solid currentColor; color: var(--cyan); font-size: .65rem; }
.accent-pink .tag { color: var(--pink); }
.code-callout { margin-top: 22px; padding: 24px 28px; border: 1px solid rgba(22,224,194,.35); border-radius: var(--radius); background: rgba(22,224,194,.04); color: rgba(255,255,255,.72); font-family: "Space Mono", monospace; }
.code-callout span { color: var(--cyan); font-weight: 700; }

.arena-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 42px; }
.arena-list article { display: flex; gap: 20px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.arena-list h3 { margin-top: 0; }
.arena-icon { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--cyan); font-family: "Space Mono", monospace; font-weight: 700; }

.prizes { background: radial-gradient(circle at 50% 0%, rgba(120,103,255,.18), transparent 38%), var(--ink); }
.prize-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.prize-card { padding: 34px 24px; text-align: center; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.prize-card.winner { border-color: rgba(245,219,104,.6); box-shadow: 0 18px 50px rgba(245,219,104,.08); }
.place { font-size: .68rem; color: rgba(255,255,255,.55); }
.medal { margin: 24px 0 16px; font-size: 3.8rem; }
.prize-card h3 { margin: 0 0 6px; color: #fff; font-size: 1.6rem; }
.prize-card p { color: rgba(255,255,255,.58); }

.registration-panel { display: grid; grid-template-columns: .78fr 1.22fr; gap: 46px; padding: 46px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.registration-lead { margin: 0 0 20px; font-size: 1.25rem; font-weight: 600; }
.registration-url { display: block; margin-bottom: 28px; color: #00a98f; font-family: "Space Mono", monospace; font-weight: 700; overflow-wrap: anywhere; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.steps article { padding: 22px; border-radius: 18px; background: var(--paper); }
.steps span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--ink); background: var(--cyan); font-family: "Space Mono", monospace; font-weight: 700; }
.steps h3 { font-size: 1.08rem; }
.steps p { font-size: .92rem; }

.organization { padding-top: 92px; }
.org-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.org-grid article { padding: 26px 20px; text-align: center; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.035); }
.org-grid span { display: block; color: var(--cyan); font-size: .62rem; }
.org-grid strong { display: block; margin: 12px 0 6px; font-size: 1.12rem; }
.org-grid small { color: rgba(255,255,255,.55); }

.site-footer { color: rgba(255,255,255,.7); background: #030a0f; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner strong { color: #fff; }
.footer-inner p { margin: 6px 0 0; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--cyan); }

@media (max-width: 940px) {
  .header-nav a:not(.nav-cta) { display: none; }
  .event-facts, .feature-cards, .prize-grid, .org-grid { grid-template-columns: 1fr 1fr; }
  .event-facts article:nth-child(2) { border-right: 0; }
  .event-facts article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .manifesto-grid { grid-template-columns: 1fr; }
  .partner-grid, .arena-list, .registration-panel { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 68px; padding-inline: 14px; }
  .brand-copy { display: none; }
  .hero { min-height: auto; padding-top: 122px; }
  .hero h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .event-facts, .feature-cards, .prize-grid, .org-grid, .steps { grid-template-columns: 1fr; }
  .event-facts article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .event-facts article:last-child { border-bottom: 0; }
  .section-light, .section-dark { padding: 82px 0; }
  .manifesto { padding: 70px 0; }
  .registration-panel { padding: 24px; }
  .footer-inner { padding: 34px 0; flex-direction: column; align-items: flex-start; }
}
