/* ===== Тризуб МС — Main Styles ===== */
:root {
    --blue: #0057b7;
    --blue-light: #1a6fd4;
    --blue-dark: #003d82;
    --gold: #ffd700;
    --gold-dim: #c9a800;
    --bg-dark: #060912;
    --bg-card: rgba(14, 20, 40, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 215, 0, 0.12);
    --text: #e8ecf4;
    --text-muted: #8a96b0;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background effects */
.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.orb-1 {
    width: 500px; height: 500px;
    background: var(--blue);
    top: -150px; right: -100px;
    animation: float 12s ease-in-out infinite;
}

.orb-2 {
    width: 400px; height: 400px;
    background: var(--gold);
    bottom: -100px; left: -100px;
    opacity: 0.15;
    animation: float 15s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px; height: 300px;
    background: var(--blue-light);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 9, 18, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.brand-text h1 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.tagline {
    font-size: 0.7rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--gold);
    background: var(--bg-glass);
}

.nav-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.2px;
    stroke: currentColor;
    fill: none;
    margin-right: 6px;
    flex-shrink: 0;
    transition: var(--transition);
}

.nav-link-tg {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 50%;
    color: #fff;
    background: #229ed9;
    box-shadow: 0 10px 24px rgba(34, 158, 217, 0.28);
}

.nav-link-tg:hover {
    color: #fff;
    background: #31a9e1;
    box-shadow: 0 12px 28px rgba(34, 158, 217, 0.38);
    transform: translateY(-1px);
}

.tg-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transform: translateX(-1px);
}

.nav-toggle {
    display: none;
}

/* Hero */
.hero {
    position: relative;
    z-index: 1;
    padding: 60px 0 40px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.42);
    color: var(--gold);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.38), 0 12px 32px rgba(255, 215, 0, 0.12);
    animation: heartbeat 1.35s ease-in-out infinite;
    transform-origin: center;
}

.hero-badge::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: inherit;
    border: 1px solid rgba(255, 215, 0, 0.22);
    opacity: 0;
    animation: heartbeat-ring 1.35s ease-out infinite;
}

.hero-title {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 2.25em;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.8vw, 4.25rem);
    font-weight: 900;
    line-height: 1.04;
    margin-bottom: 22px;
    text-shadow: 0 14px 38px rgba(0, 87, 183, 0.28);
}

.hero-title-lead {
    display: block;
    font-size: 0.34em;
    line-height: 1;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: rgba(232, 236, 244, 0.78);
}

.typing-stage {
    position: relative;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 1.12em;
}

.typing-text {
    display: inline-block;
    white-space: nowrap;
    background: linear-gradient(120deg, #fff7b0 0%, var(--gold) 35%, #45b8ff 72%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 14px 28px rgba(0, 87, 183, 0.32));
}

.typing-caret {
    display: inline-block;
    width: 0.08em;
    height: 0.88em;
    margin-left: 0.08em;
    border-radius: 2px;
    background: var(--gold);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.72);
    animation: cursor-blink 0.72s steps(1, end) infinite;
}
.gradient-text {
    background: linear-gradient(135deg, var(--gold), var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes heartbeat {
    0%, 36%, 100% { transform: scale(1); }
    12% { transform: scale(1.08); }
    20% { transform: scale(0.97); }
    28% { transform: scale(1.05); }
}

@keyframes heartbeat-ring {
    0%, 22% { opacity: 0.46; transform: scale(0.96); }
    70%, 100% { opacity: 0; transform: scale(1.28); }
}

@keyframes cursor-blink {
    0%, 48% { opacity: 1; }
    49%, 100% { opacity: 0; }
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 420px;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat { display: flex; flex-direction: column; }

.stat-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gold);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vinyl-wrap {
    position: relative;
    width: 280px;
    height: 280px;
}

.hero-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    border: 3px solid var(--gold);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
    transition: var(--transition);
}

.hero-logo.spinning {
    animation: spin 4s linear infinite;
}

.vinyl-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.2);
    animation: pulse-ring 3s ease-in-out infinite;
}

.vinyl-ring::before {
    content: '';
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 215, 0, 0.15);
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* Player */
.player-section {
    position: relative;
    z-index: 1;
    padding: 20px 0 60px;
}

.player-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: center;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.visualizer-canvas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}

.player-cover-wrap,
.player-info {
    position: relative;
    z-index: 1;
}


.player-cover-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.player-cover {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.player-cover-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2), transparent 70%);
    border-radius: 20px;
    z-index: 0;
}

