/* ==========================================================================
   CORRUSAL 2027 — DESIGN SYSTEM STYLESHEET
   Aesthetic: Swiss Technical / Sharp Rigid Geometry / Atmospheric Monochrome
   Palette: Black (#0A0A0A), White (#FFFFFF, #FAFAFA), Neutral Zinc Grays
   Typography: Plus Jakarta Sans (Headings/Body) + Tabular Monospace (Data/Labels)
   
   TABLE OF CONTENTS:
   01. DESIGN TOKENS & ROOT VARIABLES
   02. RESET & STRICT SWISS GEOMETRY (0px BORDER-RADIUS)
   03. TYPOGRAPHY & TEXT SYSTEM
   04. LAYOUT, CONTAINER & SECTION SPACING
   05. BUTTONS (RIGID, HIGH-CONTRAST MONOCHROME)
   06. TOP READING PROGRESS BAR
   07. STICKY TOP NAVIGATION BAR (HEADER & NAV)
   08. MOBILE NAVIGATION DRAWER & LINKS
   09. HERO SECTION & REGISTRATION WARNING
   10. LIVE COUNTDOWN TIMER HUD
   11. KEY FACTS STRIP (4-GRID STATISTICS)
   12. COMPETITION PIPELINE (3 PROGRESSIVE ROUNDS)
   13. REWARDS & PRIZE POOL BREAKDOWN (₹33,000 TOTAL)
   14. EVENT SCHEDULE & AGENDA TIMELINE CARDS
   15. DOCUMENTATION HUB CARDS (RULES, TERMS, PRIVACY)
   16. PHYSICAL VENUE & HOSPITALITY SPECIFICATIONS
   17. COMPLIANCE MODULES (RULES, TERMS, PRIVACY MODULES & JUMP NAV)
   18. FOOTER & ORGANIZER CONTACT PULSE HIGHLIGHT
   19. MODALS, TOAST NOTIFICATIONS & PRINT UTILITIES
   20. PROGRESSIVE SCROLL REVEAL & MOTION ENGINE
   21. SMART CUSTOM CURSOR (CHROMATIC GRADIENT WITH ACTIVE INVERSION)
   ========================================================================== */

:root {
  /* Strictly Monochrome Palette */
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-subtle: #F5F5F5;
  --surface-hover: #EFEFEF;
  --fg: #0A0A0A;
  --fg-secondary: #383838;
  --fg-muted: #737373;
  --fg-subtle: #999999;
  
  --border: #0A0A0A;
  --border-subtle: #E5E5E5;
  --border-medium: #D1D1D1;
  --border-glass: rgba(0, 0, 0, 0.08);
  
  /* Inverted / Dark Elements */
  --dark-bg: #0A0A0A;
  --dark-surface: #141414;
  --dark-surface-hover: #1F1F1F;
  --dark-fg: #FAFAFA;
  --dark-fg-secondary: #D4D4D4;
  --dark-fg-muted: #8A8A8A;
  --dark-border: #262626;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  /* Layout */
  --container-max: 100%;
  --nav-height: 64px;
}

/* --------------------------------------------------------------------------
   RESET & GEOMETRIC RIGIDITY
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Strict sharp 90-degree corners */
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY: SKIP LINK & FOCUS VISIBLE RINGS (WCAG 2.1 AA)
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100000;
  background: var(--fg);
  color: var(--bg);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--surface);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.btn-dark:focus-visible,
.btn-solid:focus-visible,
.stage-card-dark:focus-visible,
.prize-card-primary:focus-visible,
.doc-card-dark:focus-visible,
footer :focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

/* Selection */
::selection {
  background: var(--fg);
  color: var(--bg);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--fg);
}

h1 {
  font-size: clamp(2.6rem, 7.5vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  margin-bottom: 1.25rem;
  line-height: 0.94;
}

h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.7rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  margin-bottom: 0.65rem;
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

p {
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--fg-secondary);
  letter-spacing: -0.01em;
}

.mono {
  font-family: var(--font-mono);
}

.tag-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  white-space: nowrap;
}

.badge-dark {
  background: var(--dark-bg);
  color: var(--dark-fg);
  border-color: var(--dark-border);
}

.badge-subtle {
  background: var(--surface-subtle);
  border-color: var(--border-subtle);
  color: var(--fg-secondary);
}

/* Status Dot */
.status-dot {
  width: 6px;
  height: 6px;
  background-color: currentColor;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   LAYOUT & CONTAINER (Full Screen Fluid Architecture)
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 5.5rem);
  padding-right: clamp(1rem, 4vw, 5.5rem);
  position: relative;
  z-index: 1;
}

