/* ═══════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-0: #050510;
  --bg-1: #0a0a1f;
  --bg-2: #0f0f2e;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.08);
  --border-glow: rgba(139,92,246,0.4);

  --neon-purple: #8b5cf6;
  --neon-pink:   #ec4899;
  --neon-cyan:   #06b6d4;
  --neon-gold:   #f59e0b;
  --neon-green:  #10b981;

  --text-1: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #475569;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font: 'Poppins', sans-serif;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text-1);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   SCROLLBAR
════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--neon-purple); border-radius: 3px; }

/* ═══════════════════════════════════════════
   UTILITY
════════════════════════════════════════════ */
.gradient-text {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  color: #fff;
  box-shadow: 0 0 20px rgba(139,92,246,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(139,92,246,0.6);
}
.btn-ghost {
  background: var(--bg-card);
  color: var(--text-1);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--neon-purple);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.35);
  color: var(--neon-purple);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 5vw;
  height: 68px;
  background: rgba(5,5,16,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(5,5,16,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-1);
  text-decoration: none;
  margin-right: auto;
}
.nav-brand i {
  color: var(--neon-purple);
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px var(--neon-purple));
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  margin-right: 32px;
}
.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--neon-purple);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text-1); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 8px 22px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  color: #fff;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.nav-cta:hover { box-shadow: 0 0 25px rgba(139,92,246,0.5); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 16px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10,10,31,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    margin: 0;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { padding: 12px 5vw; }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
}

/* ═══════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5vw 80px;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0;
}
@keyframes floatParticle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  max-width: 600px;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--neon-green);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-sub {
  color: var(--text-2);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat span {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat p { color: var(--text-2); font-size: 0.82rem; margin: 0; }
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Floating hero cards */
.hero-visual {
  position: absolute;
  right: 5vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.hero-card-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: floatCard 4s ease-in-out infinite;
}
.card-1 { top: -80px; right: 60px; animation-delay: 0s; color: var(--neon-gold); }
.card-1 i { font-size: 1.4rem; color: var(--neon-gold); }
.card-2 { top: 60px; right: 0px; animation-delay: 1.3s; color: var(--neon-purple); }
.card-2 i { font-size: 1.4rem; color: var(--neon-purple); }
.card-3 { top: 200px; right: 80px; animation-delay: 2.6s; color: var(--neon-cyan); }
.card-3 i { font-size: 1.4rem; color: var(--neon-cyan); }

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* Radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  top: 50%; left: 20%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-visual { display: none; }
  .hero { justify-content: center; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
}

/* ═══════════════════════════════════════════
   SPIN WHEEL SECTION
════════════════════════════════════════════ */
.spin-section {
  padding: 100px 5vw;
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  position: relative;
}
.spin-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(139,92,246,0.07), transparent);
  pointer-events: none;
}

.wheel-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
}
.spin-below-btn {
  padding: 14px 48px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(139,92,246,0.45);
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
  margin-top: -20px;
}
.spin-below-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 32px rgba(139,92,246,0.6);
}
.spin-below-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.wheel-container {
  position: relative;
  width: min(380px, 92vw);
  height: min(380px, 92vw);
  max-width: 420px;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mute toggle on wheel */
.wheel-mute-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 12;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(139,92,246,0.5);
  background: rgba(10,10,31,0.75);
  color: #c4b5fd;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  transition: transform 0.15s ease, background 0.2s, color 0.2s;
}
.wheel-mute-btn:hover { transform: scale(1.08); background: rgba(139,92,246,0.25); color: #fff; }

/* Confetti burst */
@keyframes confettiBurst {
  0%   { transform: translate(-50%, -50%) rotate(0deg); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty) + 400px)) rotate(var(--rot)); opacity: 0; }
}
.wheel-container::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--neon-purple), var(--neon-pink), var(--neon-cyan),
    var(--neon-gold), var(--neon-green), var(--neon-purple)
  );
  animation: rotateBorder 4s linear infinite;
  opacity: 0.5;
  filter: blur(6px);
}
@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

#spinCanvas {
  border-radius: 50%;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.wheel-pointer {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 2.2rem;
  color: var(--neon-gold);
  filter: drop-shadow(0 0 10px var(--neon-gold));
  line-height: 1;
}

