/* ===== ROOT VARS & RESET ===== */
:root {
  --black:       #050300;
  --gold:        #c8a84b;
  --gold-bright: #e8c95a;
  --gold-dim:    #8b6914;
  --gold-muted:  #4a3a1a;
  --text-white:  #f5f0e0;
  --text-light:  #bfa86a;
  --text-muted:  #7a6a40;
  --font-main:   'Rubik', 'Inter', -apple-system, sans-serif;
  --font-disp:   'Inter', 'Rubik', sans-serif;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; height:auto; display:block; }

/* ===== FONTS ===== */
@font-face { font-family:'Rubik'; src:url('../fonts/Rubik-Bold.woff2') format('woff2'),url('../fonts/Rubik-Bold.ttf') format('truetype'); font-weight:700; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/Inter-ExtraBold.woff2') format('woff2'),url('../fonts/Inter-ExtraBold.woff') format('woff'); font-weight:800; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/Inter-Black.woff2') format('woff2'),url('../fonts/Inter-Black.woff') format('woff'); font-weight:900; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/Inter-SemiBold.woff2') format('woff2'),url('../fonts/Inter-SemiBold.woff') format('woff'); font-weight:600; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/Inter-Regular.woff2') format('woff2'),url('../fonts/Inter-Regular.woff') format('woff'); font-weight:400; font-display:swap; }

/* ===== PAGE LAYOUT — FULLSCREEN, NO SCROLL ===== */
html, body {
  height: 100%;
  overflow: hidden;
  background: var(--black);
  color: var(--text-white);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

.wl-page {
  display: flex;
  flex-direction: column;
  height: 100svh;
  position: relative;
  overflow: hidden;
}

/* ===== BACKGROUND ===== */
.wl-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.wl-bg img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: right bottom;
}
/* subtle vignette only — no heavy darkening */
.wl-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 100% at 50% 100%, rgba(5,3,0,0.35) 0%, transparent 65%),
    linear-gradient(to bottom, rgba(5,3,0,0.45) 0%, transparent 18%);
}

/* ===== HEADER ===== */
.wl-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  flex-shrink: 0;
}
.wl-header-logo img { height: 36px; width: auto; }
.wl-header-actions { display: flex; align-items: center; gap: 12px; }

/* ===== BUTTONS (header) ===== */
.wl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-disp); font-size: 13px; font-weight: 700;
  letter-spacing: 0.5px; padding: 10px 22px; border-radius: 50px;
  transition: all 0.3s ease; cursor: pointer; border: none;
  text-decoration: none;
}
.wl-btn-icon { width:16px; height:16px; flex-shrink:0; }
.wl-btn-reg {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #0a0600;
  box-shadow: 0 4px 20px rgba(200,168,75,0.25);
}
.wl-btn-reg:hover {
  background: linear-gradient(135deg, var(--gold-bright), #f0d56a);
  box-shadow: 0 6px 30px rgba(200,168,75,0.45);
  transform: translateY(-1px);
}
.wl-btn-login {
  background: transparent; color: var(--gold);
  border: 1.5px solid rgba(200,168,75,0.3);
}
.wl-btn-login:hover {
  border-color: var(--gold);
  background: rgba(200,168,75,0.08);
}

/* ===== MAIN CONTENT ===== */
.wl-main {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 80px 0 40px;
  min-height: 0;
}

/* ===== CENTER COLUMN ===== */
.wl-center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* ===== SLOGAN ABOVE WHEEL ===== */
.wl-slogan {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.wl-slogan-line1 {
  font-family: var(--font-disp);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1;
  color: var(--text-white);
  letter-spacing: -1px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.8), 0 0 60px rgba(0,0,0,0.6);
  white-space: nowrap;
}
.wl-slogan-sep {
  font-family: var(--font-disp);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  color: var(--gold-dim);
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.wl-slogan-line2 {
  font-family: var(--font-disp);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #f0d56a 0%, #c8a84b 50%, #8b6914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.7));
  white-space: nowrap;
}

/* ===== WHEEL AREA ===== */
.wl-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Wheel outer container (pointer stays here, doesn't spin) */
.wl-wheel-outer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pointer — rounded triangle (plectrum), like Figma */
.wl-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: 40px;
  height: 45px;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.55));
}

