:root {
  --bg: #070708;
  --bg-soft: #101012;
  --ink: #f4efe6;
  --muted: rgba(244, 239, 230, 0.62);
  --gold: #e7c46a;
  --gold-hot: #ffd98a;
  --lime: #c8ff4a;
  --line: rgba(244, 239, 230, 0.12);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(231, 196, 106, 0.16), transparent 55%),
    radial-gradient(900px 600px at -10% 20%, rgba(200, 255, 74, 0.08), transparent 50%),
    linear-gradient(180deg, #0b0b0d 0%, var(--bg) 40%, #050505 100%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  cursor: pointer;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 196, 106, 0.16), transparent 68%);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 30%;
  z-index: 0;
  transition: opacity 0.4s ease;
  opacity: 0.9;
}

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 2.5rem);
  mix-blend-mode: difference;
}

.mark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.top-note {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 7rem 1.4rem 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: float 9s var(--ease) infinite alternate;
}

.hero-orb--gold {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  right: -8%;
  top: 8%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 217, 138, 0.55), rgba(231, 196, 106, 0.05) 60%, transparent 75%);
}

.hero-orb--lime {
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  left: -6%;
  bottom: 10%;
  background: radial-gradient(circle at 40% 40%, rgba(200, 255, 74, 0.28), transparent 70%);
  animation-delay: -3s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 239, 230, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 72%);
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  text-align: left;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.04em;
  font-size: clamp(4.4rem, 18vw, 11.5rem);
  text-transform: uppercase;
}

.brand-line {
  display: block;
}

.brand-line--accent {
  background: linear-gradient(95deg, var(--gold-hot) 10%, var(--lime) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(231, 196, 106, 0.25));
}

.hero-lead {
  margin: 1.6rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.55;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(120deg, var(--gold-hot), var(--gold) 45%, #d4a94a);
  color: #15120c;
  box-shadow: 0 10px 40px rgba(231, 196, 106, 0.25);
}

.btn--primary:hover {
  background: linear-gradient(120deg, #fff0b8, var(--gold-hot));
}

.btn--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: rgba(231, 196, 106, 0.55);
}

.scroll-hint {
  position: absolute;
  left: clamp(1.2rem, 4vw, 2.5rem);
  bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 1;
}

.scroll-hint span {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: pulse 1.8s ease-in-out infinite;
}

.gift,
.legend,
.finale,
.memories,
.drop,
.deck,
.game {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 12vw, 9rem) clamp(1.2rem, 4vw, 2.5rem);
}

.memories {
  padding-bottom: clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.memories-intro {
  width: min(980px, 100%);
  margin: 0 auto 3.5rem;
}

.memories-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-size: clamp(2.8rem, 9vw, 6.2rem);
  text-transform: uppercase;
}