.wheel-center-btn {
  position: absolute;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  box-shadow:
    0 0 0 6px var(--bg-0),
    0 0 0 8px rgba(139,92,246,0.4),
    0 0 30px rgba(139,92,246,0.5);
  transition: var(--transition);
  user-select: none;
}
.wheel-center-btn:hover { transform: scale(1.08); }
.wheel-center-btn:active { transform: scale(0.95); }
.wheel-center-btn span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}

.spin-result {
  display: none;
  text-align: center;
  padding: 32px 40px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  max-width: 400px;
  width: 100%;
  box-sizing: border-box;
  animation: popIn 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
}
@media (max-width: 480px) {
  .spin-result {
    padding: 24px 20px;
    border-radius: 16px;
    max-width: 100%;
  }
  .spin-result h3 { font-size: 1rem; }
  .spin-result p  { font-size: 0.88rem; }
  .result-icon    { font-size: 2.2rem; margin-bottom: 8px; }
  .result-socials { flex-direction: column; gap: 8px; }
  .result-socials .btn { width: 100%; justify-content: center; }
}
.spin-result.visible { display: block; }
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.result-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  animation: bounce 0.6s ease infinite alternate;
}
@keyframes bounce {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}
.spin-result h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.spin-result h3 span { color: var(--neon-purple); }
.spin-result p {
  color: var(--text-2);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.result-socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   SPIN USERNAME BAR
════════════════════════════════════════════ */
.spin-username-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto 32px;
  padding: 20px 24px;
  background: rgba(139,92,246,0.07);
  border: 1.5px solid rgba(139,92,246,0.25);
  border-radius: var(--radius-lg);
}
.spin-username-bar label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a78bfa;
}
.spin-username-bar .sub-row {
  display: flex;
  width: 100%;
  gap: 10px;
  align-items: center;
}
.username-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}
.username-input-wrap input {
  width: 100%;
  padding-right: 52px !important;
}
.username-arrow-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  border: none;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  flex-shrink: 0;
}
.username-arrow-btn:hover {
  background: var(--primary-light, #7c3aed);
}
.username-arrow-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.spin-username-bar input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(139,92,246,0.4);
  background: rgba(10,8,30,0.8);
  color: #f1f5f9;
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.spin-username-bar input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.18);
}
.spin-username-bar input::placeholder { color: #94a3b8; }
.spin-username-bar input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  color: #a78bfa;
  border-color: rgba(139,92,246,0.25);
}
.spin-username-bar button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.spin-setup-hint {
  font-size: 0.82rem;
  color: #ffffff;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hint-label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hint-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.spin-setup-hint a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20, 10, 40, 0.7);
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  z-index: 0;
  transition: transform 0.15s;
}
.spin-setup-hint a::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from var(--angle, 0deg), #ec4899, #8b5cf6, #06b6d4, #ec4899);
  z-index: -1;
  animation: spin-gradient 2.5s linear infinite;
}
.spin-setup-hint a::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: rgba(20, 10, 40, 0.85);
  z-index: -1;
}
@keyframes spin-gradient {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.spin-setup-hint a:hover { transform: scale(1.15); }
.spin-msg {
  display: none;
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
  margin-top: 4px;
}
.spin-msg.error {
  display: block !important;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.35);
  color: #fca5a5;
}
.spin-msg.success {
  display: block !important;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.35);
  color: #6ee7b7;
}
.spin-msg.info {
  display: block !important;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.35);
  color: #c4b5fd;
}
@media (max-width: 480px) {
  .spin-username-bar { padding: 16px; }
  .spin-username-bar .sub-row { flex-direction: column; }
}

/* ═══════════════════════════════════════════
   SPIN JOIN BANNER
════════════════════════════════════════════ */
.spin-join-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto 48px;
  padding: 18px 24px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.28);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .spin-join-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .spin-join-banner .sjb-text { text-align: center; }
  .spin-join-banner .btn { width: 100%; justify-content: center; }
}
.sjb-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(139,92,246,0.45);
}
.sjb-text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-2);
  min-width: 200px;
}
.sjb-text strong { color: var(--text-1); }

/* ═══════════════════════════════════════════
   TERMS WRAPPER
════════════════════════════════════════════ */
.terms-wrapper {
  max-width: 820px;
  margin: 48px auto 0;
}