.player-artist {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.player-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 4px 0 20px;
}

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

.time {
    font-size: 0.75rem;
    color: var(--text-muted);
    min-width: 36px;
    font-variant-numeric: tabular-nums;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--gold));
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
    pointer-events: none;
}

.progress-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.progress-bar:hover .progress-thumb { opacity: 1; }

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ctrl-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.ctrl-btn svg { width: 20px; height: 20px; }

.ctrl-btn:hover:not(:disabled) {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.ctrl-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.ctrl-btn.active {
    color: var(--gold);
    border-color: var(--gold);
}

.ctrl-main {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    border: none;
    box-shadow: 0 8px 24px rgba(0, 87, 183, 0.4);
}

.ctrl-main svg { width: 28px; height: 28px; }

.ctrl-main:hover:not(:disabled) {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--blue-light), var(--blue));
    color: #fff;
}

.hidden { display: none !important; }

.volume-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 200px;
    margin: 0 auto;
}

.vol-icon { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }

.volume-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--gold);
    border-radius: 50%;
    cursor: pointer;
}

/* Tracks */
.tracks-section {
    position: relative;
    z-index: 1;
    padding: 40px 0 80px;
}

.section-header {
    margin-bottom: 32px;
}

.tracks-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-play-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold), #ffbf00);
    color: #060912;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-play-all svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-play-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-play-all:active {
    transform: translateY(1px);
}

.tracks-search-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(255, 215, 0, 0.16);
    background:
        radial-gradient(circle at top left, rgba(26, 111, 212, 0.24), transparent 46%),
        radial-gradient(circle at top right, rgba(255, 215, 0, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(14, 20, 40, 0.94), rgba(8, 12, 24, 0.94));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tracks-search-panel::after {
    content: '';
    position: absolute;
    inset: auto -8% -32px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15), transparent 68%);
    pointer-events: none;
}

.tracks-search-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 40%, rgba(255, 215, 0, 0.05));
    pointer-events: none;
}

.tracks-search-panel.is-active {
    border-color: rgba(255, 215, 0, 0.34);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 215, 0, 0.08) inset;
    transform: translateY(-1px);
}

.tracks-search-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    max-width: 560px;
    padding-left: 18px;
    border-left: 2px solid rgba(255, 215, 0, 0.22);
}

.tracks-search-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 2.8vw, 2.6rem);
    line-height: 1.05;
    font-weight: 900;
}

.tracks-search-text {
    color: var(--text-muted);
    max-width: 52ch;
    font-size: 0.98rem;
}

.tracks-toolbar {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    align-content: start;
    width: 100%;
}

.search-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.search-bar {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    min-height: 62px;
    width: 100%;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 215, 0, 0.18);
    transition: var(--transition);
}

.search-bar:focus-within {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1), 0 18px 40px rgba(0, 0, 0, 0.18);
}

.search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--gold);
    flex-shrink: 0;
    font-size: 1.15rem;
    line-height: 1;
}

.search-input {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-width: 0;
    height: 100%;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--text);
    font: inherit;
    font-size: 1.05rem;
    line-height: 1.2;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    caret-color: var(--gold);
}

.search-input::placeholder {
    color: #96a3bf;
}

.search-clear,
.search-reset {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.search-clear {
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    flex-shrink: 0;
    white-space: nowrap;
}

.search-clear:hover,
.search-reset:hover {
    background: rgba(255, 215, 0, 0.16);
    color: var(--gold);
}

.search-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.search-count,
.search-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 7px 12px;
}

.search-count {
    font-variant-numeric: tabular-nums;
    color: var(--gold);
    border-color: rgba(255, 215, 0, 0.16);
}

.search-hint {
    line-height: 1.3;
}

.search-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 56px 20px;
    margin-bottom: 20px;
    background: linear-gradient(180deg, rgba(14, 20, 40, 0.78), rgba(8, 12, 24, 0.78));
    border: 1px dashed rgba(255, 215, 0, 0.26);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.search-empty.visible {
    display: flex;
}

.search-empty h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.search-empty p {
    color: var(--text-muted);
    margin-bottom: 18px;
    max-width: 320px;
}

.search-reset {
    padding: 12px 18px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 87, 183, 0.32);
}

.search-reset:focus-visible,
.search-clear:focus-visible,
.search-input:focus-visible {
    outline: 2px solid rgba(255, 215, 0, 0.5);
    outline-offset: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
}

