/* ==========================================================================
   BANTU STREAM CONNECT — MUSIC DISCOVERY PAGE
   Brand-blue primary (matches Explore/creator-channel), warm-gold reserved
   for premium moments. The --portal-* names are kept (68 usages throughout
   this file) but now point at the real shared-components.css tokens instead
   of a page-local cyan/violet pair, so Music inherits the same colors as
   every other screen - including automatic light/high-contrast theme support,
   which the old hardcoded hex values never had.
   FIX #5: Music cards use 16:9 aspect ratio (like creator-channel upload-card)
   ========================================================================== */

:root {
  --portal-cyan: var(--bantu-blue);
  --portal-violet: var(--warm-gold);
  --portal-gold: var(--warm-gold); /* Only for premium moments: streak, archetype, unlocks */
  --portal-glow-soft: rgba(29, 78, 216, 0.15);
  --portal-glow-strong: rgba(29, 78, 216, 0.4);
}

/* ===== MAIN LAYOUT ===== */
.music-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 20px 120px;
}

@media (min-width: 768px) { .music-main { padding: 32px 32px 120px; } }
@media (min-width: 1200px) { .music-main { padding: 40px 64px 120px; } }

/* ===== SECTION HEADER ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.section-see-all {
  background: none;
  border: none;
  color: var(--slate-grey);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  padding: 4px 8px;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.section-see-all:hover {
  color: var(--portal-cyan);
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--soft-white);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  letter-spacing: 0.5px;
}

.section-title i {
  color: var(--portal-cyan); /* FIX #6: Cyan, not gold */
  font-size: 16px;
}

@media (min-width: 768px) {
  .section-title { font-size: 20px; }
  .section-title i { font-size: 18px; }
}

/* ==========================================================================
   SONIC DNA BAR (FIX #2: Now tappable with CTA)
   ========================================================================== */
.sonic-dna-section {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(29, 78, 216, 0.15);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  cursor: pointer; /* FIX #2: Tappable */
  transition: all 0.3s ease;
}

.sonic-dna-section:hover {
  border-color: rgba(29, 78, 216, 0.3);
  transform: translateY(-2px);
}

.sonic-dna-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.1), transparent 70%);
  pointer-events: none;
}

.sonic-dna-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.sonic-dna-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.sonic-dna-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--portal-cyan), var(--portal-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(29, 78, 216, 0.3);
  animation: dnaBadgePulse 3s ease-in-out infinite;
}

@keyframes dnaBadgePulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(29, 78, 216, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(29, 78, 216, 0.6); }
}

.sonic-dna-archetype {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 2px;
  background: linear-gradient(135deg, var(--portal-cyan), var(--portal-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
}

.sonic-dna-subtitle {
  font-size: 12px;
  color: var(--slate-grey);
  margin: 0;
}

/* FIX #6: Streak uses warm-gold (premium moment) */
.sonic-dna-streak {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--warm-gold);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.sonic-dna-streak:hover {
  background: rgba(239, 159, 39, 0.25);
  transform: translateY(-1px);
}

.sonic-dna-streak i { animation: flameFlicker 1.5s ease-in-out infinite; }

@keyframes flameFlicker {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15) rotate(-5deg); }
}

.streak-label {
  font-weight: 400;
  opacity: 0.8;
  font-size: 11px;
}

/* DNA Bars */
.sonic-dna-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
}

.dna-bar-item {
  display: grid;
  grid-template-columns: 100px 1fr 50px;
  align-items: center;
  gap: 12px;
}

.dna-bar-label {
  font-size: 12px;
  color: var(--soft-white);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dna-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.dna-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--portal-cyan), var(--portal-violet));
  box-shadow: 0 0 10px rgba(29, 78, 216, 0.5);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.dna-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: dnaShimmer 2s ease-in-out infinite;
}

@keyframes dnaShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.dna-bar-value {
  font-size: 12px;
  color: var(--slate-grey);
  text-align: right;
  font-weight: 600;
  font-family: 'Orbitron', sans-serif;
}