.terms-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: var(--radius-lg);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.terms-toggle:hover {
  background: rgba(139,92,246,0.14);
  border-color: rgba(139,92,246,0.45);
}
.terms-toggle span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--neon-purple);
}
.terms-chevron {
  color: var(--neon-purple);
  transition: transform 0.3s ease;
  font-size: 0.85rem;
}
.terms-toggle.open .terms-chevron { transform: rotate(180deg); }

.terms-body {
  display: none;
  padding: 28px 0 0;
  animation: fadeSlideDown 0.3s ease;
}
.terms-body.open { display: block; }
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* eligibility cards */
.terms-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 600px) { .terms-cards { grid-template-columns: 1fr; } }

.terms-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.tc-new    { border-color: rgba(16,185,129,0.25); background: rgba(16,185,129,0.05); }
.tc-deposit{ border-color: rgba(245,158,11,0.25);  background: rgba(245,158,11,0.05); }

.tc-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.tc-new  .tc-icon { background: rgba(16,185,129,0.15); color: var(--neon-green); }
.tc-deposit .tc-icon { background: rgba(245,158,11,0.15);  color: var(--neon-gold);  }

.terms-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-1);
}
.terms-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.terms-card ul li {
  font-size: 0.85rem;
  color: var(--text-2);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.terms-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--neon-purple);
  font-weight: 700;
}
.terms-card ul li strong { color: var(--text-1); }

.terms-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}

/* inner accordion */
.terms-accordion { display: flex; flex-direction: column; gap: 8px; }

.ta-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}
.ta-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: none;
  border: none;
  color: var(--text-1);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}
.ta-header:hover { background: rgba(255,255,255,0.04); }
.ta-header i:first-child { color: var(--neon-purple); width: 16px; text-align: center; }
.ta-icon {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-3);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.ta-item.open .ta-icon { transform: rotate(45deg); }

.ta-body {
  display: none;
  padding: 0 20px 16px 48px;
  animation: fadeSlideDown 0.2s ease;
}
.ta-body.open { display: block; }
.ta-body p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 8px;
}
.ta-body p:last-child { margin-bottom: 0; }
.ta-body strong { color: var(--text-1); }

/* ═══════════════════════════════════════════
   GAMES SECTION
════════════════════════════════════════════ */
.games-section {
  padding: 100px 5vw;
  background: var(--bg-1);
  position: relative;
}
.games-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 10% 50%, rgba(6,182,212,0.05), transparent),
    radial-gradient(ellipse 40% 60% at 90% 50%, rgba(236,72,153,0.05), transparent);
  pointer-events: none;
}

/* compact chip grid — all 30 games visible at once */
.games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
}
@media (max-width: 1100px) { .games-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 860px)  { .games-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 620px)  { .games-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 400px)  { .games-grid { grid-template-columns: repeat(2, 1fr); } }

@keyframes chipFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.game-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-1);
  padding: 10px 6px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}
.game-chip:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5), 0 0 20px rgba(139,92,246,0.12);
}

.chip-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a1f;
}
.chip-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.3)) drop-shadow(0 0 2px rgba(255,255,255,0.7));
  transition: transform 0.35s ease;
}
.game-chip:hover .chip-img-wrap img { transform: scale(1.08); }

.chip-badge {
  position: absolute;
  top: 5px; right: 5px;
  padding: 2px 7px;
  border-radius: 50px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.6;
  z-index: 2;
}
.badge-hot  { background: rgba(239,68,68,0.88);  color: #fff; }
.badge-new  { background: rgba(16,185,129,0.88); color: #fff; }
.badge-live { background: rgba(245,158,11,0.88); color: #fff; }

.chip-name {
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-2);
  line-height: 1.3;
  transition: color var(--transition);
  word-break: break-word;
}
.game-chip:hover .chip-name { color: var(--text-1); }

/* ═══════════════════════════════════════════
   SOCIALS SECTION
════════════════════════════════════════════ */
.socials-section {
  padding: 100px 5vw;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto 40px;
}
@media (max-width: 600px) { .socials-grid { grid-template-columns: 1fr; } }

.social-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition);
}
.social-card:hover { transform: translateY(-4px); }
.social-card:hover::before { opacity: 1; }
.social-card:hover .social-arrow { transform: translateX(4px); opacity: 1; }

