@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Marcellus+SC&display=swap");

:root {
  --bg: #05070c;
  --bg-deep: #0a1018;
  --bg-soft: #101822;
  --panel: rgba(13, 18, 27, 0.48);
  --panel-strong: rgba(10, 14, 20, 0.82);
  --line: rgba(255, 209, 137, 0.14);
  --line-strong: rgba(255, 218, 160, 0.28);
  --text: #f4ecdf;
  --muted: #c8c0b4;
  --muted-soft: #8f9aae;
  --amber-soft: #ffd6a0;
  --success: #98dbb2;
  --error: #efabab;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --site-width: min(1440px, calc(100% - 44px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Trebuchet MS", Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 204, 133, 0.08), transparent 20%),
    radial-gradient(circle at 80% 12%, rgba(87, 164, 255, 0.08), transparent 16%),
    linear-gradient(180deg, #0b121a 0%, #070b10 34%, #05070c 100%);
}

.page-body.is-home {
  background:
    linear-gradient(180deg, rgba(6, 10, 16, 0.24) 0%, rgba(7, 11, 17, 0.5) 14%, rgba(8, 10, 15, 0.82) 48%, #06090d 70%, #05070c 100%),
    var(--home-backdrop) center top / cover no-repeat fixed;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(circle at 10% 24%, rgba(255, 196, 120, 0.04), transparent 18%),
    radial-gradient(circle at 78% 16%, rgba(163, 216, 255, 0.05), transparent 16%),
    radial-gradient(circle at 68% 76%, rgba(109, 176, 255, 0.04), transparent 14%);
  filter: blur(18px);
}

body::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 32%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.01) 0 1px, transparent 1px 82px);
  opacity: 0.14;
}

a {
  color: inherit;
}

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

code {
  font-family: Consolas, "Courier New", monospace;
}

.page-aurora,
.page-runes {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-aurora {
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 195, 128, 0.05), transparent 20%),
    radial-gradient(circle at 72% 62%, rgba(255, 120, 42, 0.05), transparent 18%);
}

.page-runes {
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 222, 168, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 21% 13%, rgba(255, 222, 168, 0.08) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 9%, rgba(255, 222, 168, 0.08) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 12%, rgba(255, 222, 168, 0.1) 0 1px, transparent 2px);
  opacity: 0.5;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 72px));
  margin: 0 auto;
  padding: 0 0 56px;
  display: grid;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.top-chips,
.top-chip-group,
.top-chip-links,
.nav,
.hero-actions,
.card-actions,
.footer-cta-actions,
.card-meta,
.submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.top-chips {
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}

.chip,
.eyebrow,
.card-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 7, 8, 0.34);
  color: var(--amber-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
}

.eyebrow,
.card-tag {
  background: rgba(255, 255, 255, 0.035);
}

.top-chip-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.topbar-shell,
.topbar,
.hero-copy,
.media-panel,
.panel,
.info-card,
.feature-card,
.leaderboard-card,
.news-card,
.news-feature-card,
.step-card,
.footer-cta,
.page-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.topbar-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 28px;
  border: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.topbar-shell::after {
  display: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.topbar-shell.is-scrolled {
  background: rgba(5, 9, 14, 0.12);
  backdrop-filter: none;
  box-shadow: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 0;
  overflow: hidden;
  border: none;
  background: transparent;
}

.brand-mark::after {
  display: none;
}

.brand-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  mix-blend-mode: screen;
  filter: brightness(1.14) contrast(1.08) drop-shadow(0 10px 24px rgba(68, 174, 255, 0.32));
}

.brand-copy strong,
.brand-copy small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-copy strong {
  font-family: "Marcellus SC", Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: 0.02em;
  color: #fff2dc;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.nav {
  justify-content: flex-end;
  gap: 22px;
  align-items: center;
}

