*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cyan:    #00f0ff;
  --purple:  #8b5cf6;
  --magenta: #e040fb;
  --yellow:  #f5c518;
  --dark:    #1c1d1c;
  --dark2:   #10131d;
  --card:    #141824;
  --border:  rgba(255,255,255,0.07);
  --text-dim: rgba(255,255,255,0.45);
  --gold:    #fbbf24;
  --green:   #22c55e;
}

html { scroll-behavior: smooth; }

/* Скрыть скроллбар для Chrome, Safari и Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Скрыть скроллбар для IE, Edge и Firefox */
body {
  -ms-overflow-style: none;  /* IE и Edge */
  scrollbar-width: none;  /* Firefox */
}

body {
  background: var(--dark);
  font-family: 'Barlow Condensed', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  color: #fff;
}

.blob {
  display: none;
}

.HVP71Eq0LRbUR1l9A6kC4A\=\= {
    display: none !important;
  }

  /* Растягиваем iframe на всю ширину */
  iframe {
    width: 100vw !important; /* 100% ширины окна браузера */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border: none;
    min-height: 100vh; /* Высота на весь экран */
  }

  /* Убираем возможные отступы у родительских элементов платформы */
  .parent-container-class { 
    max-width: none !important; 
    padding: 0 !important; 
    margin: 0 !important;
  }

/* ── GRID BG ── */
/* ── body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,240,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none; z-index: 0;
} ── */

/* ── AMBIENT BLOBS ── */
.blob {
  position: fixed; border-radius: 50%;
  filter: blur(100px); pointer-events: none; z-index: 0;
}
.blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
  top: -250px; right: -200px;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,240,255,0.08) 0%, transparent 70%);
  bottom: -100px; left: -100px;
}
.blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(224,64,251,0.07) 0%, transparent 70%);
  top: 50%; left: 40%;
}

.nav-logo img{
  height:36px;
  width:auto;
  display:block;
}

/* ========================================================
   TICKER BAR
======================================================== */
.ticker-bar {
  position: relative; z-index: 20;
  background: rgba(0,0,0,0.4);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  overflow: hidden;
  display: flex; align-items: center;
}

.ticker-label {
  flex-shrink: 0;
  background: var(--yellow);
  color: #000;
  font-family: 'Orbitron', monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 4px 14px;
  margin-right: 16px;
  white-space: nowrap;
}

.ticker-track {
  display: flex; gap: 48px;
  animation: tickerScroll 28s linear infinite;
  white-space: nowrap;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.75);
}
.ticker-item .amt { color: var(--green); font-weight: 700; }
.ticker-item .dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.2; }
}

/* ========================================================
   NAV
======================================================== */
nav {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.logo-box {
  width: 36px; height: 36px;
  background: var(--yellow);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', monospace;
  font-weight: 900; font-size: 17px; color: #000;
}
.logo-text {
  font-family: 'Orbitron', monospace;
  font-weight: 700; font-size: 15px; letter-spacing: 3px;
}

.nav-links {
  display: flex; gap: 28px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-dim);
}
.nav-links a { color: inherit; text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: transparent;
  border: 1px solid rgba(0,240,255,0.4);
  color: var(--cyan);
  padding: 8px 20px;
  border-radius: 6px;
  font-family: 'Orbitron', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; cursor: pointer;
  transition: all .2s;
}
.nav-cta:hover {
  background: rgba(0,240,255,0.1);
  box-shadow: 0 0 20px rgba(0,240,255,0.25);
}

