@font-face {
  font-family: "LuminaMinecraft";
  src: url("./assets/fonts/press-start-2p.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --font-minecraft: "LuminaMinecraft", "Press Start 2P", monospace;
  --bg: #130c08;
  --bg-2: #1f130c;
  --panel: rgba(47, 29, 18, 0.9);
  --panel-2: rgba(72, 43, 25, 0.9);
  --wood: #7c4a28;
  --wood-dark: #3b2317;
  --gold: #f1be55;
  --gold-2: #ffd982;
  --cream: #fff2cc;
  --muted: #cfb88e;
  --green: #8bd45e;
  --blue: #59c9e5;
  --danger: #d96753;
  --line: rgba(255, 213, 128, 0.26);
  --shadow: rgba(0, 0, 0, 0.42);
  font-family: var(--font-minecraft);
  color: var(--cream);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 202, 96, 0.12), transparent 34rem),
    linear-gradient(180deg, #1d120c, #0d0806 70%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 225, 156, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 225, 156, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 78%);
}

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

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 10px clamp(16px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 213, 128, 0.28);
  background:
    linear-gradient(180deg, rgba(42, 26, 16, 0.96), rgba(22, 13, 9, 0.95)),
    rgba(23, 14, 9, 0.96);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-link img {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 34px rgba(255, 183, 67, 0.28);
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  color: var(--gold-2);
  font-size: 1.08rem;
  font-weight: 950;
  text-transform: uppercase;
}

.brand-text span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  min-height: 40px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #f7e6bd;
  font-weight: 850;
}

.nav-links a:hover,
.nav-links a.is-active {
  border-color: rgba(255, 213, 128, 0.28);
  background: rgba(255, 208, 112, 0.12);
  color: #fff7df;
}

.button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 232, 168, 0.46);
  border-radius: 8px;
  color: #21140d;
  background:
    linear-gradient(180deg, rgba(255, 238, 171, 0.42), transparent 45%),
    linear-gradient(180deg, #ffd875, #d79831);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 7px 0 rgba(76, 44, 21, 0.85),
    0 16px 26px rgba(0, 0, 0, 0.26);
  cursor: pointer;
  font-weight: 950;
  text-align: center;
}

.button:hover,
.copy-button:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.button--secondary {
  color: #fff5d6;
  background:
    linear-gradient(180deg, rgba(255, 238, 171, 0.2), transparent 50%),
    linear-gradient(180deg, #6b4128, #3b2316);
}

.button--blue {
  color: #f4fcff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 50%),
    linear-gradient(180deg, #32bdd8, #14718a);
}

.button--green {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 50%),
    linear-gradient(180deg, #96dd5f, #4a9d34);
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(860px, calc(100vh - 76px));
  align-items: center;
  padding: clamp(72px, 10vw, 122px) clamp(18px, 5vw, 72px) 92px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(19, 12, 8, 0.86), rgba(19, 12, 8, 0.28) 52%, rgba(19, 12, 8, 0.74)),
    linear-gradient(180deg, rgba(19, 12, 8, 0.06), rgba(19, 12, 8, 0.78) 92%),
    url("assets/lumina-hero.webp") center / cover no-repeat;
}

.hero::after,
.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 116px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  width: min(780px, 100%);
}

.official-logo {
  width: min(600px, 92vw);
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 42px rgba(255, 176, 55, 0.22));
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: #fff7dc;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 6px 0 rgba(63, 34, 17, 0.88), 0 22px 34px rgba(0, 0, 0, 0.42);
}

.hero-copy,
.page-hero p,
.section-head p {
  max-width: 740px;
  margin: 0;
  color: #ead5aa;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.62;
}

.hero-actions,
.button-row,
.community-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.server-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(650px, 100%);
  padding: 14px;
  border: 1px solid rgba(255, 213, 128, 0.28);
  border-radius: 10px;
  background: rgba(27, 17, 11, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 241, 195, 0.14), 0 16px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.server-card span {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.server-card strong {
  display: block;
  margin-top: 3px;
  color: #fff6dc;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e9d3a6;
  font-weight: 850;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.section {
  padding: 86px clamp(18px, 5vw, 72px);
}

.section--dark {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 192, 75, 0.08), transparent 32rem),
    linear-gradient(180deg, #120b08, #1c110c);
}

.section--wood {
  background:
    linear-gradient(90deg, rgba(28, 17, 11, 0.96), rgba(58, 35, 20, 0.92)),
    repeating-linear-gradient(90deg, #3d2618 0 92px, #311e14 92px 100px);
}

.section--image {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(14, 8, 5, 0.9), rgba(18, 11, 7, 0.48), rgba(14, 8, 5, 0.9)),
    linear-gradient(180deg, rgba(14, 8, 5, 0.18), rgba(14, 8, 5, 0.92)),
    url("assets/lumina-bridge.webp") center / cover no-repeat;
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin-bottom: 32px;
}

.eyebrow,
.card-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2,
.card h3,
.news-card h3,
.shop-card h3,
.step-card h3 {
  margin: 0;
  color: #fff4d3;
  line-height: 1.05;
}

.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  text-shadow: 0 5px 0 rgba(60, 32, 18, 0.7), 0 18px 28px rgba(0, 0, 0, 0.34);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(93, 54, 28, 0.88), rgba(35, 21, 13, 0.92)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 241, 195, 0.18), 0 22px 44px rgba(0, 0, 0, 0.28);
}

.panel p {
  margin: 0;
  color: #e5cda0;
  line-height: 1.7;
}

.panel h2 {
  margin: 8px 0 18px;
  color: #fff4d3;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

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

.stats-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 213, 128, 0.16);
}

.stats-list span {
  color: var(--muted);
  font-weight: 850;
}

.stats-list strong {
  color: #fff2c8;
}

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

.card-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card,
.news-card,
.shop-card,
.step-card {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(91, 54, 30, 0.9), rgba(32, 20, 13, 0.94)),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 195, 0.17),
    0 18px 34px rgba(0, 0, 0, 0.26);
}

.card::before,
.shop-card::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, transparent, rgba(255, 216, 126, 0.85), transparent);
  content: "";
}

.card-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(255, 227, 156, 0.32);
  border-radius: 10px;
  color: #21140d;
  background: linear-gradient(180deg, #ffdc7a, #c4802f);
  box-shadow: 0 0 28px rgba(255, 183, 67, 0.24);
  font-weight: 1000;
}

.card h3,
.news-card h3,
.shop-card h3,
.step-card h3 {
  font-size: 1.35rem;
}

.card p,
.news-card p,
.shop-card p,
.step-card p,
.support-list p {
  color: #dac294;
  line-height: 1.6;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(255, 213, 128, 0.32);
  border-radius: 14px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 213, 128, 0.16), transparent 20rem),
    linear-gradient(180deg, rgba(83, 48, 26, 0.95), rgba(31, 19, 12, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 241, 195, 0.18), 0 24px 44px rgba(0, 0, 0, 0.3);
}

