/* ══════════════════════════════════════════
   LyricLock — style.css
   Splash · Game · Result · Modals · Auth
══════════════════════════════════════════ */

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

/* ── SCREENS ── */
.screen { display: flex; flex-direction: column; min-height: 100vh; }
.hidden { display: none !important; }

/* ── BODY ── */
body {
  font-family: 'Nunito', sans-serif;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #2d0e6e 0%, #1e0855 40%, #3a0a6e 70%, #1a0f60 100%);
  color: #ffffff;
  position: relative;
}

/* ── GLOWS ── */
.glow {
  position: fixed; border-radius: 50%;
  filter: blur(110px); pointer-events: none; z-index: 0;
}
.glow-1 { width: 500px; height: 500px; background: rgba(255,20,147,0.25); top: -150px; left: -120px; }
.glow-2 { width: 460px; height: 460px; background: rgba(120,0,255,0.2);   bottom: -120px; right: -100px; }
.glow-3 { width: 360px; height: 360px; background: rgba(0,200,255,0.1);   top: 20%; right: 10%; }

/* ══════════════════════════════════════════
   SPLASH SCREEN
══════════════════════════════════════════ */

#splash-nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 36px; z-index: 10;
}
#splash-nav-links {
  display: flex; gap: 20px; align-items: center;
  position: absolute; left: 50%; transform: translateX(-50%);
}
#splash-nav-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: 15px;
  letter-spacing: 3px; text-transform: uppercase;
}
#nav-lyric { color: rgba(255,255,255,0.8); }
#nav-lock  { color: #FF1493; }

#splash-nav-auth { display: flex; gap: 10px; align-items: center; }

#splash-auth-btn {
  background: linear-gradient(135deg, #FF1493, #cc0077);
  border: none; color: #fff;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 13px;
  padding: 8px 22px; border-radius: 50px; cursor: pointer;
  transition: all 0.2s; box-shadow: 0 2px 12px rgba(255,20,147,0.3);
}
#splash-auth-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255,20,147,0.5); }
#splash-auth-btn.signed-in {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.7);
  box-shadow: none;
}

#splash-content {
  height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; z-index: 1;
}

/* ── VINYL WRAPPER ── */
#splash-vinyl-wrapper {
  position: absolute;
  width: 480px; height: 480px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; animation: fadeIn 0.9s 0.15s ease forwards;
}

/* ── AUDIO WAVES ── */
.wave {
  position: absolute; border-radius: 50%;
  border: 1.5px solid; opacity: 0;
  animation: waveOut 2.8s ease-out infinite;
}
.wave-1 { width: 340px; height: 340px; border-color: rgba(255,20,147,0.35); animation-delay: 0s; }
.wave-2 { width: 390px; height: 390px; border-color: rgba(255,20,147,0.2);  animation-delay: 0.7s; }
.wave-3 { width: 440px; height: 440px; border-color: rgba(255,20,147,0.1);  animation-delay: 1.4s; }
.wave-4 { width: 360px; height: 360px; border-color: rgba(120,80,255,0.18); animation-delay: 0.35s; }
.wave-5 { width: 415px; height: 415px; border-color: rgba(120,80,255,0.1);  animation-delay: 1.05s; }

@keyframes waveOut {
  0%   { opacity: 0.9; transform: scale(0.94); }
  100% { opacity: 0;   transform: scale(1.12); }
}

/* ── VINYL DISC ── */
#splash-vinyl { position: relative; width: 320px; height: 320px; z-index: 1; }

#vinyl-disc {
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle at center,
    #1a0a2e 0%, #1a0a2e 20%, transparent 20%, transparent 21%,
    #2e1a44 21%, #2e1a44 33%, #1a0a2e 33%, #1a0a2e 45%,
    #2e1a44 45%, #2e1a44 57%, #1a0a2e 57%, #1a0a2e 70%,
    #2e1a44 70%, #2e1a44 84%, #1a0a2e 84%);
  border: 3px solid #3a2255;
  animation: spin 8s linear infinite;
  box-shadow: 0 0 0 1px #3a2255, 0 0 50px rgba(255,20,147,0.12);
  opacity: 0.9;
}
#vinyl-label {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px; border-radius: 50%;
  background: #120820; z-index: 2;
}
#vinyl-hole {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: #2d0e6e; z-index: 3;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── SPLASH HERO ── */
#splash-hero {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 32px; text-align: center;
}

#splash-title {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: clamp(42px, 8vw, 72px); letter-spacing: 10px;
  text-transform: uppercase; line-height: 1;
  opacity: 0; animation: fadeDown 0.7s 0.4s ease forwards;
  position: relative;
}
#splash-title::after {
  content: ''; position: absolute;
  bottom: -10px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #FF1493, #7850ff, transparent);
  border-radius: 2px;
}
#title-lyric { color: #ffffff; text-shadow: 0 0 30px rgba(255,255,255,0.4); }
#title-lock  { color: #FF1493; text-shadow: 0 0 30px rgba(255,20,147,0.7); }

