/* BUECHLER MUSIKPRODUKTION - GLOBALE OPTIMIERUNG */

:root{
    --bmp-focus:#1ed760;
    --bmp-soft-green:rgba(30,215,96,.12);
    --bmp-soft-red:rgba(255,92,92,.12);
    --bmp-card-blur:rgba(18,18,18,.78);
}

html{
    scroll-behavior:smooth;
}

body{
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
}

a,
button,
input,
select,
textarea{
    -webkit-tap-highlight-color:transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
    outline:3px solid rgba(30,215,96,.42) !important;
    outline-offset:3px !important;
}

.card{
    backdrop-filter:blur(10px);
}

.card:hover{
    border-color:rgba(30,215,96,.18) !important;
}

.hero{
    position:relative;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
        radial-gradient(circle at 16% 18%, rgba(255,255,255,.08), transparent 10rem),
        radial-gradient(circle at 88% 12%, rgba(30,215,96,.10), transparent 16rem);
    opacity:.8;
}

.hero > *{
    position:relative;
    z-index:2;
}

.btn,
button,
input[type="submit"]{
    user-select:none;
}

button,
.btn{
    transition:transform .14s ease, background .14s ease, border-color .14s ease, color .14s ease, box-shadow .14s ease !important;
}

button:hover,
.btn:hover{
    transform:translateY(-1px);
}

button:active,
.btn:active{
    transform:translateY(0) scale(.99);
}

.table-wrap{
    border-radius:18px;
}

.table-wrap table{
    border-collapse:separate !important;
    border-spacing:0 !important;
}

.table-wrap tbody tr{
    transition:background .14s ease;
}

.table-wrap tbody tr:hover{
    background:rgba(30,215,96,.045) !important;
}

.badge{
    white-space:nowrap;
}

.bmp-compact-track-grid,
.tracks-grid,
.track-list-grid{
    align-items:start;
}

.bmp-track-card,
.track-card,
.track-item-card{
    position:relative;
    overflow:hidden;
}

.bmp-track-card::before,
.track-card::before,
.track-item-card::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
        linear-gradient(180deg, rgba(255,255,255,.035), transparent 32%),
        radial-gradient(circle at top right, rgba(30,215,96,.08), transparent 11rem);
    opacity:.85;
}

.bmp-track-card > *,
.track-card > *,
.track-item-card > *{
    position:relative;
    z-index:2;
}

.cover,
.cover-wrap,
.bmp-track-cover,
.detail-cover{
    background:
        radial-gradient(circle at 24% 20%, rgba(255,255,255,.16), transparent 18%),
        linear-gradient(135deg, #181818 0%, #080808 48%, rgba(30,215,96,.82) 100%) !important;
}

.cover img,
.cover-wrap img,
.bmp-track-cover img,
.detail-cover img{
    filter:saturate(1.04) contrast(1.03);
}

audio{
    width:100%;
    min-height:40px;
}

audio::-webkit-media-controls-panel{
    background-color:#181818;
}

.bmp-now-playing{
    box-shadow:
        0 0 0 1px rgba(30,215,96,.34),
        0 20px 70px rgba(30,215,96,.10) !important;
}

.bmp-now-playing .track-title,
.bmp-now-playing h2{
    color:#1ed760 !important;
}

.bmp-search-top{
    display:grid;
    grid-template-columns:1fr auto;
    gap:10px;
    align-items:end;
}

.bmp-search-top input{
    min-height:48px;
}

.bmp-admin-shortcuts{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
    gap:12px;
}

.bmp-admin-shortcut{
    display:grid;
    gap:8px;
    min-height:112px;
    padding:16px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.09);
    background:
        radial-gradient(circle at top right, rgba(30,215,96,.11), transparent 12rem),
        #121212;
}

.bmp-admin-shortcut strong{
    font-size:18px;
}

.bmp-admin-shortcut small{
    color:var(--muted,#b3b3b3);
    line-height:1.35;
}

.bmp-system-ok{
    color:#1ed760;
}

.bmp-system-warn{
    color:#ffd166;
}

.bmp-system-bad{
    color:#ff5c5c;
}

@media(max-width:720px){
    .bmp-search-top{
        grid-template-columns:1fr;
    }

    .hero{
        padding:22px !important;
        border-radius:24px !important;
    }

    .hero h1{
        font-size:clamp(32px, 12vw, 52px) !important;
        letter-spacing:-1.8px !important;
    }

    .card{
        border-radius:20px !important;
    }

    .actions{
        gap:8px !important;
    }

    .actions .btn,
    .actions button{
        width:100%;
        justify-content:center;
    }
}
