@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  --bg:          #00020a;
  --bg2:         #020810;
  --line:        rgba(38,183,255,0.14);
  --line-hi:     rgba(38,183,255,0.48);
  --text:        #e4f2ff;
  --muted:       #7aa0bf;
  --blue:        #0878ff;
  --blue-light:  #26b7ff;
  --blue-mid:    #0a55e0;
  --cyan:        #00e5ff;
  --violet:      #7c3aed;
  --silver:      #b8ccdf;
  /* gold removed */
  --white:       #ffffff;
  --shadow-card: 0 24px 80px rgba(0,20,60,0.5);
  --shadow-glow: 0 0 40px rgba(38,183,255,0.18);
  --font-h:      'Orbitron', 'Segoe UI', sans-serif;
  --font-b:      'Inter', 'Segoe UI', Arial, sans-serif;
  --r:           18px;
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
ul, ol, li { list-style: none; }

/* ================================================================
   BODY + NEBULA BASE
   ================================================================ */
html { overflow-x: clip; }

body {
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--bg);
}


/* ================================================================
   METEOR CURSOR
   ================================================================ */
.meteor-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--white) 0%, var(--cyan) 50%, transparent 80%);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--blue-light);
  transition: width 0.2s, height 0.2s, background 0.2s, box-shadow 0.2s;
}
.meteor-cursor.hovering {
  width: 24px; height: 24px;
  background: radial-gradient(circle, var(--white) 0%, var(--silver) 50%, transparent 80%);
  box-shadow: 0 0 15px var(--silver), 0 0 30px rgba(184, 204, 223, 0.8);
}
.meteor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 4px; height: 4px;
  pointer-events: none;
  z-index: 9998;
  background: var(--cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.meteor-trail.hovering-trail {
  background: var(--silver);
}

/* Nebula colour layer — default & specific */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 12%  8%,  rgba(8,120,255,0.26) 0%, transparent 65%),
    radial-gradient(ellipse 55% 40% at 90% 15%,  rgba(0,229,255,0.11) 0%, transparent 58%),
    radial-gradient(ellipse 45% 55% at 48% 92%,  rgba(8,70,200,0.18)  0%, transparent 65%),
    radial-gradient(ellipse 38% 30% at 75% 60%,  rgba(124,58,237,0.14) 0%, transparent 58%),
    linear-gradient(160deg, #00020a 0%, #030c1c 50%, #010509 100%);
}

