/* =========================================================
   ICLOWN — guild site
   Palette: obsidian, antique gold, jester violet
   ========================================================= */

:root {
  --bg: #08070c;
  --bg-2: #0d0b13;
  --bg-3: #12101a;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --text: #f3eee5;
  --muted: #ada5ba;
  --muted-2: #8a8299;
  --gold: #e9c46a;
  --gold-2: #f6d98a;
  --gold-3: #b98b3e;
  --violet: #9d7bff;
  --violet-2: #c4b5fd;
  --green: #5eead4;
  --red: #f87171;
  --line: rgba(233, 196, 106, 0.16);
  --line-2: rgba(255, 255, 255, 0.075);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-logo: "Cinzel", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: min(1180px, calc(100% - 48px));
  --radius: 20px;
  --ease: cubic-bezier(0.22, 0.75, 0.22, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 680px at 88% -8%, rgba(139, 92, 246, 0.13), transparent 62%),
    radial-gradient(900px 620px at -8% 38%, rgba(233, 196, 106, 0.055), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--gold);
  color: #1a1206;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #08070c;
}
::-webkit-scrollbar-thumb {
  background: #2b2439;
  border-radius: 20px;
  border: 2px solid #08070c;
}
::-webkit-scrollbar-thumb:hover {
  background: #3b3150;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #191106;
  font-weight: 800;
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus {
  transform: none;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill {
  fill: currentColor;
  stroke: none;
  width: 17px;
  height: 17px;
}
.icon--arrow {
  transition: transform 0.3s var(--ease);
}
.btn:hover .icon--arrow {
  transform: translateX(4px);
}

/* ---------- typography helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.eyebrow > span {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

h2 {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.015em;
}

h2 em,
.hero__title em {
  font-style: italic;
  background: linear-gradient(105deg, #fbe7ac 5%, var(--gold) 48%, #c69545 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: #c6bfd0;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.75;
}

.muted {
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}
.btn:active {
  transform: translateY(1px) scale(0.995);
}

.btn--gold {
  background: linear-gradient(140deg, #f9e2a1 0%, var(--gold) 44%, #c99a47 100%);
  color: #1b1205;
  box-shadow:
    0 12px 34px -14px rgba(233, 196, 106, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 42px -16px rgba(233, 196, 106, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn--ghost {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: rgba(233, 196, 106, 0.34);
  background: rgba(233, 196, 106, 0.06);
  transform: translateY(-2px);
}

.btn--sm {
  min-height: 38px;
  padding: 9px 17px;
  font-size: 12.5px;
}

.btn--lg {
  min-height: 54px;
  padding: 15px 28px;
  font-size: 14.5px;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 78px;
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(8, 7, 12, 0.78);
  border-bottom-color: var(--line-2);
  backdrop-filter: blur(18px) saturate(130%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border-radius: 10px;
}
.brand__mask {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 14px rgba(233, 196, 106, 0.18));
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}
.brand:hover .brand__mask {
  transform: rotate(-6deg) translateY(-1px);
  filter: drop-shadow(0 0 18px rgba(233, 196, 106, 0.32));
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-logo);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--text);
}
.brand__sub {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.nav a.is-active {
  color: var(--gold);
}
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--gold);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.lang-switch__item {
  display: grid;
  place-items: center;
  min-width: 29px;
  height: 27px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  transition:
    color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}
a.lang-switch__item:hover {
  color: var(--text);
}
.lang-switch__item.is-active {
  background: rgba(233, 196, 106, 0.14);
  color: var(--gold-2);
  box-shadow: inset 0 0 0 1px rgba(233, 196, 106, 0.18);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger.is-active span:nth-child(2) {
  opacity: 0;
}
.burger.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(3, 2, 6, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  backdrop-filter: blur(3px);
}
.nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 132px 0 58px;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--bg));
  z-index: -1;
  pointer-events: none;
}

.hero__particles,
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.hero__particles {
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
.hero__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(ellipse 65% 60% at 52% 38%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 52% 38%, #000 10%, transparent 72%);
}

.hero__glow {
  position: absolute;
  z-index: -3;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero__glow--1 {
  top: -180px;
  right: 4%;
  width: 620px;
  height: 620px;
  background: rgba(124, 58, 237, 0.24);
}
.hero__glow--2 {
  bottom: -180px;
  left: -160px;
  width: 520px;
  height: 520px;
  background: rgba(233, 196, 106, 0.11);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}

.hero__content {
  min-width: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  padding: 8px 14px;
  border: 1px solid rgba(233, 196, 106, 0.2);
  border-radius: 999px;
  background: rgba(233, 196, 106, 0.045);
  color: #d7cfdf;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: fadeUp 0.8s var(--ease) both;
}
.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.55);
  animation: pulseDot 2.4s infinite;
}
.badge__sep {
  color: var(--muted-2);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.8vw, 6.3rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.025em;
}
.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.055em;
}
.hero__line > span {
  display: block;
  animation: heroRise 1.05s var(--ease) both;
}
.hero__line:nth-child(1) > span {
  animation-delay: 0.05s;
}
.hero__line:nth-child(2) > span {
  animation-delay: 0.14s;
}
.hero__line:nth-child(3) > span {
  animation-delay: 0.23s;
}
.hero__title .outline {
  color: rgba(243, 238, 229, 0.05);
  -webkit-text-stroke: 1.2px rgba(243, 238, 229, 0.64);
  text-stroke: 1.2px rgba(243, 238, 229, 0.64);
}

.hero__lead {
  max-width: 56ch;
  margin-top: 28px;
  color: #b8b0c4;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.75;
  animation: fadeUp 0.9s 0.34s var(--ease) both;
}
.hero__lead strong {
  color: var(--text);
  font-weight: 700;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  animation: fadeUp 0.9s 0.44s var(--ease) both;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: fadeUp 0.9s 0.54s var(--ease) both;
}
.hero__meta li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-3);
}
.hero__meta li:first-child::before {
  background: var(--green);
  box-shadow: 0 0 8px rgba(94, 234, 212, 0.7);
}

.hero__card-wrap {
  position: relative;
  max-width: 430px;
  margin-left: auto;
  animation: fadeUp 1s 0.3s var(--ease) both;
}
.hero__card-wrap::before {
  content: "";
  position: absolute;
  inset: 8% -12% -8% 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 123, 255, 0.2), transparent 68%);
  filter: blur(40px);
}

.hero__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.hero__note span {
  color: var(--gold-3);
}

/* ---------- guild pass ---------- */

.pass {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  padding: 24px 26px 20px;
  border: 1px solid rgba(233, 196, 106, 0.26);
  border-radius: 22px;
  background:
    linear-gradient(155deg, rgba(35, 28, 49, 0.97), rgba(11, 9, 16, 0.99) 62%),
    var(--bg-2);
  box-shadow:
    0 40px 90px -34px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 0 70px -30px rgba(157, 123, 255, 0.4);
  transform: rotate(-2deg) perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, box-shadow 0.3s var(--ease);
  overflow: hidden;
}
.pass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 80% at 100% 0, rgba(157, 123, 255, 0.15), transparent 55%),
    radial-gradient(90% 70% at 0 100%, rgba(233, 196, 106, 0.08), transparent 60%);
  pointer-events: none;
}
.pass::after {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.55;
}

