:root {
    --rj-bg: #0a0a0f;
    --rj-surface: #14141f;
    --rj-surface-2: #1c1c2b;
    --rj-border: rgba(255, 255, 255, 0.08);
    --rj-text: #f4f4f8;
    --rj-muted: #9b9bb0;
    --rj-accent: #e63946;
    --rj-accent-2: #9d4edd;
    --rj-player-h: 112px;
    --rj-header-h: 72px;
}

* { box-sizing: border-box; }

/* Shell layout (optional pages) */
.rj-body--shell .rj-player-bar {
    margin-right: 0;
}

.rj-body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--rj-bg);
    color: var(--rj-text);
    min-height: 100vh;
    padding-bottom: calc(var(--rj-player-h) + 24px);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(157, 78, 221, 0.18), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(230, 57, 70, 0.12), transparent);
}

.rj-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rj-border);
}

.rj-logo {
    color: var(--rj-text);
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rj-logo i {
    color: var(--rj-accent);
    font-size: 1.4rem;
}

.rj-search-form .form-control,
.rj-search-form .input-group-text {
    background: var(--rj-surface);
    border-color: var(--rj-border);
    color: var(--rj-text);
}

.rj-search-form .form-control:focus {
    background: var(--rj-surface-2);
    border-color: var(--rj-accent-2);
    color: var(--rj-text);
    box-shadow: 0 0 0 0.2rem rgba(157, 78, 221, 0.25);
}

.rj-hero {
    padding: 2rem 0 1.5rem;
}

.rj-hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.rj-hero p {
    color: var(--rj-muted);
    max-width: 36rem;
}

.rj-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rj-categories {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.rj-category-chip {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
    border-radius: 999px;
    color: var(--rj-text);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.rj-category-chip:hover {
    border-color: var(--rj-accent-2);
    color: var(--rj-text);
    transform: translateY(-2px);
}

.rj-category-chip img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.rj-cat-genre-tag {
    font-size: 0.7rem;
    color: var(--rj-cat-accent, var(--rj-muted));
    margin-right: 0.35rem;
}

.rj-tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .rj-tracks-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

.rj-track-card {
    position: relative;
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.rj-track-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.rj-track-thumb-link {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
}

.rj-track-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.rj-track-card:hover .rj-track-thumb {
    transform: scale(1.05);
}

.rj-btn-like {
    position: absolute;
    top: 0.5rem;
    inset-inline-end: 0.5rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.5rem;
    border: none;
    border-radius: 999px;
    background: rgba(10, 10, 15, 0.72);
    color: #fff;
    font-size: 0.8rem;
    line-height: 1;
    backdrop-filter: blur(6px);
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.rj-btn-like:hover {
    background: rgba(230, 57, 70, 0.9);
    color: #fff;
    transform: scale(1.05);
}

.rj-btn-like.is-liked,
.rj-btn-like.is-liked:hover {
    background: rgba(230, 57, 70, 0.95);
    color: #fff;
}

.rj-btn-like.is-busy {
    opacity: 0.65;
    pointer-events: none;
}

.rj-btn-like--hero {
    position: static;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
}

.rj-btn-like--hero.is-liked {
    border-color: var(--rj-accent);
}

.rj-like-count {
    font-weight: 600;
    font-size: 0.75rem;
}

.rj-track-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) scale(0.8);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--rj-accent);
    color: #fff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 2;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.5);
}

.rj-track-card:hover .rj-track-play-overlay {
    opacity: 1;
    transform: translate(-50%, -60%) scale(1);
}

.rj-track-meta {
    padding: 0.75rem;
}

.rj-track-title {
    display: block;
    color: var(--rj-text);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rj-track-title:hover { color: var(--rj-accent); }

.rj-track-artist {
    color: var(--rj-muted);
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rj-track-category {
    color: var(--rj-accent-2);
    text-decoration: none;
}

.rj-track-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.rj-tag-chip,
.rj-tag-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    line-height: 1.4;
    background: rgba(157, 78, 221, 0.18);
    color: var(--rj-accent-2);
    border: 1px solid rgba(157, 78, 221, 0.35);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.rj-tag-chip:hover,
.rj-tag-badge:hover {
    background: rgba(157, 78, 221, 0.32);
    color: #fff;
}

.rj-tag-hero {
    padding: 1.5rem 0 0.5rem;
}

.rj-tag-label {
    color: var(--rj-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Track detail page */
.rj-track-hero {
    display: grid;
    gap: 2rem;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .rj-track-hero {
        grid-template-columns: 280px 1fr;
        align-items: end;
    }
}

.rj-track-hero-cover {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.rj-track-hero-title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.rj-track-hero-artist {
    font-size: 1.15rem;
    color: var(--rj-muted);
    margin-bottom: 1rem;
}

.rj-track-hero-artist a {
    color: var(--rj-text);
}

.rj-track-hero-artist a:hover {
    color: var(--rj-accent);
}

.rj-btn-play-lg {
    background: linear-gradient(135deg, var(--rj-accent), var(--rj-accent-2));
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 999px;
}

.rj-btn-play-lg:hover {
    filter: brightness(1.1);
    background: linear-gradient(135deg, var(--rj-accent), var(--rj-accent-2));
}

.rj-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--rj-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.rj-description {
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
    border-radius: 12px;
    padding: 1.25rem;
    color: var(--rj-muted);
    line-height: 1.8;
}

.rj-lyrics-section .rj-section-title {
    margin-top: 0;
}

.rj-lyrics-body {
    margin-top: 0;
}

.rj-lyrics-body p {
    margin: 0 0 1rem;
}

.rj-lyrics-body p:last-child {
    margin-bottom: 0;
}

.rj-lyrics-body a {
    color: var(--rj-accent-2);
    text-decoration: underline;
}

.rj-lyrics-body a:hover {
    color: var(--rj-accent);
}

.rj-lyrics-body ul,
.rj-lyrics-body ol {
    margin: 0 0 1rem;
    padding-right: 1.25rem;
}

.rj-lyrics-body h2,
.rj-lyrics-body h3,
.rj-lyrics-body h4 {
    color: var(--rj-text);
    font-size: 1.1rem;
    margin: 1.25rem 0 0.75rem;
}

body.rj-nav-loading #rj-page-root {
    opacity: 0.72;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* Player bar */
.rj-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(14, 14, 22, 0.97);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--rj-border);
    padding-top: 6px;
}

.rj-player-seek-wrap {
    padding: 0 12px 8px;
    cursor: pointer;
    direction: ltr;
}

.rj-player-seek-track {
    position: relative;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: visible;
    transition: height 0.15s ease;
    direction: ltr;
    unicode-bidi: isolate;
}

.rj-player-seek-wrap:hover .rj-player-seek-track,
.rj-player-seek-wrap:focus-within .rj-player-seek-track {
    height: 6px;
}

.rj-player-seek-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rj-accent), var(--rj-accent-2));
    pointer-events: none;
    transition: width 0.08s linear;
}

.rj-player-seek-input {
    position: absolute;
    inset: -8px 0;
    width: 100%;
    height: calc(100% + 16px);
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.rj-player-main {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding-bottom: 6px;
}

.rj-player-now-playing {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.rj-player-cover,
.rj-player-cover-placeholder {
    width: 52px;
    height: 52px;
    object-fit: cover;
    flex-shrink: 0;
}

.rj-player-cover-placeholder {
    background: var(--rj-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rj-muted);
    font-size: 1.15rem;
}

.rj-player-title {
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.3;
}

.rj-player-artist {
    color: var(--rj-muted);
    font-size: 0.8rem;
    line-height: 1.3;
}

.rj-player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.rj-player-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.rj-player-times {
    display: flex;
    align-items: center;
    gap: 4px;
    font-variant-numeric: tabular-nums;
    font-size: 0.75rem;
    color: var(--rj-muted);
    user-select: none;
}

.rj-time-sep {
    opacity: 0.45;
}

.rj-player-btn {
    color: var(--rj-text);
    font-size: 1.15rem;
    padding: 0.2rem;
    line-height: 1;
}

.rj-player-btn:hover { color: var(--rj-accent); }

.rj-btn-play-main {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.3rem;
    background: var(--rj-accent);
    border: none;
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.35);
}

.rj-btn-play-main:hover { background: #ff4d5a; }

.rj-player-extras {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.rj-quality-select {
    width: auto;
    min-width: 72px;
    padding: 4px 28px 4px 10px;
    font-size: 0.78rem;
    border-radius: 999px;
    border: 1px solid var(--rj-border);
    background: var(--rj-surface-2);
    color: var(--rj-text);
    cursor: pointer;
}

.rj-quality-select:focus {
    border-color: rgba(230, 57, 70, 0.5);
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.15);
}

.rj-player-volume {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.rj-volume-btn {
    font-size: 1rem;
    flex-shrink: 0;
}

.rj-volume-track {
    width: 88px;
    position: relative;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    direction: ltr;
    unicode-bidi: isolate;
}

.rj-volume-input {
    position: absolute;
    inset: -8px 0;
    width: 100%;
    height: calc(100% + 16px);
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.rj-volume-track::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--rj-vol-pct, 85%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rj-accent), var(--rj-accent-2));
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .rj-player-main {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }

    .rj-player-now-playing {
        justify-content: center;
    }

    .rj-player-extras {
        justify-content: center;
    }

    .rj-volume-track {
        width: 120px;
    }
}

.rj-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--rj-muted);
}

.rj-loading {
    text-align: center;
    padding: 2rem;
    color: var(--rj-muted);
}

.rj-admin-link {
    border-color: var(--rj-border) !important;
    color: var(--rj-muted) !important;
}

.rj-admin-link:hover {
    background: var(--rj-surface);
    color: var(--rj-text) !important;
}

.min-w-0 { min-width: 0; }

/* Artist profile */
.rj-artist-profile { margin: 0 -0.75rem; }

#rj-artist-albums-wrap,
#rj-artist-tracks-wrap {
    margin-top: 1.5rem;
}