/* Glow ring behind wheel */
.wl-wheel-glow {
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(200,168,75,0.22) 0%,
    rgba(200,168,75,0.10) 40%,
    rgba(200,168,75,0.03) 65%,
    transparent 75%);
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.07); opacity: 0.75; }
}

/* ===== GOLDEN FLARES (right background) ===== */
.wl-flares {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.wl-flare-orb1 {
  position: absolute;
  right: 4%;
  top: 12%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%,
    rgba(255,230,90,0.22) 0%,
    rgba(200,168,75,0.10) 40%,
    transparent 70%);
  animation: flOrb 5s ease-in-out infinite;
  mix-blend-mode: screen;
}
.wl-flare-orb2 {
  position: absolute;
  right: 26%;
  top: 52%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(240,213,100,0.20) 0%,
    transparent 65%);
  animation: flOrb 4.2s ease-in-out infinite 1.1s;
  mix-blend-mode: screen;
}
.wl-flare-orb3 {
  position: absolute;
  right: -4%;
  bottom: 8%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(190,145,55,0.16) 0%,
    transparent 60%);
  animation: flOrb 6s ease-in-out infinite 2.4s;
  mix-blend-mode: screen;
}
.wl-flare-orb4 {
  position: absolute;
  right: 14%;
  top: 30%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,245,140,0.45) 0%,
    rgba(230,200,80,0.12) 55%,
    transparent 80%);
  animation: flOrb 3.5s ease-in-out infinite 0.6s;
  mix-blend-mode: screen;
}
@keyframes flOrb {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.12); }
}
.wl-ray {
  position: absolute;
  top: 0;
  height: 100%;
  width: 1px;
  mix-blend-mode: screen;
}
.wl-ray-1 {
  right: 17%;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(240,213,80,0.0) 15%,
    rgba(255,235,100,0.45) 42%,
    rgba(255,235,100,0.45) 58%,
    rgba(240,213,80,0.0) 85%, transparent 100%);
  transform: rotate(6deg);
  transform-origin: 50% 45%;
  animation: flRay 4.5s ease-in-out infinite;
}
.wl-ray-2 {
  right: 21%;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(240,213,80,0.0) 20%,
    rgba(255,235,100,0.30) 44%,
    rgba(255,235,100,0.30) 56%,
    rgba(240,213,80,0.0) 80%, transparent 100%);
  transform: rotate(-4deg);
  transform-origin: 50% 40%;
  animation: flRay 5.5s ease-in-out infinite 0.8s;
}
.wl-ray-3 {
  right: 11%;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(240,213,80,0.0) 18%,
    rgba(255,235,100,0.22) 43%,
    rgba(255,235,100,0.22) 57%,
    rgba(240,213,80,0.0) 82%, transparent 100%);
  transform: rotate(14deg);
  transform-origin: 50% 42%;
  animation: flRay 7s ease-in-out infinite 1.9s;
}
.wl-ray-4 {
  right: 8%;
  width: 2px;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(200,168,75,0.0) 10%,
    rgba(230,200,80,0.18) 40%,
    rgba(230,200,80,0.18) 60%,
    rgba(200,168,75,0.0) 90%, transparent 100%);
  transform: rotate(-9deg);
  transform-origin: 50% 38%;
  animation: flRay 6s ease-in-out infinite 3s;
}
@keyframes flRay {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}
.wl-sparkle-star {
  position: absolute;
  right: 14%;
  top: 29%;
  width: 28px;
  height: 28px;
  transform: translate(50%, -50%);
  animation: flSparkle 3s ease-in-out infinite;
  mix-blend-mode: screen;
}
.wl-sparkle-star svg {
  width: 100%; height: 100%;
  overflow: visible;
}
@keyframes flSparkle {
  0%, 100% { opacity: 0.6; transform: translate(50%,-50%) scale(0.8) rotate(0deg); }
  50%       { opacity: 1;   transform: translate(50%,-50%) scale(1.2) rotate(22deg); }
}