.cta-band h2 {
  margin: 0 0 8px;
  color: #fff4d3;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
}

.cta-band p {
  margin: 0;
  color: #e5cda0;
  line-height: 1.6;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, minmax(0, 0.9fr));
  gap: 18px;
}

.news-card time {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.news-card--featured {
  min-height: 270px;
  background:
    linear-gradient(180deg, rgba(104, 59, 31, 0.92), rgba(31, 19, 12, 0.95)),
    var(--panel-2);
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 430px;
  align-items: end;
  padding: 110px clamp(18px, 5vw, 72px) 80px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 8, 5, 0.9), rgba(13, 8, 5, 0.44), rgba(13, 8, 5, 0.82)),
    linear-gradient(180deg, rgba(13, 8, 5, 0.16), rgba(13, 8, 5, 0.82)),
    url("assets/lumina-hero.webp") center / cover no-repeat;
}

.page-hero--world,
.page-hero--support {
  background:
    linear-gradient(90deg, rgba(13, 8, 5, 0.9), rgba(13, 8, 5, 0.42), rgba(13, 8, 5, 0.82)),
    linear-gradient(180deg, rgba(13, 8, 5, 0.16), rgba(13, 8, 5, 0.82)),
    url("assets/lumina-bridge.webp") center / cover no-repeat;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  max-width: 850px;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 22px;
  align-items: start;
}

.download-box {
  padding: 34px;
  border: 1px solid rgba(255, 213, 128, 0.34);
  border-radius: 14px;
  background:
    radial-gradient(circle at 80% 0, rgba(255, 213, 128, 0.14), transparent 18rem),
    linear-gradient(180deg, rgba(91, 54, 30, 0.94), rgba(32, 20, 13, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 241, 195, 0.2), 0 24px 44px rgba(0, 0, 0, 0.3);
}

.download-box h2 {
  margin: 0 0 12px;
  color: #fff4d3;
  font-size: clamp(2rem, 4vw, 4rem);
}

.download-box p {
  color: #e4cba0;
  line-height: 1.65;
}

.download-side {
  display: grid;
  gap: 18px;
}

.launcher-preview-card {
  overflow: hidden;
  border: 1px solid rgba(255, 213, 128, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(84, 49, 27, 0.94), rgba(28, 17, 11, 0.96));
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.32);
}

.launcher-preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1453 / 876;
  object-fit: cover;
  object-position: center;
}

.launcher-preview-card div {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.launcher-preview-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.launcher-preview-card strong {
  color: #fff4d3;
  line-height: 1.35;
}

.steps {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.step-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
}

.step-card::before {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 10px;
  color: #21140d;
  background: linear-gradient(180deg, #ffdc7a, #c4802f);
  content: counter(steps);
  counter-increment: steps;
  font-weight: 1000;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.screenshot-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screenshot-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #20140d;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.32);
}

.screenshot-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 6, 4, 0.12), rgba(9, 6, 4, 0.78));
  content: "";
}

.screenshot-card div {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
}

.screenshot-card h3 {
  margin: 0 0 8px;
  color: #fff4d3;
  font-size: 1.6rem;
}

.screenshot-card p {
  margin: 0;
  color: #ead4aa;
  line-height: 1.5;
}

.screenshot-card--launcher img {
  object-position: left center;
}

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

.shop-card {
  display: grid;
  gap: 14px;
}

.shop-price {
  color: var(--gold-2);
  font-size: 1.9rem;
  font-weight: 1000;
}

.perk-list,
.support-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.perk-list li {
  display: flex;
  gap: 9px;
  color: #e3c99a;
}

.perk-list li::before {
  color: var(--gold);
  content: ">";
}

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

.support-list li {
  padding: 18px;
  border: 1px solid rgba(255, 213, 128, 0.2);
  border-radius: 10px;
  background: rgba(20, 12, 8, 0.36);
}

.support-list strong {
  display: block;
  margin-bottom: 6px;
  color: #fff4d3;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255, 213, 128, 0.2);
  background: #0e0907;
}

.footer p {
  margin: 0;
  color: #bfa97e;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: #f0d39b;
  font-weight: 850;
}

@media (max-width: 1180px) {
  .navbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .card-grid,
  .card-grid--five,
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .download-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .navbar {
    position: relative;
    grid-template-columns: 1fr;
  }

  .nav-cta {
    width: 100%;
  }

  .nav-cta .button {
    width: 100%;
  }

  .hero,
  .page-hero {
    padding-top: 56px;
  }

  .server-card,
  .cta-band,
  .footer,
  .step-card {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid--five,
  .news-grid,
  .screenshot-grid,
  .shop-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .button,
  .copy-button {
    width: 100%;
  }
}

/* Cartoony Minecraft-style polish */
body {
  background:
    radial-gradient(circle at 22% 8%, rgba(255, 208, 82, 0.18), transparent 24rem),
    radial-gradient(circle at 86% 10%, rgba(81, 184, 122, 0.14), transparent 22rem),
    linear-gradient(180deg, #2b170d 0%, #160d08 58%, #0c0705 100%);
}

body::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 225, 156, 0.055) 0 2px, transparent 2px 38px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 2px, transparent 2px 38px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 82%);
}

h1,
h2,
h3,
.button,
.copy-button,
.nav-links a,
.eyebrow,
.card-icon,
.step-card::before {
  font-family: var(--font-minecraft);
  letter-spacing: 0;
}