/* ========================================================
   HERO LAYOUT
======================================================== */
.hero {
  position: relative; z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: calc(100vh - 110px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px 40px 40px;
  gap: 0;
}

/* ========================================================
   LEFT COLUMN
======================================================== */
.left {
  padding-right: 40px;
  display: flex; flex-direction: column;
  justify-content: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,240,255,0.07);
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 24px;
  width: fit-content;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--cyan); border-radius: 50%;
  box-shadow: 0 0 6px var(--cyan);
  animation: blink 1.5s infinite;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(56px, 6.5vw, 92px);
  font-weight: 900;
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-title .w1 { color: #fff; display: block; }
.hero-title .w2 {
  display: block;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .w3 {
  display: block;
  background: linear-gradient(90deg, var(--purple) 0%, var(--magenta) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px; font-weight: 400;
  color: var(--text-dim); line-height: 1.65;
  max-width: 420px; margin-bottom: 36px;
  letter-spacing: 0.3px;
}

/* SPIN BUTTON */
.spin-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 42px;
  background: var(--yellow);
  border: none; border-radius: 10px;
  font-family: 'Orbitron', monospace;
  font-size: 17px; font-weight: 900;
  letter-spacing: 1.5px; color: #000;
  cursor: pointer; text-transform: uppercase;
  transition: all .25s ease;
  position: relative; overflow: hidden;
  box-shadow: 0 0 40px rgba(245,197,24,0.35), 0 6px 24px rgba(0,0,0,0.4);
  width: fit-content;
  margin-bottom: 40px;
}
.spin-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .5s ease;
}
.spin-btn:hover::after { transform: translateX(100%); }
.spin-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 60px rgba(245,197,24,0.55), 0 10px 40px rgba(0,0,0,0.4);
}
.spin-btn:active { transform: translateY(0px); }
.spin-btn:disabled {
  opacity: 0.6; cursor: not-allowed;
  transform: none !important;
}
.spin-btn .rocket { font-size: 22px; }

/* STATS ROW */
.stats-row {
  display: flex; gap: 32px;
  margin-bottom: 40px;
}
.stat {
  display: flex; flex-direction: column; gap: 3px;
}
.stat-num {
  font-family: 'Orbitron', monospace;
  font-size: 22px; font-weight: 900; color: #fff;
}
.stat-num span { color: var(--cyan); }
.stat-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; color: var(--text-dim);
  text-transform: uppercase;
}
.stat-divider {
  width: 1px; background: var(--border);
  align-self: stretch;
}

/* WINNERS SECTION */
.winners-label {
  font-size: 11px; letter-spacing: 3px;
  color: var(--yellow); font-weight: 700;
  text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.winners-label::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(245,197,24,0.3), transparent);
}

.winners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.winner-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  transition: border-color .2s;
}
.winner-card:hover { border-color: rgba(0,240,255,0.2); }
.winner-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  background: var(--dark2);
  border: 2px solid rgba(255,255,255,0.1);
}
.winner-info { min-width: 0; }
.winner-name {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px; margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.winner-amt {
  font-family: 'Orbitron', monospace;
  font-size: 14px; font-weight: 700;
  color: var(--green);
}
.winner-time {
  font-size: 10px; color: var(--text-dim);
  margin-top: 1px;
}

/* ========================================================
   RIGHT COLUMN — WHEEL
======================================================== */
.right {
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transform: translateX(-80px);
}

/* Outer decorative circles */
.ring-outer {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,240,255,0.05);
  pointer-events: none;
}
.ring-outer:nth-child(1) { width: 110%; height: 110%; }
.ring-outer:nth-child(2) { width: 130%; height: 130%; }

.wheel-wrap {
  position: relative;
  width: min(660px, 66vw);
  height: min(660px, 66vw);
  flex-shrink: 0;
}

/* Glow pulse behind wheel */
.wheel-glow {
  position: absolute; inset: -30px;
  border-radius: 50%;
  background: conic-gradient(
    var(--cyan) 0deg, var(--purple) 90deg,
    var(--magenta) 180deg, var(--yellow) 270deg, var(--cyan) 360deg
  );
  filter: blur(28px); opacity: 0.25;
  animation: rotateGlow 8s linear infinite;
  z-index: 0;
}
@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Animated border ring */
.wheel-ring {
  position: absolute; inset: -5px;
  border-radius: 50%; z-index: 1;
  background: conic-gradient(
    var(--cyan), var(--purple), var(--magenta), var(--cyan)
  );
  animation: rotateGlow 6s linear infinite;
}
.wheel-ring::after {
  content: ''; position: absolute; inset: 3px;
  border-radius: 50%;
  background: var(--dark);
}

