@font-face {
    font-family: "SA Cinta";
    src: url("/assets/fonts/cinta.ttf") format("truetype");
}


/* =========================================================
   RAINOUT - GLOBAL STYLE SYSTEM
   Based on the existing site + current homepage aesthetic
   ========================================================= */

:root {
    --bg-color: #050505;
    --bg-soft: #080808;

    --text: #ffffff;
    --text-secondary: #999999;
    --text-muted: #666666;
    --text-dim: #444444;

    --accent: #ffffff;

    --card-bg: rgba(255, 255, 255, 0.035);
    --card-hover: rgba(255, 255, 255, 0.06);

    --border: rgba(255, 255, 255, 0.08);
    --border-soft: rgba(255, 255, 255, 0.05);

    --max-width: 1200px;

    --display-font: "SA Cinta", sans-serif;
    --mono-font: "Courier New", Courier, monospace;
    --body-font: Arial, Helvetica, sans-serif;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(255, 255, 255, 0.055),
            transparent 38%
        ),
        var(--bg-color);

    background-attachment: fixed;

    color: var(--text);

    font-family: var(--body-font);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
video {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

::selection {
    background: #fff;
    color: #000;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #333;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/* =========================================================
   RAIN
   ========================================================= */

.drop {
    position: absolute;

    top: -100px;

    width: 2px;
    height: 25px;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.35)
        );

    border-radius: 2px;

    will-change: transform;

    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes fall {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(120vh);
    }
}

.rain {
    position: fixed;

    inset: 0;

    width: 100vw;
    height: 100vh;

    z-index: 999;

    pointer-events: none;

    overflow: hidden;
}


/* =========================================================
   DEVELOPMENT BANNER
   ========================================================= */

.dev-banner {
    position: sticky;

    top: 0;

    z-index: 9999;

    padding: 9px 15px;

    background: rgba(255, 255, 255, 0.055);

    color: var(--text);

    text-align: center;

    font-family: var(--mono-font);
    font-size: 0.75rem;

    letter-spacing: 1px;

    backdrop-filter: blur(10px);
}

.dev-banner span {
    font-weight: bold;
}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.container {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: var(--max-width);

    margin: 0 auto;

    padding: 20px;

    flex: 1;
}

main {
    position: relative;

    z-index: 10;

    width: 100%;

    padding: 30px 0 50px;

    text-align: center;
}

main > * {
    margin-bottom: 60px;
}


/* =========================================================
   HEADINGS
   ========================================================= */

h1,
h2,
h3 {
    font-family: var(--display-font);

    color: var(--text);

    font-weight: normal;

    text-transform: uppercase;
}

h1 {
    margin: 0.5em 0;

    font-size: clamp(2.5rem, 5vw, 3.5rem);

    letter-spacing: 3px;

    line-height: 1.05;

    text-shadow:
        0 0 15px rgba(255, 255, 255, 0.12);
}

h1::after {
    content: "";

    display: block;

    width: 120px;
    height: 1px;

    margin: 18px auto 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent
        );
}

h2 {
    margin: 1.5em 0 1em;

    font-size: 2rem;

    letter-spacing: 2px;

    line-height: 1.1;
}

h2::after {
    content: "";

    display: block;

    width: 90px;
    height: 1px;

    margin: 10px auto 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.18),
            transparent
        );
}

h3 {
    font-size: 1.25rem;

    letter-spacing: 1px;
}

p {
    margin-bottom: 20px;

    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 1rem;

    line-height: 1.75;
}

.tagline {
    margin-bottom: 40px;

    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 1.15rem;

    letter-spacing: 2px;
}


/* =========================================================
   HEADER / BANNER
   ========================================================= */

header {
    position: relative;

    margin: 20px 0 40px;

    text-align: center;
}

.banner {
    display: block;

    width: 100%;
    max-width: 900px;

    margin: 0 auto 30px;

    border: none !important;

    box-shadow: none !important;

    background: transparent;

    transition: transform 0.3s ease;
}

.banner:hover {
    transform: scale(1.01);
}

.logo {
    display: block;

    width: 100%;
    max-width: 600px;

    height: auto;

    margin: 0 auto 20px;

    opacity: 0.9;

    filter:
        grayscale(100%)
        drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.logo:hover {
    transform: scale(1.015);

    filter:
        grayscale(100%)
        drop-shadow(0 0 18px rgba(255, 255, 255, 0.3));
}


/* =========================================================
   BUTTONS
   Only applies to actual utility buttons.
   Does NOT globally style every button on the site.
   ========================================================= */

.more-button,
.back-button {
    position: relative;

    display: inline-block;

    padding: 10px 18px;

    border: 1px solid var(--border);

    border-radius: 0;

    background: rgba(255, 255, 255, 0.025);

    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.75rem;

    letter-spacing: 1px;

    text-decoration: none;

    text-transform: uppercase;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.more-button {
    margin-top: 30px;
}

.back-button {
    margin: 20px 0 40px;
}

.more-button:hover,
.back-button:hover {
    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(255, 255, 255, 0.2);

    color: #fff;

    transform: translateY(-2px);
}


/* =========================================================
   ABOUT
   ========================================================= */

.about {
    width: 100%;
    max-width: 800px;

    margin: 50px auto;

    padding: 30px;

    background: var(--card-bg);

    border: 1px solid var(--border-soft);

    border-radius: 0;

    backdrop-filter: blur(10px);
}

.about h2 {
    margin-top: 0;
}


/* =========================================================
   RELEASES
   ========================================================= */

.releases {
    margin: 60px 0;
}

.release-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 300px));

    justify-content: center;

    gap: 24px;

    margin-top: 40px;
}

