/* Yimba Music — blush pink & smoke grey design system */
:root {
  /* Yimba Music palette: smoke grey + grey + blush pink */
  --bg: #45474D;          /* smoke grey (page), lifted for a brighter feel */
  --bg-2: #34363A;        /* input fields */
  --surface: #51535A;     /* smoke grey panels */
  --surface-2: #5D5F67;   /* cards, hover */
  --sun: #FFCFB3;         /* warm peach glow for a happy, sunny feel */
  --lilac: #D9C2F0;       /* soft lilac sparkle */
  --surface-3: #616369;   /* placeholders */
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .24);
  --accent: #E8A9B9;      /* blush pink */
  --accent-hi: #F2C4CF;   /* lighter blush for text on dark */
  --accent-lo: #C77D92;
  --accent-grad: linear-gradient(135deg, #F6D0D9 0%, #E8A9B9 50%, #D48A9F 100%);
  --text: #F2F2F4;        /* light grey text */
  --muted: #BEC0C6;
  --dim: #9A9DA3;
  --danger: #F07067;
  --ok: #5FCF8E;
  --on-accent: #2A2B2F;   /* dark text on blush buttons */
  --radius: 14px;
  --serif: 'Fraunces', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --player-h: 92px;
  --sidebar-w: 260px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--text); }
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #6E7076; border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: #80838A; background-clip: padding-box; border: 2px solid transparent; }
.accent-text { background: linear-gradient(135deg, #F8DDE4 0%, #F2C4CF 45%, #E8A9B9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.serif { font-family: var(--serif); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.hidden { display: none !important; }
svg.i { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- layout ---------- */
.app { display: grid; grid-template-columns: var(--sidebar-w) 1fr; grid-template-rows: 1fr var(--player-h); height: 100vh; height: 100dvh; gap: 8px; padding: 8px; }
.sidebar { grid-row: 1; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.panel { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 20px 10px; }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: .3px; line-height: 1; }
.brand-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-row { display: flex; align-items: baseline; gap: 8px; }
.brand-sub { font-weight: 800; letter-spacing: 3px; font-size: 11px; color: var(--accent); }
.brand-tag { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--muted); letter-spacing: .2px; }
.nav { padding: 6px 10px 12px; }
.nav a { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 10px; color: var(--muted); font-weight: 700; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--accent-hi); background: rgba(232, 169, 185, .08); }
.nav a svg.i { width: 24px; height: 24px; }
.library { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.library-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 8px 20px; color: var(--muted); font-weight: 700; }
.library-list { overflow: auto; padding: 0 8px 12px; }
.lib-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; cursor: pointer; }
.lib-item:hover { background: var(--surface-2); }
.lib-item img, .lib-item .ph { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex: none; background: var(--surface-3); display: grid; place-items: center; }
.lib-item.round img { border-radius: 50%; }
.lib-item .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-item .s { font-size: 13px; color: var(--muted); }
.liked-ph { background: var(--accent-grad) !important; color: var(--on-accent); }

.main { grid-row: 1; min-height: 0; overflow: auto; position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.main-inner { padding: 0 28px 40px; }
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 14px 28px; background: rgba(74, 76, 82, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.topbar .grow { flex: 1; }
.top-brand { display: none; align-items: center; gap: 8px; }
.top-brand .brand-mark { width: 30px; height: 30px; }
.top-brand-name { font-family: var(--serif); font-weight: 700; font-size: 21px; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.circle-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--text); }
.circle-btn:hover { background: rgba(255,255,255,.15); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; font-weight: 800; font-size: 14px; letter-spacing: .2px; transition: transform .12s, filter .12s; white-space: nowrap; }
.pill:hover { transform: scale(1.03); }
.pill.accent { background: var(--accent-grad); color: var(--on-accent); box-shadow: 0 6px 20px rgba(232, 169, 185, .25); }
.pill.dark { background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); }
.pill.ghost { border: 1px solid var(--line-strong); color: var(--accent-hi); }
.pill.sm { padding: 6px 14px; font-size: 13px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-grad); color: var(--on-accent); font-weight: 800; display: grid; place-items: center; border: 3px solid var(--surface); }
.premium-badge { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent-hi); }

.search-box { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; width: min(420px, 100%); }
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 169, 185,.15); }
.search-box input { background: none; border: 0; outline: 0; flex: 1; font-size: 15px; }