/* Image */
.wheel-img-wrapper {
  position: absolute; inset: 0;
  border-radius: 50%; overflow: hidden; z-index: 2;
}
#wheelImg {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
  display: block; user-select: none; pointer-events: none;
  will-change: transform;
  /* Start at correct resting position (no pre-rotation needed) */
  transform: rotate(0deg);
}

/* POINTER */
.wheel-pointer {
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 32px solid var(--yellow);
  filter: drop-shadow(0 0 12px rgba(245,197,24,1));
}
.wheel-pointer::after {
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--yellow);
}

/* CENTER BUTTON */
.wheel-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px;
  background: radial-gradient(circle, #1e2235 0%, #0d0f18 100%);
  border-radius: 50%;
  border: 3px solid rgba(0,240,255,0.35);
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px rgba(0,240,255,0.2), inset 0 0 20px rgba(0,0,0,0.7);
  cursor: pointer;
  transition: all .2s;
}
.wheel-center:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 40px rgba(0,240,255,0.5);
}
.wheel-center-text {
  font-family: 'Orbitron', monospace;
  font-size: 11px; font-weight: 900;
  color: var(--cyan); letter-spacing: 1px;
  pointer-events: none;
}

/* Spinning state animation on center */
.is-spinning .wheel-center {
  animation: pulseCenter .4s infinite alternate;
}
@keyframes pulseCenter {
  from { box-shadow: 0 0 20px rgba(0,240,255,0.3); border-color: rgba(0,240,255,0.35); }
  to   { box-shadow: 0 0 60px rgba(0,240,255,0.9); border-color: var(--cyan); }
}

/* Tick marks on border */
.wheel-ticks {
  position: absolute; inset: -8px;
  border-radius: 50%; z-index: 3;
  pointer-events: none;
}

/* ========================================================
   FLOATING WINNER NOTIFICATION
======================================================== */
.toast-container {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 500;
  display: flex; flex-direction: column-reverse; gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  background: rgba(16, 19, 29, 0.95);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 12px;
  padding: 12px 16px;
  max-width: 280px;
  box-shadow: 0 0 24px rgba(34,197,94,0.12), 0 8px 32px rgba(0,0,0,0.5);
  transform: translateX(-120%);
  transition: transform .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.toast.show { transform: translateX(0); }
.toast-av {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  background: var(--dark2);
  border: 2px solid rgba(34,197,94,0.3);
}
.toast-body { min-width: 0; }
.toast-name {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.8); letter-spacing: 0.5px;
}
.toast-prize {
  font-family: 'Orbitron', monospace;
  font-size: 13px; font-weight: 700;
  color: var(--green);
}
.toast-label {
  font-size: 10px; color: var(--text-dim);
  letter-spacing: 1px; text-transform: uppercase;
}

/* ========================================================
   MODAL POPUP
======================================================== */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(16px);
  z-index: 900;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: linear-gradient(150deg, #1a1e2e 0%, #0e1118 100%);
  border: 1px solid rgba(0,240,255,0.18);
  border-radius: 28px;
  padding: 52px 44px 40px;
  max-width: 480px; width: 90%;
  text-align: center; position: relative;
  transform: scale(0.85) translateY(40px);
  transition: transform .45s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(139,92,246,0.1),
    0 0 80px rgba(0,240,255,0.1),
    0 40px 80px rgba(0,0,0,0.6);
}
.overlay.open .modal { transform: scale(1) translateY(0); }