body.page-home::before {
  background:
    radial-gradient(ellipse 70% 50% at 12%  8%,  rgba(8,120,255,0.26) 0%, transparent 65%),
    radial-gradient(ellipse 55% 40% at 90% 15%,  rgba(0,229,255,0.11) 0%, transparent 58%),
    radial-gradient(ellipse 45% 55% at 48% 92%,  rgba(8,70,200,0.18)  0%, transparent 65%),
    radial-gradient(ellipse 38% 30% at 75% 60%,  rgba(124,58,237,0.14) 0%, transparent 58%),
    linear-gradient(160deg, #00020a 0%, #030c1c 50%, #010509 100%);
}

body.page-syllabus::before {
  background:
    radial-gradient(ellipse 70% 50% at 15% 15%,  rgba(124,58,237,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 55% 40% at 85% 20%,  rgba(255,100,200,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 50% 85%,  rgba(80,50,200,0.15)  0%, transparent 65%),
    linear-gradient(160deg, #050110 0%, #0a021a 50%, #030008 100%);
}

body.page-timeline::before {
  background:
    radial-gradient(ellipse 65% 50% at 10% 10%,  rgba(255,180,50,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 80%,  rgba(255,100,50,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 40% 90%,  rgba(200,50,100,0.15)  0%, transparent 65%),
    linear-gradient(160deg, #0a0401 0%, #1a0a03 50%, #050200 100%);
}

body.page-partners::before {
  background:
    radial-gradient(ellipse 65% 50% at 20% 10%,  rgba(0,255,150,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%,  rgba(0,180,255,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 50% 90%,  rgba(0,100,200,0.15)  0%, transparent 65%),
    linear-gradient(160deg, #010a05 0%, #031a0a 50%, #000502 100%);
}

body.page-ambassador::before {
  background:
    radial-gradient(ellipse 70% 50% at 10% 80%,  rgba(255,50,150,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 55% 40% at 90% 20%,  rgba(150,50,255,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 50% 10%,  rgba(255,100,50,0.12)  0%, transparent 65%),
    linear-gradient(160deg, #0a0105 0%, #1a030a 50%, #050002 100%);
}

/* ================================================================
   SPACETIME CANVAS
   ================================================================ */
.space-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

/* ================================================================
   CURSOR GLOW ORB
   ================================================================ */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  z-index: 26;
  width: 400px;
  height: 400px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(38,183,255,0.13) 0%,
    rgba(8,120,255,0.06)  35%,
    transparent           70%
  );
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 400ms ease;
  will-change: transform;
}

/* ================================================================
   SELECTION
   ================================================================ */
::selection { color: var(--white); background: rgba(8,120,255,0.72); }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3 {
  font-family: var(--font-h);
  letter-spacing: 0.025em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2rem, 4.8vw, 4.6rem); font-weight: 900; }
.home-title { font-size: clamp(1.9rem, 4.4vw, 4.2rem); max-width: 760px; }
h2 { font-size: clamp(1.45rem, 2.7vw, 2.8rem); font-weight: 800; }
h3 { font-size: clamp(0.98rem, 1.6vw, 1.28rem); font-weight: 700; }
p  { overflow-wrap: anywhere; }

.eyebrow {
  margin-bottom: 12px;
  color: var(--cyan);
  font-family: var(--font-b);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Gradient text helpers */
.text-blue   { color: var(--blue-light); }
.text-silver { color: var(--silver); }
.text-gold   { color: var(--blue-light); }
.text-grad {
  background: linear-gradient(135deg, var(--blue-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   SHIMMER ANIMATION (used on hero title accent)
   ================================================================ */
.shimmer {
  background: linear-gradient(
    110deg,
    var(--blue-light) 30%,
    var(--cyan) 50%,
    var(--blue-light) 70%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerMove 3s linear infinite;
}
@keyframes shimmerMove {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ================================================================
   SITE HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(160px,1fr) auto minmax(160px,1fr);
  align-items: center;
  min-height: 78px;
  padding: 0 clamp(18px,4vw,68px);
  border-bottom: 1px solid var(--line);
  background: rgba(0,2,10,0.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  transition: background 350ms ease, box-shadow 350ms ease;
}
.site-header.scrolled {
  background: rgba(0,2,10,0.94);
  box-shadow: 0 1px 0 var(--line), 0 8px 48px rgba(0,10,40,0.6);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  padding: 6px 0;
}
.brand-logo {
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(38,183,255,0.28));
  transition: filter 300ms ease, transform 300ms ease;
}
.brand-lockup:hover .brand-logo {
  filter: drop-shadow(0 0 26px rgba(38,183,255,0.55));
  transform: scale(1.04);
}
.club-logo { width: 42px; height: 42px; }
.gaac-logo { width: 64px; height: 50px; }

.brand-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(38,183,255,0.7) 40%,
    rgba(180,210,230,0.5) 60%,
    transparent 100%);
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(8px,2vw,24px);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.site-nav a {
  position: relative;
  padding: 6px 6px;
  transition: color 220ms ease, text-shadow 220ms ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--white); text-shadow: 0 0 12px rgba(255,255,255,0.4); }

/* Register CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  color: var(--white);
  border: 1px solid rgba(38,183,255,0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  box-shadow: 0 6px 24px rgba(8,120,255,0.3), inset 0 1px 0 rgba(255,255,255,0.12);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 38px rgba(8,120,255,0.44), inset 0 1px 0 rgba(255,255,255,0.18);
}
.header-cta { justify-self: end; }
.header-ctas { justify-self: end; display: inline-flex; align-items: center; gap: 10px; }

/* Ambassador log-in ghost CTA (distinct from primary Register/Log In) */
.nav-cta-ghost {
  background: transparent;
  border: 1px solid rgba(38,183,255,0.4);
  box-shadow: none;
  color: var(--blue-light);
}
.nav-cta-ghost:hover {
  background: rgba(38,183,255,0.12);
  box-shadow: 0 8px 26px rgba(8,120,255,0.28);
}

/* Mobile-only CTA pair (lives inside .site-nav dropdown) */
.mobile-ctas { display: none; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
}
.nav-toggle:hover { background: rgba(38,183,255,0.1); border-color: var(--line-hi); }
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 300ms ease, opacity 300ms ease;
}

/* ================================================================
   PAGE SHELL
   ================================================================ */
.page-shell {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(60px,7vw,108px) 0;
}
.page-shell.compact {
  padding-top:    clamp(44px,5.5vw,80px);
  padding-bottom: clamp(44px,5.5vw,80px);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(260px,0.85fr);
  gap: clamp(24px,5vw,68px);
  align-items: center;
  min-height: 60vh; /* Reduced to avoid empty space */
  padding-top: clamp(60px,8vw,100px);
  padding-bottom: clamp(40px,5vw,80px);
}
.hero-copy { position: relative; }

.hero-lede {
  max-width: 600px;
  margin-top: 18px;
  color: #aec8e0;
  font-size: clamp(0.92rem,1.2vw,1.06rem);
  line-height: 1.82;
  text-align: justify;
}
.hero-lede strong { color: var(--white); font-weight: 800; }
.gaac-word span { color: var(--blue-light); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-login { display: none; }

/* Buttons */
.button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}
.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  box-shadow: 0 10px 36px rgba(8,120,255,0.36), inset 0 1px 0 rgba(255,255,255,0.14);
}
.button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(8,120,255,0.5), inset 0 1px 0 rgba(255,255,255,0.18);
}
.button.secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,0.04);
}
.button.secondary:hover {
  transform: translateY(-3px);
  border-color: var(--line-hi);
  background: rgba(38,183,255,0.07);
  box-shadow: 0 10px 32px rgba(8,120,255,0.14);
}
.button.logo-style {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
}
.button.logo-style:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.5);
  box-shadow: 0 10px 32px rgba(255,255,255,0.08);
}

.status-line {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Hero mark / logo + orbits */
.hero-mark {
  position: relative;
  display: grid;
  min-height: clamp(220px,28vw,380px);
  place-items: center;
  will-change: transform;
}
.hero-mark img {
  position: relative;
  z-index: 2;
  width: min(70vw, 400px);
  filter: drop-shadow(0 28px 76px rgba(8,120,255,0.44)) drop-shadow(0 0 100px rgba(0,229,255,0.10));
  animation: floatMark 7s ease-in-out infinite;
}
.mark-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(38,183,255,0.32);
}
.mark-orbit::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 10px var(--blue-light), 0 0 20px rgba(38,183,255,0.4);
}
.orbit-a { width: 86%; aspect-ratio:1/0.44; animation: orbitSpin 18s linear infinite; }
.orbit-a::after { top: 50%; left: 95%; }
.orbit-b { width: 66%; aspect-ratio:1/0.5;  border-color: rgba(180,210,230,0.28); animation: orbitSpinRev 24s linear infinite; }
.orbit-b::after { top: 5%; left: 50%; width: 4px; height: 4px; background: rgba(180,210,230,0.6); box-shadow: 0 0 8px rgba(180,210,230,0.3); }
.orbit-c { width: 108%; aspect-ratio:1/0.56; border-color: rgba(0,229,255,0.14); animation: orbitSpin 34s linear infinite; }
.orbit-c::after { top: 90%; left: 20%; width: 3px; height: 3px; background: rgba(0,229,255,0.5); box-shadow: 0 0 6px rgba(0,229,255,0.3); }

/* ================================================================
   STATS BAND
   ================================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.stat-card { min-height: 150px; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.stat-header { display: flex; align-items: center; justify-content: center; gap: 14px; }
.stat-icon {
  width: clamp(32px,4vw,44px);
  height: clamp(32px,4vw,44px);
  flex-shrink: 0;
}
.stat-card .plus {
  font-size: clamp(1rem,2vw,1.6rem);
  margin-left: 3px;
  flex: 0 0 auto;
  -webkit-text-fill-color: var(--blue-light);
}
.stat-card strong .counter {
  display: inline;
  margin-top: 0;
}
.stat-card strong {
  display: flex;
  align-items: baseline;
  font-family: var(--font-h);
  font-size: clamp(1.9rem,3.8vw,2.9rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(140deg, var(--white) 30%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card > span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

/* ================================================================
   SPLIT SECTION
   ================================================================ */
.split-section {
  display: grid;
  grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
  gap: clamp(24px,5vw,72px);
  align-items: center;
}

/* Section headings */
.section-heading.centered {
  max-width: 800px;
  margin: 0 auto 36px;
  text-align: center;
}
.section-heading.centered h2 { text-align: center; }

/* ================================================================
   GLASS CARD  (shared base)
   ================================================================ */
.stat-card,
.format-panel article,
.portal-card,
.partner-card,
.info-card,
.round-card,
.callout,
.organizer,
.syllabus-card,
.round-syllabus article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(38,183,255,0.12);
  border-radius: var(--r);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.018) 100%),
    rgba(2,8,20,0.70);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  /* 3D tilt ready */
  transform-style: preserve-3d;
  transition:
    border-color 300ms ease,
    box-shadow   300ms ease;
}

/* Gradient top shimmer line */
.stat-card::before,
.format-panel article::before,
.portal-card::before,
.partner-card::before,
.info-card::before,
.round-card::before,
.syllabus-card::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(38,183,255,0.55),
    rgba(0,229,255,0.3),
    transparent);
  border-radius: 1px;
  z-index: 1;
  pointer-events: none;
}

