* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --page-bg: #00040b;
    --overlay: rgba(0, 0, 0, 0.30);
    --card-bg: rgba(0, 0, 0, 0.35);
    --radius: 18px;
    --content-max: 380px;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html,
body {
    min-height: 100%;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #fff;
    position: relative;
    background: var(--page-bg) url("../assets/stille_see1.png") no-repeat center center fixed;
    background-size: cover;
}

a,
a:visited,
a:active {
    color: #fff;
    text-decoration: none;
}

a:hover {
    opacity: 1;
    text-decoration: underline;
}

.back-home {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 18px);
    left: calc(env(safe-area-inset-left, 0px) + 18px);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 8px;
    z-index: 10;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.back-home:hover {
    opacity: 1;
    text-decoration: none;
}

.overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: calc(env(safe-area-inset-top, 0px) + 28px) 16px calc(env(safe-area-inset-bottom, 0px) + 32px);
    gap: 14px;
    text-align: center;
}

.container {
    width: min(92vw, var(--content-max));
    margin: 0 auto;
}

.listen,
.available,
.section-title {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.85;
    font-weight: 600;
}

.listen {
    font-size: 22px;
    margin-top: 6px;
    margin-bottom: 8px;
}

.available,
.section-title {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.cover {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    margin-top: 10px;
    margin-bottom: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.spotify-player {
    width: 100%;
}

.spotify-player iframe {
    width: 100%;
    height: 352px;
    border: 0;
    border-radius: 12px;
    display: block;
}

.card {
    width: 100%;
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: var(--radius);
    padding: 22px 20px;
}

.streaming-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.streaming-links img {
    height: 40px;
    width: auto;
    display: block;
    transition: transform 0.15s ease, filter 0.15s ease;
    max-height: 30px;
}

.streaming-links img:hover {
    transform: scale(1.06);
    filter: sepia(1) hue-rotate(-30deg) saturate(5);
}

.footer {
    margin-top: 18px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0 14px;
}

.menu-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.release-title {
    font-size: 20px;
    margin-bottom: 4px;
    font-weight: 600;
}

.release-action,
.release-date {
    opacity: 0.75;
    font-size: 14px;
}

.presave-button {
    display: inline-block;
    background: #1DB954;
    color: #fff;
    padding: 14px 26px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 10px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.presave-button:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

.content--legal {
    max-width: 760px;
    margin: 0 auto;
    align-items: center;
    justify-content: flex-start;
    padding: calc(env(safe-area-inset-top, 0px) + 130px) 20px calc(env(safe-area-inset-bottom, 0px) + 40px);
}

.content--legal h1 {
    margin-bottom: 24px;
    font-size: 32px;
}

.content--legal h2 {
    margin-top: 26px;
    margin-bottom: 10px;
    font-size: 22px;
}

.content--legal p {
    margin-bottom: 18px;
    line-height: 1.6;
    max-width: 650px;
}

.content--legal .footer {
    margin-top: 28px;
}

@media (max-width: 767px) {
    body {
        background: var(--page-bg);
    }

    body::before {
        content:"";
        position:fixed;
        top:0;
        left:0;
        width:100vw;
        height:100lvh;
        z-index:0;
        background:var(--page-bg) url("../assets/stille_see1.png") no-repeat center center;
        background-size:cover;
        pointer-events:none;
    }

    .content {
        padding: calc(env(safe-area-inset-top, 0px) + 40px) 16px calc(env(safe-area-inset-bottom, 0px) + 28px);
        gap: 12px;
    }

    .content.content--legal {
        padding: calc(env(safe-area-inset-top, 0px) + 130px) 20px calc(env(safe-area-inset-bottom, 0px) + 40px);
    }

    .back-home {
        top: calc(env(safe-area-inset-top, 0px) + 12px);
        left: calc(env(safe-area-inset-left, 0px) + 12px);
        font-size: 13px;
        padding: 6px 9px;
    }

    .container {
        width: min(92vw, 340px);
    }

    .listen {
        font-size: 20px;
        margin-top: 0;
    }

    .available,
    .section-title {
        font-size: 16px;
        letter-spacing: 1.2px;
    }

    .cover {
        max-width: 220px;
        margin-top: 6px;
        margin-bottom: 14px;
    }

    .spotify-player iframe {
        height: 332px;
    }

    .card {
        padding: 20px 18px;
    }

    .streaming-links {
        gap: 14px;
    }

    .streaming-links img {
        max-height: 28px;
    }

    .footer {
        margin-top: 22px;
        font-size: 0.88rem;
    }

    .menu-link {
        margin: 0 10px;
    }

    .release-title {
        font-size: 18px;
    }

    .release-action,
    .release-date {
        font-size: 13px;
    }

    .presave-button {
        padding: 13px 22px;
        font-size: 15px;
    }

}

@media (min-width: 768px) {
    :root {
        --content-max: 420px;
    }

    html,
    body {
      /*  background-attachment: fixed;*/
    }

    .listen {
        font-size: 24px;
    }

    .available,
    .section-title {
        font-size: 18px;
    }
}