/* FIX #2: CTA button for quiz */
.sonic-dna-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: rgba(29, 78, 216, 0.1);
  border: 1px solid rgba(29, 78, 216, 0.2);
  border-radius: 10px;
  color: var(--portal-cyan);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 2;
  font-family: inherit;
}

.sonic-dna-cta:hover {
  background: rgba(29, 78, 216, 0.18);
  border-color: var(--portal-cyan);
}

.sonic-dna-cta i { transition: transform 0.2s ease; }
.sonic-dna-cta:hover i { transform: translateX(4px); }

@media (max-width: 480px) {
  .sonic-dna-section { padding: 16px; }
  .sonic-dna-archetype { font-size: 16px; }
  .sonic-dna-badge { width: 40px; height: 40px; font-size: 16px; }
  .dna-bar-item { grid-template-columns: 80px 1fr 40px; gap: 8px; }
  .dna-bar-label { font-size: 11px; }
  .sonic-dna-streak { padding: 6px 10px; font-size: 11px; }
}

/* ==========================================================================
   CONTINUE LISTENING
   FIX #5: Uses 16:9 aspect ratio like creator-channel upload-card
   ========================================================================== */
.continue-listening-section { margin-bottom: 32px; }

.continue-listening-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

@media (min-width: 768px) {
  .continue-listening-row {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }
}

/* FIX #5: Music card style matching creator-channel upload-card */
.continue-card {
  cursor: pointer;
  transition: transform 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.continue-card:hover { transform: translateY(-4px); }

.continue-card-artwork {
  position: relative;
  background: var(--bg-media, #1a2033);
  border-radius: 6px;
  aspect-ratio: 16 / 9; /* FIX #5: 16:9, not 1:1 */
  margin-bottom: 6px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.continue-card-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.continue-card:hover .continue-card-artwork img { transform: scale(1.05); }

.continue-card-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 500;
  background: var(--portal-cyan);
  color: var(--soft-white);
}

.continue-card-duration {
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 10px;
  color: white;
  background: rgba(0, 0, 0, 0.7);
  padding: 1px 6px;
  border-radius: 3px;
}

.continue-card-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.5);
}

.continue-card-progress-fill {
  height: 100%;
  background: var(--portal-cyan);
  box-shadow: 0 0 8px rgba(29, 78, 216, 0.5);
}

.continue-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 17, 31, 0.25);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.continue-card:hover .continue-card-play { opacity: 1; }

.continue-card-play i {
  font-size: 22px;
  color: var(--portal-cyan);
  text-shadow: 0 0 3px var(--portal-cyan), 0 0 8px var(--portal-cyan), 0 0 18px rgba(29, 78, 216, 0.75);
}

.continue-card-title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--soft-white);
}

.continue-card-meta {
  font-size: 11px;
  color: var(--slate-grey);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   MYSTERY PORTAL (FIX #4: Click now works)
   ========================================================================== */
.portal-section { margin-bottom: 40px; }

.portal-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--slate-grey);
  font-family: 'Orbitron', sans-serif;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-timer i { color: var(--portal-cyan); }

.portal-card {
  position: relative;
  height: 280px;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(135deg, #0a1929, #1a0a2e);
  border: 1px solid rgba(29, 78, 216, 0.2);
}

@media (min-width: 768px) { .portal-card { height: 340px; } }
@media (min-width: 1200px) { .portal-card { height: 380px; } }

.portal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 78, 216, 0.5);
  box-shadow: 0 20px 60px rgba(29, 78, 216, 0.25);
}

.portal-card-artwork {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.portal-card-blur {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 30% 40%, rgba(29, 78, 216, 0.4), transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(245, 158, 11, 0.4), transparent 50%),
              radial-gradient(circle at 50% 80%, rgba(245, 158, 11, 0.2), transparent 50%);
  filter: blur(40px);
  animation: portalFloat 8s ease-in-out infinite;
}

@keyframes portalFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5%, -5%) scale(1.05); }
  66% { transform: translate(-5%, 5%) scale(0.95); }
}

