/* LAGU123 - Apple Music Dark Premium Theme */

:root {
    --bg-page: #181818;
    --bg-container: #1e1e1e;
    --bg-card: #282828;
    --bg-card-hover: #333333;
    --bg-input: #282828;

    --primary: #1db954;
    --primary-hover: #1ed760;
    --primary-gradient: linear-gradient(135deg, #1db954 0%, #1ed760 100%);
    --primary-glow: rgba(29, 185, 84, 0.25);

    --text-main: #f5f5f7;
    --text-muted: #98989d;
    --text-dark: #7c7c80;

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --radius: 10px;
    --radius-sm: 7px;
    --radius-lg: 14px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

::marker {
    content: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    background: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Layout Container - Fixed Width */
body>header,
body>nav,
body>main,
body>footer,
.main-wrapper {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    background: var(--bg-container);
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #0f1a14 0%, var(--bg-container) 100%);
    padding: 20px 20px 18px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 120px;
    background: radial-gradient(ellipse, rgba(29,185,84,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    margin: 0 0 6px 0;
    line-height: 1;
}

.hero-logo {
    height: 38px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 12px rgba(29, 185, 84, 0.15));
}

.tagline {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 3px;
}

.hero-desc {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 auto 14px auto;
    max-width: 560px;
}

/* Search Form */
.search-form {
    margin: 0 auto;
    max-width: 500px;
    position: relative;
    z-index: 10;
}

.search-input-group {
    display: flex;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 99px;
    padding: 4px;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-md);
}

.search-input-group:focus-within {
    border-color: rgba(29,185,84,0.5);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 0 0 3px rgba(29,185,84,0.12), var(--shadow-md);
}

.search-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 11px 18px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.search-input-group input::placeholder {
    color: var(--text-dark);
}

.search-input-group button {
    background: var(--primary-gradient);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 99px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.search-input-group button:hover {
    opacity: 0.9;
    box-shadow: 0 4px 16px var(--primary-glow);
}

/* Navigation */
.nav-top {
    background: rgba(22, 22, 22, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(0,0,0,0.2);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 0 16px;
    background: transparent;
    border: none;
    margin: 0;
    height: 100%;
    width: auto;
    border-radius: 0;
}

.nav-top-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    height: 100%;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
    border: none;
    background: transparent;
    letter-spacing: 0.2px;
    position: relative;
    text-decoration: none;
}

.nav-top-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    width: auto;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px 2px 0 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-top-item:hover {
    color: var(--text-main);
    background: transparent;
}

.nav-top-item:focus-visible {
    color: var(--text-main);
    outline: none;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
}

.nav-top-item:hover::after {
    opacity: 0.5;
}

.nav-top-item-active {
    color: var(--text-main) !important;
    font-weight: 600;
    background: transparent !important;
    box-shadow: none;
}

.nav-top-item-active::after {
    opacity: 1;
    height: 2px;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    height: 100%;
}

.nav-dropdown-toggle {
    cursor: pointer;
    user-select: none;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.nav-arrow {
    font-size: 10px;
    margin-left: 4px;
    opacity: 0.6;
    transition: transform 0.2s ease;
    display: inline-block;
}

.nav-dropdown.open .nav-arrow,
.nav-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 160px;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s;
    transform-origin: top center;
}

.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.nav-dropdown-item:hover {
    color: var(--text-main);
    background: rgba(255,255,255,0.06);
}

/* Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.clear {
    clear: both;
}

/* Main Layout */
.main {
    display: flex;
    align-items: flex-start;
}

.menu {
    flex: 1;
    min-width: 0;
    border-right: 1px solid var(--border);
}

.sidebar {
    width: 260px;
    flex-shrink: 0;
    background: var(--bg-container);
    min-height: 100vh;
}

/* Section Tags */
.tag {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 13px 18px 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.tag::before {
    content: '';
    display: block;
    width: 3px;
    height: 12px;
    background: var(--primary-gradient);
    border-radius: 2px;
    flex-shrink: 0;
}

/* Song List Items */
.song-list-items {
    list-style: none;
}

.song-item {
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.song-item:last-child {
    border-bottom: none;
}

.song-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    color: var(--text-main);
}

.song-item:hover {
    background: var(--bg-card-hover);
}

.song-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: #252528;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-dark);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.song-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.song-item:hover .song-thumb img {
    transform: scale(1.06);
}

.song-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.song-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-artist {
    font-size: 12px;
    color: var(--text-muted);
}

.song-item:hover .song-title {
    color: var(--primary);
}

/* Sidebar Widgets */
.post ul {
    list-style: none;
    padding: 4px 0 8px;
}

.post li {
    border-bottom: none;
    min-width: 0;
    max-width: 100%;
}

.post li a {
    display: block;
    max-width: 100%;
    padding: 7px 18px;
    font-size: 13px;
    color: var(--text-muted);
    transition: all 0.15s;
    border-radius: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sidebar widget links (Lagu Trending dll): artis/meta turun ke baris bawah.
   Pakai display:block (bukan flex) supaya text-overflow ellipsis tetap jalan
   untuk teks panjang — cegah teks mentok terpotong tanpa "...". */
.sidebar-widget .post li a .sidebar-meta {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post li a:hover {
    background: rgba(255,255,255,0.04);
    color: var(--text-main);
    padding-left: 22px;
}

/* Description & Footer */
.description,
.site-footer {
    padding: 20px 20px;
    background: var(--bg-container);
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

.description {
    border-top: none;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
}

.description h1,
.description h2 {
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.description p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
}

.description strong {
    color: var(--text-main);
    font-weight: 600;
}

.description a {
    color: var(--primary);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 12px 0 14px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 12px;
}

.footer-nav a:hover {
    color: var(--text-main);
}

.site-footer {
    text-align: center;
    padding: 16px 20px 28px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ===========================
   INNER PAGE STYLES
   =========================== */

/* Breadcrumb */
.breadcrumb {
    padding: 8px 20px;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 11px;
    color: var(--text-dark);
    border-bottom: none;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
    margin: 0;
}

.breadcrumb::-webkit-scrollbar {
    display: none;
}

.breadcrumb a {
    color: var(--text-dark);
    padding: 0;
    border-radius: 0;
    background: none;
    transition: color 0.15s;
}

.breadcrumb a:hover {
    color: var(--primary);
    background: none;
}

.breadcrumb > span,
.breadcrumb > .bc-sep {
    padding: 0 5px;
    color: var(--text-dark);
    font-size: 9px;
    opacity: 0.4;
    flex-shrink: 0;
}

.breadcrumb > span:last-child {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    opacity: 1;
    padding-left: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Content Container */
.content {
    background: var(--bg-card);
    border-radius: 0;
    overflow: hidden;
}

/* Download Hero (Big CTA Area) */
.dl-hero {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0.02) 40%, var(--bg-card) 100%);
    padding: 32px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.dl-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    color: #fff !important;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow:
        0 4px 20px rgba(34, 197, 94, 0.4),
        0 0 40px rgba(34, 197, 94, 0.15);
    position: relative;
    overflow: visible;
    isolation: isolate;
    z-index: 1;
}

/* Rotating border — animated conic gradient */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.dl-hero-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: conic-gradient(from var(--border-angle),
            #4ade80 0%,
            #22c55e 25%,
            rgba(255, 255, 255, 0.9) 50%,
            #22c55e 75%,
            #4ade80 100%);
    z-index: -2;
    animation: spinBorder 3s linear infinite;
}

/* Inner fill to mask the center — shows only the 2px rim */
.dl-hero-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    z-index: -1;
}

@keyframes spinBorder {
    to {
        --border-angle: 360deg;
    }
}

.dl-hero-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 35px rgba(34, 197, 94, 0.6),
        0 0 60px rgba(34, 197, 94, 0.3);
}

.dl-hero-btn:active {
    transform: translateY(0) scale(0.98);
}

.dl-hero-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.dl-hero-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.dl-hero-text strong {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dl-hero-text small {
    font-size: 13px;
    opacity: 0.75;
    margin-top: 2px;
}

/* Mirror link — semi-solid, visible alternative */
.dl-mirror {
    padding: 14px 30px;
    background: rgba(34, 197, 94, 0.12);
    border: 1.5px solid rgba(34, 197, 94, 0.5);
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    color: #86efac !important;
    gap: 12px;
}
.dl-mirror::before,
.dl-mirror::after {
    display: none !important;
}
.dl-mirror .dl-hero-icon {
    font-size: 22px;
    opacity: 0.8;
}
.dl-mirror .dl-hero-text strong {
    font-size: 16px;
    font-weight: 700;
}
.dl-mirror .dl-hero-text small {
    font-size: 12px;
    opacity: 0.65;
}
.dl-mirror:hover {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.25);
}

.dl-hero-meta {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.dl-badge {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 99px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Song Info Grid */
.song-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    /* Borders between cells */
    border-bottom: 1px solid var(--border);
}

.info-card {
    background: var(--bg-card);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-icon {
    font-size: 20px;
    opacity: 0.7;
}

.info-data {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.info-link {
    color: var(--primary);
    text-decoration: none;
}

/* Related Video Grid */
.related-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.related-card {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.related-card:hover {
    background: var(--bg-card-hover);
}

.related-thumb {
    width: 120px;
    height: 68px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #000;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
}

.related-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.related-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-channel {
    font-size: 12px;
    color: var(--text-muted);
}

/* Video Player */
.video-player {
    background: #000;
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Download Modal — Premium Design */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-container {
    background: linear-gradient(180deg, #161616 0%, #111 100%);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(34, 197, 94, 0.08);
    animation: modalSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
    from {
        transform: translateY(30px) scale(0.92);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Modal Header — with green accent */
.modal-header {
    background: linear-gradient(180deg, #1a1a1a 0%, #161616 100%);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.4), transparent);
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    letter-spacing: 0.3px;
}

/* Close button — circular with hover */
.modal-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 28px 24px;
    text-align: center;
}

/* Song Info */
.modal-song-info {
    margin-bottom: 4px;
}

.modal-song-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
    color: #fff;
}

/* Meta badges — subtle gradient */
.modal-song-meta {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.modal-song-meta span {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 5px 12px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 500;
}

/* Modal States */
.modal-state {
    padding: 8px 0;
}

.modal-state p {
    font-size: 14px;
    color: #ccc;
    margin: 0 0 4px;
}

.modal-state small {
    font-size: 12px;
    color: var(--text-muted);
}

/* ── Download iframe: centering sederhana ── */
#dl-iframe-container {
    width: 100%;
    margin: 12px 0 6px;
    text-align: center;
}
#dl-iframe-container iframe {
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
}

/* Spinner — double ring */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 0.8s linear infinite;
    position: relative;
}

.spinner::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 2px solid transparent;
    border-bottom-color: rgba(34, 197, 94, 0.4);
    border-radius: 50%;
    animation: spin 1.2s linear infinite reverse;
}

.spinner-small {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 12px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success Icon — animated green circle */
.success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
    animation: successPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes successPop {
    from {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.15);
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon.hide,
.success-text.hide {
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s ease;
}

.success-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

/* Ad/instruction note */
.ad-note {
    display: block;
    margin-top: 16px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Download Ad Button */
.dl-ad-btn {
    text-decoration: none;
    margin-bottom: 10px;
}

/* Download Ad Countdown */
.dl-ad-countdown {
    text-align: center;
    margin-top: 8px;
}
.dl-ad-countdown span {
    font-size: 12px;
    color: var(--text-muted);
}
.dl-ad-countdown strong {
    color: var(--primary);
}

/* Download Iframe */
.dl-iframe {
    border: none;
    border-radius: 12px;
    background: transparent;
    display: none;
}

/* Iframe container */
#download-iframe-container {
    border-radius: 12px;
    overflow: hidden;
}

/* Song Details Table (legacy support) */
.song-details table {
    width: 100%;
    border-collapse: collapse;
}

.song-details td {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.song-details tr:last-child td {
    border-bottom: none;
}

.song-details td:first-child {
    color: var(--text-muted);
    width: 100px;
}

/* Buttons */
.download-section {
    padding: 20px;
    text-align: center;
    background: var(--bg-card);
}

.btn-primary {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: #fff;
    color: #fff;
}

/* Badges */
.badge-trending,
.badge-popular {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    margin-left: 6px;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.badge-trending {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
}

.badge-popular {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}


/* Search Results Styling (msearch.php) */
.post-lagu {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.post-lagu:hover {
    background: var(--bg-card-hover);
}

.post-lagu .song-thumb {
    width: 64px;
    height: 48px;
    /* 4:3 aspect ratio matching YT thumbnail roughly */
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background: #202020;
}

.post-lagu .song-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-lagu .song-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.post-lagu .song-title {
    margin-bottom: 0;
}

.post-lagu .song-title a {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color 0.2s;
}

.post-lagu .song-title a:hover {
    color: var(--primary);
}

.post-lagu .song-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.post-lagu .song-action {
    flex-shrink: 0;
    margin-left: auto;
    align-self: center;
}

.post-lagu .btn-download {
    padding: 9px 18px;
    font-size: 12px;
    border-radius: 8px;
    background: var(--primary-gradient);
    border: 0;
    color: #fff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    line-height: 1;
    cursor: pointer;
}

.post-lagu .btn-download:hover {
    filter: brightness(1.08);
    box-shadow: 0 3px 10px rgba(29, 185, 84, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.post-lagu .btn-download:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

.post-lagu .btn-download:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Search Empty State */
.search-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}
.search-empty-icon {
    display: block;
    font-size: 36px;
    margin-bottom: 12px;
    opacity: 0.5;
}
.search-empty p {
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 6px;
}
.search-empty small {
    font-size: 13px;
    color: var(--text-muted);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    margin-top: 0;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination a:hover {
    color: #fff;
    border-color: var(--primary);
    background: rgba(34, 197, 94, 0.1);
    transform: translateY(-2px);
}

/* ===========================
   ARTICLE PAGE BASE STYLES
   =========================== */

.article-page {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    background: var(--bg-container);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

/* Article Header — premium gradient bg */
.article-page .article-header {
    padding: 28px 24px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.04) 0%, transparent 100%);
}

.article-page .article-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 14px;
    padding-left: 16px;
    border-left: 3px solid var(--primary);
}

/* Article Meta — pill badges */
.article-page .article-meta {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.article-page .article-meta span {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 12px;
    border-radius: 99px;
}

/* Share Buttons — pill shaped */
.article-page .share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.article-page .share-btn {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
}

.article-page .share-btn.facebook {
    background: #1877f2;
}

.article-page .share-btn.twitter {
    background: #1da1f2;
}

.article-page .share-btn.whatsapp {
    background: #25d366;
}

.article-page .share-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Article Body — premium typography */
.article-page .article-body {
    padding: 28px 24px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-main);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.article-page .article-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 16px;
    color: #fff;
    padding: 12px 16px;
    border-left: 3px solid var(--primary);
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.06), transparent);
    border-radius: 0 8px 8px 0;
}

.article-page .article-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: #fff;
}

.article-page .article-body p {
    margin-bottom: 18px;
    color: #c4c4c4;
}

.article-page .article-body a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.article-page .article-body a:hover {
    color: #4ade80;
    text-decoration: underline;
}

.article-page .article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Song Info Table (Single Song articles) */
.article-page .article-body .song-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.article-page .article-body .song-info-table td {
    padding: 10px 16px;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
}
.article-page .article-body .song-info-table tr:last-child td {
    border-bottom: none;
}
.article-page .article-body .song-info-table td:first-child {
    width: 120px;
    color: #94a3b8;
    font-weight: 500;
    white-space: nowrap;
}
.article-page .article-body .song-info-table td:first-child strong {
    color: #94a3b8;
}

/* Generic tables inside article body (diskografi, fakta, dll) */
.article-page .article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.88rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
}
.article-page .article-body table th,
.article-page .article-body table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
}
.article-page .article-body table th {
    background: rgba(34, 197, 94, 0.08);
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.82rem;
    white-space: nowrap;
}
.article-page .article-body table td {
    color: #c4c4c4;
}
.article-page .article-body table tr:last-child th,
.article-page .article-body table tr:last-child td {
    border-bottom: none;
}
.article-page .article-body table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}
/* Header row (thead > th) — distinct from row-label th */
.article-page .article-body table thead th {
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}
@media (max-width: 600px) {
    .article-page .article-body table {
        font-size: 0.82rem;
    }
    .article-page .article-body table th,
    .article-page .article-body table td {
        padding: 8px 10px;
    }
}

/* CTA Section — prominent */
.article-page .cta-section {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.03) 100%);
    border-top: 1px solid rgba(34, 197, 94, 0.15);
    border-bottom: 1px solid rgba(34, 197, 94, 0.15);
    padding: 32px 24px;
    text-align: center;
}

.article-page .cta-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.article-page .cta-section p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-page .cta-section .btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.article-page .cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.5);
}

/* Artist Quick Download — glassmorphism border */
.article-page .artist-quick-download {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    border-left: 3px solid var(--primary);
}

.article-page .artist-quick-download h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
}

.article-page .artist-quick-download p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.6;
}

.article-page .artist-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-page .quick-search-form {
    display: flex;
    gap: 8px;
}

.article-page .quick-search-form input {
    flex: 1;
    padding: 10px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.article-page .quick-search-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.1);
}

.article-page .btn-search-artist {
    padding: 10px 20px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.article-page .btn-search-artist:hover {
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.article-page .btn-view-all {
    display: inline-block;
    padding: 10px 16px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 13px;
    transition: all 0.2s;
    text-decoration: none;
}

.article-page .btn-view-all:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(34, 197, 94, 0.05);
}

/* Related Articles — polished cards */
.article-page .related-articles {
    padding: 28px 24px;
    border-top: 1px solid var(--border);
}

.article-page .related-articles h2,
.article-page .related-articles .section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.article-page .related-articles .related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.article-page .related-articles .related-card {
    display: flex;
    flex-direction: column;
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    text-decoration: none;
    transition: all 0.25s;
}

.article-page .related-articles .related-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.article-page .related-articles .related-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.article-page .related-articles .related-card h3 {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    padding: 12px 14px 4px;
    line-height: 1.4;
}

.article-page .related-articles .related-card p {
    font-size: 11px;
    color: var(--text-muted);
    padding: 0 14px 12px;
    line-height: 1.5;
}

/* ───── Article Body Components (AI-generated content) ───── */
.article-page .article-body .article-thumb-wrapper { margin-bottom: 20px; text-align: center; }
.article-page .article-body .article-thumb { width: 100%; max-width: 320px; height: auto; border-radius: 10px; display: inline-block; border: 1px solid #282828; box-shadow: 0 4px 15px rgba(0,0,0,.3); }

.article-page .article-body .table-of-contents { background: #1a1a1a; border-radius: 15px; padding: 25px; margin-bottom: 30px; border: 1px solid #282828; }
.article-page .article-body .table-of-contents h3 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 15px; }
.article-page .article-body .table-of-contents ul { list-style: none; padding: 0; margin: 0; }
.article-page .article-body .table-of-contents li { margin-bottom: 8px; }
.article-page .article-body .table-of-contents a { color: #1db954; text-decoration: none; font-size: 13px; display: block; padding: 8px 15px; border-radius: 8px; transition: all .3s; }
.article-page .article-body .table-of-contents a:hover { background: #282828; padding-left: 20px; }

.article-page .article-body .album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin: 25px 0; }
.article-page .article-body .album-card { background: #1a1a1a; border-radius: 12px; overflow: hidden; border: 1px solid #282828; transition: all .3s ease; display: flex; flex-direction: column; }
.article-page .article-body .album-card:hover { transform: translateY(-5px); border-color: #1db954; box-shadow: 0 10px 30px rgba(29,185,84,.2); }
.article-page .article-body .album-card img,
.article-page .article-body .album-card .album-thumbnail { width: 100%; height: 150px; object-fit: cover; background: #282828; border-radius: 8px 8px 0 0; }
.article-page .article-body .album-card h3 { color: #1db954; font-size: 14px; margin: 12px 15px 5px; font-weight: 600; }
.article-page .article-body .album-year { color: #888; font-size: 12px; display: block; margin: 0 15px 8px; }
.article-page .article-body .album-card p { font-size: 12px; color: #aaa; margin: 0 15px 12px; line-height: 1.5; flex: 1; }

.article-page .article-body .artist-song-card { background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; border: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; gap: 14px; transition: all .3s ease; position: relative; overflow: hidden; }
.article-page .article-body .artist-song-card:hover { border-color: rgba(34,197,94,.2); transform: translateX(4px); box-shadow: 0 8px 25px rgba(34,197,94,.1); }
.article-page .article-body .artist-song-card .num { font-size: 18px; font-weight: 700; color: #64748b; line-height: 1; min-width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); border-radius: 10px; flex-shrink: 0; border: 1px solid rgba(255,255,255,.08); }
.article-page .article-body .artist-song-card .info { flex: 1; min-width: 0; }
.article-page .article-body .artist-song-card .info h4 { color: #fff; font-size: 15px; font-weight: 600; margin: 0 0 4px 0; line-height: 1.4; }
.article-page .article-body .artist-song-card .info p { color: #999; font-size: 13px; line-height: 1.5; margin: 0; }

.article-page .article-body .artist-song-card .dl-btn,
.article-page .article-body ol.song-list > li .dl-btn { padding: 10px 20px; background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff !important; text-decoration: none !important; border-radius: 99px; font-weight: 700; font-size: 12px; white-space: nowrap; transition: all .25s; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 2px 10px rgba(34,197,94,.25); flex-shrink: 0; }
.article-page .article-body .artist-song-card .dl-btn:hover,
.article-page .article-body ol.song-list > li .dl-btn:hover { background: linear-gradient(135deg, #4ade80, #22c55e); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(34,197,94,.35); }

.article-page .article-body ol.song-list { list-style: none; padding: 0; margin: 24px 0; }
.article-page .article-body ol.song-list > li { background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; border: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; gap: 14px; transition: all .3s ease; position: relative; overflow: hidden; }
.article-page .article-body ol.song-list > li:hover { border-color: rgba(34,197,94,.2); transform: translateX(4px); box-shadow: 0 8px 25px rgba(34,197,94,.1); }
.article-page .article-body ol.song-list > li .num { font-size: 18px; font-weight: 700; color: #64748b; line-height: 1; min-width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); border-radius: 10px; flex-shrink: 0; border: 1px solid rgba(255,255,255,.08); }
.article-page .article-body ol.song-list > li .song-info { flex: 1; min-width: 0; }
.article-page .article-body ol.song-list > li .song-info h3 { font-size: 15px; font-weight: 700; margin: 0 0 4px 0; color: #f0f0f0; line-height: 1.4; }
.article-page .article-body ol.song-list > li .song-info h3 a { color: #f0f0f0; text-decoration: none; transition: color .2s; }
.article-page .article-body ol.song-list > li .song-info h3 a:hover { color: #22c55e; }
.article-page .article-body ol.song-list > li .song-info p { font-size: 13px; color: #94a3b8; line-height: 1.5; margin: 0; }

.article-page .article-body .featured-download-card { background: linear-gradient(135deg, #0f2a1a 0%, #0a1f14 100%); border: 2px solid rgba(34,197,94,.25); border-radius: 18px; padding: 28px 24px; margin: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; overflow: hidden; }
.article-page .article-body .featured-download-card:hover { border-color: rgba(34,197,94,.4); box-shadow: 0 10px 40px rgba(34,197,94,.15); }
.article-page .article-body .featured-download-card .featured-dl-btn,
.article-page .article-body .featured-download-card .featured-download-btn { padding: 14px 28px; background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff !important; text-decoration: none !important; border-radius: 99px; font-weight: 700; font-size: 14px; white-space: nowrap; transition: all .3s; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 15px rgba(34,197,94,.3); flex-shrink: 0; }

.article-page .article-body .faq-container { margin: 28px 0; }
.article-page .article-body .faq-item { background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%); border-radius: 14px; padding: 20px; margin-bottom: 12px; border: 1px solid rgba(255,255,255,.06); transition: all .3s; }
.article-page .article-body .faq-item:hover { border-color: rgba(34,197,94,.2); box-shadow: 0 5px 20px rgba(34,197,94,.08); }
.article-page .article-body .faq-question { color: #22c55e; font-size: 15px; font-weight: 600; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px; }
.article-page .article-body .faq-answer p { color: #b3b3b3; font-size: 13px; line-height: 1.7; margin: 0; }

.article-page .article-body ul { list-style: none; padding: 0; margin: 20px 0; }
.article-page .article-body ul li { background: linear-gradient(135deg, rgba(34,197,94,.05), rgba(34,197,94,.01)); border: 1px solid rgba(34,197,94,.1); border-radius: 12px; padding: 14px 16px 14px 40px; margin-bottom: 10px; font-size: 13px; color: #ccc; line-height: 1.6; position: relative; transition: all .25s; }
.article-page .article-body ul li::before { content: '✦'; position: absolute; left: 14px; top: 14px; color: #22c55e; font-size: 12px; }
.article-page .article-body ul li:hover { border-color: rgba(34,197,94,.25); transform: translateX(3px); box-shadow: 0 4px 15px rgba(34,197,94,.08); }

.article-meta .meta-icon { width: 14px; height: 14px; color: var(--primary, #22c55e); vertical-align: -2px; display: inline-block; margin-right: 2px; }

@media (max-width: 768px) {
    .article-page .article-body .album-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
    .article-page .article-body ol.song-list > li { flex-wrap: wrap; }
    .article-page .article-body ol.song-list > li .song-info { min-width: calc(100% - 58px); }
    .article-page .article-body ol.song-list > li .dl-btn { flex-basis: 100%; justify-content: center; padding: 10px 16px; }
    .article-page .article-body .artist-song-card { flex-wrap: wrap; }
    .article-page .article-body .artist-song-card .dl-btn { flex-basis: 100%; justify-content: center; text-align: center; }
    .article-page .article-body .featured-download-card { flex-direction: column; text-align: center; padding: 22px 18px; }
}

/* ===========================
   MOBILE UTILITY / GLOBAL
   =========================== */

/* Prevent horizontal overflow on mobile */
html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* Make images responsive by default */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth scrolling on touch devices */
@supports (-webkit-overflow-scrolling: touch) {
    * {
        -webkit-overflow-scrolling: touch;
    }
}

/* Touch-friendly tap targets — only for nav & sidebar links */
@media (hover: none) and (pointer: coarse) {

    .nav-top-item {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .post li a {
        min-height: 44px;
        display: block;
        padding-top: 11px;
        padding-bottom: 11px;
    }
}

/* ============================================================
   RESPONSIVE DESIGN — Mobile-first adaptations
   Design is 100% preserved. Only layout/sizing adapts.
   ============================================================ */

/* ---------- Tablet: <= 900px ---------- */
@media (max-width: 900px) {

    body>header,
    body>nav,
    body>main,
    .main-wrapper,
    .article-page,
    .breadcrumb {
        max-width: 100%;
        box-shadow: none;
    }
}

/* ---------- Small Tablet / Large Phone: <= 768px ---------- */
@media (max-width: 768px) {

    /* Layout: stack sidebar below content */
    .main {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border);
        min-height: auto;
    }

    .menu {
        width: 100%;
        border-right: none;
    }

    /* Hero */
    .hero {
        padding: 16px 16px 14px;
    }

    .hero-logo {
        height: 34px;
    }

    .tagline {
        font-size: 10px;
        letter-spacing: 1px;
        margin-bottom: 4px;
        line-height: 1.5;
    }

    .hero-desc {
        font-size: 12px;
        padding: 0 8px;
        margin-bottom: 12px;
    }

    /* Search */
    .search-form {
        max-width: 100%;
        padding: 0 4px;
    }

    .search-input-group {
        padding: 3px;
    }

    .search-input-group input {
        padding: 10px 14px;
        font-size: 14px;
        min-width: 0;
    }

    .search-input-group button {
        padding: 10px 14px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Nav — compact centered row */
    .nav-top {
        height: 46px;
        display: flex;
        justify-content: center;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 0;
        padding: 0 4px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links::-webkit-scrollbar { display: none; }

    .nav-top-item {
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0.1px;
        padding: 0 12px;
        text-transform: none;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .nav-top-item::after {
        left: 12px;
        right: 12px;
    }

    .nav-dropdown {
        flex-shrink: 0;
    }

    .nav-dropdown-menu {
        position: fixed;
        top: 46px;
        left: 50%;
        transform: translateX(-50%);
        min-width: 150px;
        border-radius: 10px;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        transform: translateX(-50%);
    }

    .nav-dropdown-item {
        padding: 9px 16px;
        font-size: 12px;
    }

    /* Description — generous padding for readability */
    .description {
        padding: 20px 24px;
        font-size: 13px;
        line-height: 1.7;
    }

    .description p {
        margin: 0;
    }

    /* Song list */
    .song-link {
        padding: 12px 14px;
        gap: 12px;
    }

    .song-thumb {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }

    .song-title {
        font-size: 14px;
    }

    .song-artist {
        font-size: 12px;
    }

    /* Section Tags */
    .tag {
        font-size: 10px;
        padding: 11px 14px 10px;
    }

    /* Search Results */
    .post-lagu {
        padding: 12px 16px;
        gap: 12px;
    }

    .post-lagu .song-thumb {
        width: 52px;
        height: 52px;
        border-radius: 10px;
    }

    .post-lagu .song-title a {
        font-size: 14px;
    }

    .post-lagu .btn-download {
        padding: 7px 14px;
        font-size: 12px;
        letter-spacing: 0;
        border-radius: 99px;
    }

    /* Song Info Grid - stack to single column */
    .song-info-grid {
        grid-template-columns: 1fr;
    }

    /* Download Hero — full-width CTA */
    .dl-hero {
        padding: 20px 16px;
    }

    .dl-hero-btn {
        padding: 14px 20px;
        border-radius: 14px;
        width: 100%;
        justify-content: center;
    }

    .dl-hero-text strong {
        font-size: 16px;
    }

    .dl-hero-text small {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 220px;
        display: inline-block;
    }

    .dl-hero-meta {
        margin-top: 12px;
        gap: 6px;
    }

    .dl-badge {
        padding: 3px 10px;
        font-size: 11px;
    }

    /* Info Grid — keep 2x2 but compact */
    .song-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .info-icon {
        font-size: 18px;
    }

    .info-label {
        font-size: 11px;
    }

    .info-value {
        font-size: 13px;
    }

    /* Related Videos */
    .related-card {
        padding: 12px 14px;
        gap: 12px;
    }

    .related-thumb {
        width: 100px;
        height: 56px;
    }

    .related-title {
        font-size: 13px;
    }

    .related-channel {
        font-size: 12px;
    }

    /* Modal — fits screen */
    .modal-overlay {
        padding: 16px;
    }

    .modal-container {
        border-radius: 20px;
        max-width: 100%;
    }

    .modal-header {
        padding: 14px 18px;
    }

    .modal-header h3 {
        font-size: 14px;
    }

    .modal-close {
        font-size: 28px;
        padding: 4px 8px;
    }

    .modal-body {
        padding: 20px 16px;
    }

    .modal-song-info h4 {
        font-size: 14px;
    }

    .modal-song-meta {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Breadcrumb */
    .breadcrumb {
        padding: 7px 16px;
        font-size: 11px;
    }

    /* Description & Footer */
    .description,
    .site-footer {
        padding: 20px 20px;
        font-size: 13px;
    }

    .description h1,
    .description h2 {
        font-size: 14px;
    }

    /* Footer Nav */
    .footer-nav {
        gap: 14px;
        flex-wrap: wrap;
    }

    .footer-nav a {
        font-size: 12px;
    }

    /* Pagination */
    .pagination {
        padding: 24px 0;
        gap: 6px;
    }

    .pagination a {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Sidebar Widget */
    .post li a {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* ---------- Article Page: <= 768px ---------- */
@media (max-width: 768px) {

    /* Article Page - sidebar stacking */
    .article-page .article-content {
        width: 100%;
    }

    /* Article Header */
    .article-page .article-header {
        padding: 20px 16px;
    }

    .article-page .article-header h1 {
        font-size: 20px;
        line-height: 1.35;
    }

    .article-page .article-meta {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 12px;
    }

    /* Share Buttons */
    .article-page .share-buttons {
        padding: 14px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .article-page .share-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    /* Article Body */
    .article-page .article-body {
        padding: 20px 16px;
        font-size: 14px;
    }

    .article-page .article-body h2 {
        font-size: 17px;
    }

    .article-page .article-body h3 {
        font-size: 15px;
    }

    /* CTA Section */
    .article-page .cta-section {
        padding: 24px 16px;
    }

    .article-page .cta-section h2 {
        font-size: 17px;
    }

    /* Quick Download */
    .article-page .artist-quick-download {
        padding: 20px 16px;
    }

    .article-page .quick-search-form {
        flex-direction: column;
    }

    .article-page .quick-search-form input,
    .article-page .quick-search-form button,
    .article-page .btn-view-all {
        width: 100%;
        text-align: center;
    }

    /* Related Articles */
    .article-page .related-articles .related-grid {
        grid-template-columns: 1fr;
    }

    .article-page .related-card img {
        height: 56px;
        width: 100px;
    }

    /* Album & Facts grids */
    .article-page .article-body .album-grid,
    .article-page .article-body .facts-grid {
        grid-template-columns: 1fr;
    }

    .article-page .article-body .song-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-page .article-body .song-number {
        font-size: 28px;
        min-width: auto;
    }

    .article-page .article-body .download-button {
        width: 100%;
        text-align: center;
    }

    /* Table of Contents */
    .article-page .article-body .table-of-contents {
        padding: 18px;
        margin-bottom: 24px;
    }

    .article-page .article-body .table-of-contents a {
        font-size: 12px;
        padding: 7px 12px;
    }

    /* FAQ */
    .article-page .article-body .faq-item {
        padding: 16px;
    }

    .article-page .article-body .faq-question {
        font-size: 14px;
    }

    .article-page .article-body .faq-answer p {
        font-size: 13px;
    }
}

/* ---------- Mobile Phone: <= 480px ---------- */
@media (max-width: 480px) {

    /* Hero — compact & clean */
    .hero {
        padding: 18px 16px 14px;
    }

    .hero-logo {
        height: 30px;
        margin-bottom: 4px;
    }

    .tagline {
        font-size: 10px;
        letter-spacing: 0.8px;
        line-height: 1.5;
        max-width: 280px;
        margin: 0 auto 6px;
    }

    .hero-desc {
        display: none;
    }

    /* Search — keep inline but shrink */
    .search-input-group {
        border-radius: 99px;
        flex-direction: row;
        gap: 0;
        padding: 3px;
    }

    .search-input-group input {
        padding: 10px 14px;
        font-size: 14px;
        min-width: 0;
        width: 0;
    }

    .search-input-group button {
        padding: 10px 12px;
        font-size: 12px;
        letter-spacing: 0;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: 64px;
    }

    /* Nav — compact centered row */
    .nav-top {
        height: 42px;
        display: flex;
        justify-content: center;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        gap: 0;
        width: 100%;
        padding: 0 2px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links::-webkit-scrollbar { display: none; }

    .nav-top-item {
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0;
        padding: 0 10px;
        text-transform: none;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .nav-top-item::after {
        left: 10px;
        right: 10px;
    }

    .nav-arrow {
        font-size: 9px;
    }

    .nav-dropdown {
        flex-shrink: 0;
    }

    .nav-dropdown-menu {
        position: fixed;
        top: 42px;
        left: 50%;
        transform: translateX(-50%);
        min-width: 140px;
        border-radius: 8px;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        transform: translateX(-50%);
    }

    .nav-dropdown-item {
        padding: 9px 16px;
        font-size: 12px;
    }

    /* Description — mobile optimized */
    .description {
        padding: 16px 16px;
        font-size: 13px;
        line-height: 1.7;
    }

    .description h1,
    .description h2 {
        font-size: 14px;
    }

    .description p {
        font-size: 13px;
    }

    /* Song list: compact */
    .song-link {
        padding: 9px 12px;
        gap: 10px;
    }

    .song-rank {
        font-size: 10px;
        min-width: 16px;
    }

    .song-thumb {
        width: 42px;
        height: 42px;
        border-radius: 6px;
    }

    .song-title {
        font-size: 14px;
    }

    .song-artist {
        font-size: 12px;
    }

    /* Section tag */
    .tag {
        font-size: 10px;
        padding: 11px 14px 10px;
    }

    .tag::before {
        width: 2px;
        height: 10px;
    }

    /* Search results */
    .post-lagu {
        padding: 10px 14px;
        gap: 10px;
    }

    .post-lagu .song-thumb {
        width: 46px;
        height: 46px;
        border-radius: 8px;
    }

    .post-lagu .song-title a {
        font-size: 14px;
    }

    .post-lagu .song-meta {
        font-size: 12px;
    }

    .post-lagu .btn-download {
        padding: 7px 12px;
        font-size: 11px;
        border-radius: 99px;
        letter-spacing: 0;
    }

    /* Download hero — compact & premium */
    .dl-hero {
        padding: 16px 14px;
    }

    .dl-hero-btn {
        padding: 12px 16px;
        gap: 10px;
        border-radius: 12px;
        width: 100%;
    }

    .dl-hero-icon {
        font-size: 20px;
    }

    .dl-hero-text strong {
        font-size: 14px;
    }

    .dl-hero-text small {
        font-size: 12px;
        max-width: 180px;
    }

    .dl-hero-meta {
        gap: 4px;
        margin-top: 10px;
    }

    .dl-badge {
        padding: 3px 8px;
        font-size: 11px;
    }

    /* Info cards */
    .info-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .info-icon {
        font-size: 16px;
    }

    .info-label {
        font-size: 11px;
    }

    .info-value {
        font-size: 13px;
    }

    /* Related videos — compact but visible */
    .related-card {
        padding: 10px 14px;
        gap: 10px;
    }

    .related-thumb {
        width: 90px;
        height: 50px;
        border-radius: 6px;
    }

    .related-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .related-channel {
        font-size: 11px;
    }

    .related-duration {
        font-size: 10px;
        padding: 2px 4px;
    }

    /* Modal — full width, touch-friendly */
    .modal-overlay {
        padding: 12px;
    }

    .modal-container {
        max-width: 100%;
        border-radius: 16px;
    }

    .modal-header {
        padding: 12px 16px;
    }

    .modal-header h3 {
        font-size: 13px;
    }

    .modal-close {
        font-size: 26px;
        padding: 4px 6px;
    }

    .modal-body {
        padding: 16px 14px;
    }

    .modal-song-info h4 {
        font-size: 13px;
    }

    .modal-song-meta {
        gap: 4px;
        font-size: 11px;
    }

    .modal-song-meta span {
        padding: 3px 8px;
    }

    /* Breadcrumb */
    .breadcrumb {
        padding: 6px 14px;
        font-size: 11px;
    }

    .breadcrumb > span:last-child {
        font-size: 11px;
    }

    /* Description and footer */
    .description,
    .site-footer {
        padding: 18px 16px;
        font-size: 13px;
        line-height: 1.7;
    }

    .description h1,
    .description h2 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .footer-nav {
        gap: 10px;
        margin: 16px 0;
    }

    .footer-nav a {
        font-size: 12px;
    }

    /* Pagination */
    .pagination {
        padding: 20px 8px;
        gap: 4px;
    }

    .pagination a {
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 6px;
    }

    /* Sidebar widget links */
    .post li a {
        padding: 10px 14px;
        font-size: 13px;
    }

    /* Badge adjustments */
    .badge-trending,
    .badge-popular {
        font-size: 10px;
        padding: 2px 6px;
        margin-left: 4px;
    }

    /* Article page heading */
    .article-page .article-header h1 {
        font-size: 18px;
    }

    .article-page .article-meta span {
        font-size: 12px;
    }

    .article-page .article-body {
        padding: 16px 12px;
        font-size: 13px;
        line-height: 1.7;
    }

    .article-page .article-body h2 {
        font-size: 16px;
    }

    .article-page .article-body h3 {
        font-size: 14px;
    }

    .article-page .article-body .article-thumb {
        max-width: 260px;
    }

    .article-page .article-body .album-card img,
    .article-page .article-body .album-card .album-thumbnail {
        height: 120px;
    }

    .article-page .article-body .album-card h3 {
        font-size: 13px;
        margin: 10px 12px 4px;
    }

    .article-page .article-body .album-card p {
        font-size: 12px;
        margin: 0 12px 10px;
    }

    .article-page .article-body .song-item {
        padding: 14px;
        margin-bottom: 10px;
    }

    .article-page .article-body .song-content h3,
    .article-page .article-body .song-title {
        font-size: 14px;
    }

    .article-page .article-body .song-info {
        font-size: 12px;
    }

    .article-page .article-body .song-description {
        font-size: 12px;
    }

    .article-page .article-body .fact-box {
        padding: 14px;
        gap: 10px;
    }

    .article-page .article-body .fact-icon {
        font-size: 22px;
    }

    .article-page .article-body .fact-content h4 {
        font-size: 13px;
    }

    .article-page .article-body .fact-content p {
        font-size: 12px;
    }

    /* CTA section */
    .article-page .cta-section {
        padding: 20px 12px;
    }

    .article-page .cta-section h2 {
        font-size: 15px;
    }

    .article-page .cta-section p {
        font-size: 13px;
    }
}

/* ---------- Very Small: <= 360px ---------- */
@media (max-width: 360px) {

    .nav-links {
        gap: 6px;
        padding: 0 4px;
    }

    .nav-top-item {
        font-size: 11px;
        letter-spacing: 0;
        padding: 0 8px;
    }

    .search-input-group button {
        padding: 9px 10px;
        font-size: 11px;
        min-width: 56px;
    }

    .song-thumb {
        width: 40px;
        height: 40px;
    }

    .song-title {
        font-size: 13px;
    }

    .dl-hero-btn {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .dl-hero-text {
        text-align: center;
    }

    .post-lagu .btn-download {
        padding: 6px 10px;
        font-size: 10px;
    }

    .related-thumb {
        width: 70px;
        height: 40px;
    }
}

/* ===========================
   ARTICLES LISTING PAGE
   =========================== */
.articles-page {
    padding: 0 0 32px;
}

/* -- Page Header -- */
.al-header {
    padding: 24px 24px 0;
    margin-bottom: 28px;
}

.al-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.al-subtitle {
    color: var(--text-dark);
    font-size: 13px;
    margin-top: 6px;
    line-height: 1.5;
}

/* -- Featured Article (Hero) -- */
.al-featured {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    margin: 0 20px 8px;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.06) 0%, rgba(29, 185, 84, 0.02) 100%);
    border: 1px solid rgba(29, 185, 84, 0.12);
    transition: border-color 0.2s, background 0.2s;
}

.al-featured:hover {
    border-color: rgba(29, 185, 84, 0.25);
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.08) 0%, rgba(29, 185, 84, 0.03) 100%);
    color: inherit;
}

.al-featured-thumb {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-input);
    border: 1px solid var(--border);
}

.al-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.al-featured-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #111a14 0%, var(--bg-card) 100%);
    font-size: 32px;
    color: var(--text-dark);
}

.al-featured-body {
    flex: 1;
    min-width: 0;
}

.al-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: rgba(34, 197, 94, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.al-featured-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
    margin-bottom: 4px;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.al-featured:hover .al-featured-title {
    color: var(--primary);
}

.al-featured-meta {
    font-size: 11px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.al-featured-excerpt {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* -- Article List -- */
.al-list {
    display: flex;
    flex-direction: column;
}

.al-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.al-item:last-child {
    border-bottom: none;
}

.al-item:hover {
    background: var(--bg-card);
    color: inherit;
}

.al-item-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-input);
}

.al-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.al-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #111a14 0%, var(--bg-card) 100%);
    font-size: 20px;
    color: var(--text-dark);
}

.al-item-body {
    flex: 1;
    min-width: 0;
}

.al-item-title {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 3px;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.al-item:hover .al-item-title {
    color: var(--primary);
}

.al-item-meta {
    font-size: 11px;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.al-item-excerpt {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* -- Pagination -- */
.articles-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    padding: 0 24px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.page-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text-main);
}

.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    font-weight: 700;
}

.page-dots {
    color: var(--text-dark);
    font-size: 13px;
    padding: 0 4px;
}

/* -- Empty State -- */
.articles-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.articles-empty svg {
    margin-bottom: 12px;
    opacity: 0.3;
    color: var(--text-dark);
}

.articles-empty p {
    font-size: 14px;
}


/* -- Sidebar Articles (used on other pages) -- */
.sidebar-articles {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-article-item {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.sidebar-article-item:hover {
    background: var(--bg-card-hover);
    color: inherit;
}

.sidebar-article-thumb {
    width: 60px;
    height: 42px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-input);
}

.sidebar-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-article-thumb-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0.4;
    font-size: 16px;
}

.sidebar-article-info {
    flex: 1;
    min-width: 0;
}

.sidebar-article-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.sidebar-article-item:hover .sidebar-article-title {
    color: var(--primary);
}

.sidebar-article-date {
    font-size: 11px;
    color: var(--text-dark);
    margin-top: 3px;
}

.sidebar-more {
    display: block;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 4px;
    transition: all 0.2s;
}

.sidebar-more:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    color: var(--primary);
}

/* -- Responsive -- */
@media (max-width: 600px) {
    .al-header {
        padding: 20px 16px 0;
        margin-bottom: 16px;
    }

    .al-title {
        font-size: 20px;
    }

    .al-featured {
        margin: 0 14px 8px;
        padding: 16px;
        gap: 14px;
    }

    .al-featured-thumb {
        width: 64px;
        height: 64px;
    }

    .al-featured-title {
        font-size: 14px;
    }

    .al-featured-excerpt {
        display: none;
    }

    .al-item {
        padding: 12px 14px;
        gap: 12px;
    }

    .al-item-thumb {
        width: 48px;
        height: 48px;
    }

    .al-item-title {
        font-size: 13px;
    }

    .al-item-excerpt {
        display: none;
    }

    .articles-pagination {
        padding: 20px 16px 0;
    }
}

/* ═══════════════════════════════════════════════ */
/* Static Pages: About, Contact, Privacy          */
/* ═══════════════════════════════════════════════ */

main.page {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px 50px;
    color: var(--text-main);
    line-height: 1.8;
}

main.page h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

main.page h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 28px;
    margin-bottom: 10px;
}

main.page h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 20px;
    margin-bottom: 8px;
}

main.page p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

main.page a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

main.page a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

main.page .last-updated {
    font-size: 12px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
}

main.page .feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

main.page .feature-list li {
    position: relative;
    padding: 10px 12px 10px 28px;
    margin-bottom: 4px;
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.2s;
}

main.page .feature-list li:hover {
    border-color: var(--border-hover);
}

main.page .feature-list li::before {
    content: '✓';
    position: absolute;
    left: 10px;
    top: 10px;
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
}

main.page .feature-list li strong {
    color: var(--text-main);
}

main.page .contact-email {
    display: inline-block;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    color: var(--primary);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    main.page {
        padding: 20px 15px 40px;
    }
    main.page h1 {
        font-size: 20px;
    }
    main.page h2 {
        font-size: 16px;
    }
}

/* ═══════════════════════════════════════════════════
   LARAVEL-ONLY COMPONENTS
   (chart, song, artist, genre, download, home articles)
   ═══════════════════════════════════════════════════ */

/* ───── Chart Page ───── */
.chart-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.chart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    transition: background 0.15s;
}
.chart-item + .chart-item {
    border-top: 1px solid var(--border);
}
.chart-item:hover {
    background: var(--bg-card-hover);
}
.chart-rank {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    min-width: 28px;
    text-align: center;
}
.chart-item:nth-child(-n+3) .chart-rank {
    color: var(--primary);
}
.chart-thumb {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-input);
}
.chart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.chart-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 20px;
}
.chart-info {
    flex: 1;
    min-width: 0;
}
.chart-song-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chart-song-title a {
    color: inherit;
    text-decoration: none;
}
.chart-song-title a:hover {
    color: var(--primary);
}
.chart-song-artist {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chart-song-artist a {
    color: inherit;
    text-decoration: none;
}
.chart-song-artist a:hover {
    color: var(--primary);
}
.chart-genre {
    display: inline-block;
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-input);
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
}
.chart-actions {
    flex-shrink: 0;
}
.chart-actions .btn-download {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: var(--primary-gradient);
    border-radius: 99px;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.15s;
}
.chart-actions .btn-download:hover {
    opacity: 0.85;
    color: #fff;
    transform: translateY(-1px);
}
.chart-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-dark);
    font-size: 14px;
}

/* ───── Song Page ───── */
.song-page-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 24px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.03) 0%, transparent 100%);
}
.song-page-cover {
    width: 140px;
    height: 140px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-input);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.song-page-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.song-page-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #111a14, var(--bg-card));
    font-size: 48px;
    color: var(--text-dark);
}
.song-page-info {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}
.song-page-info h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.3;
}
.song-page-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 0;
    font-size: 13px;
}
.song-page-meta a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.song-page-meta a:hover {
    text-decoration: underline;
}
.song-page-divider {
    color: var(--text-dark);
    font-size: 10px;
}
.song-page-peak {
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 99px;
    background: rgba(29, 185, 84, 0.1);
    color: var(--primary);
    font-weight: 600;
    border: 1px solid rgba(29, 185, 84, 0.15);
}
.song-page-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.song-page-actions .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--primary-gradient);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    border-radius: 99px;
    text-decoration: none;
    transition: opacity 0.15s;
}
.song-page-actions .btn-download:hover {
    opacity: 0.85;
    color: #fff;
}
.song-page-actions .btn-itunes {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 13px;
    border-radius: 99px;
    text-decoration: none;
    transition: border-color 0.15s;
}
.song-page-actions .btn-itunes:hover {
    border-color: var(--border-hover);
    color: var(--text-main);
}

/* ───── Song Page: Download CTA ───── */
.song-page-download {
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.song-page-download .dl-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: var(--primary-gradient);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 99px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 16px rgba(29, 185, 84, 0.3);
}
.song-page-download .dl-hero-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: #fff;
}
.song-page-download .dl-hero-btn .dl-hero-icon {
    font-size: 18px;
}
.song-page-download .dl-hero-btn .dl-hero-text {
    text-align: left;
    line-height: 1.3;
}
.song-page-download .dl-hero-btn .dl-hero-text strong {
    display: block;
    font-size: 14px;
}
.song-page-download .dl-hero-btn .dl-hero-text small {
    font-size: 11px;
    opacity: 0.85;
}
.song-page-download .dl-hero-meta {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.song-page-download .dl-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 99px;
    background: var(--bg-input);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* ───── Song Page: Related Songs Tracklist ───── */
.song-page-related {
    border-top: 1px solid var(--border);
    padding-top: 4px;
}
.song-page-list {
    display: flex;
    flex-direction: column;
}
.song-page-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}
.song-page-list-item:hover {
    background: var(--bg-card);
}
.song-page-list-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-dark);
}
.song-page-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.song-page-list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.song-page-list-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.song-page-list-item:hover .song-page-list-title {
    color: var(--primary);
}
.song-page-list-artist {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ───── Artist Page ───── */
.artist-page-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(34,197,94,0.03) 0%, transparent 100%);
}
.artist-page-avatar {
    width: 80px;
    height: 80px;
    border-radius: 99px;
    background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(34,197,94,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid rgba(34,197,94,0.15);
}
.artist-page-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.artist-page-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
}
.artist-page-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-muted);
}
.artist-page-stats span {
    font-size: 12px;
    color: var(--text-dark);
}
.artist-page-genre {
    display: inline-block;
    font-size: 12px;
    padding: 3px 10px;
    background: var(--bg-input);
    border-radius: 99px;
    color: var(--text-muted);
    border: 1px solid var(--border);
    transition: border-color 0.15s, color 0.15s;
}
.artist-page-genre:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ───── Genre Page ───── */
.genre-artists-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
}
.genre-artist-chip {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 99px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.15s;
}
.genre-artist-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(34,197,94,0.06);
}

/* ───── Section Subtitle (used in genre/artist pages) ───── */
.section-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 14px 24px 8px;
    margin: 0;
    letter-spacing: 0.01em;
}
.song-page-related .section-subtitle {
    padding: 16px 20px 10px;
}
.yt-results-section {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.yt-results-section .section-subtitle {
    padding: 0 0 12px;
}

/* ───── Steps List (how-to sections) ───── */
.steps-list {
    margin: 8px 0 0 18px;
    padding: 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-muted);
    list-style: decimal;
}
.steps-list li {
    list-style: decimal;
    padding-left: 4px;
}
.steps-list li::marker {
    content: unset;
    color: var(--text-dark);
}
.steps-list strong {
    color: var(--text-main);
    font-weight: 600;
}

/* ───── Download / Music Page ───── */
.dl-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}
.dl-hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-dark);
}
.dl-hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dl-hero-text {
    flex: 1;
    min-width: 0;
}
.dl-hero-text h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}
.dl-hero-text .dl-hero-artist {
    font-size: 14px;
    color: var(--text-muted);
}
.dl-hero-text .dl-hero-artist a {
    color: var(--primary);
    text-decoration: none;
}
.dl-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--primary-gradient);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    border-radius: 99px;
    text-decoration: none;
    transition: opacity 0.15s;
    flex-shrink: 0;
}
.dl-hero-btn:hover { opacity: 0.85; color: #fff; }
.dl-hero-btn.dl-mirror {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.dl-hero-btn.dl-mirror:hover {
    border-color: var(--border-hover);
    color: var(--text-main);
}
.dl-hero-meta {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.dl-badge {
    display: inline-block;
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.dl-results {
    padding: 0;
}
.dl-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}
.dl-result-item:hover {
    background: var(--bg-card-hover);
}
.dl-result-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-input);
}
.dl-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dl-result-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-dark);
}
.dl-result-info {
    flex: 1;
    min-width: 0;
}
.dl-result-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 2px;
}
.dl-result-title a {
    color: inherit;
    text-decoration: none;
}
.dl-result-title a:hover {
    color: var(--primary);
}
.dl-result-meta {
    font-size: 12px;
    color: var(--text-dark);
}
.dl-result-meta span {
    display: block;
    font-size: 12px;
    opacity: 0.85;
    margin-top: 2px;
}
.dl-result-action {
    flex-shrink: 0;
}
.dl-result-action .btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    background: var(--primary-gradient);
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.2px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.dl-result-action .btn-download:hover {
    filter: brightness(1.08);
    box-shadow: 0 3px 8px rgba(29, 185, 84, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: translateY(-1px);
}
.dl-result-action .btn-download:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(0, 0, 0, 0.15);
}
.dl-result-action .btn-download:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.dl-result-action .btn-download span {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
}
.ad-note {
    text-align: center;
    padding: 16px;
    font-size: 12px;
    color: var(--text-dark);
}