.section-sub {
    color: var(--text-muted);
    margin-top: 4px;
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.track-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.track-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.track-card.playing {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.25) inset, 0 18px 50px rgba(255, 215, 0, 0.12);
    transform: translateY(-3px);
}

.track-card.playing .track-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.12), rgba(0, 0, 0, 0.12));
    pointer-events: none;
}

.track-cover {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.track-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.track-card:hover .track-cover img { transform: scale(1.05); }

.track-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.track-card:hover .track-overlay { opacity: 1; }

.track-card.playing .track-overlay {
    opacity: 1;
    background: linear-gradient(180deg, rgba(0, 87, 183, 0.32), rgba(0, 0, 0, 0.55));
}

.track-play-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #fff0a0);
    border: none;
    color: var(--bg-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.84);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 10px 24px rgba(255, 215, 0, 0.22);
}

.track-card:hover .track-play-btn { transform: scale(1); }

.track-card.playing .track-play-btn {
    background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
    color: #fff;
    transform: scale(1.02);
    box-shadow: 0 14px 30px rgba(0, 87, 183, 0.35);
    animation: pulse-play 1.8s ease-in-out infinite;
}

.track-play-btn svg { width: 24px; height: 24px; }

.track-action .icon-play,
.track-action .icon-pause,
.track-play-btn .icon-play,
.track-play-btn .icon-pause {
    width: 24px;
    height: 24px;
}

.track-action .icon-pause,
.track-play-btn .icon-pause {
    display: none;
}

.track-card.playing .track-action.play-action .icon-play,
.track-card.playing .track-play-btn .icon-play {
    display: none;
}

.track-card.playing .track-action.play-action .icon-pause,
.track-card.playing .track-play-btn .icon-pause {
    display: block;
}

.track-card.playing .play-action {
    border-color: rgba(255, 215, 0, 0.55);
    color: var(--gold);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.16), rgba(255, 215, 0, 0.08));
    box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.12) inset;
}

.track-card.playing .play-action:hover {
    color: #fff;
    border-color: rgba(255, 215, 0, 0.8);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.24), rgba(255, 215, 0, 0.12));
}

@keyframes pulse-play {
    0%, 100% { box-shadow: 0 14px 30px rgba(0, 87, 183, 0.35); }
    50% { box-shadow: 0 14px 30px rgba(0, 87, 183, 0.35), 0 0 0 10px rgba(0, 87, 183, 0.08); }
}

.track-num {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}

.track-meta { padding: 16px; }

.track-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.track-plays {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.track-plays svg {
    width: 11px;
    height: 11px;
    color: var(--gold);
    flex-shrink: 0;
    opacity: 0.7;
}

.plays-num {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.track-card.playing .track-plays {
    color: rgba(255, 215, 0, 0.65);
}

.track-actions {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
}

.track-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.track-action svg { width: 18px; height: 18px; }

.track-action:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* Shared link highlight */
.track-card.shared-highlight {
    border-color: var(--gold) !important;
    box-shadow:
        0 0 0 2px rgba(255, 215, 0, 0.35),
        0 0 40px rgba(255, 215, 0, 0.25),
        0 18px 50px rgba(0, 0, 0, 0.5) !important;
    animation: shared-pulse 1.2s ease-in-out 3;
    transform: translateY(-4px) !important;
}

@keyframes shared-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 2px rgba(255, 215, 0, 0.35),
            0 0 40px rgba(255, 215, 0, 0.25),
            0 18px 50px rgba(0, 0, 0, 0.5);
    }
    50% {
        box-shadow:
            0 0 0 4px rgba(255, 215, 0, 0.55),
            0 0 70px rgba(255, 215, 0, 0.4),
            0 24px 60px rgba(0, 0, 0, 0.55);
    }
}

.shared-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 200, 0, 0.9));
    color: #060912;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.4);
    animation: badge-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both,
               badge-out 0.4s ease-in 3.6s both;
    pointer-events: none;
}

@keyframes badge-in {
    from { opacity: 0; transform: scale(0.6) translateY(-6px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

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

.shared-tap-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: rgba(6, 9, 18, 0.82);
    backdrop-filter: blur(4px);
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    animation: badge-in 0.3s ease both;
    transition: background 0.2s;
}

.shared-tap-overlay:hover {
    background: rgba(6, 9, 18, 0.7);
}

.shared-tap-overlay svg {
    width: 48px;
    height: 48px;
    color: var(--gold);
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.6));
    animation: shared-pulse 1s ease-in-out infinite alternate;
}

