:root {
  --font-pixel: "Press Start 2P", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --gold: #f6b92e;
  --gold-bright: #ffd66b;
  --gold-deep: #8b4f12;
  --silver: #e7ebf3;
  --steel: #747d8a;
  --spring: #82c75f;
  --moss: #3e6b3c;
  --water: #62b6cb;
  --haki: #8b5cf6;
  --ember: #ff6a1a;
  --parchment: #f5edd6;
  --forest: #07110b;
  --forest-2: #0d1a11;
  --glass: rgba(7, 17, 11, 0.72);
  --glass-soft: rgba(245, 237, 214, 0.08);
  --line: rgba(231, 235, 243, 0.15);
  --line-gold: rgba(246, 185, 46, 0.34);
  --shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.42);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--forest);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--parchment);
  background:
    linear-gradient(180deg, rgba(7, 17, 11, 0.96), rgba(10, 22, 14, 0.98)),
    radial-gradient(circle at 25% 10%, rgba(98, 182, 203, 0.18), transparent 28%),
    var(--forest);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-leaf-fall {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.site-leaf-fall span {
  position: absolute;
  top: -6rem;
  left: var(--leaf-x, 50%);
  width: var(--leaf-size, 0.58rem);
  height: calc(var(--leaf-size, 0.58rem) * 1.62);
  border-radius: 80% 0 80% 18%;
  opacity: var(--leaf-opacity, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 214, 107, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(130, 199, 95, 0.86), rgba(54, 91, 48, 0.58));
  box-shadow: 0 0 1.4rem rgba(130, 199, 95, 0.12);
  transform-origin: 50% 15%;
  animation: site-leaf-drop var(--leaf-time, 28s) linear infinite;
  animation-delay: var(--leaf-delay, 0s);
}

.site-leaf-fall span::after {
  content: "";
  position: absolute;
  top: 12%;
  left: 48%;
  width: 1px;
  height: 72%;
  background: rgba(245, 237, 214, 0.24);
  transform: rotate(-20deg);
}

.site-leaf-fall span:nth-child(1) { --leaf-x: 7%; --leaf-size: 0.48rem; --leaf-time: 27s; --leaf-delay: -7s; --leaf-opacity: 0.12; }
.site-leaf-fall span:nth-child(2) { --leaf-x: 18%; --leaf-size: 0.64rem; --leaf-time: 34s; --leaf-delay: -18s; --leaf-opacity: 0.15; }
.site-leaf-fall span:nth-child(3) { --leaf-x: 31%; --leaf-size: 0.54rem; --leaf-time: 29s; --leaf-delay: -4s; --leaf-opacity: 0.13; }
.site-leaf-fall span:nth-child(4) { --leaf-x: 44%; --leaf-size: 0.7rem; --leaf-time: 36s; --leaf-delay: -22s; --leaf-opacity: 0.16; }
.site-leaf-fall span:nth-child(5) { --leaf-x: 57%; --leaf-size: 0.46rem; --leaf-time: 26s; --leaf-delay: -11s; --leaf-opacity: 0.11; }
.site-leaf-fall span:nth-child(6) { --leaf-x: 69%; --leaf-size: 0.62rem; --leaf-time: 33s; --leaf-delay: -2s; --leaf-opacity: 0.14; }
.site-leaf-fall span:nth-child(7) { --leaf-x: 81%; --leaf-size: 0.52rem; --leaf-time: 30s; --leaf-delay: -15s; --leaf-opacity: 0.12; }
.site-leaf-fall span:nth-child(8) { --leaf-x: 91%; --leaf-size: 0.66rem; --leaf-time: 38s; --leaf-delay: -9s; --leaf-opacity: 0.15; }
.site-leaf-fall span:nth-child(9) { --leaf-x: 36%; --leaf-size: 0.42rem; --leaf-time: 25s; --leaf-delay: -28s; --leaf-opacity: 0.1; }
.site-leaf-fall span:nth-child(10) { --leaf-x: 73%; --leaf-size: 0.58rem; --leaf-time: 31s; --leaf-delay: -24s; --leaf-opacity: 0.13; }

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  color: var(--forest);
  background: var(--gold);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--gold);
  color: var(--forest);
  font-weight: 800;
  transition-property: transform;
  transition-duration: 220ms;
  transition-timing-function: var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 12;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - 2rem), 74rem);
  min-height: 4rem;
  padding: 0.42rem;
  border: 1px solid rgba(246, 185, 46, 0.2);
  border-radius: 0.5rem;
  background: rgba(7, 17, 11, 0.78);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav-links,
.nav-store {
  min-height: 2.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.85rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  min-width: 2.6rem;
  height: 2.1rem;
  border-radius: 0.35rem;
  border: 1px solid var(--line-gold);
  font-family: var(--font-pixel);
  font-size: 0.48rem;
  color: var(--gold);
  text-shadow: 1px 1px 0 var(--gold-deep);
  background: linear-gradient(180deg, rgba(246, 185, 46, 0.13), rgba(231, 235, 243, 0.06));
}

.brand-name {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}

.nav-links a,
.nav-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 4.1rem;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border-radius: 0.45rem;
  color: rgba(245, 237, 214, 0.78);
  font-size: 0.84rem;
  font-weight: 800;
  transition-property: color, background-color, transform, box-shadow;
  transition-duration: 260ms;
  transition-timing-function: var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--parchment);
  background: rgba(255, 255, 255, 0.07);
}