.nav-link,
.button,
.button-secondary,
.action-button,
.submit-button,
.section-link,
.inline-link,
.media-tab,
.info-card,
.feature-card,
.leaderboard-card,
.news-card,
.news-feature-card,
.step-card,
.image-slot,
.gallery-card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 0 0 10px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #f6f1e8;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 700;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 161, 0.95), transparent);
  opacity: 0;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  transform: translateY(-1px);
  color: #ffe7bf;
  text-shadow: 0 0 18px rgba(255, 201, 123, 0.18);
  outline: none;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  opacity: 1;
}

.nav-link.cta {
  color: #ffe5c5;
}

.hero,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 24px;
}

.hero-home {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-height: 92vh;
  margin-top: -108px;
  padding: 212px 0 58px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-home::before,
.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-home::before {
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.14) 0%, rgba(7, 11, 18, 0.18) 12%, rgba(8, 10, 15, 0.54) 48%, rgba(5, 7, 10, 0.9) 100%),
    linear-gradient(90deg, rgba(5, 8, 14, 0.8) 0%, rgba(5, 8, 14, 0.24) 42%, rgba(6, 9, 15, 0.34) 100%),
    var(--hero-backdrop) center center / cover no-repeat;
}

.hero-home::after {
  background:
    radial-gradient(circle at 22% 26%, rgba(134, 201, 255, 0.14), transparent 18%),
    radial-gradient(circle at 76% 20%, rgba(255, 219, 161, 0.07), transparent 18%),
    linear-gradient(180deg, transparent 0%, rgba(5, 7, 11, 0.16) 26%, rgba(6, 6, 8, 0.3) 100%);
}

.hero-copy,
.panel,
.info-card,
.media-panel,
.feature-card,
.leaderboard-card,
.news-card,
.news-feature-card,
.step-card,
.footer-cta,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.hero-home .hero-copy {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  isolation: isolate;
  max-width: 560px;
  margin-left: clamp(10px, 2vw, 24px);
}

.hero-home > .hero-copy {
  z-index: 1;
}

.hero-home .hero-copy::before,
.hero-home .hero-copy::after,
.feature-card::after,
.leaderboard-card::after,
.news-card::after,
.step-card::after,
.footer-cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-home .hero-copy::before {
  inset: auto -12% -18% 24%;
  height: 280px;
  background:
    radial-gradient(circle at 22% 56%, rgba(255, 162, 75, 0.42), transparent 22%),
    radial-gradient(circle at 52% 54%, rgba(255, 102, 51, 0.2), transparent 28%),
    radial-gradient(circle at 72% 72%, rgba(255, 222, 166, 0.16), transparent 28%);
  filter: blur(22px);
  z-index: -1;
}

.hero-home .hero-copy::after {
  top: -14%;
  right: -5%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 218, 170, 0.12), transparent 68%);
  filter: blur(24px);
  z-index: -1;
}

.hero-title,
.page-title,
.section-display,
.section-title-lg,
.feature-card h2,
.leaderboard-card h3,
.news-card h3,
.news-feature-copy h2,
.step-card h3,
.faq-item h3 {
  font-family: "Marcellus SC", Georgia, "Times New Roman", serif;
}

.hero-title {
  margin: 18px 0 0;
  max-width: 7ch;
  font-size: clamp(52px, 8vw, 90px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-text,
.page-copy,
.section-copy,
.feature-card p,
.info-card p,
.news-card p,
.news-feature-copy p,
.step-card p,
.leaderboard-row small,
.article-body p,
.faq-item p,
.footer-cta-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 18px;
}

.hero-text-compact {
  max-width: 16ch;
  font-family: "Marcellus SC", Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2.8vw, 28px);
  line-height: 1.08;
  color: #f3e8d7;
}

.hero-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  color: #ddd5c8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-meta-line span {
  position: relative;
  padding-right: 18px;
}

.hero-meta-line span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 12px;
  background: rgba(255, 219, 171, 0.24);
  transform: translateY(-50%);
}

.home-realm-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 2px 0 0;
  color: #d6d0c7;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-realm-line code {
  padding: 0;
  border: none;
  background: transparent;
  color: #fff0d8;
  font-size: 15px;
}