.rj-btn-follow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border: 1px solid var(--rj-border);
    border-radius: 999px;
    background: var(--rj-surface);
    color: var(--rj-text);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rj-btn-follow:hover {
    border-color: var(--rj-accent-2);
    color: #fff;
    background: rgba(62, 166, 255, 0.2);
}

.rj-btn-follow.is-following,
.rj-btn-follow.is-following:hover {
    background: rgba(62, 166, 255, 0.25);
    border-color: var(--rj-accent-2);
    color: #fff;
}

.rj-btn-follow.is-busy {
    opacity: 0.6;
    pointer-events: none;
}

.rj-follow-count {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--rj-muted);
}

.rj-btn-follow.is-following .rj-follow-count {
    color: rgba(255, 255, 255, 0.85);
}

.rj-artist-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.rj-artist-hero {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--rj-border);
}

.rj-artist-hero-bg {
    position: absolute;
    inset: 0;
    background-image: var(--rj-artist-cover);
    background-size: cover;
    background-position: center;
    filter: blur(24px) brightness(0.35);
    transform: scale(1.1);
}

.rj-artist-hero-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1.5rem;
    padding: 2rem 1.5rem 1.75rem;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.85) 70%);
}

.rj-artist-avatar {
    width: clamp(120px, 22vw, 180px);
    height: clamp(120px, 22vw, 180px);
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--rj-bg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.rj-artist-name {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rj-artist-name-en {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--rj-muted);
    letter-spacing: 0.02em;
}

.rj-verified { color: #3ea6ff; font-size: 0.85em; }

.rj-artist-meta { color: var(--rj-muted); margin-bottom: 0.75rem; }

.rj-artist-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 0.9rem;
    color: var(--rj-muted);
    margin-bottom: 1rem;
}

.rj-artist-stats strong { color: var(--rj-text); font-weight: 600; }

.rj-artist-bio {
    max-width: 42rem;
    color: var(--rj-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.rj-artist-social { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.rj-artists-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.rj-artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.25rem;
}

.rj-artist-card {
    flex: 0 0 auto;
    width: 130px;
    text-align: center;
    text-decoration: none;
    color: var(--rj-text);
    transition: transform 0.2s, border-color 0.2s;
}

.rj-artists-row .rj-artist-card {
    width: 130px;
}

.rj-artist-card--grid {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
    border-radius: 16px;
}

.rj-artist-card--grid:hover {
    border-color: rgba(230, 57, 70, 0.45);
    transform: translateY(-4px);
}

.rj-artist-card:hover {
    color: var(--rj-text);
    transform: translateY(-4px);
}

.rj-artist-card-photo {
    margin-bottom: 0.75rem;
}

.rj-artist-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--rj-border);
    margin-bottom: 0.5rem;
}

.rj-artist-card--grid img {
    width: 100%;
    max-width: 140px;
    height: auto;
    aspect-ratio: 1;
    margin-bottom: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.rj-artist-card-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
}

.rj-artist-card-genre {
    display: block;
    font-size: 0.8rem;
    color: var(--rj-muted);
    margin-top: 0.25rem;
}

.rj-artist-card-listeners {
    display: block;
    font-size: 0.75rem;
    color: var(--rj-accent-2);
    margin-top: 0.35rem;
}

.rj-track-artist a {
    color: var(--rj-muted);
    text-decoration: none;
}

.rj-track-artist a:hover { color: var(--rj-accent-2); }

/* Category / genre profile */
.rj-category-hero {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--rj-border);
}