.facebook { border-color: rgba(59,130,246,0.2); }
.facebook::before { background: rgba(59,130,246,0.06); }
.facebook:hover { border-color: rgba(59,130,246,0.5); box-shadow: 0 12px 40px rgba(59,130,246,0.1); }
.facebook .social-icon { background: rgba(59,130,246,0.15); color: #60a5fa; }

.telegram { border-color: rgba(14,165,233,0.2); }
.telegram::before { background: rgba(14,165,233,0.06); }
.telegram:hover { border-color: rgba(14,165,233,0.5); box-shadow: 0 12px 40px rgba(14,165,233,0.1); }
.telegram .social-icon { background: rgba(14,165,233,0.15); color: #38bdf8; }

.signal { border-color: rgba(16,185,129,0.2); }
.signal::before { background: rgba(16,185,129,0.06); }
.signal:hover { border-color: rgba(16,185,129,0.5); box-shadow: 0 12px 40px rgba(16,185,129,0.1); }
.signal .social-icon { background: rgba(16,185,129,0.15); color: #34d399; }

.messenger { border-color: rgba(139,92,246,0.2); }
.messenger::before { background: rgba(139,92,246,0.06); }
.messenger:hover { border-color: rgba(139,92,246,0.5); box-shadow: 0 12px 40px rgba(139,92,246,0.1); }
.messenger .social-icon { background: rgba(139,92,246,0.15); color: #a78bfa; }

.social-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.social-info { flex: 1; }
.social-info h3 { font-size: 1rem; font-weight: 700; color: var(--text-1); margin-bottom: 2px; }
.social-info p  { font-size: 0.82rem; color: var(--text-2); margin: 0; }
.social-arrow {
  color: var(--text-3);
  font-size: 0.9rem;
  opacity: 0;
  transition: var(--transition);
}

/* Newsletter */
.newsletter {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 28px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.newsletter-form {
  justify-content: center;
}
.newsletter > i {
  font-size: 2rem;
  color: var(--neon-purple);
  filter: drop-shadow(0 0 8px var(--neon-purple));
}
.newsletter > div { flex: 1; min-width: 180px; }
.newsletter h3 { font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.newsletter p  { font-size: 0.82rem; color: var(--text-2); margin: 0; }
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 180px;
  padding: 9px 16px;
  border-radius: 50px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: var(--text-3); }
.newsletter-form input:focus { border-color: var(--neon-purple); }

/* ═══════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer {
  padding: 48px 5vw 100px;
  border-top: 1px solid var(--border);
  background: var(--bg-0);
}
.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-brand i { color: var(--neon-purple); }
.footer-disclaimer {
  color: var(--text-3);
  font-size: 0.8rem;
  margin-bottom: 8px;
}
.footer-copy {
  color: var(--text-3);
  font-size: 0.78rem;
}

/* ═══════════════════════════════════════════
   USERNAME MODAL
════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  position: relative;
  background: linear-gradient(135deg, #0f0f2e, #1a0533);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 44px 40px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 60px rgba(139,92,246,0.15);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275), opacity 0.25s ease;
}
.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--text-1); }
.modal-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--neon-purple);
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 12px rgba(139,92,246,0.4));
}
.modal-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.modal-sub {
  text-align: center;
  color: var(--text-2);
  font-size: 0.88rem;
  margin-bottom: 28px;
}
.modal-field {
  margin-bottom: 18px;
}
.modal-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.modal-field input {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.modal-field input::placeholder { color: var(--text-3); }
.modal-field input:focus {
  border-color: var(--neon-purple);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}

/* ═══════════════════════════════════════════
   TOAST NOTIFICATION
════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.4);
  color: var(--neon-green);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(16px);
  animation: slideToast 0.3s ease, fadeOutToast 0.4s ease 2.6s forwards;
}
@keyframes slideToast {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes fadeOutToast {
  to { opacity: 0; transform: translateX(120%); }
}

/* ═══════════════════════════════════════════
   CONTACT BAR - ALWAYS VISIBLE
════════════════════════════════════════════ */
.contact-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  gap: 12px;
  background: rgba(10, 10, 31, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.contact-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.contact-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.contact-btn.facebook-page { background: #1877F2; }
.contact-btn.messenger { background: #0084FF; }
.contact-btn.telegram { background: #26A5E4; }
.contact-btn.signal { background: #3A76F0; }

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE (iOS & Android)
════════════════════════════════════════════ */
@media (max-width: 480px) {
  .contact-bar {
    bottom: 15px;
    gap: 8px;
    padding: 10px 15px;
  }
  
  .contact-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .contact-btn:hover {
    transform: none;
  }
  
  .contact-btn:active {
    transform: scale(0.95);
  }
}

/* Safe area for notched phones (iPhone X+) */
@supports (padding: max(0px)) {
  .contact-bar {
    bottom: max(15px, env(safe-area-inset-bottom));
  }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .wheel-container {
    transform: scale(0.85);
  }
  
  .modal-box {
    width: 90%;
    max-width: 350px;
    padding: 24px;
  }
  
  .newsletter {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .newsletter-form {
    width: 100%;
  }
  
  .footer-inner {
    padding: 0 20px;
  }
}

/* Prevent horizontal scroll on mobile */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* iOS momentum scrolling */
@supports (-webkit-overflow-scrolling: touch) {
  body {
    -webkit-overflow-scrolling: touch;
  }
}

/* Android Chrome 100vh fix */
@supports (height: 100dvh) {
  .hero {
    min-height: 100dvh;
  }
}

/* ═══════════════════════════════════════════════════════════
   ✨ UI ATTRACTIVENESS UPGRADE — v2
   Layered on top of existing styles for a more premium look
═══════════════════════════════════════════════════════════ */

/* ─── Animated mesh-gradient background ─── */
body {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(139,92,246,0.18), transparent 60%),
    radial-gradient(900px 500px at 110% 20%, rgba(236,72,153,0.15), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(6,182,212,0.12), transparent 60%),
    var(--bg-0);
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
}

/* Floating ambient orbs */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(139,92,246,0.25), transparent 8%),
    radial-gradient(circle at 80% 60%, rgba(236,72,153,0.2), transparent 8%),
    radial-gradient(circle at 60% 90%, rgba(6,182,212,0.18), transparent 8%);
  filter: blur(60px);
  animation: orbDrift 18s ease-in-out infinite alternate;
}
@keyframes orbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.05); }
  100% { transform: translate(-20px, 30px) scale(0.95); }
}

section, nav, footer { position: relative; z-index: 1; }

/* ─── Premium buttons with shimmer ─── */
.btn { position: relative; overflow: hidden; letter-spacing: 0.015em; }
.btn-primary {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 35%, #ec4899 75%, #f59e0b 100%);
  background-size: 220% 220%;
  animation: btnGradient 6s ease infinite;
  box-shadow:
    0 8px 24px rgba(139,92,246,0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(236,72,153,0.55), inset 0 1px 0 rgba(255,255,255,0.3);
}
@keyframes btnGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.12);
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}
.btn-ghost:hover {
  border-color: var(--neon-purple);
  box-shadow: 0 0 25px rgba(139,92,246,0.25);
}

/* ─── Section tag glow upgrade ─── */
.section-tag {
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(236,72,153,0.15));
  border: 1px solid rgba(139,92,246,0.5);
  box-shadow: 0 0 20px rgba(139,92,246,0.15), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
}

.section-header h2 {
  background: linear-gradient(180deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

/* ─── Hero polish ─── */
.hero-title {
  text-shadow: 0 4px 30px rgba(139,92,246,0.3);
  letter-spacing: -0.03em;
}
.gradient-text {
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: btnGradient 5s ease infinite;
  filter: drop-shadow(0 0 20px rgba(236,72,153,0.4));
}

.hero-badge {
  background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(6,182,212,0.12));
  border: 1px solid rgba(16,185,129,0.4);
  box-shadow: 0 0 18px rgba(16,185,129,0.18);
}

/* ─── Floating cards in hero ─── */
.hero-card-float {
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* ─── Wheel — premium glow ring ─── */
.wheel-container::before {
  filter: blur(14px);
  opacity: 0.7;
  animation: rotateBorder 6s linear infinite;
}
.wheel-container::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.08);
  pointer-events: none;
  z-index: 1;
}
#spinCanvas {
  box-shadow:
    0 0 0 4px rgba(10,10,31,0.9),
    0 0 0 6px rgba(139,92,246,0.4),
    0 30px 80px rgba(139,92,246,0.35),
    inset 0 0 60px rgba(0,0,0,0.4);
}

.wheel-pointer {
  font-size: 2.6rem;
  filter:
    drop-shadow(0 0 12px var(--neon-gold))
    drop-shadow(0 4px 6px rgba(0,0,0,0.5));
  animation: pointerBob 1.6s ease-in-out infinite;
}
@keyframes pointerBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(3px); }
}

