:root {
  --background: #03040a;
  --foreground: #f4f7ff;
  --card: #0a0d18;
  --card-foreground: #f4f7ff;
  --popover: #090c16;
  --popover-foreground: #f4f7ff;
  --primary: #4d73ff;
  --primary-foreground: #ffffff;
  --secondary: #16152b;
  --secondary-foreground: #eceaff;
  --muted: #0d1120;
  --muted-foreground: #98a0b7;
  --accent: #7a49ff;
  --accent-foreground: #ffffff;
  --destructive: #ff405d;
  --border: #273052;
  --input: #1a213b;
  --ring: #6482ff;
  --chart-1: #5d79ff;
  --chart-2: #8d51ff;
  --chart-3: #39c6ff;
  --chart-4: #b996ff;
  --chart-5: #f26cff;
  --radius: 0.25rem;
  --sidebar: #070913;
  --sidebar-foreground: #f4f7ff;
  --sidebar-primary: #5d79ff;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #151a30;
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: #273052;
  --sidebar-ring: #6482ff;
  --ink: #03040a;
  --blue: #4c76ff;
  --violet: #8b49ff;
  --ice: #a7c8ff;
  --line: rgba(133, 159, 255, 0.2);
  --hero-x: 0px;
  --hero-y: 0px;
  --logo-x: 0px;
  --logo-y: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Trebuchet MS", Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: rgba(96, 112, 255, 0.48); color: white; }

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 84px;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  padding: 0 4vw;
  border-bottom: 1px solid rgba(139, 166, 255, 0.16);
  background: linear-gradient(180deg, rgba(2, 3, 9, 0.94), rgba(3, 5, 13, 0.7));
  backdrop-filter: blur(18px);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 8vw -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90, 125, 255, 0.8), transparent);
}
.brand-mark { width: 178px; height: 58px; display: flex; align-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; justify-content: center; gap: clamp(24px, 3vw, 52px); }
.main-nav a {
  position: relative;
  color: #c5ccdf;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 180ms ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: -13px;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
  transition: left 180ms ease, right 180ms ease;
}
.main-nav a:hover { color: white; }
.main-nav a:hover::after { left: 0; right: 0; }
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(133, 165, 255, 0.48);
  background: rgba(55, 79, 163, 0.14);
  color: #e9efff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.menu-button { display: none; }

