/* ==========================================================================
   SolanaBee Landing Page — BEM Stylesheet
   ========================================================================== */

:root {
  --color-night: #0B0820;
  --color-night-alt: #140F33;
  --color-violet: #3A2A8C;
  --color-violet-light: #5B3FD0;
  --color-lilac: #B9A8FF;
  --color-honey: #F7B32B;
  --color-honey-light: #FFD36E;
  --color-honey-pale: #FFE7A8;
  --color-fire: #FF6B2C;
  --color-fire-deep: #FF2E63;
  --color-sol-purple: #9945FF;
  --color-sol-green: #14F195;
  --color-green: #3EE08F;
  --color-text: #EEEAFF;
  --color-text-muted: #B4ACDD;
  --color-text-subtle: #7E76AE;
  --color-glass: rgba(255, 255, 255, 0.06);
  --color-glass-border: rgba(255, 255, 255, 0.14);

  --font-display: 'Fredoka', system-ui, -apple-system, sans-serif;
  --font-num: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, sans-serif;

  --radius-card: 22px;
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  background: var(--color-night);
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font: 600 16px/1.55 var(--font-body);
  color: var(--color-text);
  background: var(--color-night);
  max-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

svg,
canvas {
  max-width: 100%;
}

a {
  color: inherit;
}

main img {
  height: auto;
}

/* Prevent grid/flex children from overflowing on mobile */
.container > *,
.burn__grid > *,
.buy__grid > *,
.game__scenes > *,
.affiliates__grid > *,
.live-token__tiles > *,
.live-token__curve > *,
.buy__steps > *,
.panel__stats > *,
.panel__chests > * {
  min-width: 0;
}

.container {
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Text Gradients */
.text-gradient--honey {
  background: linear-gradient(180deg, #FFF3C9, var(--color-honey) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient--fire {
  background: linear-gradient(180deg, #FFE0A3, var(--color-fire) 60%, var(--color-fire-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient--solana {
  background: linear-gradient(90deg, var(--color-sol-purple), var(--color-sol-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Live Numbers & Skeletons */
.num-tabular {
  font-family: var(--font-num);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.num-tabular--flash {
  animation: numFlash 1.2s ease-out;
}

@keyframes numFlash {
  0% {
    text-shadow: 0 0 0 rgba(255, 211, 110, 0);
  }
  25% {
    text-shadow: 0 0 22px rgba(255, 211, 110, 0.9);
  }
  100% {
    text-shadow: 0 0 0 rgba(255, 211, 110, 0);
  }
}

.skeleton {
  display: inline-block;
  min-width: 5ch;
  height: 0.9em;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s infinite;
  vertical-align: middle;
}

@keyframes skeletonShimmer {
  to {
    background-position: -200% 0;
  }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--reveal-index, 0) * 90ms);
}

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

/* ==========================================================================
   Header Block
   ========================================================================== */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.header--solid {
  background: rgba(11, 8, 32, 0.78);
  backdrop-filter: blur(14px) saturate(1.3);
  border-color: var(--color-glass-border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 74px;
}

.header__brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.header__logo {
  height: 44px;
  width: auto;
}

.header__nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.header__nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.header__nav-link:hover,
.header__nav-link--active {
  color: #fff;
  background: var(--color-glass);
}

.header__langs {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
}

.header__lang-btn {
  all: unset;
  cursor: pointer;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--color-text-muted);
  transition: color 0.15s, background 0.15s;
}

.header__lang-btn:hover {
  color: #fff;
}

.header__lang-btn[aria-pressed="true"] {
  background: var(--color-honey);
  color: #2A1A00;
}

.header__cta {
  padding: 11px 20px;
  font-size: 0.98rem;
}

/* Stage visibility modifiers */
.stage-only-token,
.stage-only-after {
  display: none !important;
}

.page--stage-token .stage-only-token {
  display: inline-flex !important;
}

.page:not(.page--stage-token) .stage-only-after {
  display: inline-flex !important;
}

.page--stage-open .hero__when,
.page--stage-open .hero__countdown {
  display: none;
}

/* ==========================================================================
   Buttons Block
   ========================================================================== */

.btn {
  --btn-top: var(--color-honey-light);
  --btn-bottom: var(--color-honey);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: 700 1.08rem/1 var(--font-display);
  letter-spacing: 0.01em;
  text-decoration: none;
  color: #2A1A00;
  background: linear-gradient(180deg, var(--btn-top), var(--btn-bottom));
  box-shadow:
    0 10px 30px rgba(247, 179, 43, 0.35),
    inset 0 -3px 0 rgba(0, 0, 0, 0.18),
    inset 0 2px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px rgba(247, 179, 43, 0.5),
    inset 0 -3px 0 rgba(0, 0, 0, 0.18),
    inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

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

.btn--glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-glass-border);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.btn--fire {
  --btn-top: #FF9A4D;
  --btn-bottom: var(--color-fire);
  color: #fff;
  box-shadow:
    0 10px 30px rgba(255, 107, 44, 0.4),
    inset 0 -3px 0 rgba(0, 0, 0, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.btn--discord {
  --btn-top: #7C86FF;
  --btn-bottom: #5865F2;
  color: #fff;
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.btn--discord:hover {
  box-shadow: 0 16px 40px rgba(88, 101, 242, 0.55);
}

.btn--large {
  padding: 20px 40px;
  font-size: 1.3rem;
}

.btn--compact {
  padding: 11px 20px;
  font-size: 0.98rem;
}

.btn__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn--buy {
  flex-direction: column;
  gap: 4px;
}

.btn--buy .btn__icon {
  width: 20px;
  height: 20px;
}

.btn__line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn__sub {
  font: 800 0.74rem/1 var(--font-body);
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.btn__sub:empty {
  display: none;
}

.btn--pulse {
  animation: btnPulse 2.4s ease-in-out infinite;
}

@keyframes btnPulse {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(247, 179, 43, 0.35), 0 0 0 0 rgba(247, 179, 43, 0.55);
  }
  50% {
    box-shadow: 0 10px 30px rgba(247, 179, 43, 0.35), 0 0 0 16px rgba(247, 179, 43, 0);
  }
}

.btn--locked {
  cursor: not-allowed;
  color: rgba(255, 243, 201, 0.85);
  background: rgba(247, 179, 43, 0.12);
  border: 1.5px dashed rgba(255, 211, 110, 0.55);
  box-shadow: none;
  animation: none;
}

.btn--locked:hover {
  transform: none;
  box-shadow: none;
}

/* ==========================================================================
   Badge Block
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font: 900 0.74rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-honey-pale);
  background: rgba(247, 179, 43, 0.12);
  border: 1px solid rgba(247, 179, 43, 0.35);
}

.badge--fire {
  color: #FFD0B0;
  background: rgba(255, 107, 44, 0.14);
  border-color: rgba(255, 107, 44, 0.45);
}

.badge__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 0 0 rgba(62, 224, 143, 0.7);
  animation: dotPing 1.6s infinite;
  flex-shrink: 0;
}

.badge__dot--fire {
  background: var(--color-fire);
  animation-name: dotPingFire;
}

@keyframes dotPing {
  70% {
    box-shadow: 0 0 0 10px rgba(62, 224, 143, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(62, 224, 143, 0);
  }
}

@keyframes dotPingFire {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 44, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 107, 44, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 44, 0);
  }
}

/* ==========================================================================
   Canvas Particles
   ========================================================================== */

.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Contract Bar Block
   ========================================================================== */

.contract {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(640px, 100%);
  max-width: 100%;
  min-width: 0;
  margin-top: 22px;
  padding: 10px 10px 10px 18px;
  border-radius: 18px;
  text-align: left;
  background: rgba(11, 8, 32, 0.72);
  border: 1px solid var(--color-glass-border);
  backdrop-filter: blur(10px);
}

.contract--full {
  width: 100%;
  margin-top: 14px;
}

.contract__label {
  flex: none;
  display: grid;
  gap: 2px;
}

.contract__label-text {
  color: var(--color-honey-light);
  font: 900 0.7rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contract__code {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 700 0.98rem var(--font-num);
  color: #fff;
}

.contract--waiting .contract__code {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 800;
}

.contract__lock {
  font-size: 1.1rem;
}

.contract:not(.contract--waiting) .contract__lock {
  display: none;
}

.contract__copy-btn,
.contract__explorer {
  all: unset;
  flex: none;
  cursor: pointer;
  padding: 9px 14px;
  border-radius: 12px;
  font: 900 0.82rem var(--font-body);
  transition: transform 0.15s, background 0.15s, color 0.15s;
}

.contract__copy-btn {
  background: var(--color-honey);
  color: #2A1A00;
}

.contract__copy-btn:hover {
  background: var(--color-honey-light);
}

.contract__copy-btn--copied {
  background: var(--color-green);
}

.contract__explorer {
  color: var(--color-text-muted);
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
}

.contract__explorer:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.contract--waiting .contract__copy-btn,
.contract--waiting .contract__explorer {
  display: none;
}

/* ==========================================================================
   Section Base Block
   ========================================================================== */

.section {
  position: relative;
  padding: 92px 0;
}

.section--live {
  overflow: hidden;
  isolation: isolate;
  padding-top: 64px;
}

.section--trailer {
  padding-top: 20px;
}

.section--game,
.section--affiliates {
  padding-top: 40px;
}

.section__header {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__title {
  margin: 16px 0 12px;
  font: 700 clamp(2.1rem, 4.6vw, 3.6rem)/1.05 var(--font-display);
  letter-spacing: -0.01em;
}

.section__subtitle {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.12rem;
}

.card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--color-glass-border);
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   Hero Block
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 108px 0 72px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 38%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 62% at 50% 54%, rgba(11, 8, 32, 0.82), rgba(11, 8, 32, 0.5) 62%, rgba(11, 8, 32, 0.18)),
    linear-gradient(180deg, rgba(11, 8, 32, 0.7), rgba(11, 8, 32, 0) 22%, rgba(11, 8, 32, 0) 72%, var(--color-night) 99%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(980px, 100% - 32px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.hero__content > * {
  max-width: 100%;
}

.hero__title {
  margin: 20px 0 18px;
  font: 700 clamp(1.7rem, 3.6vw, 2.7rem)/1.1 var(--font-display);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.hero__countdown {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 1.6vw, 18px);
}

.hero__countdown-box {
  position: relative;
  width: clamp(76px, 14vw, 150px);
  padding: clamp(14px, 2.2vw, 22px) 0 clamp(12px, 1.8vw, 16px);
  border-radius: clamp(16px, 2.2vw, 26px);
  background: linear-gradient(180deg, rgba(42, 30, 104, 0.82), rgba(14, 10, 40, 0.88));
  border: 1px solid rgba(255, 211, 110, 0.38);
  box-shadow:
    0 26px 56px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 50px rgba(247, 179, 43, 0.14);
  backdrop-filter: blur(10px);
}

.hero__countdown-num {
  display: block;
  font: 800 clamp(2.5rem, 7.6vw, 5.8rem)/1 var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #FFFBEA 12%, var(--color-honey-light) 55%, var(--color-honey) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__countdown-num--flip {
  animation: countdownFlip 0.45s cubic-bezier(0.3, 1.4, 0.5, 1);
}

@keyframes countdownFlip {
  from {
    transform: translateY(-12px) scale(0.94);
    opacity: 0.25;
  }
}

.hero__countdown-label {
  display: block;
  margin-top: 8px;
  font: 900 clamp(0.6rem, 1.2vw, 0.78rem)/1 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero__countdown-sep {
  align-self: center;
  margin-top: -18px;
  font: 800 clamp(2rem, 5vw, 4rem)/1 var(--font-num);
  color: rgba(255, 211, 110, 0.5);
  animation: colonBlink 1s steps(2) infinite;
}

@keyframes colonBlink {
  50% {
    opacity: 0.2;
  }
}

.hero__when {
  margin: 18px 0 0;
  color: var(--color-honey-pale);
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero__stages {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 10px;
  margin: 18px 0 0;
  padding: 0;
}

.hero__stage {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 14px;
  background: rgba(11, 8, 32, 0.62);
  border: 1px solid var(--color-glass-border);
  backdrop-filter: blur(8px);
}

.hero__stage-title {
  font: 700 1rem var(--font-display);
  color: #fff;
}

.hero__stage-time {
  color: var(--color-text-muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.hero__stage--current {
  border-color: rgba(255, 211, 110, 0.75);
  box-shadow: 0 0 0 3px rgba(247, 179, 43, 0.16);
}

.hero__stage--current .hero__stage-title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--color-honey-light);
  box-shadow: 0 0 10px var(--color-honey-light);
  vertical-align: 2px;
}

.hero__stage--done {
  opacity: 0.6;
}

.hero__stage--done .hero__stage-title::after {
  content: ' ✓';
  color: var(--color-green);
}

.hero__stage-arrow {
  color: var(--color-text-subtle);
  font-weight: 900;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.hero__contract-note {
  margin: 10px 0 0;
  color: var(--color-text-subtle);
  font-size: 0.86rem;
  font-weight: 800;
}

/* ==========================================================================
   Live Token Block
   ========================================================================== */

.live-token__bg {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  z-index: -1;
  opacity: 0.26;
  -webkit-mask: linear-gradient(90deg, transparent, #000 45%);
  mask: linear-gradient(90deg, transparent, #000 45%);
}

.live-token__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 50%;
}

.live-token__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-night), transparent 25%, transparent 75%, var(--color-night));
}

.live-token__waiting {
  display: none;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(36, 26, 88, 0.78), rgba(16, 11, 44, 0.86));
  border: 1px dashed rgba(255, 211, 110, 0.45);
  backdrop-filter: blur(8px);
}

.live-token__waiting-icon {
  flex: none;
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 6px 16px rgba(247, 179, 43, 0.35));
}

.live-token__waiting-title {
  margin: 0 0 4px;
  font: 700 1.35rem var(--font-display);
}

.live-token__waiting-text {
  margin: 0;
  color: var(--color-text-muted);
}

.page--no-token .live-token__waiting {
  display: flex;
}

.page--no-token .live-token__tiles,
.page--no-token .live-token__curve {
  display: none;
}

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

.page--no-game .live-token__tile--game {
  display: none;
}

.page--no-game .live-token__tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.live-token__tile {
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(36, 26, 88, 0.78), rgba(16, 11, 44, 0.82));
  border: 1px solid var(--color-glass-border);
  backdrop-filter: blur(8px);
}

.live-token__tile-label {
  display: block;
  color: var(--color-text-subtle);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-token__tile-value {
  display: block;
  margin: 10px 0 4px;
  font: 800 clamp(1.45rem, 2.4vw, 2rem)/1.1 var(--font-num);
  color: #fff;
}

.live-token__tile-value sub {
  font-size: 0.55em;
}

.live-token__tile-sub {
  color: var(--color-text-muted);
  font-weight: 700;
}

.live-token__curve {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: center;
  margin-top: 14px;
  padding: 22px 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(36, 26, 88, 0.78), rgba(16, 11, 44, 0.82));
  border: 1px solid var(--color-glass-border);
  backdrop-filter: blur(8px);
}

.live-token__curve-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
}

.live-token__curve-label {
  color: var(--color-text-subtle);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-token__curve-pct {
  font: 800 1.6rem var(--font-num);
}

.live-token__curve-track {
  height: 14px;
  margin: 12px 0 10px;
  border-radius: 99px;
  background: rgba(247, 179, 43, 0.14);
  overflow: hidden;
}

.live-token__curve-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-honey), var(--color-honey-light));
  box-shadow: 0 0 18px rgba(247, 179, 43, 0.6);
  transition: width 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.live-token__curve-note {
  color: var(--color-text-muted);
  font-weight: 700;
}

.live-token__curve-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* ==========================================================================
   Burn Block
   ========================================================================== */

.burn {
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 60% at 22% 60%, rgba(255, 107, 44, 0.16), transparent 70%),
    linear-gradient(180deg, var(--color-night), #160812 50%, var(--color-night));
}

.burn__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 54px;
  align-items: center;
}

.burn__coin {
  position: relative;
  width: 116px;
  margin-bottom: 22px;
}

.burn__coin::before {
  content: '';
  position: absolute;
  inset: -30% -30% -20%;
  background: radial-gradient(circle at 50% 60%, rgba(255, 140, 50, 0.55), rgba(255, 46, 99, 0.15) 45%, transparent 70%);
  filter: blur(8px);
  animation: burnFlame 2.2s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes burnFlame {
  to {
    transform: scale(1.12) translateY(-6px);
    opacity: 0.75;
  }
}

.burn__coin-img {
  width: 100%;
  animation: burnFloat 5s ease-in-out infinite alternate;
}

@keyframes burnFloat {
  to {
    transform: translateY(-8px) rotate(-4deg);
  }
}

.burn__intro .section__title {
  margin-top: 16px;
}

.burn__sub {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.burn__furnace {
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(40, 14, 20, 0.82), rgba(18, 8, 22, 0.9));
  border: 1px solid rgba(255, 107, 44, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 107, 44, 0.12);
  backdrop-filter: blur(8px);
}

.burn__waiting {
  display: none;
  text-align: center;
  padding: 18px 6px;
}

.burn__waiting-icon {
  display: block;
  margin-bottom: 10px;
  font-size: 2.2rem;
  line-height: 1;
}

.burn__waiting-title {
  margin: 0 0 6px;
  font: 700 1.35rem var(--font-display);
}

.burn__waiting-text {
  margin: 0;
  color: var(--color-text-muted);
}

.page--no-token .burn__waiting {
  display: block;
}

.page--no-token .burn__live {
  display: none;
}

.burn__label {
  color: #FFB27A;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.burn__total {
  margin: 8px 0 6px;
  font: 800 clamp(2.6rem, 5.6vw, 4.4rem)/1 var(--font-num);
  letter-spacing: -0.03em;
}

.burn__pct {
  color: #FFB27A;
}

.burn__bar-track {
  height: 14px;
  margin: 22px 0 10px;
  border-radius: 99px;
  background: rgba(255, 107, 44, 0.14);
  overflow: hidden;
}

.burn__bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-fire), #FF9A4D);
  box-shadow: 0 0 20px rgba(255, 107, 44, 0.7);
  transition: width 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.burn__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  justify-content: space-between;
  color: var(--color-text-subtle);
  font-size: 0.86rem;
  font-weight: 800;
}

.burn__list-heading {
  margin: 26px 0 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font: 700 1.15rem var(--font-display);
}

.burn__list {
  display: grid;
  gap: 10px;
}

.burn__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(11, 8, 32, 0.72);
  border: 1px solid rgba(255, 107, 44, 0.25);
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}

.burn__item:hover {
  transform: translateX(-4px);
  border-color: rgba(255, 107, 44, 0.6);
}

.burn__item-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 107, 44, 0.16);
  font-size: 1.25rem;
}

.burn__item-amount {
  font: 800 1.08rem var(--font-num);
}

.burn__item-time {
  display: block;
  color: var(--color-text-subtle);
  font-weight: 800;
}

.burn__item-tx {
  margin-left: auto;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.burn__empty {
  padding: 22px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--color-text-muted);
  text-align: center;
}

/* ==========================================================================
   How to Buy Block
   ========================================================================== */

.buy__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.buy__alert {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 211, 110, 0.3);
  display: flex;
  align-items: flex-end;
}

.buy__alert-img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.buy__alert::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 8, 32, 0.96) 10%, rgba(11, 8, 32, 0.5) 46%, transparent 72%);
}