.navbar {
  grid-template-columns: minmax(210px, 320px) minmax(0, 1fr) auto;
  min-height: 90px;
  border-bottom: 5px solid #27140b;
  background:
    linear-gradient(90deg, rgba(72, 40, 21, 0.7), transparent 22%, rgba(72, 40, 21, 0.62)),
    repeating-linear-gradient(90deg, rgba(255, 232, 158, 0.08) 0 5px, transparent 5px 42px),
    linear-gradient(180deg, #8a5d31 0%, #5d371f 48%, #342013 100%);
  box-shadow:
    inset 0 -3px 0 rgba(255, 219, 122, 0.2),
    0 7px 0 #150c07,
    0 22px 36px rgba(0, 0, 0, 0.4);
  backdrop-filter: none;
}

.brand-link img {
  width: min(250px, 28vw);
  height: 74px;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  filter:
    drop-shadow(0 5px 0 rgba(44, 22, 8, 0.84))
    drop-shadow(0 0 18px rgba(255, 194, 72, 0.35));
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  min-height: 42px;
  padding: 10px 14px;
  border: 3px solid #2b170d;
  border-radius: 6px;
  color: #2a160b;
  background:
    linear-gradient(180deg, rgba(255, 246, 188, 0.42), transparent 38%),
    linear-gradient(180deg, #d9b875, #a77a46);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.26),
    inset 0 -3px 0 rgba(80, 42, 18, 0.32),
    0 4px 0 #241209;
  text-shadow: 0 1px rgba(255, 244, 198, 0.45);
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.is-active {
  border-color: #3a210f;
  color: #221107;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 42%),
    linear-gradient(180deg, #ffe690, #e1a72f);
  transform: translateY(-1px);
}

.button,
.copy-button {
  min-height: 54px;
  border: 4px solid #2c180c;
  border-radius: 7px;
  color: #271406;
  background:
    linear-gradient(180deg, rgba(255, 255, 214, 0.52), transparent 40%),
    linear-gradient(180deg, #ffe072 0%, #f4b83e 48%, #b96c22 100%);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.26),
    inset 0 -5px 0 rgba(84, 38, 12, 0.25),
    0 7px 0 #2c1609,
    0 18px 22px rgba(0, 0, 0, 0.28);
  text-transform: uppercase;
  text-shadow: 0 1px rgba(255, 239, 166, 0.55);
}

.button:hover,
.copy-button:hover {
  filter: saturate(1.12) brightness(1.06);
  transform: translateY(-2px);
}

.button--secondary {
  color: #fff0c8;
  background:
    linear-gradient(180deg, rgba(255, 241, 181, 0.2), transparent 42%),
    linear-gradient(180deg, #8b542e, #4c2b18 58%, #2b180e 100%);
  text-shadow: 0 2px #1c0d06;
}

.button--blue {
  color: #eefcff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 42%),
    linear-gradient(180deg, #58d8f0, #1e8faf 56%, #105068 100%);
  text-shadow: 0 2px #063040;
}

.button--green {
  color: #183006;
  background:
    linear-gradient(180deg, rgba(255, 255, 214, 0.42), transparent 42%),
    linear-gradient(180deg, #b6f06e, #6dbf33 56%, #39751e 100%);
}

.hero {
  min-height: min(880px, calc(100vh - 90px));
  background:
    linear-gradient(90deg, rgba(27, 14, 7, 0.82), rgba(27, 14, 7, 0.18) 54%, rgba(27, 14, 7, 0.7)),
    linear-gradient(180deg, rgba(19, 12, 8, 0.05), rgba(19, 12, 8, 0.82) 94%),
    url("assets/lumina-hero.webp") center / cover no-repeat;
}

.official-logo {
  width: min(720px, 92vw);
  max-height: 390px;
  object-fit: contain;
  filter:
    drop-shadow(0 8px 0 rgba(42, 20, 7, 0.78))
    drop-shadow(0 26px 34px rgba(0, 0, 0, 0.46))
    drop-shadow(0 0 32px rgba(255, 190, 58, 0.28));
}

.hero h1,
.page-hero h1 {
  max-width: 900px;
  color: #ffe7a6;
  font-size: clamp(2.6rem, 6.4vw, 6.1rem);
  line-height: 0.95;
  text-shadow:
    0 3px 0 #6f3917,
    0 7px 0 #281309,
    0 20px 28px rgba(0, 0, 0, 0.5);
  -webkit-text-stroke: 1px #2d1608;
}

.hero-copy,
.page-hero p,
.section-head p,
.download-box p,
.card p,
.news-card p,
.shop-card p,
.step-card p,
.panel p,
.screenshot-card p {
  color: #f2ddb1;
  font-weight: 750;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 5px 12px;
  border: 3px solid #2a160b;
  border-radius: 5px;
  color: #2a160b;
  background:
    linear-gradient(180deg, #ffe27d, #d99a2f);
  box-shadow: 0 4px 0 #241209;
  text-shadow: 0 1px rgba(255, 247, 198, 0.55);
}

.server-card,
.status-pill,
.panel,
.download-box,
.launcher-preview-card,
.card,
.news-card,
.shop-card,
.step-card,
.support-list li {
  border: 4px solid #2a160c;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 235, 172, 0.16), transparent 35%),
    repeating-linear-gradient(90deg, rgba(255, 226, 151, 0.045) 0 7px, transparent 7px 35px),
    linear-gradient(180deg, rgba(100, 60, 31, 0.96), rgba(48, 28, 17, 0.98));
  box-shadow:
    inset 0 3px 0 rgba(255, 237, 173, 0.16),
    inset 0 -4px 0 rgba(31, 15, 7, 0.3),
    0 7px 0 #1a0d07,
    0 20px 28px rgba(0, 0, 0, 0.32);
}

.server-card strong,
.stats-list strong,
.support-list strong,
.shop-price,
.news-card time {
  color: #ffe27d;
  text-shadow: 0 2px #321707;
}

.section--dark {
  background:
    radial-gradient(circle at 10% 0, rgba(255, 210, 89, 0.08), transparent 24rem),
    linear-gradient(180deg, #20130b, #130b07);
}

.section--wood {
  background:
    repeating-linear-gradient(90deg, rgba(255, 233, 153, 0.055) 0 6px, transparent 6px 45px),
    linear-gradient(180deg, #5f3a22, #2f1c11);
  border-top: 5px solid #211007;
  border-bottom: 5px solid #211007;
}

.section--image {
  border-top: 5px solid #211007;
  border-bottom: 5px solid #211007;
}

.section-head h2,
.download-box h2,
.cta-band h2 {
  color: #ffe7a6;
  text-shadow:
    0 3px 0 #743b18,
    0 6px 0 #281309,
    0 14px 24px rgba(0, 0, 0, 0.38);
  -webkit-text-stroke: 1px #2d1608;
}

.card-icon {
  width: 54px;
  height: 54px;
  border: 4px solid #2a160b;
  border-radius: 6px;
  color: #241107;
  background:
    linear-gradient(180deg, #fff0a3, #edb840 58%, #a96222);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    0 5px 0 #201007;
}

.card h3,
.news-card h3,
.shop-card h3,
.step-card h3,
.screenshot-card h3 {
  color: #fff1bc;
  text-shadow: 0 3px 0 #3d1d0c;
}

.card::before,
.shop-card::before {
  height: 7px;
  border-radius: 0;
  background: repeating-linear-gradient(90deg, #ffe27d 0 20px, #77c44a 20px 40px, #42b9d0 40px 60px);
}

.news-card--featured {
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 218, 107, 0.22), transparent 13rem),
    repeating-linear-gradient(90deg, rgba(255, 226, 151, 0.045) 0 7px, transparent 7px 35px),
    linear-gradient(180deg, #764522, #3c2212);
}

.page-hero {
  border-bottom: 5px solid #211007;
  background:
    linear-gradient(90deg, rgba(30, 16, 8, 0.86), rgba(30, 16, 8, 0.36)),
    linear-gradient(180deg, rgba(30, 16, 8, 0.08), rgba(30, 16, 8, 0.8)),
    url("assets/lumina-bridge.webp") center / cover no-repeat;
}

.screenshot-card {
  border: 5px solid #2a160c;
  border-radius: 8px;
  box-shadow: 0 8px 0 #1a0d07, 0 24px 32px rgba(0, 0, 0, 0.36);
}

.step-card::before {
  border: 4px solid #2a160b;
  border-radius: 6px;
  background:
    linear-gradient(180deg, #fff0a3, #edb840 58%, #a96222);
  box-shadow: 0 5px 0 #201007;
}

.perk-list li::before {
  color: #ffe27d;
  content: ">";
  font-family: var(--font-minecraft);
}

.footer {
  border-top: 5px solid #211007;
  background:
    repeating-linear-gradient(90deg, rgba(255, 226, 151, 0.04) 0 8px, transparent 8px 44px),
    linear-gradient(180deg, #321d11, #120a06);
}

.footer-links a {
  color: #ffe27d;
  text-transform: uppercase;
  text-shadow: 0 2px #241007;
}

@media (max-width: 1180px) {
  .navbar {
    grid-template-columns: 1fr auto;
  }

  .brand-link img {
    width: min(230px, 42vw);
  }
}

@media (max-width: 760px) {
  .navbar {
    min-height: auto;
  }

  .brand-link {
    justify-content: center;
  }

  .brand-link img {
    width: min(260px, 86vw);
    height: 86px;
  }

  .nav-links a {
    min-width: 138px;
  }

  .official-logo {
    width: min(560px, 96vw);
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.25rem, 13vw, 4.4rem);
  }
}

/* Launch-readiness polish pass */
.navbar {
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) auto;
  min-height: 72px;
  padding: 8px clamp(18px, 4vw, 56px);
  border-bottom: 3px solid #261307;
  background:
    linear-gradient(180deg, rgba(98, 58, 29, 0.97), rgba(49, 28, 15, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 230, 153, 0.055) 0 4px, transparent 4px 38px);
  box-shadow:
    inset 0 -2px 0 rgba(255, 213, 116, 0.18),
    0 5px 0 #150b05,
    0 14px 28px rgba(0, 0, 0, 0.36);
}

.brand-link img {
  width: min(178px, 20vw);
  height: 56px;
}

.nav-links {
  gap: 6px;
}

.nav-links a {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 224, 136, 0.24);
  border-radius: 6px;
  color: #f7e7bd;
  background: rgba(36, 19, 9, 0.28);
  box-shadow: none;
  font-family: var(--font-minecraft);
  font-size: 0.95rem;
  font-weight: 950;
  text-shadow: 0 2px 0 #1c0c05;
}

.nav-links a:hover,
.nav-links a.is-active {
  border-color: rgba(255, 226, 125, 0.66);
  color: #2b1507;
  background: linear-gradient(180deg, #ffe08a, #d99b34);
  box-shadow: 0 3px 0 #221006;
}

.nav-cta .button {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 0.95rem;
}

.hero {
  min-height: min(880px, calc(100vh - 90px));
  align-items: center;
  padding: clamp(34px, 5vw, 58px) clamp(20px, 5vw, 76px) clamp(42px, 5vw, 64px);
}

.hero-content {
  gap: 12px;
  width: min(720px, 100%);
}

.official-logo {
  width: min(500px, 76vw);
  max-height: 265px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.05rem);
  line-height: 0.98;
  max-width: 760px;
  -webkit-text-stroke: 0;
  text-shadow:
    0 3px 0 #6f3917,
    0 6px 0 #261207,
    0 18px 24px rgba(0, 0, 0, 0.46);
}

.hero-copy {
  max-width: 660px;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.45;
}

.hero h1 span {
  display: block;
}

.button,
.copy-button {
  border-width: 3px;
  border-radius: 7px;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.24),
    inset 0 -4px 0 rgba(84, 38, 12, 0.22),
    0 5px 0 #2c1609,
    0 14px 20px rgba(0, 0, 0, 0.24);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 680px;
}

.trust-strip span,
.mini-card {
  border: 2px solid rgba(255, 222, 132, 0.36);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 230, 155, 0.13), transparent),
    rgba(31, 17, 9, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 241, 189, 0.16);
}

.trust-strip span {
  padding: 7px 10px;
  color: #ffe7a6;
  font-size: 0.9rem;
  font-weight: 900;
}

.server-card {
  max-width: 620px;
  padding: 14px 16px;
}

.status-pill {
  width: fit-content;
  min-height: 34px;
  padding: 7px 12px;
}

.section {
  padding: 72px clamp(18px, 5vw, 72px);
}

.section-head h2,
.download-box h2,
.cta-band h2 {
  -webkit-text-stroke: 0;
}

.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 4rem);
}

.panel,
.download-box,
.card,
.news-card,
.shop-card,
.step-card,
.support-list li {
  border-width: 3px;
  box-shadow:
    inset 0 2px 0 rgba(255, 237, 173, 0.13),
    inset 0 -3px 0 rgba(31, 15, 7, 0.24),
    0 5px 0 #1a0d07,
    0 16px 24px rgba(0, 0, 0, 0.28);
}

.card-grid--five {
  grid-template-columns: repeat(5, minmax(170px, 1fr));
}

.trust-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.mini-card {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.mini-card strong {
  color: #ffe27d;
  text-shadow: 0 2px #321707;
}

.mini-card span {
  color: #edd6a7;
  line-height: 1.45;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.faq-grid .panel h3 {
  margin: 0 0 8px;
  color: #fff1bc;
  font-size: 1.25rem;
}

.page-hero {
  min-height: 360px;
  padding: 92px clamp(18px, 5vw, 72px) 58px;
}

.page-hero-content {
  max-width: 980px;
}

@media (max-width: 1180px) {
  .navbar {
    grid-template-columns: 1fr auto;
  }

  .brand-link img {
    width: min(180px, 38vw);
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    justify-content: center;
  }

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

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .navbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 14px 14px;
  }

  .brand-link img {
    width: min(190px, 70vw);
    height: 62px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(260px, 100%);
    justify-self: center;
    overflow: visible;
    padding-bottom: 0;
  }

  .nav-cta {
    width: min(260px, 100%);
    justify-self: center;
  }

  .nav-links a {
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 34px 18px 48px;
  }

  .hero-content,
  .page-hero-content {
    width: min(240px, calc(100vw - 80px));
    max-width: min(240px, calc(100vw - 80px));
    min-width: 0;
    justify-self: center;
  }

  .official-logo {
    width: 100%;
    max-height: 190px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.8vw, 2.75rem);
    line-height: 1;
    overflow-wrap: normal;
  }

  .hero-copy,
  .page-hero p {
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .trust-strip,
  .server-card,
  .status-pill {
    width: 100%;
  }

  .server-card {
    gap: 12px;
  }

  .section {
    padding: 54px 18px;
  }

  .trust-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Minecraft detail pass */
.section--sky {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(81, 169, 190, 0.24), rgba(58, 113, 82, 0.12) 42%, rgba(31, 18, 10, 0.98)),
    radial-gradient(circle at 20% 0, rgba(255, 238, 166, 0.24), transparent 24rem),
    linear-gradient(180deg, #1f4b55, #1b2c24 54%, #160d08);
  border-top: 5px solid #211007;
  border-bottom: 5px solid #211007;
}

.section--sky::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(90deg, rgba(146, 221, 91, 0.18) 0 22px, rgba(255, 226, 125, 0.14) 22px 28px, transparent 28px 62px),
    linear-gradient(180deg, transparent 0 72%, rgba(63, 118, 43, 0.22) 72% 78%, rgba(68, 40, 20, 0.22) 78% 100%);
  opacity: 0.72;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.9));
}

.section--sky > * {
  position: relative;
  z-index: 1;
}

.panel,
.download-box,
.launcher-preview-card,
.news-card,
.news-feature,
.card,
.step-card,
.support-list li {
  position: relative;
}

.panel::after,
.download-box::after,
.launcher-preview-card::after,
.news-card::after,
.news-feature::after,
.card::after,
.support-list li::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 18px;
  height: 18px;
  border-right: 4px solid rgba(255, 226, 125, 0.34);
  border-bottom: 4px solid rgba(255, 226, 125, 0.34);
  content: "";
  opacity: 0.8;
  pointer-events: none;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.download-meta li,
.download-proof article,
.gameplay-loop article {
  border: 3px solid #291408;
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 238, 172, 0.16), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 226, 151, 0.055) 0 7px, transparent 7px 32px),
    linear-gradient(180deg, rgba(88, 53, 29, 0.96), rgba(33, 20, 12, 0.98));
  box-shadow:
    inset 0 2px 0 rgba(255, 237, 173, 0.14),
    inset 0 -4px 0 rgba(31, 15, 7, 0.28),
    0 5px 0 #1a0d07,
    0 14px 20px rgba(0, 0, 0, 0.24);
}

.download-meta li {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 12px;
}

.download-meta span,
.news-feature time {
  color: #ffe27d;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 2px #321707;
}

.download-meta strong {
  color: #fff1bc;
  line-height: 1.2;
}

.download-proof,
.gameplay-loop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.download-proof article,
.gameplay-loop article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.download-proof strong,
.gameplay-loop strong {
  color: #fff1bc;
  font-size: 1.2rem;
  text-shadow: 0 3px 0 #3d1d0c;
}

.download-proof p,
.gameplay-loop p {
  margin: 0;
  color: #f0d8aa;
  line-height: 1.5;
}

.minecraft-chip {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 3px solid #201006;
  border-radius: 5px;
  color: #261306;
  background:
    linear-gradient(180deg, rgba(255, 255, 214, 0.5), transparent 38%),
    linear-gradient(180deg, #ffe27d, #d99a2f 58%, #8e511b);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.28),
    0 4px 0 #1a0d07;
  font-family: var(--font-minecraft);
  font-size: 0.88rem;
  font-weight: 1000;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.news-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  border: 4px solid #291408;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 238, 172, 0.14), transparent 35%),
    linear-gradient(180deg, rgba(88, 53, 29, 0.96), rgba(33, 20, 12, 0.98));
  box-shadow: 0 7px 0 #1a0d07, 0 24px 32px rgba(0, 0, 0, 0.34);
}

.news-feature img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: left center;
  border-right: 4px solid #291408;
}

.news-feature div {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
}

.news-feature h2 {
  margin: 0;
  color: #ffe7a6;
  font-size: clamp(2.2rem, 4.3vw, 4.4rem);
  line-height: 0.95;
  text-shadow: 0 3px 0 #6f3917, 0 7px 0 #281309, 0 18px 24px rgba(0, 0, 0, 0.42);
}

.news-feature p {
  margin: 0;
  color: #f2ddb1;
  font-weight: 750;
  line-height: 1.55;
}

.news-stack {
  display: grid;
  gap: 14px;
}

.news-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gameplay-loop article {
  min-height: 190px;
}

.gameplay-loop article:nth-child(1) {
  background:
    linear-gradient(180deg, rgba(255, 238, 172, 0.16), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 226, 151, 0.055) 0 7px, transparent 7px 32px),
    linear-gradient(180deg, rgba(87, 69, 37, 0.96), rgba(38, 27, 13, 0.98));
}

.gameplay-loop article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 238, 172, 0.16), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 226, 151, 0.055) 0 7px, transparent 7px 32px),
    linear-gradient(180deg, rgba(74, 78, 62, 0.96), rgba(30, 33, 25, 0.98));
}