.text-copy {
  padding: 0 0 6px;
  border: none;
  background: transparent;
  color: var(--amber-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  cursor: pointer;
  position: relative;
}

.home-visual-strip {
  padding-top: 20px;
}

.visual-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.visual-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: 24px 0;
  color: #fff3e3;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(7, 10, 16, 0.04) 0%, rgba(7, 10, 14, 0.24) 45%, rgba(7, 8, 10, 0.84) 100%),
    var(--visual-image) center center / cover no-repeat;
}

.visual-link::before,
.visual-link::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.visual-link::before {
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.02) 0%, rgba(7, 10, 15, 0.18) 28%, rgba(7, 9, 12, 0.9) 100%);
}

.visual-link::after {
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 145, 0.85), transparent);
  opacity: 0.62;
}

.visual-link > * {
  position: relative;
  z-index: 1;
}

.visual-link strong {
  margin-top: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 0.98;
  color: #fff0df;
}

.portal-label {
  display: inline-flex;
  width: fit-content;
  min-height: auto;
  padding: 0 0 10px;
  align-items: center;
  border: none;
  background: transparent;
  color: var(--amber-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
}

.visual-link:hover,
.visual-link:focus-visible {
  transform: translateY(-4px);
  outline: none;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.button {
  border: 1px solid rgba(255, 220, 170, 0.2);
  background: linear-gradient(180deg, rgba(255, 223, 178, 0.12), rgba(234, 122, 46, 0.1));
  color: #fff0dc;
  box-shadow: none;
}

.button-secondary {
  border: 1px solid rgba(194, 225, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button:hover,
.button-secondary:hover,
.button:focus-visible,
.button-secondary:focus-visible,
.submit-button:hover,
.submit-button:focus-visible,
.action-button:hover,
.action-button:focus-visible,
.section-link:hover,
.section-link:focus-visible,
.inline-link:hover,
.inline-link:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.stats-grid,
.panel-grid,
.news-grid,
.steps-grid,
.leaderboard-grid,
.gallery-grid {
  display: grid;
  gap: 16px;
}

.stats-grid {
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  padding: 16px;
  border: 1px solid rgba(255, 183, 108, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.stat-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  color: #fff2db;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.media-panel {
  padding: 18px;
  background: linear-gradient(180deg, rgba(10, 18, 30, 0.56), rgba(8, 10, 14, 0.78));
  border-color: rgba(194, 225, 255, 0.12);
}

.media-stage-shell,
.image-slot {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 184, 109, 0.18);
  background:
    radial-gradient(circle at 76% 16%, rgba(255, 194, 121, 0.15), transparent 16%),
    linear-gradient(180deg, rgba(55, 23, 13, 0.94), rgba(11, 8, 8, 0.94));
}

.media-stage-shell {
  min-height: 520px;
}

.media-stage-shell.compact {
  min-height: 340px;
}

.media-stage-shell::before,
.media-stage-shell::after,
.image-slot::before,
.image-slot::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.media-stage-shell::before,
.image-slot::before {
  inset: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 222, 179, 0.06);
}

.media-stage-shell::after,
.image-slot::after {
  inset: auto 0 0;
  height: 220px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18) 24%, rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 50% 0, rgba(255, 226, 182, 0.12), transparent 26%);
}

.media-visual,
.image-slot.has-image {
  background-image: var(--stage-image, none);
  background-size: cover;
  background-position: center;
}

.image-slot.has-image {
  background-image: var(--slot-image, none);
}

.media-visual {
  position: absolute;
  inset: 0;
  transition: transform 900ms ease;
}

.media-stage-shell:hover .media-visual,
.image-slot:hover {
  transform: scale(1.04);
}

.media-placeholder,
.image-slot:not(.has-image) {
  background:
    radial-gradient(circle at 76% 56%, rgba(131, 191, 255, 0.82), rgba(127, 193, 255, 0.16) 18%, transparent 19%),
    radial-gradient(circle at 76% 56%, rgba(255, 194, 115, 0.26), transparent 25%),
    linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.16)),
    linear-gradient(160deg, rgba(17, 31, 62, 0.68), rgba(7, 10, 18, 0.12));
}