.pass__top {
  display: flex;
  justify-content: space-between;
  color: var(--muted-2);
  font-family: var(--font-logo);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pass__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.pass__mask {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 16px rgba(233, 196, 106, 0.2));
}
.pass__brand strong {
  display: block;
  font-family: var(--font-logo);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1;
}
.pass__brand div > span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.pass__divider {
  position: relative;
  height: 1px;
  margin: 22px -26px;
  background: repeating-linear-gradient(
    90deg,
    rgba(233, 196, 106, 0.38) 0 6px,
    transparent 6px 12px
  );
}
.pass__divider::before,
.pass__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(233, 196, 106, 0.26);
  border-radius: 50%;
  background: #09080e;
  transform: translateY(-50%);
}
.pass__divider::before {
  left: -9px;
}
.pass__divider::after {
  right: -9px;
}

.pass__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 18px;
}
.pass__grid dt {
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pass__grid dd {
  margin-top: 3px;
  color: #ded7e7;
  font-size: 12.5px;
  font-weight: 700;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.status span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(94, 234, 212, 0.8);
}
.status--open {
  color: var(--green) !important;
}

.pass__timer {
  margin-top: 20px;
  padding: 14px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.24);
  text-align: center;
}
.pass__timer-label {
  display: block;
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pass__timer .countdown {
  margin: 7px 0 6px;
}
.pass__timer-zone {
  display: block;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--font-logo);
  font-variant-numeric: tabular-nums;
  color: var(--gold-2);
  line-height: 1;
}
.countdown span {
  display: inline-grid;
  place-items: center;
  min-width: 2.25em;
  padding: 7px 8px;
  border: 1px solid rgba(233, 196, 106, 0.17);
  border-radius: 9px;
  background: rgba(233, 196, 106, 0.055);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.countdown i {
  font-style: normal;
  color: var(--gold-3);
  font-size: 1.1rem;
  transform: translateY(-1px);
}

.pass__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pass__barcode {
  width: 88px;
  height: 18px;
  opacity: 0.5;
  background: repeating-linear-gradient(
    90deg,
    rgba(243, 238, 229, 0.7) 0 1.5px,
    transparent 1.5px 4px,
    rgba(243, 238, 229, 0.7) 4px 5.5px,
    transparent 5.5px 8px
  );
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(44px, 7vw, 78px);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.stats > div {
  padding: 20px clamp(14px, 2vw, 26px);
  border-left: 1px solid var(--line-2);
}
.stats > div:first-child {
  border-left: 0;
}
.stats dt {
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.stats dd {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}
.stats dd em {
  color: var(--gold);
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.48em;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ---------- marquee ---------- */

.marquee {
  position: relative;
  z-index: 1;
  display: flex;
  overflow: hidden;
  padding: 15px 0;
  border-block: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.014);
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12%;
  z-index: 1;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding-left: 26px;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__track span {
  color: #c9c1d5;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__track i {
  color: var(--gold-3);
  font-style: normal;
  font-size: 10px;
}

/* ---------- sections ---------- */

.section {
  position: relative;
  padding: clamp(82px, 10vw, 138px) 0;
}
.section--alt {
  border-block: 1px solid var(--line-2);
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(124, 58, 237, 0.07), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.004));
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 80px);
  margin-bottom: clamp(38px, 5vw, 62px);
}
.section-head .lead {
  max-width: 410px;
  padding-bottom: 6px;
  font-size: 0.98rem;
}

/* ---------- about ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.about__content h2 {
  margin-bottom: 24px;
}
.about__content .muted {
  margin-top: 16px;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 36px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--line-2);
  overflow: hidden;
}
.feature {
  padding: 22px 20px;
  background: #0a0810;
  transition: background-color 0.3s var(--ease);
}
.feature:hover {
  background: #0e0b16;
}
.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border: 1px solid rgba(233, 196, 106, 0.2);
  border-radius: 10px;
  color: var(--gold);
  background: rgba(233, 196, 106, 0.055);
}
.feature__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.feature p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.sheet {
  position: sticky;
  top: 108px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 110% 0, rgba(157, 123, 255, 0.1), transparent 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.sheet::after {
  content: none;
}
.sheet__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}
.sheet__head > span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.sheet__mask {
  width: 34px;
  height: 34px;
  opacity: 0.9;
}
.sheet__rows {
  position: relative;
  z-index: 1;
  margin-top: 8px;
}
.sheet__rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}
.sheet__rows > div:last-child {
  border-bottom: 0;
}
.sheet__rows dt {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sheet__rows dd {
  color: #e2dbea;
  font-size: 12.5px;
  font-weight: 700;
  text-align: right;
}
.sheet__motto {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 2px solid var(--gold-3);
  border-radius: 0 10px 10px 0;
  background: rgba(233, 196, 106, 0.045);
  color: #c9c1d5;
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  line-height: 1.45;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
}
.steps--three {
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: calc(25% - 22px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(233, 196, 106, 0.32) 12%,
    rgba(233, 196, 106, 0.32) 88%,
    transparent
  );
  pointer-events: none;
}
.steps--three::before {
  right: calc(33.333% - 22px);
}
.step {
  position: relative;
  padding-top: 58px;
}
.step__num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(233, 196, 106, 0.4);
  border-radius: 50%;
  background: var(--bg);
  color: var(--gold);
  font-family: var(--font-logo);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 5px var(--bg);
  z-index: 1;
}
.section--alt .step__num {
  box-shadow: 0 0 0 5px #0a0910;
}
.step h3,
.step h4 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: clamp(38px, 5vw, 58px);
  padding: 20px 22px;
  border: 1px solid rgba(233, 196, 106, 0.18);
  border-left: 2px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(233, 196, 106, 0.065), rgba(233, 196, 106, 0.015));
  color: #c8c0d3;
  font-size: 13px;
  line-height: 1.7;
}
.callout strong {
  color: var(--text);
}
.callout__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(233, 196, 106, 0.11);
  color: var(--gold);
}
.callout__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* ---------- WB farm ---------- */

.wb {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.95fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: start;
}
.wb__copy .lead {
  max-width: 60ch;
}
.wb__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--line-2);
  overflow: hidden;
}
.wb__facts li {
  padding: 16px 14px;
  background: #0a0810;
}
.wb__facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-2);
}
.wb__facts span {
  display: block;
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.wb__rules {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 2px solid rgba(233, 196, 106, 0.35);
}
.wb__rules p {
  margin: 12px 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}
.wb__rules strong {
  color: var(--text);
}
.wb__rules code,
.faq__body code {
  padding: 1px 5px;
  border: 1px solid rgba(233, 196, 106, 0.16);
  border-radius: 5px;
  background: rgba(233, 196, 106, 0.07);
  color: var(--gold-2);
  font-family: var(--font-body);
  font-size: 11px;
}
.wb__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.wb__hint {
  max-width: 48ch;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.6;
}

.party {
  padding: 22px;
  border: 1px solid rgba(233, 196, 106, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(110% 70% at 100% 0, rgba(157, 123, 255, 0.1), transparent 60%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: 0 28px 60px -38px rgba(0, 0, 0, 0.85);
}
.party__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line-2);
  color: var(--gold);
  font-family: var(--font-logo);
  font-size: 8.5px;
  letter-spacing: 0.2em;
}
.party__list {
  margin-top: 6px;
}
.party__list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7.5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.party__list li:last-child {
  border-bottom: 0;
}
.party__num {
  font-family: var(--font-logo);
  font-size: 8.5px;
  color: var(--muted-2);
}
.party__role {
  color: #d8d0e3;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
}
.party__list li.is-core .party__role {
  color: var(--gold-2);
}
.party__group {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0 6px !important;
  border-bottom: 1px solid rgba(233, 196, 106, 0.18) !important;
  color: var(--gold);
  font-family: var(--font-logo);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.party__group span:last-child {
  color: var(--muted-2);
}
.party__group--scouts {
  margin-top: 6px;
  padding-top: 16px !important;
  border-top: 1px solid rgba(233, 196, 106, 0.18);
}
.party__group--scouts ~ li .party__role {
  color: var(--violet-2);
}
.party__group--scouts ~ li .party__tag {
  border-color: rgba(157, 123, 255, 0.25);
  color: var(--violet-2);
}
.party__tag {
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.party__note {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.6;
}

/* ---------- bosses ---------- */

.bosses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.bosses--single {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}
.boss {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.boss::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 0, rgba(157, 123, 255, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.boss::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.boss:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 196, 106, 0.28);
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.85);
}
.boss:hover::before,
.boss:hover::after {
  opacity: 1;
}
.boss__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  color: var(--gold);
  background: linear-gradient(155deg, rgba(233, 196, 106, 0.16), rgba(157, 123, 255, 0.09));
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}
.boss__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.boss h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
}
.boss p {
  min-height: 63px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.tags li {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #b7aec4;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- schedule ---------- */

.schedule {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 24px;
  align-items: stretch;
}
.runs {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.022);
  overflow: hidden;
}
.run {
  display: grid;
  grid-template-columns: 84px 130px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-2);
  transition: background-color 0.25s var(--ease);
}
.run:hover {
  background: rgba(233, 196, 106, 0.035);
}
.run__days {
  color: var(--gold);
  font-family: var(--font-logo);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.run__time {
  color: #dcd5e6;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}
.run__time span {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.run__title {
  color: #b9b1c5;
  font-size: 12.5px;
}
.run__tag {
  padding: 5px 10px;
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.05);
  color: #9fe9dc;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.runs__note {
  padding: 16px 24px;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.6;
}

.next-run {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 26px;
  border: 1px solid rgba(233, 196, 106, 0.25);
  border-radius: var(--radius);
  background:
    radial-gradient(110% 80% at 50% 0, rgba(157, 123, 255, 0.16), transparent 60%),
    linear-gradient(160deg, rgba(35, 28, 49, 0.9), rgba(10, 8, 14, 0.98));
  text-align: center;
  overflow: hidden;
}
.next-run::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.next-run__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.5);
  animation: pulseDot 2.2s infinite;
}
.countdown--big {
  margin: 18px 0 10px;
  gap: 6px;
}
.countdown--big span {
  min-width: 2.15em;
  padding: 10px 10px;
  font-size: 2.05rem;
  border-color: rgba(233, 196, 106, 0.22);
  background: rgba(0, 0, 0, 0.24);
}
.countdown--big i {
  font-size: 1.4rem;
}
.next-run__zone {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.next-run .btn {
  width: 100%;
  margin-top: 22px;
}
.next-run__hint {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

/* ---------- recruitment ---------- */

.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.fit__panel {
  position: relative;
  padding: 28px 28px 24px;
  border: 1px solid;
  border-radius: var(--radius);
  overflow: hidden;
}
.fit__panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}
.fit__panel--yes {
  border-color: rgba(94, 234, 212, 0.18);
  background: linear-gradient(160deg, rgba(94, 234, 212, 0.055), rgba(255, 255, 255, 0.012));
}
.fit__panel--yes::after {
  background: rgba(94, 234, 212, 0.08);
}
.fit__panel--no {
  border-color: rgba(248, 113, 113, 0.16);
  background: linear-gradient(160deg, rgba(248, 113, 113, 0.045), rgba(255, 255, 255, 0.012));
}
.fit__panel--no::after {
  background: rgba(248, 113, 113, 0.06);
}
.fit__panel h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.15;
}
.fit__panel ul {
  margin-top: 18px;
}
.fit__panel li {
  position: relative;
  padding-left: 30px;
  margin: 12px 0;
  color: #b9b1c5;
  font-size: 12.5px;
  line-height: 1.55;
}
.fit__panel li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}
.fit__panel--yes li::before {
  content: "✓";
  border: 1px solid rgba(94, 234, 212, 0.25);
  color: var(--green);
  background: rgba(94, 234, 212, 0.06);
}
.fit__panel--no li::before {
  content: "✕";
  border: 1px solid rgba(248, 113, 113, 0.22);
  color: var(--red);
  background: rgba(248, 113, 113, 0.055);
}