.wheel-center-btn {
  background: radial-gradient(circle at 35% 30%, #a78bfa, #7c3aed 50%, #4c1d95 100%);
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.08),
    0 0 30px rgba(139,92,246,0.7),
    inset 0 2px 8px rgba(255,255,255,0.3),
    inset 0 -4px 10px rgba(0,0,0,0.4);
  font-weight: 800;
  letter-spacing: 0.05em;
  border: 2px solid rgba(255,255,255,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wheel-center-btn:not(:disabled):hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.12),
    0 0 50px rgba(236,72,153,0.7),
    inset 0 2px 8px rgba(255,255,255,0.4);
}

/* ─── Game chips upgrade ─── */
.game-chip {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, border-color 0.3s;
}
.game-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(139,92,246,0.15));
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.game-chip:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(139,92,246,0.6);
  box-shadow: 0 18px 40px rgba(139,92,246,0.25), 0 0 0 1px rgba(139,92,246,0.3);
}
.game-chip:hover::before { opacity: 1; }
.game-chip:hover img { transform: scale(1.08); }
.chip-img-wrap img { transition: transform 0.5s ease; }

/* ─── Social cards: glassy upgrade ─── */
.social-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08) !important;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s, border-color 0.3s !important;
}
.social-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(139,92,246,0.3);
}
.social-card.facebook:hover  { border-color: #1877f2 !important; box-shadow: 0 20px 50px rgba(24,119,242,0.4); }
.social-card.telegram:hover  { border-color: #0088cc !important; box-shadow: 0 20px 50px rgba(0,136,204,0.4); }
.social-card.signal:hover    { border-color: #3a76f0 !important; box-shadow: 0 20px 50px rgba(58,118,240,0.4); }
.social-card.messenger:hover { border-color: #e91e63 !important; box-shadow: 0 20px 50px rgba(233,30,99,0.4); }

/* ─── Newsletter block ─── */
.newsletter {
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(236,72,153,0.08));
  border: 1px solid rgba(139,92,246,0.3);
  box-shadow: 0 20px 60px rgba(139,92,246,0.15);
  backdrop-filter: blur(12px);
}

/* ─── Spin join banner & username bar ─── */
.spin-join-banner,
.spin-username-bar {
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)) !important;
  border: 1px solid rgba(139,92,246,0.25) !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}

/* ─── Modal box upgrade ─── */
.modal-box {
  background: linear-gradient(180deg, rgba(20,20,40,0.95), rgba(10,10,31,0.95)) !important;
  border: 1px solid rgba(139,92,246,0.4) !important;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(139,92,246,0.3) !important;
  backdrop-filter: blur(20px);
}

/* ─── Result card pulse ─── */
.spin-result {
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(6,182,212,0.08)) !important;
  border: 1px solid rgba(16,185,129,0.4) !important;
  box-shadow: 0 20px 60px rgba(16,185,129,0.2) !important;
}
.spin-result.visible { animation: resultPop 0.6s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes resultPop {
  0%   { opacity: 0; transform: scale(0.7) translateY(20px); }
  60%  { transform: scale(1.05) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ─── Contact bar buttons ─── */
.contact-btn {
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s;
}
.contact-btn:hover { transform: scale(1.15) rotate(-6deg); }

/* ─── Toast styling ─── */
.toast {
  background: linear-gradient(135deg, rgba(20,20,40,0.95), rgba(10,10,31,0.95)) !important;
  border: 1px solid rgba(139,92,246,0.5) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(139,92,246,0.3) !important;
  backdrop-filter: blur(14px);
}

/* ─── Smooth focus rings ─── */
input:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid rgba(139,92,246,0.6);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ─── Scrollbar refinement ─── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: rgba(10,10,31,0.5); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-purple), var(--neon-pink));
  border-radius: 5px;
  border: 2px solid rgba(10,10,31,0.5);
}