.nav-links a.nav-home-link {
  min-width: 4.85rem;
  border: 1px solid rgba(246, 185, 46, 0.28);
  color: var(--gold-bright);
  background:
    linear-gradient(135deg, rgba(246, 185, 46, 0.16), rgba(231, 235, 243, 0.055)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-links a.nav-home-link.active {
  color: var(--forest);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), #d99b15);
  box-shadow: 0 0.7rem 2rem rgba(246, 185, 46, 0.18);
}

.nav-store {
  border: 0;
  color: var(--forest);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), #d99b15);
  box-shadow: 0 0.7rem 2rem rgba(246, 185, 46, 0.18);
}

.mobile-store-fab {
  display: none;
}

.nav-store:hover,
.nav-store:focus-visible,
.button:hover,
.button:focus-visible,
.social-row a:hover,
.social-row a:focus-visible {
  transform: translateY(-1px);
}

.nav-store:active,
.button:active,
.social-row a:active {
  transform: scale(0.96);
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.hero,
.shop-hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(7, 17, 11, 0.34) 0%, rgba(7, 17, 11, 0.08) 35%, rgba(7, 17, 11, 0.42) 100%),
    radial-gradient(ellipse at center 75%, rgba(7, 17, 11, 0.03), rgba(7, 17, 11, 0.64) 78%);
}

.hero-home .hero-vignette {
  background:
    linear-gradient(180deg, rgba(7, 17, 11, 0.24) 0%, rgba(7, 17, 11, 0.04) 35%, rgba(7, 17, 11, 0.34) 100%),
    radial-gradient(ellipse at center 75%, rgba(7, 17, 11, 0.02), rgba(7, 17, 11, 0.52) 82%);
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 12rem;
  background: linear-gradient(180deg, transparent, var(--forest) 92%);
}

.mist {
  position: absolute;
  z-index: -2;
  left: -10%;
  width: 120%;
  height: 11rem;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(220, 233, 242, 0.22), transparent),
    linear-gradient(90deg, transparent 10%, rgba(98, 182, 203, 0.16), transparent 70%);
  filter: blur(22px);
  opacity: 0.6;
  animation: drift-mist 12s var(--ease) infinite alternate;
}

.mist-one {
  top: 34%;
}

.mist-two {
  top: 57%;
  animation-duration: 16s;
  opacity: 0.42;
}