.rj-category-hero-bg {
    position: absolute;
    inset: 0;
    background-image: var(--rj-cat-cover);
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.35);
    transform: scale(1.08);
}

.rj-category-hero-content {
    position: relative;
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.9) 65%);
}

.rj-category-avatar {
    border-radius: 1rem;
    object-fit: cover;
    border: 3px solid var(--rj-cat-accent, var(--rj-accent-2));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.rj-category-label {
    color: var(--rj-cat-accent, var(--rj-accent-2));
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rj-category-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 0.9rem;
}

.rj-category-bio {
    max-width: 42rem;
    color: var(--rj-muted);
    line-height: 1.7;
}

.rj-category-chip[style*="--rj-cat-accent"] {
    border-color: var(--rj-cat-accent, var(--rj-border));
}

/* Kurdify site layout */
.rj-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.rj-logo-img--sm {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}

.rj-footer-brand .rj-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.rj-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    color: var(--rj-text);
}

.rj-logo-text small {
    font-size: 0.65rem;
    color: var(--rj-muted);
    font-weight: 500;
}

.rj-nav {
    display: flex;
    gap: 0.25rem 1rem;
    flex-wrap: wrap;
}

.rj-nav a {
    color: var(--rj-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

@media (min-width: 1920px) {
    .rj-nav {
        gap: 0.25rem 2.25rem;
    }
}

@media (min-width: 2560px) {
    .rj-nav {
        gap: 0.25rem 3rem;
    }
}

.rj-nav a:hover,
.rj-nav a.active {
    color: var(--rj-text);
    border-bottom-color: var(--rj-accent);
}

.rj-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rj-mobile-nav a {
    color: var(--rj-text);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: var(--rj-surface);
}

.rj-offcanvas {
    background: var(--rj-surface);
    color: var(--rj-text);
}

.rj-hero-home h1 {
    background: linear-gradient(90deg, #fff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rj-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0 1rem;
}

.rj-section-head .rj-section-title {
    margin: 0;
}

.rj-section-more {
    color: var(--rj-accent-2);
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.rj-home-banners-section {
    margin: 0 0 1.5rem;
    width: 100%;
    padding: 0.75rem 1rem 0.25rem;
}

.rj-banners-wrap {
    width: 100%;
    max-width: 100%;
}

.rj-banner-slider {
    position: relative;
    width: 100%;
}

.rj-banner-slider-viewport {
    overflow: hidden;
    width: 100%;
    height: 360px;
    border-radius: 16px;
    cursor: grab;
    touch-action: pan-y;
}

.rj-banner-slider-viewport.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.rj-banner-slider-track {
    display: flex;
    gap: 0;
    height: 100%;
    will-change: transform;
}

.rj-banner-card {
    flex: 0 0 auto;
    position: relative;
    display: block;
    height: 360px;
    text-decoration: none;
    color: #fff;
    border-radius: 16px;
    overflow: hidden;
    background: var(--rj-surface-2, #1a1a24);
}

a.rj-banner-card {
    cursor: pointer;
}

.rj-banner-card-media {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    background: #12121a;
}

.rj-banner-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.rj-banner-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 10, 15, 0.82) 0%, rgba(10, 10, 15, 0.08) 45%, transparent 100%);
    pointer-events: none;
}

.rj-banner-card-body {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0 0.875rem 0.875rem;
    z-index: 1;
    pointer-events: none;
}

.rj-banner-card-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.2rem;
}

.rj-banner-card-sub {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
}

.rj-banner-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 0.625rem;
    min-height: 0.4375rem;
}