.portal-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.6) 100%);
}

.portal-card-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.portal-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--portal-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--portal-cyan);
  animation: particleFloat 6s linear infinite;
  opacity: 0.6;
}

@keyframes particleFloat {
  0% { transform: translateY(100%) translateX(0); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateY(-100%) translateX(20px); opacity: 0; }
}

.portal-card-content {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.portal-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(29, 78, 216, 0.15);
  border: 1px solid rgba(29, 78, 216, 0.3);
  color: var(--portal-cyan);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 12px;
  backdrop-filter: blur(10px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.portal-card-badge i { animation: sparkle 2s ease-in-out infinite; }

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(180deg); }
}

.portal-card-note {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: white;
  margin: 0 0 8px;
  line-height: 1.3;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) { .portal-card-note { font-size: 28px; } }

.portal-card-cta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-card-cta::after {
  content: '→';
  transition: transform 0.2s ease;
}

.portal-card:hover .portal-card-cta::after { transform: translateX(4px); }

.portal-card-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: portalShimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes portalShimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* ==========================================================================
   WORLDS SECTION (FIX #3: In-page tab exploration)
   ========================================================================== */
.worlds-section { margin-bottom: 40px; }

.worlds-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(29, 78, 216, 0.1);
  border: 1px solid rgba(29, 78, 216, 0.25);
  border-radius: 20px;
  color: var(--portal-cyan);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.worlds-back-btn:hover {
  background: rgba(29, 78, 216, 0.2);
  border-color: var(--portal-cyan);
}

.worlds-back-btn i { transition: transform 0.2s ease; }
.worlds-back-btn:hover i { transform: translateX(-3px); }

.worlds-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--slate-grey);
  flex-wrap: wrap;
}

.breadcrumb-item {
  cursor: pointer;
  transition: color 0.2s ease;
}

.breadcrumb-item:hover { color: var(--portal-cyan); }

.breadcrumb-item.active { color: var(--soft-white); font-weight: 500; }

.breadcrumb-separator {
  color: var(--slate-grey);
  opacity: 0.5;
}

.worlds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 600px) { .worlds-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 900px) { .worlds-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .worlds-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; } }

.world-card {
  position: relative;
  aspect-ratio: 1 / 1.1;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: var(--bg-media, #1a2033);
  border: 1px solid var(--card-border, rgba(148, 163, 184, 0.2));
}

.world-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--portal-cyan);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.world-card-artwork {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.world-card:hover .world-card-artwork { transform: scale(1.08); }

.world-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 17, 31, 0.95) 0%, rgba(7, 17, 31, 0.4) 50%, transparent 100%);
}

.world-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  z-index: 2;
}

.world-card-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin: 0 0 6px;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

@media (min-width: 768px) { .world-card-name { font-size: 16px; } }

.world-card-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.world-card-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.world-card-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--portal-cyan), var(--portal-violet));
  border-radius: 2px;
  transition: width 0.8s ease;
}

.world-card-progress-text {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
}

.world-card-meta {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

/* SECTION 7 FIX: Top-level worlds show status indicator, not lock */
.world-card-lock {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-grey);
  font-size: 12px;
  z-index: 3;
}

.world-card-lock.unlocked {
  background: rgba(29, 78, 216, 0.2);
  border-color: var(--portal-cyan);
  color: var(--portal-cyan);
  box-shadow: 0 0 15px rgba(29, 78, 216, 0.4);
}

/* Sub-worlds use lock icon for real gating */
.world-card.is-locked .world-card-lock {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: var(--error-color);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.world-card.is-locked .world-card-progress-fill {
  background: var(--error-color);
  opacity: 0.3;
}

.world-card.is-locked .world-card-progress-text {
  color: var(--error-color);
}

/* ===== WORLD DETAIL VIEW (in-page exploration) ===== */
.world-detail-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border, rgba(148, 163, 184, 0.2));
  border-radius: 16px;
}