#splash-actions {
  display: flex; gap: 14px; flex-direction: column; align-items: center;
  opacity: 0; animation: fadeUp 0.7s 0.6s ease forwards;
}
#splash-play-btn {
  background: linear-gradient(135deg, #FF1493, #cc0077); color: #fff;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 16px;
  padding: 16px 40px; border: none; border-radius: 50px; cursor: pointer;
  box-shadow: 0 6px 28px rgba(255,20,147,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
#splash-play-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(255,20,147,0.55); }

#splash-how-btn {
  background: transparent; color: #00BFFF;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 16px;
  padding: 16px 40px; border: 2px solid #00BFFF; border-radius: 50px;
  cursor: pointer; transition: all 0.2s;
}
#splash-how-btn:hover { background: rgba(0,191,255,0.08); transform: translateY(-2px); }

/* ══════════════════════════════════════════
   GAME SCREEN
══════════════════════════════════════════ */

#screen-game {
  max-width: 460px; width: 100%; margin: 0 auto;
  padding: 0 20px 16px;
  display: flex; flex-direction: column;
  height: 100vh; overflow: hidden;
}

#game-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0 10px; flex-shrink: 0;
}
#header-brand {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 17px; letter-spacing: 3px; text-transform: uppercase;
}
#header-lyric { color: rgba(255,255,255,0.85); }
#header-lock  { color: #FF1493; }

#header-badges { display: flex; gap: 8px; }
.badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px; padding: 4px 10px;
  font-size: 11px; font-weight: 800;
}
.badge-streak { border-color: rgba(255,100,0,0.4); color: #ff8c42; }
.badge-vinyl  { border-color: rgba(255,20,147,0.4); color: #FF1493; }

.header-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  margin-bottom: 12px; flex-shrink: 0;
}

#meta-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; flex-shrink: 0;
}
#date-display {
  font-size: 10px; font-weight: 800;
  color: rgba(255,255,255,0.35); letter-spacing: 1.5px; text-transform: uppercase;
}
#theme-display {
  font-size: 10px; font-weight: 800; color: #FF1493;
  letter-spacing: 1px; text-transform: uppercase;
  background: rgba(255,20,147,0.1);
  border: 1px solid rgba(255,20,147,0.25);
  padding: 3px 10px; border-radius: 50px;
}

/* ── PROGRESS TRACK ── */
#progress-track {
  display: flex; gap: 5px; align-items: center;
  margin-bottom: 12px; flex-shrink: 0;
}
.track-step {
  flex: 1; height: 3px; border-radius: 4px;
  background: rgba(255,255,255,0.08); transition: background 0.4s;
}
.track-step.done   { background: rgba(255,20,147,0.5); }
.track-step.active { background: rgba(255,255,255,0.4); }
.track-label {
  font-size: 9px; font-weight: 900; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.3); text-transform: uppercase;
  white-space: nowrap; padding-left: 6px;
}

/* ── LYRIC CARD ── */
#lyric-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 18px; padding: 18px 20px;
  margin-bottom: 12px; flex-shrink: 0;
  position: relative; overflow: hidden;
  min-height: 110px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
#lyric-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FF1493, #7850ff, #00BFFF);
  border-radius: 18px 18px 0 0;
}

#lyric-history { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.history-line {
  font-size: 12px; font-weight: 600; font-style: italic; line-height: 1.4;
  padding-left: 10px; border-left: 2px solid rgba(255,20,147,0.2);
  animation: fadeSlideIn 0.4s ease;
}
.history-line.fade-1 { color: rgba(255,255,255,0.25); }
.history-line.fade-2 { color: rgba(255,255,255,0.18); }
.history-line.fade-3 { color: rgba(255,255,255,0.12); }

#current-label {
  font-size: 8px; font-weight: 900; letter-spacing: 2px;
  text-transform: uppercase; color: #FF1493; margin-bottom: 6px;
}
#current-text {
  font-size: 16px; font-weight: 700; font-style: italic;
  color: #fff; line-height: 1.5;
  animation: fadeSlideIn 0.4s ease;
}

/* ── LOCKED BARS ── */
#locked-bars { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; flex-shrink: 0; }
.locked-bar {
  height: 7px; border-radius: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative; overflow: hidden;
}
.locked-bar::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: shimmer 2.2s infinite;
}