/* Inner mouse-follow radial glow */
.stat-card::after,
.format-panel article::after,
.portal-card::after,
.partner-card::after,
.info-card::after,
.round-card::after,
.callout::after,
.organizer::after,
.syllabus-card::after,
.round-syllabus article::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--mx,50%) var(--my,-20%),
    rgba(38,183,255,0.18),
    transparent 42%
  );
  opacity: 0;
  transition: opacity 300ms ease;
}

/* Hover border + inner glow */
.stat-card:hover,
.format-panel article:hover,
.portal-card:hover,
.partner-card:hover,
.info-card:hover,
.round-card:hover,
.syllabus-card:hover,
.round-syllabus article:hover {
  border-color: rgba(38,183,255,0.38);
  box-shadow: 0 32px 100px rgba(8,120,255,0.24), var(--shadow-glow);
}
.stat-card:hover::after,
.format-panel article:hover::after,
.portal-card:hover::after,
.partner-card:hover::after,
.info-card:hover::after,
.round-card:hover::after,
.callout:hover::after,
.organizer:hover::after,
.syllabus-card:hover::after,
.round-syllabus article:hover::after { opacity: 1; }

/* ================================================================
   CHIP BADGE
   ================================================================ */
.chip {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 13px;
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.32);
  border-radius: 999px;
  background: rgba(0,229,255,0.06);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ================================================================
   FORMAT PANEL
   ================================================================ */
.format-panel,
.portal-grid,
.ambassador-grid,
.partner-grid,
.round-grid { display: grid; gap: 16px; }
.format-panel { grid-template-columns: 1fr; }
.format-panel article,
.portal-card,
.info-card,
.callout { padding: clamp(22px,3.5vw,36px); }

.format-panel p,
.portal-card p,
.partner-card p,
.info-card p,
.timeline-track p,
.syllabus-card p,
.round-syllabus p {
  color: var(--muted);
  line-height: 1.74;
  font-size: 0.92rem;
}