section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header .tag-label {
  display: block;
  margin-bottom: 0.5rem;
}

.section-header p {
  max-width: 820px;
  margin-top: 0.65rem;
  font-size: 1.02rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   BUTTONS (Rigid, High-Contrast)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  user-select: none;
  min-height: 46px;
}

.btn:hover {
  background: var(--fg);
  color: var(--bg);
}

.btn:active {
  transform: scale(0.99);
}

.btn-solid {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.btn-solid:hover {
  background: transparent;
  color: var(--fg);
}

.btn-dark {
  background: var(--dark-fg);
  color: var(--dark-bg);
  border-color: var(--dark-fg);
}

.btn-dark:hover {
  background: transparent;
  color: var(--dark-fg);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.72rem;
  min-height: 36px;
}

/* --------------------------------------------------------------------------
   TOP READING PROGRESS BAR
   -------------------------------------------------------------------------- */
#readingProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--fg);
  width: 0%;
  z-index: 10005;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   STICKY & FIXED NAVIGATION (Always 100% full width, always visible)
   -------------------------------------------------------------------------- */
header,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--nav-height);
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  z-index: 10000;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

header nav,
.site-header nav,
nav {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.nav-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 900;
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  letter-spacing: -0.03em;
  color: var(--fg);
  text-transform: uppercase;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
}

.nav-brand:hover {
  opacity: 0.75;
}

.brand-logo,
.nav-brand img,
.nav-brand svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav-brand-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--border-medium);
  letter-spacing: 0.05em;
  display: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nav-brand:hover .nav-brand-badge {
  background: var(--fg);
  color: #ffffff;
  border-color: var(--fg);
}

@media (min-width: 640px) {
  .nav-brand-badge {
    display: inline-block;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-secondary);
  padding: 0.35rem 0.5rem;
  position: relative;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.5rem;
  right: 0.5rem;
  height: 2px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
  color: var(--fg);
  background-color: rgba(0, 0, 0, 0.04);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--fg);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-status-badge {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--fg-secondary);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  cursor: default;
  min-height: 38px;
  box-sizing: border-box;
}

.nav-status-badge:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--border-medium);
  color: var(--fg);
}

@media (min-width: 1024px) {
  .nav-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }
}

.nav-btn-register {
  padding: 0.55rem 1.15rem;
  font-size: 0.74rem;
  font-weight: 750;
  min-height: 38px;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  box-sizing: border-box;
  white-space: nowrap;
}

.nav-btn-register:hover {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}

.nav-btn-register:active {
  transform: scale(0.97);
}

@media (max-width: 480px) {
  .nav-actions {
    gap: 0.45rem;
  }
  .nav-btn-register {
    padding: 0.45rem 0.75rem;
    font-size: 0.68rem;
    min-height: 36px;
  }
  .nav-toggle {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
}

@media (max-width: 340px) {
  .nav-brand span {
    font-size: 0.92rem;
  }
  .nav-btn-register {
    padding: 0.4rem 0.55rem;
    font-size: 0.62rem;
  }
}

/* Minimalist Hamburger Button */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  background: #ffffff;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--fg);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--fg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   MOBILE NAVIGATION DRAWER
   -------------------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  height: calc(100dvh - var(--nav-height));
  background: #ffffff;
  border-bottom: 2px solid var(--border);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 4vw, 2.5rem);
  transform: translateY(-105%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  pointer-events: none;
}

.mobile-drawer.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 4.5vw, 1.35rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--fg);
  padding: 0.85rem 0.35rem;
  min-height: 48px;
  transition: background-color 0.15s ease, padding-left 0.15s ease;
}

.mobile-nav-list a:hover {
  background-color: rgba(0, 0, 0, 0.04);
  padding-left: 0.85rem;
}

.mobile-nav-list a:active {
  background-color: rgba(0, 0, 0, 0.06);
}

.mobile-nav-list a span.mono {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.mobile-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-drawer-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   HERO SECTION (Full Screen High-Impact Layout)
   -------------------------------------------------------------------------- */
.hero {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
  position: relative;
  width: 100%;
}

.hero-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}

.hero-title-group {
  margin-bottom: 2.5rem;
  width: 100%;
}