/* Top cyan beam */
.modal::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
}
/* Inner glow */
.modal::after {
  content: '';
  position: absolute; top: -80px; left: -80px; right: -80px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(0,240,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.modal-burst {
  font-size: 72px; display: block;
  margin-bottom: 8px;
  animation: burstIn .6s .2s both;
}

.modal-burst img{
  width:100px;
  height:100px;
  object-fit:contain;
}
@keyframes burstIn {
  0%   { transform: scale(0) rotate(-20deg); opacity: 0; }
  60%  { transform: scale(1.25) rotate(8deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.modal-title {
  font-family: 'Orbitron', monospace;
  font-size: 30px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 2px;
  color: #fff; margin-bottom: 6px;
}
.modal-sub {
  font-size: 15px; font-weight: 500;
  color: var(--text-dim); margin-bottom: 32px;
  line-height: 1.6;
}

/* PRIZE DISPLAY */
.prize-card {
  position: relative;
  background: linear-gradient(135deg, rgba(251,191,36,0.1), rgba(251,191,36,0.04));
  border: 1.5px solid rgba(251,191,36,0.45);
  border-radius: 20px;
  padding: 28px 36px;
  margin-bottom: 28px;
  overflow: hidden;
}
.prize-card::before {
  content: '';
  position: absolute; inset: 0;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg, rgba(251,191,36,0.06) 60deg, transparent 120deg
  );
  animation: prizeShimmer 4s linear infinite;
}
@keyframes prizeShimmer {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.prize-eyebrow {
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  opacity: 0.7; margin-bottom: 8px;
  font-weight: 700; position: relative; z-index: 1;
}
.prize-value {
  font-family: 'Orbitron', monospace;
  font-size: 52px; font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(251,191,36,0.7);
  line-height: 1; position: relative; z-index: 1;
}
.prize-desc {
  font-size: 14px; color: rgba(251,191,36,0.6);
  margin-top: 6px; position: relative; z-index: 1;
  letter-spacing: 1px; text-transform: uppercase;
}

/* CLAIM BUTTON */
.claim-btn {
  display: block; width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  border: none; border-radius: 14px;
  color: #fff; text-decoration: none;
  font-family: 'Orbitron', monospace;
  font-size: 15px; font-weight: 900;
  letter-spacing: 2.5px; text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 0 40px rgba(0,240,255,0.25), 0 6px 24px rgba(0,0,0,0.4);
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.claim-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 60px rgba(0,240,255,0.45), 0 10px 40px rgba(0,0,0,0.4);
}
.modal-close-btn {
  background: none; border: none;
  color: var(--text-dim); font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; padding: 6px 12px;
  transition: color .2s; position: relative; z-index: 1;
}
.modal-close-btn:hover { color: rgba(255,255,255,0.7); }

/* ========================================================
   CONFETTI CANVAS
======================================================== */
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 800; }

/* ========================================================
   FOOTER
======================================================== */
footer {
  position: relative; z-index: 5;
  border-top: 1px solid var(--border);
  padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-links {
  display: flex; gap: 28px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim);
}
.footer-links a { color: inherit; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,0.6); }
.footer-copy {
  font-size: 11px; color: rgba(255,255,255,0.18);
  font-weight: 600; letter-spacing: 1px;
}

/* ========================================================
   RESPONSIVE
======================================================== */
@media (max-width: 960px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding: 28px 20px 32px;
    min-height: auto;
    gap: 36px;
  }
  .left { padding-right: 0; text-align: center; align-items: center; }
  .badge { margin-left: auto; margin-right: auto; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .stats-row { justify-content: center; }
  .winners-grid { grid-template-columns: 1fr 1fr; max-width: 420px; }
  .winners-label { justify-content: center; }
  .winners-label::after { display: none; }

  .right { order: -1; }
  .wheel-wrap { width: min(360px, 82vw); height: min(360px, 82vw); }

  .ring-outer { display: none; }
  footer { flex-direction: column; gap: 12px; text-align: center; padding: 20px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

@media (max-width: 480px) {
  .ticker-label { display: none; }
  .hero-title { font-size: 52px; }
  .wheel-wrap { width: min(300px, 90vw); height: min(300px, 90vw); }
  .wheel-center { width: 54px; height: 54px; }
  .winners-grid { grid-template-columns: 1fr; max-width: 280px; }
  .stats-row { gap: 18px; }
  .modal { padding: 40px 24px 30px; }
  .prize-value { font-size: 42px; }
  .toast-container { left: 12px; bottom: 12px; }
}