@font-face {
    font-family: "VHS";
    src: url("https://thegarden-storage.s3.us-west-1.amazonaws.com/font/vt323.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "SourceCode";
    src: url("https://thegarden-storage.s3.us-west-1.amazonaws.com/font/SourceCodePro-Bold.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    font-family: "VHS", Arial, sans-serif;
    min-height: 100%;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeIn 3s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.video-desktop { display: block; }
.video-mobile { display: none; }

@media (max-width: 600px) {
    .video-desktop { display: none; }
    .video-mobile { display: block; }
}

.top-nav,
.main-content,
.footer,
.player-bar {
    position: relative;
    z-index: 10;
}

.top-nav {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 8px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-sizing: border-box;
}

.top-nav .site-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-nav .site-logo img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.top-nav .nav-side {
    text-decoration: none;
    color: #19f0ff;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.top-nav .nav-side:first-child {
    justify-self: start;
}

.top-nav a.nav-side:last-child {
    justify-self: end;
}

.top-nav .nav-side:hover,
.top-nav .nav-side[aria-current="page"] {
    color: #fff;
}

.main-content {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.hero {
    position: relative;
    width: 100%;
    background: #000;
}

.hero img {
    display: block;
    width: 100%;
    height: min(100vh, 56.25vw);
    min-height: 280px;
    object-fit: cover;
    object-position: center top;
}

.hero-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 20px 24px;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
}

.hero-copy h1 {
    font-family: "VHS", Arial, sans-serif;
    font-size: 28px;
    font-weight: normal;
    margin: 0;
    text-transform: uppercase;
    color: #fff;
}

.release-data a {
    color: #19f0ff;
}

.catalog,
.releases {
    width: 100%;
    background: #000;
}

.full-banner {
    position: relative;
    display: block;
    width: 100%;
    min-height: 42vw;
    max-height: 560px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #050505;
}

.full-banner img {
    display: block;
    width: 100%;
    height: 42vw;
    max-height: 560px;
    min-height: 220px;
    object-fit: cover;
}

.full-banner-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 24px 22px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92), transparent);
}

.full-banner-meta h2 {
    font-family: "VHS", Arial, sans-serif;
    font-size: 28px;
    font-weight: normal;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.full-banner-meta p {
    margin: 0;
    font-size: 16px;
    color: #19f0ff;
    text-transform: uppercase;
}

a.full-banner {
    cursor: pointer;
}

a.full-banner:hover .full-banner-meta h2 {
    color: #19f0ff;
}

.release {
    width: 100%;
    background: #000;
    border-top: 1px solid #111;
}

.album-art {
    display: block;
    width: min(420px, calc(100% - 40px));
    aspect-ratio: 1;
    object-fit: cover;
    margin: 24px 20px 8px;
    background: #111;
}

.video-embed {
    width: calc(100% - 40px);
    max-width: 960px;
    aspect-ratio: 16 / 9;
    margin: 16px 20px 8px;
    background: #000;
}

.video-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.release-data {
    width: 100%;
    box-sizing: border-box;
    padding: 24px 20px 48px;
    background: #000;
}

.release-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.play-button,
.records-link {
    font-family: "SourceCode", monospace;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.play-button {
    background: #19f0ff;
    color: #000;
}

.play-button[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.play-button:hover:not([disabled]),
.records-link:hover {
    transform: scale(1.05);
    background: #fff;
    color: #000;
}

.records-link {
    background: transparent;
    color: #19f0ff;
    border: 1px solid #19f0ff;
}

.release-data h3 {
    font-family: "SourceCode", monospace;
    font-size: 18px;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.release-data dl {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(120px, 180px) 1fr;
    gap: 8px 20px;
    font-size: 16px;
    line-height: 1.45;
}

.release-data dt {
    color: #19f0ff;
    text-transform: uppercase;
    margin: 0;
}

.release-data dd {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.release-data .lyrics {
    white-space: pre-wrap;
}

.status,
.empty {
    padding: 80px 20px;
    text-align: center;
    font-size: 18px;
}

.footer {
    width: 100%;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 16px 20px 24px;
    font-family: "VHS", Arial, sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    z-index: 200;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 32px;
    box-sizing: border-box;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    color: #19f0ff;
}

.player-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 300;
    display: none;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.94);
    border-top: 1px solid #19f0ff;
}

.player-bar.is-on {
    display: flex;
}

.player-bar button {
    font-family: "SourceCode", monospace;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 8px 14px;
    background: #19f0ff;
    color: #000;
    border: none;
    cursor: pointer;
}

.player-bar .player-title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: #19f0ff;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-bar .player-time {
    font-size: 12px;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.player-bar input[type="range"] {
    width: min(280px, 30vw);
    accent-color: #19f0ff;
}

body.has-player {
    padding-bottom: 58px;
}

@media (max-width: 600px) {
    .hero-copy h1 {
        font-size: 20px;
    }

    .release-data {
        font-size: 16px;
    }

    .full-banner-meta h2 {
        font-size: 20px;
    }

    .release-data dl {
        grid-template-columns: 1fr;
        gap: 2px 0;
    }

    .release-data dt {
        margin-top: 10px;
    }

    .play-button,
    .records-link {
        font-size: 12px;
        padding: 8px 16px;
    }

    .player-bar {
        flex-wrap: wrap;
    }

    .player-bar input[type="range"] {
        width: 100%;
        order: 5;
    }
}
