/* Be Holden U — custom styles supplementing Tailwind CDN. */

html { scroll-behavior: smooth; }

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

/* --- Buttons --- */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #3B82F6 0%, #EC4899 100%);
    color: #fff;
    transition: transform 120ms ease, filter 120ms ease, box-shadow 200ms ease;
    box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.45);
}
.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 12px 28px -8px rgba(236, 72, 153, 0.55);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ECECEC;
    transition: border-color 120ms ease, background-color 120ms ease;
}
.btn-secondary:hover {
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(59, 130, 246, 0.06);
}

/* --- Hero aurora background ---
   Three large radial-gradient blobs slowly drifting; gives the dark hero
   a hand-mixed feel without imagery. */

.hero-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(45rem 35rem at 18% 28%, rgba(59,130,246,0.22), transparent 70%),
        radial-gradient(40rem 30rem at 82% 12%, rgba(236,72,153,0.18), transparent 70%),
        radial-gradient(50rem 40rem at 60% 90%, rgba(245,158,11,0.12), transparent 75%),
        radial-gradient(circle at 50% 50%, rgba(10,10,20,0) 0%, rgba(10,10,20,0.7) 70%);
    animation: drift 38s ease-in-out infinite alternate;
}
@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(-2%, -1%, 0) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-aurora { animation: none; }
}

/* --- Release card --- */

.release-card {
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.release-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.04);
}

.release-cover {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #1a1a2e 0%, #2a1a3e 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}
.release-cover.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    font-family: 'Space Grotesk', Inter, sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.1;
    color: rgba(255,255,255,0.85);
    background:
        radial-gradient(circle at 70% 30%, rgba(245,158,11,0.4), transparent 60%),
        radial-gradient(circle at 30% 80%, rgba(236,72,153,0.4), transparent 65%),
        linear-gradient(135deg, #16213e 0%, #0f1729 100%);
}

.release-status {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    backdrop-filter: blur(6px);
}
.release-status.live    { background: rgba(34,197,94,0.18); color: #4ade80; }
.release-status.scheduled { background: rgba(59,130,246,0.18); color: #93c5fd; }
.release-status.tba       { background: rgba(245,158,11,0.18); color: #fbbf24; }

.release-meta {
    padding: 1rem 1.1rem 1.2rem;
}
.release-title {
    font-family: 'Space Grotesk', Inter, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: #ECECEC;
}
.release-sub {
    font-size: 0.8rem;
    color: #9ca3af;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}
.release-sub .dot::before {
    content: "·";
    margin-right: 0.5rem;
    color: rgba(255,255,255,0.35);
}

/* --- Per-release page --- */

.embed-spotify iframe {
    width: 100%;
    border-radius: 0.75rem;
    border: 0;
}

/* --- Selection / focus --- */

::selection { background: rgba(236,72,153,0.4); color: #fff; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
    border-radius: 4px;
}
