/* ==========================================================================
   volym — Monochrome Obsidian Liquid Glass Design System
   100% Black, White & Frosted Silver Glass Aesthetic
   ========================================================================== */

:root {
  --bg: #040406;
  --bg-elevated: #0b0c10;
  --surface: rgba(255, 255, 255, 0.036);
  --surface-hover: rgba(255, 255, 255, 0.068);
  --surface-strong: rgba(255, 255, 255, 0.11);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.26);
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.64);
  --text-muted: rgba(255, 255, 255, 0.44);
  --white: #ffffff;
  --black: #08090c;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --radius-pill: 999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

code,
kbd {
  font-family: var(--font-mono);
}

kbd {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 11.5px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}

/* ==========================================================================
   Ambient Studio Backdrop
   ========================================================================== */

.bg-stage {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(180px);
}

.bg-orb-top {
  width: 900px;
  height: 520px;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.13) 0%, transparent 72%);
}

.bg-orb-side {
  width: 700px;
  height: 700px;
  right: -240px;
  top: 40vh;
  background: radial-gradient(circle, rgba(200, 206, 220, 0.065) 0%, transparent 70%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 10%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 10%, #000 0%, transparent 80%);
}

main,
footer {
  position: relative;
  z-index: 2;
}

.container {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

/* ==========================================================================
   Floating Glass Navbar
   ========================================================================== */

.navbar {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 24px;
  transition: transform 0.3s ease;
}

.nav-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  height: 58px;
  padding: 0 10px 0 18px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 12, 16, 0.72);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.navbar.scrolled .nav-inner {
  background: rgba(9, 10, 13, 0.88);
  border-color: rgba(255, 255, 255, 0.20);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: -0.15px;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-lg {
  height: 50px;
  padding: 0 24px;
  font-size: 15px;
}

.btn-full {
  width: 100%;
  height: 44px;
  font-size: 14px;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.16);
}

.btn-primary:hover {
  background: #f0f2f6;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(255, 255, 255, 0.24);
}

.btn-meta {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(8, 9, 12, 0.10);
  color: rgba(8, 9, 12, 0.78);
}

.btn-meta-glass {
  font-size: 11px;
  font-weight: 600;
  padding: 2.5px 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.30);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 148px 0 56px;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.80);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 26px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
}

.hero-title {
  margin: 0;
  font-size: clamp(44px, 7.2vw, 84px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--white);
}

.silver-text {
  background: linear-gradient(180deg, #ffffff 0%, #868b96 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  max-width: 630px;
  margin: 22px 0 0;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.6;
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-os-note {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hero-os-note:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.hero-os-note strong {
  color: var(--white);
  font-weight: 600;
}

.os-note-tag {
  margin-left: 4px;
  padding-left: 9px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

/* Service circular SVG badges */
.svc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.svc-badge.sm {
  width: 18px;
  height: 18px;
}

.svc-badge.xs {
  width: 14px;
  height: 14px;
}

.svc-badge svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section {
  padding: 96px 0;
  scroll-margin-top: 96px;
}

.preview-section {
  padding-top: 24px;
  scroll-margin-top: 92px;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-title {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-desc {
  margin: 16px 0 0;
  font-size: 17px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Interactive Live `volym` App Window Preview
   ========================================================================== */

.preview-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.preview-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.preview-hint strong {
  color: var(--white);
}

.hint-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

.theme-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  gap: 4px;
}

.theme-btn {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.theme-btn.active {
  background: var(--white);
  color: var(--black);
}

.app-stage {
  position: relative;
}

.app-window {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(11, 12, 16, 0.88);
  border: 1.2px solid rgba(255, 255, 255, 0.20);
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.80),
    0 0 80px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(36px) saturate(140%);
  -webkit-backdrop-filter: blur(36px) saturate(140%);
  transition: box-shadow 0.55s ease, border-color 0.55s ease;
}

.app-ambient-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.085) 0%, transparent 48%),
    radial-gradient(circle at 14% 80%, rgba(255, 255, 255, 0.045) 0%, transparent 50%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.055) 0%, transparent 35%);
  transition: background 0.6s ease;
}

.app-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 210px 1fr 274px;
  gap: 12px;
  padding: 12px 12px 2px;
  min-height: 610px;
}

/* Sidebar */
.app-sidebar {
  display: flex;
  flex-direction: column;
  padding: 8px 6px 6px 8px;
}

.traffic-lights {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  padding-left: 4px;
}

.tl {
  width: 11px;
  height: 11px;
  border-radius: 99px;
}

.tl-red { background: #ff5f57; }
.tl-yellow { background: #febc2e; }
.tl-green { background: #28c840; }

.app-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 8px 16px;
}

.app-brand img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.app-brand span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.sidebar-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.36);
  padding: 0 10px 7px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sidebar-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  border: 1px solid transparent;
  transition: all 0.18s ease;
  text-align: left;
}

.sidebar-item:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-item.active {
  color: var(--white);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.sidebar-item.active::before {
  content: "";
  position: absolute;
  left: 3px;
  width: 3px;
  height: 16px;
  border-radius: 99px;
  background: var(--white);
}

.s-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.sidebar-spacer {
  flex: 1;
  min-height: 20px;
}

.sidebar-platforms {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sp-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 8px;
  border-radius: 10px;
}

.sp-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sp-name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.sp-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.sp-dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.65);
}