.fit__note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.6;
}

.wb__leech {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(233, 196, 106, 0.16);
  border-radius: 10px;
  background: rgba(233, 196, 106, 0.045);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.65;
}
.wb__leech strong {
  color: var(--gold-2);
}

.ticket-box {
  position: relative;
  margin-top: clamp(42px, 5vw, 64px);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(233, 196, 106, 0.26);
  border-radius: 22px;
  background:
    radial-gradient(90% 80% at 100% 0, rgba(157, 123, 255, 0.12), transparent 58%),
    linear-gradient(155deg, rgba(35, 28, 49, 0.75), rgba(10, 8, 14, 0.96));
  box-shadow: 0 30px 70px -44px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.ticket-box::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.ticket-box__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.ticket-box__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(233, 196, 106, 0.3);
  border-radius: 999px;
  background: rgba(233, 196, 106, 0.08);
  color: var(--gold-2);
  font-family: var(--font-logo);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ticket-box__meta {
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ticket-box h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.05;
}
.ticket-box > p {
  max-width: 78ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}
.ticket-box > p strong {
  color: var(--text);
}
.ticket-box code {
  padding: 1px 5px;
  border: 1px solid rgba(233, 196, 106, 0.16);
  border-radius: 5px;
  background: rgba(233, 196, 106, 0.07);
  color: var(--gold-2);
  font-family: var(--font-body);
  font-size: 11px;
}
.ticket-box ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin-top: 22px;
}
.ticket-box li {
  position: relative;
  padding-left: 22px;
  color: #c3bbce;
  font-size: 12px;
  line-height: 1.55;
}
.ticket-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}
.ticket-box li strong {
  color: var(--text);
}
.ticket-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.ticket-box__note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.6;
}

