
:root {
  --bg:            #06090e;
  --bg-2:          #0a0f17;
  --bg-3:          #0e1520;
  --charcoal:      #181a20;

  --ice:           #c9ffff;
  --frost:         #9ffdfe;
  --frost-2:       #7fd8ee;
  --steel:         #a8c0d8;
  --steel-dim:     #7d93ab;

  --rune:          #5bb5ff;
  --rune-deep:     #2a6fd6;

  --discord:       #5865f2;

  --text:          #e6eef6;
  --text-2:        #b4c3d3;
  --text-3:        #8a9bb0;

  --line:          rgba(159, 220, 255, 0.10);
  --line-2:        rgba(159, 220, 255, 0.20);
  --line-3:        rgba(159, 253, 254, 0.42);
  --glow:          rgba(110, 220, 255, 0.35);

  --metal: linear-gradient(180deg, #ffffff 0%, #dffcff 30%, #9fd2e6 58%, #b9e9f5 78%, #9ffdfe 100%);
  --ice-fill: linear-gradient(180deg, #e9fdff 0%, #a9f1fd 38%, #5ccbee 72%, #3aa6dc 100%);

  --font-display: "Grenze", "Georgia", serif;
  --font-accent:  "Grenze Gotisch", "Grenze", serif;
  --font-body:    "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --cut: 12px;
  --chamfer: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 8.5vw, 120px);
  --header-h: 84px;
  --crest-w: 250px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 40px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: rgba(159, 253, 254, 0.28); color: #fff; }
:focus-visible { outline: 2px solid var(--frost); outline-offset: 3px; border-radius: 2px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--frost); color: #041019; font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--frost);
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 7px; height: 7px; flex: none;
  background: var(--frost); transform: rotate(45deg);
  box-shadow: 0 0 10px var(--glow);
}
.eyebrow--line::before { width: 36px; height: 1px; transform: none; background: linear-gradient(90deg, transparent, var(--frost)); box-shadow: none; }
.eyebrow--line::after { display: none; }

.title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 4.6vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--text);
  text-wrap: balance;
}
.title--sm { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }

.accent {
  font-family: var(--font-accent);
  font-weight: 600;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #ffffff 10%, var(--ice) 45%, var(--frost-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(110, 220, 255, 0.35));
  padding-right: 0.06em;
}

.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.75; color: var(--text-2); max-width: 60ch; }

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

.ornament { display: flex; align-items: center; gap: 14px; color: var(--frost); width: min(340px, 80%); }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-3)); }
.ornament::after { transform: scaleX(-1); }
.ornament svg { width: 64px; height: 16px; flex: none; }

.btn {
  --b-border: linear-gradient(180deg, rgba(201, 255, 255, 0.55), rgba(127, 216, 238, 0.18));
  --b-fill: linear-gradient(180deg, rgba(22, 33, 48, 0.9), rgba(10, 16, 25, 0.9));
  --b-shine: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%);
  --b-glow: rgba(0, 0, 0, 0);
  --cut: 10px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px;
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 1; white-space: nowrap;
  color: var(--text);
  filter: drop-shadow(0 10px 24px var(--b-glow));
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease), color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn::before, .btn::after { content: ""; position: absolute; z-index: -1; clip-path: var(--chamfer); }
.btn::before { inset: 0; background: var(--b-border); z-index: -2; }
.btn::after {
  inset: 1px; --cut: 9.6px;
  background: var(--b-shine) no-repeat, var(--b-fill);
  background-size: 260% 100%, 100% 100%;
  background-position: 140% 0, 0 0;
  transition: background-position 0.8s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { background-position: -40% 0, 0 0; }
.btn:active { transform: translateY(0) scale(0.985); }
.btn .icon { width: 20px; height: 20px; transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: scale(1.12); }

.btn--primary {
  --b-border: linear-gradient(180deg, #ffffff, #7fd8ee 60%, #2e86c2);
  --b-fill: var(--ice-fill);
  --b-shine: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.85) 50%, transparent 62%);
  --b-glow: rgba(95, 210, 245, 0.38);
  color: #04131f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--primary:hover { --b-glow: rgba(120, 225, 255, 0.6); }
.btn--ghost:hover { --b-glow: rgba(110, 220, 255, 0.22); --b-border: linear-gradient(180deg, rgba(201, 255, 255, 0.9), rgba(127, 216, 238, 0.35)); }

.btn--discord .icon { color: #a7b0ff; filter: drop-shadow(0 0 8px rgba(88, 101, 242, 0.6)); }
.btn--discord:hover { --b-glow: rgba(88, 101, 242, 0.35); --b-border: linear-gradient(180deg, #b9c0ff, rgba(88, 101, 242, 0.5)); --b-fill: linear-gradient(180deg, rgba(48, 56, 120, 0.92), rgba(18, 22, 52, 0.92)); }
.btn--discord:hover .icon { color: #fff; }

.btn--lg { min-height: 62px; padding: 0 38px; font-size: 1.3rem; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 1rem; gap: 9px; --cut: 8px; }
.btn--sm::after { --cut: 7.6px; }
.btn--block { width: 100%; }

.btn[aria-disabled="true"] {
  --b-border: linear-gradient(180deg, rgba(168, 192, 216, 0.25), rgba(168, 192, 216, 0.08));
  --b-fill: repeating-linear-gradient(135deg, rgba(20, 28, 40, 0.9) 0 10px, rgba(16, 22, 32, 0.9) 10px 20px);
  color: var(--text-3); cursor: not-allowed; transform: none; filter: none;
}

.link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--frost); font-weight: 700; font-size: 0.95rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.35s var(--ease), color 0.2s;
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1px; color: var(--ice); }
.link .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link:hover .icon { transform: translateX(3px); }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.header-bar {
  --gap: calc(var(--crest-w) / 2 + 34px);
  position: relative;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(4, 7, 12, 0.9), rgba(5, 9, 15, 0.62));
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: height 0.45s var(--ease), background 0.45s var(--ease);
}
.header-bar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(159, 253, 254, 0.18) 12%, rgba(159, 253, 254, 0.55) 46%, rgba(159, 253, 254, 0.55) 54%, rgba(159, 253, 254, 0.18) 88%, transparent);
  -webkit-mask: linear-gradient(90deg, #000 calc(50% - var(--gap)), transparent calc(50% - var(--gap)), transparent calc(50% + var(--gap)), #000 calc(50% + var(--gap)));
          mask: linear-gradient(90deg, #000 calc(50% - var(--gap)), transparent calc(50% - var(--gap)), transparent calc(50% + var(--gap)), #000 calc(50% + var(--gap)));
}
.header-bar__gems { position: absolute; left: 50%; bottom: -4px; width: calc(var(--gap) * 2); height: 9px; transform: translateX(-50%); pointer-events: none; }
.header-bar__gems::before, .header-bar__gems::after {
  content: ""; position: absolute; top: 0; width: 9px; height: 9px; transform: rotate(45deg);
  background: var(--frost); box-shadow: 0 0 10px var(--glow);
}
.header-bar__gems::before { left: -4px; }
.header-bar__gems::after { right: -4px; }
.header-progress { position: absolute; left: 0; top: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, transparent, var(--frost), var(--ice)); opacity: 0.7; }

.header-inner {
  height: 100%; width: min(1380px, 100% - 48px); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 26px;
}
.header-side { display: flex; align-items: center; gap: 22px; min-width: 0; justify-content: space-between; }

.crest {
  position: relative; z-index: 2; align-self: start;
  width: var(--crest-w); margin-top: 8px;
  transition: width 0.45s var(--ease), margin 0.45s var(--ease);
}
.crest img { width: 100%; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 16px rgba(110, 220, 255, 0.22)); transition: filter 0.35s; }
.crest::before {
  content: ""; position: absolute; inset: 0 6% -10%;
  background: radial-gradient(closest-side, rgba(110, 220, 255, 0.32), rgba(91, 181, 255, 0.08) 60%, transparent);
  filter: blur(8px); z-index: -1; pointer-events: none;
  animation: aura 6s var(--ease-in-out) infinite;
}
.crest::after {
  content: ""; position: absolute; left: 50%; top: 71%;
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  background: radial-gradient(circle, rgba(190, 240, 255, 0.95) 0%, rgba(91, 181, 255, 0.45) 22%, transparent 62%);
  mix-blend-mode: screen; pointer-events: none;
  animation: gem-pulse 4.5s var(--ease-in-out) infinite;
}
.crest:hover img { filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 26px rgba(110, 220, 255, 0.45)); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; display: block;
  padding: 10px 14px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 6px; height: 6px; margin-left: -3px;
  background: var(--frost); transform: rotate(45deg) scale(0);
  box-shadow: 0 0 10px var(--glow);
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: rotate(45deg) scale(0.6); }
.nav-links a[aria-current="page"] { color: var(--ice); }
.nav-links a[aria-current="page"]::after { transform: rotate(45deg) scale(1); }

