:root {
  --bg-1: #031122;
  --bg-2: #0d2e52;
  --bg-3: #081425;
  --panel: rgba(4, 23, 43, 0.78);
  --panel-2: rgba(9, 31, 56, 0.9);
  --line: rgba(164, 214, 255, 0.27);
  --text: #e6f2ff;
  --text-soft: #b3c6dd;
  --accent: #ffc640;
  --accent-2: #ff6136;
  --ok: #85f7bb;
  --warn: #ffd390;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Chakra Petch", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(130deg, var(--bg-1), var(--bg-2) 48%, var(--bg-3));
}

a {
  color: inherit;
}

.bg-aura {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background:
    radial-gradient(circle at 11% 6%, rgba(255, 198, 64, 0.21), transparent 24%),
    radial-gradient(circle at 83% 9%, rgba(255, 97, 54, 0.2), transparent 28%),
    radial-gradient(circle at 51% 94%, rgba(122, 191, 255, 0.14), transparent 32%);
}

.sea-particles-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 4.5vw;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  background: rgba(4, 14, 29, 0.86);
}

.brand {
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  letter-spacing: 1px;
}

.brand span {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: rgba(11, 30, 52, 0.65);
  padding: 0.45rem 0.7rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.96rem;
}

nav a.active {
  color: var(--accent);
}

main {
  width: min(1180px, 92vw);
  margin: 2rem auto 2.8rem;
  display: grid;
  gap: 1.1rem;
}

section,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 1.8vw, 1.7rem);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -6rem -6rem auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 198, 64, 0.24), transparent 66%);
  pointer-events: none;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-size: 0.84rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.7px;
}

h1 {
  font-size: clamp(2.3rem, 7vw, 4.6rem);
  max-width: 16ch;
  margin-bottom: 0.55rem;
}

h2 {
  font-size: clamp(1.7rem, 4.7vw, 2.8rem);
  margin-bottom: 0.65rem;
}

p,
li,
label,
summary {
  color: var(--text-soft);
}

.hero-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.25fr 0.75fr;
}

.hero-visual-wrap {
  display: grid;
  gap: 0.8rem;
}

.box-scene {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(188, 222, 255, 0.22);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 198, 64, 0.2), transparent 40%),
    linear-gradient(150deg, rgba(7, 27, 50, 0.8), rgba(2, 15, 31, 0.95));
  overflow: hidden;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.scene-glow {
  position: absolute;
  inset: auto 12% 9% 12%;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 148, 66, 0.35), transparent 70%);
  filter: blur(8px);
}

.crate-3d {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 172px;
  height: 128px;
  transform-style: preserve-3d;
  transform:
    translate(-50%, -50%)
    rotateX(calc(18deg + var(--tilt-x)))
    rotateY(calc(-22deg + var(--tilt-y)));
  animation: crateFloat 5.2s ease-in-out infinite alternate;
}

.crate-face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 198, 64, 0.22), rgba(255, 97, 54, 0.24)),
    rgba(11, 36, 65, 0.9);
  color: #f4fbff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  backface-visibility: hidden;
}

.crate-face.front {
  transform: translateZ(42px);
}

.crate-face.back {
  transform: rotateY(180deg) translateZ(42px);
}

.crate-face.right {
  width: 84px;
  left: calc(50% - 42px);
  transform: rotateY(90deg) translateZ(86px);
}

.crate-face.left {
  width: 84px;
  left: calc(50% - 42px);
  transform: rotateY(-90deg) translateZ(86px);
}

.crate-face.top {
  height: 84px;
  top: calc(50% - 42px);
  transform: rotateX(90deg) translateZ(64px);
}

.crate-face.bottom {
  height: 84px;
  top: calc(50% - 42px);
  transform: rotateX(-90deg) translateZ(64px);
}

.orbit-token {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background:
    linear-gradient(145deg, rgba(255, 198, 64, 0.34), rgba(255, 97, 54, 0.25)),
    rgba(5, 23, 44, 0.86);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.token-a {
  top: 16%;
  left: 14%;
  animation: orbitA 9s linear infinite;
}

.token-b {
  top: 18%;
  right: 14%;
  animation: orbitB 11s linear infinite;
}

.token-c {
  bottom: 14%;
  left: 20%;
  animation: orbitC 10s linear infinite;
}

.live-pill {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(8, 33, 60, 0.88);
  padding: 0.42rem 0.72rem;
  color: #ffd390;
  font-weight: 700;
  letter-spacing: 0.8px;
  font-size: 0.78rem;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 0.8rem;
}

.kpi,
.card,
.fact,
.method,
.timeline-item,
.catalog-card,
.analysis-card,
.order-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(188, 222, 255, 0.22);
  background: rgba(7, 27, 50, 0.77);
  padding: 0.85rem;
}

.kpi strong {
  display: block;
  color: var(--text);
  font-size: 1.36rem;
  margin-top: 0.2rem;
}

.btn-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 44px;
  padding: 0.62rem 1.12rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), #ff9138);
  color: #0a1a31;
  box-shadow: 0 10px 20px rgba(255, 198, 64, 0.26);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--text);
  background: transparent;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 0.8rem;
}

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

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

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

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.24rem 0.58rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text);
}

.badge.ok {
  border-color: rgba(133, 247, 187, 0.56);
  color: var(--ok);
}

.badge.warn {
  border-color: rgba(255, 211, 144, 0.68);
  color: var(--warn);
}

.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 0.8rem;
}

.catalog-card h3 {
  margin-bottom: 0.5rem;
}

.foil-card {
  position: relative;
  overflow: hidden;
}