.buy__alert-body {
  position: relative;
  z-index: 2;
  padding: 26px;
}

.buy__alert-title {
  margin: 0 0 8px;
  font: 700 1.6rem/1.15 var(--font-display);
}

.buy__alert-text {
  margin: 0;
  color: var(--color-text-muted);
}

.buy__steps {
  display: grid;
  gap: 12px;
  counter-reset: buy-step;
}

.buy__step {
  position: relative;
  padding: 20px 22px 20px 84px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--color-glass-border);
}

.buy__step::before {
  counter-increment: buy-step;
  content: counter(buy-step);
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--color-honey-light), var(--color-honey));
  color: #2A1A00;
  font: 800 1.1rem var(--font-num);
  box-shadow: 0 0 0 5px rgba(247, 179, 43, 0.14);
}

.buy__step--highlight {
  border-color: rgba(255, 211, 110, 0.55);
  background: linear-gradient(180deg, rgba(247, 179, 43, 0.14), rgba(247, 179, 43, 0.04));
}

.buy__step-title {
  margin: 0 0 4px;
  font: 700 1.2rem var(--font-display);
}

.buy__step-text {
  margin: 0;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Trailer Block
   ========================================================================== */

.trailer__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 28px;
  background: #000;
  border: 1px solid rgba(255, 211, 110, 0.35);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 80px rgba(247, 179, 43, 0.12);
}