/* ---------- content ---------- */
h1.greet { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); margin: 18px 0 20px; font-weight: 700; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; margin-bottom: 34px; }
.quick { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; position: relative; transition: background .15s; }
.quick:hover { background: rgba(232, 169, 185,.1); }
.quick img, .quick .ph { width: 64px; height: 64px; object-fit: cover; flex: none; }
.quick .t { font-weight: 700; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick .play-fab { position: static; opacity: 0; transform: none; width: 40px; height: 40px; margin-right: 12px; }
.quick:hover .play-fab { opacity: 1; }

.shelf { margin: 0 0 36px; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.shelf-head h2 { font-family: var(--serif); font-size: 24px; margin: 0; font-weight: 700; }
.shelf-head a { color: var(--muted); font-weight: 700; font-size: 13px; letter-spacing: .4px; }
.shelf-head a:hover { color: var(--accent-hi); }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.card { background: transparent; padding: 12px; border-radius: 12px; cursor: pointer; transition: background .2s; position: relative; scroll-snap-align: start; min-width: 0; }
.card:hover { background: var(--surface-2); }
.card .art { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--surface-3); box-shadow: 0 10px 30px rgba(0,0,0,.45); margin-bottom: 12px; }
.card .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card.round .art { border-radius: 50%; }
.card .t { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .s { color: var(--muted); font-size: 13px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.play-fab { position: absolute; right: 10px; bottom: 10px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-grad); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.45); opacity: 0; transform: translateY(8px); transition: all .2s; }
.play-fab svg.i { width: 22px; height: 22px; }
.card:hover .play-fab { opacity: 1; transform: none; }
.play-fab:hover { transform: scale(1.06) !important; }

.ad-banner { display: flex; align-items: center; gap: 18px; padding: 14px; border-radius: 14px; border: 1px solid var(--line-strong); background: linear-gradient(90deg, rgba(232, 169, 185,.12), rgba(232, 169, 185,.02)); margin-bottom: 34px; cursor: pointer; }
.ad-banner img { width: 88px; height: 88px; border-radius: 10px; object-fit: cover; }
.ad-banner .lbl { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); font-weight: 800; }
.ad-banner .t { font-family: var(--serif); font-size: 20px; font-weight: 700; margin: 4px 0; }