.gameplay-loop article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 238, 172, 0.16), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 226, 151, 0.055) 0 7px, transparent 7px 32px),
    linear-gradient(180deg, rgba(48, 78, 71, 0.96), rgba(20, 34, 31, 0.98));
}

.gameplay-loop article:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(255, 238, 172, 0.16), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 226, 151, 0.055) 0 7px, transparent 7px 32px),
    linear-gradient(180deg, rgba(90, 48, 35, 0.96), rgba(35, 18, 14, 0.98));
}

@media (max-width: 1180px) {
  .download-meta,
  .download-proof,
  .gameplay-loop,
  .news-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .news-feature img {
    min-height: 280px;
    border-right: 0;
    border-bottom: 4px solid #291408;
  }
}

@media (max-width: 760px) {
  .download-meta,
  .download-proof,
  .gameplay-loop,
  .news-grid--compact {
    grid-template-columns: 1fr;
  }

  .download-meta li {
    min-height: auto;
  }

  .news-feature h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }
}

/* Mouse-following background depth */
:root {
  --site-parallax-x: 0px;
  --site-parallax-y: 0px;
}

body::before {
  transform: translate3d(var(--site-parallax-x), var(--site-parallax-y), 0);
  transition: transform 180ms ease-out;
  will-change: transform;
}

