/* ── GLÜCKSRAD ── */
/* ── GLÜCKSRAD ── */
  #gluecksrad {
    background: transparent;
  }

  .wheel-section {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 64px;
    align-items: start;
  }

  .wheel-right {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .wheel-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  /* ── Orbital container with CSS particles ── */
  .wheel-arena {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Spinning outer orbit ring */
  .wheel-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(123,95,255,0.15);
    animation: orbitSpin 20s linear infinite;
  }

  .wheel-orbit::before {
    content: '';
    position: absolute;
    top: -3px; left: 50%;
    transform: translateX(-50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #7B5FFF;
    box-shadow: 0 0 12px 4px rgba(123,95,255,0.8);
  }

  .wheel-orbit-2 {
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 1px solid rgba(160,132,255,0.1);
    animation: orbitSpin 14s linear infinite reverse;
  }

  .wheel-orbit-2::before {
    content: '';
    position: absolute;
    bottom: -3px; left: 50%;
    transform: translateX(-50%);
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #a084ff;
    box-shadow: 0 0 10px 3px rgba(160,132,255,0.7);
  }

  .wheel-orbit-2::after {
    content: '';
    position: absolute;
    top: 20%; right: -3px;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #c8c8e8;
    box-shadow: 0 0 8px 2px rgba(200,200,232,0.5);
  }

  @keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }

  /* Glow backdrop behind wheel */
  .wheel-glow-bg {
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123,95,255,0.12) 0%, transparent 70%);
    animation: glowBreath 4s ease-in-out infinite;
  }

  @keyframes glowBreath {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.08); opacity: 1; }
  }

  .wheel-outer {
    position: relative;
    width: 360px; height: 360px;
    z-index: 2;
  }

  /* Clean sharp canvas ring */
  .wheel-outer::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(
      rgba(123,95,255,0.9) 0deg,
      rgba(90,63,207,0.4) 90deg,
      rgba(160,132,255,0.9) 180deg,
      rgba(90,63,207,0.4) 270deg,
      rgba(123,95,255,0.9) 360deg
    );
    animation: ringPulse 6s linear infinite;
    z-index: 1;
  }

  .wheel-outer::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: #0d0b1e;
    z-index: 1;
  }

  @keyframes ringPulse {
    from { transform: rotate(0deg); filter: brightness(1); }
    50%  { filter: brightness(1.3); }
    to   { transform: rotate(360deg); filter: brightness(1); }
  }

  #wheelCanvas {
    width: 360px; height: 360px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    display: block;
  }

  /* Pointer */
  .wheel-pointer {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: pointerBob 1.8s ease-in-out infinite;
  }

  .wheel-pointer::before {
    content: '▼';
    font-size: 22px;
    color: #a084ff;
    display: block;
    text-align: center;
    filter: drop-shadow(0 0 8px rgba(160,132,255,0.9)) drop-shadow(0 0 20px rgba(123,95,255,0.5));
  }

  @keyframes pointerBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-4px); }
  }

  /* Center gem */
  .wheel-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 50px; height: 50px;
    background: radial-gradient(circle at 35% 30%, rgba(160,132,255,0.6) 0%, rgba(60,30,150,0.95) 60%, #0d0b1e 100%);
    border: 2px solid rgba(123,95,255,0.8);
    border-radius: 50%;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 18px rgba(123,95,255,0.8), 0 0 40px rgba(123,95,255,0.2), inset 0 0 10px rgba(160,132,255,0.3);
    animation: gemPulse 3s ease-in-out infinite;
  }

  @keyframes gemPulse {
    0%, 100% { box-shadow: 0 0 18px rgba(123,95,255,0.8), 0 0 40px rgba(123,95,255,0.2); }
    50% { box-shadow: 0 0 28px rgba(160,132,255,1), 0 0 60px rgba(123,95,255,0.5); }
  }

  

/* ── SPIN BUTTON ── */
/* ── SPIN BUTTON ── */
  .btn-spin {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 36px;
    background: linear-gradient(135deg, #7B5FFF 0%, #5a3fcf 100%);
    border: 1px solid rgba(160,132,255,0.35);
    border-radius: 5px;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(123,95,255,0.45), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.18s;
  }

  .btn-spin:hover:not(:disabled) {
    background: linear-gradient(135deg, #9070ff 0%, #7050df 100%);
    box-shadow: 0 6px 24px rgba(123,95,255,0.65), 0 0 40px rgba(123,95,255,0.25);
    transform: translateY(-2px);
    border-color: rgba(160,132,255,0.6);
  }

  .btn-spin:active:not(:disabled) { transform: translateY(0); }
  .btn-spin:disabled { opacity: 0.4; cursor: not-allowed; }

  .wheel-cost {
    font-size: 11px;
    color: rgba(160,132,255,0.3);
    letter-spacing: 0.12em;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
  }

  

/* ── COOLDOWN BOX ── */
/* ── COOLDOWN BOX ── */
  .spin-cooldown-box {
    background: rgba(13,11,30,0.95);
    border: 1px solid rgba(123,95,255,0.25);
    border-radius: 6px;
    padding: 18px 36px;
    text-align: center;
    position: relative;
    min-width: 200px;
  }

  .spin-cooldown-box::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(123,95,255,0.6), transparent);
  }

  .spin-cooldown-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(160,132,255,0.45);
    margin-bottom: 4px;
  }

  .spin-cooldown-timer {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: #a084ff;
    text-shadow: 0 0 20px rgba(123,95,255,0.6);
    display: block;
    letter-spacing: 0.04em;
  }

  

/* ── PRIZE PANEL ── */
/* ── PRIZE PANEL ── */
  .wheel-prizes {
    background: rgba(13,11,30,0.92);
    border: 1px solid rgba(123,95,255,0.2);
    padding: 24px;
    border-radius: 6px;
    position: relative;
  }

  .wheel-prizes::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, #7B5FFF, #a084ff, #7B5FFF, transparent);
    border-radius: 6px 6px 0 0;
  }

  .wheel-prizes-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #c8c8e8;
  }

  .prize-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(123,95,255,0.07);
  }

  .prize-item:last-child { border-bottom: none; }

  .prize-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .prize-item-name { flex: 1; font-size: 13px; color: rgba(200,200,232,0.8); }

  .prize-item-chance {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    color: rgba(160,132,255,0.4);
  }

  

/* ── RESULT ── */
/* ── RESULT ── */
  .wheel-result {
    margin-top: 14px;
    padding: 16px 24px;
    background: rgba(18,16,58,0.97);
    border: 1px solid rgba(123,95,255,0.4);
    border-radius: 6px;
    text-align: center;
    display: none;
    animation: resultAppear 0.45s cubic-bezier(0.34,1.56,0.64,1);
  }

  @keyframes resultAppear {
    from { transform: scale(0.88); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
  }

  .wheel-result-label {
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(160,132,255,0.5); font-family: 'Barlow Condensed', sans-serif;
    margin-bottom: 6px;
  }

  .wheel-result-prize {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px; font-weight: 900;
    color: #a084ff;
    text-shadow: 0 0 18px rgba(160,132,255,0.6);
  }