.sea-vfx {
  position: absolute;
  inset: auto -8% 0;
  z-index: -1;
  height: 34%;
  pointer-events: none;
  opacity: 0.45;
  background:
    repeating-linear-gradient(172deg, transparent 0 2rem, rgba(98, 182, 203, 0.13) 2.2rem 2.32rem, transparent 2.55rem 4.4rem),
    radial-gradient(ellipse at center bottom, rgba(98, 182, 203, 0.22), transparent 66%);
  mask-image: linear-gradient(180deg, transparent, #000 34%, #000 100%);
  animation: tide-shift 10s var(--ease) infinite alternate;
}

.haki-rings,
.bounty-papers {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.haki-rings span {
  position: absolute;
  width: clamp(8rem, 16vw, 16rem);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.28);
  box-shadow:
    0 0 2rem rgba(139, 92, 246, 0.18),
    inset 0 0 1.4rem rgba(98, 182, 203, 0.1);
  opacity: 0;
  transform: scale(0.55);
  animation: haki-pulse 8s var(--ease) infinite;
}

.haki-rings span:nth-child(1) {
  left: 11%;
  top: 29%;
}

.haki-rings span:nth-child(2) {
  right: 17%;
  top: 42%;
  animation-delay: 2.4s;
}

.haki-rings span:nth-child(3) {
  left: 48%;
  bottom: 12%;
  animation-delay: 4.8s;
}

.shop-rings span:nth-child(1) {
  left: 30%;
  top: 21%;
}

.shop-rings span:nth-child(2) {
  right: 27%;
  top: 28%;
}

.bounty-papers span {
  position: absolute;
  top: -4rem;
  width: 1.25rem;
  height: 1.7rem;
  border: 1px solid rgba(139, 76, 33, 0.4);
  border-radius: 0.08rem;
  background:
    linear-gradient(180deg, rgba(246, 185, 46, 0.2), transparent),
    linear-gradient(135deg, #d5b078, #f2ddb0 55%, #b78b4c);
  box-shadow: 0 0.45rem 1.4rem rgba(0, 0, 0, 0.22);
  opacity: 0;
  animation: paper-drift 16s linear infinite;
}

.bounty-papers span::before {
  content: "X";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(59, 25, 11, 0.68);
  font-family: var(--font-pixel);
  font-size: 0.45rem;
}

.bounty-papers span:nth-child(1) { left: 18%; animation-delay: 1.5s; }
.bounty-papers span:nth-child(2) { left: 58%; animation-delay: 6s; }
.bounty-papers span:nth-child(3) { left: 82%; animation-delay: 10s; }

.leaf-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.leaf-field span {
  position: absolute;
  top: -4rem;
  width: 0.48rem;
  height: 1rem;
  border-radius: 80% 0;
  background: linear-gradient(180deg, rgba(168, 217, 106, 0.9), rgba(62, 107, 60, 0.62));
  opacity: 0;
  animation: float-leaf 14s linear infinite;
}

.leaf-field span:nth-child(1) { left: 12%; animation-delay: 0s; }
.leaf-field span:nth-child(2) { left: 27%; animation-delay: 3s; }
.leaf-field span:nth-child(3) { left: 41%; animation-delay: 7s; }
.leaf-field span:nth-child(4) { left: 63%; animation-delay: 1.6s; }
.leaf-field span:nth-child(5) { left: 76%; animation-delay: 5s; }
.leaf-field span:nth-child(6) { left: 88%; animation-delay: 9s; }

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(calc(100% - 2rem), 48rem);
  margin: 0 auto;
  padding-top: clamp(6rem, 13vh, 8.6rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-bright);
  font-family: var(--font-pixel);
  font-size: 0.58rem;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 var(--gold-deep);
}

.hero-line {
  width: min(100%, 42rem);
  margin: 0 auto 1.2rem;
  color: rgba(245, 237, 214, 0.94);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 700;
  line-height: 1.55;
  text-wrap: balance;
  text-shadow: 0 2px 1rem rgba(0, 0, 0, 0.65);
}

.hero-dock {
  display: grid;
  grid-template-areas:
    "ip"
    "actions"
    "socials";
  gap: 0.8rem;
  justify-items: stretch;
  width: min(100%, 45rem);
  padding: 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(231, 235, 243, 0.14);
  background:
    linear-gradient(135deg, rgba(246, 185, 46, 0.12), transparent 38%),
    rgba(7, 17, 11, 0.62);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.ip-card {
  display: grid;
  grid-area: ip;
  gap: 0.42rem;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(246, 185, 46, 0.18);
  border-radius: 0.45rem;
  background:
    linear-gradient(180deg, rgba(245, 237, 214, 0.08), rgba(245, 237, 214, 0.035)),
    rgba(5, 12, 8, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ip-label {
  color: rgba(245, 237, 214, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ip-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.62rem;
  width: 100%;
  min-height: 3.1rem;
  min-width: 0;
  padding: 0 0.72rem 0 0.9rem;
  border: 1px solid rgba(246, 185, 46, 0.32);
  border-radius: 0.45rem;
  color: var(--silver);
  background:
    linear-gradient(90deg, rgba(246, 185, 46, 0.08), rgba(231, 235, 243, 0.055)),
    rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: clamp(0.74rem, 2vw, 0.98rem);
  font-weight: 800;
  cursor: pointer;
  transition-property: background-color, border-color, transform;
  transition-duration: 240ms;
  transition-timing-function: var(--ease);
}

.ip-value:hover,
.ip-value:focus-visible {
  border-color: rgba(246, 185, 46, 0.62);
  background:
    linear-gradient(90deg, rgba(246, 185, 46, 0.14), rgba(231, 235, 243, 0.075)),
    rgba(255, 255, 255, 0.065);
}

.ip-text {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.copy-chip {
  display: inline-grid;
  place-items: center;
  min-height: 1.65rem;
  padding: 0 0.55rem;
  border-radius: 0.32rem;
  color: var(--forest);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.ip-meta {
  color: rgba(245, 237, 214, 0.58);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
}

.hero-actions,
.shop-hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.hero-actions {
  grid-area: actions;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  min-width: 9.5rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 0.45rem;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  transition-property: transform, box-shadow, filter, background-color, color;
  transition-duration: 260ms;
  transition-timing-function: var(--ease);
}

.button-gold {
  color: var(--forest);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), #d4940b);
  box-shadow: 0 0.8rem 2rem rgba(246, 185, 46, 0.22);
}

.button-silver {
  border: 1px solid rgba(231, 235, 243, 0.24);
  color: var(--silver);
  background: rgba(231, 235, 243, 0.08);
}

.button-teal {
  border: 1px solid rgba(98, 182, 203, 0.34);
  color: var(--silver);
  background:
    linear-gradient(135deg, rgba(98, 182, 203, 0.28), rgba(130, 199, 95, 0.12)),
    rgba(231, 235, 243, 0.07);
  box-shadow: 0 0.8rem 2rem rgba(98, 182, 203, 0.12);
}

.social-row {
  grid-area: socials;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.social-row a {
  display: grid;
  place-items: center;
  flex: 0 0 2.72rem;
  width: 2.72rem;
  height: 2.72rem;
  overflow: hidden;
  border-radius: 0.45rem;
  border: 1px solid rgba(231, 235, 243, 0.16);
  color: var(--silver);
  background: rgba(255, 255, 255, 0.06);
  transition-property: transform, background-color, border-color, color;
  transition-duration: 240ms;
  transition-timing-function: var(--ease);
}

.social-row svg {
  width: 1.1rem;
  height: 1.1rem;
}

.discord-icon,
.discord-icon path {
  fill: currentColor;
  stroke: none;
}

.section {
  width: min(calc(100% - 2rem), 74rem);
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: start;
}

.section h2,
.final-cta h2,
.support-note h2,
.shop-intro h2 {
  margin: 0;
  color: var(--parchment);
  font-size: clamp(1.9rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.copy-stack {
  display: grid;
  gap: 1rem;
}

.copy-stack p,
.shop-intro p,
.support-note p,
.feature-card p,
.steps p,
.site-footer p {
  margin: 0;
  color: rgba(245, 237, 214, 0.76);
  font-size: 1rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.showcase-panel {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
  margin-top: 2.2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(231, 235, 243, 0.13);
  box-shadow: var(--shadow);
}

.showcase-panel img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  object-position: center 43%;
}

.showcase-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 17, 11, 0.9));
}

.showcase-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  display: grid;
  gap: 0.35rem;
  max-width: 35rem;
  padding: 1rem;
  border-radius: 0.45rem;
  background: rgba(7, 17, 11, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.showcase-caption span {
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 0.58rem;
}

.showcase-caption strong {
  font-size: 1rem;
  line-height: 1.45;
}

.section-heading {
  display: grid;
  gap: 0.2rem;
  max-width: 48rem;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.feature-card,
.steps article,
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(231, 235, 243, 0.12);
  background: linear-gradient(180deg, rgba(245, 237, 214, 0.075), rgba(245, 237, 214, 0.035));
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition-property: transform, border-color, box-shadow;
  transition-duration: 300ms;
  transition-timing-function: var(--ease);
}

.feature-card::before,
.product-card::before {
  content: "";
  position: absolute;
  inset: -60%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(246, 185, 46, 0.14), transparent 60%);
  transform: translate3d(-18%, -18%, 0) rotate(8deg);
  transition-property: opacity, transform;
  transition-duration: 500ms;
  transition-timing-function: var(--ease);
}

.feature-card:hover::before,
.product-card:hover::before {
  opacity: 1;
  transform: translate3d(18%, 18%, 0) rotate(8deg);
}

.feature-card {
  padding: 1.2rem;
}

.feature-card:hover,
.product-card:hover {
  transform: translateY(-0.2rem);
  border-color: rgba(246, 185, 46, 0.3);
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1rem;
  border-radius: 0.45rem;
  color: var(--gold);
  background: rgba(246, 185, 46, 0.1);
}

.feature-card h3,
.steps h3,
.product-card h3 {
  margin: 0 0 0.5rem;
  color: var(--silver);
  font-size: 1.04rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.launcher-card {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: clamp(1rem, 3vw, 1.35rem);
  border: 1px solid rgba(98, 182, 203, 0.24);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(98, 182, 203, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(245, 237, 214, 0.085), rgba(245, 237, 214, 0.035));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.launcher-copy {
  display: grid;
  gap: 0.7rem;
}

.launcher-kicker {
  color: var(--water);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.launcher-card h3 {
  margin: 0;
  color: var(--silver);
  font-size: clamp(1.4rem, 3.5vw, 2.25rem);
  line-height: 1.08;
}

.launcher-card p {
  margin: 0;
  color: rgba(245, 237, 214, 0.76);
  line-height: 1.72;
}

.launcher-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.launcher-points span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(231, 235, 243, 0.12);
  border-radius: 0.35rem;
  color: rgba(245, 237, 214, 0.82);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.78rem;
  font-weight: 900;
}

.launcher-actions {
  display: grid;
  gap: 0.7rem;
}

.launcher-actions .button {
  width: 100%;
}

.download-meta {
  color: rgba(245, 237, 214, 0.6);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.mini-ip {
  display: grid;
  gap: 0.3rem;
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(246, 185, 46, 0.2);
  border-radius: 0.45rem;
  color: var(--silver);
  background: rgba(5, 12, 8, 0.28);
  cursor: pointer;
  text-align: left;
}

.mini-ip span {
  color: rgba(245, 237, 214, 0.58);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mini-ip strong {
  overflow-wrap: anywhere;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.steps article {
  padding: 1.15rem;
}

.steps span {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.final-cta,
.support-note {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  width: min(calc(100% - 2rem), 74rem);
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  border-radius: 0.5rem;
  border: 1px solid var(--line-gold);
  background:
    linear-gradient(135deg, rgba(246, 185, 46, 0.11), transparent 36%),
    linear-gradient(180deg, rgba(245, 237, 214, 0.08), rgba(245, 237, 214, 0.035));
  box-shadow: var(--shadow);
}

.site-footer {
  display: grid;
  gap: 1.2rem;
  width: min(calc(100% - 2rem), 74rem);
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(231, 235, 243, 0.13);
}

.site-footer strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--silver);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.footer-links a {
  color: rgba(245, 237, 214, 0.78);
  font-weight: 800;
}

.content-page {
  width: min(calc(100% - 2rem), 74rem);
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 8rem) 0 3rem;
}

.content-page .final-cta {
  width: 100%;
  margin: 1.1rem 0 clamp(3rem, 6vw, 5rem);
}

.legal-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(21rem, 42vw, 30rem);
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(246, 185, 46, 0.18);
  background:
    linear-gradient(135deg, rgba(246, 185, 46, 0.12), transparent 42%),
    rgba(245, 237, 214, 0.055);
  box-shadow: var(--shadow);
}

.legal-hero.compact {
  min-height: auto;
  padding-top: clamp(5rem, 12vw, 7rem);
}

.legal-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.42;
  filter: saturate(1.08);
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 11, 0.24), rgba(7, 17, 11, 0.9)),
    radial-gradient(ellipse at 25% 20%, rgba(98, 182, 203, 0.12), transparent 52%);
}

.legal-hero > div {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.legal-hero h1,
.legal-document h1 {
  margin: 0;
  color: var(--parchment);
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.legal-hero p:not(.eyebrow) {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: rgba(245, 237, 214, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.legal-card,
.legal-document article {
  border-radius: 0.5rem;
  border: 1px solid rgba(231, 235, 243, 0.12);
  background: linear-gradient(180deg, rgba(245, 237, 214, 0.07), rgba(245, 237, 214, 0.035));
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.legal-card {
  padding: 1.15rem;
}

.legal-card span {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.legal-card h2,
.legal-document h2 {
  margin: 0 0 0.55rem;
  color: var(--silver);
  font-size: 1.06rem;
}

.legal-card p,
.legal-document p {
  margin: 0;
  color: rgba(245, 237, 214, 0.76);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-document {
  display: grid;
  gap: 0.85rem;
  max-width: 58rem;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.legal-document article {
  padding: clamp(1rem, 3vw, 1.35rem);
}

.rules-document {
  max-width: 70rem;
}

.rules-document article {
  position: relative;
  overflow: hidden;
}

.rules-document article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(246, 185, 46, 0.08), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(231, 235, 243, 0.08), transparent 32%);
}

.rules-document article > * {
  position: relative;
  z-index: 1;
}

.rules-note {
  border-color: rgba(246, 185, 46, 0.28) !important;
  background:
    linear-gradient(135deg, rgba(246, 185, 46, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(245, 237, 214, 0.075), rgba(245, 237, 214, 0.035)) !important;
}

.rules-note p + p {
  margin-top: 0.75rem;
}

.rules-section-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.95rem;
}

.rules-section-header h2 {
  margin: 0;
}

.rules-section-header span {
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 0.64rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rules-list {
  display: grid;
  gap: 0.72rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-list li {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  color: rgba(245, 237, 214, 0.78);
  line-height: 1.66;
}

.rules-list strong {
  display: inline-flex;
  min-height: 1.9rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(246, 185, 46, 0.24);
  border-radius: 0.35rem;
  background: rgba(246, 185, 46, 0.08);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.rules-list span {
  min-width: 0;
}

.rules-link {
  color: var(--gold-bright);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 620px) {
  .rules-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .rules-list strong {
    width: max-content;
    min-width: 3.1rem;
  }
}

.news-page {
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.news-hero .news-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.news-layout-single {
  display: block;
}

.news-feed-shell,
.creator-panel {
  min-width: 0;
}

.news-feed {
  display: grid;
  gap: 0.9rem;
}

.news-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 1.25rem);
  border: 1px solid rgba(231, 235, 243, 0.12);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(246, 185, 46, 0.07), transparent 44%),
    linear-gradient(180deg, rgba(245, 237, 214, 0.075), rgba(245, 237, 214, 0.035));
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.news-card.is-pinned {
  border-color: rgba(246, 185, 46, 0.34);
}

.news-card.is-empty,
.news-card.is-loading {
  min-height: 13rem;
  align-items: center;
}

.news-card-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(231, 235, 243, 0.1);
  border-radius: 0.45rem;
  background: rgba(7, 17, 11, 0.62);
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-gallery {
  display: grid;
  gap: 0.5rem;
  align-self: start;
}

.news-card-gallery[data-count="2"],
.news-card-gallery[data-count="3"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-card-gallery[data-count="3"] .news-card-media:first-child {
  grid-column: 1 / -1;
}

.news-card-body {
  display: grid;
  gap: 0.55rem;
}

.news-card span,
.news-staff-bar span,
.creator-session span,
.creator-manage h3 {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-card h3,
.creator-panel h2,
.news-composer h2 {
  margin: 0;
  color: var(--silver);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  line-height: 1.14;
}

.news-card p,
.creator-panel p,
.news-composer p,
.creator-form label,
.creator-manage p {
  margin: 0;
  color: rgba(245, 237, 214, 0.76);
  line-height: 1.65;
}

.news-card time {
  color: rgba(245, 237, 214, 0.5);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
}

.news-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.news-card-actions button {
  min-width: 6rem;
  min-height: 2.45rem;
}

.news-staff-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 0.95rem;
  border: 1px solid rgba(98, 182, 203, 0.24);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(98, 182, 203, 0.14), transparent 44%),
    rgba(245, 237, 214, 0.055);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.news-staff-bar[hidden] {
  display: none !important;
}

.news-staff-bar strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--silver);
}

.news-staff-bar em {
  color: var(--gold-bright);
  font-style: normal;
}

.news-staff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.news-staff-actions .button {
  min-width: 8rem;
}

.news-dialog {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(2, 6, 4, 0.72);
  backdrop-filter: blur(10px);
}

.news-dialog[hidden] {
  display: none !important;
}

.news-dialog-card {
  position: relative;
  width: min(100%, 42rem);
  max-height: min(92dvh, 58rem);
  overflow: auto;
}

.dialog-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(231, 235, 243, 0.16);
  border-radius: 0.4rem;
  color: var(--silver);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
}

.creator-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.25rem);
  border: 1px solid rgba(98, 182, 203, 0.24);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(98, 182, 203, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(245, 237, 214, 0.075), rgba(245, 237, 214, 0.035));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.news-composer {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1rem, 3vw, 1.25rem);
  border: 1px solid rgba(246, 185, 46, 0.24);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(246, 185, 46, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(245, 237, 214, 0.075), rgba(245, 237, 214, 0.035)),
    rgba(7, 17, 11, 0.96);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.creator-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.creator-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 900;
}

.creator-form input,
.creator-form textarea,
.creator-form select {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid rgba(231, 235, 243, 0.16);
  border-radius: 0.45rem;
  color: var(--silver);
  background: rgba(5, 12, 8, 0.42);
  font: inherit;
  font-size: 0.92rem;
  padding: 0.75rem;
  outline: none;
}

.creator-form input[type="file"] {
  padding: 0.58rem;
  color: rgba(245, 237, 214, 0.74);
}

.creator-form textarea {
  resize: vertical;
}

.creator-form input:focus,
.creator-form textarea:focus,
.creator-form select:focus {
  border-color: rgba(246, 185, 46, 0.55);
  box-shadow: 0 0 0 3px rgba(246, 185, 46, 0.13);
}

.check-line {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 0.55rem !important;
}

.check-line input {
  width: 1.05rem;
  min-height: 1.05rem;
  accent-color: var(--gold);
}

.creator-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(246, 185, 46, 0.18);
  border-radius: 0.45rem;
  background: rgba(7, 17, 11, 0.45);
}

.creator-session strong {
  display: block;
  color: var(--silver);
  margin-top: 0.18rem;
}

.creator-session .button {
  min-width: 6.2rem;
}

.creator-manage {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(231, 235, 243, 0.12);
}

.creator-manage h3 {
  margin: 0;
}

.creator-manage-item {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid rgba(231, 235, 243, 0.12);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
}

.creator-manage-item strong {
  color: var(--silver);
}

.creator-manage-item button {
  justify-self: start;
  min-height: 2.35rem;
  min-width: 5.5rem;
  padding: 0 0.75rem;
}

.form-status {
  min-height: 1.4rem;
  color: var(--gold-bright) !important;
  font-size: 0.82rem;
  font-weight: 800;
}

.image-help {
  margin-top: -0.35rem;
  color: rgba(245, 237, 214, 0.58);
  font-size: 0.82rem;
  line-height: 1.45;
}

.news-image-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.news-image-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(231, 235, 243, 0.12);
  border-radius: 0.42rem;
  background: rgba(5, 12, 8, 0.42);
}

.shop-hero {
  min-height: 74dvh;
  display: grid;
  place-items: center;
  padding: 7rem 1rem 4rem;
}

.shop-hero .hero-image {
  object-position: center 36%;
}

.shop-hero .hero-vignette {
  background:
    linear-gradient(180deg, rgba(7, 17, 11, 0.45), rgba(7, 17, 11, 0.78)),
    radial-gradient(ellipse at center, rgba(98, 182, 203, 0.08), rgba(7, 17, 11, 0.72));
}

.shop-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 46rem);
  text-align: center;
}

.shop-hero h1 {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: clamp(1.85rem, 7vw, 4.8rem);
  line-height: 1.2;
  text-shadow: 3px 3px 0 var(--gold-deep), 0 0 2.5rem rgba(246, 185, 46, 0.24);
}

.shop-hero p {
  width: min(100%, 42rem);
  margin: 1.2rem auto 1.6rem;
  color: rgba(245, 237, 214, 0.86);
  font-size: 1.08rem;
  line-height: 1.65;
}

.shop-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  width: min(100%, 42rem);
  margin: 1.2rem auto 0;
}

.shop-metrics span {
  display: grid;
  gap: 0.12rem;
  min-height: 4rem;
  padding: 0.8rem;
  border: 1px solid rgba(231, 235, 243, 0.13);
  border-radius: 0.45rem;
  color: rgba(245, 237, 214, 0.68);
  background: rgba(7, 17, 11, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.shop-metrics strong {
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.shop-intro {
  display: grid;
  gap: 1.2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.store-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.store-trust-card {
  display: grid;
  gap: 0.65rem;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(231, 235, 243, 0.12);
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, rgba(245, 237, 214, 0.07), rgba(245, 237, 214, 0.032)),
    rgba(7, 17, 11, 0.18);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.store-trust-card span {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.45rem;
  color: var(--gold);
  background: rgba(246, 185, 46, 0.1);
}

.store-trust-card h3 {
  margin: 0;
  color: var(--silver);
  font-size: 1rem;
}

.store-trust-card p {
  margin: 0;
  color: rgba(245, 237, 214, 0.7);
  line-height: 1.55;
}

.featured-offer {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin: 0 0 1.1rem;
  padding: clamp(1rem, 3vw, 1.35rem);
  overflow: hidden;
  border: 1px solid var(--line-gold);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(246, 185, 46, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(245, 237, 214, 0.08), rgba(245, 237, 214, 0.035));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.featured-offer-media {
  display: grid;
  place-items: end start;
  min-height: 8rem;
  padding: 1rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(180deg, transparent, rgba(7, 17, 11, 0.88)),
    url("assets/tebex-hero-background-under-2mb.png") center / cover;
}

.featured-offer-media span {
  color: var(--forest);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  padding: 0.45rem 0.6rem;
  border-radius: 0.32rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-offer-copy {
  display: grid;
  gap: 0.65rem;
}

.featured-offer-copy h3 {
  margin: 0;
  color: var(--silver);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.12;
}

.featured-offer-copy p:not(.eyebrow) {
  margin: 0;
  color: rgba(245, 237, 214, 0.76);
  line-height: 1.7;
}

.featured-offer-actions {
  display: grid;
  gap: 0.65rem;
}

.category-tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.3rem 0 0.9rem;
  scrollbar-width: thin;
}

.category-tabs button {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(231, 235, 243, 0.14);
  border-radius: 0.45rem;
  color: rgba(245, 237, 214, 0.75);
  background: rgba(245, 237, 214, 0.055);
  font-weight: 900;
  cursor: pointer;
  transition-property: color, border-color, background-color, transform;
  transition-duration: 240ms;
  transition-timing-function: var(--ease);
}

.category-tabs button[aria-pressed="true"] {
  color: var(--forest);
  border-color: rgba(246, 185, 46, 0.55);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.product-card {
  display: grid;
  min-height: 100%;
  padding: 1.15rem;
}

.product-card.is-featured {
  border-color: rgba(246, 185, 46, 0.34);
  background:
    linear-gradient(135deg, rgba(246, 185, 46, 0.09), transparent 42%),
    linear-gradient(180deg, rgba(245, 237, 214, 0.085), rgba(245, 237, 214, 0.035));
}

.product-visual {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(231, 235, 243, 0.12);
  border-radius: 0.45rem;
  color: var(--silver);
  background: rgba(255, 255, 255, 0.06);
}

.product-card[data-tone="gold"] .product-visual {
  color: var(--gold);
  background: rgba(246, 185, 46, 0.1);
}

.product-card[data-tone="water"] .product-visual {
  color: var(--water);
  background: rgba(98, 182, 203, 0.1);
}

.product-card[data-tone="haki"] .product-visual {
  color: var(--haki);
  background: rgba(139, 92, 246, 0.1);
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.category-label,
.badge {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-label {
  color: rgba(245, 237, 214, 0.62);
}

.badge {
  color: var(--gold);
}

.product-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.price {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.perk-list {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.perk-list li {
  display: flex;
  gap: 0.55rem;
  color: rgba(245, 237, 214, 0.76);
  line-height: 1.45;
}

.perk-list li::before {
  content: "";
  flex: 0 0 0.42rem;
  width: 0.42rem;
  height: 0.42rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--spring);
}

.product-buy-row,
.product-card .button {
  width: 100%;
  margin-top: auto;
}

.powered {
  margin: 0.8rem 0 0;
  color: rgba(245, 237, 214, 0.46);
  font-size: 0.76rem;
  text-align: center;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 0.5rem;
  border: 1px solid rgba(231, 235, 243, 0.13);
  box-shadow: var(--shadow);
}

.rank-table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  background: rgba(245, 237, 214, 0.05);
}

.rank-table th,
.rank-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(231, 235, 243, 0.1);
  text-align: center;
  vertical-align: middle;
}

.rank-table th {
  color: var(--silver);
  font-size: 0.88rem;
}

.rank-table th:first-child,
.rank-table td:first-child {
  text-align: left;
}

.rank-table tbody th {
  color: rgba(245, 237, 214, 0.78);
  font-weight: 700;
}

.rank-table td {
  color: rgba(245, 237, 214, 0.74);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 18;
  transform: translateY(1rem);
  opacity: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.45rem;
  color: var(--forest);
  background: var(--gold);
  font-weight: 900;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition-property: transform, opacity;
  transition-duration: 260ms;
  transition-timing-function: var(--ease);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 17;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  width: min(calc(100% - 2rem), 34rem);
  padding: 0.9rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(246, 185, 46, 0.24);
  color: rgba(245, 237, 214, 0.82);
  background: rgba(7, 17, 11, 0.9);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  transition-property: opacity, transform;
  transition-duration: 240ms;
  transition-timing-function: var(--ease);
}

.cookie-banner.is-hiding {
  opacity: 0;
  transform: translateY(0.75rem);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--gold-bright);
  font-weight: 900;
}

.cookie-banner button {
  min-height: 2.55rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 0.42rem;
  color: var(--forest);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  font-weight: 900;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 1rem, 0);
  filter: blur(3px);
  transition-property: opacity, transform, filter;
  transition-duration: 520ms;
  transition-delay: var(--reveal-delay, 0ms);
  transition-timing-function: var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes drift-mist {
  from { transform: translate3d(-4%, 0, 0); }
  to { transform: translate3d(4%, 0, 0); }
}

@keyframes tide-shift {
  from { transform: translate3d(-2.5%, 0, 0); }
  to { transform: translate3d(2.5%, -0.4rem, 0); }
}

@keyframes haki-pulse {
  0% { opacity: 0; transform: scale(0.48); }
  16% { opacity: 0.68; }
  100% { opacity: 0; transform: scale(1.55); }
}

@keyframes paper-drift {
  0% { opacity: 0; transform: translate3d(0, -8vh, 0) rotate(-14deg); }
  12% { opacity: 0.58; }
  88% { opacity: 0.5; }
  100% { opacity: 0; transform: translate3d(-5rem, 112vh, 0) rotate(330deg); }
}

@keyframes float-leaf {
  0% { transform: translate3d(0, -8vh, 0) rotate(0deg); opacity: 0; }
  12% { opacity: 0.72; }
  88% { opacity: 0.72; }
  100% { transform: translate3d(5rem, 110vh, 0) rotate(360deg); opacity: 0; }
}

@keyframes site-leaf-drop {
  0% { transform: translate3d(0, -10vh, 0) rotate(0deg); }
  28% { transform: translate3d(1.3rem, 22vh, 0) rotate(125deg); }
  62% { transform: translate3d(-1.1rem, 62vh, 0) rotate(260deg); }
  100% { transform: translate3d(2.2rem, 112vh, 0) rotate(390deg); }
}

@media (min-width: 640px) {
  .hero-dock {
    grid-template-columns: minmax(0, 1fr) minmax(10rem, 12rem);
    grid-template-areas:
      "ip actions"
      "socials socials";
    align-items: center;
    justify-items: stretch;
    width: min(100%, 51rem);
  }

  .ip-card {
    text-align: left;
  }

  .hero-actions {
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  .social-row {
    padding-top: 0.05rem;
  }

  .feature-grid,
  .steps,
  .product-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer,
  .final-cta,
  .support-note {
    grid-template-columns: 1fr auto;
  }

  .launcher-card {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 18rem);
  }

  .shop-metrics,
  .store-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .section-grid,
  .shop-intro {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .news-layout:not(.news-layout-single) {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem);
  }

  .news-card {
    grid-template-columns: minmax(11rem, 0.34fr) minmax(0, 1fr);
  }

  .featured-offer {
    grid-template-columns: minmax(13rem, 0.6fr) minmax(0, 1fr) minmax(12rem, auto);
  }

  .showcase-caption {
    right: 1.4rem;
    bottom: 1.4rem;
    left: auto;
  }

}

@media (min-width: 1024px) {
  .hero-copy {
    padding-top: 7.5rem;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    top: 0.65rem;
    grid-template-columns: auto 1fr auto;
    width: min(calc(100% - 1rem), 44rem);
  }

  .brand {
    min-width: 0;
    padding-left: 0.45rem;
  }

  .brand-name {
    display: none;
  }

  .nav-links {
    display: flex;
    justify-self: center;
    gap: 0.1rem;
  }

  .nav-links a {
    min-width: auto;
    padding: 0 0.48rem;
    font-size: 0.74rem;
  }

  .nav-links a[href="#join"],
  .nav-links a[href="index.html#join"] {
    display: none;
  }

  .nav-links a[href="news.html"] {
    display: inline-flex;
  }

  .nav-store {
    min-width: 3.7rem;
    padding: 0 0.75rem;
  }

  .hero-image {
    object-position: center center;
  }

  .hero-copy {
    padding-top: 5.8rem;
  }

  .hero-dock {
    width: min(100%, 29rem);
  }

  .hero-line {
    font-size: 0.95rem;
  }

  .shop-hero {
    min-height: 68dvh;
  }

  .shop-hero p {
    font-size: 0.98rem;
  }

  .button {
    width: 100%;
  }

  .content-page {
    width: min(calc(100% - 1rem), 74rem);
    padding-top: 5.5rem;
  }

  .legal-hero.compact {
    padding-top: 2.5rem;
  }

  .creator-panel {
    position: relative;
    top: auto;
  }

  .news-staff-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .news-staff-actions .button,
  .news-hero-actions .button {
    width: 100%;
  }

  .news-image-preview {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    right: 0.5rem;
    left: 0.5rem;
    bottom: 0.5rem;
    grid-template-columns: 1fr;
    width: auto;
  }
}

@media (max-width: 420px) {
  .ip-value {
    font-size: 0.7rem;
  }

  .copy-chip {
    display: none;
  }

  .nav-links a {
    padding: 0 0.36rem;
    font-size: 0.7rem;
  }

  .nav-links a[href="news.html"] {
    display: none;
  }

  .hero-actions,
  .shop-hero-actions,
  .cta-actions {
    width: 100%;
  }

  .section,
  .final-cta,
  .support-note,
  .site-footer {
    width: min(calc(100% - 1rem), 74rem);
  }
}

@media (max-width: 520px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding-right: 0.42rem;
  }

  .nav-links a[href="news.html"] {
    display: none;
  }

  .nav-links a[href="rules.html"] {
    display: none;
  }

  body[data-page="news"] .nav-links a[href="news.html"] {
    display: inline-flex;
  }

  .nav-links a.nav-home-link {
    min-width: 4.25rem;
  }

  .nav-store {
    display: none;
  }

  .mobile-store-fab {
    position: fixed !important;
    top: 1.07rem !important;
    right: 0.92rem !important;
    z-index: 30 !important;
    display: grid !important;
    place-items: center;
    width: 2.9rem !important;
    height: 2.75rem !important;
    border-radius: 0.45rem;
    color: var(--forest);
    background: linear-gradient(135deg, var(--gold-bright), var(--gold), #d99b15) !important;
    box-shadow: 0 0.7rem 2rem rgba(246, 185, 46, 0.18);
  }

  .mobile-store-fab svg {
    width: 1rem;
    height: 1rem;
  }

  .news-hero h1 {
    max-width: 18rem;
    font-size: 1.45rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .news-hero p:not(.eyebrow) {
    max-width: 19rem;
    font-size: 0.96rem;
  }
}

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

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

  .site-leaf-fall,
  .leaf-field {
    display: none;
  }
}