.world-detail-artwork {
  width: 120px;
  height: 120px;
  border-radius: 14px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--portal-cyan), var(--portal-violet));
  box-shadow: 0 8px 25px rgba(29, 78, 216, 0.3);
}

@media (min-width: 768px) {
  .world-detail-artwork { width: 160px; height: 160px; }
}

.world-detail-info { flex: 1; min-width: 0; }

.world-detail-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--soft-white);
  margin: 0 0 10px;
}

@media (min-width: 768px) { .world-detail-name { font-size: 28px; } }

.world-detail-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.world-detail-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.world-detail-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--portal-cyan), var(--portal-violet));
  border-radius: 3px;
  transition: width 0.8s ease;
}

.world-detail-progress-text {
  font-size: 13px;
  color: var(--portal-cyan);
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  min-width: 40px;
}

.world-detail-description {
  font-size: 13px;
  color: var(--slate-grey);
  line-height: 1.5;
  margin: 0;
}

.world-detail-subsection {
  margin-bottom: 28px;
}

.world-detail-subsection-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--soft-white);
  margin: 0 0 12px;
  padding-left: 10px;
  border-left: 3px solid var(--portal-cyan);
}

/* Weekly find (blurred mystery) - FIX #3 */
.world-weekly-find {
  position: relative;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1929, #1a0a2e);
  border: 1px solid rgba(29, 78, 216, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.world-weekly-find:hover {
  border-color: var(--portal-cyan);
  transform: translateY(-2px);
}

.world-weekly-find-blur {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 50%, rgba(29, 78, 216, 0.3), transparent 60%);
  filter: blur(30px);
  animation: portalFloat 8s ease-in-out infinite;
}

.world-weekly-find-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--portal-cyan);
  font-size: 14px;
  font-weight: 600;
}

.world-weekly-find-content i { animation: sparkle 2s ease-in-out infinite; }

/* Track list (deliberately plain) */
.world-track-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.world-track-item {
  display: grid;
  grid-template-columns: 32px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.world-track-item:hover { background: rgba(255, 255, 255, 0.04); }

.world-track-number {
  font-size: 12px;
  color: var(--slate-grey);
  font-family: 'Orbitron', sans-serif;
  text-align: center;
}

.world-track-info { min-width: 0; }

.world-track-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--soft-white);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.world-track-artist {
  font-size: 11px;
  color: var(--slate-grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.world-track-duration {
  font-size: 11px;
  color: var(--slate-grey);
  font-family: 'Orbitron', sans-serif;
}

.world-track-play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.1);
  border: 1px solid rgba(29, 78, 216, 0.2);
  color: var(--portal-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.world-track-item:hover .world-track-play { opacity: 1; }

/* ==========================================================================
   SOCIAL STRIP
   ========================================================================== */
.social-strip-section { margin-bottom: 40px; }

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--error-color);
  border-radius: 50%;
  margin-left: 6px;
  animation: livePulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--error-color);
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.social-strip-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--portal-cyan) transparent;
}

.social-strip-row::-webkit-scrollbar { height: 4px; }
.social-strip-row::-webkit-scrollbar-thumb { background: var(--portal-cyan); border-radius: 2px; }

.social-strip-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 10px 14px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 200px;
}

.social-strip-item:hover {
  border-color: var(--portal-cyan);
  background: rgba(29, 78, 216, 0.05);
  transform: translateY(-2px);
}

.social-strip-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--portal-cyan), var(--portal-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.social-strip-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-strip-avatar::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: var(--success-color);
  border: 2px solid var(--deep-black);
  border-radius: 50%;
}

.social-strip-info { flex: 1; min-width: 0; }