/* The spinning wrapper */
.wl-wheel-spin {
  position: relative;
  z-index: 5;
  border-radius: 50%;
  animation: spinWheel 16s linear infinite;
}
@keyframes spinWheel {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Center hub — static, sits on top of spinning canvas */
.wl-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: #0b0920;
  box-shadow:
    0 0 0 3.5px #c8a040,
    0 0 20px rgba(180,140,40,0.5),
    inset 0 0 12px rgba(0,0,0,0.7);
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.wl-hub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* ===== CTA BUTTON ===== */
.wl-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-disp);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0a0600;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  padding: 18px 52px;
  border-radius: 60px;
  text-decoration: none;
  box-shadow:
    0 6px 30px rgba(200,168,75,0.35),
    0 0 80px rgba(200,168,75,0.12);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.wl-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.wl-cta:hover::before { transform: translateX(100%); }
.wl-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 45px rgba(200,168,75,0.5), 0 0 100px rgba(200,168,75,0.18);
}
.wl-cta svg { width:22px; height:22px; flex-shrink:0; }
.wl-cta--spinning {
  pointer-events: none;
  opacity: 0.75;
  filter: brightness(0.9);
}

/* ===== BOTTOM BAR ===== */
.wl-bottom {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 11px 40px;
  flex-shrink: 0;
  background: rgba(8,5,0,0.75);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(200,168,75,0.22);
  box-shadow: 0 -2px 18px rgba(0,0,0,0.45);
}
.wl-bottom-link {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 500;
  color: rgba(220,195,130,0.9);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: underline;
  text-decoration-color: rgba(200,168,75,0.4);
  text-underline-offset: 3px;
  letter-spacing: 0.02em;
}
.wl-bottom-link:hover { color: var(--gold-bright); text-decoration-color: var(--gold); }
.wl-bottom-sep { color: rgba(200,168,75,0.45); font-size: 14px; }
.wl-bottom-badge { height: 20px; opacity: 0.7; object-fit: contain; }

/* ===== APP DROPDOWN ===== */
.wl-app-wrap {
  position: relative;
}
.wl-app-dropdown {
  display: none;
  flex-direction: column;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #100d03;
  border: 1px solid rgba(200,168,75,0.18);
  border-radius: 10px;
  overflow: hidden;
  min-width: 170px;
  box-shadow: 0 -8px 28px rgba(0,0,0,0.55);
  animation: dropUp 0.18s ease;
}
@keyframes dropUp {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.wl-app-dropdown::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(200,168,75,0.18);
}
.wl-app-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  font-size: 12.5px;
  font-family: var(--font-main);
  color: var(--text-light);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.wl-app-option:hover {
  background: rgba(200,168,75,0.10);
  color: var(--gold-bright);
}
.wl-app-option + .wl-app-option {
  border-top: 1px solid rgba(200,168,75,0.08);
}
.wl-app-option svg {
  width: 15px; height: 15px; flex-shrink: 0; opacity: 0.8;
}

/* ===== TERMS OVERLAY ===== */
.wl-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 100;
  backdrop-filter: blur(4px);
  align-items: flex-end;
}
.wl-overlay.active { display: flex; }

.wl-drawer {
  width: 100%;
  max-height: 72vh;
  background: #080601;
  border-top: 1px solid rgba(200,168,75,0.15);
  padding: 28px 48px 32px;
  overflow-y: auto;
  animation: drawerUp 0.3s ease;
}
@keyframes drawerUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.wl-drawer-close {
  float: right;
  background: none; border: none;
  color: var(--text-muted);
  font-size: 22px; line-height:1;
  cursor: pointer; transition: color 0.2s;
  padding: 0 0 8px 12px;
}
.wl-drawer-close:hover { color: var(--gold); }