/* ── 2x2 CHOICES ── */
#choices-area {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-bottom: 12px; flex-shrink: 0;
}
.choice-btn {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 12px 13px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 13px;
  color: rgba(255,255,255,0.8); cursor: pointer; transition: all 0.18s;
  text-align: left; display: flex; align-items: center; gap: 8px;
}
.choice-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25); color: #fff; transform: translateY(-1px);
}
.choice-btn.correct   { background: rgba(0,220,130,0.1);  border-color: rgba(0,220,130,0.5);  color: #00dc82; }
.choice-btn.wrong-pick{ background: rgba(255,20,147,0.08); border-color: rgba(255,20,147,0.3); color: rgba(255,20,147,0.7); }

.choice-letter {
  width: 22px; height: 22px; min-width: 22px; border-radius: 6px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 900; color: rgba(255,255,255,0.4); flex-shrink: 0;
}
.choice-btn.correct    .choice-letter { background: rgba(0,220,130,0.2);  border-color: rgba(0,220,130,0.4);  color: #00dc82; }
.choice-btn.wrong-pick .choice-letter { background: rgba(255,20,147,0.1); border-color: rgba(255,20,147,0.3); color: rgba(255,20,147,0.7); }

/* ── BOOST SECTION ── */
#boost-section { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 12px; flex-shrink: 0; }
#boost-label {
  font-size: 9px; font-weight: 900; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.28);
  text-align: center; margin-bottom: 9px;
}
#boost-pills { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pill-btn {
  background: transparent;
  border: 1.5px solid rgba(255,20,147,0.25); color: rgba(255,20,147,0.7);
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 11px;
  padding: 6px 12px; border-radius: 50px; cursor: pointer; transition: all 0.2s;
}
.pill-btn:hover { background: rgba(255,20,147,0.1); border-color: #FF1493; color: #FF1493; }

#game-footer { text-align: center; margin-top: 10px; flex-shrink: 0; }
#how-to-play-btn {
  background: transparent; border: none;
  color: rgba(255,255,255,0.25); font-family: 'Nunito', sans-serif;
  font-weight: 700; font-size: 11px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ══════════════════════════════════════════
   RESULT SCREEN
══════════════════════════════════════════ */

#screen-result {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 20px;
}
#result-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 24px; padding: 36px 28px;
  width: 100%; max-width: 420px;
  text-align: center; position: relative;
}
#result-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FF1493, #7850ff, #00BFFF);
  border-radius: 24px 24px 0 0;
}
#result-icon  { font-size: 48px; margin-bottom: 12px; }
#result-title { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 22px; margin-bottom: 8px; }
#result-song  { font-size: 18px; font-weight: 800; color: #FF1493; margin-bottom: 4px; }
#result-artist{ font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
#result-score { font-size: 32px; font-weight: 900; color: #FFE600; margin-bottom: 4px; }
#result-streak{ font-size: 14px; font-weight: 700; color: #ff8c42; margin-bottom: 16px; }
#result-share-grid { font-size: 18px; letter-spacing: 4px; margin-bottom: 20px; }

#share-btn {
  width: 100%; background: linear-gradient(135deg, #FF1493, #cc0077); color: #fff;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 15px;
  padding: 14px; border: none; border-radius: 50px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,20,147,0.35); margin-bottom: 14px;
  transition: transform 0.15s;
}
#share-btn:hover { transform: translateY(-2px); }

#result-ad-area {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.4);
  padding: 10px; border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 10px; cursor: pointer; margin-bottom: 14px;
  transition: all 0.2s;
}
#result-ad-area:hover { border-color: rgba(255,20,147,0.4); color: #FF1493; }

#result-signup-prompt {
  margin-top: 10px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
#result-signup-prompt p { font-size: 12px; color: rgba(255,255,255,0.45); margin-bottom: 10px; }
#result-signup-btn {
  background: transparent; border: 1.5px solid #FF1493; color: #FF1493;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 13px;
  padding: 10px 28px; border-radius: 50px; cursor: pointer; transition: all 0.2s;
}
#result-signup-btn:hover { background: #FF1493; color: #fff; }

/* ══════════════════════════════════════════
   MODALS — HOW TO PLAY + VINYL POPUP
══════════════════════════════════════════ */

.modal {
  position: fixed; inset: 0; background: rgba(26,5,53,0.75);
  backdrop-filter: blur(8px); z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal.hidden { display: none !important; }

#modal-card {
  background: #ffffff; border: 1px solid rgba(255,20,147,0.15);
  border-radius: 24px; padding: 36px 32px;
  width: 100%; max-width: 400px; position: relative; color: #1a0535;
  max-height: 90vh; overflow-y: auto;
}
#modal-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FF1493, #7850ff, #FF1493);
  border-radius: 24px 24px 0 0;
}
#modal-close {
  position: absolute; top: 16px; right: 18px;
  background: rgba(26,5,53,0.06); border: none;
  color: rgba(26,5,53,0.4); font-size: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
