:root {
  --bg: #0f172a;
  --panel: #111c31;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.22);
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --danger: #f87171;
  --success: #4ade80;
  --radius: 8px;
  --shadow: 0 18px 60px rgba(2, 6, 23, 0.28);
}

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

[hidden] { display: none !important; }

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 34rem),
    var(--bg);
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-main {
  flex: 1;
}

.site-nav {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.site-nav::-webkit-scrollbar { display: none; }

.nav-brand {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-brand:hover,
.nav-link:hover {
  text-decoration: none;
}

.nav-menu {
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.nav-links--main {
  flex: 1;
  justify-content: center;
}

.nav-links--auth {
  justify-content: flex-end;
}

.nav-link {
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.82rem;
  padding: 4px 9px;
  white-space: nowrap;
  transition: background 0.14s, color 0.14s;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--text);
}

.nav-link--active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link--danger {
  color: var(--danger);
}

.nav-link--admin {
  color: var(--muted);
  border-color: rgba(255,255,255,0.12);
}

.nav-user {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  padding: 14px 24px;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.footer-brand__name {
  color: var(--text);
  font-weight: 700;
}

.footer-brand__tagline,
.footer-copy {
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.footer-link {
  color: var(--muted);
}

.footer-copy {
  margin: 0;
  text-align: right;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  padding: 11px 18px;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: #082f49;
}

.btn--primary:hover {
  background: var(--accent-strong);
  color: #f0f9ff;
}

.btn--ghost,
.btn--secondary,
.btn--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-header {
  margin-bottom: 48px;
  max-width: 680px;
}

.page-eyebrow {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.page-title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 16px;
}

.page-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.feature-card,
.landing-step,
.landing-link-card,
.landing-news-card,
.guide-chapter,
.content-section-public {
  background: rgba(17, 28, 49, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 22px;
}

.feature-card__title,
.cms-block__title {
  font-size: 1rem;
  margin: 0 0 10px;
}

.feature-card__desc,
.prose-text,
.guide-chapter p {
  color: var(--muted);
  line-height: 1.6;
}

.prose-text p {
  margin: 0 0 14px;
}

.content-section-public {
  padding: 24px;
}

.guide-chapter-list {
  display: grid;
  gap: 14px;
}

.guide-chapter {
  padding: 20px;
}

.guide-chapter h2 {
  font-size: 1rem;
  margin: 0 0 10px;
}

.guide-chapter__num {
  color: #fbbf24;
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.landing {
  max-width: 1120px;
  margin: 0 auto;
  padding: 76px 24px 96px;
  position: relative;
}

.landing::before {
  animation: landingGlow 12s ease-in-out infinite alternate;
  background:
    radial-gradient(circle at 18% 18%, rgba(251, 191, 36, 0.18), transparent 26rem),
    radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.16), transparent 22rem);
  content: "";
  inset: -58px calc(50% - 50vw) auto;
  height: 620px;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.landing__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.landing-countdown {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(30, 41, 59, 0.92), rgba(17, 24, 39, 0.86)),
    radial-gradient(circle at 18% 12%, rgba(251, 191, 36, 0.18), transparent 22rem);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.3);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  margin: 0 0 34px;
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.landing-countdown::before {
  background: linear-gradient(90deg, #fbbf24, #38bdf8, #f97316);
  content: "";
  height: 3px;
  inset: 0 0 auto;
  position: absolute;
}

.landing-countdown__eyebrow,
.landing-section__eyebrow {
  color: #fbbf24;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.landing-countdown h2,
.landing-section__title {
  color: #fff7ed;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.08;
  margin: 0 0 10px;
  text-wrap: balance;
}

.landing-countdown p,
.landing-section__lead,
.landing-step p,
.landing-link-card span,
.landing-news-card p {
  color: #cbd5e1;
  line-height: 1.7;
  margin: 0;
}

.landing-countdown__timer {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-countdown__unit {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius);
  min-width: 0;
  padding: 14px 8px 12px;
  text-align: center;
}

.landing-countdown__unit strong {
  color: #fde68a;
  display: block;
  font-size: clamp(1.45rem, 4vw, 2.45rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.landing-countdown__unit span {
  color: var(--muted);
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-top: 8px;
  text-transform: uppercase;
}

.landing .cms-block--hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  margin-bottom: 62px;
  max-width: none;
  min-height: 520px;
}

.landing .cms-hero__copy {
  max-width: 690px;
}

.landing .cms-block--hero .page-eyebrow {
  color: #fbbf24;
}

.landing .cms-block--hero .page-title {
  color: #fff7ed;
  font-size: clamp(3rem, 8vw, 6.7rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin: 0 0 24px;
  max-width: 760px;
  text-wrap: balance;
}

.landing .cms-block--hero .page-subtitle {
  color: #cbd5e1;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.75;
  margin: 0 0 30px;
  max-width: 640px;
}

.landing .cms-block--hero .btn--primary {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  box-shadow: 0 18px 46px rgba(249, 115, 22, 0.28);
  color: #241207;
}

.landing .cms-block--hero .btn--ghost {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(251, 191, 36, 0.28);
  color: #fde68a;
}

.cms-hero-scene {
  display: none;
}

.landing .cms-hero-scene {
  display: block;
  min-height: 450px;
  position: relative;
}

.cms-hero-scene__halo {
  animation: pulseHalo 5s ease-in-out infinite;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.24), transparent 64%);
  border-radius: 50%;
  filter: blur(12px);
  height: 420px;
  left: 50%;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 420px;
}

.cms-hero-scene__window {
  animation: floatScene 6s ease-in-out infinite;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(180deg, rgba(8, 13, 28, 0.35), rgba(8, 13, 28, 0.1)),
    radial-gradient(circle at 50% 72%, rgba(251, 191, 36, 0.28), transparent 22%),
    linear-gradient(160deg, #13213a 0%, #0d1729 52%, #24130b 100%);
  border: 1px solid rgba(255, 237, 213, 0.16);
  border-radius: 26px;
  box-shadow: 0 34px 90px rgba(2, 6, 23, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  margin-left: auto;
  max-width: 430px;
  overflow: hidden;
  position: relative;
}

.cms-hero-scene__stars {
  background-image:
    radial-gradient(circle, rgba(226, 232, 240, 0.95) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(125, 211, 252, 0.9) 0 1px, transparent 1.5px);
  background-position: 10px 20px, 70px 60px;
  background-size: 90px 80px, 130px 110px;
  inset: 0;
  opacity: 0.32;
  position: absolute;
}

.cms-hero-scene__mountain,
.cms-hero-scene__roof,
.cms-hero-scene__fire,
.cms-hero-scene__anvil,
.cms-hero-scene__smoke,
.cms-hero-scene__blade,
.cms-hero-scene__ember,
.cms-hero-scene__rune {
  position: absolute;
}

.cms-hero-scene__mountain {
  background: linear-gradient(135deg, #16233a, #263b5b);
  bottom: 122px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  height: 210px;
  width: 290px;
}

.cms-hero-scene__mountain--back { left: -50px; opacity: 0.7; }
.cms-hero-scene__mountain--front { background: linear-gradient(135deg, #1f2d46, #3b2a22); height: 250px; right: -70px; width: 360px; }

.cms-hero-scene__forge { bottom: 68px; height: 180px; left: 50%; transform: translateX(-50%); width: 230px; }
.cms-hero-scene__roof { background: linear-gradient(135deg, #7c2d12, #fb923c); clip-path: polygon(50% 0, 100% 42%, 90% 48%, 90% 100%, 10% 100%, 10% 48%, 0 42%); height: 145px; inset: 12px 0 auto; }
.cms-hero-scene__fire { animation: forgeFire 0.9s ease-in-out infinite alternate; background: radial-gradient(circle at 50% 65%, #fff7ed 0 10%, transparent 11%), radial-gradient(circle at 46% 58%, #fbbf24 0 24%, transparent 25%), radial-gradient(circle at 54% 56%, #f97316 0 38%, transparent 39%); border-radius: 50% 50% 42% 42%; bottom: 24px; height: 70px; left: 50%; transform: translateX(-50%); width: 82px; }
.cms-hero-scene__anvil { background: linear-gradient(180deg, #e2e8f0, #64748b); border-radius: 10px 10px 6px 6px; bottom: -18px; height: 38px; left: 50%; transform: translateX(-50%); width: 150px; }
.cms-hero-scene__anvil::before { background: #cbd5e1; border-radius: 8px; content: ""; height: 18px; left: -26px; position: absolute; top: 4px; width: 64px; }
.cms-hero-scene__smoke { animation: smokeRise 4s ease-in-out infinite; background: rgba(203, 213, 225, 0.28); border-radius: 50%; filter: blur(4px); height: 56px; top: -34px; width: 56px; }
.cms-hero-scene__smoke--one { left: 74px; }
.cms-hero-scene__smoke--two { animation-delay: 1.1s; left: 110px; top: -48px; }
.cms-hero-scene__blade { animation: bladeShine 3.6s ease-in-out infinite; background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.96), #67e8f9, rgba(226, 232, 240, 0.86), transparent); border-radius: 999px; bottom: 118px; box-shadow: 0 0 40px rgba(103, 232, 249, 0.38); height: 8px; left: 14%; transform: rotate(-17deg); width: 76%; }
.cms-hero-scene__ember { animation: emberLift 3.2s ease-in infinite; background: #fbbf24; border-radius: 50%; box-shadow: 0 0 18px #f97316; height: 7px; width: 7px; }
.cms-hero-scene__ember--one { animation-delay: 0.2s; bottom: 132px; left: 38%; }
.cms-hero-scene__ember--two { animation-delay: 1.1s; bottom: 116px; left: 59%; }
.cms-hero-scene__ember--three { animation-delay: 1.8s; bottom: 162px; left: 50%; }
.cms-hero-scene__rune { backdrop-filter: blur(16px); background: rgba(15, 23, 42, 0.76); border: 1px solid rgba(251, 191, 36, 0.22); border-radius: 999px; color: #fde68a; font-size: 0.78rem; font-weight: 800; padding: 8px 12px; }
.cms-hero-scene__rune--one { left: 10px; top: 86px; }
.cms-hero-scene__rune--two { right: 2px; top: 152px; }
.cms-hero-scene__rune--three { bottom: 70px; left: 42px; }

.landing .feature-card,
.landing-step,
.landing-link-card,
.landing-news-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
    rgba(17, 28, 49, 0.82);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.16);
}

.landing .feature-card {
  min-height: 170px;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.landing .feature-card::before {
  background: linear-gradient(180deg, #fbbf24, #38bdf8);
  border-radius: 999px;
  content: "";
  height: 36px;
  opacity: 0.7;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 4px;
}

.landing .feature-card:hover,
.landing-link-card:hover {
  background:
    linear-gradient(180deg, rgba(251, 191, 36, 0.08), rgba(56, 189, 248, 0.04)),
    rgba(17, 28, 49, 0.9);
  border-color: rgba(251, 191, 36, 0.34);
  text-decoration: none;
  transform: translateY(-4px);
}

.landing-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
  margin: 0 0 38px;
}

.landing-section__intro {
  margin: 0 0 18px;
  max-width: 760px;
}

.landing-section__actions {
  margin-top: 18px;
}

.landing-journey,
.landing-link-grid,
.landing-news-grid,
.landing-faq-grid,
.landing-guide-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-step,
.landing-link-card,
.landing-news-card,
.landing-faq-card,
.landing-guide-card {
  min-width: 0;
  padding: 22px;
}

.landing-step__num {
  align-items: center;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  border-radius: 999px;
  color: #241207;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 14px;
  width: 34px;
}

.landing-step h3,
.landing-news-card h3,
.landing-faq-card h3,
.landing-guide-card h3,
.landing-link-card strong {
  color: #fff7ed;
  font-size: 1.08rem;
  margin: 0 0 10px;
}

.landing-faq-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025)),
    rgba(17, 28, 49, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.16);
}

.landing-faq-card p {
  color: #cbd5e1;
  line-height: 1.7;
  margin: 0;
}

.landing-guide-card {
  background:
    linear-gradient(180deg, rgba(251,191,36,0.06), rgba(56,189,248,0.03)),
    rgba(17, 28, 49, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.16);
}

.landing-guide-card p {
  color: #cbd5e1;
  line-height: 1.7;
  margin: 0;
}

.landing-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.landing-inline-link {
  color: #fde68a;
  display: inline-flex;
  font-weight: 700;
  margin-top: 14px;
}

.landing-link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.landing-news-card__meta {
  color: #94a3b8;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.74rem;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.cookie-consent {
  align-items: center;
  background: #1a2a44;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-top: 3px solid var(--accent);
  border-radius: 10px;
  bottom: 18px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.3);
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto;
  left: 50%;
  max-width: min(860px, calc(100vw - 24px));
  padding: 14px 18px;
  position: fixed;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1200;
}

.cookie-consent__copy {
  display: grid;
  gap: 4px;
}

.cookie-consent__copy strong {
  color: var(--text);
  font-size: 0.95rem;
}

.cookie-consent__copy p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-consent__link {
  color: var(--accent);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-consent__actions .btn--ghost {
  border-color: rgba(148, 163, 184, 0.4);
  color: #cbd5e1;
}

.cookie-manage-panel {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0;
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 12px;
}

.cookie-category {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 10px 0;
}

.cookie-category:first-child {
  border-top: none;
}

.cookie-category__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cookie-category__info strong {
  color: var(--text);
  font-size: 0.85rem;
}

.cookie-category__info span,
.cookie-always-on {
  color: var(--muted);
  font-size: 0.78rem;
}

.cookie-always-on {
  color: var(--success);
  font-weight: 700;
}

.cookie-toggle-label {
  cursor: pointer;
  display: inline-block;
  flex-shrink: 0;
  height: 22px;
  position: relative;
  width: 40px;
}

.cookie-toggle-input {
  height: 0;
  opacity: 0;
  position: absolute;
  width: 0;
}

.cookie-toggle-slider {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 22px;
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: background 0.2s;
}

.cookie-toggle-slider::before {
  background: #fff;
  border-radius: 50%;
  bottom: 3px;
  content: "";
  height: 16px;
  left: 3px;
  position: absolute;
  transition: transform 0.2s;
  width: 16px;
}

.cookie-toggle-input:checked + .cookie-toggle-slider {
  background: var(--accent);
}

.cookie-toggle-input:checked + .cookie-toggle-slider::before {
  transform: translateX(18px);
}

.cookie-manage-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

@keyframes landingGlow {
  from { opacity: 0.78; transform: translateY(0); }
  to { opacity: 1; transform: translateY(22px); }
}

@keyframes floatScene {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50% { transform: translateY(-14px) rotate(0.6deg); }
}

@keyframes pulseHalo {
  0%, 100% { opacity: 0.64; transform: translate(-50%, -50%) scale(0.96); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

@keyframes forgeFire {
  from { filter: saturate(1) brightness(1); transform: translateX(-50%) scale(0.94); }
  to { filter: saturate(1.25) brightness(1.16); transform: translateX(-50%) scale(1.08); }
}

@keyframes smokeRise {
  0% { opacity: 0; transform: translateY(28px) scale(0.7); }
  25% { opacity: 0.42; }
  100% { opacity: 0; transform: translateY(-70px) scale(1.35); }
}

@keyframes bladeShine {
  0%, 100% { opacity: 0.62; filter: brightness(1); }
  45% { opacity: 1; filter: brightness(1.5); }
}

@keyframes emberLift {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-160px) translateX(34px) scale(1.1); }
}

@media (max-width: 980px) {
  .landing .cms-hero-scene__window,
  .landing .cms-hero-scene__halo,
  .landing .cms-hero-scene__fire,
  .landing .cms-hero-scene__smoke,
  .landing .cms-hero-scene__blade,
  .landing .cms-hero-scene__ember,
  .landing::before {
    animation: none;
  }
}

@media (max-width: 860px) {
  .site-nav {
    overflow: visible;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px 12px;
    background: rgba(15, 23, 42, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
    z-index: 100;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-links--main,
  .nav-links--auth {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
  }

  .nav-links--auth {
    border-top: 1px solid var(--line);
    margin-top: 6px;
    padding-top: 6px;
    justify-content: flex-start;
  }

  .nav-user {
    display: none;
  }

  .landing {
    padding-top: 48px;
  }

  .landing .cms-block--hero {
    gap: 30px;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .landing .cms-block--hero .page-title {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .landing .cms-hero-scene {
    min-height: 360px;
  }

  .cms-hero-scene__window {
    margin: 0 auto;
    max-width: 320px;
  }

  .cms-hero-scene__rune {
    display: none;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .landing-countdown,
  .landing-journey,
  .landing-link-grid,
  .landing-news-grid,
  .landing-faq-grid,
  .landing-guide-grid {
    grid-template-columns: 1fr;
  }

  .landing-countdown {
    padding: 18px;
  }

  .landing-countdown__timer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .cookie-consent {
    bottom: 10px;
    grid-template-columns: 1fr;
    padding: 12px 14px;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent__actions .btn {
    flex: 1 1 120px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing::before,
  .landing .cms-hero-scene__halo,
  .landing .cms-hero-scene__window,
  .landing .cms-hero-scene__fire,
  .landing .cms-hero-scene__smoke,
  .landing .cms-hero-scene__blade,
  .landing .cms-hero-scene__ember,
  .landing-link-card,
  .landing .feature-card {
    animation: none !important;
    transition: none !important;
  }
}