.has-parallax-bg {
  --bg-parallax-x: 0px;
  --bg-parallax-y: 0px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #130c08;
}

.hero.has-parallax-bg {
  --parallax-bg-layers:
    linear-gradient(90deg, rgba(27, 14, 7, 0.82), rgba(27, 14, 7, 0.18) 54%, rgba(27, 14, 7, 0.7)),
    linear-gradient(180deg, rgba(19, 12, 8, 0.05), rgba(19, 12, 8, 0.82) 94%),
    url("assets/lumina-hero.webp");
}

.page-hero.has-parallax-bg {
  --parallax-bg-layers:
    linear-gradient(90deg, rgba(30, 16, 8, 0.86), rgba(30, 16, 8, 0.36), rgba(30, 16, 8, 0.78)),
    linear-gradient(180deg, rgba(30, 16, 8, 0.08), rgba(30, 16, 8, 0.8)),
    url("assets/lumina-bridge.webp");
}

.section--image.has-parallax-bg {
  --parallax-bg-layers:
    linear-gradient(90deg, rgba(14, 8, 5, 0.9), rgba(18, 11, 7, 0.48), rgba(14, 8, 5, 0.9)),
    linear-gradient(180deg, rgba(14, 8, 5, 0.18), rgba(14, 8, 5, 0.92)),
    url("assets/lumina-bridge.webp");
}