.roles {
  margin-top: clamp(42px, 5vw, 64px);
}
.roles__title,
.path__title {
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.roles__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.role {
  padding: 20px 18px;
  border: 1px solid var(--line-2);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.role:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 196, 106, 0.22);
  background: rgba(233, 196, 106, 0.04);
}
.role__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 9px;
  background: rgba(233, 196, 106, 0.08);
  color: var(--gold);
}
.role__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.role h4 {
  font-size: 13px;
  font-weight: 800;
}
.role p {
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.5;
}

.path {
  margin-top: clamp(48px, 6vw, 74px);
}
.path .steps h4 {
  font-size: 13.5px;
}

/* ---------- faq ---------- */

.faq-head {
  margin-bottom: 34px;
}
.faq-head h2 {
  max-width: 800px;
}
.faq {
  max-width: 900px;
  border-top: 1px solid var(--line-2);
}
.faq__item {
  border-bottom: 1px solid var(--line-2);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  color: #e5dfec;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary:hover {
  color: var(--gold-2);
}
.faq__item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary {
  color: var(--gold-2);
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq__item[open] .faq__body {
  grid-template-rows: 1fr;
}
.faq__body > div {
  overflow: hidden;
}
.faq__body p {
  max-width: 760px;
  padding: 0 4px 20px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

/* ---------- live roster ---------- */

.roster {
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background:
    radial-gradient(100% 80% at 100% 0, rgba(157, 123, 255, 0.07), transparent 55%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}
.roster__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.018);
}
.roster__tabs {
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
}
.roster__tabs::-webkit-scrollbar {
  display: none;
}
.roster__tab {
  flex: 0 0 auto;
  min-width: 104px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.roster__tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.roster__tab.is-active {
  border-color: rgba(233, 196, 106, 0.3);
  background: rgba(233, 196, 106, 0.09);
  color: var(--gold-2);
}
.roster__tab-time {
  display: block;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.roster__tab-utc {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.roster__meta {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.roster__panel {
  padding: clamp(18px, 3vw, 30px);
}
.roster__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.roster__date {
  display: block;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.roster__title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.1;
}
.roster__source {
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.roster__body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 26px;
  align-items: start;
}
.roster__group {
  min-width: 0;
}
.roster__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(233, 196, 106, 0.2);
  color: var(--gold);
  font-family: var(--font-logo);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.roster__group-count {
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.roster__group--scouts .roster__group-head {
  border-bottom-color: rgba(157, 123, 255, 0.25);
  color: var(--violet-2);
}
.roster__row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.roster__row:last-child {
  border-bottom: 0;
}
.roster__row.is-me {
  margin: 2px -7px;
  padding: 5px 7px;
  border: 1px solid rgba(233, 196, 106, 0.22);
  border-radius: 8px;
  background: rgba(233, 196, 106, 0.06);
  box-shadow: inset 2px 0 0 var(--gold);
}
.roster__num {
  color: var(--muted-2);
  font-family: var(--font-logo);
  font-size: 8px;
}
.roster__role {
  color: #d9d1e3;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  min-width: 0;
}
.roster__row.is-scout .roster__role {
  color: var(--violet-2);
}
.roster__users {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
  min-width: 0;
}
.roster__user {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: #cfc7da;
  font-size: 10px;
  font-weight: 600;
}
.roster__user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 150px;
}
.roster__avatar {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  object-fit: cover;
}
.roster__avatar--fallback {
  display: inline-grid;
  place-items: center;
  background: rgba(233, 196, 106, 0.1);
  color: var(--gold-2);
  font-size: 9px;
  font-weight: 800;
}
.roster__sep {
  color: var(--muted-2);
  font-size: 9px;
}
.roster__you {
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(233, 196, 106, 0.14);
  color: var(--gold-2);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.roster__free {
  color: var(--muted-2);
  font-size: 9.5px;
  font-style: italic;
  text-align: right;
}
.roster__empty {
  margin-bottom: 14px;
  padding: 11px 13px;
  border: 1px dashed rgba(233, 196, 106, 0.2);
  border-radius: 9px;
  background: rgba(233, 196, 106, 0.035);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}
.roster__missing {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line-2);
}
.roster__missing-label {
  padding-top: 3px;
  color: var(--gold);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.roster__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.roster__chip {
  padding: 3px 8px;
  border: 1px solid rgba(233, 196, 106, 0.16);
  border-radius: 999px;
  background: rgba(233, 196, 106, 0.045);
  color: #c8c0d3;
  font-size: 8.5px;
  font-weight: 700;
}
.roster__all-filled {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.roster__auth {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.16);
}
.roster__auth-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(233, 196, 106, 0.2);
  border-radius: 9px;
  background: rgba(233, 196, 106, 0.07);
  color: var(--gold);
  font-size: 15px;
}
.roster__auth-info {
  flex: 1;
  min-width: 0;
}
.roster__auth-label {
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.roster__auth-name {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  color: var(--text);
  font-size: 12px;
}
.roster__auth-title {
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
}
.roster__badge {
  display: inline-block;
  margin-top: 3px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.roster__badge--ok {
  border: 1px solid rgba(94, 234, 212, 0.2);
  background: rgba(94, 234, 212, 0.06);
  color: var(--green);
}
.roster__badge--invite {
  border: 1px solid rgba(233, 196, 106, 0.2);
  background: rgba(233, 196, 106, 0.06);
  color: var(--gold-2);
}
.roster__badge--no {
  border: 1px solid rgba(248, 113, 113, 0.18);
  background: rgba(248, 113, 113, 0.05);
  color: var(--red);
}
.roster__auth-status {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.roster__auth-status--ok {
  color: var(--green);
}
.roster__auth-note,
.roster__auth-other {
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.5;
}
.roster__auth-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.roster__link {
  color: var(--muted-2);
  font-size: 9.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.roster__link:hover {
  color: var(--gold);
}
.roster__auth .btn--sm {
  min-height: 34px;
  padding: 7px 13px;
  font-size: 10px;
}
.roster__loading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 90px;
  padding: 20px;
  color: var(--muted);
  font-size: 11px;
}
.roster__spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(233, 196, 106, 0.18);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
.roster__error {
  padding: 20px;
  border: 1px dashed rgba(233, 196, 106, 0.22);
  border-radius: 12px;
  background: rgba(233, 196, 106, 0.03);
}
.roster__error strong {
  display: block;
  color: var(--text);
  font-size: 12px;
  line-height: 1.55;
}
.roster__error p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 10px;
}
.roster__error .btn {
  margin-top: 10px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- finale ---------- */

.finale {
  padding: clamp(40px, 6vw, 76px) 0 clamp(64px, 8vw, 100px);
}
.finale__panel {
  position: relative;
  padding: clamp(40px, 7vw, 82px) clamp(24px, 6vw, 80px);
  border: 1px solid rgba(233, 196, 106, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(100% 100% at 50% 0, rgba(157, 123, 255, 0.16), transparent 58%),
    radial-gradient(70% 80% at 100% 100%, rgba(233, 196, 106, 0.08), transparent 60%),
    linear-gradient(160deg, #171221, #0a0810 70%);
  text-align: center;
  overflow: hidden;
}
.finale__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.finale__mask {
  position: absolute;
  right: -46px;
  bottom: -54px;
  width: 420px;
  height: 420px;
  opacity: 0.055;
  transform: rotate(-8deg);
  pointer-events: none;
}
.finale .eyebrow {
  justify-content: center;
}
.finale h2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(2.8rem, 6vw, 5rem);
}
.finale__lead {
  position: relative;
  z-index: 1;
  max-width: 570px;
  margin: 20px auto 0;
  color: #b9b1c5;
  font-size: 13.5px;
  line-height: 1.75;
}
.finale__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.finale__hint {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 0.03em;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-2);
  padding: 46px 0 34px;
  background: rgba(0, 0, 0, 0.18);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer__brand p {
  max-width: 280px;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.6;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer__nav a {
  width: fit-content;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}
.footer__nav a:hover {
  color: var(--gold);
}
.footer__legal {
  text-align: right;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.7;
}
.site-footer .brand__mask {
  width: 34px;
  height: 34px;
}
.site-footer .brand__name {
  font-size: 13px;
}

/* ---------- sticky mobile cta / toast ---------- */

.sticky-cta {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border: 1px solid rgba(233, 196, 106, 0.3);
  border-radius: 999px;
  background: rgba(15, 12, 22, 0.96);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.9);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  backdrop-filter: blur(12px);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.features .feature:nth-child(2),
.bosses .boss:nth-child(2),
.roles__grid .role:nth-child(2),
.steps .step:nth-child(2) {
  transition-delay: 0.07s;
}
.features .feature:nth-child(3),
.bosses .boss:nth-child(3),
.roles__grid .role:nth-child(3),
.steps .step:nth-child(3) {
  transition-delay: 0.14s;
}
.features .feature:nth-child(4),
.bosses .boss:nth-child(4),
.roles__grid .role:nth-child(4),
.steps .step:nth-child(4) {
  transition-delay: 0.21s;
}
.roles__grid .role:nth-child(5) {
  transition-delay: 0.28s;
}
.roles__grid .role:nth-child(6) {
  transition-delay: 0.35s;
}
.roles__grid .role:nth-child(7) {
  transition-delay: 0.42s;
}
.roles__grid .role:nth-child(8) {
  transition-delay: 0.49s;
}
.roles__grid .role:nth-child(9) {
  transition-delay: 0.56s;
}
.roles__grid .role:nth-child(10) {
  transition-delay: 0.63s;
}

/* ---------- animations ---------- */

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(105%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.45);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(94, 234, 212, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(94, 234, 212, 0);
  }
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.95fr);
    gap: 42px;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .sheet {
    position: static;
    max-width: 560px;
  }
  .bosses {
    grid-template-columns: 1fr 1fr;
  }
  .boss p {
    min-height: 42px;
  }
  .wb {
    grid-template-columns: 1fr;
  }
  .party {
    max-width: 560px;
  }
  .roles__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .schedule {
    grid-template-columns: 1fr;
  }
  .roster__body {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .footer__legal {
    grid-column: 1 / -1;
    text-align: left;
    border-top: 1px solid var(--line-2);
    padding-top: 18px;
  }
}

@media (max-width: 940px) {
  .nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - 78px);
    padding: 10px 24px 28px;
    border-bottom: 1px solid var(--line-2);
    background: rgba(9, 8, 14, 0.985);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
    overflow-y: auto;
    backdrop-filter: blur(20px);
  }
  .nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav a {
    padding: 15px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 0;
    font-size: 15px;
  }
  .nav a.is-active::after {
    display: none;
  }
  .burger {
    display: flex;
  }
  .header__cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 54px;
  }
  .hero__card-wrap {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }
  .pass {
    transform: rotate(-1deg);
  }
  .hero__note {
    justify-content: center;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }
  .stats > div:nth-child(4) {
    border-top: 1px solid var(--line-2);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .section-head .lead {
    max-width: 620px;
  }

  .steps,
  .steps--three {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .steps::before {
    display: none;
  }
  .step__num {
    box-shadow: none;
    background: var(--bg-3);
  }
  .section--alt .step__num {
    box-shadow: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer__legal {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  :root {
    --container: calc(100% - 32px);
  }
  .site-header {
    height: 70px;
  }
  .nav {
    top: 70px;
    max-height: calc(100svh - 70px);
  }
  .brand__mask {
    width: 33px;
    height: 33px;
  }
  .brand__name {
    font-size: 13px;
  }
  .brand__sub {
    font-size: 7px;
  }

  .hero {
    padding-top: 112px;
    padding-bottom: 46px;
  }
  .hero__title {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }
  .hero__lead {
    margin-top: 22px;
    font-size: 0.96rem;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    width: 100%;
  }
  .hero__meta {
    gap: 8px 16px;
    font-size: 10px;
  }
  .pass {
    padding: 20px 20px 18px;
    transform: none;
  }
  .pass__divider {
    margin-inline: -20px;
  }
  .pass__brand strong {
    font-size: 20px;
  }
  .countdown span {
    font-size: 1.3rem;
  }
  .stats dt {
    font-size: 8.5px;
  }

  .section {
    padding: 72px 0;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .feature p {
    max-width: 40ch;
  }
  .sheet {
    padding: 22px;
  }
  .sheet::after {
    font-size: 48px;
  }

  .bosses {
    grid-template-columns: 1fr;
  }
  .boss p {
    min-height: 0;
  }
  .boss__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
  }

  .run {
    grid-template-columns: 1fr auto;
    gap: 6px 14px;
    padding: 18px 20px;
  }
  .run__days {
    grid-column: 1;
  }
  .run__time {
    grid-column: 2;
    text-align: right;
  }
  .run__title {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .run__tag {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 6px;
  }
  .runs__note {
    padding: 16px 20px;
  }
  .next-run {
    padding: 28px 20px;
  }
  .countdown--big span {
    font-size: 1.7rem;
  }

  .fit {
    grid-template-columns: 1fr;
  }
  .fit__panel {
    padding: 24px 22px;
  }

  .roster__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .roster__tabs {
    width: 100%;
  }
  .roster__panel {
    padding: 16px;
  }
  .roster__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .roster__row {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 4px 9px;
    padding: 7px 0;
  }
  .roster__users,
  .roster__free {
    grid-column: 2;
    justify-content: flex-start;
    text-align: left;
  }
  .roster__user-name {
    max-width: 220px;
  }
  .roster__auth {
    flex-wrap: wrap;
  }
  .roster__auth-info {
    flex-basis: calc(100% - 50px);
  }

  .roles__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ticket-box ul {
    grid-template-columns: 1fr;
  }
  .ticket-box__top {
    flex-wrap: wrap;
  }
  .ticket-box__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .ticket-box__actions .btn {
    width: 100%;
  }

  .wb__facts {
    grid-template-columns: 1fr 1fr;
  }
  .wb__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .wb__actions .btn {
    width: 100%;
  }
  .party {
    padding: 18px;
  }

  .steps,
  .steps--three {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .step {
    padding-top: 0;
    padding-left: 58px;
    min-height: 44px;
  }
  .step__num {
    top: 0;
    left: 0;
  }
  .step h3,
  .step h4 {
    padding-top: 4px;
  }

  .faq__item summary {
    font-size: 13px;
    padding: 18px 2px;
  }

  .finale__panel {
    border-radius: 22px;
  }
  .finale__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .finale__actions .btn {
    width: 100%;
  }
  .finale__mask {
    width: 300px;
    height: 300px;
    right: -110px;
    bottom: -80px;
  }

  .site-footer {
    padding-bottom: 104px;
  }
  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-2);
    background: rgba(8, 7, 12, 0.9);
    backdrop-filter: blur(16px);
  }
  .sticky-cta .btn {
    width: 100%;
    min-height: 48px;
  }
  .toast {
    bottom: 80px;
  }
}

@media (max-width: 420px) {
  .hero__title {
    font-size: 2.55rem;
  }
  .badge {
    font-size: 9px;
    padding: 7px 11px;
  }
  .roles__grid {
    grid-template-columns: 1fr;
  }
  .stats > div {
    padding: 16px 14px;
  }
  .stats dd {
    font-size: 1.75rem;
  }
  .countdown span {
    min-width: 2em;
    padding: 6px;
    font-size: 1.15rem;
  }
  .countdown--big span {
    font-size: 1.45rem;
  }
}

@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;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .marquee__track {
    animation: none;
  }
}