.format-panel article {
  border-left: 3px solid transparent;
  transition:
    border-color 300ms ease,
    border-left-color 300ms ease,
    box-shadow 300ms ease,
    background-color 300ms ease;
}
.format-panel article:hover {
  border-color: rgba(38,183,255,0.38);
  border-left-color: var(--cyan);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.025) 100%),
    rgba(2,8,20,0.72);
}
.format-panel article:hover .chip {
  color: #03121c;
  border-color: rgba(0,229,255,0.95);
  background: rgba(0,229,255,0.92);
  box-shadow: 0 0 24px rgba(0,229,255,0.4);
}
.chip {
  transition:
    color 260ms ease,
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
}

/* ================================================================
   SYLLABUS GRID
   ================================================================ */
.syllabus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.syllabus-card { min-height: 248px; padding: 26px; }
.syllabus-card h3 { margin: 14px 0 10px; }

/* Domain icons */
.domain-icon {
  position: relative;
  display: grid;
  width: 52px; height: 52px;
  place-items: center;
  border: 1px solid rgba(38,183,255,0.36);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(8,120,255,0.20), rgba(0,229,255,0.05));
  box-shadow: inset 0 0 18px rgba(38,183,255,0.1), 0 10px 26px rgba(8,120,255,0.16);
}
.domain-icon::before, .domain-icon::after { position: absolute; content: ""; }

.icon-astronomy::before  { width:28px;height:16px;border:2px solid var(--blue-light);border-top:0;border-radius:0 0 28px 28px;transform:rotate(-18deg); }
.icon-astronomy::after   { width:6px;height:6px;border-radius:50%;background:var(--silver);transform:translate(12px,-10px); }
.icon-astrophysics::before { width:26px;height:26px;border-radius:50%;background:radial-gradient(circle,var(--white) 0 14%,var(--blue-light) 15% 26%,transparent 28%);box-shadow:0 0 18px rgba(38,183,255,0.5); }
.icon-astrophysics::after  { width:38px;height:1px;background:var(--silver);transform:rotate(-28deg); }
.icon-planetology::before { width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,var(--blue),var(--silver)); }
.icon-planetology::after  { width:44px;height:13px;border:2px solid rgba(255,255,255,0.7);border-top-color:transparent;border-radius:50%;transform:rotate(-20deg); }
.icon-cosmology::before { width:32px;height:32px;border:2px solid var(--blue-light);border-radius:50%;box-shadow:inset 0 0 0 6px rgba(8,120,255,0.14); }
.icon-cosmology::after  { width:6px;height:6px;border-radius:50%;background:var(--white);box-shadow:-12px 7px 0 rgba(38,183,255,0.85), 11px -8px 0 rgba(180,210,230,0.9); }
.icon-observation::before { width:32px;height:20px;border:2px solid var(--silver);border-radius:50% 50% 42% 42%; }
.icon-observation::after  { width:10px;height:10px;border:2px solid var(--blue-light);border-radius:50%;background:rgba(38,183,255,0.15); }
.icon-orbital::before { width:34px;height:17px;border:2px solid var(--blue-light);border-radius:50%;transform:rotate(-24deg); }
.icon-orbital::after  { width:7px;height:7px;border-radius:50%;background:var(--silver);transform:translate(12px,-7px); }

/* Round syllabus */
.round-syllabus { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 16px; margin-top: 18px; }
.round-syllabus article { padding: clamp(22px,3.5vw,34px); }
.round-syllabus ul { display: grid; gap: 8px; margin: 14px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.72; font-size: 0.92rem; list-style: disc; }

/* ================================================================
   SAMPLE PAPER CARDS  (PDF covers)
   ================================================================ */
.section-sub {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.paper-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}

.paper-card {
  display: grid;
  grid-template-columns: 210px minmax(0,1fr);
  gap: clamp(20px,2.8vw,32px);
  align-items: center;
  padding: clamp(20px,3vw,28px);
  border: 1px solid rgba(38,183,255,0.12);
  border-radius: var(--r);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.018) 100%),
    rgba(2,8,20,0.70);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
.paper-card:hover {
  border-color: rgba(38,183,255,0.38);
  box-shadow: 0 32px 100px rgba(8,120,255,0.24), var(--shadow-glow);
}

.paper-info h3 { margin: 4px 0 12px; }
.paper-info p { color: var(--muted); line-height: 1.74; font-size: 0.92rem; }
.paper-info .button { margin-top: 20px; }

.paper-topics {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}
.paper-topics li {
  position: relative;
  padding-left: 20px;
}
.paper-topics li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 9px; height: 9px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: rgba(0,229,255,0.12);
}

/* --- PDF cover mockup (mirrors the LaTeX cover) --- */
.paper-cover {
  position: relative;
  display: block;
  width: 100%;
  max-width: 210px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 15% 8%, rgba(38,183,255,0.16), transparent 55%),
    linear-gradient(160deg, #16344f 0%, #102A43 52%, #0a1a2b 100%);
  border: 1px solid rgba(174,183,194,0.28);
  box-shadow:
    0 20px 50px rgba(8,120,255,0.30),
    inset 0 0 60px rgba(8,120,255,0.08);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}