.memories-title span {
  background: linear-gradient(95deg, var(--gold-hot), var(--lime) 70%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.roulette-stage {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0 0.5rem;
}

.felt {
  position: absolute;
  inset: -8% -4% auto;
  height: min(92vw, 720px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(18, 84, 42, 0.55), transparent 62%),
    radial-gradient(circle at 50% 50%, rgba(200, 255, 74, 0.06), transparent 55%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.roulette-board {
  position: relative;
  z-index: 1;
  width: min(92vw, 520px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.roulette-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  z-index: 5;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 28px solid var(--gold-hot);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.roulette-pointer::after {
  content: "";
  position: absolute;
  top: -28px;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.roulette-wheel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(231, 196, 106, 0.55);
  box-shadow:
    0 0 0 10px rgba(10, 10, 12, 0.85),
    0 0 0 12px rgba(231, 196, 106, 0.25),
    0 25px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 40px rgba(0, 0, 0, 0.35);
  background: #0c0c0e;
  will-change: transform;
}

.wheel-label {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  padding-top: 6.5%;
  transform-origin: center center;
  pointer-events: none;
  z-index: 2;
}

.wheel-label span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.7rem, 2.1vw, 0.92rem);
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  user-select: none;
  pointer-events: none;
}

.wheel-label.is-gold span {
  color: #1a1408;
  text-shadow: none;
}

.roulette-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  width: min(28%, 120px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(231, 196, 106, 0.7);
  background:
    radial-gradient(circle at 35% 30%, #fff1c2, var(--gold) 42%, #9a7420 78%);
  color: #1a1408;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.85rem, 2.5vw, 1.05rem);
  letter-spacing: 0.08em;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.25s var(--ease), filter 0.25s ease;
}

.roulette-hub:hover {
  filter: brightness(1.05);
}

.roulette-hub:active {
  transform: translate(-50%, -50%) scale(0.96);
}

.roulette-hub:disabled {
  cursor: wait;
  filter: saturate(0.85);
}

.roulette-result {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  width: min(520px, 100%);
  margin: 0 auto;
}

.slot-media {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(231, 196, 106, 0.35);
  background:
    linear-gradient(135deg, rgba(231, 196, 106, 0.08), transparent 40%),
    #0e0e11;
}

.slot-media img,
.slot-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slot-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.45rem;
  text-align: center;
  color: var(--muted);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03) 0 12px,
      transparent 12px 24px
    );
}

.slot-placeholder span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.slot-placeholder small {
  font-size: 0.78rem;
  opacity: 0.75;
}

.result-copy {
  min-height: 10rem;
}

.result-year {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(95deg, var(--gold-hot), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.roulette-result .memory-tag {
  margin: 0 0 0.55rem;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}

.roulette-result .memory-title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.roulette-result .memory-text {
  margin: 0.9rem 0 0;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
}

.roulette-result .memory-echo {
  margin: 1.2rem 0 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.roulette-result.is-bump .result-copy {
  animation: resultBump 0.55s var(--ease);
}

.roulette-hint {
  width: min(1180px, 100%);
  margin: 1.6rem auto 0;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* —— МЕГАДОНАТ —— */
.drop {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 500px at 70% 20%, rgba(231, 196, 106, 0.12), transparent 55%),
    radial-gradient(700px 480px at 10% 80%, rgba(143, 19, 36, 0.22), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%);
}

.drop-intro {
  width: min(980px, 100%);
  margin: 0 auto 3rem;
}

.drop-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-size: clamp(2.8rem, 9vw, 6.2rem);
  text-transform: uppercase;
}

.drop-title span {
  background: linear-gradient(95deg, #fff0b8, var(--gold-hot) 40%, #ff5a6a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.drop-stage {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
  min-height: min(78svh, 640px);
  align-items: stretch;
}

.drop-glow {
  position: absolute;
  inset: 10% 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 196, 106, 0.2), transparent 70%);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.drop-stage.is-hit .drop-glow {
  opacity: 1;
  animation: dropPulse 1.2s ease-in-out infinite alternate;
}

.chat-wall {
  position: relative;
  height: min(52vh, 420px);
  overflow: hidden;
  border: 1px solid rgba(231, 196, 106, 0.2);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.wall-meta {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 7, 8, 0.72);
}

.wall-count,
.wall-rule {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.wall-count strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.chat-stream {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.1rem 1rem 0.6rem;
  will-change: transform;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.wall-form {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 7, 8, 0.88);
}

.wall-input {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.wall-input:focus {
  border-color: rgba(231, 196, 106, 0.55);
}

.wall-submit {
  min-height: 2.6rem;
  width: 100%;
}

.wall-status {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 0 0.85rem 0.65rem;
  min-height: 1.2em;
  font-size: 0.82rem;
  color: var(--muted);
  background: rgba(7, 7, 8, 0.88);
}

.wall-status.is-ok {
  color: var(--lime);
}

.wall-status.is-err {
  color: #ff7b8a;
}

.chat-line time {
  margin-left: auto;
  font-size: 0.72rem;
  color: rgba(244, 239, 230, 0.4);
}

.chat-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.7rem;
  font-size: 0.92rem;
  line-height: 1.35;
  color: rgba(244, 239, 230, 0.78);
  opacity: 0;
  transform: translateY(8px);
  animation: chatIn 0.45s var(--ease) forwards;
}

.chat-line strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.chat-line em {
  font-style: normal;
  color: var(--lime);
  font-weight: 600;
}

.chat-line.is-react strong {
  color: #ff7b8a;
}

.chat-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 48px;
  z-index: 2;
  pointer-events: none;
}

.chat-fade--top {
  top: 0;
  background: linear-gradient(to bottom, rgba(7, 7, 8, 0.95), transparent);
}

.chat-fade--bottom {
  bottom: 0;
  background: linear-gradient(to top, rgba(7, 7, 8, 0.95), transparent);
}

.drop-core {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.5rem;
  text-align: center;
  padding: 0.5rem 0 1rem;
}

.drop-alert {
  width: min(100%, 520px);
  padding: 1.6rem 1.3rem 1.4rem;
  border: 1px solid rgba(231, 196, 106, 0.35);
  background:
    linear-gradient(160deg, rgba(231, 196, 106, 0.12), transparent 45%),
    rgba(12, 12, 14, 0.92);
  transform: scale(0.96);
  opacity: 0.55;
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}

.drop-stage.is-hit .drop-alert {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(255, 217, 138, 0.75);
  box-shadow:
    0 0 0 1px rgba(255, 217, 138, 0.2),
    0 20px 80px rgba(231, 196, 106, 0.28),
    0 0 120px rgba(255, 90, 106, 0.15);
  animation: alertSlam 0.7s var(--ease);
}

.drop-badge {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ff7b8a;
}

.drop-from {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  letter-spacing: 0.04em;
}

.drop-amount {
  margin: 0.55rem 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 10vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  background: linear-gradient(100deg, #fff0b8, var(--gold-hot) 35%, var(--lime) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(231, 196, 106, 0.35));
}

.drop-msg {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
}

.drop-btn {
  min-width: min(100%, 280px);
}

.drop-stage.is-hit .drop-btn {
  pointer-events: none;
  opacity: 0.55;
}

body.is-shaking {
  animation: screenShake 0.55s linear;
}

@keyframes chatIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes alertSlam {
  0% {
    opacity: 0;
    transform: translateY(-40px) scale(1.12);
  }
  55% {
    transform: translateY(6px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes dropPulse {
  from {
    transform: scale(0.92);
    opacity: 0.7;
  }
  to {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes screenShake {
  0%,
  100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-6px, 3px);
  }
  40% {
    transform: translate(7px, -4px);
  }
  60% {
    transform: translate(-4px, -2px);
  }
  80% {
    transform: translate(5px, 2px);
  }
}

@media (min-width: 960px) {
  .drop-stage {
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: 2.5rem;
    min-height: min(70svh, 560px);
  }

  .chat-wall {
    height: auto;
    min-height: 560px;
  }

  .wall-form {
    grid-template-columns: 120px 1fr auto;
    align-items: center;
  }

  .wall-submit {
    width: auto;
    padding-inline: 1.2rem;
  }

  .drop-core {
    justify-items: start;
    text-align: left;
    padding-left: 0.5rem;
  }

  .drop-alert {
    width: min(100%, 560px);
  }

  .drop-msg {
    margin-left: 0;
  }
}

/* —— ПУЛЬТ СТРИМА —— */
.deck {
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.deck-intro {
  width: min(980px, 100%);
  margin: 0 auto 2.8rem;
}

.deck-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-size: clamp(2.8rem, 9vw, 6.2rem);
  text-transform: uppercase;
}

.deck-title span {
  background: linear-gradient(95deg, var(--lime), #fff 45%, var(--gold-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.deck-stage {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.deck-hud {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.hud-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.hud-item--wide {
  grid-column: 1 / -1;
}

.hud-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  width: 100%;
}

.hud-item strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.hud-viewers {
  font-size: clamp(1.4rem, 4vw, 1.9rem) !important;
  background: linear-gradient(95deg, var(--gold-hot), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #666;
  box-shadow: 0 0 0 0 rgba(200, 255, 74, 0.5);
}

.deck-stage.is-live .hud-dot {
  background: var(--lime);
  animation: livePulse 1.2s ease-in-out infinite;
}

.deck-pads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.pad {
  appearance: none;
  text-align: left;
  color: var(--ink);
  background:
    linear-gradient(160deg, rgba(231, 196, 106, 0.08), transparent 50%),
    rgba(10, 10, 12, 0.9);
  border: 1px solid var(--line);
  padding: 1.15rem 1rem 1.2rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease;
}

.pad:hover {
  transform: translateY(-3px);
  border-color: rgba(231, 196, 106, 0.55);
}

.pad:active {
  transform: translateY(0) scale(0.98);
}

.pad.is-hot {
  border-color: var(--lime);
  background:
    linear-gradient(160deg, rgba(200, 255, 74, 0.16), transparent 55%),
    rgba(10, 10, 12, 0.95);
}

.pad-key {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.pad-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  letter-spacing: -0.02em;
}

.pad-desc {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.coin-stage {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
  min-height: 0;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s var(--ease), min-height 0.4s ease;
}

.coin-stage.is-show {
  opacity: 1;
  transform: none;
  min-height: 180px;
  pointer-events: auto;
}

.coin {
  position: relative;
  width: 110px;
  height: 110px;
  transform-style: preserve-3d;
  transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.coin.is-flip {
  transform: rotateY(1800deg);
}

.coin-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 3px solid rgba(255, 217, 138, 0.7);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  backface-visibility: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.coin-face--a {
  background: radial-gradient(circle at 35% 30%, #fff1c2, var(--gold) 45%, #8a6a24);
  color: #1a1408;
}

.coin-face--b {
  background: radial-gradient(circle at 35% 30%, #e8ff9a, var(--lime) 48%, #5d8a12);
  color: #102000;
  transform: rotateY(180deg);
}

.coin-result {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--gold-hot);
  min-height: 1.4em;
  text-align: center;
}

/* FX layers */
body.is-chaos {
  animation: chaosGlitch 0.7s steps(2, end);
}

body.is-chaos::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(200, 255, 74, 0.05) 0 2px,
      transparent 2px 6px
    ),
    linear-gradient(90deg, rgba(255, 0, 80, 0.08), transparent 40%, rgba(0, 255, 200, 0.08));
  mix-blend-mode: screen;
}

body.is-godmode {
  animation: godFlash 1.4s ease;
}

body.is-godmode .brand-line--accent,
body.is-godmode .drop-title span,
body.is-godmode .deck-title span,
body.is-godmode .game-title span {
  filter: saturate(1.4) brightness(1.15);
}

.fx-float {
  position: fixed;
  z-index: 55;
  pointer-events: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1rem, 3vw, 1.4rem);
  letter-spacing: 0.08em;
  color: var(--gold-hot);
  text-shadow: 0 0 18px rgba(231, 196, 106, 0.55);
  animation: floatUp 1.6s var(--ease) forwards;
}

@keyframes livePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(200, 255, 74, 0.55);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(200, 255, 74, 0);
  }
}

@keyframes chaosGlitch {
  0% {
    filter: none;
    transform: none;
  }
  20% {
    filter: hue-rotate(40deg) contrast(1.2);
    transform: translate(-4px, 2px) skewX(-1deg);
  }
  40% {
    filter: hue-rotate(-30deg) saturate(1.4);
    transform: translate(5px, -3px);
  }
  60% {
    filter: invert(0.08) hue-rotate(80deg);
    transform: translate(-2px, 1px) skewX(1deg);
  }
  100% {
    filter: none;
    transform: none;
  }
}

@keyframes godFlash {
  0% {
    filter: brightness(1);
  }
  30% {
    filter: brightness(1.25) saturate(1.3);
  }
  100% {
    filter: brightness(1);
  }
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 10px) scale(0.8);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -90px) scale(1.15);
  }
}

@media (min-width: 860px) {
  .deck-hud {
    grid-template-columns: auto auto 1fr;
  }

  .hud-item--wide {
    grid-column: auto;
  }

  .hud-label {
    width: auto;
    margin-right: 0.2rem;
  }

  .deck-pads {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* —— ОРБИТА ALL-IN —— */
.game {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(800px 500px at 50% 0%, rgba(200, 255, 74, 0.07), transparent 55%),
    radial-gradient(600px 400px at 80% 80%, rgba(143, 19, 36, 0.18), transparent 50%);
}

.game-intro {
  width: min(980px, 100%);
  margin: 0 auto 2.5rem;
}

.game-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-size: clamp(2.8rem, 9vw, 6.2rem);
  text-transform: uppercase;
}

.game-title span {
  background: linear-gradient(95deg, var(--lime), var(--gold-hot) 55%, #ff6b7a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.game-shell {
  width: min(720px, 100%);
  margin: 0 auto;
}

.game-hud {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.game-stat {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.game-stat span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.game-stat strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.game-fever {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.game-fever-bar {
  flex: 1;
  height: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.game-fever-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--lime), #ff6b7a);
  transform-origin: left center;
  transition: width 0.15s linear;
}

.game-shell.is-fever .game-fever-bar i {
  box-shadow: 0 0 16px rgba(200, 255, 74, 0.55);
}

.game-shell.is-fever .game-stage {
  border-color: rgba(200, 255, 74, 0.55);
  box-shadow: 0 0 40px rgba(200, 255, 74, 0.12);
}

.game-stage {
  position: relative;
  border: 1px solid rgba(231, 196, 106, 0.28);
  background:
    radial-gradient(circle at 50% 50%, rgba(18, 84, 42, 0.35), transparent 55%),
    #0a0a0c;
  overflow: hidden;
  aspect-ratio: 1;
  touch-action: manipulation;
  user-select: none;
}

.game-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.game-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.7rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(7, 7, 8, 0.72);
  backdrop-filter: blur(6px);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.game-overlay.is-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.game-overlay-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.game-overlay-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.game-overlay-text {
  margin: 0 0 0.4rem;
  max-width: 22rem;
  color: var(--muted);
  line-height: 1.5;
}

.game-hint {
  margin: 0.9rem 0 0;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 700px) {
  .game-hud {
    grid-template-columns: repeat(4, 1fr);
  }
}

@keyframes resultBump {
  0% {
    opacity: 0.35;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 960px) {
  .roulette-stage {
    grid-template-columns: minmax(420px, 520px) 1fr;
    gap: 3rem;
    padding: 2rem 0 1rem;
  }

  .felt {
    inset: -12% auto auto -8%;
    width: min(70vw, 680px);
    height: min(70vw, 680px);
  }

  .roulette-board {
    margin: 0;
  }

  .roulette-result {
    margin: 0;
    width: 100%;
    max-width: 520px;
  }
}

.gift-stage {
  width: min(820px, 100%);
  margin: 0 auto;
}

.gift-title,
.section-title,
.finale-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

.gift-text,
.section-lead,
.finale-text {
  margin: 1.3rem 0 0;
  max-width: 38rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
}

.gift-quote {
  margin: 2.5rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}

.gift-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  line-height: 1.35;
  color: var(--ink);
}

.legend {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 40%);
}

.legend-head {
  width: min(900px, 100%);
  margin: 0 auto 3rem;
}

.traits {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(1100px, 100%);
  display: grid;
  gap: 1.5rem;
}

.trait {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.2rem;
  row-gap: 0.45rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.trait:last-child {
  border-bottom: 1px solid var(--line);
}

.trait-num {
  grid-row: 1 / span 2;
  align-self: start;
  padding-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--lime);
}

.trait h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 700;
}

.trait p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.55;
}

.marquee {
  overflow: hidden;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(231, 196, 106, 0.08), rgba(200, 255, 74, 0.05), rgba(231, 196, 106, 0.08));
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 22s linear infinite;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.78);
}

.marquee-track span:nth-child(even) {
  color: var(--gold);
}

.finale {
  text-align: left;
}

.finale-inner {
  width: min(900px, 100%);
  margin: 0 auto;
}

.finale-title em {
  font-style: normal;
  background: linear-gradient(95deg, var(--gold-hot), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.finale .btn {
  margin-top: 2rem;
}

.foot {
  position: relative;
  z-index: 1;
  padding: 2rem clamp(1.2rem, 4vw, 2.5rem) 2.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.foot p {
  margin: 0;
}

.foot strong {
  color: var(--ink);
  font-weight: 600;
}

#confetti {
  pointer-events: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.brand.reveal {
  transform: translateY(40px) scale(0.98);
  filter: blur(8px);
}

.brand.reveal.is-in {
  transform: none;
  filter: none;
}

@keyframes float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, -28px, 0) scale(1.06);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scaleY(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 860px) {
  .traits {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .trait {
    grid-template-columns: 1fr;
    padding: 0 1.4rem 0 0;
    border-top: 0;
    border-right: 1px solid var(--line);
  }

  .trait:last-child {
    border-right: 0;
    border-bottom: 0;
    padding-right: 0;
  }

  .trait:first-child {
    padding-left: 0;
  }

  .trait-num {
    grid-row: auto;
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 6.5rem;
    align-items: end;
  }

  .hero-inner {
    padding-bottom: 3.5rem;
  }

  .top-note {
    display: none;
  }

  .hero-cta {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .hero-orb,
  .marquee-track,
  .scroll-hint span,
  .roulette-wheel.is-idle,
  .drop-stage.is-hit .drop-glow,
  .deck-stage.is-live .hud-dot {
    animation: none;
  }

  body.is-shaking,
  body.is-chaos,
  body.is-godmode {
    animation: none;
  }
}