.media-placeholder {
  position: absolute;
  inset: 0;
}

.media-placeholder::before,
.media-placeholder::after,
.image-slot:not(.has-image)::before,
.image-slot:not(.has-image)::after {
  content: "";
  position: absolute;
  inset: auto;
}

.media-placeholder::before,
.image-slot:not(.has-image)::before {
  left: 18%;
  bottom: 15%;
  width: 36%;
  height: 30%;
  background: linear-gradient(180deg, rgba(34, 58, 104, 0.8), rgba(11, 18, 30, 0.92));
  clip-path: polygon(0 100%, 20% 36%, 42% 78%, 58% 48%, 78% 100%);
}

.media-placeholder::after,
.image-slot:not(.has-image)::after {
  right: 14%;
  bottom: 14%;
  width: 28%;
  height: 24%;
  background: linear-gradient(180deg, rgba(42, 67, 114, 0.84), rgba(10, 18, 30, 0.94));
  clip-path: polygon(0 100%, 18% 34%, 30% 56%, 44% 18%, 58% 50%, 76% 28%, 100% 100%);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(6, 6, 8, 0.28) 42%, rgba(7, 6, 6, 0.78)),
    radial-gradient(circle at 78% 22%, rgba(255, 196, 116, 0.18), transparent 18%);
}

.media-content {
  position: absolute;
  inset: auto 22px 22px 22px;
  z-index: 2;
  display: grid;
  gap: 12px;
}

.section-display,
.page-title {
  margin: 0;
  line-height: 0.95;
}

.section-display {
  max-width: 10ch;
  font-size: 38px;
}

.media-content p {
  max-width: 34ch;
  margin: 0;
  color: #edd9c3;
}

.media-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.media-tab {
  display: grid;
  gap: 9px;
  padding: 8px;
  border: 1px solid rgba(184, 214, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.media-tab:hover,
.media-tab:focus-visible,
.media-tab.active {
  transform: translateY(-3px);
  border-color: rgba(184, 214, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
  outline: none;
}

.media-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.42;
  border-radius: 13px;
  border: 1px solid rgba(255, 182, 104, 0.08);
  background: linear-gradient(180deg, rgba(255, 158, 68, 0.12), rgba(14, 9, 8, 0.84));
}

.media-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.48));
}

.media-thumb-art {
  width: 100%;
  height: 100%;
  transition: transform 450ms ease;
}

.media-thumb-art.has-image {
  background-image: var(--thumb-image, none);
  background-size: cover;
  background-position: center;
}

.media-tab:hover .media-thumb-art,
.media-tab:focus-visible .media-thumb-art,
.media-tab.active .media-thumb-art {
  transform: scale(1.08);
}

.media-tab strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.media-tab span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.panel-grid-3,
.news-grid,
.steps-grid,
.leaderboard-grid,
.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.leaderboard-card,
.step-card,
.news-card,
.news-feature-card,
.panel,
.info-card,
.footer-cta,
.page-hero {
  background: linear-gradient(180deg, rgba(27, 13, 10, 0.88), rgba(10, 8, 8, 0.92));
}

.feature-card::after,
.leaderboard-card::after,
.step-card::after,
.news-card::after,
.footer-cta::after {
  inset: auto -12% -24% 50%;
  height: 130px;
  background: radial-gradient(circle, rgba(255, 176, 89, 0.16), transparent 70%);
  filter: blur(12px);
  opacity: 0;
}

.feature-card:hover,
.leaderboard-card:hover,
.step-card:hover,
.news-card:hover,
.news-feature-card:hover,
.info-card:hover,
.gallery-card:hover {
  transform: translateY(-4px);
}

.feature-card:hover::after,
.leaderboard-card:hover::after,
.step-card:hover::after,
.news-card:hover::after,
.footer-cta:hover::after {
  opacity: 1;
}