/* ==========================================================================
   Game Block
   ========================================================================== */

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

.game__scene {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(36, 26, 88, 0.7), rgba(16, 11, 44, 0.9));
  border: 1px solid var(--color-glass-border);
}

.game__scene-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 78% 50%;
}

.game__scene-body {
  padding: 20px 22px 24px;
}

.game__scene-title {
  margin: 0 0 6px;
  font: 700 1.3rem var(--font-display);
}

.game__scene-text {
  margin: 0;
  color: var(--color-text-muted);
}

.game__species {
  position: relative;
  margin-top: 18px;
  min-height: 400px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 211, 110, 0.3);
}

.game__species-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}

.game__species::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 8, 32, 0.97) 24%, rgba(11, 8, 32, 0.78) 44%, rgba(11, 8, 32, 0) 64%);
}

.game__species-content {
  position: relative;
  z-index: 2;
  padding: 34px;
  max-width: 540px;
}

.game__species-title {
  margin: 12px 0 16px;
  font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--font-display);
}

.game__species-intro {
  margin: -4px 0 14px;
  color: var(--color-text-muted);
}

.game__species-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.game__species-item {
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(11, 8, 32, 0.62);
  border: 1px solid var(--color-glass-border);
  backdrop-filter: blur(6px);
}

.game__species-name {
  font: 700 1.08rem var(--font-display);
}