.paper-cover:hover {
  transform: translateY(-5px);
  border-color: rgba(0,229,255,0.55);
  box-shadow: 0 26px 60px rgba(8,120,255,0.42), inset 0 0 70px rgba(8,120,255,0.10);
}

.cover-frame {
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(174,183,194,0.55);
  border-radius: 7px;
  pointer-events: none;
}
.cover-frame::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(174,183,194,0.22);
  border-radius: 5px;
}

.cover-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 42px 16px 16px;
  text-align: center;
  background: linear-gradient(200deg, rgba(255,255,255,0.06) 0%, transparent 38%);
}

.cover-logo {
  width: 40%;
  max-width: 72px;
  margin: 0 auto;
  filter: drop-shadow(0 0 14px rgba(38,183,255,0.35));
}

.cover-org {
  color: rgba(174,183,194,0.9);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.6;
}

.cover-title {
  color: #fff;
  font-family: var(--font-h);
  font-size: clamp(1.2rem, 4.6vw, 1.5rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(0,229,255,0.35);
}

.cover-sub {
  color: rgba(216,221,227,0.88);
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.cover-tag {
  margin-top: 5px;
  padding: 5px 10px;
  border: 1px solid rgba(0,229,255,0.38);
  border-radius: 999px;
  background: rgba(0,229,255,0.09);
  color: var(--cyan);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ================================================================
   PORTAL GRID
   ================================================================ */
.portal-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.portal-card { min-height: 230px; }
.portal-card > .portal-num {
  position: relative;
  display: inline-block;
  color: var(--blue-light);
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: color 280ms ease, transform 320ms cubic-bezier(0.16,1,0.3,1);
}
.portal-card:hover > .portal-num { color: var(--cyan); }
.portal-card h3 { position: relative; margin-top: 42px; margin-bottom: 16px; }
.portal-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-light), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 380ms cubic-bezier(0.16,1,0.3,1);
}
.portal-card:hover h3::after { transform: scaleX(1); }

/* ================================================================
   ORGANIZER
   ================================================================ */
.organizer {
  display: grid;
  grid-template-columns: 170px minmax(0,1fr);
  gap: clamp(22px,5vw,54px);
  align-items: center;
  padding: clamp(24px,4.5vw,44px);
}
.organizer img { width: 160px; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 0 24px rgba(38,183,255,0.24)); }
.organizer > div > p { color: #b0ccdf; font-size: 0.95rem; line-height: 1.76; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  color: var(--blue-light);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 200ms ease, gap 200ms ease;
}
.text-link:hover { color: var(--cyan); gap: 8px; }

/* ================================================================
   SUBHERO (inner pages)
   ================================================================ */
.subhero {
  display: grid;
  grid-template-columns: minmax(0,1fr) 240px;
  gap: clamp(28px,5.5vw,72px);
  align-items: center;
  min-height: 52vh;
}
.subhero > div > p { max-width: 720px; margin-top: 20px; color: #b0ccdf; font-size: 0.95rem; line-height: 1.78; }
.subhero-logo { width: 220px; justify-self: end; filter: drop-shadow(0 24px 66px rgba(8,120,255,0.3)); animation: floatMark 7s ease-in-out infinite; }

/* ================================================================
   PARTNER GRID
   ================================================================ */
.partner-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.partner-card { display: grid; align-content: start; min-height: 310px; padding: 20px; }
.partner-card img {
  width: 100%; height: 110px;
  object-fit: contain;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid rgba(174,216,255,0.12);
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
}
.partner-card:first-child img { background: transparent; }
.partner-card img.dark-bg { background: rgba(0,0,0,0.85); }
.partner-card h2, .info-card h2, .timeline-track h2 { font-size: clamp(1.05rem,1.7vw,1.45rem); }

/* ================================================================
   AMBASSADOR + CALLOUT
   ================================================================ */
.ambassador-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.callout { max-width: 920px; }
.ambassador-callout {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(28px,4vw,48px) clamp(24px,3vw,40px);
  border: 1px solid rgba(38,183,255,0.12);
  border-radius: var(--r);
  background: linear-gradient(135deg, rgba(8,120,255,0.06) 0%, rgba(0,229,255,0.03) 100%);
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
.ambassador-callout:hover {
  border-color: rgba(0,229,255,0.35);
  box-shadow: 0 30px 90px rgba(8,120,255,0.22), var(--shadow-glow);
}
.ambassador-callout p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* ================================================================
   STRUCTURE RULEBOOK  (PDF doc card)
   ================================================================ */
.structure-wrap {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 1.5px;
  border-radius: calc(var(--r) + 2px);
  background: linear-gradient(115deg,
    rgba(255,255,255,0.22) 0%,
    rgba(255,255,255,0.07) 26%,
    rgba(222,198,158,0.28) 60%,
    rgba(255,255,255,0.05) 100%);
  perspective: 1400px;
}
.structure-doc {
  position: relative;
  display: grid;
  grid-template-columns: 200px minmax(0,1fr);
  gap: clamp(22px,3vw,42px);
  align-items: center;
  padding: clamp(26px,4vw,42px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r);
  background:
    linear-gradient(135deg, rgba(8,120,255,0.10), rgba(0,229,255,0.03)),
    rgba(2,8,20,0.92);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(22px);
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform 180ms ease-out,
    border-color 300ms ease,
    box-shadow 300ms ease;
}
.structure-doc:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 34px 90px rgba(8,120,255,0.22), var(--shadow-glow);
}
.structure-doc::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(38,183,255,0.6), transparent);
}
.structure-doc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 12%) var(--my, 45%), rgba(38,183,255,0.16), transparent 44%);
  pointer-events: none;
}