#modal-close:hover { background: rgba(26,5,53,0.12); color: #1a0535; }
#modal-title {
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 22px;
  color: #1a0535; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 3px;
}
#modal-subtitle {
  font-size: 11px; font-weight: 800; color: rgba(26,5,53,0.35);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 26px;
}
.rule-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.rule-icon {
  width: 30px; height: 30px; min-width: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff;
}
.rule-icon-pink { background: linear-gradient(135deg, #FF1493, #cc0077); }
.rule-icon-cyan { background: linear-gradient(135deg, #00BFFF, #0077cc); }
.rule-heading { font-weight: 900; font-size: 14px; color: #1a0535; margin-bottom: 2px; padding-top: 4px; }
.rule-body    { font-size: 12px; font-weight: 700; color: rgba(26,5,53,0.45); line-height: 1.5; }

#modal-scoring { border-top: 1px solid rgba(26,5,53,0.08); margin-top: 20px; padding-top: 12px; }
.score-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; }
.score-row span:first-child { color: rgba(26,5,53,0.45); font-weight: 700; }
.score-row span:last-child  { color: #FF1493; font-weight: 900; }
#modal-note { margin-top: 14px; text-align: center; font-size: 11px; font-weight: 700; color: rgba(26,5,53,0.25); }
#modal-got-it, #modal-got-it-2 {
  margin-top: 20px; width: 100%;
  background: linear-gradient(135deg, #FF1493, #cc0077); color: #fff;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 15px;
  padding: 14px; border: none; border-radius: 50px; cursor: pointer;
  transition: transform 0.15s;
}
#modal-got-it:hover, #modal-got-it-2:hover { transform: translateY(-2px); }

/* ── VINYL POPUP ── */
#vinyl-popup-card {
  background: #1a0a2e; border: 1px solid rgba(255,20,147,0.25);
  border-radius: 20px; padding: 28px 24px;
  width: 100%; max-width: 340px; position: relative; text-align: center;
}
#vinyl-popup-close {
  position: absolute; top: 14px; right: 16px;
  background: rgba(255,255,255,0.06); border: none;
  color: rgba(255,255,255,0.4); font-size: 14px;
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
#vinyl-popup-title { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 18px; color: #fff; margin-bottom: 8px; }
#vinyl-popup-desc  { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.5); margin-bottom: 20px; line-height: 1.5; }
#vinyl-popup-actions { display: flex; gap: 10px; }
#vinyl-popup-use {
  flex: 1; background: linear-gradient(135deg, #FF1493, #cc0077); color: #fff;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 13px;
  padding: 12px; border: none; border-radius: 50px; cursor: pointer;
}
#vinyl-popup-ad {
  flex: 1; background: transparent; color: #00BFFF;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 13px;
  padding: 12px; border: 2px solid #00BFFF; border-radius: 50px; cursor: pointer;
}

/* ══════════════════════════════════════════
   AUTH MODALS — SIGN IN + SIGN UP
══════════════════════════════════════════ */

#modal-auth-card {
  background: #0e0a1e; border: 1px solid rgba(255,20,147,0.25);
  border-radius: 24px; padding: 36px 32px;
  width: 100%; max-width: 420px; position: relative;
  box-shadow: 0 0 60px rgba(255,20,147,0.15), 0 20px 60px rgba(0,0,0,0.6);
}
#modal-auth-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FF1493, #7850ff, #00BFFF);
  border-radius: 24px 24px 0 0;
}
#auth-close {
  position: absolute; top: 16px; right: 18px;
  background: rgba(255,255,255,0.06); border: none;
  color: rgba(255,255,255,0.4); font-size: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
#auth-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

#auth-title {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 22px; color: #fff; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 4px;
}
#auth-subtitle {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.35);
  margin-bottom: 28px; letter-spacing: 1px;
}

.auth-field { margin-bottom: 16px; }
.auth-field label {
  display: block; font-size: 11px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 6px;
}
.auth-field input {
  width: 100%; background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 12px 16px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px;
  color: #fff; outline: none; transition: all 0.2s;
}
.auth-field input::placeholder { color: rgba(255,255,255,0.25); }
.auth-field input:focus { border-color: #FF1493; box-shadow: 0 0 0 3px rgba(255,20,147,0.12); }

#auth-error {
  font-size: 12px; font-weight: 700; color: #FF1493;
  margin-bottom: 14px; min-height: 18px; text-align: center;
}

#auth-submit {
  width: 100%; background: linear-gradient(135deg, #FF1493, #cc0077); color: #fff;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 16px;
  padding: 14px; border: none; border-radius: 50px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,20,147,0.35); margin-bottom: 16px;
  transition: transform 0.15s, box-shadow 0.15s;
}
#auth-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,20,147,0.5); }

#auth-switch {
  text-align: center; font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.4);
}
#auth-switch span {
  color: #00BFFF; cursor: pointer; font-weight: 800;
  text-decoration: underline; text-underline-offset: 3px;
}
#auth-switch span:hover { color: #fff; }

.auth-divider {
  display: flex; align-items: center; gap: 12px; margin: 20px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1);
}
.auth-divider span { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.3); }

.auth-social {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px;
}
.auth-social-btn {
  width: 100%; background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12); color: #fff;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 14px;
  padding: 12px; border-radius: 50px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.2s;
}
.auth-social-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes fadeDown    { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp      { from { opacity:0; transform:translateY(20px);  } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn      { from { opacity:0; transform:scale(0.88);       } to { opacity:1; transform:scale(1);    } }
@keyframes fadeSlideIn { from { opacity:0; transform:translateY(8px);   } to { opacity:1; transform:translateY(0); } }
@keyframes shimmer     { to   { left: 200%; } }

/* ══════════════════════════════════════════
   LEADERBOARD & PROFILE — SHARED NAV
══════════════════════════════════════════ */

#lb-nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 36px; z-index: 10;
  background: linear-gradient(to bottom, rgba(13,5,35,0.8), transparent);
}
#lb-nav-brand {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 15px; letter-spacing: 3px; text-transform: uppercase;
  text-decoration: none;
}
.nav-lyric { color: rgba(255,255,255,0.85); }
.nav-lock  { color: #FF1493; }
#lb-nav-links { display: none; gap: 20px; align-items: center; }
#lb-nav #hamburger-btn { display: flex; }
.nav-link {
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 13px;
  color: rgba(255,255,255,0.45); text-decoration: none;
  transition: color 0.2s; letter-spacing: 0.5px;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: #FF1493; }

/* ══════════════════════════════════════════
   LEADERBOARD PAGE
══════════════════════════════════════════ */

#lb-page {
  max-width: 600px; width: 100%; margin: 0 auto;
  padding: 100px 20px 40px;
  min-height: 100vh;
  position: relative; z-index: 1;
}
#lb-header { text-align: center; margin-bottom: 28px; }
#lb-title {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 28px; color: #fff; margin-bottom: 6px;
}
#lb-subtitle { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.35); }