.rj-banner-slider-dots[hidden] {
    display: none;
}

.rj-banner-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.rj-banner-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.rj-banner-dot.is-active {
    width: 18px;
    background: var(--rj-accent-2);
}

.rj-banner-slider--skeleton .rj-banner-card--skeleton {
    flex: 1 1 100%;
    width: 100%;
    height: 360px;
    background: linear-gradient(
        110deg,
        var(--rj-surface) 0%,
        rgba(157, 78, 221, 0.12) 45%,
        var(--rj-surface) 90%
    );
    background-size: 200% 100%;
    animation: rj-banner-shimmer 1.4s ease-in-out infinite;
    border-radius: 16px;
}

@keyframes rj-banner-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

body.rj-has-banners .rj-hero-home {
    display: none;
}

.rj-albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.25rem;
}

.rj-album-card {
    display: block;
    text-decoration: none;
    color: var(--rj-text);
    transition: transform 0.2s;
}

.rj-album-card:hover {
    transform: translateY(-4px);
    color: var(--rj-text);
}

.rj-album-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--rj-border);
}

.rj-album-card-title {
    display: block;
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.rj-playlist-card-count {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--rj-muted);
}

.rj-playlist-hero .rj-playlist-play-all {
    margin-top: 0.75rem;
}

.rj-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.rj-category-tile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--rj-text);
    transition: border-color 0.2s;
}