.has-parallax-bg::before {
  position: absolute;
  inset: -34px;
  z-index: 0;
  content: "";
  background-image: var(--parallax-bg-layers);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translate3d(var(--bg-parallax-x), var(--bg-parallax-y), 0) scale(1.045);
  transition: transform 170ms ease-out;
  will-change: transform;
  pointer-events: none;
}

.hero.has-parallax-bg::after,
.page-hero.has-parallax-bg::after {
  z-index: 0;
}

.has-parallax-bg > * {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .has-parallax-bg::before {
    transform: none;
    transition: none;
  }
}

/* Custom Lumina social icons */
.button.has-social-icon,
.footer-links a.has-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.social-link-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 0 rgba(43, 20, 8, 0.64))
    drop-shadow(0 0 9px rgba(255, 197, 78, 0.18));
}

.footer-links .social-link-icon {
  width: 24px;
  height: 24px;
}

.community-buttons {
  position: relative;
  display: block;
  width: min(420px, 82vw);
  aspect-ratio: 1034 / 894;
  background: url("assets/buttons-border.png") center / 100% 100% no-repeat;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.34));
}

.community-buttons .button {
  position: absolute;
  display: grid;
  min-height: 0;
  padding: 0;
  place-items: center;
  border: 0;
  color: transparent;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
  font-size: 0;
}

.community-buttons .button:nth-child(1) {
  top: 12.4%;
  left: 14.8%;
  width: 30.2%;
  height: 35.6%;
}

.community-buttons .button:nth-child(2) {
  top: 12.4%;
  left: 52.2%;
  width: 30.2%;
  height: 35.6%;
}

.community-buttons .button:nth-child(3) {
  top: 53.6%;
  left: 14.8%;
  width: 30.2%;
  height: 32.4%;
}

.community-buttons .button:nth-child(4) {
  top: 53.6%;
  left: 52.2%;
  width: 30.2%;
  height: 32.4%;
}

.community-buttons .social-link-icon {
  width: min(84px, 74%);
  height: min(84px, 74%);
  margin: 0;
  transition: transform 140ms ease, filter 140ms ease;
}

.community-buttons .button:hover {
  transform: none;
  filter: none;
}

.community-buttons .button:hover .social-link-icon {
  transform: translateY(-2px) scale(1.06);
  filter:
    drop-shadow(0 4px 0 rgba(43, 20, 8, 0.74))
    drop-shadow(0 0 15px rgba(255, 206, 92, 0.34));
}

/* Store page */
.is-hidden {
  display: none !important;
}

.store-page {
  background:
    radial-gradient(circle at 50% 0, rgba(255, 207, 86, 0.18), transparent 32rem),
    linear-gradient(180deg, #3b2415 0%, #1a100a 42%, #0c0705 100%);
}

.store-main {
  min-height: calc(100vh - 72px);
  background:
    linear-gradient(180deg, rgba(36, 20, 11, 0.28), rgba(12, 7, 5, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 226, 151, 0.045) 0 7px, transparent 7px 48px);
}

.store-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: end;
  min-height: 320px;
  padding: 92px clamp(18px, 5vw, 72px) 46px;
  overflow: hidden;
  border-bottom: 5px solid #211007;
  background:
    linear-gradient(90deg, rgba(28, 15, 8, 0.92), rgba(28, 15, 8, 0.34), rgba(28, 15, 8, 0.86)),
    url("assets/lumina-bridge.webp") center / cover no-repeat;
}

.store-banner > * {
  min-width: 0;
}

.store-banner.has-parallax-bg {
  --parallax-bg-layers:
    linear-gradient(90deg, rgba(28, 15, 8, 0.92), rgba(28, 15, 8, 0.34), rgba(28, 15, 8, 0.86)),
    linear-gradient(180deg, rgba(28, 15, 8, 0.08), rgba(28, 15, 8, 0.68)),
    url("assets/lumina-bridge.webp");
}

.store-banner__sign {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px;
  border: 4px solid #291408;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 237, 171, 0.18), transparent 45%),
    linear-gradient(180deg, #6e4224, #2d1a0f);
  box-shadow:
    inset 0 3px 0 rgba(255, 237, 171, 0.16),
    0 7px 0 #1a0d07,
    0 22px 28px rgba(0, 0, 0, 0.34);
}

.store-banner__sign img {
  width: min(260px, 100%);
  filter:
    drop-shadow(0 6px 0 rgba(35, 16, 7, 0.72))
    drop-shadow(0 0 20px rgba(255, 196, 70, 0.32));
}

.store-banner__sign span {
  color: #ffe27d;
  font-size: 0.9rem;
  text-shadow: 0 2px #321707;
}

.store-banner h1 {
  margin: 10px 0 12px;
  color: #ffe7a6;
  font-size: clamp(2.9rem, 6vw, 5.8rem);
  line-height: 0.95;
  text-shadow: 0 3px 0 #6f3917, 0 7px 0 #281309, 0 18px 24px rgba(0, 0, 0, 0.46);
}

.store-banner p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #f2ddb1;
  font-weight: 750;
  line-height: 1.55;
}

.store-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.42fr) minmax(320px, 0.72fr);
  gap: 20px;
  align-items: stretch;
  padding: clamp(20px, 4vw, 44px);
}

.merchant-window,
.store-counter,
.store-sidebar > section {
  border: 4px solid #291408;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 237, 171, 0.14), transparent 35%),
    repeating-linear-gradient(90deg, rgba(255, 226, 151, 0.05) 0 7px, transparent 7px 34px),
    linear-gradient(180deg, rgba(93, 60, 34, 0.96), rgba(43, 27, 16, 0.98));
  box-shadow:
    inset 0 3px 0 rgba(255, 237, 173, 0.14),
    inset 0 -4px 0 rgba(31, 15, 7, 0.28),
    0 7px 0 #1a0d07,
    0 22px 30px rgba(0, 0, 0, 0.32);
}

.merchant-window {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 237, 171, 0.08), transparent 35%),
    repeating-linear-gradient(0deg, rgba(255, 226, 151, 0.05) 0 7px, transparent 7px 48px),
    linear-gradient(180deg, #6c5638, #312012);
}

.merchant-shelves {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 92px;
  padding: 58px 22px;
}