.doc-ribbon {
  position: absolute;
  top: 22px;
  right: -38px;
  z-index: 2;
  transform: rotate(45deg);
  padding: 7px 48px;
  background: linear-gradient(90deg, rgba(38,183,255,0.9), rgba(0,229,255,0.8));
  color: #02101f;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  box-shadow: 0 8px 22px rgba(8,120,255,0.4);
}
.doc-card-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
}
.doc-icon {
  position: relative;
  width: 92px;
  height: 122px;
  border: 2px solid rgba(38,183,255,0.55);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(8,120,255,0.22) 0%, rgba(0,229,255,0.05) 100%);
  box-shadow: inset 0 0 24px rgba(38,183,255,0.14), 0 20px 46px rgba(8,120,255,0.3);
  animation: floatDoc 5s ease-in-out infinite;
}
.doc-icon::before, .doc-icon::after { position: absolute; content: ""; }
.doc-icon::before {
  top: -2px; right: -2px;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 26px 26px 0;
  border-color: transparent rgba(2,8,20,0.85) transparent transparent;
}
.doc-icon::after {
  left: 16px; right: 16px; top: 46px;
  height: 2px;
  background: var(--silver);
  box-shadow:
    0 10px 0 rgba(38,183,255,0.7),
    0 20px 0 rgba(38,183,255,0.45),
    0 30px 0 rgba(38,183,255,0.3);
}
@keyframes floatDoc {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.doc-card-body h3 { margin: 6px 0 12px; }
.doc-card-body p {
  color: var(--muted);
  line-height: 1.74;
  font-size: 0.95rem;
  max-width: 54ch;
}
.doc-card-body .button { margin-top: 20px; }

@media (max-width: 620px) {
  .structure-doc { grid-template-columns: 1fr; text-align: center; }
  .doc-card-art { min-height: 150px; }
  .doc-card-body p { margin: 0 auto; }
}

/* ================================================================
   TIMELINE
   ================================================================ */
.timeline-track { position: relative; display: grid; gap: 14px; }
.timeline-track::before {
  content: "";
  position: absolute;
  top: 28px; bottom: 28px; left: 22px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--blue-light), var(--cyan), var(--silver));
  border-radius: 2px;
}
.timeline-track li {
  position: relative;
  padding: 26px 26px 26px 78px;
  transition: transform 280ms ease;
}
.timeline-track li:hover { transform: translateX(6px); }
.timeline-track li::before {
  content: "";
  position: absolute;
  top: 27px; left: 9px;
  width: 28px; height: 28px;
  border: 2px solid var(--blue-light);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 5px rgba(8,120,255,0.14), 0 0 22px rgba(38,183,255,0.5);
}
.timeline-track time {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* ================================================================
   ROUND GRID
   ================================================================ */
.round-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
.round-card {
  display: grid;
  min-height: 88px;
  place-items: center;
  padding: 14px;
  color: var(--white);
  font-family: var(--font-h);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.07em;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(150px,0.6fr) minmax(200px,0.9fr);
  align-items: start;
  gap: 32px;
  padding: 42px clamp(18px,4vw,68px);
  border-top: 1px solid var(--line);
  background: rgba(0,1,6,0.88);
}
.site-footer img { width: 84px; margin-bottom: 13px; }
.site-footer > div > p { max-width: 580px; color: var(--muted); line-height: 1.64; font-size: 0.88rem; }
.site-footer nav { display: grid; gap: 9px; color: #b8d0ea; font-weight: 600; font-size: 0.88rem; }
.site-footer a { transition: color 180ms ease, transform 180ms ease; }
.site-footer a:hover { color: var(--cyan); transform: translateX(4px); }
.footer-contacts { display: grid; gap: 9px; align-content: start; }
.footer-contacts .feet-logo {
  color: #b8d0ea;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: none;
  margin: 0;
}
.footer-contacts .footer-link,
.footer-contacts .footer-email,
.site-footer .footer-email {
  color: #b8d0ea;
  font-weight: 600;
  font-size: 0.88rem;
  width: max-content;
}
.site-footer > div:first-child {
  display: grid;
  gap: 9px;
  justify-items: start;
  align-content: start;
}
.site-footer > div:first-child > img { margin-bottom: 0; }
.site-footer > div:first-child > .footer-social { margin-top: 12px; }
.site-footer > div:first-child > .copyright { margin-top: 0; }
.footer-contacts .footer-bottom {
  display: grid;
  gap: 8px;
  justify-items: start;
  margin-top: 18px;
}
.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 6px;
}
.footer-social .foot-label {
  color: var(--muted); font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; margin-right: 2px;
}
.social-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid rgba(38,183,255,0.45);
  background: rgba(38,183,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover {
  background: rgba(38,183,255,0.2);
  color: var(--cyan);
  transform: translateY(-2px);
}
.copyright { margin: 14px 0 0; font-size: 0.84rem; color: var(--muted); }

/* ================================================================
   REVEAL ANIMATIONS  (no blur — clean professional transitions)

   SAFETY: content stays VISIBLE without JS.
   Only after JS adds 'body.js-ready' do elements animate.
   ================================================================ */

/* Default state — visible, no animation */
.reveal, .reveal-left, .reveal-right,
.reveal-scale, .reveal-clip { opacity: 1; }

/* JS activates animations */
body.js-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity   720ms cubic-bezier(0.16,1,0.3,1),
    transform 720ms cubic-bezier(0.16,1,0.3,1);
}
body.js-ready .reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity   760ms cubic-bezier(0.16,1,0.3,1),
    transform 760ms cubic-bezier(0.16,1,0.3,1);
}
body.js-ready .reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition:
    opacity   760ms cubic-bezier(0.16,1,0.3,1),
    transform 760ms cubic-bezier(0.16,1,0.3,1);
}
body.js-ready .reveal-scale {
  opacity: 0;
  transform: scale(0.90);
  transition:
    opacity   680ms cubic-bezier(0.16,1,0.3,1),
    transform 680ms cubic-bezier(0.34,1.56,0.64,1);
}
body.js-ready .reveal-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 820ms cubic-bezier(0.16,1,0.3,1);
}