.rj-category-tile:hover {
    border-color: var(--rj-accent-2);
    color: var(--rj-text);
}

.rj-category-tile img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}

.rj-category-tile h3 {
    margin: 0;
    font-size: 1rem;
}

.rj-album-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.rj-album-hero-cover {
    border-radius: 16px;
    border: 1px solid var(--rj-border);
    object-fit: cover;
}

.rj-album-desc {
    color: var(--rj-muted);
    max-width: 36rem;
    line-height: 1.7;
}

.rj-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rj-pill {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
    color: var(--rj-muted);
    text-decoration: none;
    font-size: 0.85rem;
}

.rj-pill.active,
.rj-pill:hover {
    border-color: var(--rj-accent);
    color: var(--rj-text);
}

.rj-list-pagination .page-link {
    background: var(--rj-surface);
    border-color: var(--rj-border);
    color: var(--rj-muted);
}

.rj-list-pagination .page-item.active .page-link {
    background: var(--rj-accent);
    border-color: var(--rj-accent);
    color: #fff;
}

.rj-list-pagination .page-link:hover {
    border-color: var(--rj-accent-2);
    color: var(--rj-text);
}

.rj-main {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
}

.rj-detail-page {
    width: 100%;
    max-width: 960px;
    margin-inline: auto;
    padding-bottom: 1rem;
}

.rj-page-content {
    max-width: 48rem;
    line-height: 1.8;
    color: var(--rj-muted);
}

