body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, system-ui;
  background: linear-gradient(180deg,#111,#000);
  color: #fff;
}

.header {
  padding: 18px;
  font-size: 22px;
  font-weight: 600;
}

.search {
  width: calc(100% - 24px);
  margin: 12px;
  padding: 14px;
  border-radius: 14px;
  border: none;
  font-size: 15px;
}

.track {
  display: flex;
  gap: 12px;
  margin: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  cursor: pointer;
}

.track img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
}

.player {
  position: fixed;
  bottom: 60px;
  left: 0;
  right: 0;
  padding: 12px;
  background: rgba(0,0,0,0.85);
  display: flex;
  gap: 12px;
  align-items: center;
}

/* bottom nav */
.nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
}
/* =========================================================
   GLOBAL DESIGN SYSTEM — iOS GLASSMORPHISM
   Author: Production Build
   ========================================================= */

/* -------------------------
   CSS RESET (SAFE)
------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    system-ui,
    sans-serif;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* -------------------------
   DESIGN TOKENS
------------------------- */
:root {
  /* Colors */
  --bg-light: radial-gradient(circle at top, #ffffff, #eef1f7);
  --bg-dark: radial-gradient(circle at top, #151821, #05060a);

  --glass-light: rgba(255, 255, 255, 0.65);
  --glass-dark: rgba(18, 20, 30, 0.55);

  --border-light: rgba(255, 255, 255, 0.35);
  --border-dark: rgba(255, 255, 255, 0.08);

  --text-light: #0b0d12;
  --text-dark: #f4f5fa;
  --text-muted-light: rgba(0, 0, 0, 0.55);
  --text-muted-dark: rgba(255, 255, 255, 0.65);

  /* Effects */
  --blur: blur(22px);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --fast: 0.2s;
  --normal: 0.35s;
  --slow: 0.6s;
}

/* -------------------------
   COLOR MODES
------------------------- */
@media (prefers-color-scheme: light) {
  :root {
    --bg: var(--bg-light);
    --glass: var(--glass-light);
    --border: var(--border-light);
    --text: var(--text-light);
    --text-muted: var(--text-muted-light);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--bg-dark);
    --glass: var(--glass-dark);
    --border: var(--border-dark);
    --text: var(--text-dark);
    --text-muted: var(--text-muted-dark);
  }
}

/* -------------------------
   ACCESSIBILITY
------------------------- */
:focus-visible {
  outline: 2px solid #4c9ffe;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* -------------------------
   GLASS COMPONENT
------------------------- */
.glass {
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.15);
  transition:
    transform var(--normal) var(--ease),
    box-shadow var(--normal) var(--ease);
}

.glass:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.18);
}

/* -------------------------
   BUTTONS
------------------------- */
.button {
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(76, 159, 254, 0.9);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  transition:
    transform var(--fast) var(--ease),
    opacity var(--fast) var(--ease);
}

.button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.button:active {
  transform: scale(0.97);
}

/* -------------------------
   TEXT UTILITIES
------------------------- */
h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.muted {
  color: var(--text-muted);
}

/* -------------------------
   NAV BAR (iOS STYLE)
------------------------- */
.navbar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  z-index: 1000;
}

.navbar a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.8rem;
  opacity: 0.7;
  transition: opacity var(--fast);
}

.navbar a.active {
  opacity: 1;
  font-weight: 600;
}

/* -------------------------
   ANIMATIONS
------------------------- */
.fade-in {
  animation: fadeIn var(--slow) var(--ease);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