/* Type tabs */
#lb-type-tabs {
  display: flex; gap: 8px; justify-content: center; margin-bottom: 14px;
}
.lb-tab {
  background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5); font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: 13px; padding: 8px 24px;
  border-radius: 50px; cursor: pointer; transition: all 0.2s;
}
.lb-tab.active { background: #FF1493; border-color: #FF1493; color: #fff; }

/* View tabs */
#lb-view-tabs {
  display: flex; gap: 8px; justify-content: center; margin-bottom: 24px;
}
.lb-view {
  background: transparent; border: 1.5px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4); font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: 12px; padding: 6px 18px;
  border-radius: 50px; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.lb-view.active { border-color: rgba(255,255,255,0.4); color: #fff; }

/* Leaderboard rows */
#lb-loading, #lb-empty {
  text-align: center; color: rgba(255,255,255,0.35);
  font-size: 14px; font-weight: 700; padding: 40px 0;
}
.lb-row {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 14px 18px;
  margin-bottom: 8px; cursor: pointer; transition: all 0.18s;
}
.lb-row:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.15); }
.lb-row-you { border-color: rgba(255,20,147,0.4); background: rgba(255,20,147,0.06); }
.lb-rank { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 16px; min-width: 36px; text-align: center; }
.lb-info { flex: 1; }
.lb-username { font-weight: 800; font-size: 14px; color: #fff; margin-bottom: 3px; }
.lb-meta { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.35); }
.lb-you-tag {
  background: #FF1493; color: #fff; font-size: 9px; font-weight: 900;
  padding: 2px 7px; border-radius: 50px; margin-left: 6px; letter-spacing: 0.5px;
}
.lb-score { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 18px; color: #FFE600; text-align: right; }
.lb-score span { font-size: 11px; color: rgba(255,255,255,0.35); font-family: 'Nunito', sans-serif; }

#lb-load-more {
  width: 100%; margin-top: 12px;
  background: transparent; border: 1.5px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5); font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: 13px; padding: 12px;
  border-radius: 50px; cursor: pointer; transition: all 0.2s;
}
#lb-load-more:hover { border-color: #fff; color: #fff; }

/* ══════════════════════════════════════════
   PROFILE PAGE
══════════════════════════════════════════ */

#profile-page {
  max-width: 600px; width: 100%; margin: 0 auto;
  padding: 100px 20px 40px;
  min-height: 100vh; position: relative; z-index: 1;
}
#profile-loading {
  text-align: center; color: rgba(255,255,255,0.35);
  font-size: 14px; font-weight: 700; padding: 80px 0;
}
#profile-not-found {
  text-align: center; padding: 80px 0;
  color: rgba(255,255,255,0.4); font-size: 14px; font-weight: 700;
}
#profile-not-found a { color: #FF1493; text-decoration: underline; display: block; margin-top: 12px; }

/* Profile header */
#profile-header { text-align: center; margin-bottom: 28px; }
#profile-avatar {
  font-size: 52px; margin-bottom: 12px;
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: 2px solid rgba(255,20,147,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
#profile-name {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 24px; color: #fff; margin-bottom: 4px;
}
#profile-joined { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.35); }

/* Stats grid */
#profile-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 8px; margin-bottom: 28px;
}
.stat-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 14px 10px; text-align: center;
}
.stat-value {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 20px; color: #FFE600; margin-bottom: 4px;
}
.stat-label { font-size: 10px; font-weight: 800; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 1px; }

/* Badges */
#profile-badges-section { margin-bottom: 28px; }
#badges-title {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 16px; color: #fff; margin-bottom: 14px; letter-spacing: 1px;
}
#badges-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
}
.badge-item {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 12px 8px; text-align: center; transition: all 0.2s;
}
.badge-earned { border-color: rgba(255,20,147,0.3); background: rgba(255,20,147,0.06); }
.badge-locked { opacity: 0.4; }
.badge-icon  { width: 40px; height: 40px; margin: 0 auto 6px; display: flex; align-items: center; justify-content: center; }
.badge-icon svg { width: 40px; height: 40px; }
.badge-name  { font-size: 10px; font-weight: 900; color: #fff; margin-bottom: 2px; }
.badge-desc  { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.35); line-height: 1.3; }

/* History */
#profile-history-section { margin-bottom: 40px; }
#history-title {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 16px; color: #fff; margin-bottom: 14px; letter-spacing: 1px;
}
.history-empty { color: rgba(255,255,255,0.35); font-size: 13px; font-weight: 700; text-align: center; padding: 20px; }
.history-row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 12px 16px; margin-bottom: 8px;
}
.history-won  { border-color: rgba(0,220,130,0.2); }
.history-lost { border-color: rgba(255,20,147,0.15); }
.history-result { font-size: 20px; }
.history-info { flex: 1; }
.history-song   { font-weight: 800; font-size: 13px; color: #fff; margin-bottom: 2px; }
.history-artist { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.35); }
.history-right  { text-align: right; }
.history-score  { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 15px; color: #FFE600; }
.history-date   { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.3); margin-top: 2px; }