.site-header.is-scrolled .header-bar { height: 68px; background: linear-gradient(180deg, rgba(4, 7, 12, 0.94), rgba(6, 10, 16, 0.88)); }
.site-header.is-scrolled { --crest-w: 190px; }
.site-header.is-scrolled .crest { margin-top: 5px; }

.nav-toggle { display: none; width: 46px; height: 46px; position: relative; color: var(--text); }
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.2s, top 0.35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; right: 18px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.menu-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  --cut: 14px;
  position: absolute; top: calc(100% + 34px); left: 12px; right: 12px;
  clip-path: var(--chamfer);
  background: rgba(8, 12, 19, 0.97);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  padding: 14px 18px 18px;
  display: none; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 8px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.04em;
}
.mobile-menu a:not(.btn)[aria-current="page"] { color: var(--ice); }
.mobile-menu a:not(.btn) .icon { color: var(--frost); width: 18px; height: 18px; }
.mobile-menu .soon { font-family: var(--font-body); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel-dim); }
.mobile-menu .btn { margin-top: 12px; }

.hero {
  position: relative;
  min-height: max(740px, 100svh);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 70px) 0 170px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg, .hero__dragon { position: absolute; inset: -3% -2%; will-change: transform; }
.hero__bg {
  z-index: -6;
  background: radial-gradient(18% 30% at 68% 36%, rgba(170, 225, 255, 0.35), transparent 70%), linear-gradient(180deg, #050810 0%, #0c1a2b 60%, #10202f 100%);
}
.hero__dragon { z-index: -5; pointer-events: none; }
.hero__dragon picture { width: 100%; height: 100%; animation: glide 9s var(--ease-in-out) infinite; transform-origin: 63% 30%; }
.hero__bg img, .hero__dragon img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 18%; }

.hero__shade {
  position: absolute; inset: 0; z-index: -4; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 7, 12, 0.92) 0%, rgba(4, 7, 12, 0.7) 30%, rgba(4, 7, 12, 0.16) 58%, rgba(4, 7, 12, 0) 75%),
    linear-gradient(180deg, rgba(6, 9, 14, 0.5) 0%, rgba(6, 9, 14, 0) 22%, rgba(6, 9, 14, 0) 62%, var(--bg) 100%);
}
.hero__fog { position: absolute; inset: auto -20% 4% -20%; height: 46%; z-index: -3; pointer-events: none; }
.hero__fog span {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 20% 60%, rgba(140, 190, 225, 0.16), transparent 70%),
    radial-gradient(35% 45% at 62% 70%, rgba(140, 190, 225, 0.12), transparent 70%),
    radial-gradient(30% 40% at 90% 55%, rgba(140, 190, 225, 0.14), transparent 70%);
  filter: blur(18px);
  will-change: transform;
  animation: fog-drift 38s linear infinite alternate;
}
.hero__fog span:nth-child(2) { animation-duration: 54s; animation-direction: alternate-reverse; opacity: 0.8; top: 18%; }

.particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }

.hero__content { max-width: 700px; display: grid; justify-items: start; }
.hero__eyebrow { margin-bottom: 22px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 6.2vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-wrap: balance;
  margin-bottom: 26px;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55);
}
.hero__title .accent { display: inline-block; }
.hero__text { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--text-2); max-width: 52ch; margin-bottom: 40px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 122px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: var(--text-3);
  transition: color 0.25s;
}
.scroll-cue:hover { color: var(--frost); }
.scroll-cue i { display: block; width: 1px; height: 46px; background: linear-gradient(180deg, var(--frost), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.4s var(--ease-in-out) infinite; }

.begin { position: relative; z-index: 3; margin-top: -100px; }
.begin__panel { --cut: 18px; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); isolation: isolate; }
.begin__panel::before { content: ""; position: absolute; inset: 0; z-index: -2; clip-path: var(--chamfer); background: linear-gradient(180deg, rgba(159, 253, 254, 0.45), rgba(159, 253, 254, 0.08) 60%, rgba(91, 181, 255, 0.25)); }
.begin__panel::after {
  content: ""; position: absolute; inset: 1px; z-index: -1; --cut: 17.6px; clip-path: var(--chamfer);
  background: radial-gradient(120% 140% at 50% -40%, rgba(110, 220, 255, 0.10), transparent 60%), linear-gradient(180deg, rgba(14, 22, 34, 0.94), rgba(8, 12, 19, 0.96));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; padding: 34px clamp(22px, 2.6vw, 38px); }
.step + .step::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(180deg, transparent, var(--line-2), transparent); }
.step__num {
  grid-row: span 3;
  font-family: var(--font-display); font-weight: 700; font-size: 2.8rem; line-height: 0.9;
  background: linear-gradient(180deg, var(--ice), rgba(127, 216, 238, 0.25));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  min-width: 1.4em;
}
.step__title { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.2; }
.step__text { font-size: 0.95rem; line-height: 1.6; color: var(--text-3); }
.step .link { margin-top: 8px; justify-self: start; }

.intro { overflow: hidden; }
.intro::before { content: ""; position: absolute; right: -10%; top: 10%; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(70, 150, 210, 0.13), transparent); pointer-events: none; }
.intro__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.intro__copy { display: grid; gap: 24px; justify-items: start; }
.intro__copy p + p { margin-top: -6px; }

.intro__art { position: relative; aspect-ratio: 4 / 5; max-width: 500px; justify-self: center; width: 100%; }
.intro__sigil { position: absolute; inset: -16%; color: rgba(159, 253, 254, 0.16); animation: spin 120s linear infinite; pointer-events: none; }
.intro__sigil svg { width: 100%; height: 100%; }
.arch { position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); background: linear-gradient(180deg, rgba(201, 255, 255, 0.7), rgba(91, 181, 255, 0.15) 70%, rgba(201, 255, 255, 0.4)); }
.arch__inner { position: absolute; inset: 2px; clip-path: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); overflow: hidden; background: var(--bg-2); }
.arch__inner img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.intro__art:hover .arch__inner img { transform: scale(1.13); }
.arch__inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 9, 14, 0) 50%, rgba(6, 9, 14, 0.85)), radial-gradient(80% 60% at 50% 30%, transparent, rgba(6, 9, 14, 0.4)); }
.arch__gem {
  position: absolute; left: 50%; top: -14px; width: 28px; height: 28px; margin-left: -14px; z-index: 2;
  background: linear-gradient(135deg, #e8ffff, var(--rune) 50%, var(--rune-deep));
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(159, 253, 254, 0.5), 0 0 28px rgba(91, 181, 255, 0.8);
}
.arch__caption { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2; text-align: center; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--steel); }

.features { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 30%, var(--bg-2) 70%, var(--bg) 100%); overflow: hidden; }
.features > .container { position: relative; z-index: 1; }
.features__sky { position: absolute; inset: 0 0 auto 0; height: 60%; z-index: 0; pointer-events: none; opacity: 0.9;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 55%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 55%, transparent 100%); }
.features__sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.features__mark {
  position: absolute; left: 50%; top: clamp(30px, 5vw, 70px); transform: translateX(-50%);
  font-family: var(--font-accent); font-size: clamp(6rem, 17vw, 15rem); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(159, 253, 254, 0.07);
  pointer-events: none; user-select: none; z-index: 0;
}

.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 32px); perspective: 1200px; }
.feat {
  --cut: 20px; --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 30%;
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease), opacity 1s var(--ease);
}
.feat.is-tilting { transition: transform 0.12s linear; }
.feat::before {
  content: ""; position: absolute; inset: 0; z-index: -2; clip-path: var(--chamfer);
  background: linear-gradient(180deg, rgba(159, 253, 254, 0.42), rgba(159, 220, 255, 0.08) 55%, rgba(91, 181, 255, 0.22));
}
.feat:hover::before {
  background: conic-gradient(from var(--spin), rgba(159, 220, 255, 0.12) 0deg, rgba(201, 255, 255, 0.95) 50deg, rgba(159, 220, 255, 0.12) 110deg, rgba(159, 220, 255, 0.12) 180deg, rgba(91, 181, 255, 0.85) 230deg, rgba(159, 220, 255, 0.12) 290deg);
  animation: spin-border 4s linear infinite;
}
.feat::after {
  content: ""; position: absolute; inset: 1px; z-index: -1; --cut: 19.6px; clip-path: var(--chamfer);
  background: radial-gradient(120% 60% at 50% 0%, rgba(110, 220, 255, 0.10), transparent 60%), linear-gradient(180deg, #0f1823, #090e16);
}

.feat__media {
  --cut: 12px;
  position: relative; margin: 10px 10px 0;
  aspect-ratio: 16 / 10; overflow: hidden;
  clip-path: var(--chamfer);
  background: #0a0f16;
}
.feat__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  transform: scale(1.02); transition: transform 1.4s var(--ease), filter 0.6s;
  filter: saturate(0.92) brightness(0.92);
}
.feat:hover .feat__media img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
.feat__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 30, 50, 0.08), rgba(6, 10, 16, 0) 40%, rgba(9, 14, 22, 0.94) 100%);
}
.feat__glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; clip-path: var(--chamfer);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(190, 245, 255, 0.14), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.feat:hover .feat__glare { opacity: 1; }