/* Center Panel */
.app-center {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
  overflow: hidden;
}

.center-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.center-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.45px;
}

.center-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.app-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 99px;
  background: var(--white);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.16);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.app-cta-pill:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.app-cache-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--white);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: all 0.18s ease;
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
}

.filter-pill.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  font-weight: 600;
}

/* Quick Picks Grid */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.quick-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px 6px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  min-width: 0;
  transition: all 0.18s ease;
}

.quick-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.quick-card.playing {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.36);
}

.quick-card img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

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

.qc-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qc-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-secondary);
}

.qc-sub span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Spotlight Card */
.spotlight-card {
  border-radius: 18px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.04) 60%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.spotlight-card img {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.spot-meta {
  flex: 1;
  min-width: 0;
}

.spot-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.68);
}

.spot-title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spot-artist {
  font-size: 13px;
  color: var(--text-secondary);
}

.spot-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.spot-btn-ghost {
  padding: 6px 13px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
}

.spot-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Discovery Shelf */
.shelf-head {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.shelf-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.shelf-card {
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  transition: all 0.18s ease;
}

.shelf-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.shelf-card.playing {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.shelf-cover-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: 11px;
  overflow: hidden;
}

.shelf-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shelf-svc {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.65);
}

.shelf-title {
  margin-top: 7px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shelf-artist {
  font-size: 10.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Playlists Grid & Track Rows */
.playlist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.playlist-grid.large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pl-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  text-align: left;
  transition: all 0.18s ease;
}

.pl-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.pl-card-cover {
  position: relative;
  flex-shrink: 0;
}

.pl-card-cover img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.playlist-grid.large .pl-card-cover img {
  width: 68px;
  height: 68px;
  border-radius: 13px;
}

.pl-card-badge {
  position: absolute;
  bottom: -3px;
  right: -3px;
  padding: 1.5px;
  border-radius: 99px;
  background: #0b0c10;
}

.pl-card-name {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-grid.large .pl-card-name {
  font-size: 15px;
}

.pl-card-count {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Track List Rows */
.track-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.track-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  width: 100%;
  transition: all 0.16s ease;
}

.track-row:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.18);
}

.track-row.playing {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.30);
}

.track-row img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}

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

.tr-title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tr-artist {
  font-size: 11.5px;
  color: var(--text-muted);
}

.tr-dur {
  width: 38px;
  text-align: right;
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* Search Input inside Live Preview */
.search-bar-box {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.search-bar-box svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.72);
  flex-shrink: 0;
}

.search-bar-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
}

.search-bar-box input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

/* Animated Equalizer Bars */
.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  flex-shrink: 0;
}

.eq-bars i {
  display: block;
  width: 2.5px;
  border-radius: 2px;
  background: var(--white);
  animation: eqBounce 0.9s ease-in-out infinite;
}

.eq-bars i:nth-child(1) { height: 7px; animation-delay: 0s; }
.eq-bars i:nth-child(2) { height: 12px; animation-delay: 0.2s; }
.eq-bars i:nth-child(3) { height: 8px; animation-delay: 0.4s; }

.eq-bars.paused i {
  animation-play-state: paused;
  height: 4px !important;
}

@keyframes eqBounce {
  0%, 100% { height: 4px; }
  50% { height: 12px; }
}

/* Right Sidebar (Now Playing) */
.app-right {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.np-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--text-muted);
}

.np-cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 17px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.60);
}

.np-title {
  font-size: 15.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-artist {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.np-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.np-queue {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.np-q-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.028);
  text-align: left;
  transition: background 0.15s ease;
}

.np-q-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.np-q-item img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
}

.np-q-meta {
  flex: 1;
  min-width: 0;
}

