html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #f4f7ff 0%, #eef3fb 100%);
    color: #1e2b46;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1 0 auto;
}

.container {
    max-width: 1280px;
}

.topbar {
    background: linear-gradient(90deg, #1548c7 0%, #1b69ff 100%);
}

.brand-mark {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,.88);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
}

.user-chip-wrap {
    display: flex;
    align-items: center;
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: 0.9rem;
}

.hero-panel,
.soft-card,
.table-shell,
.contact-card,
.artist-card,
.track-preview,
.mini-track,
.content-card,
.record-card {
    background: rgba(255,255,255,.94);
    border: 1px solid #dbe5fb;
    box-shadow: 0 10px 30px rgba(24, 53, 121, 0.08);
}

.hero-panel {
    border-radius: 28px;
    padding: 2rem;
}

.eyebrow {
    display: inline-block;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #e9f0ff;
    color: #1b57de;
    font-size: 0.85rem;
    font-weight: 700;
}

.hero-title,
.section-title {
    font-weight: 800;
    line-height: 1.15;
    color: #16284f;
}

.hero-title {
    font-size: clamp(2rem, 3vw, 3.35rem);
}

.hero-text,
.section-subtitle {
    color: #5c6e91;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-card {
    min-width: 145px;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #dbe5fb;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1555dc;
}

.stat-label {
    display: block;
    color: #6c7c9d;
    font-size: 0.95rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hero-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 12px 22px rgba(0,0,0,.10);
}

.hero-grid img:first-child {
    grid-column: span 2;
    height: 260px;
}

.section-head,
.page-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.soft-card,
.contact-card,
.content-card {
    border-radius: 24px;
    padding: 1.5rem;
}

.compact-card {
    padding: 1.25rem;
}

.text-block p:last-child {
    margin-bottom: 0;
}

.feature-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid {
    display: grid;
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(14, 33, 85, .11);
}

.gallery-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid-5 img:last-child,
.gallery-grid-5 img:nth-last-child(2) {
    grid-column: span 1;
}

.gallery-grid-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.artist-card {
    border-radius: 24px;
    overflow: hidden;
}

.artist-card-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.artist-card-body {
    padding: 1.25rem;
}

.track-preview,
.mini-track {
    border-radius: 20px;
    padding: 0.9rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.track-preview-photo,
.mini-track img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 18px;
    flex-shrink: 0;
}

.track-preview-body {
    min-width: 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-item {
    padding: 0.9rem 0;
    border-bottom: 1px solid #e8eefc;
}

.contact-item-flat {
    padding: 1rem 1.1rem;
    border: 1px solid #e8eefc;
    border-radius: 18px;
    background: #f8fbff;
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: #7483a2;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .25rem;
}

.contact-value {
    font-size: 1rem;
    color: #1d2c4e;
    font-weight: 600;
}

.table-shell {
    overflow: hidden;
    border-radius: 24px;
}

.table-shell table {
    margin-bottom: 0;
}

.table-shell thead th {
    background: #edf3ff;
    color: #29457d;
    font-weight: 700;
    border-bottom: 1px solid #dae4fb;
    white-space: nowrap;
}

.table-shell td,
.table-shell th {
    padding: 1rem 0.95rem;
    border-color: #edf1fa;
    vertical-align: middle;
}

.table-photo {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid #e3eafa;
}

.table-photo-large {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid #dfe7fb;
}

.table-actions {
    min-width: 240px;
}

.table-actions .btn {
    margin: 0 0.15rem 0.25rem;
}

.pagination .page-link {
    border: 1px solid #d5e0fb;
    color: #1d56db;
    border-radius: 14px;
    margin: 0 0.15rem;
}

.pagination .page-item.active .page-link {
    background: #1d56db;
    border-color: #1d56db;
}

.record-card {
    border-radius: 28px;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.record-photo-wrap {
    width: 100%;
}

.details-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid #dde6fb;
    box-shadow: 0 12px 28px rgba(12, 35, 87, 0.12);
}

.record-content {
    min-width: 0;
}

.record-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.record-item {
    padding: 1rem 1.05rem;
    border: 1px solid #e5ecfd;
    border-radius: 18px;
    background: #f9fbff;
}

.record-item span {
    display: block;
    margin-bottom: 0.35rem;
    color: #6a7a98;
    font-size: 0.88rem;
}

.record-item strong {
    display: block;
    font-size: 1rem;
    color: #1b2b50;
}

.record-track-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.site-footer {
    flex-shrink: 0;
    padding: 1.25rem 0 1.75rem;
}

.footer-box {
    border-radius: 24px;
    background: #122349;
    color: #fff;
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.footer-text {
    color: rgba(255,255,255,.78);
    max-width: 560px;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: rgba(255,255,255,.85);
}

.nav-link-button {
    background: transparent;
    border: 0;
    color: rgba(255,255,255,.88);
    padding: 0.5rem 0.75rem;
}

.nav-link-button:hover,
.nav-link-button:focus {
    color: #fff;
}

.auth-shell {
    display: flex;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 720px;
    background: rgba(255,255,255,.96);
    border: 1px solid #dbe5fb;
    border-radius: 28px;
    box-shadow: 0 14px 32px rgba(24, 53, 121, 0.10);
    padding: 2rem;
}

.auth-links {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    color: #5c6e91;
}

.auth-links a {
    color: #1d56db;
    font-weight: 600;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

@media (max-width: 1199.98px) {
    .record-card {
        grid-template-columns: 280px minmax(0, 1fr);
    }
}

@media (max-width: 991.98px) {
    .hero-grid img,
    .hero-grid img:first-child,
    .gallery-grid img {
        height: 190px;
    }

    .feature-grid,
    .contact-info-grid,
    .gallery-grid-5,
    .gallery-grid-6,
    .record-track-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .record-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .hero-panel {
        padding: 1.25rem;
        border-radius: 22px;
    }

    .hero-grid,
    .feature-grid,
    .contact-info-grid,
    .gallery-grid-5,
    .gallery-grid-6,
    .record-grid,
    .record-track-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid img,
    .hero-grid img:first-child,
    .gallery-grid img {
        height: 220px;
    }

    .hero-grid img:first-child {
        grid-column: auto;
    }

    .table-actions {
        min-width: 190px;
    }

    .table-photo-large {
        width: 100%;
        height: auto;
    }
}