/* ─── Reduced motion respect ─── */
@media (prefers-reduced-motion: reduce) {
  body::after, .gradient-text, .btn-primary, .wheel-pointer {
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════
   WHEEL ENHANCEMENTS v2 — all 15 features
═══════════════════════════════════════════════ */

/* will-change: hint browser to composite canvas separately */
#spinCanvas { will-change: transform; cursor: grab; }
#spinCanvas:active { cursor: grabbing; }

/* ── Pointer flex on tick ── */
@keyframes pointerFlex {
  0%   { transform: translateX(-50%) scaleY(1)    rotate(0deg);  }
  30%  { transform: translateX(-50%) scaleY(1.5)  rotate(-10deg);}
  65%  { transform: translateX(-50%) scaleY(0.8)  rotate(6deg);  }
  100% { transform: translateX(-50%) scaleY(1)    rotate(0deg);  }
}
.wheel-pointer.pointer-flex { animation: pointerFlex 0.13s ease !important; }

/* ── Flip-card reveal animation ── */
.spin-result { perspective: 800px; }
.spin-result.visible { animation: cardFlip 0.7s cubic-bezier(0.34,1.56,0.64,1) both; }
@keyframes cardFlip {
  0%   { opacity:0; transform: rotateY(-90deg) scale(0.85); }
  55%  { transform: rotateY(8deg)  scale(1.03); }
  100% { opacity:1; transform: rotateY(0deg)   scale(1);    }
}

/* ── Streak badge ── */
.streak-badge {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(236,72,153,0.15));
  border: 1px solid rgba(245,158,11,0.5);
  color: #fcd34d;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(245,158,11,0.25);
  margin-bottom: 8px;
}
.streak-badge.visible { display: flex; animation: streakPop 0.5s cubic-bezier(0.34,1.56,0.64,1); }
.streak-badge i { color: #f97316; filter: drop-shadow(0 0 6px #f97316); }
@keyframes streakPop {
  0%   { transform: scale(0); opacity: 0; }
  70%  { transform: scale(1.1); }
  100% { transform: scale(1);  opacity: 1; }
}

/* ── Spin history strip ── */
.spin-history-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
  font-size: 0.82rem;
}
.sh-label {
  color: var(--text-3);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sh-badge {
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  color: #c4b5fd;
  font-weight: 600;
  font-size: 0.78rem;
  transition: opacity 0.3s;
}

/* ═══════════════════════════════════════════
   FLOWING WINNER NOTIFICATIONS
═══════════════════════════════════════════ */
.winner-feed {
  position: fixed;
  bottom: 90px;
  left: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: min(320px, 90vw);
}

.winner-notif {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(10,10,31,0.92), rgba(20,10,40,0.92));
  border: 1px solid rgba(139,92,246,0.35);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
  animation: notifSlideIn 0.45s cubic-bezier(0.34,1.56,0.64,1) both;
  font-size: 0.82rem;
  color: var(--text-1);
}
.winner-notif.wn-exit {
  animation: notifSlideOut 0.4s ease forwards;
}

/* Jackpot notification — gold glow */
.winner-notif.notif-jackpot {
  border-color: rgba(245,158,11,0.6);
  background: linear-gradient(135deg, rgba(120,53,15,0.85), rgba(10,10,31,0.92));
  box-shadow: 0 8px 30px rgba(245,158,11,0.35), 0 0 20px rgba(245,158,11,0.2);
}
.winner-notif.notif-jackpot .wn-icon { filter: drop-shadow(0 0 8px #ffd700); }

/* Free Spin notification — green glow */
.winner-notif.notif-free {
  border-color: rgba(16,185,129,0.55);
  background: linear-gradient(135deg, rgba(6,79,70,0.85), rgba(10,10,31,0.92));
  box-shadow: 0 8px 30px rgba(16,185,129,0.3);
}
.winner-notif.notif-free .wn-icon { filter: drop-shadow(0 0 8px #10b981); }

.wn-icon { font-size: 1.3rem; flex-shrink: 0; }

.wn-text { flex: 1; line-height: 1.4; }
.wn-text b { color: #fff; }

.wn-time {
  font-size: 0.7rem;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes notifSlideIn {
  0%   { opacity: 0; transform: translateX(-110%) scale(0.85); }
  60%  { transform: translateX(6%)  scale(1.02); }
  100% { opacity: 1; transform: translateX(0)    scale(1); }
}
@keyframes notifSlideOut {
  0%   { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(-110%); }
}

/* Mobile: move to bottom-right on narrow screens */
@media (max-width: 480px) {
  .winner-feed {
    left: auto;
    right: 8px;
    bottom: 80px;
    width: min(260px, 88vw);
  }
  .winner-notif { font-size: 0.75rem; padding: 8px 10px; }
}