.hero-title-group h1 {
  font-size: clamp(3rem, 7.8vw, 7.2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.94;
  margin-bottom: 1.25rem;
}

.hero-subhead {
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  font-weight: 450;
  max-width: 860px;
  line-height: 1.68;
  color: var(--fg-secondary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  width: 100%;
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    min-height: 50px;
    font-size: 0.84rem;
    font-weight: 750;
  }
}

.countdown-expiry-notice {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--fg);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  padding: 0.45rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   LIVE COUNTDOWN HUD (Edge-to-Edge Telemetry Command Bar)
   -------------------------------------------------------------------------- */
.countdown-box {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  width: 100%;
}

.countdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin: 1.25rem 0 1rem;
}

.countdown-item {
  padding: clamp(1.25rem, 2.5vw, 2rem) 0.5rem;
  border-right: 1px solid var(--border-subtle);
}

.countdown-item:last-child {
  border-right: none;
}

.countdown-val {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 5.2vw, 4.5rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 0.65rem;
  display: block;
}

@media (max-width: 480px) {
  .countdown-box {
    padding: 1rem 0.5rem;
    margin-bottom: 2rem;
  }
  .countdown-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
  .countdown-header .tag-label {
    font-size: 0.62rem;
    line-height: 1.4;
  }
  .countdown-grid {
    margin: 0.85rem 0 0.85rem;
  }
  .countdown-item {
    padding: 0.65rem 0.15rem;
  }
  .countdown-val {
    font-size: clamp(1.4rem, 6.2vw, 2.2rem);
  }
  .countdown-label {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
    margin-top: 0.4rem;
  }
  .countdown-expiry-notice {
    font-size: 0.64rem;
    padding: 0.45rem 0.65rem;
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }
}

/* --------------------------------------------------------------------------
   KEY FACTS STRIP (Full-Bleed 4-Grid Ribbon)
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
  width: 100%;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-cell {
  background: var(--surface);
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 135px;
  transition: background 0.15s ease;
}

.stat-cell:hover {
  background: var(--surface-subtle);
}

.stat-val {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 0.5rem;
  color: var(--fg);
}

@media (max-width: 480px) {
  .stat-cell {
    padding: 0.95rem 0.75rem;
    min-height: 105px;
  }
}

/* --------------------------------------------------------------------------
   COMPETITION FORMAT (The 3 Rounds)
   -------------------------------------------------------------------------- */
.stages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2vw, 2rem);
  width: 100%;
}