.social-strip-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--soft-white);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-strip-track {
  font-size: 11px;
  color: var(--slate-grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   TRENDING GRID
   FIX #5: Uses 16:9 aspect ratio
   ========================================================================== */
.trending-section { margin-bottom: 40px; }

.trending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

@media (min-width: 768px) {
  .trending-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
}

.trending-card {
  cursor: pointer;
  transition: transform 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.trending-card:hover { transform: translateY(-4px); }

.trending-card-artwork {
  position: relative;
  aspect-ratio: 16 / 9; /* FIX #5: 16:9 */
  background: var(--bg-media, #1a2033);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 6px;
}

.trending-card-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trending-card:hover .trending-card-artwork img { transform: scale(1.05); }

.trending-card-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--portal-cyan);
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.trending-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 17, 31, 0.25);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.trending-card:hover .trending-card-play { opacity: 1; }

.trending-card-play i {
  font-size: 22px;
  color: var(--portal-cyan);
  text-shadow: 0 0 3px var(--portal-cyan), 0 0 8px var(--portal-cyan), 0 0 18px rgba(29, 78, 216, 0.75);
}

.trending-card-title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--soft-white);
}

.trending-card-artist {
  font-size: 11px;
  color: var(--slate-grey);
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trending-card-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: var(--slate-grey);
}

.trending-card-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.trending-card-stats i { color: var(--portal-cyan); font-size: 10px; }

/* ==========================================================================
   SONIC DNA QUIZ MODAL
   ========================================================================== */
.sonic-quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sonic-quiz-modal.active {
  display: flex;
  animation: quizIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes quizIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sonic-quiz-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 12, 0.92);
  backdrop-filter: blur(30px);
}

.sonic-quiz-content {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: linear-gradient(135deg, rgba(10, 25, 41, 0.98), rgba(26, 10, 46, 0.98));
  border: 1px solid rgba(29, 78, 216, 0.3);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(29, 78, 216, 0.3);
  animation: quizScale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes quizScale {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.sonic-quiz-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.sonic-quiz-close:hover {
  background: rgba(239, 68, 68, 0.8);
  transform: rotate(90deg);
}

.sonic-quiz-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--portal-cyan), var(--portal-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  box-shadow: 0 0 40px rgba(29, 78, 216, 0.5);
  animation: dnaBadgePulse 3s ease-in-out infinite;
}

.sonic-quiz-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin: 0 0 10px;
  background: linear-gradient(135deg, var(--portal-cyan), var(--portal-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sonic-quiz-subtitle {
  font-size: 14px;
  color: var(--slate-grey);
  margin: 0 0 30px;
}

.sonic-quiz-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--portal-cyan), var(--portal-violet));
  border: none;
  border-radius: 30px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(29, 78, 216, 0.3);
}

.sonic-quiz-start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(29, 78, 216, 0.5);
}

/* Quiz progress */
.sonic-quiz-progress {
  margin-bottom: 24px;
}

.sonic-quiz-progress-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.sonic-quiz-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.sonic-quiz-dot.active {
  background: var(--portal-cyan);
  box-shadow: 0 0 10px var(--portal-cyan);
}

.sonic-quiz-dot.done {
  background: var(--portal-violet);
}

.sonic-quiz-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.sonic-quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--portal-cyan), var(--portal-violet));
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 0%;
}

/* Quiz card */
.sonic-quiz-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 320px;
  margin: 0 auto 20px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
  background-size: cover;
  background-position: center;
  border: 2px solid transparent;
}

.sonic-quiz-card:hover {
  transform: scale(1.02);
  border-color: var(--portal-cyan);
}

.sonic-quiz-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.sonic-quiz-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  text-align: left;
}

.sonic-quiz-card-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0 0 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.sonic-quiz-card-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
}

.sonic-quiz-card-cta {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(29, 78, 216, 0.2);
  border: 1px solid var(--portal-cyan);
  color: var(--portal-cyan);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sonic-quiz-actions {
  display: flex;
  justify-content: center;
}

.sonic-quiz-skip-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--slate-grey);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}

.sonic-quiz-skip-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--soft-white);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Reveal */
.sonic-quiz-reveal-badge {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--portal-cyan), var(--portal-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 40px;
  box-shadow: 0 0 60px rgba(29, 78, 216, 0.6);
  animation: revealPulse 2s ease-in-out infinite;
}