/* ───── Info Cards ───── */
.info-card {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
}
.info-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

/* ───── Home Articles Inline ───── */
.home-articles-inline {
    border-top: 1px solid var(--border);
}
.home-article-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}
.home-article-row + .home-article-row {
    border-top: 1px solid var(--border);
}
.home-article-row:hover {
    background: var(--bg-card-hover);
    color: inherit;
}
.home-article-row-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 54px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-input);
}
.home-article-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.home-article-row:hover .home-article-row-thumb img {
    transform: scale(1.06);
}
.home-article-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-dark);
    background: var(--bg-card);
}
.home-article-row-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.home-article-row-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.home-article-row:hover .home-article-row-title {
    color: var(--primary);
}
.home-article-row-excerpt {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.home-article-row-date {
    font-size: 11px;
    color: var(--text-dark);
}
.home-articles-more-wrap {
    padding: 12px 18px;
    border-top: 1px solid var(--border);
    text-align: right;
}
.home-articles-more {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    border: 1px solid rgba(29,185,84,0.25);
    border-radius: 99px;
    text-decoration: none;
    transition: all 0.2s;
}
.home-articles-more:hover {
    background: rgba(29,185,84,0.08);
    border-color: var(--primary);
    color: var(--primary);
}

/* Song Rank Number */
.song-rank {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    min-width: 20px;
    text-align: center;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.song-item:hover .song-rank {
    color: var(--primary);
}

/* Sidebar Enhancements */
.sidebar-widget + .sidebar-widget {
    border-top: 1px solid var(--border);
}

.sidebar-meta {
    display: block;
    font-size: 11px;
    color: var(--text-dark);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-badge {
    font-size: 10px;
    color: var(--text-dark);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 1px 7px;
    margin-left: 4px;
    vertical-align: middle;
    white-space: nowrap;
    flex-shrink: 0;
}

.sidebar-genre-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 14px 14px;
}

.sidebar-genre-chip {
    display: inline-block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 99px;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}

.sidebar-genre-chip:hover {
    color: var(--text-main);
    background: rgba(29,185,84,0.1);
    border-color: rgba(29,185,84,0.3);
}

/* ───── Mobile Responsive for Laravel Components ───── */
@media (max-width: 500px) {
    .chart-item {
        padding: 12px 16px;
        gap: 10px;
    }
    .chart-rank {
        font-size: 14px;
        min-width: 24px;
    }
    .chart-thumb {
        width: 44px;
        height: 44px;
    }
    .chart-song-title {
        font-size: 14px;
    }
    .chart-actions .btn-download {
        padding: 7px 12px;
        font-size: 12px;
    }
    .artist-page-header {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        gap: 14px;
    }
    .artist-page-avatar {
        width: 64px;
        height: 64px;
        font-size: 22px;
    }
    .artist-page-header h1 {
        font-size: 18px;
    }
    .artist-page-stats {
        justify-content: center;
        font-size: 12px;
    }
    .artist-page-genre {
        font-size: 11px;
        padding: 2px 8px;
    }
    .section-subtitle {
        font-size: 12px;
        padding: 12px 16px 0;
    }
    .genre-artists-bar {
        padding: 12px 16px;
        gap: 6px;
    }
    .genre-artist-chip {
        padding: 5px 12px;
        font-size: 11px;
    }
    .steps-list {
        font-size: 12px;
        margin-left: 16px;
    }
    .song-page-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 16px;
    }
    .song-page-cover {
        width: 110px;
        height: 110px;
    }
    .song-page-info h1 {
        font-size: 16px;
    }
    .song-page-meta {
        justify-content: center;
    }
    .song-page-list-item {
        padding: 10px 16px;
    }
    .yt-results-section {
        padding: 16px;
    }
    /* Mobile compact card: thumbnail kecil di kiri, info di tengah, button di kanan.
       Sebelumnya pakai flex-wrap yang bikin tiap item jadi card raksasa full-width. */
    .dl-result-item {
        flex-wrap: nowrap;
        gap: 10px;
        padding: 10px 12px;
        align-items: center;
    }
    .dl-result-thumb {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
        aspect-ratio: 1 / 1;
        border-radius: 6px;
        overflow: hidden;
    }
    .dl-result-info {
        flex: 1;
        min-width: 0;
    }
    .dl-result-title {
        font-size: 13px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .dl-result-meta {
        font-size: 11px;
        color: var(--text-muted, #94a3b8);
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .dl-result-action {
        flex: 0 0 auto;
        width: auto;
    }
    .dl-result-action .btn-download {
        width: auto;
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 8px;
        white-space: nowrap;
    }
    .home-article-row {
        padding: 12px 16px;
        gap: 12px;
    }
    .home-article-row-thumb {
        width: 80px;
        height: 56px;
    }
    .home-article-row-title {
        font-size: 14px;
    }
    .home-article-row-excerpt {
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }
}


/* ═══════════════════════════════════════════════
   ARTICLE CLUSTER — "Baca Juga" widget
   ═══════════════════════════════════════════════ */
.article-cluster-related {
    margin: 32px 0 24px;
    padding: 20px 24px;
    background: rgba(34,197,94,.04);
    border: 1px solid rgba(34,197,94,.18);
    border-radius: 12px;
}
.article-cluster-related h2 {
    margin: 0 0 16px;
    font-size: 16px;
    color: #fff;
    font-weight: 700;
}
.cluster-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.cluster-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--card-bg, rgba(255,255,255,.03));
    border: 1px solid var(--border, rgba(255,255,255,.06));
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background .15s, border-color .15s;
}
.cluster-item a:hover {
    background: rgba(34,197,94,.08);
    border-color: rgba(34,197,94,.25);
    text-decoration: none;
}
.cluster-item img {
    flex: 0 0 80px;
    width: 80px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
    background: #222;
}
.cluster-title {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main, #e5e5e5);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 600px) {
    .article-cluster-related { padding: 16px; }
    .cluster-list { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════
   ARTICLE BYLINE — EEAT signal (author + reviewer)
   ═══════════════════════════════════════════════ */
.article-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin: 14px 0 18px;
    background: var(--card-bg, rgba(255,255,255,.03));
    border: 1px solid var(--border, rgba(255,255,255,.08));
    border-radius: 8px;
}
.byline-avatar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.byline-avatar svg { width: 22px; height: 22px; }
.byline-info { flex: 1; min-width: 0; }
.byline-author {
    font-size: 13px;
    color: var(--text-main, #e5e5e5);
    font-weight: 600;
    margin: 0;
}
.byline-author a {
    color: var(--primary, #22c55e);
    text-decoration: none;
}
.byline-author a:hover { text-decoration: underline; }
.byline-meta {
    font-size: 11.5px;
    color: var(--text-muted, #94a3b8);
    margin-top: 2px;
}
@media (max-width: 600px) {
    .article-byline { padding: 10px 12px; gap: 10px; }
    .byline-avatar { flex: 0 0 32px; width: 32px; height: 32px; }
    .byline-avatar svg { width: 18px; height: 18px; }
}