@media (min-width: 960px) {
  .stages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stage-card {
  border: 1px solid var(--border-medium);
  background: var(--surface);
  padding: clamp(1.75rem, 2.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.stage-card:hover {
  border-color: var(--border);
  background: var(--surface);
}

.stage-card-dark {
  background: var(--dark-bg);
  color: var(--dark-fg);
  border-color: var(--dark-bg);
}

.stage-card-dark:hover {
  background: var(--dark-surface);
}

.stage-card-dark h3,
.stage-card-dark p,
.stage-card-dark .tag-label {
  color: var(--dark-fg);
}

.stage-card-dark p {
  color: var(--dark-fg-secondary);
}

.stage-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.stage-card-dark .stage-top {
  border-bottom-color: var(--dark-border);
}

.stage-id {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
}

.stage-title {
  margin-bottom: 0.85rem;
}

.stage-desc {
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.65;
}

.stage-meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stage-card-dark .stage-meta {
  border-top-color: var(--dark-border);
}

/* --------------------------------------------------------------------------
   PRIZES
   -------------------------------------------------------------------------- */
.prizes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  width: 100%;
}

@media (min-width: 860px) {
  .prizes-grid {
    grid-template-columns: 1.25fr 1fr;
  }
}

.prize-card {
  border: 1px solid var(--border);
  padding: clamp(2rem, 3.5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.prize-card:hover {
  border-color: var(--fg);
}

.prize-card-primary {
  background: var(--dark-bg);
  color: var(--dark-fg);
  border-color: var(--dark-bg);
}

.prize-card-primary h2,
.prize-card-primary h3,
.prize-card-primary .tag-label {
  color: var(--dark-fg);
}

.prize-card-primary p {
  color: var(--dark-fg-secondary);
}

.prize-card-secondary {
  background: var(--surface);
  border: 1px solid var(--border-medium);
}

.prize-amount {
  font-family: var(--font-mono);
  font-size: clamp(2.8rem, 5.8vw, 4.8rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 1.25rem 0;
}

.prize-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.prize-perks li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.prize-perks li::before {
  content: "■";
  font-size: 0.55rem;
  opacity: 0.65;
}

/* --------------------------------------------------------------------------
   UNCLUTTERED MODERN AGENDA / TIMELINE CARDS
   -------------------------------------------------------------------------- */
.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.agenda-card {
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  padding: clamp(1.25rem, 2vw, 1.85rem) clamp(1.25rem, 2.5vw, 2.25rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  position: relative;
  width: 100%;
}

.agenda-card:hover {
  border-color: var(--border);
  background: var(--surface);
}

.agenda-card-highlight {
  border-color: var(--border);
  background: var(--surface);
}

@media (min-width: 860px) {
  .agenda-card {
    grid-template-columns: 240px 1fr auto;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3.5rem);
  }
}

.agenda-date-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

@media (max-width: 859px) {
  .agenda-card {
    gap: 0.85rem;
    padding: 1.25rem 1rem;
  }
  .agenda-date-group {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-subtle);
  }
}

.agenda-date {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fg);
}

.agenda-time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.agenda-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.agenda-phase {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.agenda-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.agenda-desc {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.55;
}

.agenda-badge-wrap {
  display: flex;
  align-items: center;
}

/* --------------------------------------------------------------------------
   DOCUMENTATION CARDS
   -------------------------------------------------------------------------- */
.docs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2vw, 2rem);
  width: 100%;
}

@media (min-width: 900px) {
  .docs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.doc-card {
  border: 1px solid var(--border-medium);
  background: var(--surface);
  padding: clamp(1.75rem, 2.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.doc-card:hover {
  border-color: var(--border);
  background: var(--surface);
}

.doc-card-dark {
  background: var(--dark-bg);
  color: var(--dark-fg);
  border-color: var(--dark-bg);
}

.doc-card-dark:hover {
  background: var(--dark-surface);
}

.doc-card-dark h3,
.doc-card-dark p,
.doc-card-dark .tag-label {
  color: var(--dark-fg);
}

.doc-card-dark p {
  color: var(--dark-fg-secondary);
}

.doc-card-footer {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.doc-card-dark .doc-card-footer {
  border-top-color: var(--dark-border);
}

/* --------------------------------------------------------------------------
   VENUE BOX
   -------------------------------------------------------------------------- */
.venue-box {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(1.75rem, 3.5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 3.5vw, 4rem);
  width: 100%;
}

@media (min-width: 860px) {
  .venue-box {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
}

.venue-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.venue-spec-item {
  border-left: 2px solid var(--border);
  padding-left: 0.75rem;
}

/* --------------------------------------------------------------------------
   RULES & TERMS MODULES (Widescreen 2-Column Architectural System)
   -------------------------------------------------------------------------- */
.rules-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.rules-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: clamp(2rem, 3vw, 3rem);
  align-items: start;
  width: 100%;
}

.rules-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .rules-layout {
    grid-template-columns: 320px 1fr;
    gap: clamp(2.5rem, 4vw, 4.5rem);
  }

  .rules-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 24px);
    align-self: start;
    max-height: calc(100vh - var(--nav-height) - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
    padding-right: 0.5rem;
  }

  .rules-jump-nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.25rem;
    border: 1px solid var(--border-medium);
    background: var(--surface);
  }
}

.rules-sidebar {
  transform: none !important;
  will-change: auto !important;
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
}

@media (max-width: 1023px) {
  html {
    scroll-padding-top: calc(var(--nav-height) + 68px);
  }
  .rules-layout {
    display: block;
  }
  .rules-sidebar {
    position: sticky;
    top: var(--nav-height);
    z-index: 90;
    background: var(--bg);
    padding: 0.65rem 0;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
    transform: none !important;
    will-change: auto !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
  }
  .rules-jump-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    gap: 0.45rem;
    padding: 0.25rem 0;
    border: none;
    background: transparent;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }
  .rules-jump-nav::-webkit-scrollbar {
    display: none;
  }
  .rules-jump-nav .tag-label {
    display: none;
  }
  .rules-jump-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.45rem 0.75rem;
    font-size: 0.7rem;
    border-color: var(--border-medium);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .rule-module {
    scroll-margin-top: calc(var(--nav-height) + 72px);
  }
}

.rules-jump-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border-subtle);
  background: var(--surface-subtle);
  color: var(--fg);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  display: block;
  text-align: left;
}

.rules-jump-btn:hover,
.rules-jump-btn.active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.rule-module {
  border: 1px solid var(--border-medium);
  background: var(--surface);
  margin-bottom: 1.5rem;
  transition: border-color 0.2s ease;
  width: 100%;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.rule-module:hover {
  border-color: var(--border);
}

.rule-module-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1.15rem clamp(1.25rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-subtle);
}