.release {
    position: relative;

    overflow: visible;

    padding: 40px 15px 15px;

    background: var(--card-bg);

    border: 1px solid var(--border-soft);

    border-radius: 0;

    text-align: center;

    backdrop-filter: blur(6px);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.release::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background: rgba(255, 255, 255, 0.35);

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.3s ease;
}

.release:hover {
    transform: translateY(-5px);

    background: var(--card-hover);

    border-color: rgba(255, 255, 255, 0.12);
}

.release:hover::before {
    transform: scaleX(1);
}

.release img {
    display: block;

    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    margin-bottom: 20px;

    border-radius: 0;

    filter: none;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.7);

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.release:hover img {
    filter: brightness(1.06);

    transform: scale(1.01);
}

.release .info {
    padding: 8px 0;
}

.release .title {
    margin-bottom: 7px;

    color: #fff;

    font-family: var(--display-font);

    font-size: 1.15rem;

    line-height: 1.25;
}

.release .artist {
    margin-bottom: 10px;

    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.85rem;
}

.release .artist a {
    color: var(--text-secondary) !important;

    font-weight: bold;

    text-decoration: none;

    transition: color 0.2s ease;
}

.release .artist a:hover {
    color: #fff !important;
}

.release .catalog {
    color: var(--text-muted);

    font-family: var(--mono-font);

    font-size: 0.68rem;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   RELEASE TYPE ICON
   ========================================================= */

.format-icon {
    position: absolute;

    top: 0;
    left: 50%;

    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    background: #050505;

    border: 1px solid var(--border);

    border-radius: 50%;

    box-shadow:
        0 0 12px rgba(0, 0, 0, 0.8);

    z-index: 2;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.release:hover .format-icon {
    background: #111;

    transform:
        translate(-50%, -50%)
        scale(1.08);
}


/* =========================================================
   LOADING STATES
   ========================================================= */

.loading-state {
    min-height: 200px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    color: var(--text-secondary);

    font-family: var(--mono-font);
}

.loading-state i {
    margin-bottom: 1rem;

    font-size: 1.5rem;
}

.release-grid.loading {
    min-height: 300px;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* =========================================================
   ARTISTS
   ========================================================= */

.artists {
    margin: 80px 0 40px;
}

.artist-grid {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 20px;

    margin-top: 30px;
}

.artist {
    flex:
        0 0 150px;

    padding: 20px 10px;

    border-radius: 0;

    color: inherit;

    text-align: center;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.artist:hover {
    background: var(--card-bg);

    transform: translateY(-4px);
}

.artist img {
    width: 100px;
    height: 100px;

    display: block;

    margin: 0 auto 15px;

    object-fit: cover;

    border-radius: 50%;

    filter: none;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.artist:hover img {
    filter: brightness(1.08);

    transform: scale(1.04);
}

.artist h3 {
    margin: 0;

    font-size: 1rem;

    letter-spacing: 1px;
}

.artist p {
    margin-top: 4px;

    color: #777;

    font-size: 0.8rem;
}


/* =========================================================
   ARTIST PROFILE
   ========================================================= */

.artist-pic-wrapper {
    display: flex;

    justify-content: center;

    margin:
        40px 0 20px;
}

.artist-profile-pic {
    width: 180px;
    height: 180px;

    object-fit: cover;

    border-radius: 50%;

    filter: none;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.artist-profile-pic:hover {
    transform: scale(1.04);

    filter: brightness(1.06);
}

.artist-releases {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    margin-top: 60px;

    overflow: visible;
}


/* =========================================================
   ARTIST RELEASE SCROLL
   ========================================================= */

.release-scroll {
    display: flex;

    flex-wrap: nowrap;

    align-items: stretch;

    gap: 24px;

    width: 100%;
    max-width: 1000px;

    margin: 0 auto;

    padding: 20px 16px 40px;

    overflow-x: auto;
    overflow-y: visible;

    scroll-snap-type: x mandatory;
}

.release-scroll .release {
    flex:
        0 0 240px;

    max-width: 240px;

    margin: 0;

    scroll-snap-align: start;
}

.release-scroll::-webkit-scrollbar {
    height: 7px;
}

.release-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
}

.release-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
}


/* =========================================================
   STREAMING LINKS
   ========================================================= */

.streaming-links {
    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 15px;
}

.streaming-link,
.streaming-link:visited,
.streaming-link:active {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: none !important;

    background: transparent !important;

    color: #fff !important;

    font-size: 18px;

    text-decoration: none !important;

    opacity: 0.5;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.streaming-link:hover {
    opacity: 1;

    transform: translateY(-2px);
}


/* =========================================================
   FILTER BAR
   ========================================================= */

.filter-bar {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    margin-bottom: 40px;

    text-align: center;
}

.filter-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 9px 16px;

    background: transparent;

    border: 1px solid transparent;

    border-radius: 0;

    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.75rem;

    letter-spacing: 1px;

    text-decoration: none;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.filter-btn:hover {
    color: #fff;

    background: rgba(255, 255, 255, 0.04);
}

.filter-btn.active {
    color: #fff;

    background: rgba(255, 255, 255, 0.08);

    border-color: var(--border);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

#global-nav {
    display: contents;
}

.site-nav {
    position: sticky;

    top: 0;

    z-index: 10000;

    width: 100%;
    max-width: 670px;

    min-height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    margin: 0 auto;

    padding: 8px 16px;

    background: rgba(5, 5, 5, 0.78);

    border-bottom: 1px solid var(--border-soft);

    backdrop-filter: blur(12px);
}

.site-nav .brand {
    display: flex;

    align-items: center;
}

.site-nav .brand img {
    display: block;

    width: auto;

    height: 30px;

    max-height: 30px;

    filter: grayscale(100%);
}

.site-nav .nav-links {
    display: flex;

    align-items: center;

    gap: 22px;

    margin-left: 0;
}

.site-nav .nav-links a {
    padding: 5px 7px;

    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.7rem;

    letter-spacing: 1px;

    text-decoration: none;

    text-transform: uppercase;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.site-nav .nav-links a:hover {
    color: #fff;

    background: rgba(255, 255, 255, 0.04);
}

.site-nav .nav-links a.active {
    color: #fff;

    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
    display: none;

    margin-left: auto;

    padding: 4px 8px;

    background: transparent;

    border: none;

    color: #fff;

    font-size: 20px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    position: relative;

    margin-top: 60px;

    padding: 50px 20px 30px;

    border-top:
        1px solid var(--border-soft);

    text-align: center;
}

.social-links {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 20px;

    margin: 25px 0 35px;
}

.social-links a {
    width: 44px;
    height: 44px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border-soft);

    border-radius: 50%;

    background: var(--card-bg);

    color: var(--text);

    font-size: 1.2rem;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);

    border-color: var(--border);

    transform: translateY(-3px);
}

.copyright {
    color: var(--text-dim);

    font-family: var(--mono-font);

    font-size: 0.7rem;

    letter-spacing: 1px;
}


/* =========================================================
   PROMO / DISCORD / INTERVIEW
   ========================================================= */

.promo-video-box,
.discord-widget-section,
.interview-promo-box {
    background: var(--card-bg);

    border: 1px solid var(--border-soft);

    border-radius: 0;

    overflow: hidden;

    backdrop-filter: blur(8px);
}

.promo-video-box {
    max-width: 800px;

    margin: 50px auto;

    padding: 30px;
}

.discord-widget-section {
    max-width: 800px;

    margin: 50px auto;

    padding: 30px;
}

.video-embed-wrap {
    position: relative;

    height: 0;

    padding-bottom: 56.25%;

    overflow: hidden;
}

.video-embed-wrap iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}

.discord-join-link {
    display: block;

    margin-bottom: 25px;

    color: var(--text);

    font-family: var(--mono-font);

    font-size: 0.9rem;

    text-decoration: none;
}

.discord-join-link:hover {
    text-decoration: underline;
}

.interview-promo-link {
    display: block;

    max-width: 800px;

    margin: 40px auto;

    text-decoration: none;
}

.interview-promo-box {
    text-align: center;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.interview-promo-link:hover .interview-promo-box {
    background: var(--card-hover);

    transform: translateY(-4px);
}

.interview-banner-wrapper img {
    display: block;

    width: 100%;

    max-height: 250px;

    object-fit: cover;
}

.interview-content {
    padding: 25px;
}

.interview-content h3 {
    margin: 0 0 10px;

    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.7rem;

    letter-spacing: 2px;
}

.interview-content h2 {
    margin: 0 0 15px;

    font-size: 1.6rem;
}

.interview-content p {
    margin-bottom: 0;

    font-size: 0.85rem;
}


/* =========================================================
   PLAYER
   Keep player functionality/layout intact.
   ========================================================= */

.ap-release-list {
    display: grid;

    gap: 24px;

    margin-top: 30px;
}

.ap-card {
    display: grid;

    grid-template-columns: 140px 1fr;

    gap: 18px;

    padding: 14px;

    background: var(--card-bg);

    border: 1px solid var(--border-soft);

    border-radius: 0;

    backdrop-filter: blur(8px);
}

.ap-left .ap-cover {
    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    border-radius: 0;
}

.ap-title {
    margin-bottom: 4px;

    color: #fff;

    font-family: var(--display-font);

    font-size: 1.15rem;
}

.ap-meta-line {
    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.8rem;
}

.ap-meta-line .ap-dot {
    margin: 0 8px;

    opacity: 0.5;
}

.ap-tracks {
    display: grid;

    gap: 8px;

    margin: 12px 0 0;

    padding: 0;

    list-style: none;
}

.ap-track {
    display: grid;

    grid-template-columns:
        40px
        1fr
        50px;

    align-items: center;

    gap: 10px;

    padding: 12px 0;

    border-bottom:
        1px solid var(--border-soft);
}

.ap-track-title {
    min-width: 0;

    color: var(--text);

    font-family: var(--mono-font);

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.ap-play {
    width: 38px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;

    border-radius: 4px;

    background: rgba(255, 255, 255, 0.08);

    color: #fff;

    cursor: pointer;

    transition:
        background 0.2s ease;
}

.ap-play:hover {
    background: rgba(255, 255, 255, 0.16);
}


/* now playing */

.ap-nowbar {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 10000;

    padding: 10px;

    background:
        rgba(5, 5, 5, 0.92);

    border-top:
        1px solid var(--border);

    backdrop-filter: blur(15px);

    transform: translateY(100%);

    transition:
        transform 0.3s ease;
}

.ap-nowbar.is-open {
    transform: translateY(0) !important;
}

.ap-nowbar-inner {
    width: 100%;
    max-width: 1200px;

    display: flex;

    align-items: center;

    gap: 15px;

    margin: 0 auto;
}

.ap-nowbar img {
    width: 60px;
    height: 60px;

    flex: 0 0 60px;

    object-fit: cover;

    border-radius: 0;
}

.ap-meta {
    flex: 1;

    min-width: 0;
}

.ap-sub {
    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.8rem;
}

.ap-controls {
    display: inline-flex;

    align-items: center;

    gap: 10px;
}

.ap-btn {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;

    border-radius: 4px;

    background: rgba(255, 255, 255, 0.05);

    color: #fff;

    cursor: pointer;

    transition:
        background 0.2s ease;
}

.ap-btn:hover {
    background: rgba(255, 255, 255, 0.14);
}

.ap-progress {
    width: 100%;
    max-width: 400px;

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.7rem;
}

.ap-progress input[type="range"],
.ap-vol input[type="range"] {
    accent-color: #fff;
}

.ap-progress input[type="range"] {
    flex: 1;
}

.ap-vol {
    min-width: 150px;

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--text-secondary);

    font-family: var(--mono-font);
}

.ap-vol input[type="range"] {
    width: 100%;
}

body.player-page.has-nowbar {
    padding-bottom: 100px !important;
}


/* =========================================================
   FILTER / RELEASE DIRECTORY
   ========================================================= */

.full-releases {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(250px, 1fr));

    gap: 30px;

    margin: 40px auto;
}

.full-releases-page h1 {
    margin-bottom: 10px;
}


/* =========================================================
   ALBUM PAGE
   ========================================================= */

.album-layout {
    display: grid;

    grid-template-columns: 350px 1fr;

    gap: 40px;

    margin-top: 20px;

    text-align: left;
}

.album-sidebar {
    display: flex;

    flex-direction: column;

    gap: 20px;
}

.album-cover-large {
    width: 100%;

    border-radius: 0;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.7);
}

.album-links {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.listen-btn {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 11px 12px;

    background: var(--card-bg);

    border: 1px solid var(--border-soft);

    border-radius: 0;

    color: var(--text);

    font-family: var(--mono-font);

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.listen-btn:hover {
    background: var(--card-hover);

    border-color: var(--border);
}

.album-content h1 {
    margin: 0;

    font-size: 3rem;

    text-align: left;

    line-height: 1;
}

.album-content h1::after {
    display: none;
}

.album-artist {
    margin: 10px 0;

    color: var(--text-secondary);

    font-size: 1.4rem;

    text-align: left;
}

.album-meta {
    margin-bottom: 30px;

    padding-bottom: 20px;

    border-bottom:
        1px solid var(--border);

    color: var(--text-secondary);

    font-family: var(--mono-font);
}

.album-description {
    margin-bottom: 40px;
}

.album-tracklist ol {
    padding-left: 20px;

    color: var(--text-secondary);

    font-family: var(--mono-font);

    line-height: 1.8;
}

.album-tracklist li::marker {
    color: #fff;
}

.album-credits {
    margin-bottom: 40px;

    font-family: var(--mono-font);
}

.credits-list {
    padding: 0;

    list-style: none;

    color: var(--text-secondary);
}

.credits-list li {
    margin-bottom: 8px;
}

.credits-list strong {
    margin-right: 5px;

    color: #fff;

    font-size: 0.8rem;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   ART
   ========================================================= */

.featured-art {
    width: 100%;

    margin-top: 60px;
}

.art-scroll-container {
    display: flex;

    align-items: center;

    gap: 20px;

    width: 100%;

    padding:
        20px 0 40px;

    overflow-x: auto;

    scroll-snap-type: x mandatory;
}

.art-scroll-container img {
    width: auto;
    height: 350px;

    max-width: 90vw;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 0;

    scroll-snap-align: center;

    filter: grayscale(30%);

    transition:
        filter 0.3s ease,
        transform 0.3s ease;
}

.art-scroll-container img:hover {
    filter: grayscale(0);

    transform: scale(1.015);
}


/* =========================================================
   SHOP
   ========================================================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(280px, 1fr));

    gap: 40px 30px;

    margin-top: 50px;
}

.product-card {
    text-align: left;

    transition:
        transform 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-image-wrap {
    position: relative;

    width: 100%;

    margin-bottom: 15px;

    overflow: hidden;

    background: #000;

    border: 1px solid var(--border-soft);

    border-radius: 0;
}

.product-image-wrap img {
    display: block;

    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    filter: grayscale(100%);

    transition:
        filter 0.3s ease;
}

.product-card:hover .product-image-wrap img {
    filter: grayscale(0) brightness(1.05);
}

.product-info {
    padding: 0 5px;
}

.product-title {
    margin-bottom: 4px;

    color: #fff;

    font-size: 1rem;
}

.product-artist {
    margin-bottom: 12px;

    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.75rem;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.product-price {
    color: #fff;

    font-size: 1rem;

    font-weight: bold;
}


/* =========================================================
   MISC
   ========================================================= */

.coming-soon {
    display: inline-block;

    padding: 6px 10px;

    border:
        1px dashed rgba(255, 255, 255, 0.25);

    border-radius: 0;

    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.75rem;

    letter-spacing: 1px;
}

.presave-btn {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 10px;

    padding: 6px 12px;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid var(--border-soft);

    border-radius: 0;

    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.75rem;

    letter-spacing: 1px;

    text-decoration: none;

    text-transform: uppercase;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.presave-btn:hover {
    background: rgba(255, 255, 255, 0.08);

    color: #fff;
}

.new-badge {
    display: inline-block;

    padding: 2px 6px;

    margin-left: 8px;

    background: #fff;

    border-radius: 2px;

    color: #000;

    font-family: var(--mono-font);

    font-size: 0.6rem;

    font-weight: bold;

    text-transform: uppercase;

    animation: pulseOpacity 2s infinite;
}

@keyframes pulseOpacity {
    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.learn-more-link {
    display: inline-block;

    margin-top: 8px;

    color: var(--text-secondary);

    font-family: var(--mono-font);

    font-size: 0.75rem;

    text-decoration: none;

    transition:
        color 0.2s ease;
}

.learn-more-link:hover {
    color: #fff;
}


/* =========================================================
   ARTIST BACKGROUND
   ========================================================= */

/* =========================================================
   ARTIST BACKGROUND
   ========================================================= */

   body.artist-bg-enabled {
    position: relative;
    background-attachment: fixed;
}

/* Changed from ::before to ::after to avoid CRT effect collision */
body.artist-bg-enabled::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: var(--artist-bg-image);
    background-size: cover;
    background-position: center;
    /* I recommend 0.5 or 0.6 brightness so the white text is still readable! */
    filter: blur(15px) brightness(0.3); 
    transform: scale(1.05);
    pointer-events: none;
}

body.artist-bg-enabled .container {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
}


/* =========================================================
   CRT EFFECT
   ========================================================= */

body::before {
    content: "";

    position: fixed;

    inset: 0;

    z-index: 9998;

    pointer-events: none;

    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255,255,255,0.018) 0,
            rgba(255,255,255,0.018) 1px,
            rgba(0,0,0,0.018) 2px
        ),
        radial-gradient(
            ellipse at 50% -10%,
            rgba(255,255,255,0.025),
            transparent 40%
        ),
        radial-gradient(
            ellipse at 50% 120%,
            rgba(0,0,0,0.45),
            transparent 60%
        );

    mix-blend-mode: overlay;

    animation:
        crt-flicker 7s linear infinite,
        crt-scan 10s linear infinite;

    opacity: 0.8;
}

@keyframes crt-flicker {
    0%,
    100% {
        opacity: 0.82;
    }

    50% {
        opacity: 0.9;
    }
}

@keyframes crt-scan {
    0% {
        background-position:
            0 0,
            50% 0,
            50% 0;
    }

    100% {
        background-position:
            0 2px,
            50% 0,
            50% 0;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .container {
        padding: 20px 16px;
    }

    .banner {
        width: 95%;
    }

    h1 {
        font-size: 2.7rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .release-grid {
        grid-template-columns:
            repeat(auto-fit, minmax(250px, 1fr));

        gap: 20px;
    }

    .site-nav {
        flex-wrap: wrap;

        justify-content: space-between;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav .nav-links {
        display: none;

        flex-basis: 100%;

        flex-direction: column;

        align-items: center;

        gap: 0;

        padding-top: 12px;
    }

    body.nav-open .site-nav .nav-links {
        display: flex;
    }

    .site-nav .nav-links a {
        width: 100%;

        padding: 11px 0;

        text-align: center;

        border-bottom:
            1px solid var(--border-soft);
    }

    .site-nav .nav-links a:last-child {
        border-bottom: none;
    }

    .ap-controls .ap-btn {
        width: 34px;
        height: 32px;
    }

    .album-layout {
        grid-template-columns: 1fr;
    }

    .album-sidebar {
        max-width: 350px;

        margin: 0 auto;
    }

    .album-content {
        text-align: center;
    }

    .album-content h1,
    .album-artist {
        text-align: center;
    }

    .album-tracklist {
        max-width: 400px;

        margin: 0 auto;

        text-align: left;
    }
}


@media (max-width: 600px) {

    main > * {
        margin-bottom: 40px;
    }

    .container {
        padding:
            15px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .release-grid {
        grid-template-columns: 1fr;
    }

    .release {
        width: 100%;

        max-width: 350px;

        margin:
            0 auto;
    }

    .artist-grid {
        display: grid;

        grid-template-columns:
            repeat(2, 150px);

        justify-content: center;

        gap: 15px;
    }

    .social-links {
        gap: 15px;
    }

    .social-links a {
        width: 42px;
        height: 42px;

        font-size: 1.1rem;
    }

    .promo-video-box,
    .discord-widget-section,
    .about,
    .ap-card {
        width: 100%;

        max-width: 350px;

        margin-left: auto;
        margin-right: auto;
    }

    .release-scroll {
        width: 100vw;
        max-width: 100vw;

        margin:
            0 -15px;

        padding:
            20px 15px 35px;
    }

    .release-scroll .release {
        flex:
            0 0 250px;

        max-width: 250px;
    }

    .ap-card {
        grid-template-columns:
            100px 1fr;

        gap: 15px;

        padding: 15px;
    }

    .ap-left {
        grid-column: 1;

        grid-row: 1 / 3;
    }

    .ap-cover {
        width: 100px;

        height: 100px;
    }

    .ap-right {
        display: contents;
    }

    .ap-title,
    .ap-meta-line {
        grid-column: 2;
    }

    .ap-title {
        align-self: end;

        font-size: 1rem;
    }

    .ap-meta-line {
        align-self: start;

        font-size: 0.75rem;
    }

    .ap-tracks {
        grid-column: 1 / -1;

        width: 100%;

        margin-top: 15px;

        border-top:
            1px solid var(--border);
    }

    .ap-track {
        grid-template-columns:
            25px 1fr 40px;

        gap: 10px;

        padding: 10px 0;
    }

    .ap-track-title {
        font-size: 0.85rem;
    }

    body.player-page.has-nowbar {
        padding-bottom: 160px !important;
    }

    .ap-nowbar {
        padding:
            12px 15px 20px;
    }

    .ap-nowbar-inner {
        flex-direction: column;

        gap: 10px;

        align-items: center;
    }

    .ap-nowbar img,
    .ap-vol {
        display: none;
    }

    .ap-meta {
        width: 100%;

        text-align: center;
    }

    .ap-nowbar .ap-title {
        font-size: 1rem;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .ap-sub {
        font-size: 0.8rem;
    }

    .ap-progress {
        width: 100%;

        max-width: none;
    }

    .ap-controls {
        width: 100%;

        justify-content: center;

        gap: 18px;
    }

    .ap-btn {
        width: 32px;
        height: 32px;
    }

    .art-scroll-container {
        max-width: 100vw;

        margin:
            0 -15px;

        padding:
            20px 15px 30px;

        gap: 15px;
    }

    .art-scroll-container img {
        height: 250px;

        max-width: 85vw;
    }
}


/* =========================================================
   HOME-SPECIFIC EXISTING RULES
   ========================================================= */

.home .releases .release-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(220px, 1fr));

    gap: 16px;

    max-width: 1280px;

    margin: 0 auto;

    align-items: start;
}

.home .release {
    padding: 16px 12px 12px;
}

.home .release img {
    aspect-ratio: 1 / 1;

    object-fit: cover;
}

.home .artists .artist-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 150px);

    gap: 24px;

    justify-content: center;

    justify-items: center;
}

.home .artists .artist {
    width: 150px;

    flex: none;
}

@media (max-width: 1100px) {

    .home .releases .release-grid {
        grid-template-columns:
            repeat(3, minmax(200px, 1fr));
    }

    .home .artists .artist-grid {
        grid-template-columns:
            repeat(3, 150px);
    }
}

@media (max-width: 800px) {

    .home .releases .release-grid {
        grid-template-columns:
            repeat(2, minmax(180px, 1fr));
    }

    .home .artists .artist-grid {
        grid-template-columns:
            repeat(2, 150px);
    }
}

@media (max-width: 520px) {

    .home .releases .release-grid {
        grid-template-columns: 1fr;
    }

    .home .artists .artist-grid {
        grid-template-columns: 150px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   ARTIST DIRECTORY
   ========================================================= */

   .artists-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 22px 100px;
}

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.artists-header {
    width: 100%;
    margin: 0 auto 55px;
    text-align: center;
}

.artists-kicker {
    margin-bottom: 12px;

    color: #666;

    font-family: "Courier New", monospace;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.artists-header h1 {
    margin: 0;

    color: #fff;

    font-family: "SA Cinta", sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.95;
    letter-spacing: -2px;
}

.artists-header p {
    max-width: 560px;
    margin: 22px auto 0;

    color: #777;

    font-family: "Courier New", monospace;
    font-size: 0.78rem;
    line-height: 1.7;
}

/* ---------------------------------------------------------
   DIRECTORY
   --------------------------------------------------------- */

.artists-directory {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* ---------------------------------------------------------
   ARTIST CARD
   --------------------------------------------------------- */

.artist-directory-card {
    position: relative;

    min-width: 0;

    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 18px;

    padding: 14px;

    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.025);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.artist-directory-card:hover {
    background: rgba(255,255,255,0.045);
    border-color: rgba(255,255,255,0.14);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------
   PFP
   --------------------------------------------------------- */

.artist-directory-pfp {
    display: block;

    width: 105px;
    height: 105px;

    object-fit: cover;

    border: 0;
}

/* ---------------------------------------------------------
   ARTIST INFO
   --------------------------------------------------------- */

.artist-directory-info {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.artist-directory-name {
    display: inline-block;

    width: fit-content;
    max-width: 100%;

    color: #fff;

    font-family: "SA Cinta", sans-serif;
    font-size: 1.15rem;
    line-height: 1.15;

    text-decoration: none;

    overflow-wrap: anywhere;
}

.artist-directory-name:hover {
    color: #ccc;
}

.artist-directory-bio {
    max-width: 500px;
    margin-top: 8px;

    color: #777;

    font-family: "Courier New", monospace;
    font-size: 0.68rem;
    line-height: 1.55;
}

.artist-directory-meta {
    margin-top: 11px;

    color: #4f4f4f;

    font-family: "Courier New", monospace;
    font-size: 0.58rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---------------------------------------------------------
   ARROW
   --------------------------------------------------------- */

.artist-directory-arrow {
    position: absolute;

    top: 14px;
    right: 15px;

    color: #444;

    font-family: "Courier New", monospace;
    font-size: 0.9rem;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.artist-directory-card:hover
.artist-directory-arrow {
    color: #fff;
    transform: translateX(3px);
}

/* ---------------------------------------------------------
   RELEASES
   Hidden unless showReleases === true
   --------------------------------------------------------- */

.artist-releases {
    grid-column: 1 / -1;

    margin-top: 2px;
    padding: 14px 0 0;

    border-top: 1px solid rgba(255,255,255,0.06);
}

.artist-releases-heading {
    margin-bottom: 9px;

    color: #555;

    font-family: "Courier New", monospace;
    font-size: 0.58rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.artist-release-list {
    display: grid;
    gap: 0;
}

.artist-release {
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 8px 0;

    border-bottom: 1px solid rgba(255,255,255,0.035);

    color: #888;

    font-family: "Courier New", monospace;
    font-size: 0.65rem;

    text-decoration: none;
}

.artist-release:last-child {
    border-bottom: 0;
}

.artist-release:hover {
    color: #fff;
}

.artist-release-name {
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.artist-release-date {
    flex-shrink: 0;

    color: #444;

    font-size: 0.58rem;
}

/* ---------------------------------------------------------
   DIRECTORY STATES
   --------------------------------------------------------- */

.artists-loading,
.artists-error,
.artists-empty {
    grid-column: 1 / -1;

    padding: 35px 20px;

    border: 1px solid rgba(255,255,255,0.07);

    color: #555;

    font-family: "Courier New", monospace;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-align: center;
    text-transform: uppercase;
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 800px) {

    .artists-page {
        padding: 50px 18px 80px;
    }

    .artists-directory {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 520px) {

    .artists-header {
        margin-bottom: 35px;
    }

    .artists-header h1 {
        font-size: 3.5rem;
    }

    .artists-header p {
        font-size: 0.68rem;
    }

    .artist-directory-card {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 14px;

        padding: 12px;
    }

    .artist-directory-pfp {
        width: 82px;
        height: 82px;
    }

    .artist-directory-name {
        font-size: 1rem;
    }

    .artist-directory-bio {
        font-size: 0.62rem;
    }

}

/* =========================================================
   TIMELINE
   ========================================================= */

   .timeline-body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.timeline-page {
    position: relative;

    width: 100%;
    height: calc(100vh - 54px);
    min-height: 0;

    margin: 0 !important;
    padding: 0 !important;

    display: block;

    overflow: hidden;

    text-align: left;
}

/* kill the global main child spacing */

.timeline-page > * {
    margin-bottom: 0 !important;
}


/* =========================================================
   LEGEND
   ========================================================= */

.timeline-legend {
    position: absolute;

    top: 24px;
    left: 24px;

    z-index: 20;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 8px;

    padding: 0;

    pointer-events: none;
}

.timeline-legend-title {
    font-family: var(--display-font);
    font-size: 0.58rem;
    letter-spacing: 0.14em;

    color: var(--text-muted);
}

.timeline-legend-items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 7px;
}

.timeline-legend-item {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--text-secondary);

    font-family: var(--mono-font);
    font-size: 0.62rem;

    white-space: nowrap;
}


/* =========================================================
   LEGEND SYMBOLS
   IMPORTANT:
   these names intentionally do NOT use ".release"
   so they cannot collide with the site's release cards.
   ========================================================= */

.timeline-symbol {
    position: relative;

    width: 9px !important;
    height: 9px !important;
    min-width: 9px !important;

    flex: 0 0 9px;

    margin: 0 !important;
    padding: 0 !important;

    display: inline-block;

    background: transparent !important;

    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 50%;

    box-shadow: none !important;

    overflow: visible !important;

    transform: none;
}

/* release = circle */

.timeline-symbol.timeline-release {
    border-radius: 50%;
}

/* announcement = square */

.timeline-symbol.timeline-announcement {
    border-radius: 1px;
}

/* milestone = diamond */

.timeline-symbol.timeline-milestone {
    border-radius: 1px;
    transform: rotate(45deg);
}

/* join = angled / pin-ish */

.timeline-symbol.timeline-join {
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

/* leave = diamond */

.timeline-symbol.timeline-leave {
    border-radius: 1px;
    transform: rotate(45deg);
}


/* =========================================================
   CONTROLS
   ========================================================= */

.timeline-controls {
    position: absolute;

    top: 24px;
    right: 24px;

    z-index: 20;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 0;

    pointer-events: auto;
}

.timeline-control {
    width: 30px;
    height: 26px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.15);

    background: rgba(5, 5, 5, 0.75);

    color: #fff;

    font-size: 0.8rem;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.timeline-control:hover {
    background: rgba(255, 255, 255, 0.08);

    border-color:
        rgba(255, 255, 255, 0.35);
}

.timeline-scroll-hint {
    padding: 0 5px;

    color: var(--text-muted);

    font-family: var(--mono-font);
    font-size: 0.55rem;

    letter-spacing: 0.1em;
}


/* =========================================================
   TIMELINE VIEWPORT
   ========================================================= */

.timeline-viewport {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(255, 255, 255, 0.25)
        transparent;
}

.timeline-viewport::-webkit-scrollbar {
    height: 7px;
}

.timeline-viewport::-webkit-scrollbar-track {
    background: transparent;
}

.timeline-viewport::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
}


/* =========================================================
   TRACK
   ========================================================= */

.timeline-track {
    position: relative;

    width: max-content;
    min-width: 100%;

    height: 100%;
    min-height: 0;
}


/* =========================================================
   MAIN TIMELINE LINE
   ========================================================= */

.timeline-track::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        rgba(255, 255, 255, 0.28);

    z-index: 1;
}


/* =========================================================
   MONTH MARKERS
   ========================================================= */

.timeline-tick {
    position: absolute;

    top: 0;

    width: 1px;
    height: 100%;

    pointer-events: none;

    transform: translateX(-50%);
}

.timeline-tick-line {
    position: absolute;

    top: calc(50% - 12px);

    width: 1px;
    height: 24px;

    background:
        rgba(255, 255, 255, 0.2);
}

.timeline-tick-label {
    position: absolute;

    top: calc(50% + 16px);
    left: 50%;

    transform: translateX(-50%);

    white-space: nowrap;

    color: var(--text-muted);

    font-family: var(--mono-font);
    font-size: 0.58rem;
}

.timeline-tick-year {
    position: absolute;

    top: calc(50% - 38px);
    left: 50%;

    transform: translateX(-50%);

    white-space: nowrap;

    color: var(--text-secondary);

    font-family: var(--display-font);
    font-size: 0.65rem;

    letter-spacing: 0.08em;
}

.timeline-year-label {
    position: absolute;

    top: calc(50% - 110px);

    transform: translateX(-50%);

    color: rgba(255, 255, 255, 0.7);

    font-family: var(--display-font);
    font-size: 0.9rem;

    letter-spacing: 0.12em;

    white-space: nowrap;
}


/* =========================================================
   EVENT MARKERS
   ========================================================= */

   .timeline-marker {
    position: absolute !important;

    left: 0;
    top: 50%;

    width: 11px !important;
    height: 11px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box;

    background: #fff !important;

    border: 2px solid #050505 !important;

    z-index: 10;

    transform: translate(-50%, -50%);

    box-shadow:
        0 0 0 1px rgba(255,255,255,0.35);

    pointer-events: none;
}

/* RELEASE = CIRCLE */
.timeline-marker.timeline-release {
    border-radius: 50% !important;
}

/* ANNOUNCEMENT = SQUARE */
.timeline-marker.timeline-announcement {
    border-radius: 2px !important;
}

/* MILESTONE = DIAMOND */
.timeline-marker.timeline-milestone {
    border-radius: 1px !important;

    transform:
        translate(-50%, -50%)
        rotate(45deg);
}

/* MEMBER JOIN = CIRCLE */
.timeline-marker.timeline-join {
    border-radius: 50% !important;
}

/* MEMBER LEAVE = DIAMOND */
.timeline-marker.timeline-leave {
    border-radius: 1px !important;

    transform:
        translate(-50%, -50%)
        rotate(45deg);
}


/* =========================================================
   EVENT STEMS
   ========================================================= */

.timeline-stem {
    position: absolute;

    left: 50%;

    width: 1px;

    background:
        rgba(255, 255, 255, 0.22);

    transform: translateX(-50%);

    z-index: 2;
}

.timeline-stem.above {
    bottom: 50%;
}

.timeline-stem.below {
    top: 50%;
}


/* =========================================================
   EVENT CARDS
   ========================================================= */

.timeline-event {
    position: absolute;

    width: 230px;

    opacity: 0;

    transition:
        opacity 0.65s ease,
        transform 0.65s ease;

    z-index: 5;
}

.timeline-event.above {
    transform:
        translate(-50%, 18px);
}

.timeline-event.below {
    transform:
        translate(-50%, -18px);
}

.timeline-event.is-visible {
    opacity: 1;

    transform:
        translate(-50%, 0);
}

.timeline-event-card {
    width: 100%;

    box-sizing: border-box;

    padding: 10px;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    background:
        rgba(8, 8, 8, 0.92);

    backdrop-filter: blur(8px);

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.timeline-event-card:hover {
    border-color:
        rgba(255, 255, 255, 0.3);

    background:
        rgba(18, 18, 18, 0.96);
}

.timeline-event-image {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    margin-bottom: 8px;
}

.timeline-event-copy {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.timeline-event-date {
    color: var(--text-muted);

    font-family: var(--display-font);
    font-size: 0.57rem;

    letter-spacing: 0.08em;
}

.timeline-event-type {
    color: var(--text-secondary);

    font-family: var(--display-font);
    font-size: 0.55rem;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.timeline-event-description {
    margin: 0;

    color: #ddd;

    font-family: var(--body-font);
    font-size: 0.72rem;

    line-height: 1.4;
}

.timeline-event-link {
    display: inline-block;

    margin-top: 3px;

    color: #999;

    font-family: var(--mono-font);
    font-size: 0.62rem;

    text-decoration: none;
}

.timeline-event-link:hover {
    color: #fff;
}


/* =========================================================
   STATES
   ========================================================= */

.timeline-loading,
.timeline-error,
.timeline-empty {
    position: absolute;

    inset: 0;

    display: grid;
    place-items: center;

    color: var(--text-muted);

    font-family: var(--mono-font);
    font-size: 0.7rem;

    letter-spacing: 0.08em;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .timeline-page {
        height: calc(100vh - 54px);
    }

    .timeline-legend {
        top: 15px;
        left: 15px;
    }

    .timeline-legend-item {
        font-size: 0.58rem;
    }

    .timeline-controls {
        top: 15px;
        right: 15px;
    }

    .timeline-scroll-hint {
        display: none;
    }

    .timeline-event {
        width: 200px;
    }

    .timeline-year-label {
        top: calc(50% - 90px);
        font-size: 0.75rem;
    }

    .timeline-tick-label {
        font-size: 0.52rem;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .timeline-event {
        transition: none;
    }

    .timeline-event.above,
    .timeline-event.below {
        transform: translate(-50%, 0);
    }

}

/* --- THE ROSTER (ARTISTS PAGE) --- */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    width: 100%;
}

.artist-card {
    background: var(--card-bg, #111);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.artist-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
}

.artist-pfp {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 2px solid rgba(255,255,255,0.1);
    filter: grayscale(30%);
    transition: filter 0.3s ease, border-color 0.3s ease;
}

.artist-card:hover .artist-pfp {
    filter: grayscale(0%);
    border-color: rgba(255,255,255,0.4);
}

.artist-name {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: var(--text, #fff);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.artist-bio {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes buttons to the bottom evenly */
}

.artist-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.artist-actions .btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s ease;
}

.btn-profile {
    background: transparent;
    color: #fff;
}

.btn-releases {
    background: #fff;
    color: #000;
}

.artist-actions .btn:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* --- RELEASES MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #888;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #fff;
}

.modal-content h2 {
    font-family: 'Courier New', monospace;
    margin-top: 0;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    font-size: 1.3rem;
}

.modal-releases {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.release-item {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #ccc;
    font-family: sans-serif;
}

/* --- ROSTER ROLE BADGES --- */
.role-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid;
    background: rgba(0,0,0,0.3);
}

/* Badge Color Themes */
.badge-artist {
    color: #ddd;
    border-color: rgba(255,255,255,0.2);
}

.badge-management {
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
}

.badge-engineering {
    color: #4db8ff;
    border-color: rgba(77, 184, 255, 0.3);
    background: rgba(77, 184, 255, 0.05);
}

.badge-media {
    color: #ff79c6;
    border-color: rgba(255, 121, 198, 0.3);
    background: rgba(255, 121, 198, 0.05);
}