.foil-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(
      circle at var(--foil-x, 50%) var(--foil-y, 50%),
      rgba(255, 255, 255, 0.34),
      rgba(255, 198, 64, 0.14) 28%,
      transparent 56%
    );
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.foil-card:hover::before {
  opacity: 1;
}

.meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.4rem;
  font-size: 0.92rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
}

th,
td {
  text-align: left;
  padding: 0.72rem 0.6rem;
  border-bottom: 1px solid rgba(191, 218, 244, 0.17);
  color: var(--text-soft);
}

thead th {
  color: var(--text);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.36rem;
  font-size: 0.94rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(193, 223, 252, 0.25);
  border-radius: 11px;
  background: rgba(7, 24, 45, 0.82);
  color: var(--text);
  font: inherit;
  padding: 0.63rem 0.66rem;
}

textarea {
  resize: vertical;
}

.payment-methods {
  display: grid;
  gap: 0.5rem;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.payment-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 214, 152, 0.48);
  border-radius: 999px;
  padding: 0.36rem 0.64rem;
  color: #ffe7b2;
  background: rgba(49, 33, 12, 0.35);
  font-size: 0.86rem;
}

.method {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.radio-wrap {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.radio-wrap label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(188, 222, 255, 0.25);
  border-radius: 999px;
  padding: 0.45rem 0.72rem;
  background: rgba(6, 21, 41, 0.7);
}

.radio-wrap input {
  width: auto;
  margin: 0;
}

.calc-box {
  grid-column: 1 / -1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(7, 30, 56, 0.86);
  padding: 0.8rem;
}

.calc-box p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.3rem 0;
}

.notice {
  border-radius: var(--radius-md);
  border: 1px solid rgba(133, 247, 187, 0.35);
  background: rgba(7, 40, 28, 0.52);
  padding: 0.8rem;
}

.notice.error {
  border-color: rgba(255, 150, 138, 0.45);
  background: rgba(56, 14, 20, 0.52);
}

.timeline {
  display: grid;
  gap: 0.7rem;
}

details {
  border-radius: var(--radius-md);
  border: 1px solid rgba(190, 222, 255, 0.22);
  padding: 0.75rem;
  background: rgba(7, 30, 54, 0.8);
}

footer {
  width: min(1180px, 92vw);
  margin: 0 auto 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--text-soft);
}

footer a {
  color: var(--accent);
}

.wanted-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.wanted-poster {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 215, 151, 0.5);
  padding: 0.95rem;
  background:
    linear-gradient(170deg, rgba(77, 51, 25, 0.36), rgba(26, 19, 11, 0.72)),
    rgba(11, 27, 44, 0.72);
  transition: transform 180ms ease, box-shadow 180ms ease;
  transform-origin: center;
}

.wanted-poster small {
  color: #ffd390;
  letter-spacing: 1px;
  font-weight: 700;
}

.wanted-poster strong {
  display: block;
  margin-top: 0.72rem;
  color: #ffe4a8;
}

.wanted-poster:hover {
  transform: rotate(-0.6deg) translateY(-2px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.3);
}

.berry-particle {
  position: fixed;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle, #ffe49e, #ff9f3a);
  pointer-events: none;
  z-index: 60;
  animation: berryPop 620ms ease forwards;
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 45;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0d1f36;
  background: linear-gradient(90deg, #ffc640, #ff8c38);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

.mobile-sticky-cta.preorder-sticky {
  z-index: 46;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  border: 1px solid rgba(255, 214, 152, 0.38);
  border-radius: var(--radius-md);
  background: rgba(5, 18, 35, 0.96);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.38);
  padding: 0.9rem;
}

.cookie-banner p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

body.has-cookie-banner .mobile-sticky-cta {
  bottom: 8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 520ms ease forwards;
}

[data-delay="1"] {
  animation-delay: 70ms;
}

[data-delay="2"] {
  animation-delay: 130ms;
}

[data-delay="3"] {
  animation-delay: 190ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes crateFloat {
  0% {
    transform:
      translate(-50%, -50%)
      rotateX(calc(18deg + var(--tilt-x)))
      rotateY(calc(-22deg + var(--tilt-y)))
      translateY(-6px);
  }

  100% {
    transform:
      translate(-50%, -50%)
      rotateX(calc(18deg + var(--tilt-x)))
      rotateY(calc(-22deg + var(--tilt-y)))
      translateY(6px);
  }
}

@keyframes orbitA {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  33% {
    transform: translate3d(12px, -16px, 0) scale(1.06);
  }

  66% {
    transform: translate3d(-10px, 12px, 0) scale(0.95);
  }
}

@keyframes orbitB {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  33% {
    transform: translate3d(-14px, 12px, 0) scale(0.95);
  }

  66% {
    transform: translate3d(10px, -15px, 0) scale(1.08);
  }
}

@keyframes orbitC {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  33% {
    transform: translate3d(-12px, -10px, 0) scale(1.05);
  }

  66% {
    transform: translate3d(15px, 8px, 0) scale(0.94);
  }
}

@keyframes berryPop {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate3d(var(--dx, 0px), var(--dy, -42px), 0) scale(0.45);
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-kpis {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
  }

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

@media (max-width: 780px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  nav {
    width: 100%;
    display: none;
    padding-top: 0.35rem;
  }

  nav.open {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .box-scene {
    min-height: 260px;
  }

  .crate-3d {
    width: 150px;
    height: 112px;
  }

  .hero-kpis {
    grid-template-columns: 1fr;
  }

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

  .mobile-sticky-cta {
    display: block;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.75rem;
  }

  .cookie-actions .btn {
    width: auto;
    flex: 1 1 48%;
  }

  main {
    margin-bottom: 5.3rem;
  }
}

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

  .crate-3d,
  .orbit-token {
    transform: none !important;
  }
}