/* detail header */
.hero { display: flex; align-items: flex-end; gap: 28px; padding: 28px 0 26px; margin: 0 -28px; padding-left: 28px; padding-right: 28px; background: linear-gradient(180deg, rgba(232, 169, 185,.22), rgba(232, 169, 185,0) 100%); }
.hero .art { width: 232px; height: 232px; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.45); flex: none; background: var(--surface-3); }
.hero .art img { width: 100%; height: 100%; object-fit: cover; }
.hero.round .art { border-radius: 50%; }
.hero .type { font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent-hi); display: flex; align-items: center; gap: 8px; }
.hero h1 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 52px); line-height: 1.06; margin: 10px 0 14px; font-weight: 800; word-break: break-word; }
.hero .meta { color: var(--muted); font-size: 14px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.hero .meta b { color: var(--text); }
.hero .desc { color: var(--muted); margin: 0 0 10px; max-width: 70ch; }
.actions { display: flex; align-items: center; gap: 22px; padding: 22px 0; }
.big-play { width: 58px; height: 58px; border-radius: 50%; background: var(--accent-grad); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(232, 169, 185,.3); transition: transform .12s; }
.big-play:hover { transform: scale(1.05); }
.big-play svg.i { width: 26px; height: 26px; }
.icon-btn { color: var(--muted); display: grid; place-items: center; padding: 6px; border-radius: 8px; transition: color .15s; }
.icon-btn:hover { color: var(--text); }
.icon-btn.on { color: var(--accent); }
.icon-btn svg.i { width: 26px; height: 26px; }
.verified { color: var(--accent); display: inline-flex; }

/* track list */
.tracks { width: 100%; border-collapse: collapse; }
.tracks th { text-align: left; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--dim); font-weight: 700; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.tracks td { padding: 8px 12px; color: var(--muted); font-size: 14px; }
.tracks tr.tr { cursor: pointer; }
.tracks tr.tr td:first-child { border-radius: 8px 0 0 8px; width: 44px; text-align: center; }
.tracks tr.tr td:last-child { border-radius: 0 8px 8px 0; text-align: right; white-space: nowrap; }
.tracks tr.tr:hover td { background: rgba(255,255,255,.05); }
.tracks tr.tr.playing .tt { color: var(--accent-hi); }
.tracks .ti { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tracks .ti img { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; }
.tracks .tt { color: var(--text); font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tracks .ta { font-size: 13px; }
.tracks .ta a:hover { color: var(--text); text-decoration: underline; }
.tracks .row-act { opacity: 0; }
.tracks tr.tr:hover .row-act, .tracks .row-act.on { opacity: 1; }
.eq { display: inline-flex; gap: 2px; height: 14px; align-items: flex-end; }
.eq i { width: 3px; background: var(--accent); animation: eq 1s infinite ease-in-out; }
.eq i:nth-child(2) { animation-delay: .2s; } .eq i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%,100% { height: 3px; } 50% { height: 14px; } }
.paused .eq i { animation-play-state: paused; }

.episode { display: flex; gap: 18px; padding: 18px 12px; border-bottom: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.episode:hover { background: rgba(255,255,255,.04); }
.episode img { width: 112px; height: 112px; border-radius: 10px; object-fit: cover; flex: none; }
.episode h3 { margin: 0 0 6px; font-size: 17px; }
.episode p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.tag { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--surface-3); color: var(--accent-hi); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 22px; }
.chip { padding: 8px 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 700; font-size: 14px; cursor: pointer; }
.chip:hover, .chip.on { background: var(--accent-grad); color: var(--on-accent); }
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.genre { aspect-ratio: 16/10; border-radius: 12px; padding: 16px; font-family: var(--serif); font-size: 22px; font-weight: 700; cursor: pointer; position: relative; overflow: hidden; border: 1px solid var(--line-strong); background: radial-gradient(circle at 85% 90%, rgba(232, 169, 185,.5), transparent 55%), var(--surface-2); }
.genre:hover { border-color: var(--accent); }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty h3 { font-family: var(--serif); color: var(--text); font-size: 24px; margin: 0 0 8px; }

/* ---------- player ---------- */
.player { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(180px, 1fr) minmax(320px, 2fr) minmax(180px, 1fr); align-items: center; gap: 16px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.np { display: flex; align-items: center; gap: 14px; min-width: 0; }
.np img { width: 58px; height: 58px; border-radius: 8px; object-fit: cover; background: var(--surface-3); flex: none; cursor: pointer; }
.np .t { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np .s { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np .s a:hover { color: var(--text); text-decoration: underline; }
.controls { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ctrl-row { display: flex; align-items: center; gap: 20px; }
.ctrl { color: var(--muted); display: grid; place-items: center; position: relative; }
.ctrl:hover { color: var(--text); }
.ctrl.on { color: var(--accent); }
.ctrl.on::after { content: ''; position: absolute; bottom: -6px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.ctrl:disabled { opacity: .3; cursor: not-allowed; }
.ctrl-main { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-grad); color: var(--on-accent); display: grid; place-items: center; transition: transform .1s; }
.ctrl-main:hover { transform: scale(1.06); }
.progress { display: flex; align-items: center; gap: 10px; width: 100%; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { flex: 1; height: 4px; border-radius: 4px; background: #6E7076; position: relative; cursor: pointer; }
.bar .fill { position: absolute; inset: 0 auto 0 0; background: var(--text); border-radius: 4px; }
.bar:hover .fill { background: var(--accent); }
.bar .knob { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent-hi); opacity: 0; }
.bar:hover .knob { opacity: 1; }
.bar.ad .fill { background: var(--accent) !important; }
.right-ctrls { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.quality { font-size: 10px; font-weight: 800; letter-spacing: 1.2px; padding: 3px 7px; border-radius: 5px; border: 1px solid var(--line-strong); color: var(--muted); }
.quality.hq { color: var(--on-accent); background: var(--accent-grad); border-color: transparent; }
.vol { width: 100px; }
.ad-tag { font-size: 10px; font-weight: 800; letter-spacing: 1.4px; color: var(--on-accent); background: var(--accent-grad); padding: 2px 7px; border-radius: 4px; margin-right: 6px; }

/* now playing / video panel */
.nowplaying { position: fixed; right: 16px; bottom: calc(var(--player-h) + 16px); width: 380px; max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; padding: 14px; z-index: 30; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.nowplaying .np-art { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-3); }
.nowplaying .np-art.video { aspect-ratio: 16/9; }
.nowplaying .np-art img, .nowplaying video { width: 100%; height: 100%; object-fit: cover; display: block; }
.nowplaying video { object-fit: contain; background: #34363A; }
.nowplaying h3 { font-family: var(--serif); margin: 14px 4px 2px; font-size: 22px; }
.nowplaying .s { margin: 0 4px 10px; color: var(--muted); }
.queue-list { max-height: 34vh; overflow: auto; margin-top: 8px; }
.queue-list .lib-item.cur .t { color: var(--accent-hi); }
#media { display: none; }
#media.show { display: block; }

/* ad overlay */
.ad-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.65); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.ad-card { width: min(420px, 100%); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.ad-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.ad-card .body { padding: 18px 22px 22px; }
.ad-card .lbl { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); font-weight: 800; }
.ad-card h3 { font-family: var(--serif); font-size: 22px; margin: 6px 0 4px; }
.ad-card .count { font-variant-numeric: tabular-nums; color: var(--muted); margin: 10px 0 16px; font-size: 14px; }
.ad-card .row-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* modal & forms */
.modal-back { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.65); display: grid; place-items: center; padding: 20px; }
.modal { width: min(460px, 100%); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.45); max-height: 90vh; overflow: auto; }
.modal h3 { font-family: var(--serif); font-size: 24px; margin: 0 0 6px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.input { background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; outline: 0; width: 100%; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 169, 185,.15); }
.err { color: var(--danger); font-size: 14px; min-height: 18px; }

/* auth */
.auth-wrap { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: radial-gradient(1200px 600px at 80% -10%, rgba(232, 169, 185,.22), transparent 60%), radial-gradient(800px 500px at -10% 110%, rgba(232, 169, 185,.12), transparent 60%), var(--bg); overflow: auto; }
.auth-card { width: min(420px, 100%); padding: 34px 30px; background: rgba(74, 76, 82,.96); border: 1px solid var(--line-strong); border-radius: 22px; box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.auth-card .brand { justify-content: center; padding: 0 0 6px; }
.auth-card .brand-name { font-size: 34px; }
.auth-card .brand-mark { width: 44px; height: 44px; }
.auth-card .tag-line { text-align: center; color: var(--muted); margin: 0 0 24px; }
.auth-card .pill { width: 100%; justify-content: center; padding: 14px; font-size: 15px; margin-top: 6px; }
.switch { text-align: center; color: var(--muted); margin-top: 18px; font-size: 14px; }
.switch a { color: var(--accent-hi); font-weight: 700; }
.demo-hint { margin-top: 18px; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 10px; font-size: 13px; color: var(--muted); }

/* premium page */
.prem-hero { margin: 0 -28px; padding: 54px 28px 40px; text-align: center; background: radial-gradient(900px 380px at 50% -20%, rgba(232, 169, 185,.35), transparent 70%); }
.prem-hero h1 { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 48px); margin: 10px 0 12px; line-height: 1.05; }
.prem-hero p { color: var(--muted); font-size: 18px; margin: 0 auto 8px; max-width: 56ch; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin: 10px 0 40px; }
.plan { position: relative; padding: 24px 22px; border-radius: 18px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 10px; }
.plan.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(232, 169, 185,.12); }
.plan .ribbon { position: absolute; top: -12px; left: 22px; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; background: var(--accent-grad); color: var(--on-accent); padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-family: var(--serif); font-size: 26px; margin: 4px 0 0; }
.plan .price { font-size: 26px; font-weight: 800; white-space: nowrap; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 10px; color: var(--muted); font-size: 14px; display: grid; gap: 8px; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li svg.i { color: var(--accent); width: 18px; height: 18px; margin-top: 1px; }
.plan .pill { justify-content: center; }
.compare { width: 100%; border-collapse: collapse; margin: 10px 0 40px; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare th { font-family: var(--serif); font-size: 18px; }
.compare td svg.i { color: var(--accent); }
.compare td.no { color: var(--dim); }
.notice { padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(232, 169, 185,.08); margin: 18px 0; display: flex; gap: 12px; align-items: center; }
.notice.ok { border-color: rgba(95,207,142,.4); background: rgba(95,207,142,.08); }
.notice.bad { border-color: rgba(240,112,103,.4); background: rgba(240,112,103,.08); }
.box { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); margin-bottom: 18px; }
.box h3 { font-family: var(--serif); margin: 0 0 10px; font-size: 22px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; font-size: 14px; }
.kv div:nth-child(odd) { color: var(--muted); }
.list-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.list-table th, .list-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.list-table th { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.status { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; text-transform: capitalize; }
.status.successful, .status.active { background: rgba(95,207,142,.15); color: var(--ok); }
.status.pending { background: rgba(232, 169, 185,.15); color: var(--accent-hi); }
.status.failed, .status.cancelled, .status.suspended { background: rgba(240,112,103,.15); color: var(--danger); }

/* menus & toasts */
.menu { position: fixed; z-index: 80; min-width: 210px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 12px; padding: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.menu button { display: flex; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; gap: 10px; align-items: center; font-size: 14px; }
.menu button:hover { background: var(--surface-3); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.toasts { position: fixed; left: 50%; bottom: calc(var(--player-h) + 24px); transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.45); animation: up .25s ease; pointer-events: auto; max-width: 90vw; }
.toast.accent { background: var(--accent-grad); }
@keyframes up { from { transform: translateY(10px); opacity: 0; } }

.mobile-nav { display: none; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--surface-3); border-top-color: var(--accent); animation: spin .8s linear infinite; margin: 80px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- responsive (mobile) ---------- */
@media (max-width: 860px) {
  :root { --player-h: 64px; }
  body { overflow: hidden; }
  .app { grid-template-columns: 1fr; grid-template-rows: 1fr auto auto; padding: 0; gap: 0; }
  .sidebar { display: none; }
  .main { border-radius: 0; border: 0; grid-row: 1; }
  .main-inner { padding: 0 16px 30px; }
  .topbar { padding: 12px 16px; }
  .topbar .tb-fwd { display: none; }
  .topbar.is-home .tb-back { display: none; }
  .topbar:not(.has-extra) .top-brand { display: flex; }
  .topbar .pill.sm { padding: 8px 14px; font-size: 13px; }
  .chip-glow { font-size: 13px; padding: 7px 12px; }
  .hero { flex-direction: column; align-items: flex-start; margin: 0 -16px; padding: 18px 16px; }
  .hero .art { width: 180px; height: 180px; align-self: center; }
  .prem-hero { margin: 0 -16px; padding: 36px 18px 28px; }
  .prem-hero p { font-size: 15px; }
  .player { grid-row: 2; grid-template-columns: 1fr auto; border-radius: 10px; margin: 0 8px 6px; padding: 6px 10px; background: var(--surface-2); position: relative; height: var(--player-h); }
  .player .controls .progress { position: absolute; left: 10px; right: 10px; bottom: 0; }
  .player .controls .progress span { display: none; }
  .player .controls .bar { height: 2px; }
  .player .ctrl-row .ctrl:not(.keep) { display: none; }
  .player .right-ctrls { display: none; }
  .np img { width: 44px; height: 44px; }
  .ctrl-main { width: 36px; height: 36px; }
  .mobile-nav { display: grid; grid-row: 3; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
  .mobile-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); font-weight: 700; padding: 4px; }
  .mobile-nav a.active { color: var(--accent-hi); }
  .mobile-nav svg.i { width: 24px; height: 24px; }
  .tracks .col-album, .tracks th.col-album { display: none; }
  .tracks td, .tracks th { padding: 8px 6px; }
  .tracks .row-act { opacity: 1; }
  .nowplaying { left: 8px; right: 8px; width: auto; bottom: calc(var(--player-h) + 70px); }
  .toasts { bottom: 150px; }
  .kv { grid-template-columns: 1fr; }
  .row { grid-auto-columns: 42%; }
  .quick-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .quick img, .quick .ph { width: 52px; height: 52px; }
  .quick .t { font-size: 13px; }
  .quick .play-fab { display: none; }
}

/* ---------- artist studio ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi { padding: 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.kpi .l { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.kpi .v { font-size: 28px; font-weight: 800; margin-top: 8px; font-variant-numeric: tabular-nums; }
.kpi .h { font-size: 12px; color: var(--dim); margin-top: 4px; }
.kpi.accent { background: linear-gradient(135deg, rgba(232, 169, 185,.22), rgba(232, 169, 185,.05)); border-color: var(--line-strong); }
.studio-head { display: flex; align-items: center; gap: 18px; margin: 22px 0 8px; flex-wrap: wrap; }
.studio-head img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); background: var(--surface-3); }
.studio-head .ph { width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; font-family: var(--serif); font-size: 34px; color: var(--accent-hi); background: var(--surface-2); }
.studio-head h1 { font-family: var(--serif); font-size: clamp(26px, 3vw, 32px); margin: 0; }
.rel { display: flex; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); margin-bottom: 12px; align-items: flex-start; }
.rel img { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; flex: none; background: var(--surface-3); }
.rel h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 20px; }
.status.live, .status.approved { background: rgba(95,207,142,.15); color: var(--ok); }
.status.scheduled { background: rgba(232, 169, 185,.16); color: var(--accent-hi); }
.status.rejected { background: rgba(240,112,103,.15); color: var(--danger); }
.trk { display: grid; grid-template-columns: 28px 1fr auto auto auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: var(--bg-2); }
.trk .n { color: var(--dim); text-align: center; }
.trk input[type=text] { background: none; border: 0; border-bottom: 1px dashed var(--line-strong); padding: 6px 2px; outline: 0; width: 100%; }
.trk .meta { font-size: 12px; color: var(--muted); white-space: nowrap; }
.prog { height: 4px; background: #6E7076; border-radius: 4px; overflow: hidden; margin-top: 4px; }
.prog i { display: block; height: 100%; background: var(--accent-grad); width: 0; transition: width .2s; }
.cover-drop { width: 180px; aspect-ratio: 1; border-radius: 12px; border: 2px dashed var(--line-strong); display: grid; place-items: center; text-align: center; color: var(--muted); cursor: pointer; overflow: hidden; position: relative; background: var(--bg-2); }
.cover-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-drop:hover { border-color: var(--accent); }
.rights { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(232, 169, 185,.06); font-size: 14px; }
.rights input, .chk { accent-color: var(--accent); width: 18px; height: 18px; flex: none; margin-top: 1px; }
.bars svg { width: 100%; height: 150px; display: block; }
.badge-dot { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent-grad); color: var(--on-accent); font-size: 11px; font-weight: 800; margin-left: 6px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 860px) { .form-2 { grid-template-columns: 1fr; } .trk { grid-template-columns: 22px 1fr auto; } .trk .meta { display: none; } }

/* =====================================================================
   Shine & motion layer: glow, sheen, shimmer and entrance animations
   ===================================================================== */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* soft blush light inside the main panel */
.main { background: radial-gradient(900px 380px at 15% -8%, rgba(232, 169, 185, .16), transparent 62%), radial-gradient(700px 300px at 95% 0%, rgba(232, 169, 185, .08), transparent 60%), var(--surface); }
.sidebar .panel { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 40%), var(--surface); }

/* shimmering headline text */
.shimmer { background: linear-gradient(100deg, #E8A9B9 0%, #F8DDE4 18%, #FFFFFF 26%, #F2C4CF 34%, #D48A9F 55%, #F2C4CF 75%, #E8A9B9 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* light sweep across primary buttons */
.pill.accent { position: relative; overflow: hidden; isolation: isolate; box-shadow: 0 8px 24px rgba(232, 169, 185, .35), inset 0 1px 0 rgba(255,255,255,.45); }
.pill.accent::after { content: ''; position: absolute; inset: -20% auto -20% -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-20deg); opacity: 0; z-index: -1; pointer-events: none; }
.pill.accent:hover::after { animation: sheen .8s ease; }
.pill.accent.shine-loop::after { animation: sheen 1s ease 1.2s, sheen 1s ease 5s infinite; }
@keyframes sheen { 0% { left: -60%; opacity: 0; } 15% { opacity: 1; } 100% { left: 130%; opacity: 0; } }
.pill.accent:hover { box-shadow: 0 10px 34px rgba(232, 169, 185, .55), inset 0 1px 0 rgba(255,255,255,.5); }

/* cards lift, zoom and glow */
.card { transition: background .25s, transform .3s cubic-bezier(.2,.8,.2,1); }
.card:hover { transform: translateY(-6px); }
.card .art { transition: box-shadow .3s; }
.card .art img { transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .4s; }
.card:hover .art { box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(232,169,185,.35), 0 0 34px rgba(232,169,185,.28); }
.card:hover .art img { transform: scale(1.07); filter: saturate(1.15) brightness(1.05); }
.quick { transition: background .2s, transform .25s, box-shadow .25s, border-color .25s; }
.quick:hover { transform: translateY(-2px); border-color: rgba(232,169,185,.45); box-shadow: 0 10px 28px rgba(0,0,0,.3), 0 0 24px rgba(232,169,185,.18); }

/* glowing play buttons */
.play-fab, .big-play { box-shadow: 0 8px 26px rgba(232,169,185,.45), inset 0 1px 0 rgba(255,255,255,.5); }
.big-play { position: relative; }
.big-play::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(232,169,185,.55); opacity: 0; transform: scale(.85); }
.big-play:hover::before { animation: ring 1.2s ease-out infinite; }
@keyframes ring { 0% { opacity: .9; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }

/* player comes alive while music plays */
.player { position: relative; overflow: hidden; }
.player::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 120px at 50% 120%, rgba(232,169,185,.22), transparent 70%); opacity: 0; transition: opacity .6s; pointer-events: none; }
.player.is-playing::before { opacity: 1; animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
.player.is-playing .ctrl-main { box-shadow: 0 0 0 0 rgba(232,169,185,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232,169,185,.55); } 70% { box-shadow: 0 0 0 14px rgba(232,169,185,0); } 100% { box-shadow: 0 0 0 0 rgba(232,169,185,0); } }
.player.is-playing .np img { box-shadow: 0 0 22px rgba(232,169,185,.45); }
.bar .fill { background: linear-gradient(90deg, var(--accent-hi), var(--accent)) !important; box-shadow: 0 0 10px rgba(232,169,185,.6); }

/* page entrance: content floats up in sequence */
.enter > * { animation: rise .55s cubic-bezier(.2,.8,.2,1) both; }
.enter > *:nth-child(2) { animation-delay: .06s; } .enter > *:nth-child(3) { animation-delay: .12s; }
.enter > *:nth-child(4) { animation-delay: .18s; } .enter > *:nth-child(5) { animation-delay: .24s; }
.enter > *:nth-child(6) { animation-delay: .3s; } .enter > *:nth-child(n+7) { animation-delay: .36s; }
.enter .row > .card { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.enter .row > .card:nth-child(2) { animation-delay: .05s; } .enter .row > .card:nth-child(3) { animation-delay: .1s; }
.enter .row > .card:nth-child(4) { animation-delay: .15s; } .enter .row > .card:nth-child(n+5) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* section headings get a little blush marker */
.shelf-head h2 { display: flex; align-items: center; gap: 10px; }
.shelf-head h2::before { content: ''; width: 6px; height: 22px; border-radius: 3px; background: var(--accent-grad); box-shadow: 0 0 12px rgba(232,169,185,.6); }

/* ---------- home spotlight ---------- */
.spotlight { position: relative; height: 300px; border-radius: 22px; overflow: hidden; margin: 0 0 26px; border: 1px solid rgba(232,169,185,.3); box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 50px rgba(232,169,185,.12); }
.spot-slide { position: absolute; inset: 0; display: flex; align-items: center; gap: 32px; padding: 30px 40px; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.spot-slide.on { opacity: 1; pointer-events: auto; }
.spot-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(38px) saturate(1.4) brightness(.75); transform: scale(1.1); }
.spot-slide.on .spot-bg { animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.1) translate(0, 0); } to { transform: scale(1.25) translate(-30px, 10px); } }
.spot-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,41,45,.82) 0%, rgba(40,41,45,.45) 55%, rgba(40,41,45,.15) 100%); }
.spot-art { position: relative; z-index: 1; width: 220px; height: 220px; border-radius: 16px; object-fit: cover; box-shadow: 0 24px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.12); transform: rotate(-3deg); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.spot-slide.on .spot-art { animation: pop .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pop { from { transform: rotate(-8deg) scale(.85); opacity: 0; } to { transform: rotate(-3deg) scale(1); opacity: 1; } }
.spot-body { position: relative; z-index: 1; max-width: 560px; }
.spot-slide.on .spot-body > * { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.spot-slide.on .spot-body > *:nth-child(2) { animation-delay: .08s; } .spot-slide.on .spot-body > *:nth-child(3) { animation-delay: .16s; } .spot-slide.on .spot-body > *:nth-child(4) { animation-delay: .24s; }
.spot-kind { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-hi); }
.spot-body h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.02; margin: 8px 0 10px; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.spot-body p { color: #E4E5E9; margin: 0 0 20px; font-size: 16px; }
.spot-dots { position: absolute; z-index: 2; right: 22px; bottom: 18px; display: flex; gap: 8px; }
.spot-dots button { width: 9px; height: 9px; border-radius: 9px; background: rgba(255,255,255,.35); transition: width .3s, background .3s; }
.spot-dots button.on { width: 26px; background: var(--accent); box-shadow: 0 0 10px rgba(232,169,185,.8); }

/* ---------- landing / sign-in ---------- */
.landing { position: relative; height: 100vh; height: 100dvh; overflow-x: hidden; overflow-y: auto; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 40px; padding: 40px clamp(20px, 5vw, 80px); overflow: hidden; background: var(--bg); }
.aurora { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(80px); opacity: .5; mix-blend-mode: screen; }
.aurora i:nth-child(1) { background: radial-gradient(circle, rgba(232,169,185,.55), transparent 60%); top: -25vmax; left: -15vmax; animation: float1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { background: radial-gradient(circle, rgba(212,138,159,.45), transparent 60%); bottom: -30vmax; right: -10vmax; animation: float2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { background: radial-gradient(circle, rgba(248,221,228,.30), transparent 60%); top: 20%; left: 35%; width: 40vmax; height: 40vmax; animation: float1 26s ease-in-out infinite alternate-reverse; }
@keyframes float1 { to { transform: translate(12vmax, 8vmax) scale(1.15); } }
@keyframes float2 { to { transform: translate(-10vmax, -12vmax) scale(1.2); } }
.land-hero { position: relative; z-index: 1; min-width: 0; }
.land-mark .brand-mark { width: 64px; height: 64px; filter: drop-shadow(0 0 18px rgba(232,169,185,.6)); }
.land-mark { margin-bottom: 14px; }
.land-tag { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(20px, 2.1vw, 28px); color: var(--accent-hi); margin: 0 0 18px; display: flex; align-items: center; gap: 14px; }
.land-tag::before { content: ''; width: 36px; height: 2px; border-radius: 2px; background: var(--accent-grad); box-shadow: 0 0 10px rgba(232,169,185,.6); }
.land-title { font-family: var(--serif); font-size: clamp(46px, 6vw, 84px); line-height: 1; margin: 0 0 12px; font-weight: 800; letter-spacing: -.5px; }
.land-sub { color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); max-width: 52ch; margin: 0 0 22px; line-height: 1.55; }
.land-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip-glow { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; background: rgba(255,255,255,.06); border: 1px solid rgba(232,169,185,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip-glow svg.i { color: var(--accent); width: 18px; height: 18px; }
.land-eq { display: flex; gap: 5px; align-items: flex-end; height: 46px; margin-bottom: 28px; }
.land-eq i { flex: 1; max-width: 8px; border-radius: 4px; background: var(--accent-grad); box-shadow: 0 0 10px rgba(232,169,185,.5); animation: eqbar 1.3s ease-in-out infinite; }
.land-eq i:nth-child(3n) { animation-duration: 1.05s; } .land-eq i:nth-child(4n) { animation-duration: 1.6s; } .land-eq i:nth-child(5n) { animation-duration: .9s; }
.land-eq i:nth-child(2n) { animation-delay: -.4s; } .land-eq i:nth-child(3n+1) { animation-delay: -.8s; } .land-eq i:nth-child(7n) { animation-delay: -1.1s; }
@keyframes eqbar { 0%,100% { height: 18%; } 50% { height: 100%; } }
.cover-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: clamp(160px, calc(100dvh - 600px), 320px); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); max-width: 560px; }
.wall-col { overflow: hidden; }
.wall-track { display: flex; flex-direction: column; gap: 14px; animation: wallup 26s linear infinite; }
.wall-col.rev .wall-track { animation-direction: reverse; animation-duration: 30s; }
.wall-track img { width: 100%; aspect-ratio: 1; border-radius: 14px; object-fit: cover; box-shadow: 0 12px 30px rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.08); }
@keyframes wallup { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.land-form { position: relative; z-index: 1; display: grid; place-items: center; }
.glow-card { position: relative; background: rgba(74,76,82,.62) !important; backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); border: 1px solid rgba(255,255,255,.12) !important; box-shadow: 0 40px 90px rgba(0,0,0,.45), 0 0 60px rgba(232,169,185,.15) !important; animation: rise .8s cubic-bezier(.2,.8,.2,1) both .15s; }
.glow-card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang), transparent 0deg, #F8DDE4 40deg, #E8A9B9 80deg, transparent 140deg, transparent 220deg, #D48A9F 280deg, transparent 340deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 5s linear infinite; pointer-events: none; }
@keyframes spin { to { --ang: 360deg; } }
.glow-card .input { background: rgba(30,31,34,.55); }
.shake { animation: shake .45s; }
@keyframes shake { 20%,60% { transform: translateX(-8px); } 40%,80% { transform: translateX(8px); } }

/* premium plans glow */
.plan { transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.35), 0 0 30px rgba(232,169,185,.18); }
.plan.popular { animation: glowpulse 3.5s ease-in-out infinite; }
@keyframes glowpulse { 0%,100% { box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(232,169,185,.12); } 50% { box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(232,169,185,.32); } }

@media (max-width: 860px) {
  .landing { grid-template-columns: 1fr; padding: 28px 18px 40px; gap: 18px; align-items: start; }
  .land-title { font-size: 44px; }
  .land-mark .brand-mark { width: 50px; height: 50px; }
  .land-tag { font-size: 20px; }
  .cover-wall { display: none; }
  .land-eq { height: 30px; margin-bottom: 4px; }
  .spotlight { height: auto; min-height: 340px; }
  .spot-slide { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; padding: 22px; }
  .spot-art { width: 120px; height: 120px; }
  .spot-dots { top: 18px; bottom: auto; right: 18px; }
  .spot-body h2 { font-size: 26px; }
  .spot-body p { font-size: 14px; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- happy & shiny layer ---------- */
/* Warm, slowly drifting glows behind the content: pink, peach and lilac. */
.main { background: radial-gradient(800px 360px at 12% -6%, rgba(232,169,185,.26), transparent 62%), radial-gradient(620px 320px at 92% 2%, rgba(255,207,179,.16), transparent 60%), radial-gradient(700px 400px at 60% 110%, rgba(217,194,240,.10), transparent 60%), var(--surface); }
.panel { background-image: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0) 120px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
/* Greeting subline with a twinkling star. */
h1.greet { margin-bottom: 6px; }
.greet-sub { margin: 0 0 20px; color: var(--muted); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.twinkle { color: var(--sun); font-size: 14px; display: inline-block; animation: twinkle 2.4s ease-in-out infinite; text-shadow: 0 0 10px rgba(255,207,179,.8); }
@keyframes twinkle { 0%,100% { transform: scale(.8) rotate(0); opacity: .6; } 50% { transform: scale(1.2) rotate(20deg); opacity: 1; } }
/* Glossy tiles and covers with a light sweep on hover. */
.quick { background-image: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.card .art::after, .hero .art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 45%, transparent 60%); transform: translateX(-120%); transition: transform .9s ease; pointer-events: none; }
.hero .art { position: relative; }
.card:hover .art::after { transform: translateX(120%); }
.card:hover .art { box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 32px rgba(232,169,185,.28); }
/* Sparkles over the featured banner. */
.spotlight { box-shadow: 0 24px 60px rgba(0,0,0,.3), 0 0 60px rgba(232,169,185,.2), inset 0 1px 0 rgba(255,255,255,.12); }
.spotlight::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(2px 2px at 18% 22%, #fff, transparent), radial-gradient(2px 2px at 72% 18%, #FFE3D4, transparent), radial-gradient(1.5px 1.5px at 86% 64%, #fff, transparent), radial-gradient(2px 2px at 55% 80%, #F6D0D9, transparent), radial-gradient(1.5px 1.5px at 35% 60%, #fff, transparent), radial-gradient(2px 2px at 92% 30%, #F6D0D9, transparent);
  animation: sparkle 3.2s ease-in-out infinite; }
@keyframes sparkle { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
/* Bouncy, glowing buttons. */
.pill { transition: transform .18s cubic-bezier(.3,1.6,.5,1), box-shadow .2s, background .2s; }
.pill:hover { transform: translateY(-1px) scale(1.03); }
.pill:active, .big-play:active, .ctrl-main:active, .play-fab:active { transform: scale(.95); }
.pill.accent { box-shadow: 0 8px 22px rgba(232,169,185,.35), inset 0 1px 0 rgba(255,255,255,.55); }
.pill.accent:hover { box-shadow: 0 10px 30px rgba(232,169,185,.5), 0 0 0 4px rgba(232,169,185,.14), inset 0 1px 0 rgba(255,255,255,.6); }
.big-play { background: radial-gradient(circle at 30% 25%, #FFF1F4 0%, rgba(255,241,244,0) 42%), var(--accent-grad); box-shadow: 0 12px 34px rgba(232,169,185,.45), inset 0 1px 0 rgba(255,255,255,.6); transition: transform .2s cubic-bezier(.3,1.6,.5,1), box-shadow .2s; }
.big-play:hover { transform: scale(1.08); box-shadow: 0 14px 40px rgba(232,169,185,.6), 0 0 0 6px rgba(232,169,185,.15); }
.ctrl-main { background: radial-gradient(circle at 30% 25%, #FFF1F4 0%, rgba(255,241,244,0) 45%), var(--accent-grad); box-shadow: 0 6px 18px rgba(232,169,185,.45); }
/* Happy progress bar: pink to peach with a glow. */
.bar .fill, .bar:hover .fill { background: linear-gradient(90deg, #E8A9B9, #FFCFB3); box-shadow: 0 0 10px rgba(255,207,179,.55); }
.bar .knob { background: #fff; box-shadow: 0 0 10px rgba(255,207,179,.9); }
/* Mobile tab bar: a glowing pill behind the active tab and a little hop. */
.mobile-nav a { position: relative; transition: color .2s; }
.mobile-nav a.active::before { content: ''; position: absolute; top: 0; left: 50%; width: 56px; height: 30px; margin-left: -28px; border-radius: 999px; background: rgba(232,169,185,.18); box-shadow: 0 0 18px rgba(232,169,185,.3); }
.mobile-nav a.active svg.i { animation: hop .5s cubic-bezier(.3,1.6,.5,1); filter: drop-shadow(0 0 6px rgba(232,169,185,.7)); }
@keyframes hop { 0% { transform: translateY(0) scale(1); } 40% { transform: translateY(-4px) scale(1.12); } 100% { transform: none; } }
.mobile-nav { background: linear-gradient(180deg, rgba(81,83,90,.96), rgba(69,71,77,.98)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
/* Confetti when Premium is unlocked. */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 10000; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { top: 105%; transform: translateX(40px) rotate(720deg); } }
@media (prefers-reduced-motion: reduce) { .twinkle, .spotlight::after { animation: none; } }
/* Brighter, sunnier featured banner: rosy-peach light instead of a dark veil. */
.spot-bg { filter: blur(38px) saturate(1.5) brightness(1.05); }
.spot-slide::after { background: linear-gradient(100deg, rgba(58,48,54,.72) 0%, rgba(120,78,92,.38) 50%, rgba(255,207,179,.14) 100%), radial-gradient(600px 300px at 85% 10%, rgba(255,207,179,.28), transparent 70%); }
.spot-mesh { display: none; }
/* Liked Songs / Daily Mix tiles get a glossy candy shine. */
.quick .ph { background-image: radial-gradient(circle at 30% 20%, rgba(255,255,255,.55), rgba(255,255,255,0) 45%), var(--accent-grad) !important; }

/* Premium steps (Play app), legal links and account deletion */
.steps-list { margin: 0 0 18px; padding-left: 22px; line-height: 1.7; color: var(--text); }
.steps-list li { margin-bottom: 6px; }
.legal-links { margin: 22px 0 8px; font-size: 13px; color: var(--dim); }
.legal-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.danger-zone { border-color: rgba(240,112,103,.35) !important; }
.pill.danger { background: var(--danger); color: #fff; }
.land-legal { margin-top: 26px; font-size: 13px; color: var(--dim); }
.land-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