.rule-module-title,
h2.rule-module-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: normal;
  margin: 0;
  line-height: inherit;
  color: var(--fg);
  text-transform: uppercase;
}

.rule-module-body {
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.rule-module-body p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--fg-secondary);
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
footer {
  background: var(--dark-bg);
  color: var(--dark-fg);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid #1c1c1c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 3.5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  width: 100%;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: clamp(2.5rem, 4vw, 5rem);
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-brand img,
.footer-brand svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  height: 24px;
  width: auto;
}

.footer-brand-title {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--dark-fg);
}

.footer-desc {
  color: var(--dark-fg-muted);
  font-size: 0.85rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-fg-muted);
  margin-bottom: 1.25rem;
  display: block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--dark-fg-muted);
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--dark-fg);
}

.footer-contact-item {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--dark-fg-muted);
  word-break: break-all;
  margin-bottom: 0.75rem;
}

/* Contact Organizers Flash Highlight Effect */
.contact-card-box {
  padding: 1rem;
  border: 1px solid var(--dark-border);
  background: var(--dark-surface);
  transition: all 0.3s ease;
}

@keyframes contactPulseFlash {
  0% {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
    background-color: rgba(255, 255, 255, 0.2);
  }
  50% {
    outline: 2px solid #FFFFFF;
    outline-offset: 6px;
    background-color: rgba(255, 255, 255, 0.35);
  }
  100% {
    outline: 2px solid transparent;
    outline-offset: 0;
    background-color: var(--dark-surface);
  }
}

.flash-highlight {
  animation: contactPulseFlash 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Next Event Free Entry Privilege Banner */
.privilege-banner {
  margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
}

.privilege-banner-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.privilege-banner-content p {
  font-size: 0.88rem;
  color: var(--fg-secondary);
  max-width: 720px;
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dark-border);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--dark-fg-muted);
}

/* --------------------------------------------------------------------------
   MODAL
   -------------------------------------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: rgba(10, 10, 10, 0.6);
  padding: 1rem;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: var(--bg);
  border: 2px solid var(--border);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-step {
  border-left: 2px solid var(--border);
  padding-left: 1rem;
}

.modal-step h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.modal-step p {
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   TOAST NOTIFICATION (Clipboard Feedback)
   -------------------------------------------------------------------------- */
#toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border);
  z-index: 100000;
  display: none;
}

#toast.show {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media print {
  nav, .mobile-drawer, #readingProgress, .btn {
    display: none !important;
  }
}

/* ==========================================================================
   20. PROGRESSIVE SCROLL REVEAL & MOTION ENGINE
   Aesthetic: Strict Flat Monochrome / GPU Hardware Acceleration / Fluid Deceleration
   ========================================================================== */

/* Base progressive reveal state (GPU accelerated 60/120fps) */
.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* Staggered progressive reveal groups */
.reveal-group > * {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.reveal-group.is-revealed > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.reveal-group.is-revealed > *:nth-child(1)  { transition-delay: 0.04s; }
.reveal-group.is-revealed > *:nth-child(2)  { transition-delay: 0.09s; }
.reveal-group.is-revealed > *:nth-child(3)  { transition-delay: 0.14s; }
.reveal-group.is-revealed > *:nth-child(4)  { transition-delay: 0.19s; }
.reveal-group.is-revealed > *:nth-child(5)  { transition-delay: 0.24s; }
.reveal-group.is-revealed > *:nth-child(6)  { transition-delay: 0.29s; }
.reveal-group.is-revealed > *:nth-child(7)  { transition-delay: 0.34s; }
.reveal-group.is-revealed > *:nth-child(8)  { transition-delay: 0.39s; }
.reveal-group.is-revealed > *:nth-child(9)  { transition-delay: 0.44s; }
.reveal-group.is-revealed > *:nth-child(10) { transition-delay: 0.49s; }
.reveal-group.is-revealed > *:nth-child(11) { transition-delay: 0.54s; }
.reveal-group.is-revealed > *:nth-child(12) { transition-delay: 0.59s; }

/* Flat minimal hover states with sharp monochrome contrast (Zero Blur, Zero Drop Shadows) */
.stage-card:hover,
.doc-card:hover,
.agenda-card:hover,
.rule-module:hover,
.prize-card:hover {
  border-color: var(--fg);
  box-shadow: none !important;
}

/* Modal and cards flat rigidity */
.modal-window {
  box-shadow: none !important;
}

/* Fallback for disabled JavaScript */
html.no-js .reveal,
html.no-js .reveal-group > * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .custom-cursor {
    display: none !important;
  }

  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor input,
  body.has-custom-cursor select,
  body.has-custom-cursor textarea,
  body.has-custom-cursor [role="button"],
  body.has-custom-cursor .btn,
  body.has-custom-cursor .doc-card,
  body.has-custom-cursor .rules-jump-btn {
    cursor: auto !important;
  }
}