.shared-tap-overlay span {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.85;
}

/* Share button */

.share-action {
    position: relative;
    overflow: hidden;
}

.share-action::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold);
    font-size: 1rem;
    font-weight: 700;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.2s, transform 0.2s;
    border-radius: inherit;
}

.share-action.copied::after {
    opacity: 1;
    transform: scale(1);
}

.share-action.copied svg {
    opacity: 0;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(14, 20, 40, 0.96);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 12px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 300;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.empty-icon { font-size: 3rem; margin-bottom: 16px; }

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 32px 0;
    background: rgba(6, 9, 18, 0.6);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gold);
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== About Section — Editorial ===== */
.about-section {
    position: relative;
    z-index: 1;
    padding: 0 0 60px;
}

.about-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Label row */
.about-label-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 0 20px;
}

.about-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7ab8ff;
    background: rgba(0, 87, 183, 0.14);
    border: 1px solid rgba(0, 87, 183, 0.28);
    padding: 5px 14px;
    border-radius: 20px;
}

.about-tag-sep {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,215,0,0.2), transparent);
}

.about-label-text {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Body */
.about-body {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 60px;
    align-items: start;
    padding: 56px 0 0;
}

/* Photo column */
.about-photo-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-photo-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.12);
    box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-photo-frame:hover .about-photo {
    transform: scale(1.03);
}

.about-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,9,18,0.75) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.about-photo-caption {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.about-photo-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

.about-photo-note svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
}

/* Text column */
.about-text-col {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
}

.about-lead {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.55;
    color: var(--text);
    margin-bottom: 28px;
}

.about-body-text {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-inline-quote {
    font-size: 1.08rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text);
    border-left: 3px solid var(--gold);
    padding: 16px 20px;
    margin: 12px 0 36px;
    background: rgba(255, 215, 0, 0.04);
    border-radius: 0 10px 10px 0;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.about-btn-play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 28px rgba(0, 87, 183, 0.42);
    transition: var(--transition);
}

.about-btn-play svg {
    width: 18px;
    height: 18px;
}

.about-btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 87, 183, 0.6);
    background: linear-gradient(135deg, var(--blue-light), var(--blue));
}

.about-btn-social {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 24px;
    background: transparent;
    color: #7acbf0;
    text-decoration: none;
    border: 1px solid rgba(34, 158, 217, 0.32);
    border-radius: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.92rem;
    transition: var(--transition);
}

.about-btn-social svg {
    width: 17px;
    height: 17px;
}

.about-btn-social:hover {
    background: rgba(34, 158, 217, 0.1);
    border-color: rgba(34, 158, 217, 0.55);
    color: #b8e0f7;
    transform: translateY(-2px);
}

/* ===== Services Section — Exclusive Orders ===== */
.services-section {
    position: relative;
    z-index: 1;
    padding: 60px 0 100px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.services-grid.single-service {
    display: flex;
    justify-content: center;
}

.services-grid.single-service .service-card {
    max-width: 600px;
    width: 100%;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: 
        radial-gradient(circle at top left, rgba(26, 111, 212, 0.15), transparent 45%),
        radial-gradient(circle at top right, rgba(255, 215, 0, 0.08), transparent 35%),
        linear-gradient(180deg, rgba(14, 20, 40, 0.92), rgba(8, 12, 24, 0.92));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 50%, rgba(255, 215, 0, 0.03));
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.28);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 215, 0, 0.05);
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--gold);
    transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
    background: rgba(255, 215, 0, 0.18);
    border-color: var(--gold);
    transform: scale(1.05) rotate(5deg);
}

.service-icon {
    width: 32px;
    height: 32px;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #e8ecf4;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 28px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    padding: 0;
}