.game__species-role {
  margin-left: 8px;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--color-honey-light);
}

.game__species-desc {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Affiliates & Panel Block
   ========================================================================== */

.affiliates__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.affiliates__art {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 440px;
  border: 1px solid var(--color-glass-border);
}

.affiliates__art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
}

.affiliates__art::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(11, 8, 32, 0.9) 12%, transparent 58%);
}

.affiliates__rules {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 8px;
}

.affiliates__rule {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(11, 8, 32, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-glass-border);
  font-weight: 800;
}

.affiliates__rule-value {
  color: var(--color-honey-light);
}

.panel__title {
  margin: 0 0 4px;
  font: 700 1.5rem var(--font-display);
}

.panel__desc {
  color: var(--color-text-muted);
  margin: 0 0 18px;
}

.panel__chests {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.panel__chest {
  position: relative;
  padding: 16px;
  border-radius: 16px;
  overflow: hidden;
}

.panel__chest--possible {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.25);
}

.panel__chest--validated {
  background: linear-gradient(160deg, rgba(62, 224, 143, 0.2), rgba(62, 224, 143, 0.05));
  border: 1px solid rgba(62, 224, 143, 0.5);
}

.panel__chest-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.panel__chest--validated .panel__chest-label {
  color: #8FF0B8;
}

