:root {
    --bg: #0f0f12;
    --card: #121217;
    --muted: #9aa0a6;
    --accent: #e85d75;
    --glass: rgba(255, 255, 255, 0.04);
    --radius: 14px;
    --max-width: 980px;
    color-scheme: dark;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: linear-gradient(180deg, var(--bg) 0%, #0b0b0d 60%);
    color: #e9eef2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bg-artwork {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: url('../img/Morricone-NoTitle.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(18px) saturate(70%);
    transform: scale(1.06);
    /* avoid edges showing when blurred */
    opacity: 0.28;
    pointer-events: none;
}

.container {
    max-width: var(--max-width);
    margin: 32px auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.artwork {
    width: 240px;
    max-width: 90%;
    height: 240px;
    object-fit: contain;
    border-radius: 12px;
    margin-right: 22px;
}

.countdown-card {
    margin-top: 20px;
    background: var(--card);
    padding: 22px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 30px rgba(0, 0, 0, 0.8);
}

.label {
    color: var(--muted);
    font-size: 13px;
    margin: 0
}

.date {
    margin: 6px 0 18px 0;
    font-weight: 600
}

.countdown {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap
}

.column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title {
    height: 50px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    margin: 22px 0;
    position: relative;
    color: #fff;
}

.title::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
    mix-blend-mode: screen;
    border-radius: 8px;
}

.logo {
    height: 30px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    margin-bottom: 24px;
}

.time-segment {
    background: var(--glass);
    padding: 12px 14px;
    border-radius: 12px;
    min-width: 84px
}

.num {
    display: block;
    font-size: 28px;
    font-weight: 700
}

.seg-label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 6px
}

.released {
    padding: 12px 0
}

.hidden {
    display: none
}

/* Small aesthetic tweak for very small screens */
@media(max-width:380px) {
    .artwork {
        width: 96px;
        height: 96px;
        flex: 0 0 96px
    }

    .time-segment {
        min-width: 72px;
        padding: 10px
    }
}

@media(min-width:740px) {
    .container {
        max-width: 1100px;
    }

    .artwork {
        width: 320px;
        height: 320px;
        flex: 0 0 320px;
        border-radius: 18px;
    }

    .num {
        font-size: 96px;
    }

    .seg-label {
        font-size: 20px;
    }

    .time-segment {
        min-width: 110px;
        padding: 22px 24px;
    }
}

@media(max-width:739px) {
    .countdown-card {
        flex-direction: column;
        align-items: center;
    }

    .artwork {
        width: 140px;
        height: 140px;
        flex: 0 0 140px;
    }

    .time-segment {
        min-width: 72px;
        padding: 10px;
    }

    .container {
        margin: 18px 14px;
    }
}