.hero {
  position: relative;
  height: max(760px, 100svh);
  display: grid;
  place-items: center;
  perspective: 1100px;
  overflow: hidden;
  isolation: isolate;
}
.hero-scene {
  position: absolute;
  z-index: -4;
  inset: -3%;
  background: url("../images/impact-rift-hero.png") center 58% / cover no-repeat;
  transform: translate3d(var(--hero-x), var(--hero-y), -40px) scale(1.1);
  transition: transform 140ms ease-out;
}
.hero-vignette {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(circle at 50% 57%, transparent 0 18%, rgba(3, 4, 11, 0.16) 43%, rgba(1, 2, 6, 0.78) 96%),
    linear-gradient(180deg, rgba(2, 3, 10, 0.62) 0%, transparent 35%, rgba(2, 3, 9, 0.16) 62%, #03040a 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(transparent, var(--ink));
}
.energy-ring {
  position: absolute;
  z-index: -1;
  width: min(55vw, 730px);
  aspect-ratio: 1;
  border: 1px solid rgba(108, 126, 255, 0.22);
  border-radius: 50%;
  background: conic-gradient(from 90deg, transparent, rgba(88, 79, 255, 0.2), transparent 28%, rgba(80, 154, 255, 0.16), transparent 65%);
  box-shadow: inset 0 0 70px rgba(83, 86, 255, 0.12), 0 0 90px rgba(73, 86, 255, 0.08);
  animation: ring-spin 22s linear infinite;
}
.energy-ring::before,
.energy-ring::after { content: ""; position: absolute; inset: 9%; border: 1px dashed rgba(150, 175, 255, 0.22); border-radius: 50%; }
.energy-ring::after { inset: 22%; border-style: solid; border-color: rgba(164, 117, 255, 0.18); }
.particle { position: absolute; z-index: -1; width: 4px; height: 70px; background: linear-gradient(var(--ice), transparent); opacity: 0.45; filter: drop-shadow(0 0 8px var(--blue)); animation: drift 7s ease-in-out infinite; }
.particle-one { left: 12%; top: 28%; transform: rotate(18deg); }
.particle-two { right: 14%; top: 36%; transform: rotate(-26deg); animation-delay: -3s; }
.particle-three { left: 27%; bottom: 18%; transform: rotate(42deg); animation-delay: -5s; }
.hero-content {
  width: min(94vw, 880px);
  padding: 100px 24px 80px;
  text-align: center;
  transform: translate3d(var(--logo-x), var(--logo-y), 54px);
  transition: transform 140ms ease-out;
}
.hero-kicker, .eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  color: #aab9e8;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.hero-kicker span, .eyebrow span { width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue)); }
.hero-kicker span:last-child, .eyebrow span:last-child { background: linear-gradient(90deg, var(--blue), transparent); }
.hero-logo {
  display: block;
  width: min(760px, 92vw);
  max-height: 360px;
  margin: -18px auto -22px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.72)) drop-shadow(0 0 38px rgba(61, 89, 255, .38));
  animation: logo-breathe 5s ease-in-out infinite;
}
.hero-copy { max-width: 630px; margin: 0 auto; color: #c6cee1; font-size: 1.05rem; line-height: 1.8; text-shadow: 0 2px 16px #000; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.action-button {
  min-width: 214px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 24px;
  border: 1px solid rgba(131, 159, 255, 0.42);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 180ms ease, filter 180ms ease, background 180ms ease;
}
.action-button:hover { transform: translateY(-3px); filter: brightness(1.14); }
.action-primary { background: linear-gradient(135deg, #274eda, #7845e7); color: white; box-shadow: 0 12px 40px rgba(66, 75, 255, 0.3), inset 0 1px rgba(255,255,255,.2); }
.action-ghost { background: rgba(5, 8, 19, 0.65); color: #dbe4ff; backdrop-filter: blur(10px); }
.scroll-cue { position: absolute; z-index: 2; bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #8792ad; font-size: .66rem; font-weight: 800; letter-spacing: .2em; }
.scroll-cue svg { animation: bounce 1.8s ease-in-out infinite; }

.section { position: relative; padding: 120px 6vw; background: var(--ink); overflow: hidden; }
.section-heading { max-width: 720px; margin: 0 auto 62px; text-align: center; }
.section-heading .eyebrow { color: #8498d4; }
.section-heading h2, .join-content h2 {
  margin: 18px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: .95;
  text-transform: uppercase;
  text-shadow: 0 0 34px rgba(86, 106, 255, .16);
}
.section-heading > p:last-child { margin: 0 auto; max-width: 600px; color: #929bb0; font-size: 1rem; line-height: 1.8; }
.section-grid-bg { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(82,104,177,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(82,104,177,.22) 1px, transparent 1px); background-size: 90px 90px; mask-image: linear-gradient(transparent, black 18%, black 75%, transparent); }
.news-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1220px; margin: 0 auto; perspective: 1300px; }
.tilt-card { --tilt-x: 0deg; --tilt-y: 0deg; transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; transition: transform 130ms ease-out, border-color 220ms ease, background 220ms ease; }
.news-card {
  position: relative;
  min-height: 350px;
  padding: 38px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(16,20,37,.91), rgba(6,8,17,.94));
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  box-shadow: 0 30px 90px rgba(0,0,0,.25);
}
.news-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--blue), transparent); opacity: .65; }
.news-card.featured { background: radial-gradient(circle at 80% 0%, rgba(103,60,218,.25), transparent 36%), linear-gradient(145deg, rgba(16,20,40,.96), rgba(7,9,19,.98)); border-color: rgba(116,114,255,.38); transform: translateY(-20px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
.card-index { position: absolute; right: 26px; top: 20px; color: rgba(166,184,233,.13); font-family: Georgia, serif; font-size: 4.5rem; }
.card-label, .system-card > p { color: #748bea; font-size: .72rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.news-card h3, .system-card h3 { position: relative; margin: 78px 0 18px; font-family: Georgia, serif; font-size: 1.75rem; font-weight: 500; line-height: 1.12; text-transform: uppercase; }
.news-card > p:not(.card-label) { color: #949db2; line-height: 1.75; }
.news-card a { position: absolute; bottom: 34px; display: inline-flex; gap: 8px; align-items: center; color: #cbd6ff; font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.news-card a:hover { color: white; }

.class-section { background: radial-gradient(ellipse at center, #10112c 0%, #060711 52%, #03040a 100%); }
.class-stage { position: relative; display: grid; grid-template-columns: minmax(360px, 1.05fr) minmax(330px, .95fr); gap: clamp(40px, 7vw, 110px); align-items: center; max-width: 1160px; min-height: 560px; margin: 0 auto; padding: 40px 70px 90px; border: 1px solid rgba(119,140,234,.18); background: linear-gradient(135deg, rgba(15,18,40,.65), rgba(4,6,14,.8)); box-shadow: 0 45px 130px rgba(0,0,0,.38); clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); }
.class-stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 25%, rgba(88,112,255,.07) 50%, transparent 72%); transform: translateX(-100%); animation: scan 8s ease-in-out infinite; }
.class-orbit { position: relative; aspect-ratio: 1; display: grid; place-items: center; perspective: 600px; }
.orbit { position: absolute; inset: 7%; border: 1px solid rgba(92,122,255,.26); border-radius: 50%; box-shadow: inset 0 0 70px rgba(57,64,222,.1); animation: ring-spin 16s linear infinite; }
.orbit::before, .orbit::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 20px var(--blue); top: 13%; left: 18%; }
.orbit::after { top: auto; left: auto; right: 8%; bottom: 28%; background: #b683ff; }
.orbit-two { inset: 19%; border-style: dashed; animation-direction: reverse; animation-duration: 24s; }
.class-emblem { width: 58%; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(138,145,255,.36); background: radial-gradient(circle, rgba(67,68,201,.22), rgba(6,8,19,.8) 68%); transform: rotateX(62deg) rotateZ(-12deg); box-shadow: 0 0 80px rgba(77,81,246,.24), inset 0 0 55px rgba(77,81,246,.18); }
.class-emblem svg { width: 48%; height: 48%; color: #879eff; transform: rotateZ(12deg); filter: drop-shadow(0 0 16px rgba(84,108,255,.75)); }
.class-emblem strong { position: absolute; color: white; font-family: Georgia, serif; font-size: 2.6rem; transform: rotateZ(12deg); text-shadow: 0 0 18px #5470ff; }
.class-info { position: relative; z-index: 2; animation: class-enter 400ms ease both; }
.class-role { margin: 0; color: #7189e8; font-size: .78rem; font-weight: 900; letter-spacing: .24em; text-transform: uppercase; }
.class-info h3 { margin: 12px 0 20px; font-family: Georgia, serif; font-size: clamp(2.6rem, 5vw, 4.7rem); font-weight: 500; line-height: .95; text-transform: uppercase; }
.class-description { max-width: 490px; color: #a0a8ba; line-height: 1.8; }
.stats { display: grid; gap: 17px; margin-top: 32px; }
.stat > div:first-child { display: flex; justify-content: space-between; color: #919bb1; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.stat b { color: #cbd6ff; }
.stat-track { height: 4px; margin-top: 8px; overflow: hidden; background: #171b2b; }
.stat-track span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--violet)); box-shadow: 0 0 12px var(--blue); animation: stat-grow 700ms ease both; }
.class-controls { position: absolute; right: 70px; bottom: 34px; display: flex; align-items: center; gap: 16px; }
.class-controls button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(123,147,239,.28); background: rgba(11,14,28,.88); color: #cdd6f1; cursor: pointer; }
.class-controls button:hover { border-color: var(--blue); color: white; }
.class-controls span { color: #727c94; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.class-tabs { position: absolute; left: 0; right: 0; bottom: -62px; display: grid; grid-template-columns: repeat(4,1fr); background: #070914; border: 1px solid rgba(120,142,225,.18); }
.class-tabs button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 62px; border: 0; border-right: 1px solid rgba(120,142,225,.14); background: transparent; color: #757f96; cursor: pointer; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.class-tabs button:last-child { border-right: 0; }
.class-tabs button span { color: #4a5a8f; }
.class-tabs button.is-active { color: white; background: linear-gradient(180deg, rgba(75,91,197,.16), transparent); box-shadow: inset 0 2px var(--blue); }

.systems-section { padding-top: 170px; background: linear-gradient(180deg, #03040a, #070915 60%, #03040a); }
.systems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1180px; margin: 0 auto; perspective: 1200px; }
.system-card { position: relative; min-height: 430px; padding: 42px; overflow: hidden; border: 1px solid rgba(119,142,229,.2); background: linear-gradient(155deg, rgba(16,20,39,.92), rgba(5,7,15,.96)); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px)); }
.system-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -80px; bottom: -80px; border: 1px solid rgba(91,114,224,.18); transform: rotate(45deg); }
.system-number { position: absolute; right: 28px; top: 24px; color: rgba(151,170,230,.14); font-family: Georgia, serif; font-size: 4rem; }
.system-icon { width: 90px; height: 90px; display: grid; place-items: center; margin: 26px 0 50px; border: 1px solid rgba(96,127,255,.3); background: radial-gradient(circle, rgba(85,92,255,.2), transparent 72%); transform: rotate(45deg); box-shadow: 0 0 46px rgba(67,85,255,.15); }
.system-icon svg { width: 42px; height: 42px; color: #91a7ff; transform: rotate(-45deg); }
.system-card h3 { margin: 12px 0 18px; }
.system-card > span { color: #929caf; line-height: 1.75; }

.join-section { position: relative; min-height: 680px; display: grid; place-items: center; padding: 110px 6vw; overflow: hidden; background: linear-gradient(rgba(3,4,11,.38), #03040a), url("../images/impact-rift-hero.png") center 64% / cover fixed; }
.join-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 0 12%, rgba(3,4,10,.45) 45%, #03040a 92%); }
.join-glow { position: absolute; width: 430px; height: 430px; border: 1px solid rgba(92,116,255,.2); border-radius: 50%; box-shadow: 0 0 120px rgba(73,77,255,.18), inset 0 0 80px rgba(80,74,255,.12); animation: pulse 4s ease-in-out infinite; }
.join-content { position: relative; z-index: 2; width: min(900px, 100%); text-align: center; }
.join-content > p:not(.eyebrow) { color: #a5aec1; font-size: 1rem; line-height: 1.8; }
.join-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 42px auto 0; max-width: 820px; }
.join-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid rgba(119,144,237,.28); background: rgba(8,10,23,.82); backdrop-filter: blur(16px); text-align: left; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.join-card:hover { transform: translateY(-4px); border-color: rgba(118,142,255,.65); background: rgba(19,23,52,.9); }
.join-card > svg:first-child, .join-card > b { color: #7893ff; font-size: 1.55rem; }
.join-card small { display: block; margin-bottom: 5px; color: #79839a; font-size: .68rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.join-card strong { font-family: Georgia, serif; font-size: 1.1rem; font-weight: 500; text-transform: uppercase; }
.join-card > svg:last-child, .join-card > i { width: 18px; color: #66718c; font-style: normal; }

footer { min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 6vw; border-top: 1px solid rgba(116,137,220,.15); background: #020308; color: #687187; }
footer img { width: 170px; height: 80px; object-fit: contain; filter: grayscale(.15); }
footer p { font-size: .76rem; }
footer div { display: flex; gap: 24px; }
footer a { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
footer a:hover { color: white; }

.menu-button { cursor: pointer; }
.menu-button span { display: block; width: 20px; height: 2px; margin: 2px 0; background: #dfe6ff; transition: transform .2s ease, opacity .2s ease; }
.menu-button.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-button.is-open span:nth-child(2) { opacity: 0; }
.menu-button.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.join-card-wide { grid-column: 1 / -1; max-width: 420px; width: 100%; justify-self: center; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; max-width: min(90vw, 520px); padding: 14px 20px; border: 1px solid rgba(120,145,255,.45); background: rgba(8,11,24,.96); box-shadow: 0 18px 60px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.07); color: #dce4ff; font-size: .86rem; line-height: 1.5; text-align: center; translate: -50% 24px; opacity: 0; pointer-events: none; transition: opacity .22s ease, translate .22s ease; }
.toast.show { opacity: 1; translate: -50% 0; }

.registration-page { min-height: 100svh; background: #03040a url("../images/impact-rift-hero.png") center / cover fixed no-repeat; }
.registration-page::before { content: ""; position: fixed; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(9,11,28,.36), rgba(3,4,10,.92) 72%); }
.compact-header { grid-template-columns: 1fr auto; }
.back-link { color: #aeb9d3; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.back-link:hover { color: white; }
.registration-shell { position: relative; z-index: 2; min-height: 100svh; display: grid; place-items: center; padding: 120px 24px 48px; }
.registration-panel { width: min(1100px, 100%); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); overflow: hidden; border: 1px solid rgba(120,145,236,.26); background: rgba(5,7,16,.93); box-shadow: 0 40px 120px rgba(0,0,0,.58); clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px); }
.registration-art { position: relative; min-height: 690px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px; overflow: hidden; text-align: center; background: linear-gradient(180deg, rgba(3,5,14,.18), rgba(3,4,10,.92)), url("../images/impact-rift-hero.png") center / cover no-repeat; }
.registration-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, transparent 10%, rgba(4,5,14,.72) 82%); }
.registration-art > * { position: relative; z-index: 2; }
.registration-art img { width: min(520px, 112%); margin-bottom: -20px; filter: drop-shadow(0 20px 24px rgba(0,0,0,.72)) drop-shadow(0 0 34px rgba(76,96,255,.34)); }
.registration-art h1 { margin: 0 0 14px; font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.6rem); font-weight: 500; line-height: .94; text-transform: uppercase; }
.registration-art p { max-width: 440px; margin: 0; color: #a9b2c8; line-height: 1.8; }
.registration-ring { position: absolute; z-index: 1; width: 450px; aspect-ratio: 1; border: 1px solid rgba(123,146,255,.24); border-radius: 50%; box-shadow: inset 0 0 80px rgba(89,89,255,.12), 0 0 90px rgba(64,75,255,.12); animation: ring-spin 24s linear infinite; }
.registration-form { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.registration-form .eyebrow { justify-content: flex-start; color: #788ed6; }
.registration-form h2 { margin: 14px 0 10px; font-family: Georgia, serif; font-size: 2.6rem; font-weight: 500; text-transform: uppercase; }
.form-intro { margin: 0 0 28px; color: #8e98ae; line-height: 1.65; }
.registration-form > label:not(.agreement) { margin: 15px 0 8px; color: #c6cee0; font-size: .76rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.registration-form input[type="text"], .registration-form input[type="email"], .registration-form input[type="password"] { width: 100%; height: 51px; padding: 0 15px; border: 1px solid rgba(122,145,229,.23); border-radius: 0; outline: none; background: rgba(11,14,29,.9); color: white; font: inherit; }
.registration-form input:focus { border-color: #627fff; box-shadow: 0 0 0 3px rgba(82,109,255,.13), 0 0 22px rgba(71,86,255,.11); }
.password-field { position: relative; }
.password-field input { padding-right: 65px !important; }
.password-toggle { position: absolute; right: 0; top: 0; height: 51px; width: 62px; border: 0; background: transparent; color: #8293c9; cursor: pointer; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.agreement { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; color: #929bb0; font-size: .82rem; line-height: 1.5; }
.agreement input { margin-top: 3px; accent-color: #657dff; }
.form-error { min-height: 20px; margin: 10px 0 0; color: #ff8da0; font-size: .8rem; }
.submit-button { height: 54px; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 8px; border: 1px solid rgba(151,166,255,.42); background: linear-gradient(135deg, #2a50d6, #7543de); color: white; cursor: pointer; font-size: .8rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); }
.submit-button:hover { filter: brightness(1.13); }
.form-note { margin: 18px 0 0; color: #667188; font-size: .73rem; line-height: 1.5; text-align: center; }

.reveal { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s ease; }
.reveal.is-visible { opacity: 1; translate: 0 0; }
.featured.reveal { translate: 0 4px; }
.featured.reveal.is-visible { translate: 0 -20px; }

@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes logo-breathe { 50% { filter: drop-shadow(0 20px 28px rgba(0,0,0,.75)) drop-shadow(0 0 52px rgba(69,91,255,.56)); } }
@keyframes drift { 50% { translate: 12px -24px; opacity: .8; } }
@keyframes bounce { 50% { transform: translateY(7px); } }
@keyframes scan { 50%, 100% { transform: translateX(100%); } }
@keyframes class-enter { from { opacity: 0; transform: translateX(18px); } }
@keyframes stat-grow { from { width: 0; } }
@keyframes pulse { 50% { transform: scale(1.06); opacity: .7; } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 180px 1fr 170px; padding: 0 24px; }
  .main-nav { gap: 20px; }
  .main-nav a { font-size: .7rem; }
  .news-grid, .systems-grid { grid-template-columns: 1fr; max-width: 680px; }
  .news-card { min-height: 300px; }
  .news-card.featured { transform: none; }
  .featured.reveal, .featured.reveal.is-visible { translate: 0 0; }
  .class-stage { grid-template-columns: 1fr; padding: 40px 40px 110px; }
  .class-orbit { width: min(440px, 90%); margin: 0 auto; }
  .class-info { max-width: 580px; margin: 0 auto; text-align: center; }
  .class-description { margin-inline: auto; }
  .class-controls { left: 50%; right: auto; bottom: 42px; transform: translateX(-50%); }
  .class-tabs { bottom: -72px; }
  .class-tabs button { min-height: 72px; flex-direction: column; gap: 4px; }
  .systems-section { padding-top: 190px; }
  .registration-panel { grid-template-columns: 1fr; max-width: 680px; }
  .registration-art { min-height: 420px; }
  .registration-form { padding: 45px; }
}

@media (max-width: 760px) {
  .site-header { height: 72px; grid-template-columns: 1fr auto; padding: 0 18px; }
  .brand-mark { width: 150px; height: 54px; }
  .header-cta { display: none; }
  .menu-button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(122,145,233,.3); background: rgba(8,11,22,.8); color: white; }
  .main-nav { position: absolute; top: 72px; left: 0; right: 0; display: grid; gap: 0; padding: 8px 18px 20px; background: rgba(3,5,13,.97); border-bottom: 1px solid rgba(125,146,225,.2); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 17px 4px; border-bottom: 1px solid rgba(117,139,222,.1); }
  .main-nav a::after { display: none; }
  .hero { height: max(720px, 100svh); }
  .hero-scene { inset: -2%; background-position: center 58%; transform: scale(1.06); }
  .energy-ring { width: 95vw; }
  .hero-content { padding: 90px 12px 70px; }
  .hero-kicker { font-size: .62rem; letter-spacing: .22em; }
  .hero-logo { width: 104vw; max-width: none; margin: -5px 0 -8px; transform: translateX(-4%); }
  .hero-copy { max-width: 90%; font-size: .95rem; line-height: 1.7; }
  .hero-actions { display: grid; margin-inline: auto; max-width: 290px; }
  .action-button { width: 100%; }
  .scroll-cue span { display: none; }
  .section { padding: 92px 20px; }
  .section-heading { margin-bottom: 44px; }
  .section-heading h2, .join-content h2 { font-size: clamp(2.35rem, 13vw, 3.7rem); }
  .eyebrow { font-size: .62rem; letter-spacing: .23em; }
  .news-card, .system-card { padding: 30px; }
  .class-section { padding-bottom: 150px; }
  .class-stage { min-height: auto; padding: 34px 24px 112px; }
  .class-orbit { width: 100%; }
  .class-info h3 { font-size: 2.6rem; }
  .class-tabs { bottom: -116px; grid-template-columns: repeat(2,1fr); }
  .class-tabs button { min-height: 58px; }
  .systems-section { padding-top: 130px; }
  .join-section { min-height: 760px; background-attachment: scroll; padding: 90px 20px; }
  .join-actions { grid-template-columns: 1fr; }
  .join-card-wide { grid-column: auto; max-width: none; }
  footer { flex-direction: column; text-align: center; }
  .compact-header { grid-template-columns: 1fr auto; }
  .compact-header .back-link { display: block; font-size: .66rem; }
  .registration-shell { padding: 92px 14px 30px; }
  .registration-art { min-height: 330px; padding: 30px 22px; }
  .registration-art img { width: 104%; }
  .registration-art h1 { font-size: 2.45rem; }
  .registration-form { padding: 34px 24px; }
  .registration-form .eyebrow { justify-content: center; }
  .registration-form h2, .form-intro { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