.service-features li {
    font-size: 0.92rem;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-features li span {
    color: var(--gold);
    font-weight: 900;
}

.service-action {
    margin-top: auto;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    border-radius: 16px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.service-card:first-child .btn-service {
    background: transparent;
    color: #e8ecf4;
    border: 1px solid rgba(255, 215, 0, 0.35);
}

.service-card:first-child .btn-service:hover {
    background: rgba(255, 215, 0, 0.08);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.service-card:nth-child(2) .btn-service {
    background: linear-gradient(135deg, var(--gold), #ffbf00);
    color: #060912;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.25);
}

.service-card:nth-child(2) .btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.service-card:first-child .service-icon-wrap {
    background: rgba(26, 111, 212, 0.12);
    border-color: rgba(26, 111, 212, 0.35);
    color: #7ab8ff;
}

.service-card:first-child:hover .service-icon-wrap {
    background: rgba(26, 111, 212, 0.2);
    border-color: #7ab8ff;
}

.service-card:first-child .service-features li span {
    color: #7ab8ff;
}

/* ===== Scroll Animations ===== */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.94) translateY(20px);
}

/* Active State (When triggered) */
.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Delays */
.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }
.delay-200 { transition-delay: 200ms; }
.delay-250 { transition-delay: 250ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }


@media (max-width: 960px) {
    .about-body {
        grid-template-columns: 260px 1fr;
        gap: 40px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 1250px) {
    /* Mobile Menu Burger styles (<= 1250px) */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 150;
    }

    .nav-toggle .bar {
        width: 100%;
        height: 2px;
        background-color: var(--text);
        border-radius: 2px;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, background-color 0.3s ease;
    }

    .nav-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--gold);
    }

    .nav-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--gold);
    }

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100vh - 72px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        background: rgba(8, 12, 24, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 32px 24px;
        gap: 16px;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.4s;
        z-index: 140;
    }

    .nav.is-active {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
    }

    .nav-link {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        font-family: var(--font-display);
        font-size: 1.15rem;
        font-weight: 700;
        padding: 12px 16px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--text);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        background: rgba(255, 255, 255, 0.02);
    }

    .nav-link:hover,
    .nav-link:focus {
        color: var(--gold);
        border-color: rgba(255, 215, 0, 0.25);
        background: rgba(255, 215, 0, 0.05);
    }

    .nav-link-tg {
        width: 100%;
        max-width: 320px;
        margin: 6px auto 0;
        border-radius: 28px;
        height: 48px;
        min-height: 48px;
        font-size: 1.1rem;
        border: none;
    }

    .nav-auth-group {
        width: 100%;
        max-width: 320px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 6px;
    }

    .nav-auth-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .user-menu-wrapper {
        width: 100%;
        max-width: 320px;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .about-body {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 36px;
    }

    .services-section {
        padding: 40px 0 60px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-title {
        font-size: 1.35rem;
    }

    .about-photo-frame {
        max-width: 300px;
        margin: 0 auto;
    }

    .about-big-title {
        font-size: clamp(2.2rem, 10vw, 3.8rem);
    }

    .about-strip-inner {
        flex-wrap: wrap;
        gap: 0;
    }

    .about-strip-item {
        flex: 0 0 50%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .about-strip-item:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.05);
    }

    .about-strip-divider { display: none; }
}

@media (max-width: 480px) {
    .about-big-title {
        font-size: clamp(2rem, 11vw, 2.8rem);
        letter-spacing: -0.01em;
    }

    .about-strip-item { flex: 0 0 100%; }
    .about-strip-item:nth-child(odd) { border-right: none; }

    .about-actions {
        flex-direction: column;
    }

    .about-btn-play,
    .about-btn-social {
        justify-content: center;
        width: 100%;
    }
}

/* Mini Player */

.mini-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(8, 12, 26, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.mini-player.visible {
    transform: translateY(0);
}

.mini-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.mini-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--blue), var(--gold));
    border-radius: 0 2px 2px 0;
    transition: width 0.1s linear;
    pointer-events: none;
}

.mini-player-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.mini-cover {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 215, 0, 0.2);
    flex-shrink: 0;
}

.mini-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mini-title {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
}

.mini-artist {
    font-size: 0.72rem;
    color: var(--gold);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mini-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.mini-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.mini-btn svg { width: 18px; height: 18px; }

.mini-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.mini-btn-play {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    border: none;
    box-shadow: 0 4px 16px rgba(0, 87, 183, 0.4);
}

.mini-btn-play svg { width: 20px; height: 20px; }

.mini-btn-play:hover {
    transform: scale(1.06);
    background: linear-gradient(135deg, var(--blue-light), var(--blue));
    color: #fff;
    border-color: transparent;
}

.mini-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 4px;
}

.mini-close svg { width: 18px; height: 18px; }

.mini-close:hover {
    color: var(--gold);
    background: var(--bg-glass);
}

/* Responsive */

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-title { align-items: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }
    .hero-visual { order: -1; }
    .vinyl-wrap { width: 200px; height: 200px; }
    .hero-logo { width: 140px; height: 140px; }

    .player-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px;
    }

    .player-cover-wrap { margin: 0 auto; width: 160px; height: 160px; }
    .volume-wrap { margin: 0 auto; }

    .tracks-search-panel {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .tracks-search-copy {
        padding-left: 14px;
    }
}

