/* ---------- RESET ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body, h1, h2, h3, h4, p, ul, li { margin: 0; padding: 0; }
ul { list-style: none; }

/* ---------- THEME ---------- */
:root{
  --bg: #0b0d12;
  --card: #121622;
  --ink: #eef2fb;
  --muted: #a7b0c3;
  --brand: #ff7a00;
  --accent: #00d1ff;
  --ring: #2a3350;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --glass: color-mix(in oklab, #0f1424 75%, transparent);
}

body{
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

/* ---------- HELPERS ---------- */
.container{ width: min(1180px, 92%); margin-inline: auto; }
.center{ text-align:center; }
.right{ text-align:right; }
.muted{ color: var(--muted); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding: .9rem 1.2rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 900; text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; cursor:pointer; box-shadow: var(--shadow);
  transition: transform .12s ease, filter .2s ease, background-color .2s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: linear-gradient(135deg, var(--brand), #ff9a46); color: #fff; }
.btn-secondary{ background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary.big{ font-size: 1.1rem; padding: 1.1rem 1.4rem; }

/* ---------- HEADER ---------- */
.site-header{
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--ring);
  backdrop-filter: blur(8px);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding: .7rem 0; }

.logo{
  display:flex; align-items:center; gap:.6rem; font-weight:900; color:var(--ink); text-decoration:none;
}
.logo-mark{
  width: 36px; height: 36px; display:grid; place-items:center; border-radius: .6rem;
  font-family: 'Anton', sans-serif; font-size: 1.3rem;
  background: linear-gradient(135deg, var(--brand), #ff7a3a); color:#fff; box-shadow: var(--shadow);
}
.nav{ display:flex; gap: .75rem; }
.nav a{ color: var(--ink); text-decoration:none; padding:.4rem .7rem; border-radius:.5rem; }
.nav a:hover{ background:#171b2a; }
.nav-toggle{ display:none; background:none; border:0; cursor:pointer; }
.nav-toggle .bar{ display:block; width:22px; height:2px; background:var(--ink); margin:5px 0; }

@media (max-width: 820px){
  .nav{ position: fixed; inset: 60px 1rem auto; background: var(--card); border:1px solid var(--ring);
        border-radius: 1rem; padding: .6rem; display:none; flex-direction: column; }
  .nav.show{ display:flex; }
  .nav-toggle{ display:block; }
}

/* ---------- HERO ---------- */
.hero{ position: relative; min-height: min(92vh, 980px); display:flex; align-items: stretch; overflow:hidden; }
.hero-bg{
  background-image: url('background image.jpg');
  background-size: cover;
  background-position: center;
}
.hero-overlay{
  position:absolute; inset:0;
  background: radial-gradient(1000px 800px at 20% 35%, rgba(0,0,0,.2), transparent 50%),
              linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 20%, rgba(0,0,0,.6) 100%);
}
.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns: 1fr; align-content:center; padding: 6vw 0 8vw; }
.hero-left{ max-width: 900px; }
.hero-title{
  font-weight: 900;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: .015em;
  text-shadow: 0 6px 24px rgba(0,0,0,.55);
}
.brand{ color: var(--brand); }

.hero-card{
  margin-top: clamp(1rem, 2.5vw, 1.4rem);
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: .9rem;
  padding: clamp(1rem, 2.5vw, 1.25rem);
  backdrop-filter: blur(6px);
  max-width: 640px;
}
.cta-title{
  font-weight: 900;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  margin-bottom: .35rem;
}
.lede{ color: var(--ink); opacity:.9; margin-bottom: .7rem; }

.stamp{
  position:absolute; right:6vw; bottom: 6vw;
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.2rem, 9vw, 6rem);
  line-height: .85; letter-spacing:.02em;
  color: rgba(255,255,255,.14);
  text-align:right;
  user-select:none;
}

/* ---------- PANELS (image with overlays) ---------- */
.panel{ position: relative; overflow:hidden; }
.panel .panel-bg{ position: relative; }
.panel .panel-bg img{ width:100%; height:auto; display:block; filter: saturate(105%) contrast(102%); }
.panel .panel-content{
  position: relative;
  margin-top: -27vw; /* pull overlays on top of the artboard area */
  padding-bottom: clamp(2rem, 6vw, 4rem);
}
@media (max-width: 900px){
  .panel .panel-content{ margin-top: -40vw; }
}

.glass.box{
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: .9rem;
  padding: clamp(.9rem, 2.4vw, 1.1rem);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  max-width: 720px;
}
.box-title{ font-weight:900; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.box-title.small{ font-size:.95rem; }
.rules{ margin-top:.4rem; display:grid; gap:.45rem; }
.rules li{ color: var(--ink); }
.rules strong{ color:#fff; }

.date-list{ display:grid; gap:.25rem; margin-top:.35rem; }
.date-list li{ font-size: 1.1rem; }
.date-list .bullet{ display:inline-block; width:1.2rem; }

.ribbon{
  background: #0b0e17;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: .5rem;
  padding: .6rem .8rem;
  width: fit-content;
  transform: skewX(-8deg);
  margin: .6rem 0;
  box-shadow: var(--shadow);
}
.ribbon p{ transform: skewX(8deg); }

/* ---------- REGISTER ---------- */
.register{ padding: 2.25rem 0; border-block: 1px solid var(--ring); background: #0c101c; }
.register-inner{ display:grid; grid-template-columns: 1fr auto; gap: 1rem; align-items:center; }
.register-form{
  display:flex; gap:.6rem; align-items: center; flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--ring); border-radius: 1rem; padding: .5rem;
}
.register-form input{
  flex: 1 1 220px;
  padding: .85rem 1rem; border: 0; outline: none; border-radius: .8rem;
  background: #0b0f1c; color: var(--ink);
}
.help{ display:block; width:100%; color: var(--muted); padding-left: .4rem; }

@media (max-width: 900px){
  .register-inner{ grid-template-columns: 1fr; }
  .register-form{ width: 100%; }
}

/* ---------- FOOTER ---------- */
.site-footer{ border-top: 1px solid var(--ring); padding: 1.2rem 0; }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; gap:.8rem; }
.back-to-top{ color: var(--ink); opacity:.9; text-decoration:none; }
.back-to-top:hover{ text-decoration: underline; }

/* ---------- ACCESSIBILITY ---------- */
.sr-only{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; }