.rj-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.rj-blog-card {
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.rj-blog-card:hover {
    border-color: rgba(230, 57, 70, 0.45);
    transform: translateY(-2px);
}

.rj-blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.rj-blog-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: var(--rj-surface-2);
}

.rj-blog-card-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--rj-muted);
}

.rj-blog-card-body {
    padding: 1.25rem;
}

.rj-blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.rj-blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--rj-muted);
    margin: 0 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rj-blog-post {
    max-width: 52rem;
    margin: 0 auto;
}

.rj-blog-post-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.rj-blog-post-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.rj-blog-post-body {
    max-width: none;
    color: var(--rj-text);
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
}

.rj-blog-post-excerpt {
    border-right: 3px solid var(--rj-accent-2);
    padding-right: 1rem;
}

.rj-blog-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.rj-breadcrumb a {
    color: var(--rj-muted);
    text-decoration: none;
}

.rj-breadcrumb a:hover {
    color: var(--rj-text);
}

.rj-blog-pagination .page-link {
    background: var(--rj-surface);
    border-color: var(--rj-border);
    color: var(--rj-text);
}

.rj-blog-pagination .page-item.active .page-link {
    background: var(--rj-accent);
    border-color: var(--rj-accent);
}

.rj-contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
    border-radius: 12px;
}

.rj-contact-card i {
    font-size: 1.5rem;
    color: var(--rj-accent-2);
}

.rj-contact-card a {
    color: var(--rj-text);
}

.rj-auth-wrap {
    display: flex;
    justify-content: center;
    padding: 2rem 0 4rem;
}

.rj-auth-card {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
    border-radius: 16px;
}

.rj-auth-tabs .nav-link {
    color: var(--rj-muted);
    background: transparent;
}

.rj-auth-tabs .nav-link.active {
    background: var(--rj-accent);
    color: #fff;
}

.rj-otp-code-input {
    letter-spacing: 0.35em;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.rj-login-prompt {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.rj-login-prompt.is-open {
    opacity: 1;
    visibility: visible;
}

.rj-login-prompt-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.72);
    backdrop-filter: blur(6px);
}

.rj-login-prompt-dialog {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 2rem 1.75rem 1.75rem;
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    text-align: center;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.22s ease;
}

.rj-login-prompt.is-open .rj-login-prompt-dialog {
    transform: translateY(0) scale(1);
}

.rj-login-prompt-close {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--rj-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.rj-login-prompt-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--rj-text);
}

.rj-login-prompt-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(157, 78, 221, 0.15);
    color: var(--rj-accent-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.rj-login-prompt-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.65rem;
}

.rj-login-prompt-message {
    color: var(--rj-muted);
    margin: 0 0 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.rj-login-prompt-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.rj-login-prompt-actions .btn {
    width: 100%;
    padding: 0.65rem 1rem;
    font-weight: 600;
}

body.rj-login-prompt-open {
    overflow: hidden;
}

.rj-profile-wrap {
    display: flex;
    justify-content: center;
    padding: 1rem 0 4rem;
}

.rj-profile-card {
    width: 100%;
    max-width: 720px;
    padding: 2rem;
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
    border-radius: 16px;
}

.rj-profile-tabs .nav-link {
    color: var(--rj-muted);
    background: transparent;
    font-size: 0.9rem;
}

.rj-profile-tabs .nav-link.active {
    background: var(--rj-accent);
    color: #fff;
}

.rj-profile-form .form-control:disabled {
    opacity: 0.65;
}

.rj-user-playlist-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.rj-user-playlist-card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rj-my-playlist-hero .rj-my-playlist-name-group {
    max-width: 28rem;
}

.rj-my-playlist-hero {
    padding: 0.5rem 0 1.5rem;
    border-bottom: 1px solid var(--rj-border);
    margin-bottom: 1.5rem;
}

.rj-user-playlist-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(157, 78, 221, 0.22), rgba(90, 45, 130, 0.35));
    border: 1px solid rgba(157, 78, 221, 0.35);
    color: var(--rj-accent-2);
    font-size: 2.75rem;
}