@keyframes revealPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(29, 78, 216, 0.6); transform: scale(1); }
  50% { box-shadow: 0 0 80px rgba(29, 78, 216, 0.9); transform: scale(1.05); }
}

.sonic-quiz-archetype-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 10px;
  background: linear-gradient(135deg, var(--portal-cyan), var(--portal-violet), #F59E0B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}

.sonic-quiz-archetype-desc {
  font-size: 14px;
  color: var(--slate-grey);
  margin: 0 0 24px;
  line-height: 1.5;
}

.sonic-quiz-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  text-align: left;
}

.sonic-quiz-breakdown-item {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.sonic-quiz-breakdown-label { color: var(--soft-white); }

.sonic-quiz-breakdown-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.sonic-quiz-breakdown-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--portal-cyan), var(--portal-violet));
  border-radius: 3px;
  transition: width 1s ease;
}

.sonic-quiz-breakdown-value {
  color: var(--portal-cyan);
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  text-align: right;
}

.sonic-quiz-done-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--portal-cyan), var(--portal-violet));
  border: none;
  border-radius: 30px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(29, 78, 216, 0.3);
}

.sonic-quiz-done-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(29, 78, 216, 0.5);
}

/* ==========================================================================
   PORTAL REVEAL MODAL
   ========================================================================== */
.portal-reveal-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.portal-reveal-modal.active {
  display: flex;
  animation: portalRevealIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes portalRevealIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.portal-reveal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 12, 0.92);
  backdrop-filter: blur(30px);
}

.portal-reveal-content {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: linear-gradient(135deg, rgba(10, 25, 41, 0.95), rgba(26, 10, 46, 0.95));
  border: 1px solid rgba(29, 78, 216, 0.3);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(29, 78, 216, 0.3);
  animation: portalRevealScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes portalRevealScale {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.portal-reveal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.portal-reveal-close:hover {
  background: rgba(239, 68, 68, 0.8);
  transform: rotate(90deg);
}

.portal-reveal-artwork {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-media);
  overflow: hidden;
}

.portal-reveal-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-reveal-artwork-blur {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  transition: opacity 0.6s ease;
}

.portal-reveal-modal.revealed .portal-reveal-artwork-blur { opacity: 0; }

.portal-reveal-info { padding: 24px; }

.portal-reveal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(29, 78, 216, 0.15);
  border: 1px solid rgba(29, 78, 216, 0.3);
  color: var(--portal-cyan);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.portal-reveal-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin: 0 0 6px;
  line-height: 1.2;
}

.portal-reveal-artist {
  font-size: 14px;
  color: var(--slate-grey);
  margin: 0 0 12px;
}

.portal-reveal-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 16px;
  line-height: 1.5;
  font-style: italic;
  padding-left: 12px;
  border-left: 2px solid var(--portal-cyan);
}

.portal-reveal-dna-match {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--portal-cyan);
  margin-bottom: 20px;
  padding: 8px 12px;
  background: rgba(29, 78, 216, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(29, 78, 216, 0.15);
}

.portal-reveal-play-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--portal-cyan), var(--portal-violet));
  border: none;
  border-radius: 14px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(29, 78, 216, 0.3);
}

.portal-reveal-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(29, 78, 216, 0.5);
}

/* ==========================================================================
   UNLOCK CELEBRATION MODAL (SECTION 5)
   ========================================================================== */
.unlock-celebration-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.unlock-celebration-modal.active {
  display: flex;
  animation: unlockIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes unlockIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.unlock-celebration-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 12, 0.92);
  backdrop-filter: blur(30px);
}

.unlock-celebration-content {
  position: relative;
  background: linear-gradient(135deg, rgba(10, 25, 41, 0.98), rgba(26, 10, 46, 0.98));
  border: 2px solid var(--portal-cyan);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(29, 78, 216, 0.4);
  pointer-events: auto;
  animation: unlockBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 420px;
  width: 100%;
}

@keyframes unlockBounce {
  0% { transform: scale(0.5); }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.unlock-celebration-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--portal-gold), #F97316);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.5);
  animation: celebrationPulse 2s ease-in-out infinite;
}