.feature-card h2,
.section-title-lg {
  margin: 14px 0 0;
  font-size: 30px;
  line-height: 1.08;
  color: #fff1dd;
}

.feature-card p,
.leaderboard-card p,
.step-card p {
  margin: 12px 0 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head.compact {
  margin-bottom: 12px;
}

.section-title,
.news-card h3,
.leaderboard-card h3,
.step-card h3,
.faq-item h3 {
  margin: 10px 0 0;
  font-size: 24px;
  line-height: 1.08;
}

.section-link,
.inline-link {
  color: var(--amber-soft);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.news-card h3 a,
.news-feature-copy h2 a {
  text-decoration: none;
}

.news-card.is-featured {
  grid-column: span 2;
}

.card-meta {
  align-items: center;
  margin-top: 16px;
  color: var(--muted-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-stack,
.news-list-stack,
.faq-list,
.leaderboard-list,
.article-body {
  display: grid;
  gap: 16px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.info-list-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.info-list-item::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffd7a0, #ef7f34);
  box-shadow: 0 0 12px rgba(255, 144, 47, 0.4);
}

.code-block {
  display: block;
  margin-top: 14px;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(255, 185, 112, 0.12);
  background: rgba(5, 5, 6, 0.9);
  color: #ffd8a5;
  overflow-wrap: anywhere;
}

.action-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 182, 104, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  cursor: pointer;
}

.copy-feedback {
  min-height: 18px;
  margin-top: 8px;
  color: var(--success);
  font-size: 12px;
}

.step-index,
.rank-pill {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 183, 108, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--amber-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.leaderboard-list {
  margin-top: 18px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.leaderboard-row:first-child {
  border-top: none;
  padding-top: 0;
}

.leaderboard-row strong,
.leaderboard-copy strong {
  display: block;
  font-size: 15px;
  color: #fff0d5;
}

.leaderboard-row span {
  color: var(--amber-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.leaderboard-row small,
.leaderboard-copy small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.leaderboard-row.is-detailed {
  grid-template-columns: auto 1fr auto;
}

.news-feature-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
}

.news-feature-art,
.news-feature-copy {
  min-width: 0;
}

.news-feature-art .image-slot,
.article-cover.image-slot,
.image-slot-lg {
  min-height: 260px;
}

.image-slot {
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.image-slot span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 34px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 202, 139, 0.16);
  background: rgba(0, 0, 0, 0.22);
  color: var(--amber-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.gallery-card {
  display: grid;
  gap: 12px;
}

.gallery-card-copy {
  display: grid;
  gap: 8px;
}

.gallery-card-copy strong {
  color: #fff0d8;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gallery-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.page-title {
  margin-top: 18px;
  max-width: 12ch;
  font-size: clamp(42px, 6.6vw, 78px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-copy {
  max-width: 34ch;
  margin: 18px 0 0;
  font-size: 18px;
}

.realm-scene {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: end;
  margin-top: -92px;
  padding-top: 148px;
  background:
    linear-gradient(180deg, rgba(7, 12, 18, 0.08) 0%, rgba(7, 10, 16, 0.18) 24%, rgba(7, 9, 12, 0.86) 100%),
    var(--realm-scene) center center / cover no-repeat;
}

.realm-scene-copy {
  max-width: 560px;
  padding: 0 0 38px;
}

.free-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.free-gallery-item {
  position: relative;
  min-height: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 16, 0.04) 0%, rgba(7, 9, 12, 0.84) 100%),
    var(--free-image) center center / cover no-repeat;
}

.free-gallery-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 145, 0.82), transparent);
}

.free-gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  padding: 0 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff1de;
}

.server-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 4px;
}

.server-path-link {
  position: relative;
  padding-bottom: 10px;
  color: #f2e2c7;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
}

.server-path-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 161, 0.92), transparent);
  opacity: 0.6;
}

.article-shell {
  display: grid;
  gap: 24px;
}

.article-body p {
  margin: 0;
  font-size: 16px;
}

