:root {
    --bg: #000;
    --fg: #fff;
    --overlay-bg: rgba(0,0,0,0.88);
    --focus-ring: 0 0 0 2px rgba(255,255,255,0.7);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--fg);
    overflow: hidden;
}

a {
    color: var(--fg);
}

a:focus-visible,
button:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* === HINTERGRUND / CANVAS === */

#three-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: #000;
}

/* === HEADER & NAV === */

header.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.4));
    backdrop-filter: blur(8px);
    z-index: 10;
}

.logo {
    font-size: 14px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg);
    opacity: 0.95;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--fg);
    text-decoration: none;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    white-space: nowrap;
}

.nav a:hover {
    background: rgba(255,255,255,0.12);
}

@media (max-width: 600px) {
    .nav a {
        padding: 4px 8px;
        font-size: 12px;
    }
}

/* === BIG PLAY BUTTON === */

#home-big-play {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

#home-big-play button {
    pointer-events: auto;
    width: 80px;
    height: 80px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), rgba(0,0,0,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg);
    cursor: pointer;
    box-shadow: 0 0 32px rgba(255,255,255,0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, opacity 0.25s ease;
}

#home-big-play button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255,255,255,0.7);
    border-color: rgba(255,255,255,0.7);
}

#home-big-play i {
    font-size: 28px;
    margin-left: 3px;
}

#home-big-play.hidden {
    opacity: 0;
    pointer-events: none;
}

/* === CONTENT OVERLAY === */

.content-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--overlay-bg);
    z-index: 8;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.content-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.content-inner {
    width: min(900px, 100% - 32px);
    max-height: calc(100% - 80px);
    background: rgba(0,0,0,0.92);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 16px 20px 20px;
    overflow: auto;
    position: relative;
}

.content-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: var(--fg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.content-page {
    display: none;
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.6;
}

.content-page.active {
    display: block;
}

.content-page h1 {
    margin-top: 0;
    font-size: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* === PLAYER + FOOTER === */

.footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.4));
    backdrop-filter: blur(10px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.player {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.player-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.player button {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.8);
    color: var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 13px;
}

.player button:hover {
    background: rgba(255,255,255,0.12);
}

.player-main-btn {
    width: 32px;
    height: 32px;
}

.player-track-title {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    opacity: 0.85;
    padding-left: 6px;
    padding-right: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-right {
    font-size: 11px;
    opacity: 0.8;
    white-space: nowrap;
}

.audio-status {
    font-size: 11px;
    text-align: center;
    opacity: 0.8;
    min-height: 14px;
}

.footer-legal {
    font-size: 11px;
    opacity: 0.7;
    text-align: center;
}

.footer-legal a {
    color: var(--fg);
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}