.feat__body { position: relative; display: grid; gap: 10px; padding: 0 clamp(24px, 2.6vw, 38px) clamp(26px, 2.8vw, 38px); margin-top: -44px; }
.feat__emblem { position: relative; width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 6px; color: var(--ice); }
.feat__emblem::before {
  content: ""; position: absolute; inset: 10px; transform: rotate(45deg);
  background: linear-gradient(135deg, #1b2a3b, #0b121c 60%);
  box-shadow: inset 0 0 0 1px var(--line-3), 0 0 0 5px rgba(9, 14, 22, 0.9), 0 0 0 6px var(--line-2), 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.5s var(--ease);
}
.feat:hover .feat__emblem::before { box-shadow: inset 0 0 0 1px var(--frost), inset 0 0 18px rgba(110, 220, 255, 0.35), 0 0 0 5px rgba(9, 14, 22, 0.9), 0 0 0 6px var(--line-3), 0 0 34px rgba(110, 220, 255, 0.35); }
.feat__emblem svg { position: relative; width: 32px; height: 32px; filter: drop-shadow(0 0 8px rgba(110, 220, 255, 0.55)); }
.feat__kicker { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase; color: var(--frost); }
.feat__kicker b { color: var(--steel-dim); font-weight: 700; margin-right: 6px; }
.feat__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1.05; }
.feat__text { color: var(--text-2); font-size: 1rem; line-height: 1.7; max-width: 52ch; }

.showcase { overflow: hidden; }
.showcase::before { content: ""; position: absolute; left: 50%; top: 30%; width: 90%; height: 70%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(70, 150, 210, 0.12), transparent); pointer-events: none; }
.player { position: relative; display: grid; gap: 18px; max-width: 1100px; margin-inline: auto; }
.player__stage { --cut: 12px; position: relative; aspect-ratio: 16 / 9; overflow: hidden; clip-path: var(--chamfer); background: #05080c; }
.player__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s var(--ease); }
.player__stage video.is-active { opacity: 1; }
.player__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 60%, rgba(3, 5, 9, 0.55)), linear-gradient(180deg, transparent 62%, rgba(3, 5, 9, 0.85)); }
.player__hud { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: clamp(16px, 2.4vw, 28px); }
.player__caption strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.05; text-shadow: 0 2px 16px #000; }
.player__caption span { display: block; margin-top: 6px; font-size: 0.95rem; color: var(--text-2); text-shadow: 0 2px 10px #000; max-width: 52ch; }
.player__toggle {
  --cut: 8px;
  flex: none; width: 50px; height: 50px; display: grid; place-items: center;
  clip-path: var(--chamfer);
  background: rgba(8, 12, 19, 0.7); box-shadow: inset 0 0 0 1px var(--line-3);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--ice); transition: background 0.3s;
}
.player__toggle:hover { background: rgba(30, 60, 80, 0.8); }
.player__toggle svg { width: 20px; height: 20px; }
.player__toggle .i-pause { display: none; }
.player.is-playing .player__toggle .i-pause { display: block; }
.player.is-playing .player__toggle .i-play { display: none; }

.player__chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.chapter { --cut: 10px; position: relative; isolation: isolate; text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; padding: 16px 18px 20px; }
.chapter::before { content: ""; position: absolute; inset: 0; z-index: -2; clip-path: var(--chamfer); background: var(--line-2); transition: background 0.3s; }
.chapter::after { content: ""; position: absolute; inset: 1px; z-index: -1; --cut: 9.6px; clip-path: var(--chamfer); background: #0b111a; transition: background 0.3s; }
.chapter:hover::after { background: #0e1621; }
.chapter[aria-selected="true"]::before { background: linear-gradient(180deg, rgba(159, 253, 254, 0.7), rgba(91, 181, 255, 0.25)); }
.chapter[aria-selected="true"]::after { background: radial-gradient(120% 120% at 0% 0%, rgba(110, 220, 255, 0.12), transparent 60%), #0d1520; }
.chapter__num { grid-row: span 2; font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; line-height: 1; color: var(--steel-dim); transition: color 0.3s; }
.chapter[aria-selected="true"] .chapter__num { color: var(--ice); }
.chapter__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.15; }
.chapter__meta { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.chapter__bar { position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: var(--line); overflow: hidden; }
.chapter__bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--rune), var(--ice)); }