.faq-item {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item:first-child {
  padding-top: 0;
  border-top: none;
}

.faq-item h3 {
  margin: 0;
}

.faq-item p {
  margin: 10px 0 0;
}

.messages {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.message {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  line-height: 1.55;
}

.message.error {
  color: var(--error);
  border-color: rgba(239, 171, 171, 0.22);
  background: rgba(88, 18, 18, 0.18);
}

.message.success {
  color: var(--success);
  border-color: rgba(152, 219, 178, 0.22);
  background: rgba(18, 64, 43, 0.18);
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.field-hint {
  color: var(--muted-soft);
  font-size: 12px;
  line-height: 1.5;
}

.input-wrap {
  position: relative;
}

.input,
.input-wrap input {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border-radius: 15px;
  border: 1px solid rgba(255, 182, 104, 0.16);
  background: rgba(7, 7, 8, 0.92);
  color: var(--text);
  font-size: 15px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.input::placeholder,
.input-wrap input::placeholder {
  color: rgba(247, 235, 216, 0.34);
}

.input:focus,
.input-wrap input:focus {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(255, 182, 104, 0.34);
  box-shadow: 0 0 0 4px rgba(255, 167, 77, 0.12);
}

.input-wrap input {
  padding-right: 102px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  min-width: 80px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid rgba(255, 182, 104, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--amber-soft);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
}

.preview-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 182, 104, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.preview-card span {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
}

.preview-card strong {
  display: block;
  margin-top: 8px;
  color: #ffe1b5;
  font-size: 23px;
  overflow-wrap: anywhere;
}

.submit-row {
  align-items: center;
  justify-content: space-between;
}

.submit-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.submit-button {
  min-height: 56px;
  padding: 0 24px;
  border: none;
  background: linear-gradient(180deg, #ffd49f, #e8792d);
  color: #281108;
  font-weight: 700;
  box-shadow: 0 20px 30px rgba(232, 121, 45, 0.24);
}

.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  background:
    radial-gradient(circle at 84% 34%, rgba(255, 193, 122, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(35, 16, 11, 0.9), rgba(11, 8, 8, 0.95));
}

.footer-cta-copy h2 {
  margin: 16px 0 0;
  max-width: 18ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  text-transform: uppercase;
}

.footer-cta-copy p {
  max-width: 64ch;
  margin: 14px 0 0;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 26px;
  padding: 34px 0 84px;
  color: var(--muted-soft);
  font-size: 13px;
}

.site-footer div {
  display: grid;
  gap: 6px;
}

.site-footer strong {
  color: #ffe9c7;
  font-size: 16px;
}

.site-footer code {
  color: #ffd39a;
}

.hero-emblem {
  position: absolute;
  right: 10%;
  bottom: 4%;
  width: min(24vw, 300px);
  z-index: 1;
  opacity: 0.46;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-emblem img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 42px rgba(87, 183, 255, 0.26));
}

.visual-strip-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.visual-link {
  min-height: 380px;
  padding: 26px 18px;
}

.button,
.button-secondary {
  min-height: auto;
  padding: 0 0 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  position: relative;
}

.button {
  color: #fff0dc;
}

.button-secondary {
  color: var(--text);
}

.button::after,
.button-secondary::after,
.action-button::after,
.section-link::after,
.inline-link::after,
.text-copy::after,
.server-path-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 161, 0.95), transparent);
  opacity: 0.72;
}

.button:hover,
.button-secondary:hover,
.button:focus-visible,
.button-secondary:focus-visible,
.action-button:hover,
.action-button:focus-visible,
.inline-link:hover,
.inline-link:focus-visible {
  color: #ffe8c2;
}

.page-hero,
.panel,
.info-card,
.feature-card,
.leaderboard-card,
.news-card,
.news-feature-card,
.step-card {
  border: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.page-hero {
  min-height: 58vh;
  display: flex;
  align-items: end;
  margin-top: -92px;
  padding: 146px 0 30px;
  background:
    linear-gradient(180deg, rgba(8, 11, 17, 0.12) 0%, rgba(7, 10, 15, 0.18) 28%, rgba(7, 9, 12, 0.86) 100%),
    var(--page-scene) center center / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 218, 165, 0.07), transparent 18%),
    radial-gradient(circle at 22% 24%, rgba(130, 203, 255, 0.1), transparent 18%);
  pointer-events: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.panel,
.info-card,
.feature-card,
.leaderboard-card,
.news-card,
.news-feature-card,
.step-card {
  padding: 0;
}

.feature-card::after,
.leaderboard-card::after,
.step-card::after,
.news-card::after,
.footer-cta::after {
  display: none;
}

.section-link,
.inline-link,
.action-button {
  position: relative;
  padding: 0 0 10px;
  border: none;
  border-radius: 0;
  background: transparent;
}

.code-block {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.action-button,
.submit-button {
  border-radius: 0;
}

.action-button {
  min-height: auto;
  padding: 0 0 10px;
  border: none;
  background: transparent;
}

.submit-button {
  border: 1px solid rgba(255, 210, 150, 0.18);
  background: linear-gradient(180deg, rgba(255, 222, 170, 0.16), rgba(64, 111, 176, 0.26));
  color: #fff2dd;
  box-shadow: none;
}

.step-index,
.rank-pill {
  border-radius: 0;
  border: none;
  background: transparent;
}

.news-feature-card {
  gap: 26px;
}

.image-slot {
  padding: 22px 0;
  border: none;
  border-radius: 0;
}

.realm-scene,
.free-gallery-item,
.visual-link,
.image-slot,
.page-hero,
.hero-home {
  box-shadow: none;
}

.site-footer {
  padding: 34px 0 84px;
  border-top: 1px solid rgba(255, 216, 164, 0.08);
  text-align: center;
  justify-items: center;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: min(240px, 52vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 221, 174, 0.92), transparent);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero,
  .content-grid,
  .panel-grid-3,
  .news-grid,
  .steps-grid,
  .leaderboard-grid,
  .gallery-grid,
  .visual-strip-grid,
  .free-gallery,
  .site-footer,
  .footer-cta {
    grid-template-columns: 1fr;
  }

  .news-card.is-featured {
    grid-column: auto;
  }

  .news-feature-card {
    grid-template-columns: 1fr;
  }

  .media-stage-shell {
    min-height: 430px;
  }

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

  .hero-home {
    min-height: auto;
    padding-top: 184px;
  }

  .hero-emblem {
    width: min(40vw, 260px);
    opacity: 0.24;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100%, calc(100% - 16px));
    padding-top: 0;
  }

  .topbar-shell {
    position: static;
    width: 100%;
    margin-left: 0;
    padding: 0 4px;
    border-radius: 0;
  }

  .topbar {
    padding: 16px 0 10px;
  }

  .nav {
    justify-content: flex-start;
    gap: 18px;
  }

  .hero-copy,
  .media-panel,
  .panel,
  .info-card,
  .feature-card,
  .leaderboard-card,
  .news-card,
  .news-feature-card,
  .step-card,
  .footer-cta,
  .page-hero {
    padding: 20px;
  }

  .hero-title {
    font-size: clamp(40px, 12vw, 62px);
  }

  .page-title {
    font-size: clamp(36px, 10vw, 52px);
  }

  .hero-home {
    margin-top: 0;
    padding: 96px 0 20px;
  }

  .page-hero,
  .realm-scene {
    margin-top: 0;
    padding-top: 96px;
  }

  .hero-emblem {
    right: 2%;
    bottom: 10%;
    width: 42vw;
    opacity: 0.2;
  }

  .visual-link strong {
    font-size: 34px;
  }

  .hero-text,
  .page-copy {
    font-size: 16px;
  }

  .form-fields,
  .media-tabs {
    grid-template-columns: 1fr;
  }

  .media-stage-shell {
    min-height: 360px;
  }

  .submit-row,
  .footer-cta-actions {
    align-items: stretch;
  }

  .submit-button,
  .button,
  .button-secondary {
    width: auto;
  }
}
