:root {
    --bg: #FAFAFA;
    --bg-secondary: #F0F0F0;
    --card: #FFFFFF;
    --text: #1A1A2E;
    --text-muted: #6B7280;
    --accent: #FF6B35;
    --accent-hover: #E85A28;
    --border: #E5E7EB;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
    --radius: 14px;
    --nav-bg: rgba(250, 250, 250, 0.85);
}
a{
    text-decoration: none;
}
[data-bs-theme="dark"] {
    --bg: #0F0F1A;
    --bg-secondary: #1A1A2E;
    --card: #16213E;
    --text: #F0F0F0;
    --text-muted: #9CA3AF;
    --accent: #FF6B35;
    --accent-hover: #FF8255;
    --border: #2A2A4A;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 40px rgba(255, 107, 53, 0.15);
    --nav-bg: rgba(15, 15, 26, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

body.loading-active {
    overflow: hidden !important;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 99px;
}

/* ══════════════════════════════════════
           LOADING SCREEN
           ══════════════════════════════════════ */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0F0F1A;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-screen.fade-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.loading-logo {
    width: 64px;
    height: 64px;
    background: var(--accent);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    animation: loadLogoPulse 2s ease-in-out infinite;
}

@keyframes loadLogoPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
    }

    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 16px rgba(255, 107, 53, 0);
    }
}

.loading-brand-text {
    font-weight: 800;
    font-size: 1.6rem;
    color: #F0F0F0;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* Equalizer bars */
.loading-equalizer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    height: 48px;
    margin-bottom: 32px;
}

.eq-bar {
    width: 5px;
    border-radius: 99px;
    background: var(--accent);
    animation: eqBounce 1.2s ease-in-out infinite;
}

.eq-bar:nth-child(1) {
    height: 18px;
    animation-delay: 0s;
}

.eq-bar:nth-child(2) {
    height: 32px;
    animation-delay: 0.1s;
}

.eq-bar:nth-child(3) {
    height: 48px;
    animation-delay: 0.2s;
}

.eq-bar:nth-child(4) {
    height: 24px;
    animation-delay: 0.3s;
}

.eq-bar:nth-child(5) {
    height: 40px;
    animation-delay: 0.15s;
}

.eq-bar:nth-child(6) {
    height: 16px;
    animation-delay: 0.25s;
}

.eq-bar:nth-child(7) {
    height: 36px;
    animation-delay: 0.05s;
}

@keyframes eqBounce {

    0%,
    100% {
        transform: scaleY(0.35);
        opacity: 0.5;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Progress bar */
.loading-progress-track {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 20px;
}

.loading-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 99px;
    width: 0%;
    transition: width 0.4s ease;
}

/* Status text */
.loading-status {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
    letter-spacing: 0.5px;
    min-height: 20px;
    transition: opacity 0.3s ease;
}

/* Floating dots background */
.loading-bg-dots {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.loading-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 107, 53, 0.12);
    border-radius: 50%;
    animation: loadDotFloat 8s linear infinite;
}

.loading-dot:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.loading-dot:nth-child(2) {
    left: 25%;
    top: 60%;
    animation-delay: -2s;
    animation-duration: 9s;
}

.loading-dot:nth-child(3) {
    left: 45%;
    top: 15%;
    animation-delay: -4s;
    animation-duration: 6s;
}

.loading-dot:nth-child(4) {
    left: 65%;
    top: 75%;
    animation-delay: -1s;
    animation-duration: 10s;
}

.loading-dot:nth-child(5) {
    left: 80%;
    top: 35%;
    animation-delay: -3s;
    animation-duration: 8s;
}

.loading-dot:nth-child(6) {
    left: 90%;
    top: 55%;
    animation-delay: -5s;
    animation-duration: 7.5s;
}

.loading-dot:nth-child(7) {
    left: 35%;
    top: 85%;
    animation-delay: -6s;
    animation-duration: 11s;
}

.loading-dot:nth-child(8) {
    left: 55%;
    top: 40%;
    animation-delay: -2.5s;
    animation-duration: 8.5s;
}

@keyframes loadDotFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-120px) scale(0.5);
        opacity: 0;
    }
}

/* ─── Navbar ─── */
.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    transition: all 0.4s ease;
    z-index: 1050;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text) !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.4s ease;
}

.navbar-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-icon {
    transform: rotate(-8deg) scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text) !important;
    background: var(--bg-secondary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 99px;
}

.search-wrapper {
    position: relative;
    max-width: 280px;
    width: 100%;
}

.search-wrapper input {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 8px 16px 8px 40px;
    font-size: 0.875rem;
    color: var(--text);
    width: 100%;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.search-wrapper input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
    background: var(--card);
}

.search-wrapper input::placeholder {
    color: var(--text-muted);
}