.tour { overflow: hidden; padding-top: 0; }
.tour__video { max-width: 1100px; margin-inline: auto; }
.yt {
  --cut: 12px;
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  clip-path: var(--chamfer); background: #05080c; color: var(--text);
}
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.5s; }
.yt::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 50%, rgba(3, 5, 9, 0.05), rgba(3, 5, 9, 0.45)), linear-gradient(180deg, transparent 60%, rgba(3, 5, 9, 0.75));
  transition: opacity 0.4s;
}
.yt:hover img { transform: scale(1.03); filter: brightness(1.06); }
.yt__play {
  --cut: 16px;
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 96px; height: 96px; margin: -48px 0 0 -48px;
  display: grid; place-items: center;
  clip-path: var(--chamfer);
  background: var(--ice-fill); color: #04131f;
  filter: drop-shadow(0 0 30px rgba(110, 220, 255, 0.55));
  transition: transform 0.4s var(--ease);
}
.yt__play::before {
  content: ""; position: absolute; inset: -14px; border: 1px solid rgba(201, 255, 255, 0.6);
  clip-path: var(--chamfer); animation: ring 2.4s var(--ease) infinite;
}
.yt__play svg { width: 38px; height: 38px; margin-left: 5px; }
.yt:hover .yt__play { transform: scale(1.08); }
.yt__label {
  position: absolute; left: 0; right: 0; bottom: clamp(16px, 3vw, 30px); z-index: 2; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.6rem); letter-spacing: 0.04em;
  text-shadow: 0 2px 14px #000;
}
.yt__label small { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; color: var(--text-2); margin-left: 8px; }
.yt.is-playing::after, .yt.is-playing .yt__play, .yt.is-playing .yt__label, .yt.is-playing img { display: none; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour__credit { margin-top: 14px; text-align: center; font-size: 0.9rem; color: var(--text-3); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); max-width: 1100px; margin: clamp(22px, 3vw, 34px) auto 0; padding: 0; list-style: none; }
.shot {
  --cut: 12px;
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  clip-path: var(--chamfer); background: var(--bg-3); cursor: zoom-in; text-align: left;
}
.shot img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95) brightness(0.92); transition: transform 1s var(--ease), filter 0.5s; }
.shot::after { content: ""; position: absolute; inset: 0; clip-path: var(--chamfer); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 0.3s; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.06); filter: none; }
.shot:hover::after, .shot:focus-visible::after { box-shadow: inset 0 0 0 2px var(--frost), inset 0 0 30px rgba(110, 220, 255, 0.25); }
.shot:focus-visible { outline: none; }
.shot__cap { position: absolute; left: 16px; bottom: 12px; z-index: 2; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; text-shadow: 0 2px 8px #000; }

.lightbox {
  width: min(1280px, 100vw - 32px); max-width: none; max-height: none;
  padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible;
}
.lightbox::backdrop { background: rgba(3, 5, 9, 0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { animation: rise 0.4s var(--ease); }
.lightbox__figure { --cut: 14px; margin: 0; clip-path: var(--chamfer); background: #05080c; box-shadow: 0 0 0 1px var(--line-3); }
.lightbox__figure img { width: 100%; height: auto; max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox__figure figcaption { padding: 12px 18px 16px; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.lightbox__btn {
  --cut: 8px;
  position: absolute; width: 48px; height: 48px; display: grid; place-items: center;
  clip-path: var(--chamfer); background: rgba(10, 16, 25, 0.9); box-shadow: inset 0 0 0 1px var(--line-3); color: var(--ice);
  transition: background 0.25s;
}
.lightbox__btn:hover { background: rgba(30, 60, 80, 0.95); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn--prev { left: 12px; top: 50%; margin-top: -24px; }
.lightbox__btn--prev svg { transform: scaleX(-1); }
.lightbox__btn--next { right: 12px; top: 50%; margin-top: -24px; }
.lightbox__btn--close { right: 12px; top: 12px; }
.lightbox__btn--close svg { transform: rotate(45deg); }

.hero__watch { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; color: var(--text-2); transition: color 0.25s; }
.hero__watch small { color: var(--text-3); font-weight: 600; margin-left: 6px; }
.hero__watch-icon { --cut: 8px; position: relative; width: 42px; height: 42px; display: grid; place-items: center; clip-path: var(--chamfer); background: rgba(10, 16, 25, 0.7); box-shadow: inset 0 0 0 1px var(--line-3); color: var(--frost); transition: background 0.3s, color 0.3s; }
.hero__watch-icon svg { width: 16px; height: 16px; margin-left: 2px; }
.hero__watch:hover { color: var(--ice); }
.hero__watch:hover .hero__watch-icon { background: var(--frost); color: #04131f; }

.community__panel { --cut: 22px; position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px); padding: clamp(40px, 6vw, 80px); }
.community__panel::before { content: ""; position: absolute; inset: 0; z-index: -3; clip-path: var(--chamfer); background: linear-gradient(135deg, rgba(167, 176, 255, 0.55), rgba(88, 101, 242, 0.12) 40%, rgba(159, 253, 254, 0.1) 70%, rgba(159, 253, 254, 0.45)); }
.community__panel::after { content: ""; position: absolute; inset: 1px; z-index: -2; --cut: 21.6px; clip-path: var(--chamfer); background: radial-gradient(60% 90% at 100% 50%, rgba(88, 101, 242, 0.22), transparent 70%), radial-gradient(50% 80% at 0% 0%, rgba(110, 220, 255, 0.10), transparent 70%), linear-gradient(180deg, #0e1524, #090d16); }
.community__copy { display: grid; gap: 22px; justify-items: start; }
.community__perks { display: grid; gap: 12px; margin: 4px 0 10px; padding: 0; list-style: none; }
.community__perks li { display: flex; align-items: center; gap: 14px; color: var(--text-2); }
.community__perks svg { width: 20px; height: 20px; color: var(--frost); flex: none; }
.community__emblem { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 400px; justify-self: center; width: 100%; }
.community__emblem .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(167, 176, 255, 0.22); }
.community__emblem .ring:nth-child(2) { inset: 12%; border-style: dashed; border-color: rgba(159, 253, 254, 0.18); animation: spin 80s linear infinite reverse; }
.community__emblem .ring:nth-child(3) { inset: 24%; border-color: rgba(167, 176, 255, 0.3); box-shadow: 0 0 60px rgba(88, 101, 242, 0.25), inset 0 0 50px rgba(88, 101, 242, 0.2); }
.community__badge { --cut: 26px; position: relative; width: 42%; aspect-ratio: 1; display: grid; place-items: center; clip-path: var(--chamfer); background: linear-gradient(160deg, #7a85ff, var(--discord) 45%, #2f37a8); animation: float 7s var(--ease-in-out) infinite; }
.community__badge svg { width: 54%; height: 54%; color: #fff; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35)); }
.community__emblem .spark { position: absolute; width: 8px; height: 8px; background: var(--frost); transform: rotate(45deg); box-shadow: 0 0 12px var(--frost); animation: twinkle 3.6s var(--ease-in-out) infinite; }
.community__emblem .spark:nth-of-type(1) { top: 10%; left: 50%; }
.community__emblem .spark:nth-of-type(2) { bottom: 18%; right: 9%; background: #a7b0ff; box-shadow: 0 0 12px #a7b0ff; animation-delay: 1.2s; }
.community__emblem .spark:nth-of-type(3) { bottom: 26%; left: 6%; animation-delay: 2.4s; }

.final { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(620px, 64vw, 900px); display: grid; place-items: end center; padding: 0 0 clamp(70px, 9vw, 120px); text-align: center; }
.final__bg { position: absolute; inset: 0; z-index: -3; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.final .particles { z-index: -1; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, var(--bg) 0%, rgba(6, 9, 14, 0) 22%, rgba(6, 9, 14, 0) 52%, rgba(6, 9, 14, 0.8) 80%, var(--bg) 100%); }
.final__content { display: grid; justify-items: center; gap: 22px; max-width: 760px; }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 10px; }

.site-footer { position: relative; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #04060a); padding: 72px 0 34px; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: -1px; width: min(600px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--frost), transparent); opacity: 0.6; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__brand { display: grid; gap: 18px; justify-items: start; }
.footer__brand img { width: 190px; }
.footer__brand p { color: var(--text-3); font-size: 0.95rem; max-width: 34ch; }
.footer__col h2 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase; color: var(--steel); margin-bottom: 18px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a { color: var(--text-2); font-size: 0.97rem; transition: color 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.footer__col a:hover { color: var(--ice); }
.footer__col a .icon { width: 14px; height: 14px; opacity: 0.7; }
.social { display: flex; gap: 10px; }
.social a { --cut: 8px; width: 46px; height: 46px; display: grid; place-items: center; clip-path: var(--chamfer); background: linear-gradient(180deg, #141d2a, #0c121b); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); transition: background 0.3s, color 0.3s; }
.social a:hover { background: linear-gradient(180deg, #6c78ff, var(--discord)); color: #fff; }
.social a:focus-visible { outline: none; background: linear-gradient(180deg, #6c78ff, var(--discord)); color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.social svg { width: 22px; height: 22px; }
.footer__bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; font-size: 0.85rem; color: var(--text-3); }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); transition: color 0.2s; }
.to-top:hover { color: var(--frost); }
.to-top svg { width: 14px; height: 14px; }

.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(100px, 12vw, 160px)) 0 clamp(120px, 14vw, 200px); text-align: center; }
.page-hero__bg { position: absolute; inset: 0; z-index: -3; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 50% 50%, rgba(4, 7, 12, 0.7), transparent 75%), linear-gradient(180deg, rgba(6, 9, 14, 0.6) 0%, rgba(6, 9, 14, 0.15) 35%, rgba(6, 9, 14, 0.4) 70%, var(--bg) 100%); }
.page-hero .particles { z-index: -1; }
.page-hero .container { display: grid; justify-items: center; gap: 20px; }
.page-hero .title { font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero .lead { margin-inline: auto; }
.page-hero__note { --cut: 8px; display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 18px; font-size: 0.9rem; color: var(--text-2); clip-path: var(--chamfer); background: rgba(10, 16, 25, 0.75); box-shadow: inset 0 0 0 1px var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.page-hero__note svg { width: 18px; height: 18px; color: var(--frost); }
.page-hero__note a { color: var(--frost); font-weight: 700; }
.page-hero__note a:hover { color: var(--ice); text-decoration: underline; }

.platforms { position: relative; z-index: 2; margin-top: clamp(-120px, -9vw, -70px); }
.platforms__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.platforms__grid > * { min-width: 0; }
.platform { --cut: 20px; position: relative; isolation: isolate; padding: clamp(30px, 4vw, 48px); display: grid; gap: 24px; align-content: start; }
.platform::before { content: ""; position: absolute; inset: 0; z-index: -2; clip-path: var(--chamfer); background: linear-gradient(180deg, rgba(159, 253, 254, 0.5), rgba(159, 253, 254, 0.08) 45%, rgba(91, 181, 255, 0.2)); }
.platform::after { content: ""; position: absolute; inset: 1px; z-index: -1; --cut: 19.6px; clip-path: var(--chamfer); background: radial-gradient(90% 50% at 50% 0%, rgba(110, 220, 255, 0.10), transparent 70%), linear-gradient(180deg, rgba(15, 23, 35, 0.97), rgba(9, 13, 21, 0.98)); }
.platform--soon::before { background: linear-gradient(180deg, rgba(168, 192, 216, 0.3), rgba(168, 192, 216, 0.06) 45%, rgba(168, 192, 216, 0.14)); }
.platform--soon::after { background: linear-gradient(180deg, rgba(14, 20, 30, 0.97), rgba(9, 13, 21, 0.98)); }
.platform__head { display: flex; align-items: center; gap: 20px; }
.platform__icon { --cut: 12px; width: 72px; height: 72px; flex: none; display: grid; place-items: center; clip-path: var(--chamfer); background: linear-gradient(160deg, rgba(159, 253, 254, 0.2), rgba(91, 181, 255, 0.06)); box-shadow: inset 0 0 0 1px var(--line-3); color: var(--ice); }
.platform__icon svg { width: 34px; height: 34px; }
.platform--soon .platform__icon { color: var(--steel); box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(168, 192, 216, 0.06); }
.platform__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1; }
.platform__meta { font-size: 0.85rem; color: var(--text-3); margin-top: 6px; letter-spacing: 0.04em; }
.badge { --cut: 6px; margin-left: auto; align-self: flex-start; padding: 6px 12px; clip-path: var(--chamfer); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; background: linear-gradient(180deg, rgba(159, 253, 254, 0.22), rgba(159, 253, 254, 0.08)); color: var(--ice); box-shadow: inset 0 0 0 1px var(--line-3); }
.badge--muted { background: rgba(168, 192, 216, 0.08); color: var(--steel); box-shadow: inset 0 0 0 1px var(--line-2); }
.platform__desc { color: var(--text-2); }
.platform__file { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.85rem; color: var(--text-3); padding: 14px 0; border-block: 1px solid var(--line); }
.platform__file span { display: inline-flex; align-items: center; gap: 8px; }
.platform__file svg { width: 15px; height: 15px; color: var(--frost); }
.platform__file b { color: var(--text-2); font-weight: 600; }
.steps-list { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps-list li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 14px; color: var(--text-2); font-size: 0.98rem; line-height: 1.6; }
.steps-list li::before { content: counter(step); --cut: 6px; width: 30px; height: 30px; display: grid; place-items: center; clip-path: var(--chamfer); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ice); background: rgba(159, 253, 254, 0.1); box-shadow: inset 0 0 0 1px var(--line-3); }
.steps-list strong { color: var(--text); font-weight: 700; }
.steps-list a { color: var(--frost); font-weight: 600; }
.steps-list a:hover { color: var(--ice); text-decoration: underline; }
code, kbd { font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace; font-size: 0.86em; padding: 2px 7px; background: rgba(159, 253, 254, 0.07); border: 1px solid var(--line-2); border-radius: 4px; color: var(--ice); word-break: break-word; }
.platform__note { font-size: 0.85rem; color: var(--text-3); display: flex; gap: 10px; }
.platform__note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--steel); }

.dl-options { display: grid; gap: 12px; }
.dl-option {
  --cut: 10px;
  --o-border: linear-gradient(180deg, rgba(201, 255, 255, 0.5), rgba(127, 216, 238, 0.16));
  --o-fill: linear-gradient(180deg, rgba(22, 33, 48, 0.95), rgba(10, 16, 25, 0.95));
  position: relative; isolation: isolate;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px; min-height: 70px;
  color: var(--text);
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}
.dl-option::before, .dl-option::after { content: ""; position: absolute; clip-path: var(--chamfer); }
.dl-option::before { inset: 0; z-index: -2; background: var(--o-border); }
.dl-option::after { inset: 1px; --cut: 9.6px; z-index: -1; background: var(--o-fill); }
.dl-option:hover { transform: translateY(-2px); --o-border: linear-gradient(180deg, rgba(201, 255, 255, 0.9), rgba(127, 216, 238, 0.35)); }
.dl-option--main {
  --o-border: linear-gradient(180deg, #ffffff, #7fd8ee 60%, #2e86c2);
  --o-fill: var(--ice-fill);
  color: #04131f; filter: drop-shadow(0 10px 24px rgba(95, 210, 245, 0.35));
}
.dl-option--main:hover { filter: drop-shadow(0 12px 28px rgba(120, 225, 255, 0.55)); --o-border: linear-gradient(180deg, #ffffff, #7fd8ee 60%, #2e86c2); }
.dl-option__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; }
.dl-option__icon svg { width: 24px; height: 24px; }
.dl-option:not(.dl-option--main) .dl-option__icon { color: var(--frost); }
.dl-option__text { display: grid; gap: 2px; min-width: 0; }
.dl-option__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.1; }
.dl-option__title em { font-family: var(--font-body); font-style: normal; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.16em; vertical-align: middle; margin-left: 8px; padding: 3px 7px; border-radius: 3px; background: rgba(4, 19, 31, 0.14); }
.dl-option__meta { font-size: 0.82rem; font-weight: 600; opacity: 0.75; }
.dl-option:not(.dl-option--main) .dl-option__meta { color: var(--text-3); opacity: 1; }

.jdk-steps { margin: 14px 0 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--text-2); font-size: 0.95rem; }

.java { --cut: 18px; position: relative; isolation: isolate; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 40px); padding: clamp(28px, 4vw, 44px); }
.java::before { content: ""; position: absolute; inset: 0; z-index: -2; clip-path: var(--chamfer); background: linear-gradient(90deg, rgba(159, 253, 254, 0.4), rgba(159, 253, 254, 0.08) 50%, rgba(159, 253, 254, 0.3)); }
.java::after { content: ""; position: absolute; inset: 1px; z-index: -1; --cut: 17.6px; clip-path: var(--chamfer); background: radial-gradient(60% 120% at 0% 50%, rgba(110, 220, 255, 0.1), transparent 70%), #0b111a; }
.java__icon { width: 84px; height: 84px; display: grid; place-items: center; color: var(--frost); position: relative; }
.java__icon::before { content: ""; position: absolute; inset: 10px; transform: rotate(45deg); border: 1px solid var(--line-3); background: radial-gradient(circle, rgba(110, 220, 255, 0.16), transparent 70%); }
.java__icon svg { width: 36px; height: 36px; position: relative; }
.java h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; margin-bottom: 8px; }
.java p { color: var(--text-2); max-width: 60ch; }

.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq details { --cut: 12px; position: relative; isolation: isolate; }
.faq details::before { content: ""; position: absolute; inset: 0; z-index: -2; clip-path: var(--chamfer); background: var(--line-2); transition: background 0.3s; }
.faq details::after { content: ""; position: absolute; inset: 1px; z-index: -1; --cut: 11.6px; clip-path: var(--chamfer); background: #0c121b; }
.faq details[open]::before, .faq details:hover::before { background: linear-gradient(180deg, rgba(159, 253, 254, 0.45), rgba(159, 253, 254, 0.1)); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 30px; height: 30px; flex: none; display: grid; place-items: center; color: var(--frost); transition: transform 0.35s var(--ease); }
.faq summary .chev svg { width: 18px; height: 18px; }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -4px; }
.faq .faq__body { padding: 0 26px 24px; color: var(--text-2); display: grid; gap: 12px; }
.faq .faq__body ol, .faq .faq__body ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

.help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 36px; margin: 56px auto 0; max-width: 880px; border-top: 1px solid var(--line); }
.help h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; }
.help p { color: var(--text-3); }

.frame { --cut: 18px; position: relative; isolation: isolate; padding: 8px; }
.frame::before { content: ""; position: absolute; inset: 0; z-index: -2; clip-path: var(--chamfer); background: linear-gradient(160deg, rgba(201, 255, 255, 0.55), rgba(91, 181, 255, 0.12) 40%, rgba(159, 253, 254, 0.06) 60%, rgba(201, 255, 255, 0.4)); }
.frame::after { content: ""; position: absolute; inset: 1px; z-index: -1; --cut: 17.6px; clip-path: var(--chamfer); background: #0a0f17; }
.frame__corner { position: absolute; width: 22px; height: 22px; border-color: var(--frost); border-style: solid; border-width: 0; z-index: 2; opacity: 0.9; }
.frame__corner--tl { top: -6px; left: -6px; border-top-width: 2px; border-left-width: 2px; }
.frame__corner--tr { top: -6px; right: -6px; border-top-width: 2px; border-right-width: 2px; }
.frame__corner--bl { bottom: -6px; left: -6px; border-bottom-width: 2px; border-left-width: 2px; }
.frame__corner--br { bottom: -6px; right: -6px; border-bottom-width: 2px; border-right-width: 2px; }

.seam { position: relative; height: 1px; width: min(var(--container), 100% - var(--gutter) * 2); margin: 0 auto; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); }
.seam::before { content: ""; position: absolute; top: -1px; height: 3px; width: 160px; left: -160px; background: radial-gradient(closest-side, rgba(201, 255, 255, 0.95), transparent); animation: seam-glint 7s var(--ease-in-out) infinite; }
.seam::after { content: ""; position: absolute; left: 50%; top: -4px; width: 9px; height: 9px; margin-left: -4.5px; transform: rotate(45deg); background: var(--bg); box-shadow: inset 0 0 0 1px var(--frost), 0 0 12px var(--glow); }

.toast { --cut: 10px; position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px); padding: 14px 20px; clip-path: var(--chamfer); background: #0f1825; box-shadow: inset 0 0 0 1px var(--line-3); color: var(--text); font-size: 0.95rem; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .feat.reveal { transform: translateY(40px) rotateX(8deg); }
.js .feat.reveal.is-visible { transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.6s var(--ease), opacity 1s var(--ease); transition-delay: var(--d, 0s); }
.js .feat.reveal.is-visible.is-tilting { transition: transform 0.12s linear; }

.js .hero-in { opacity: 0; transform: translateY(22px); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.js .hero__title.hero-in { filter: blur(10px); animation-name: rise-blur; animation-duration: 1.4s; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes rise-blur { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes aura { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
@keyframes gem-pulse { 0%, 100% { opacity: 0.45; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes glide { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(-10px, -14px, 0) rotate(-0.6deg); } }
@keyframes fog-drift { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
@keyframes cue { 0% { top: -40%; } 60%, 100% { top: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-border { to { --spin: 360deg; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes twinkle { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes seam-glint { 0% { left: -160px; } 60%, 100% { left: 100%; } }
@keyframes ring { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(1.25); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal, .js .hero-in { opacity: 1; transform: none; filter: none; }
  .particles { display: none; }
  .feat { transform: none !important; }
}

@media (max-width: 1280px) {
  :root { --crest-w: 220px; }
  .nav-links a { padding: 10px 10px; letter-spacing: 0.16em; }
  .header-side { gap: 14px; }
}

@media (max-width: 1140px) {
  :root { --header-h: 70px; --crest-w: 180px; }
  .site-header.is-scrolled { --crest-w: 160px; }
  .site-header.is-scrolled .header-bar { height: 62px; }
  .header-inner { width: calc(100% - 24px); column-gap: 10px; }
  .nav-links, .header-discord { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu { display: grid; }
  .header-side--right { justify-content: flex-end; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .hero__content { max-width: 600px; }
  .hero__shade { background: linear-gradient(90deg, rgba(4, 7, 12, 0.9) 0%, rgba(4, 7, 12, 0.6) 45%, rgba(4, 7, 12, 0.1) 80%), linear-gradient(180deg, rgba(6, 9, 14, 0.5) 0%, rgba(6, 9, 14, 0) 22%, rgba(6, 9, 14, 0) 60%, var(--bg) 100%); }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__art { max-width: 420px; order: -1; }
  .community__panel { grid-template-columns: 1fr; }
  .community__emblem { max-width: 260px; order: -1; }
  .platforms__grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .java { grid-template-columns: auto 1fr; }
  .java .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 860px) {
  .shots { grid-template-columns: 1fr 1fr; }
  .shots li:last-child { grid-column: 1 / -1; }
  .lightbox__btn--prev { left: 8px; }
  .lightbox__btn--next { right: 8px; }
  .feats { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .player__chapters { grid-template-columns: 1fr; gap: 8px; }
  .chapter { padding: 12px 16px 16px; }
  .chapter__num { font-size: 1.4rem; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; --crest-w: 150px; }
  body { font-size: 1rem; }
  .site-header.is-scrolled { --crest-w: 136px; }
  .site-header.is-scrolled .header-bar { height: 58px; }
  .header-side--right .btn--primary { min-height: 40px; padding: 0 14px; font-size: 0.95rem; }
  .header-bar__gems { display: none; }

  .hero { min-height: 100svh; align-items: flex-start; padding: calc(40svh + 10px) 0 120px; text-align: center; }
  .hero__bg, .hero__dragon { inset: 0 -2% -2%; }
  .hero__bg img, .hero__dragon img { object-position: 50% 0; }
  .hero__dragon picture { transform-origin: 50% 15%; }
  .hero__shade { background: linear-gradient(180deg, rgba(6, 9, 14, 0.45) 0%, rgba(6, 9, 14, 0) 12%, rgba(6, 9, 14, 0) 32%, rgba(6, 9, 14, 0.72) 44%, rgba(6, 9, 14, 0.88) 70%, var(--bg) 100%); }
  .hero__content { justify-items: center; margin-inline: auto; }
  .hero__eyebrow { margin-bottom: 14px; font-size: 0.68rem; letter-spacing: 0.26em; }
  .hero__title { font-size: clamp(2.5rem, 11vw, 3.3rem); margin-bottom: 18px; }
  .hero__text { margin-bottom: 28px; }
  .hero__ctas { width: 100%; flex-direction: column; gap: 12px; }
  .hero__ctas .btn { width: 100%; }
  .scroll-cue { display: none; }

  .begin { margin-top: -70px; }
  .begin__panel { grid-template-columns: 1fr; }
  .step { padding: 26px 22px; }
  .step + .step::before { left: 22px; right: 22px; top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

  .feat__body { margin-top: -38px; }
  .feat__emblem { width: 66px; height: 66px; }
  .features__mark { top: 20px; }

  .player__caption span { display: none; }
  .player__toggle { width: 42px; height: 42px; }
  .yt__play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .yt__play svg { width: 28px; height: 28px; }
  .shots { grid-template-columns: 1fr; }
  .shots li:last-child { grid-column: auto; }
  .hero__watch { margin-top: 22px; }

  .final { min-height: 0; padding-top: 68vw; }
  .final__bg { bottom: auto; height: 100vw; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .final__bg img { object-position: 50% 30%; }
  .final::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(6, 9, 14, 0) 20%); }
  .final__ctas { width: 100%; flex-direction: column; }
  .final__ctas .btn { width: 100%; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer__bottom { flex-direction: column; }

  .platform { padding: 28px 20px; }
  .platform__head { flex-wrap: wrap; }
  .platform__icon { width: 60px; height: 60px; }
  .badge { margin-left: 0; }
  .java { grid-template-columns: 1fr; text-align: left; }
  .java__icon { width: 64px; height: 64px; }
  .java .btn { width: 100%; }
  .faq summary { padding: 18px 18px; font-size: 1.15rem; }
  .faq .faq__body { padding: 0 18px 20px; }
  .help .btn { width: 100%; }
  .btn--block { white-space: normal; text-align: center; line-height: 1.2; padding-block: 12px; font-size: 1.02rem; letter-spacing: 0.06em; padding-inline: 18px; }
  .btn--lg { font-size: 1.12rem; padding-inline: 22px; letter-spacing: 0.08em; }
}

@media (max-width: 400px) {
  :root { --crest-w: 128px; }
  .header-side--right .btn--primary .icon { display: none; }
  .btn--lg { padding: 0 24px; font-size: 1.12rem; }
}

.footer__credit a { color: var(--frost); font-weight: 700; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.35s var(--ease), color 0.2s; }
.footer__credit a:hover { color: var(--ice); background-size: 100% 1px; }