.merchant-shelves span {
  height: 18px;
  border: 3px solid #291408;
  border-radius: 5px;
  background: linear-gradient(180deg, #a9783e, #4a2b18);
  box-shadow: 0 5px 0 #1a0d07;
}

.merchant-portrait {
  position: absolute;
  bottom: 128px;
  left: 50%;
  width: min(260px, 78%);
  height: 310px;
  transform: translateX(-50%);
}

.merchant-head {
  position: absolute;
  right: 32px;
  bottom: 68px;
  width: 170px;
  height: 190px;
  border: 5px solid #291408;
  border-radius: 44% 44% 34% 34%;
  background:
    radial-gradient(circle at 38% 34%, #251409 0 7px, transparent 8px),
    radial-gradient(circle at 68% 34%, #251409 0 7px, transparent 8px),
    linear-gradient(180deg, #f0c38a, #a96c3b);
  box-shadow: 0 7px 0 #1a0d07;
}

.merchant-head::before {
  position: absolute;
  top: -30px;
  left: 28px;
  width: 114px;
  height: 50px;
  border: 5px solid #291408;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(180deg, #765130, #3b2415);
  content: "";
}

.merchant-nose {
  position: absolute;
  right: 84px;
  bottom: 150px;
  width: 34px;
  height: 72px;
  border: 5px solid #291408;
  border-radius: 16px;
  background: linear-gradient(180deg, #c8844b, #8b4d2c);
}

.merchant-hand {
  position: absolute;
  right: 12px;
  bottom: 44px;
  width: 102px;
  height: 82px;
  border: 5px solid #291408;
  border-radius: 35px;
  background: linear-gradient(180deg, #f0c38a, #a96c3b);
  transform: rotate(-16deg);
}

.merchant-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 16px;
  border: 3px solid #291408;
  border-radius: 7px;
  background: rgba(28, 16, 9, 0.78);
}

.merchant-note strong,
.store-counter h2,
.store-account-card h2,
.basket-panel h2 {
  color: #fff1bc;
  text-shadow: 0 3px 0 #3d1d0c;
}

.merchant-note p {
  margin: 8px 0 0;
  color: #f0d8aa;
  line-height: 1.45;
}

.store-counter {
  display: grid;
  gap: 22px;
  min-height: 690px;
  padding: clamp(20px, 3vw, 30px);
}

.store-counter__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 4px solid rgba(41, 20, 8, 0.8);
}

.store-counter h2 {
  margin: 10px 0 0;
  max-width: 620px;
  font-size: clamp(1.65rem, 2.6vw, 2.55rem);
  line-height: 1;
}

.store-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.store-categories button {
  min-height: 38px;
  padding: 8px 11px;
  border: 2px solid #291408;
  border-radius: 6px;
  color: #f7e7bd;
  background: rgba(36, 19, 9, 0.46);
  box-shadow: 0 3px 0 #1a0d07;
  cursor: pointer;
  text-shadow: 0 2px #1c0c05;
  text-transform: uppercase;
}

.store-categories button.is-active,
.store-categories button:hover {
  color: #2b1507;
  background: linear-gradient(180deg, #ffe08a, #d99b34);
}

.store-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.store-product {
  display: grid;
  gap: 12px;
  min-height: 330px;
  padding: 18px;
  border: 3px solid #291408;
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 237, 171, 0.18), transparent 38%),
    linear-gradient(180deg, #73502d, #352012);
  box-shadow:
    inset 0 2px 0 rgba(255, 237, 171, 0.15),
    0 5px 0 #1a0d07,
    0 16px 22px rgba(0, 0, 0, 0.24);
}

.store-product-art {
  position: relative;
  width: 98px;
  height: 98px;
  margin-inline: auto;
  border: 4px solid #291408;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.55), transparent 14px),
    linear-gradient(180deg, #ffe27d, #d98a2f 58%, #804116);
  box-shadow: 0 5px 0 #1a0d07, 0 0 22px rgba(255, 199, 75, 0.34);
}

.store-product-art::after {
  position: absolute;
  inset: 22px;
  display: grid;
  place-items: center;
  color: #2b1507;
  font-size: 1.35rem;
  text-shadow: 0 1px rgba(255, 244, 198, 0.5);
}

.store-product-art--rank::after {
  content: "R";
}

.store-product-art--hero::after {
  content: "H";
}

.store-product-art--pass::after {
  content: "P";
}

.store-product-art--crate::after {
  content: "C";
}

.store-product-art--pet::after {
  content: "@";
}

.store-product-art--gift::after {
  content: "G";
}

.store-product h3 {
  margin: 0;
  color: #fff1bc;
  font-size: 1.2rem;
  text-align: center;
  text-shadow: 0 3px 0 #3d1d0c;
}

.store-product p {
  margin: 0;
  color: #f0d8aa;
  font-size: 0.88rem;
  line-height: 1.48;
}

.store-product__foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.store-product__foot span {
  color: #ffe27d;
  font-size: 1.12rem;
  text-shadow: 0 2px #321707;
}

.store-product__foot .button {
  min-height: 42px;
  padding-inline: 14px;
}

.store-fairness-note {
  margin: 0;
  padding: 14px 16px;
  border: 3px solid rgba(255, 226, 125, 0.34);
  border-radius: 7px;
  color: #f0d8aa;
  background: rgba(27, 15, 8, 0.62);
  line-height: 1.5;
}

.store-sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

.store-account-card,
.basket-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.store-account-card h2,
.basket-panel h2 {
  margin: 0;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.08;
}

.store-account-card p,
.store-help,
.store-payment-note {
  margin: 0;
  color: #f0d8aa;
  font-size: 0.86rem;
  line-height: 1.45;
}

.store-payment-note {
  padding: 10px;
  border: 2px solid rgba(255, 226, 125, 0.28);
  border-radius: 6px;
  background: rgba(28, 16, 9, 0.46);
}

.store-form {
  display: grid;
  gap: 12px;
}

.store-form label {
  display: grid;
  gap: 6px;
}

.store-form span,
.basket-account span,
.basket-total span {
  color: #ffe27d;
  font-size: 0.75rem;
  text-transform: uppercase;
  text-shadow: 0 2px #321707;
}

.store-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 3px solid #291408;
  border-radius: 6px;
  color: #fff1bc;
  background: rgba(28, 16, 9, 0.78);
  outline: none;
  font-size: 0.78rem;
}

.store-form input:focus {
  border-color: #ffe27d;
  box-shadow: 0 0 0 3px rgba(255, 226, 125, 0.18);
}

.store-message {
  padding: 12px;
  border: 2px solid rgba(255, 226, 125, 0.3);
  border-radius: 6px;
  background: rgba(28, 16, 9, 0.58);
}

.store-message[data-tone="ok"] {
  border-color: rgba(139, 212, 94, 0.55);
  color: #d9ffc7;
}

.store-message[data-tone="wait"] {
  border-color: rgba(255, 226, 125, 0.52);
  color: #ffe9a8;
}

.store-message[data-tone="error"] {
  border-color: rgba(217, 103, 83, 0.64);
  color: #ffd0c7;
}

.basket-account {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 3px solid rgba(255, 226, 125, 0.34);
  border-radius: 7px;
  background: rgba(28, 16, 9, 0.58);
}

.basket-account strong {
  color: #fff1bc;
  overflow-wrap: anywhere;
}

.basket-items {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 230px;
  padding: 14px;
  border: 3px solid rgba(41, 20, 8, 0.8);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 237, 171, 0.08), transparent 45%),
    rgba(28, 16, 9, 0.46);
}

.basket-empty {
  align-self: center;
  justify-self: center;
  color: #c8ad7e;
  text-transform: uppercase;
}

.basket-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 2px solid rgba(255, 226, 125, 0.24);
  border-radius: 6px;
  background: rgba(72, 43, 25, 0.66);
}

.basket-row span {
  min-width: 0;
  color: #fff1bc;
  overflow-wrap: anywhere;
}

.basket-row strong {
  color: #ffe27d;
}

.basket-row button {
  width: 28px;
  height: 28px;
  border: 2px solid #291408;
  border-radius: 5px;
  color: #fff1bc;
  background: #7b2f22;
  cursor: pointer;
}

.basket-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 3px solid rgba(41, 20, 8, 0.8);
}