.search-wrapper .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.05);
}

/* ─── Hero ─── */
.hero-section {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section .floating-note {
    position: absolute;
    font-size: 2rem;
    opacity: 0.06;
    animation: floatNote 12s ease-in-out infinite;
    pointer-events: none;
    color: var(--text);
}

.hero-section .floating-note:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.hero-section .floating-note:nth-child(2) {
    top: 25%;
    right: 8%;
    animation-delay: -3s;
    font-size: 2.5rem;
}

.hero-section .floating-note:nth-child(3) {
    bottom: 20%;
    left: 12%;
    animation-delay: -6s;
    font-size: 1.8rem;
}

.hero-section .floating-note:nth-child(4) {
    bottom: 30%;
    right: 15%;
    animation-delay: -9s;
    font-size: 3rem;
}

.hero-section .floating-note:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: -2s;
    font-size: 2.2rem;
}

@keyframes floatNote {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(10deg);
    }

    50% {
        transform: translateY(-10px) rotate(-5deg);
    }

    75% {
        transform: translateY(-25px) rotate(8deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title .accent-word {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.hero-title .accent-word::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent);
    opacity: 0.2;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 400;
    opacity: 0;
    transform: translateY(30px);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
}

.btn-accent:active {
    transform: translateY(0);
}

.btn-outline-custom {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.btn-outline-custom:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    opacity: 0;
    transform: translateY(30px);
}

.hero-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* ─── Reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Section ─── */
.section-padding {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 48px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
}

/* ─── Featured Video ─── */
.featured-card {
    background: var(--card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.featured-card:hover {
    box-shadow: var(--shadow-hover);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 28px 32px;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.video-meta .play-badge {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.3);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
}

.video-song-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.video-artist-name {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.video-artist-name i {
    color: var(--accent);
    margin-right: 4px;
}

.video-tags {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.tag-pill {
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 99px;
    border: 1px solid var(--border);
}

/* ─── Songs ─── */
.song-row {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.song-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 4px 4px 0;
}

.song-row:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.song-row:hover::before {
    transform: scaleY(1);
}

.song-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 28px;
    text-align: center;
}

.song-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.song-row:hover .song-thumb {
    transform: scale(1.08);
}

.song-info {
    flex: 1;
    min-width: 0;
}

.song-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-artist {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.genre-badge {
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 99px;
    white-space: nowrap;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.song-row:hover .genre-badge {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent);
    border-color: rgba(255, 107, 53, 0.2);
}

.btn-watch {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.btn-watch:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: scale(1.04);
}

/* ─── Artists ─── */
.artist-card {
    background: var(--card);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.artist-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.artist-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.artist-card:hover::after {
    transform: scaleX(1);
}

.artist-img-wrapper {
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border);
    transition: all 0.4s ease;
}

.artist-card:hover .artist-img-wrapper {
    border-color: var(--accent);
    transform: scale(1.05);
}

.artist-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.artist-card:hover .artist-img-wrapper img {
    transform: scale(1.1);
}

.artist-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.artist-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.artist-genres {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.artist-genre-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 99px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent);
}

/* ─── Ticker ─── */
.ticker-section {
    padding: 24px 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.ticker-track {
    display: flex;
    gap: 48px;
    animation: tickerScroll 30s linear infinite;
    width: max-content;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.ticker-item .bi {
    color: var(--accent);
    font-size: 1.1rem;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ─── Now Playing Bar ─── */
.now-playing-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 12px 24px;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
}

.now-playing-bar.show {
    transform: translateY(0);
}

.np-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.np-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.np-title {
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.np-artist {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.np-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.np-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 6px;
}

.np-btn:hover {
    color: var(--text);
}

.np-btn-main {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.np-btn-main:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.np-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px;
}

.np-close:hover {
    color: var(--text);
}

/* ─── Footer ─── */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
    margin-bottom: 64px;
    transition: background-color 0.4s ease;
}

.footer-brand {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-brand .brand-icon-sm {
    width: 30px;
    height: 30px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-heading {
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ─── Toast ─── */
.custom-toast {
    position: fixed;
    top: 80px;
    right: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 20px;
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.875rem;
    font-weight: 500;
}

.custom-toast.show {
    transform: translateX(0);
}

.custom-toast .toast-icon {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ─── Stagger ─── */
.delay-1 {
    transition-delay: 0.1s !important;
}

.delay-2 {
    transition-delay: 0.2s !important;
}

.delay-3 {
    transition-delay: 0.3s !important;
}

.delay-4 {
    transition-delay: 0.4s !important;
}

.delay-5 {
    transition-delay: 0.5s !important;
}

.delay-6 {
    transition-delay: 0.6s !important;
}

/* ─── Back to top ─── */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1030;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.4);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero-stats {
        gap: 24px;
    }

    .hero-stat-number {
        font-size: 1.3rem;
    }

    .song-row {
        flex-wrap: wrap;
    }

    .song-number {
        display: none;
    }

    .btn-watch {
        margin-left: auto;
    }

    .video-info {
        padding: 20px;
    }

    .hero-section {
        padding: 100px 0 60px;
    }

    .section-padding {
        padding: 60px 0;
    }
    #np-hidden-iframe iframe {
    width: 0;
    height: 0;
    border: 0;
    opacity: 0;
    position: absolute;
}
    .now-playing-bar {
        padding: 10px 16px;
    }

    .np-artist {
        display: none;
    }

    .search-wrapper {
        max-width: 200px;
    }

    footer {
        margin-bottom: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* ══════════════════════════════════════
   ARTIST DETAIL PAGE
   ══════════════════════════════════════ */

.artist-hero {
    position: relative;
    height: 480px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
}
.artist-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15,15,26,0.3) 0%,
        rgba(15,15,26,0.05) 40%,
        rgba(15,15,26,0.7) 80%,
        rgba(15,15,26,0.95) 100%
    );
    z-index: 1;
}
[data-bs-theme="light"] .artist-hero::before {
    background: linear-gradient(
        to bottom,
        rgba(250,250,250,0.2) 0%,
        rgba(250,250,250,0) 40%,
        rgba(250,250,250,0.75) 80%,
        rgba(250,250,250,0.98) 100%
    );
}
.artist-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 40px 0;
}
.artist-hero-name {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16,1,0.3,1);
}
.artist-hero-name.visible {
    opacity: 1;
    transform: translateY(0);
}
.artist-hero-socials {
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.16,1,0.3,1) 0.15s;
}
.artist-hero-socials.visible {
    opacity: 1;
    transform: translateY(0);
}
.artist-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.artist-social-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.35);
}
.artist-back-btn {
    position: absolute;
    top: 100px;
    left: 0;
    z-index: 3;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}
.artist-back-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    transform: translateX(-3px);
}