.panel__chest-value {
  display: block;
  margin: 6px 0 2px;
  font: 800 2.3rem/1 var(--font-num);
}

.panel__chest--possible .panel__chest-value {
  color: rgba(255, 255, 255, 0.6);
}

.panel__chest-sub {
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 0.82rem;
}

.panel__chest-img {
  position: absolute;
  right: -6px;
  bottom: -8px;
  width: 66px;
  opacity: 0.9;
}

.panel__chest--possible .panel__chest-img {
  filter: grayscale(1) opacity(0.35);
}

.panel__warning {
  display: flex;
  gap: 10px;
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(247, 179, 43, 0.1);
  border: 1px solid rgba(247, 179, 43, 0.35);
  color: var(--color-honey-pale);
  font-size: 0.9rem;
  font-weight: 700;
}

.panel__cta-wrap {
  margin: 20px 0 0;
}

.panel__empty {
  padding: 22px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--color-text-muted);
  text-align: center;
}

.panel__empty-skeleton {
  width: 60%;
}

/* ==========================================================================
   Community CTA Block
   ========================================================================== */

.community {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 90px 0;
}

.community__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}

.community::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 8, 32, 0.95) 16%, rgba(11, 8, 32, 0.55) 48%, rgba(11, 8, 32, 0.1) 75%),
    linear-gradient(180deg, var(--color-night), transparent 18%, transparent 82%, var(--color-night));
}

