﻿:root {
    --cr-bg: #141216;
    --cr-surface: #1c191d;
    --cr-text: #f5f4f6;
    --cr-muted: rgba(245, 244, 246, 0.72);
    --cr-red: #c72116;
    --cr-amber: #d29464;
    --cr-orange: #bc7145;
}

html,
body {
    background: radial-gradient(circle at top left, #241312 0%, var(--cr-bg) 44%), var(--cr-bg);
    color: var(--cr-text);
    min-height: 100%;
}

.cr-navbar {
    background: rgba(20, 18, 22, 0.9);
    border-bottom: 1px solid rgba(210, 148, 100, 0.22);
    backdrop-filter: blur(8px);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--cr-muted);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: var(--cr-text);
}

.cr-surface {
    background: linear-gradient(180deg, rgba(199, 33, 22, 0.08), rgba(28, 25, 29, 0.95));
    border: 1px solid rgba(210, 148, 100, 0.2);
    border-radius: 14px;
}

.cr-hero {
    background:
        linear-gradient(135deg, rgba(199, 33, 22, 0.19), rgba(188, 113, 69, 0.12)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.4));
    border: 1px solid rgba(210, 148, 100, 0.25);
    border-radius: 16px;
    padding: 3rem 2rem;
}

.cr-hero h1 {
    letter-spacing: 0.04em;
}

.cr-muted {
    color: var(--cr-muted);
}

.btn-cr-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--cr-red);
    --bs-btn-border-color: var(--cr-red);
    --bs-btn-hover-bg: #a71f17;
    --bs-btn-hover-border-color: #a71f17;
    --bs-btn-active-bg: #971a13;
    --bs-btn-active-border-color: #971a13;
}

.btn-cr-secondary {
    --bs-btn-color: var(--cr-text);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--cr-amber);
    --bs-btn-hover-bg: rgba(210, 148, 100, 0.12);
    --bs-btn-hover-border-color: var(--cr-amber);
}

.cr-card {
    background: var(--cr-surface);
    border: 1px solid rgba(210, 148, 100, 0.18);
}

.table.cr-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--cr-text);
    --bs-table-striped-color: var(--cr-text);
    --bs-table-striped-bg: rgba(210, 148, 100, 0.08);
    --bs-table-hover-color: var(--cr-text);
    --bs-table-hover-bg: rgba(199, 33, 22, 0.09);
    border-color: rgba(210, 148, 100, 0.22);
}

.form-control,
.form-select {
    background-color: rgba(28, 25, 29, 0.92);
    border-color: rgba(210, 148, 100, 0.32);
    color: var(--cr-text);
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(28, 25, 29, 0.98);
    color: var(--cr-text);
    border-color: var(--cr-amber);
    box-shadow: 0 0 0 0.25rem rgba(210, 148, 100, 0.2);
}

.text-muted,
small.text-muted {
    color: var(--cr-muted) !important;
}

.login-wrapper {
    max-width: 420px;
    margin: 4rem auto;
}

.stat-value {
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    font-weight: 700;
}

.cr-brand-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--cr-red);
    box-shadow: 0 0 0 4px rgba(199, 33, 22, 0.25);
}

.cr-brand-logo {
    height: 52px;
    width: auto;
    display: block;
}

.cr-brand-slogan {
    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(210, 148, 100, 0.88);
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .cr-brand-logo {
        height: 44px;
    }

    .cr-brand-slogan {
        font-size: 0.66rem;
        letter-spacing: 0.08em;
    }
}

.public-shell {
    padding-bottom: 120px;
}

@media (min-width: 1400px) {
    .public-shell .container {
        max-width: 1450px;
    }
}

.hero-carousel {
    border: 1px solid rgba(210, 148, 100, 0.22);
    border-radius: 20px;
    overflow: hidden;
    background: #0f0d12;
}

.hero-slide {
    min-height: clamp(300px, 42vw, 520px);
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 9, 13, 0.8) 0%, rgba(10, 9, 13, 0.34) 55%, rgba(10, 9, 13, 0.8) 100%),
        linear-gradient(180deg, rgba(10, 9, 13, 0.2), rgba(10, 9, 13, 0.65));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    min-height: clamp(250px, 28vw, 360px);
    display: flex;
    flex-direction: column;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(210, 148, 100, 0.3);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    color: var(--cr-muted);
    background: rgba(15, 13, 18, 0.45);
}

.hero-slide-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}

.hero-slide-description {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 8.4em;
}

.hero-content-actions {
    margin-top: auto;
}

.section-title {
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    font-weight: 700;
}

.album-card {
    border: 1px solid rgba(210, 148, 100, 0.18);
    border-radius: 14px;
    background: rgba(21, 18, 22, 0.76);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.album-card:hover {
    border-color: rgba(199, 33, 22, 0.42);
    transform: translateY(-2px);
}

.album-card-selectable {
    cursor: pointer;
}

.album-card-active {
    border-color: rgba(199, 33, 22, 0.65);
    box-shadow: 0 0 0 1px rgba(199, 33, 22, 0.5) inset;
}

.album-cover {
    width: 74px;
    height: 74px;
    border-radius: 12px;
    object-fit: cover;
    background: linear-gradient(145deg, rgba(188, 113, 69, 0.24), rgba(199, 33, 22, 0.22));
    border: 1px solid rgba(210, 148, 100, 0.22);
}

.track-table .btn {
    white-space: nowrap;
}

.cr-player-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(14, 12, 17, 0.95);
    border-top: 1px solid rgba(210, 148, 100, 0.3);
    backdrop-filter: blur(10px);
}

.cr-player-inner {
    padding: 0.75rem 1rem 0.9rem;
}

.player-track-title {
    font-weight: 700;
}

.player-cover-box {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(210, 148, 100, 0.28);
    background: linear-gradient(145deg, rgba(188, 113, 69, 0.24), rgba(199, 33, 22, 0.22));
    flex: 0 0 58px;
}

.player-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.player-range {
    width: 100%;
    accent-color: var(--cr-amber);
}

.btn-player {
    --bs-btn-color: var(--cr-text);
    --bs-btn-bg: rgba(28, 25, 29, 0.95);
    --bs-btn-border-color: rgba(210, 148, 100, 0.36);
    --bs-btn-hover-bg: rgba(210, 148, 100, 0.13);
    --bs-btn-hover-border-color: var(--cr-amber);
}

.btn-download-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.icon-btn {
    min-width: 42px;
}

.icon-btn i {
    font-size: 1rem;
    line-height: 1;
    pointer-events: none;
}

tr.track-row-active > td {
    background-color: rgba(199, 33, 22, 0.12) !important;
}

.contact-box {
    border: 1px solid rgba(210, 148, 100, 0.2);
    border-radius: 14px;
    background: rgba(18, 16, 21, 0.75);
}

.public-footer {
    border-radius: 14px;
}

.public-footer h2 {
    letter-spacing: 0.01em;
}

@media (max-width: 767.98px) {
    .hero-slide {
        min-height: 290px;
    }

    .hero-content {
        max-width: 100%;
        min-height: auto;
    }

    .hero-slide-description {
        -webkit-line-clamp: 4;
        min-height: 5.6em;
    }
}