/* ══════════════════════════════════════════
   POWER UP POPUP — REDESIGNED
══════════════════════════════════════════ */

#vinyl-popup-card {
  background: #0e0a1e;
  border: 1px solid rgba(255,20,147,0.25);
  border-radius: 24px; padding: 32px 28px;
  width: 100%; max-width: 360px;
  position: relative; text-align: center;
  box-shadow: 0 0 60px rgba(255,20,147,0.15), 0 20px 60px rgba(0,0,0,0.6);
}
#vinyl-popup-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FF1493, #7850ff, #00BFFF);
  border-radius: 24px 24px 0 0;
}
#vinyl-popup-close {
  position: absolute; top: 14px; right: 16px;
  background: rgba(255,255,255,0.06); border: none;
  color: rgba(255,255,255,0.4); font-size: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
#vinyl-popup-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
#vinyl-popup-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,20,147,0.1);
  border: 2px solid rgba(255,20,147,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 32px;
}
#vinyl-popup-title {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 20px; color: #fff; margin-bottom: 8px;
}
#vinyl-popup-desc {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.5); margin-bottom: 20px; line-height: 1.6;
}
#vinyl-popup-cost {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,20,147,0.1); border: 1px solid rgba(255,20,147,0.25);
  border-radius: 50px; padding: 6px 16px; margin-bottom: 20px;
  font-size: 13px; font-weight: 800; color: #FF1493;
}
#vinyl-popup-balance {
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.3); margin-bottom: 20px;
}
#vinyl-popup-actions {
  display: flex; flex-direction: column; gap: 10px;
}
#vinyl-popup-use {
  width: 100%; background: linear-gradient(135deg, #FF1493, #cc0077); color: #fff;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 15px;
  padding: 14px; border: none; border-radius: 50px; cursor: pointer;
  transition: transform 0.15s; box-shadow: 0 4px 20px rgba(255,20,147,0.35);
}
#vinyl-popup-use:hover { transform: translateY(-2px); }
#vinyl-popup-use:disabled {
  opacity: 0.4; cursor: not-allowed; transform: none;
  box-shadow: none;
}
#vinyl-popup-ad {
  width: 100%; background: transparent; color: #00BFFF;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 14px;
  padding: 12px; border: 2px solid rgba(0,191,255,0.4); border-radius: 50px;
  cursor: pointer; transition: all 0.2s;
}
#vinyl-popup-ad:hover { border-color: #00BFFF; background: rgba(0,191,255,0.06); }
#vinyl-popup-shop-link {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.3);
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
  background: none; border: none; transition: color 0.2s;
}
#vinyl-popup-shop-link:hover { color: rgba(255,255,255,0.6); }

/* ══════════════════════════════════════════
   VINYL SHOP MODAL
══════════════════════════════════════════ */

#modal-shop-card {
  background: #0e0a1e; border: 1px solid rgba(255,20,147,0.2);
  border-radius: 24px; padding: 32px 28px;
  width: 100%; max-width: 420px; position: relative;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 0 60px rgba(255,20,147,0.1), 0 20px 60px rgba(0,0,0,0.6);
}
#modal-shop-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FF1493, #7850ff, #00BFFF);
  border-radius: 24px 24px 0 0;
}
#shop-close {
  position: absolute; top: 16px; right: 18px;
  background: rgba(255,255,255,0.06); border: none;
  color: rgba(255,255,255,0.4); font-size: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
#shop-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
#shop-title {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 22px; color: #fff; margin-bottom: 4px;
}
#shop-subtitle { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.35); margin-bottom: 24px; }
#shop-balance {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 14px; margin-bottom: 24px;
}
#shop-balance-count {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 28px; color: #FF1493;
}
#shop-balance-label { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.4); }

.shop-section-title {
  font-size: 11px; font-weight: 900; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  margin-bottom: 12px; margin-top: 20px;
}
.shop-earn-row {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 8px;
}
.shop-earn-info { display: flex; align-items: center; gap: 12px; }
.shop-earn-icon { font-size: 22px; }
.shop-earn-name { font-weight: 800; font-size: 13px; color: #fff; margin-bottom: 2px; }
.shop-earn-desc { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.35); }
.shop-earn-reward {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 15px; color: #FF1493;
}
.shop-earn-btn {
  background: transparent; border: 1.5px solid rgba(255,20,147,0.3);
  color: #FF1493; font-family: 'Nunito', sans-serif; font-weight: 800;
  font-size: 12px; padding: 7px 16px; border-radius: 50px; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.shop-earn-btn:hover { background: rgba(255,20,147,0.1); border-color: #FF1493; }
.shop-earn-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.shop-bundle-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 8px;
}
.shop-bundle {
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 16px 10px; text-align: center;
  cursor: pointer; transition: all 0.2s; position: relative;
}
.shop-bundle:hover { border-color: rgba(255,20,147,0.4); background: rgba(255,20,147,0.06); }
.shop-bundle.best-value { border-color: rgba(255,20,147,0.4); background: rgba(255,20,147,0.06); }
.shop-bundle-best-tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: #FF1493; color: #fff; font-size: 9px; font-weight: 900;
  padding: 2px 10px; border-radius: 50px; white-space: nowrap; letter-spacing: 0.5px;
}
.shop-bundle-count {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 24px; color: #FF1493; margin-bottom: 2px;
}
.shop-bundle-label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.shop-bundle-price {
  background: rgba(255,255,255,0.08); border-radius: 50px;
  padding: 5px 10px; font-weight: 900; font-size: 13px; color: #fff;
}