@media (max-width: 480px) {
    .mini-player-inner {
        padding: 8px 12px;
        gap: 10px;
    }

    .mini-cover {
        width: 38px;
        height: 38px;
    }

    #miniBtnPrev {
        display: none;
    }

    .mini-title { font-size: 0.82rem; }
    .mini-artist { font-size: 0.68rem; }
}

@media (max-width: 600px) {

    .header-inner { height: 60px; }
    .logo { width: 40px; height: 40px; }
    .brand { gap: 10px; }
    .brand-text h1 { font-size: 1rem; }
    .tagline { display: none; }
    
    .nav {
        top: 60px;
        height: calc(100vh - 60px);
        padding: 30px 20px;
        gap: 16px;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 12px;
        border-radius: 12px;
    }
    
    .nav-link-tg {
        height: 48px;
        min-height: 48px;
        margin-top: 6px;
        border-radius: 24px;
        width: 100%;
        max-width: 280px;
        padding: 0;
        font-size: 1rem;
    }
    .tg-icon { width: 18px; height: 18px; }
    .hero { padding: 32px 0 20px; }
    .hero-stats { gap: 20px; }
    .tracks-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .track-meta { padding: 12px; }
    .track-name { font-size: 0.85rem; }

    /* ── Player mobile ── */
    .player-card {
        padding: 16px 14px;
        gap: 16px;
        border-radius: 18px;
    }

    .player-cover-wrap {
        width: 120px;
        height: 120px;
    }

    .player-artist {
        font-size: 0.72rem;
    }

    .player-title {
        font-size: 1.05rem;
        margin-bottom: 14px;
    }

    .progress-wrap {
        gap: 8px;
        margin-bottom: 14px;
    }

    .time {
        font-size: 0.7rem;
        min-width: 30px;
    }

    .player-controls {
        gap: 8px;
        margin-bottom: 12px;
        flex-wrap: nowrap;
    }

    .ctrl-btn {
        width: 38px;
        height: 38px;
    }

    .ctrl-btn svg { width: 17px; height: 17px; }

    .ctrl-main {
        width: 52px;
        height: 52px;
        flex-shrink: 0;
    }

    .ctrl-main svg { width: 24px; height: 24px; }

    .volume-wrap {
        max-width: 100%;
        padding: 0 4px;
    }

    /* ── Search ── */
    .tracks-search-panel {
        padding: 16px;
        border-radius: 22px;
    }

    .tracks-search-text {
        font-size: 0.92rem;
    }

    .tracks-toolbar {
        gap: 10px;
    }

    .search-bar {
        grid-template-columns: 20px minmax(0, 1fr);
        padding: 14px;
        min-height: auto;
        gap: 10px;
    }

    .search-input {
        width: 100%;
        grid-column: 2;
        grid-row: 1;
        padding: 0;
    }

    .search-icon {
        grid-column: 1;
        grid-row: 1;
    }

    .search-clear {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: end;
        margin-top: 2px;
        padding: 7px 12px;
        font-size: 0.85rem;
    }

    .search-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-count,
    .search-hint {
        width: 100%;
    }

    .search-empty {
        padding: 44px 16px;
    }
}

@media (max-width: 400px) {
    .tracks-grid { grid-template-columns: 1fr; }

    .search-bar {
        gap: 10px;
    }

    .search-input {
        font-size: 0.95rem;
    }

    /* ── Player extra-small ── */
    .player-card {
        padding: 12px 10px;
    }

    .player-cover-wrap {
        width: 96px;
        height: 96px;
    }

    .player-title {
        font-size: 0.95rem;
    }

    .player-controls {
        gap: 6px;
    }

    .ctrl-btn {
        width: 34px;
        height: 34px;
    }

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

    .ctrl-main {
        width: 46px;
        height: 46px;
    }

    .ctrl-main svg { width: 20px; height: 20px; }

    .progress-bar {
        height: 5px;
    }

    .progress-thumb {
        width: 12px;
        height: 12px;
    }

    .volume-slider::-webkit-slider-thumb {
        width: 12px;
        height: 12px;
    }
}