/* About card */
.about-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}
.about-card:hover {
    box-shadow: var(--shadow-hover);
}
.about-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}
.about-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}
.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.about-stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 24px;
    text-align: center;
    transition: all 0.3s ease;
}
.about-stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.about-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}
.about-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}
.about-social-list {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 24px;
}
.about-social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
}
.about-social-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.about-social-item:first-child {
    padding-top: 0;
}
.about-social-item:hover {
    color: var(--accent);
    padding-left: 4px;
}
.about-social-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}
.about-social-item span {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Artist detail song section spacing */
.artist-songs-section {
    padding-top: 80px;
}

@media (max-width: 768px) {
    .artist-hero {
        height: 360px;
    }
    .artist-back-btn {
        top: 80px;
    }
    .about-card {
        padding: 24px;
    }
}




/* ══════════════════════════════════════
   MOBILE PERFORMANCE FIXES
   ══════════════════════════════════════ */
/* ══════════════════════════════════════
   MOBILE PERFORMANCE FIX
   ══════════════════════════════════════ */

/* Ticker lebih lambat di HP */
@media (max-width: 768px) {
    .ticker-track {
        animation-duration: 55s !important;
        gap: 32px !important;
    }
}
@media (max-width: 480px) {
    .ticker-track {
        animation-duration: 65s !important;
        gap: 24px !important;
    }
}

/* GPU acceleration buat elemen yang animasi */
.floating-note,
.eq-bar,
.loading-dot,
.loading-logo {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* Reveal elements — force GPU */
.reveal {
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Song row hover — di HP matikan, bikin lag */
@media (max-width: 768px) {
    .song-row:hover {
        transform: none !important;
    }
    .song-row::before {
        display: none;
    }
    .song-row:active {
        background: var(--bg-secondary);
    }
}

/* Artist card hover — di HP matikan */
@media (max-width: 768px) {
    .artist-card:hover {
        transform: none !important;
    }
    .artist-card:active {
        transform: scale(0.98) !important;
    }
}

/* Equalizer di HP perlambat */
@media (max-width: 768px) {
    .eq-bar {
        animation-duration: 1.8s !important;
    }
}

/* Floating notes di HP sembunyikan */
@media (max-width: 768px) {
    .floating-note {
        display: none !important;
    }
    .hero-section {
        padding-top: 100px !important;
        padding-bottom: 60px !important;
    }
}

/* Scroll reveal di HP kurangi jarak */
@media (max-width: 768px) {
    .reveal {
        transform: translateY(24px) !important;
    }
}

/* Artist hero animation di HP */
@media (max-width: 768px) {
    .artist-hero-name {
        transition-delay: 0s !important;
    }
    .artist-hero-socials {
        transition-delay: 0s !important;
    }
}