.rj-user-playlist-icon--sm {
    width: 44px;
    height: 44px;
    aspect-ratio: auto;
    flex-shrink: 0;
    font-size: 1.25rem;
    border-radius: 10px;
}

.rj-user-playlist-card-link .rj-user-playlist-icon {
    margin-bottom: 0.65rem;
}

.rj-add-playlist-item .rj-user-playlist-icon--sm {
    margin-bottom: 0;
}

.rj-my-playlist-tracks .rj-track-card {
    position: relative;
}

.rj-playlist-remove-track {
    position: absolute;
    top: 0.5rem;
    inset-inline-start: 0.5rem;
    z-index: 3;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.75);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s, background 0.15s;
}

.rj-my-playlist-tracks .rj-track-card:hover .rj-playlist-remove-track,
.rj-playlist-remove-track:focus {
    opacity: 1;
}

.rj-playlist-remove-track:hover {
    background: rgba(220, 53, 69, 0.9);
}

.rj-my-playlist-toast {
    position: fixed;
    bottom: 5.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    z-index: 1100;
    padding: 0.65rem 1.25rem;
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
    border-radius: 999px;
    color: var(--rj-text);
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.rj-my-playlist-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.rj-add-playlist-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.rj-add-playlist-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.rj-add-playlist-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.72);
    backdrop-filter: blur(6px);
}

.rj-add-playlist-dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: min(85vh, 520px);
    overflow: auto;
    padding: 1.5rem;
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.rj-add-playlist-close {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--rj-muted);
    cursor: pointer;
}

.rj-add-playlist-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.rj-add-playlist-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 280px;
    overflow-y: auto;
}

.rj-add-playlist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--rj-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--rj-text);
    text-align: start;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.rj-add-playlist-item:hover {
    border-color: var(--rj-accent);
    background: rgba(157, 78, 221, 0.08);
}

.rj-add-playlist-item img {
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.rj-add-playlist-item-name {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
}

.rj-add-playlist-item-count {
    font-size: 0.8rem;
    color: var(--rj-muted);
}

body.rj-add-playlist-open {
    overflow: hidden;
}

.rj-footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rj-footer-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rj-muted);
    margin-bottom: 1rem;
}

.rj-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rj-footer-links a {
    color: var(--rj-muted);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2;
}

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

.rj-site-footer {
    border-top: 1px solid var(--rj-border);
    margin-top: 3rem;
    background: rgba(0, 0, 0, 0.25);
}

.rj-footer-bottom a {
    text-decoration: none;
}

.rj-footer-grid {
    text-align: right;
}

.rj-footer-social-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rj-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.rj-footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--rj-surface);
    border: 1px solid var(--rj-border);
    color: var(--rj-text);
    font-size: 1.3rem;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.rj-footer-social__link:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.rj-footer-social__link--instagram:hover {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    border-color: transparent;
}

.rj-footer-social__link--telegram:hover {
    background: #229ed9;
    border-color: transparent;
}

.rj-footer-social__link--youtube:hover {
    background: #ff0000;
    border-color: transparent;
}

.rj-footer-social__link--twitter:hover {
    background: #000;
    border-color: rgba(255, 255, 255, 0.2);
}

.rj-footer-social__link.is-disabled {
    opacity: 0.38;
    cursor: default;
    pointer-events: none;
}

.rj-footer-social__link.is-disabled:hover {
    transform: none;
    box-shadow: none;
    background: var(--rj-surface);
    border-color: var(--rj-border);
    color: var(--rj-text);
}

@media (min-width: 992px) {
    .rj-footer-social-block {
        align-items: center;
        text-align: center;
    }

    .rj-footer-social {
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .rj-footer-social-block {
        align-items: center;
        text-align: center;
        margin-top: 0.25rem;
    }

    .rj-footer-social {
        justify-content: center;
    }

    .rj-footer-grid .rj-footer-heading {
        text-align: center;
        width: 100%;
    }

    .rj-footer-links {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .rj-banner-card-body {
        padding: 0 0.75rem 0.75rem;
    }
}