/* ===== On Load Animations (Hero & Header) ===== */
.header {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

body.loaded .header {
    opacity: 1;
    transform: translateY(0);
}

/* Hero items initial states */
.hero-badge,
.hero-title,
.hero-desc,
.hero-stats,
.vinyl-wrap {
    opacity: 0;
    will-change: transform, opacity;
}

.hero-badge,
.hero-title,
.hero-desc,
.hero-stats {
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.vinyl-wrap {
    transform: scale(0.85) rotate(-15deg);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active states with delays */
body.loaded .hero-badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 150ms;
}

body.loaded .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 250ms;
}

body.loaded .hero-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 350ms;
}

body.loaded .hero-stats {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 450ms;
}

body.loaded .vinyl-wrap {
    opacity: 1;
    transform: scale(1) rotate(0);
    transition-delay: 200ms;
}

/* ===== Premium Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: #050811;
    background-image: radial-gradient(circle at center, #0c1428 0%, #050811 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.65, 0, 0.35, 1), transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
    will-change: transform, opacity;
}

.preloader.fade-out {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 320px;
    width: 85%;
    padding: 20px;
}

.preloader-logo-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    width: 72px;
    height: 72px;
    background: rgba(26, 111, 212, 0.1);
    border: 2px solid rgba(26, 111, 212, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: preloaderPulse 2s infinite ease-in-out;
    box-shadow: 0 0 20px rgba(26, 111, 212, 0.2);
}

.preloader-symbol {
    font-size: 2.2rem;
    color: #7ab8ff;
    text-shadow: 0 0 15px rgba(122, 184, 255, 0.6);
    line-height: 1;
}

.preloader-glow {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 111, 212, 0.25) 0%, rgba(26, 111, 212, 0) 70%);
    animation: preloaderGlowPulse 2s infinite ease-in-out;
}

.preloader-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.preloader-progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.preloader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #166fd4, #7ab8ff);
    box-shadow: 0 0 10px #7ab8ff;
    transition: width 0.1s linear;
}

.preloader-percent {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #7ab8ff;
    margin-bottom: 6px;
}

.preloader-status {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Animations */
@keyframes preloaderPulse {
    0% {
        transform: scale(0.95);
        border-color: rgba(26, 111, 212, 0.4);
        box-shadow: 0 0 15px rgba(26, 111, 212, 0.15);
    }
    50% {
        transform: scale(1.05);
        border-color: rgba(122, 184, 255, 0.8);
        box-shadow: 0 0 25px rgba(122, 184, 255, 0.45);
    }
    100% {
        transform: scale(0.95);
        border-color: rgba(26, 111, 212, 0.4);
        box-shadow: 0 0 15px rgba(26, 111, 212, 0.15);
    }
}

@keyframes preloaderGlowPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Prevent scrolling while loading */
body.loading {
    overflow: hidden;
}

/* Responsive Scaling for Small/Landscape Screens */
@media (max-width: 480px), (max-height: 480px) {
    .preloader-logo-wrap {
        width: 70px;
        height: 70px;
        margin-bottom: 14px;
    }
    .preloader-logo {
        width: 56px;
        height: 56px;
    }
    .preloader-symbol {
        font-size: 1.7rem;
    }
    .preloader-glow {
        width: 90px;
        height: 90px;
    }
    .preloader-brand {
        font-size: 1.25rem;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }
    .preloader-status {
        font-size: 0.7rem;
    }
}


/* --- Operator Banner --- */
.operator-banner { padding: 40px 0; }
.operator-banner-content { background: linear-gradient(135deg, rgba(0, 87, 183, 0.1) 0%, var(--bg-card) 100%); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); position: relative; overflow: hidden; }
.operator-banner-content::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--gold); }
.operator-text h3 { color: var(--gold); font-size: 24px; margin-bottom: 8px; font-family: var(--font-display); font-weight: 800; }
.operator-text p { color: var(--text-muted); font-size: 16px; margin: 0; line-height: 1.5; font-family: var(--font-body); }
.operator-btn { background: var(--blue); color: #fff; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; border: none; padding: 14px 28px; border-radius: var(--radius-sm); white-space: nowrap; text-decoration: none; transition: var(--transition); }
.operator-btn:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 87, 183, 0.3); }
@media (max-width: 768px) { .operator-banner-content { flex-direction: column; text-align: left; padding: 24px; align-items: flex-start; } .operator-btn { width: 100%; justify-content: center; } }

/* Accessibility & SEO utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Tracks Pagination */
.tracks-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
    padding: 10px 0;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(14, 20, 40, 0.75);
    border: 1px solid rgba(255, 215, 0, 0.16);
    color: #e2e8f0;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    text-decoration: none;
}