/* ══════════════════════════════════════════
   POWER UP INTRO OVERLAY
══════════════════════════════════════════ */

#modal-powerup-intro {
  background: #0e0a1e; border: 1px solid rgba(255,20,147,0.2);
  border-radius: 24px; padding: 32px 28px;
  width: 100%; max-width: 400px; position: relative; text-align: center;
  box-shadow: 0 0 60px rgba(255,20,147,0.1), 0 20px 60px rgba(0,0,0,0.6);
}
#modal-powerup-intro::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FF1493, #7850ff, #00BFFF);
  border-radius: 24px 24px 0 0;
}
#intro-title {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 20px; color: #fff; margin-bottom: 4px;
}
#intro-subtitle { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.35); margin-bottom: 24px; }
.intro-powerup {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; text-align: left;
}
.intro-powerup-icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: 12px;
  background: rgba(255,20,147,0.12); border: 1px solid rgba(255,20,147,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.intro-powerup-name { font-weight: 900; font-size: 14px; color: #fff; margin-bottom: 3px; }
.intro-powerup-desc { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.45); line-height: 1.5; }
.intro-powerup-cost {
  margin-left: auto; font-size: 12px; font-weight: 800;
  color: #FF1493; white-space: nowrap; padding-top: 2px;
}
#intro-vinyl-note {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.3);
  margin: 16px 0; line-height: 1.5;
}
#intro-got-it {
  width: 100%; background: linear-gradient(135deg, #FF1493, #cc0077); color: #fff;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 15px;
  padding: 14px; border: none; border-radius: 50px; cursor: pointer;
  transition: transform 0.15s; box-shadow: 0 4px 20px rgba(255,20,147,0.35);
}
#intro-got-it:hover { transform: translateY(-2px); }

/* ── HOW TO PLAY — 2 PAGE NAV ── */
#modal-dots {
  display: flex; gap: 6px; justify-content: center; margin-bottom: 16px;
}
.modal-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(26,5,53,0.15); cursor: pointer; transition: all 0.2s;
}
.modal-dot.active { background: #FF1493; width: 20px; border-radius: 4px; }
#modal-nav {
  display: flex; justify-content: space-between;
  align-items: center; margin-top: 12px;
}
.modal-nav-btn {
  background: transparent; border: 1.5px solid rgba(26,5,53,0.15);
  color: rgba(26,5,53,0.4); font-size: 14px; font-weight: 800;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  transition: all 0.2s; display: flex; align-items: center; justify-content: center;
}
.modal-nav-btn:hover { border-color: #FF1493; color: #FF1493; }
.modal-page { display: block; }
.modal-page.hidden { display: none !important; }

/* ── MUSIC PACKS ── */
.shop-pack-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-bottom: 8px;
}
.shop-pack {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 14px 12px;
  text-align: center; cursor: pointer; transition: all 0.2s;
}
.shop-pack:hover { border-color: rgba(0,191,255,0.4); background: rgba(0,191,255,0.06); }
.shop-pack-icon  { font-size: 24px; margin-bottom: 6px; }
.shop-pack-name  { font-weight: 900; font-size: 12px; color: #fff; margin-bottom: 3px; line-height: 1.3; }
.shop-pack-count { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.35); margin-bottom: 8px; }
.shop-pack-price {
  background: rgba(0,191,255,0.1); border: 1px solid rgba(0,191,255,0.2);
  border-radius: 50px; padding: 4px 12px;
  font-weight: 900; font-size: 12px; color: #00BFFF;
  display: inline-block;
}

/* ══════════════════════════════════════════
   MOBILE FIXES
══════════════════════════════════════════ */

/* Allow scroll on profile and leaderboard pages */
#profile-page, #lb-page {
  overflow-y: auto;
  height: auto;
  min-height: 100vh;
}

/* Fix body overflow for non-game pages */
body:has(#profile-page), body:has(#lb-page) {
  overflow-y: auto;
  height: auto;
}