/* Visible state */
body.js-ready .reveal.visible       { opacity: 1; transform: none; }
body.js-ready .reveal-left.visible  { opacity: 1; transform: none; }
body.js-ready .reveal-right.visible { opacity: 1; transform: none; }
body.js-ready .reveal-scale.visible { opacity: 1; transform: none; }
body.js-ready .reveal-clip.visible  { clip-path: inset(0 0 0% 0); }

/* ================================================================
   TILE MOTION  (scroll reveals for block content)
   - .tile       rise + tilt + scale  — energetic cascade
   - .tile-scale rise + scale          — gallery / wide cards
   - .tile-lift  quiet rise            — lists, forms, text blocks
   ================================================================ */
body.js-ready .tile,
body.js-ready .tile-scale,
body.js-ready .tile-lift {
  opacity: 0;
  transition-delay: var(--tile-delay, 0ms);
}

body.js-ready .tile {
  transform: translateY(48px) rotate(1.6deg) scale(0.98);
  transition:
    opacity   760ms cubic-bezier(0.16,1,0.3,1),
    transform 760ms cubic-bezier(0.16,1,0.3,1),
    border-color 260ms ease,
    border-left-color 260ms ease,
    box-shadow 260ms ease;
}
body.js-ready .tile-scale {
  transform: translateY(34px) scale(0.96);
  transition:
    opacity   720ms cubic-bezier(0.16,1,0.3,1),
    transform 720ms cubic-bezier(0.16,1,0.3,1),
    border-color 260ms ease,
    box-shadow 260ms ease;
}
body.js-ready .tile-lift {
  transform: translateY(28px);
  transition:
    opacity   740ms cubic-bezier(0.16,1,0.3,1),
    transform 740ms cubic-bezier(0.16,1,0.3,1);
}

body.js-ready .tile.visible,
body.js-ready .tile-scale.visible,
body.js-ready .tile-lift.visible {
  opacity: 1;
  transform: none;
}
body.js-ready .tile.visible:hover,
body.js-ready .tile-scale.visible:hover {
  transition-delay: 0ms;
  transition-duration: 260ms;
}

/* Generic cascade stagger (up to 8 direct children) */
.tile:nth-child(1),
.tile-scale:nth-child(1),
.tile-lift:nth-child(1) { --tile-delay: 0ms; }
.tile:nth-child(2),
.tile-scale:nth-child(2),
.tile-lift:nth-child(2) { --tile-delay: 90ms; }
.tile:nth-child(3),
.tile-scale:nth-child(3),
.tile-lift:nth-child(3) { --tile-delay: 180ms; }
.tile:nth-child(4),
.tile-scale:nth-child(4),
.tile-lift:nth-child(4) { --tile-delay: 270ms; }
.tile:nth-child(5),
.tile-scale:nth-child(5),
.tile-lift:nth-child(5) { --tile-delay: 360ms; }
.tile:nth-child(6),
.tile-scale:nth-child(6),
.tile-lift:nth-child(6) { --tile-delay: 450ms; }
.tile:nth-child(7),
.tile-scale:nth-child(7),
.tile-lift:nth-child(7) { --tile-delay: 540ms; }
.tile:nth-child(8),
.tile-scale:nth-child(8),
.tile-lift:nth-child(8) { --tile-delay: 630ms; }

/* Stagger delays */
.delay-1 { transition-delay: 70ms  !important; }
.delay-2 { transition-delay: 140ms !important; }
.delay-3 { transition-delay: 210ms !important; }
.delay-4 { transition-delay: 280ms !important; }
.delay-5 { transition-delay: 350ms !important; }
.delay-6 { transition-delay: 420ms !important; }
.delay-7 { transition-delay: 490ms !important; }

/* ================================================================
   SHOOTING STAR
   ================================================================ */
.shooting-star {
  position: fixed;
  z-index: -1;
  width: 1.5px;
  height: 90px;
  pointer-events: none;
  border-radius: 2px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,255,255,0.95) 50%,
    rgba(38,183,255,0.5) 100%);
  animation: shootStar 1s ease-out forwards;
  transform-origin: top center;
}
@keyframes shootStar {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(260px) scaleY(0.3); }
}