.community__content {
  max-width: 560px;
}

.community__title {
  margin: 16px 0 10px;
  font: 700 clamp(2.1rem, 4.6vw, 3.4rem)/1.05 var(--font-display);
}

.community__text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.12rem;
}

.community__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ==========================================================================
   Footer Block
   ========================================================================== */

.footer {
  padding: 70px 0 40px;
  border-top: 1px solid var(--color-glass-border);
  background: #07051A;
  color: var(--color-text-subtle);
  font-size: 0.9rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer__logo {
  height: 58px;
  width: auto;
  margin-bottom: 14px;
}

.footer__desc {
  margin: 0;
}

.footer__heading {
  margin: 0 0 12px;
  color: #fff;
  font: 700 1.05rem var(--font-display);
}

.footer__link {
  display: block;
  padding: 3px 0;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer__link:hover {
  color: var(--color-honey-light);
}

.footer__disclaimer {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 960px) {
  .live-token__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page--no-game .live-token__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page--no-game .live-token__tiles > :nth-child(3) {
    grid-column: 1 / -1;
  }

  .live-token__curve {
    grid-template-columns: 1fr;
  }

  .live-token__curve-actions {
    justify-content: stretch;
  }

  .live-token__curve-actions .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 900px) {
  .header__nav {
    display: none;
  }

  .header__langs {
    margin-left: auto;
  }

  .burn__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .burn__item-tx {
    display: none;
  }

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

  .buy__alert {
    min-height: 320px;
  }

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

  .game__scene {
    display: grid;
    grid-template-columns: 42% 1fr;
  }

  .game__scene-img {
    height: 100%;
    aspect-ratio: auto;
  }

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

@media (max-width: 760px) {
  .hero {
    padding: 92px 0 56px;
    place-items: end center;
  }

  .hero__bg-img {
    object-position: 74% 30%;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(11, 8, 32, 0.55) 0%,
      rgba(11, 8, 32, 0.25) 22%,
      rgba(11, 8, 32, 0.82) 46%,
      rgba(11, 8, 32, 0.94) 70%,
      var(--color-night) 100%
    );
  }

  .hero__content {
    padding-top: 26vh;
  }

  .hero__countdown {
    gap: 8px;
  }

  .hero__countdown-box {
    width: calc((100vw - 32px - 24px) / 4);
  }

  .hero__countdown-sep {
    display: none;
  }

  .hero__stages {
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
  }

  .hero__stage-arrow {
    display: none;
  }

  .hero__stage {
    flex: 1 1 0;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
  }

  .hero__stage-time {
    font-size: 0.8rem;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .contract {
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 12px 12px 12px 16px;
  }

  .contract__code {
    flex-basis: calc(100% - 40px);
    order: 2;
    font-size: 0.9rem;
  }

  .contract__label {
    order: 1;
  }

  .contract__lock {
    order: 1;
    margin-left: auto;
  }

  .contract__copy-btn,
  .contract__explorer {
    order: 3;
  }

  .community {
    align-items: flex-end;
    min-height: 640px;
  }

  .community__bg {
    object-position: 78% 50%;
  }

  .community::before {
    background: linear-gradient(
      0deg,
      rgba(11, 8, 32, 0.97) 46%,
      rgba(11, 8, 32, 0.6) 68%,
      rgba(11, 8, 32, 0.12)
    );
  }

  .community__actions .btn {
    flex: 1 1 100%;
  }

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

@media (max-width: 560px) {
  .section {
    padding: 64px 0;
  }

  .section--live {
    padding-top: 48px;
  }

  .badge {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    text-align: center;
  }

  .btn--large {
    padding: 16px 26px;
    font-size: 1.1rem;
  }

  .live-token__tile {
    padding: 16px;
  }

  .live-token__bg {
    width: 100%;
    opacity: 0.25;
  }

  .burn__furnace {
    padding: 20px;
  }

  .buy__step {
    padding: 18px 18px 18px 74px;
  }

  .buy__step::before {
    left: 16px;
    width: 40px;
    height: 40px;
  }

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

  .game__scene-img {
    aspect-ratio: 16 / 9;
  }

  .game__species {
    display: block;
    align-items: flex-end;
    min-height: 0;
  }

  .game__species-bg {
    position: relative;
    height: 210px;
    object-position: 82% 40%;
  }

  .game__species::before {
    background: linear-gradient(0deg, rgba(11, 8, 32, 1) 50%, transparent 75%);
  }

  .game__species-content {
    padding: 0 18px 22px;
    margin-top: -40px;
  }

  .panel__chest-img {
    width: 44px;
    opacity: 0.45;
  }

  .panel__chest-value {
    font-size: 1.9rem;
  }

  .affiliates__art {
    min-height: 380px;
  }
}

@media (max-width: 420px) {
  .header__cta {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