/* ── RESPONSIVE NAV ── */
@media (max-width: 600px) {
  #splash-nav {
    padding: 14px 16px;
    flex-wrap: nowrap;
  }
  #splash-nav-links {
    display: none;
  }
  #splash-nav-auth {
    flex-shrink: 0;
  }
  #splash-auth-btn {
    font-size: 11px;
    padding: 7px 14px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #lb-nav {
    padding: 14px 16px;
    position: relative;
  }
  #lb-nav-links {
    display: none;
  }
  #lb-nav #hamburger-btn {
    display: flex;
  }
  .nav-link {
    font-size: 11px;
  }

  /* Game screen mobile */
  #screen-game {
    padding: 0 14px 12px;
  }
  #boost-pills {
    gap: 4px;
  }
  .pill-btn {
    font-size: 10px;
    padding: 5px 10px;
  }
  #choices-area {
    gap: 6px;
  }
  .choice-btn {
    font-size: 12px;
    padding: 10px 10px;
  }

  /* Profile mobile */
  #profile-stats {
    grid-template-columns: 1fr 1fr;
  }
  #badges-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Splash mobile */
  #splash-title {
    font-size: clamp(32px, 12vw, 56px);
    letter-spacing: 6px;
  }
  #splash-actions {
    width: 100%;
    padding: 0 20px;
  }
  #splash-play-btn, #splash-how-btn {
    width: 100%;
    text-align: center;
  }
}

/* ── HAMBURGER MENU ── */
#hamburger-btn {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; background: transparent; border: none; cursor: pointer;
  padding: 8px; width: 40px; height: 40px; border-radius: 8px;
  transition: background 0.2s;
}
#hamburger-btn:hover { background: rgba(255,255,255,0.08); }
#hamburger-btn span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 2px;
  transition: all 0.2s;
}
#hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger-btn.open span:nth-child(2) { opacity: 0; }
#hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#hamburger-menu {
  position: fixed; top: 64px; right: 16px;
  background: #0e0a1e; border: 1px solid rgba(255,20,147,0.25);
  border-radius: 16px; padding: 8px; min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 9999;
  -webkit-tap-highlight-color: transparent;
}
#hamburger-menu::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FF1493, #7850ff, #00BFFF);
  border-radius: 16px 16px 0 0;
}
.hamburger-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 14px 16px; border-radius: 10px;
  background: transparent; border: none; cursor: pointer;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 15px;
  color: rgba(255,255,255,0.85); text-decoration: none;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 48px;
}
.hamburger-item:hover, .hamburger-item:active { background: rgba(255,255,255,0.07); }
.hamburger-item + .hamburger-item {
  border-top: 1px solid rgba(255,255,255,0.06);
}

#splash-nav-links { display: none; }
#splash-nav-auth  { display: none; }
#hamburger-btn    { display: flex; }

/* ── RESULT CLOSE BUTTON ── */
#result-close {
  position: absolute; top: 14px; right: 16px;
  background: rgba(255,255,255,0.06); border: none;
  color: rgba(255,255,255,0.4); font-size: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
#result-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ── NOTIFICATION BELL ── */
#nav-notif-btn {
  position: relative; background: transparent; border: none;
  color: rgba(255,255,255,0.7); font-size: 18px; cursor: pointer;
  padding: 6px 8px; border-radius: 8px; transition: all 0.2s;
  display: flex; align-items: center;
}
#nav-notif-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }

.notif-badge {
  position: absolute; top: 0px; right: 0px;
  background: #FF1493; color: #fff;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 10px;
  min-width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; pointer-events: none;
}
.notif-badge.hidden { display: none; }

#hamburger-notif .notif-badge {
  position: static; margin-left: auto;
}

/* ── NOTIFICATION PANEL ── */
#notif-panel {
  position: fixed; top: 64px; right: 16px;
  background: #0e0a1e; border: 1px solid rgba(255,20,147,0.25);
  border-radius: 16px; width: 320px; max-height: 420px;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  z-index: 9999; overflow: hidden;
}
#notif-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FF1493, #7850ff, #00BFFF);
  border-radius: 16px 16px 0 0;
}
#notif-panel-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px 10px;
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 14px;
  color: #fff; border-bottom: 1px solid rgba(255,255,255,0.07);
}
#notif-mark-all {
  background: transparent; border: none; cursor: pointer;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 11px;
  color: #FF1493; padding: 0;
}
#notif-list {
  overflow-y: auto; flex: 1;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.notif-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: default; transition: background 0.15s;
}
.notif-item.unread { background: rgba(255,20,147,0.05); }
.notif-item:hover  { background: rgba(255,255,255,0.04); }
.notif-icon {
  font-size: 20px; flex-shrink: 0; margin-top: 1px;
}
.notif-body { flex: 1; }
.notif-msg {
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 13px;
  color: rgba(255,255,255,0.85); line-height: 1.4; margin-bottom: 3px;
}
.notif-time {
  font-family: 'Nunito', sans-serif; font-size: 11px;
  color: rgba(255,255,255,0.3);
}
.notif-unread-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #FF1493; flex-shrink: 0; margin-top: 5px;
}
.notif-empty {
  padding: 32px 16px; text-align: center;
  font-family: 'Nunito', sans-serif; font-size: 13px;
  color: rgba(255,255,255,0.3);
}

@media (max-width: 600px) {
  #notif-panel { width: calc(100vw - 32px); right: 16px; }
}

/* ── SPEED BLITZ BUTTON ── */
#splash-blitz-btn {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, #ff6b00, #ff1493);
  border: none; border-radius: 14px;
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 16px;
  color: #fff; cursor: pointer; transition: opacity 0.2s;
  margin: 0;
}
#splash-blitz-btn:hover { opacity: 0.9; }