.basket-total strong {
  color: #ffe27d;
  font-size: 1.28rem;
  text-shadow: 0 2px #321707;
}

.basket-panel .button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.store-help {
  justify-self: center;
  color: #ffe27d;
  text-transform: uppercase;
}

/* Motion and interaction polish */
@keyframes luminaPageIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes luminaHeroIntro {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes luminaLogoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes luminaStatusPulse {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(139, 212, 94, 0.62);
  }
  50% {
    box-shadow: 0 0 26px rgba(139, 212, 94, 0.92);
  }
}

@keyframes luminaButtonShine {
  from {
    transform: translateX(-135%) skewX(-18deg);
  }
  to {
    transform: translateX(145%) skewX(-18deg);
  }
}

@keyframes luminaAddedBump {
  0% {
    transform: translateY(0) scale(1);
  }
  38% {
    transform: translateY(-5px) scale(1.015);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

body {
  animation: luminaPageIn 420ms ease-out both;
}

.hero-content > *,
.page-hero-content > * {
  animation: luminaHeroIntro 620ms ease-out both;
}

.hero-content > *:nth-child(2),
.page-hero-content > *:nth-child(2) {
  animation-delay: 90ms;
}

.hero-content > *:nth-child(3),
.page-hero-content > *:nth-child(3) {
  animation-delay: 160ms;
}

.hero-content > *:nth-child(4),
.page-hero-content > *:nth-child(4) {
  animation-delay: 230ms;
}

.official-logo {
  animation:
    luminaHeroIntro 680ms ease-out both,
    luminaLogoFloat 5.4s ease-in-out 900ms infinite;
  transform-origin: center;
}

.status-dot {
  animation: luminaStatusPulse 1.8s ease-in-out infinite;
}

.button,
.copy-button,
.nav-links a,
.card,
.news-card,
.shop-card,
.step-card,
.mini-card,
.panel,
.screenshot-card,
.download-box,
.launcher-preview-card,
.download-proof article,
.gameplay-loop article,
.store-product,
.store-account-card,
.basket-panel,
.store-counter,
.merchant-window {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    filter 180ms ease,
    background-color 180ms ease;
}

.button,
.copy-button {
  position: relative;
  overflow: hidden;
}

.button::after,
.copy-button::after {
  position: absolute;
  inset: -20% auto -20% 0;
  width: 36%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: translateX(-135%) skewX(-18deg);
  pointer-events: none;
}

.button:hover::after,
.copy-button:hover::after {
  animation: luminaButtonShine 650ms ease-out;
}

.button:active,
.copy-button:active,
.nav-links a:active {
  transform: translateY(3px);
}

.community-buttons .button::after {
  display: none;
}

.motion-ready [data-animate="reveal"] {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.2, 0.78, 0.22, 1),
    box-shadow 180ms ease,
    border-color 180ms ease,
    filter 180ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready [data-animate="reveal"].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.screenshot-card img,
.launcher-preview-card img,
.store-product-art {
  transition:
    transform 240ms ease,
    filter 240ms ease;
}

@media (hover: hover) {
  .card:hover,
  .news-card:hover,
  .shop-card:hover,
  .step-card:hover,
  .mini-card:hover,
  .panel:hover,
  .download-box:hover,
  .launcher-preview-card:hover,
  .download-proof article:hover,
  .gameplay-loop article:hover,
  .store-product:hover,
  .store-account-card:hover,
  .basket-panel:hover {
    border-color: rgba(255, 226, 125, 0.56);
    box-shadow:
      inset 0 3px 0 rgba(255, 237, 173, 0.18),
      0 9px 0 rgba(26, 13, 7, 0.94),
      0 26px 36px rgba(0, 0, 0, 0.36);
    transform: translateY(-5px);
  }

  .screenshot-card:hover img,
  .launcher-preview-card:hover img {
    transform: scale(1.045);
    filter: saturate(1.08) brightness(1.04);
  }

  .store-product:hover .store-product-art {
    transform: translateY(-4px) rotate(-2deg);
    filter: drop-shadow(0 0 18px rgba(255, 226, 125, 0.28));
  }
}

.store-product.is-added {
  animation: luminaAddedBump 420ms ease-out;
  border-color: rgba(139, 212, 94, 0.78);
}

.button.is-loading {
  filter: saturate(0.9) brightness(1.05);
  animation: luminaStatusPulse 1s ease-in-out infinite;
}

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

  .motion-ready [data-animate="reveal"],
  .motion-ready [data-animate="reveal"].is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1320px) {
  .store-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  }

  .merchant-window {
    display: none;
  }

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

@media (max-width: 920px) {
  .store-banner,
  .store-layout,
  .store-counter__top {
    grid-template-columns: 1fr;
  }

  .store-banner__sign {
    max-width: 320px;
  }

  .store-categories {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .store-banner {
    padding: 42px 22px 36px;
  }

  .store-banner__sign {
    width: 100%;
  }

  .store-products {
    grid-template-columns: 1fr;
  }

  .store-layout {
    padding: 18px;
  }

  .store-banner h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 11vw, 2.9rem);
    overflow-wrap: break-word;
  }

  .store-banner p:not(.eyebrow) {
    max-width: 100%;
    font-size: 0.78rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .store-product__foot,
  .basket-row {
    grid-template-columns: 1fr;
  }
}