/* ================================================================
   KEYFRAMES
   ================================================================ */
@keyframes floatMark {
  0%,100% { transform: translateY(0)    rotate(0deg); }
  33%     { transform: translateY(-11px) rotate(0.7deg); }
  66%     { transform: translateY(-5px)  rotate(-0.4deg); }
}
@keyframes orbitSpin    { from { transform: rotate(-18deg); } to { transform: rotate(342deg); } }
@keyframes orbitSpinRev { from { transform: rotate(28deg);  } to { transform: rotate(-332deg); } }

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ================================================================
   RESPONSIVE — 980px
   ================================================================ */
@media (max-width: 980px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .brand-lockup { grid-column: 1; }
  .header-ctas { display: none; }
  .nav-toggle { grid-column: 3; justify-self: end; display: block; }

  .site-nav {
    position: absolute;
    top: 78px; right: 18px; left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(0,2,10,0.97);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
  }
  .site-nav.open  { display: flex; }
  .site-nav a     { padding: 13px 14px; }
  .mobile-ctas {
    display: grid;
    gap: 10px;
    margin-top: 8px;
    padding: 14px;
    border-top: 1px solid var(--line);
  }
  .mobile-ctas .nav-cta { padding: 12px 20px; }
  .mobile-ctas .nav-cta::after { display: none; }

  .hero, .split-section, .organizer, .subhero { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .subhero-logo { justify-self: start; }

  .stats, .partner-grid, .portal-grid,
  .ambassador-grid, .round-grid, .paper-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .site-footer { grid-template-columns: 1fr; }
}

/* ================================================================
   RESPONSIVE — 620px
   ================================================================ */
@media (max-width: 620px) {
  .site-header { grid-template-columns: auto 1fr auto; min-height: 70px; }
  .brand-lockup { grid-column: 1; gap: 8px; }
  .club-logo { width: 30px; height: 30px; }
  .gaac-logo { width: 46px; height: 38px; }
  .site-nav  { top: 70px; }
  .header-ctas { display: none; }
  .hero-login { display: inline-flex; }
  .nav-toggle { grid-column: 3; justify-self: end; width: 40px; height: 40px; }

  .page-shell { width: min(100% - 26px, 1180px); padding-top: 50px; padding-bottom: 50px; }
  h1 { font-size: clamp(1.8rem,9vw,2.8rem); }
  .home-title { font-size: clamp(1.7rem,8.5vw,2.6rem); }
  h2 { font-size: clamp(1.25rem,6vw,1.9rem); }

  .hero-actions, .button { width: 100%; }

  .stats, .partner-grid, .portal-grid, .ambassador-grid,
  .round-grid, .syllabus-grid, .round-syllabus, .paper-grid { grid-template-columns: 1fr; }

  .paper-card { grid-template-columns: 1fr; text-align: center; }
  .paper-card .button { justify-content: center; }
  .paper-cover { max-width: 190px; }
  .paper-topics { text-align: left; }

  .hero-mark { min-height: 280px; }
  .timeline-track::before { display: none; }
  .timeline-track li { padding: 22px; }
  .timeline-track li::before { position: static; display: block; margin-bottom: 14px; }
}

/* ================================================================
   CURSOR FX — mouse interplay for the block sections.
   Pointer-only (guarded in JS), vanilla, subtle by design.
   - tilt + glare ........... portal & syllabus cards
   - content micro-parallax . portal numbers & domain icons
   - light beam ............. format cards (follows --mx)
   - logo parallax .......... partner cards
   ================================================================ */
.tilt-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,0.10), transparent 62%);
  opacity: 0;
  transition: opacity 320ms ease;
}
.portal-card:hover > .tilt-glare,
.syllabus-card:hover > .tilt-glare { opacity: 1; }

/* Content micro-parallax — pulls softly against the cursor */
.portal-card > .portal-num {
  transform: translate(var(--pxa, 0px), var(--pya, 0px));
  transition: color 280ms ease, transform 320ms cubic-bezier(0.16,1,0.3,1);
}
.syllabus-card .domain-icon {
  transform: translate(var(--pxa, 0px), var(--pya, 0px));
  transition: transform 320ms cubic-bezier(0.16,1,0.3,1);
}
.syllabus-card:hover .domain-icon {
  border-color: rgba(0,229,255,0.6);
  box-shadow: inset 0 0 22px rgba(0,229,255,0.16), 0 12px 30px rgba(8,120,255,0.28);
}

/* Format cards — a light beam that trails the cursor horizontally */
.format-panel article::before {
  left: var(--mx, 50%);
  right: auto;
  width: 160px;
  transform: translateX(-50%);
  transition: left 260ms cubic-bezier(0.16,1,0.3,1);
}

/* Partner cards — logo parallax + warm glow */
.partner-card img {
  transition:
    transform 360ms cubic-bezier(0.16,1,0.3,1),
    box-shadow 360ms ease,
    filter 360ms ease;
}
.partner-card:hover img {
  transform: translate(var(--px, 0px), var(--py, 0px)) scale(1.06);
  box-shadow: 0 16px 40px rgba(8,120,255,0.25);
  filter: drop-shadow(0 0 14px rgba(38,183,255,0.35));
}