.pagination-btn:hover:not(:disabled):not(.active) {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.45);
    color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.15);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
    color: #060912;
    border-color: #ffd700;
    font-weight: 800;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.35);
    cursor: default;
}

.pagination-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.05);
}

.pagination-ellipsis {
    color: #64748b;
    font-weight: 700;
    padding: 0 6px;
    user-select: none;
    font-size: 1.1rem;
}

.pagination-info {
    width: 100%;
    text-align: center;
    color: #8a96b0;
    font-size: 0.85rem;
    margin-top: 10px;
    font-family: var(--font-body);
}

@media (max-width: 640px) {
    .tracks-pagination {
        gap: 6px;
        margin-top: 28px;
    }
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.85rem;
        border-radius: 10px;
    }
}

/* ===== Floating Action: Scroll To Top ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 104px;
    right: 36px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 16, 32, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 215, 0, 0.4);
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 12px rgba(255, 215, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-top-btn svg {
    transition: transform 0.2s ease;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.scroll-top-btn.visible:hover {
    transform: translateY(-4px) scale(1.06);
    background: rgba(22, 32, 60, 0.96);
    border-color: #ffd700;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 22px rgba(255, 215, 0, 0.4);
}
.scroll-top-btn.visible:hover svg {
    transform: translateY(-2px);
}
.scroll-top-btn.visible:active {
    transform: translateY(-1px) scale(0.96);
}
.scroll-top-btn:focus-visible {
    outline: 2px solid #ffd700;
    outline-offset: 3px;
}
@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 86px;
        right: 25px;
        width: 44px;
        height: 44px;
    }
}

/* ===== Offline Mode & Storage ===== */
.btn-offline-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: var(--font-display);
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-offline-filter:hover {
    background: rgba(255, 215, 0, 0.18);
    border-color: #ffd700;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.35);
    transform: translateY(-2px);
}

.btn-offline-filter.active {
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    color: #060912;
    border-color: #ffd700;
    box-shadow: 0 0 22px rgba(255, 215, 0, 0.55);
}

.offline-mode-banner {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(13, 19, 36, 0.95) 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.45);
    border-radius: 16px;
    padding: 16px 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 215, 0, 0.15);
    animation: offline-banner-slide 0.35s ease;
}

.offline-mode-banner.hidden {
    display: none !important;
}

@keyframes offline-banner-slide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.offline-banner-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.offline-banner-icon {
    font-size: 1.8rem;
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.65));
}

.offline-banner-title {
    color: #ffd700;
    font-size: 0.98rem;
    font-weight: 800;
    font-family: var(--font-display);
    display: block;
    margin-bottom: 3px;
}

.offline-banner-desc {
    color: #cbd5e1;
    font-size: 0.86rem;
    line-height: 1.4;
    margin: 0;
}

.offline-banner-btn {
    padding: 9px 18px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid #ffd700;
    color: #ffd700;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.84rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.offline-banner-btn:hover {
    background: #ffd700;
    color: #060912;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* Offline buttons on track cards */
.track-action.offline-action {
    color: #8a96b0;
    position: relative;
}

.track-action.offline-action:hover {
    color: #ffd700;
    transform: scale(1.15);
}

.track-action.offline-action.is-saved {
    color: #ffd700;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.55));
}

.track-action.offline-action.is-saved .icon-offline-add {
    display: none !important;
}

.track-action.offline-action.is-saved .icon-offline-done {
    display: block !important;
}

.track-action.offline-action.is-loading .icon-offline-add,
.track-action.offline-action.is-loading .icon-offline-done {
    display: none !important;
}

.track-action.offline-action.is-loading .icon-offline-loading {
    display: block !important;
}

/* Player main offline button */
#btnSaveOffline.is-saved {
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.55);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
}

#btnSaveOffline.is-saved .icon-offline-add {
    display: none !important;
}

#btnSaveOffline.is-saved .icon-offline-done {
    display: block !important;
}

#btnSaveOffline.is-loading .icon-offline-add,
#btnSaveOffline.is-loading .icon-offline-done {
    display: none !important;
}

#btnSaveOffline.is-loading .icon-offline-loading {
    display: block !important;
}

.player-offline-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 14px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.45);
    color: #ffd700;
    margin-left: 8px;
    vertical-align: middle;
}

.track-card.offline-saved .track-cover::after {
    content: '⚡';
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(10, 16, 32, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.spin {
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}