.np-q-title {
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-q-artist {
  font-size: 10px;
  color: var(--text-muted);
}

/* Bottom Floating PlayerBar */
.app-player-wrap {
  position: relative;
  z-index: 3;
  padding: 10px 12px 12px;
}

.app-player {
  height: 70px;
  border-radius: 22px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 240px 1fr 220px;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.19);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 28px rgba(0, 0, 0, 0.45);
}

.pl-track {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.pl-track img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.pl-meta {
  min-width: 0;
}

.pl-title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pl-artist {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-secondary);
}

.pl-controls-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.pl-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pl-icon-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s ease, transform 0.15s ease;
}

.pl-icon-btn:hover,
.pl-icon-btn.active {
  color: var(--white);
}

.pl-icon-btn svg {
  width: 15px;
  height: 15px;
}

.pl-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 99px;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.22);
  transition: transform 0.15s ease;
}

.pl-play-btn:hover {
  transform: scale(1.06);
}

.pl-play-btn svg {
  width: 15px;
  height: 15px;
}

.pl-scrubber-row {
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.pl-time {
  font-size: 10.5px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  width: 30px;
}

.pl-time:first-child {
  text-align: right;
}

.pl-scrubber {
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pl-scrubber-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
  transition: width 0.12s linear;
}

.pl-volume-wrap {
  display: flex;
  justify-content: flex-end;
}

.pl-volume-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.vol-icon {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.pl-volume-pill input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 78px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  outline: none;
  cursor: pointer;
}

.pl-volume-pill input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.vol-pct {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
  width: 30px;
  text-align: right;
}

/* ==========================================================================
   Promo Film Showcase — Custom Embedded Soft-Corner Glass Player
   ========================================================================== */

.film-shell {
  padding: 10px;
  border-radius: 40px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.025) 60%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 40px 110px rgba(0, 0, 0, 0.80),
    0 0 90px rgba(255, 255, 255, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.film-frame {
  position: relative;
  border-radius: 31px;
  overflow: hidden;
  background: #050507;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  isolation: isolate;
}

.film-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 31px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 4;
}

.film-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.film-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: radial-gradient(circle at center, rgba(6, 7, 10, 0.26), rgba(4, 4, 6, 0.68));
  transition: opacity 0.32s ease;
}

.film-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.film-play-circle {
  width: 78px;
  height: 78px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 40px rgba(255, 255, 255, 0.24);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.film-overlay:hover .film-play-circle {
  transform: scale(1.08);
}

.film-overlay-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.film-overlay-label strong {
  font-size: 16px;
  font-weight: 600;
}

.film-overlay-label span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.66);
}

/* Custom Floating Obsidian Glass Controls Bar */
.vp-controls {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  height: 54px;
  padding: 0 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(11, 12, 16, 0.78);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.20);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  cursor: default;
}

.film-frame.started:hover .vp-controls,
.film-frame.started.controls-visible .vp-controls,
.film-frame.started.paused .vp-controls {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.vp-play-toggle {
  width: 34px;
  height: 34px;
  border-radius: 99px;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.16s ease;
}

.vp-play-toggle:hover {
  transform: scale(1.06);
}

.vp-play-toggle svg {
  width: 14px;
  height: 14px;
}

.vp-time {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.76);
  font-variant-numeric: tabular-nums;
  min-width: 32px;
  text-align: center;
  user-select: none;
}

.vp-scrubber {
  flex: 1;
  height: 24px;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.vp-scrubber-track {
  width: 100%;
  height: 4.5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.20);
  overflow: hidden;
  transition: height 0.15s ease;
}

.vp-scrubber:hover .vp-scrubber-track {
  height: 6px;
}

.vp-scrubber-fill {
  width: 0%;
  height: 100%;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}

.vp-scrubber-thumb {
  position: absolute;
  left: 0%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease;
  pointer-events: none;
}

.vp-scrubber:hover .vp-scrubber-thumb {
  transform: translate(-50%, -50%) scale(1);
}

.vp-vol-group {
  display: flex;
  align-items: center;
  gap: 7px;
}

.vp-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  transition: background 0.16s ease, color 0.16s ease;
  flex-shrink: 0;
}

.vp-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.vp-icon-btn svg {
  width: 16px;
  height: 16px;
}

.vp-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 68px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  outline: none;
  cursor: pointer;
}

.vp-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

@media (max-width: 640px) {
  .film-shell {
    padding: 6px;
    border-radius: 26px;
  }
  .film-frame,
  .film-frame::after {
    border-radius: 20px;
  }
  .vp-vol-slider {
    display: none;
  }
  .vp-controls {
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 46px;
    padding: 0 10px;
    gap: 8px;
  }
}