/* ── Bonus info block ── */
.wl-bonus-info { margin-bottom: 4px; }
.wl-bonus-title {
  font-size: 15px; font-weight: 800;
  color: var(--gold-bright);
  margin: 0 0 10px;
  letter-spacing: 0.03em; text-transform: uppercase;
}
.wl-bonus-lead {
  font-size: 13.5px; color: rgba(255,255,255,0.85);
  margin: 0 0 10px; line-height: 1.55;
}
.wl-bonus-lead strong { color: var(--gold); font-weight: 700; }
.wl-bonus-list {
  list-style: none; padding: 0; margin: 0 0 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.wl-bonus-list li {
  font-size: 13px; color: rgba(255,255,255,0.78);
  padding-left: 16px; position: relative; line-height: 1.5;
}
.wl-bonus-list li::before {
  content: '—'; position: absolute; left: 0; color: var(--gold-dim);
}
.wl-bonus-list em {
  font-style: normal; color: rgba(255,255,255,0.95); font-weight: 600;
}
.wl-bonus-terms {
  font-size: 11.5px; color: rgba(255,255,255,0.45);
  line-height: 1.6; margin: 0;
}

.wl-footer-nav {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 6px 24px;
  margin-bottom: 10px;
}
.wl-footer-nav a {
  font-size: 12.5px; color: var(--text-muted); transition: color 0.2s;
}
.wl-footer-nav a:hover { color: var(--gold); }
.wl-footer-line { height:1px; background:rgba(200,168,75,0.09); margin: 16px 0; }
.wl-footer-badges {
  display:flex; align-items:center; justify-content:center;
  gap:18px; flex-wrap:wrap; margin-bottom:20px;
}
.wl-footer-badges img { height:34px; object-fit:contain; opacity:0.65; }
.wl-footer-legal { max-width:900px; margin:0 auto; text-align:center; }
.wl-footer-legal-link { display:inline-block; margin-bottom:6px; font-size:12.5px; color:var(--gold); }
.wl-footer-legal-text { font-size:11px; color:#3a2c10; line-height:1.75; }
.wl-footer-legal-text a { color:#5a4620; }
.wl-footer-copy {
  margin-top:20px; padding-top:14px;
  border-top:1px solid rgba(200,168,75,0.06);
  text-align:center; font-size:11px; color:#3a2c10;
}

/* Partners grid inside drawer */
.wl-partners-label {
  text-align: center;
  font-family: var(--font-disp);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin: 20px 0 14px;
}
.wl-partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 36px;
  margin-bottom: 20px;
}
.wl-p-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
  opacity: 0.45;
  filter: grayscale(0.2) brightness(0.85);
  transition: opacity 0.2s, filter 0.2s;
}
.wl-p-logo:hover { opacity: 0.9; filter: none; }

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 700px) {
  html, body { overflow: auto; }
  .wl-page { height: auto; min-height: 100svh; overflow: visible; }

  /* Header: hide login, keep register */
  .wl-header { padding: 12px 16px; }
  .wl-btn-login { display: none; }
  .wl-btn-reg { font-size: 12px; padding: 9px 16px; }

  /* Main layout: full-width column, centered */
  .wl-main {
    justify-content: center;
    padding: 10px 20px 16px;
  }
  .wl-center-col { gap: 12px; width: 100%; }

  /* Slogan: stack vertically */
  .wl-slogan {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
  }
  .wl-slogan-sep { display: none; }
  .wl-slogan-line1,
  .wl-slogan-line2 {
    font-size: clamp(26px, 7.5vw, 42px);
    white-space: normal;
    text-align: center;
    letter-spacing: -0.5px;
  }

  /* Wheel */
  .wl-right { width: 100%; align-items: center; gap: 20px; }
  .wl-wheel-outer { overflow: hidden; }
  .wl-wheel-glow { width: 300px; height: 300px; }

  /* CTA */
  .wl-cta {
    font-size: 16px;
    padding: 15px 32px;
    width: 100%;
    max-width: 380px;
    justify-content: center;
  }

  /* Bottom bar */
  .wl-bottom {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 10px 16px;
  }
  .wl-bottom-sep { display: none; }

  /* Drawer */
  .wl-drawer { padding: 20px 16px 24px; }
  .wl-footer-nav { gap: 4px 16px; }
}

@media (max-width: 400px) {
  .wl-slogan-line1,
  .wl-slogan-line2 { font-size: 23px; }
  .wl-header { padding: 10px 12px; }
}