/* ==========================================================================
   21. SMART CUSTOM CURSOR (Chromatic Gradient Square with Black Borders)
   Aesthetic: Sharp Swiss Geometry / 7-Color Spectral Transitions / Active Inversion
   ========================================================================== */

/* Hidden on touch screens / mobile devices */
.custom-cursor {
  display: none;
}

@keyframes cursorSpectrumFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes cursorSpectrumRotate {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

@media (hover: hover) and (pointer: fine) {
  /* Hide operating system arrow only when smart custom cursor is initialized */
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor input,
  body.has-custom-cursor select,
  body.has-custom-cursor textarea,
  body.has-custom-cursor [role="button"],
  body.has-custom-cursor .btn,
  body.has-custom-cursor .doc-card,
  body.has-custom-cursor .rules-jump-btn {
    cursor: none !important;
  }

  .custom-cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border: 2px solid #000000;
    border-radius: 0 !important;
    pointer-events: none;
    z-index: 999999;
    box-sizing: border-box;
    opacity: 0;
    transform: translate3d(-100px, -100px, 0);

    /* 7-Color Rainbow Spectrum: Red, Orange, Yellow, Green, Blue, Indigo, Violet */
    background: linear-gradient(
      135deg,
      #FF0033 0%,
      #FF7A00 16.6%,
      #FFDD00 33.3%,
      #00E676 50%,
      #00B0FF 66.6%,
      #3D5AFE 83.3%,
      #D500F9 100%
    );
    background-size: 300% 300%;
    animation: cursorSpectrumFlow 6s ease-in-out infinite,
               cursorSpectrumRotate 8s linear infinite;

    transition: width 0.10s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.10s cubic-bezier(0.16, 1, 0.3, 1),
                border-width 0.18s ease,
                opacity 0.2s ease;
    will-change: transform, width, height, filter, background-position;
  }

  .custom-cursor.is-visible {
    opacity: 1;
  }

  /* Smart expanded state over interactive targets */
  .custom-cursor.is-hovering {
    width: 24px;
    height: 24px;
    border-width: 2px;
  }

  /* Active Click State: Turns pure white inside with black borders */
  .custom-cursor.is-clicking,
  .custom-cursor.is-hovering.is-clicking {
    background: #FFFFFF !important;
    border: 2px solid #000000 !important;
    animation: none !important;
    filter: none !important;
  }
}

/* ==========================================================================
   22. PRE-LAUNCH GATEWAY & COMING SOON WALL (Active before Nov 01, 2026)
   Strictly Monochrome Black & White
   ========================================================================== */

/* Zero-flash lock state applied to html */
html.site-locked,
html.site-locked body {
  overflow: hidden !important;
  height: 100vh !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #0A0A0A !important;
}

/* Hide all normal page elements when locked */
html.site-locked body > *:not(#comingSoonWall):not(#customCursor) {
  display: none !important;
}

/* Default state: Wall is hidden */
#comingSoonWall {
  display: none;
}

/* Display wall when site is locked */
html.site-locked #comingSoonWall {
  display: flex !important;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background-color: #0A0A0A;
  color: #FFFFFF;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
  overflow: hidden;
  user-select: none;
}

/* Subtle monochrome background grid */
.cs-wall-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.7;
}

/* Central container */
.cs-wall-card {
  position: relative;
  z-index: 2;
  max-width: 540px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: csFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes csFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo and brand */
.cs-logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  user-select: none;
}

.cs-brand-logo {
  width: 80px;
  height: 80px;
  color: #FFFFFF;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.15));
}

.cs-brand-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cs-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  background: #1A1A1A;
  color: #FFFFFF;
  border: 1px solid #333333;
  letter-spacing: 0.08em;
}

/* Headline COMING SOON */
.cs-heading {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

/* Monochrome launch date metadata */
.cs-launch-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: #737373;
  text-transform: uppercase;
}

/* Smooth unlock exit animation */
#comingSoonWall.unlocking {
  pointer-events: none;
  animation: csUnlockExit 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes csUnlockExit {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.04);
    visibility: hidden;
  }
}