@keyframes celebrationPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 50px rgba(245, 158, 11, 0.5); }
  50% { transform: scale(1.08); box-shadow: 0 0 70px rgba(245, 158, 11, 0.8); }
}

.unlock-celebration-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  background: linear-gradient(135deg, var(--portal-gold), #F97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
}

.unlock-celebration-subtitle {
  font-size: 14px;
  color: var(--slate-grey);
  margin: 0 0 24px;
}

.unlock-celebration-btn {
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--portal-gold), #F97316);
  border: none;
  border-radius: 24px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Orbitron', sans-serif;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.unlock-celebration-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

/* ==========================================================================
   WEEKLY FIND REVEAL MODAL (SECTION 8)
   ========================================================================== */
.weekly-find-reveal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.weekly-find-reveal.active {
  display: flex;
  animation: weeklyRevealIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes weeklyRevealIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.weekly-find-reveal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 12, 0.92);
  backdrop-filter: blur(30px);
}

.weekly-find-reveal-content {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(135deg, rgba(10, 25, 41, 0.98), rgba(26, 10, 46, 0.98));
  border: 1px solid rgba(29, 78, 216, 0.3);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(29, 78, 216, 0.3);
  animation: weeklyRevealScale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes weeklyRevealScale {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.weekly-find-reveal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.weekly-find-reveal-close:hover {
  background: rgba(239, 68, 68, 0.8);
  transform: rotate(90deg);
}

.weekly-find-reveal-artwork {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-media);
  overflow: hidden;
}

.weekly-find-reveal-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weekly-find-reveal-artwork-blur {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.weekly-find-reveal-content > *:not(.weekly-find-reveal-artwork):not(.weekly-find-reveal-close) {
  padding: 0 24px;
}

.weekly-find-reveal-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 16px 24px 4px;
  line-height: 1.2;
}

.weekly-find-reveal-artist {
  font-size: 14px;
  color: var(--slate-grey);
  margin: 0 24px 8px;
}

.weekly-find-reveal-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 24px 16px;
  line-height: 1.5;
  font-style: italic;
  padding-left: 12px;
  border-left: 2px solid var(--portal-gold);
}

.weekly-find-reveal-play-btn {
  width: calc(100% - 48px);
  margin: 0 24px 24px;
  padding: 14px;
  background: linear-gradient(135deg, var(--portal-cyan), var(--portal-violet));
  border: none;
  border-radius: 14px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(29, 78, 216, 0.3);
}

.weekly-find-reveal-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(29, 78, 216, 0.5);
}

/* ==========================================================================
   EMPTY STATES
   ========================================================================== */
.music-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--slate-grey);
  background: var(--card-bg);
  border: 1px dashed var(--card-border);
  border-radius: 16px;
}

.music-empty-state i {
  font-size: 40px;
  color: var(--portal-cyan);
  opacity: 0.4;
  margin-bottom: 12px;
}

.music-empty-state h4 {
  font-size: 16px;
  color: var(--soft-white);
  margin: 0 0 6px;
}

.music-empty-state p { font-size: 13px; margin: 0; }

/* ==========================================================================
   MOBILE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 480px) {
  .music-main { padding: 16px 12px 100px; }
  .section-title { font-size: 16px; }
  .portal-card { height: 240px; }
  .portal-card-content { padding: 20px; }
  .portal-card-note { font-size: 18px; }
  .worlds-grid { gap: 10px; }
  .world-card-name { font-size: 12px; }
  .continue-listening-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trending-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .social-strip-item { min-width: 180px; padding: 8px 12px; }
  .sonic-quiz-archetype-name { font-size: 24px; }
  .sonic-quiz-card-name { font-size: 16px; }
  .unlock-celebration-content { padding: 28px 20px; }
  .unlock-celebration-title { font-size: 20px; }
}

@media (max-width: 360px) {
  .sonic-dna-archetype { font-size: 14px; }
  .portal-card-note { font-size: 16px; }
  .world-card-name { font-size: 11px; }
}
