:root {
    --maxw: 980px;
    --glass-hero: rgba(0, 0, 0, .44);
    --glass-card: rgba(0, 0, 0, .28);
    --border-hero: rgba(255, 255, 255, .12);
    --border-card: rgba(255, 255, 255, .10);
    --shadow: 0 12px 40px rgba(0, 0, 0, .45);
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #fff;
    min-height: 100vh;
    background: #000;
}

.bg {
    position: fixed;
    inset: 0;
    background: url("./bg.png") center/cover no-repeat;
    filter: saturate(.9) contrast(1.05);
    transform: scale(1.02);
    z-index: -2;
}

.overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(0, 0, 0, .25), rgba(0, 0, 0, .86)),
        linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .86));
    z-index: -1;
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 28px 20px 40px;
    display: grid;
    gap: 18px;
    align-content: start;
    min-height: 100vh;
}

.banner {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-hero);
    border-radius: 18px;
    background: var(--glass-hero);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.banner-row {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 150px;
}

.profile-link {
    display: inline-flex;
    border-radius: 999px
}

.profile-pic {
    width: 104px;
    height: 104px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, .14);
    box-shadow: 0 0 26px rgba(255, 180, 0, .38);
}

.banner-text {
    flex: 1 1 auto;
    min-width: 0
}

.name {
    margin: 0;
    font-size: 0;
    line-height: 1;
    letter-spacing: 0
}

.logo-wordmark {
    height: 180px;
    width: auto;
    max-width: 100%;
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.releases {
    margin-top: 6px
}

.releases h2 {
    margin: 8px 0 12px;
    font-size: 22px;
    letter-spacing: .02em;
    opacity: .95;
}

.release {
    display: flex;
    gap: 14px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--border-card);
    background: var(--glass-card);
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: inherit;
    align-items: center;
    margin-bottom: 10px;
    transition: transform .08s ease, background .15s ease, border-color .15s ease;
}

.release:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .18);
}

.cover {
    width: 96px;
    height: 96px;
    border-radius: 14px;
    object-fit: cover;
    flex: 0 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

.info {
    display: grid;
    gap: 6px;
    min-width: 0
}

.title {
    font-size: 20px;
    font-weight: 780;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meta {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: .75;
    font-size: 15px;
    flex-wrap: wrap;
    row-gap: 6px;
}

.dot {
    opacity: .7
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    min-width: 20px;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: 12px;
    font-weight: 800;
    opacity: .9;
}

.buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-top: 4px;
}

.btn {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .28);
    color: #fff;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 680;
    letter-spacing: .02em;
    backdrop-filter: blur(10px);
    transition: transform .08s ease, background .15s ease, border-color .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .22);
}

.btn:active {
    transform: translateY(0)
}

.btn-primary {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(0, 0, 0, .38);
}

.icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex: 0 0 auto;
    opacity: .95;
    display: inline-block;
    transform: translateY(1px);
}

footer {
    margin-top: auto;
    padding-top: 18px;
    opacity: .75;
    font-size: 13px;
    letter-spacing: .04em;
}

.card.page {
    padding: 18px 22px;
    border-radius: 18px;
    border: 1px solid var(--border-card);
    background: var(--glass-card);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.card.page h2 {
    margin: 6px 0 12px;
    font-size: 22px;
    letter-spacing: .02em;
    opacity: .95;
}

.card.page h3 {
    margin: 18px 0 8px;
    font-size: 15px;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .88;
}

.card.page p,
.card.page li {
    line-height: 1.6
}

.muted {
    opacity: .82
}

.card.page a {
    color: inherit;
    opacity: .92;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.card.page a:hover {
    opacity: 1
}

.sep {
    margin: 18px 0;
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, .10);
}

.list {
    margin: 8px 0 0;
    padding-left: 18px;
    opacity: .82;
}

@media (max-width:640px) and (orientation:portrait) {
    .wrap {
        padding: 22px 16px 22px;
        gap: 14px
    }

    .banner {
        padding: 10px 12px
    }

    .banner-row {
        gap: 14px;
        min-height: 118px
    }

    .profile-pic {
        width: 68px;
        height: 68px
    }

    .logo-wordmark {
        height: 96px;
        max-width: 100%
    }

    .releases h2 {
        font-size: 20px;
        margin-bottom: 10px
    }

    .release {
        padding: 10px;
        gap: 12px
    }

    .cover {
        width: 72px;
        height: 72px
    }

    .title {
        font-size: 18px;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.15
    }

    .meta {
        font-size: 14px
    }

    .buttons {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .btn {
        padding: 12px 14px;
        border-radius: 16px
    }

    .btn-primary {
        grid-column: 1/-1
    }

    footer {
        padding-top: 10px
    }

    .card.page {
        padding: 14px 14px
    }
}

@media (max-width:380px) and (orientation:portrait) {
    .buttons {
        grid-template-columns: 1fr
    }

    .logo-wordmark {
        height: 88px
    }
}

@supports (padding:max(0px)) {
    .wrap {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
        padding-bottom: max(22px, env(safe-area-inset-bottom));
    }
}