/* ==========================================================================
   Bento Features Grid
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.09),
    transparent 55%
  );
  transition: opacity 0.25s ease;
}

.bento-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-wide {
  grid-column: span 2;
}

.bento-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 16px;
}

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 18px;
}

.bento-icon svg {
  width: 19px;
  height: 19px;
}

.bento-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.bento-wide h3 {
  font-size: 22px;
}

.bento-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.mini-visual {
  margin-top: 22px;
}

.mini-home {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mh-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 7px 7px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.mh-card img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.mh-card div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mh-card strong {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mh-card span {
  font-size: 10.5px;
  color: var(--text-muted);
}

.mini-sync {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ms-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
}

.ms-pill.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ==========================================================================
   Architecture Stats & Comparison
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.stat-card {
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.stat-value {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #9ca2ae 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
}

.stat-sub {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.compare-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.compare-col {
  padding: 30px 32px;
}

.compare-old {
  background: rgba(255, 255, 255, 0.015);
  border-right: 1px solid var(--border);
}

.compare-new {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.025) 100%);
}

.compare-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
}

.compare-head img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.compare-col li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.compare-new li {
  color: rgba(255, 255, 255, 0.90);
}

.cmp-x {
  color: rgba(255, 255, 255, 0.34);
  font-weight: 700;
}

.cmp-check {
  color: var(--white);
  font-weight: 700;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0 22px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.22);
}

.faq-item summary {
  list-style: none;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--white);
}

.faq-item p {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ==========================================================================
   Final CTA & App Squircle
   ========================================================================== */

.final-cta-section {
  padding-bottom: 112px;
}

.final-cta-card {
  text-align: center;
  padding: 72px 32px;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.025) 55%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 32px 90px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-squircle {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: linear-gradient(160deg, #17181e 0%, #070709 62%, #0e0f14 100%);
  border: 1.2px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 26px;
}

.app-squircle.sm {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.app-squircle img {
  width: 56%;
  height: 56%;
  object-fit: contain;
}

.squircle-shine {
  position: absolute;
  top: -40%;
  left: -120%;
  width: 60%;
  height: 180%;
  transform: rotate(25deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  animation: squircleSweep 5s ease-in-out infinite;
}

@keyframes squircleSweep {
  0%, 55% { left: -120%; }
  100% { left: 160%; }
}

.final-cta-card h2 {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.final-cta-card p {
  margin: 16px 0 0;
  max-width: 480px;
  font-size: 16.5px;
  color: var(--text-secondary);
}

.final-cta-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.final-meta {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 36px 0 48px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 700;
}

.footer-brand img {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   Download Modal
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  width: min(580px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 26px;
  padding: 28px;
  background: rgba(14, 15, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 99px;
  font-size: 20px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.modal-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.modal-head h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}

.modal-head p {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-box {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.modal-box-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 650;
  margin-bottom: 6px;
}

.modal-os-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tag-mono {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.84);
}

.tag-ready {
  background: var(--white);
  color: var(--black);
}

.modal-box-win.highlight {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.075);
}

.notify-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notify-row input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.50);
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  outline: none;
}

.notify-row input:focus {
  border-color: rgba(255, 255, 255, 0.42);
}

.notify-row input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.modal-box p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.code-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.code-row code {
  flex: 1;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.92);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.code-row code::-webkit-scrollbar {
  display: none;
}

.copy-btn {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  font-size: 12px;
  font-weight: 650;
  flex-shrink: 0;
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1060px) {
  .app-body {
    grid-template-columns: 195px 1fr;
  }
  .app-right {
    display: none;
  }
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .app-body {
    grid-template-columns: 1fr;
    min-height: 520px;
  }
  .app-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px;
  }
  .traffic-lights,
  .sidebar-label,
  .sidebar-spacer,
  .sidebar-platforms {
    display: none;
  }
  .app-brand {
    padding: 0 10px 0 4px;
  }
  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-item.active::before {
    display: none;
  }
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shelf-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .playlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .app-player {
    height: auto;
    padding: 12px 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pl-volume-wrap {
    display: none;
  }
  .compare-card {
    grid-template-columns: 1fr;
  }
  .compare-old {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 28px);
  }
  .bento-grid,
  .stats-grid,
  .mini-home,
  .quick-grid,
  .playlist-grid.large {
    grid-template-columns: 1fr;
  }
  .bento-wide {
    grid-column: span 1;
  }
  .shelf-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spotlight-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
