
/* SF Sports Night Fonts - Backup Declaration */
@font-face {
    font-family: 'SF Sports Night';
    src: url('assets/fonts/SF-Sports-Night.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Sports Night Upright';
    src: url('assets/fonts/SF-Sports-Night-Upright.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Liquid Glass Variables */
:root {
    --lg-bg-color: rgba(255, 255, 255, 0.1);
    --lg-highlight: rgba(255, 255, 255, 0.3);
    --lg-text: #ffffff;
    --lg-red: #fb4268;
    --lg-grey: #444739;
    --vh: 1vh;

    /* Typography tokens */
    --font-heading: 'SF Sports Night', sans-serif;
    --font-heading-alt: 'SF Sports Night Upright', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Text color tokens */
    --color-text-main: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.8);
    --color-text-soft: rgba(255, 255, 255, 0.7);
    --color-text-subtle: rgba(255, 255, 255, 0.55);
}

@media (prefers-color-scheme: dark) {
    html,
    body,
    img,
    picture,
    video,
    canvas {
        filter: none !important;
        mix-blend-mode: normal !important;
    }
}

/* Utility classes: typography & layout helpers */
.u-font-heading {
    font-family: var(--font-heading);
}

.u-font-heading-alt {
    font-family: var(--font-heading-alt);
}

.u-font-body {
    font-family: var(--font-body);
}

.u-text-main {
    color: var(--color-text-main);
}

.u-text-muted {
    color: var(--color-text-muted);
}

.u-text-soft {
    color: var(--color-text-soft);
}

.u-text-subtle {
    color: var(--color-text-subtle);
}

.u-text-center {
    text-align: center;
}

.u-text-left {
    text-align: left;
}

.u-text-small {
    font-size: 0.9rem;
}

.u-text-xs {
    font-size: 0.75rem;
}

.u-inline-block {
    display: inline-block;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: clip;
    overscroll-behavior-x: none;
    font-size: clamp(15px, 1.6vw, 16px);
}

body {
    width: 100%;
    overflow-x: clip;
    overflow-y: hidden;
    margin: 0;
    padding: 0;
    background: black;
    touch-action: pan-y;
    overscroll-behavior-x: none;
}

/* Hide native scrollbars while keeping scroll functionality */
html, body {
    scrollbar-width: none; /* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

canvas { 
    display: block; 
}

.world {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: #000000;
    z-index: 1;
}

.world canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Page Management */
.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
    min-height: calc(var(--vh, 1vh) * 100);
    max-height: calc(var(--vh, 1vh) * 100);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0s linear 0.4s;
}

.page.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease-in-out, visibility 0s linear 0s;
}

/* Allow scrolling only on Discography page */
#discographyPage.page {
    overflow-y: auto;
    max-height: none;
    min-height: 100vh;
}

/* Navigation Bar */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.main-nav::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.05) 70%, transparent 100%);
    /* backdrop-filter: blur(2px); */
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.85) 35%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.5) 65%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.15) 85%, rgba(0, 0, 0, 0.05) 92%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 0%, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.85) 35%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.5) 65%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.15) 85%, rgba(0, 0, 0, 0.05) 92%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

.main-nav.scrolled {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.35);
}

.main-nav.scrolled::before {
    opacity: 0.4;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: 0.1em;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
    isolation: isolate;
}

/* Shared glow shell for logo, nav links, and headings */
.nav-logo,
.nav-link,
.hero-title,
.section-title {
    position: relative;
    z-index: 100;
    isolation: isolate;
}

.nav-logo::before,
.nav-link::before,
.hero-title::before,
.section-title::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -50px;
    right: -50px;
    bottom: -40px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.35) 20%, rgba(0, 0, 0, 0.28) 35%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.13) 65%, rgba(0, 0, 0, 0.08) 75%, rgba(0, 0, 0, 0.04) 85%, rgba(0, 0, 0, 0.015) 92%, rgba(0, 0, 0, 0.005) 96%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, rgba(0, 0, 0, 0.995) 5%, rgba(0, 0, 0, 0.99) 10%, rgba(0, 0, 0, 0.98) 15%, rgba(0, 0, 0, 0.96) 20%, rgba(0, 0, 0, 0.93) 25%, rgba(0, 0, 0, 0.89) 30%, rgba(0, 0, 0, 0.84) 35%, rgba(0, 0, 0, 0.78) 40%, rgba(0, 0, 0, 0.71) 45%, rgba(0, 0, 0, 0.64) 50%, rgba(0, 0, 0, 0.56) 55%, rgba(0, 0, 0, 0.48) 60%, rgba(0, 0, 0, 0.4) 65%, rgba(0, 0, 0, 0.32) 70%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0.19) 80%, rgba(0, 0, 0, 0.14) 84%, rgba(0, 0, 0, 0.1) 88%, rgba(0, 0, 0, 0.07) 91%, rgba(0, 0, 0, 0.045) 94%, rgba(0, 0, 0, 0.025) 96%, rgba(0, 0, 0, 0.012) 98%, rgba(0, 0, 0, 0.005) 99%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 0%, rgba(0, 0, 0, 0.995) 5%, rgba(0, 0, 0, 0.99) 10%, rgba(0, 0, 0, 0.98) 15%, rgba(0, 0, 0, 0.96) 20%, rgba(0, 0, 0, 0.93) 25%, rgba(0, 0, 0, 0.89) 30%, rgba(0, 0, 0, 0.84) 35%, rgba(0, 0, 0, 0.78) 40%, rgba(0, 0, 0, 0.71) 45%, rgba(0, 0, 0, 0.64) 50%, rgba(0, 0, 0, 0.56) 55%, rgba(0, 0, 0, 0.48) 60%, rgba(0, 0, 0, 0.4) 65%, rgba(0, 0, 0, 0.32) 70%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0.19) 80%, rgba(0, 0, 0, 0.14) 84%, rgba(0, 0, 0, 0.1) 88%, rgba(0, 0, 0, 0.07) 91%, rgba(0, 0, 0, 0.045) 94%, rgba(0, 0, 0, 0.025) 96%, rgba(0, 0, 0, 0.012) 98%, rgba(0, 0, 0, 0.005) 99%, transparent 100%);
    z-index: -10;
    border-radius: 12px;
    pointer-events: none;
}

.nav-logo::after,
.nav-link::after,
.hero-title::after,
.section-title::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -60px;
    right: -60px;
    bottom: -50px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.16) 25%, rgba(0, 0, 0, 0.12) 40%, rgba(0, 0, 0, 0.08) 55%, rgba(0, 0, 0, 0.05) 68%, rgba(0, 0, 0, 0.03) 78%, rgba(0, 0, 0, 0.015) 86%, rgba(0, 0, 0, 0.008) 92%, rgba(0, 0, 0, 0.003) 96%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.5) 35%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.35) 48%, rgba(0, 0, 0, 0.28) 54%, rgba(0, 0, 0, 0.22) 60%, rgba(0, 0, 0, 0.17) 66%, rgba(0, 0, 0, 0.13) 72%, rgba(0, 0, 0, 0.09) 77%, rgba(0, 0, 0, 0.06) 82%, rgba(0, 0, 0, 0.04) 86%, rgba(0, 0, 0, 0.025) 90%, rgba(0, 0, 0, 0.015) 93%, rgba(0, 0, 0, 0.008) 96%, rgba(0, 0, 0, 0.004) 98%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.5) 35%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.35) 48%, rgba(0, 0, 0, 0.28) 54%, rgba(0, 0, 0, 0.22) 60%, rgba(0, 0, 0, 0.17) 66%, rgba(0, 0, 0, 0.13) 72%, rgba(0, 0, 0, 0.09) 77%, rgba(0, 0, 0, 0.06) 82%, rgba(0, 0, 0, 0.04) 86%, rgba(0, 0, 0, 0.025) 90%, rgba(0, 0, 0, 0.015) 93%, rgba(0, 0, 0, 0.008) 96%, rgba(0, 0, 0, 0.004) 98%, transparent 100%);
    z-index: -11;
    border-radius: 16px;
    pointer-events: none;
}

.nav-logo:hover {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.7);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 100;
}


.nav-link:hover {
    color: white;
    text-shadow: 0 0 18px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.7);
}

.nav-link.active {
    color: white;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    /* Keep the main SPA pages locked to the viewport on mobile; discography has its own scroll rules. */
    body {
        overflow-y: hidden;
    }

    /* Clamp generic SPA pages to viewport height on mobile so content never scrolls off into empty space. */
    .page {
        min-height: 100vh;
        max-height: 100vh;
    }

    .main-nav {
        padding: 12px 16px;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    /* Page layout on tablets/phones */
    .page-content {
        padding: 96px 16px 48px;
        align-items: center;
        min-height: auto;
    }

    #homePage .page-content {
        padding-top: 96px;
        padding-bottom: 40px;
    }

    #musicNavPage .page-content,
    #bioPage .page-content {
        justify-content: flex-start;
        padding-top: 96px;
        padding-bottom: 64px;
    }

    #contactPage .page-content {
        justify-content: flex-start;
        padding-top: 96px;
        padding-bottom: 16px;
    }

    /* Let the Contact page height be driven purely by its content */
    #contactPage.page {
        min-height: auto;
    }

    .page-section-inner,
    #bioPage .page-section-inner {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        transform: none;
    }

    .hero-profile img {
        width: 160px;
        height: 160px;
    }

    .hero-text {
        font-size: 0.85rem;
    }

    /* Stack grids into a single column on tablets/phones */
    .platforms-grid,
    .contact-grid {
        max-width: 100%;
        gap: 20px;
        grid-template-columns: minmax(0, 1fr);
    }

    .bio-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .bio-highlight {
        max-width: 100%;
        margin-top: 8px;
    }

    /* Clip large glow pseudo-elements on phones to avoid horizontal overflow */
    .main-nav::before,
    .nav-logo::before,
    .nav-logo::after,
    .nav-link::before,
    .nav-link::after,
    h1::before,
    h1::after,
    h2::before,
    h2::after,
    p::before,
    p::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }

    .nav-link {
        padding: 4px 0;
        font-size: 0.78rem;
        letter-spacing: 0.08em;
    }
}

/* Text shadows and backgrounds for better visibility */
h1, h2 {
    font-family: var(--font-heading);
    background: transparent;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    position: relative;
    z-index: 100;
    isolation: isolate;
}

h1::before, h2::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.35) 20%, rgba(0, 0, 0, 0.28) 35%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.13) 65%, rgba(0, 0, 0, 0.08) 75%, rgba(0, 0, 0, 0.04) 85%, rgba(0, 0, 0, 0.015) 92%, rgba(0, 0, 0, 0.005) 96%, transparent 100%);
    /* backdrop-filter: blur(2px); */
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, rgba(0, 0, 0, 0.995) 5%, rgba(0, 0, 0, 0.99) 10%, rgba(0, 0, 0, 0.98) 15%, rgba(0, 0, 0, 0.96) 20%, rgba(0, 0, 0, 0.93) 25%, rgba(0, 0, 0, 0.89) 30%, rgba(0, 0, 0, 0.84) 35%, rgba(0, 0, 0, 0.78) 40%, rgba(0, 0, 0, 0.71) 45%, rgba(0, 0, 0, 0.64) 50%, rgba(0, 0, 0, 0.56) 55%, rgba(0, 0, 0, 0.48) 60%, rgba(0, 0, 0, 0.4) 65%, rgba(0, 0, 0, 0.32) 70%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0.19) 80%, rgba(0, 0, 0, 0.14) 84%, rgba(0, 0, 0, 0.1) 88%, rgba(0, 0, 0, 0.07) 91%, rgba(0, 0, 0, 0.045) 94%, rgba(0, 0, 0, 0.025) 96%, rgba(0, 0, 0, 0.012) 98%, rgba(0, 0, 0, 0.005) 99%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 0%, rgba(0, 0, 0, 0.995) 5%, rgba(0, 0, 0, 0.99) 10%, rgba(0, 0, 0, 0.98) 15%, rgba(0, 0, 0, 0.96) 20%, rgba(0, 0, 0, 0.93) 25%, rgba(0, 0, 0, 0.89) 30%, rgba(0, 0, 0, 0.84) 35%, rgba(0, 0, 0, 0.78) 40%, rgba(0, 0, 0, 0.71) 45%, rgba(0, 0, 0, 0.64) 50%, rgba(0, 0, 0, 0.56) 55%, rgba(0, 0, 0, 0.48) 60%, rgba(0, 0, 0, 0.4) 65%, rgba(0, 0, 0, 0.32) 70%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0.19) 80%, rgba(0, 0, 0, 0.14) 84%, rgba(0, 0, 0, 0.1) 88%, rgba(0, 0, 0, 0.07) 91%, rgba(0, 0, 0, 0.045) 94%, rgba(0, 0, 0, 0.025) 96%, rgba(0, 0, 0, 0.012) 98%, rgba(0, 0, 0, 0.005) 99%, transparent 100%);
    z-index: -10;
    border-radius: 12px;
    pointer-events: none;
}

h1::after, h2::after {
    content: '';
    position: absolute;
    top: -25px;
    left: -60px;
    right: -60px;
    bottom: -60px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.16) 25%, rgba(0, 0, 0, 0.12) 40%, rgba(0, 0, 0, 0.08) 55%, rgba(0, 0, 0, 0.05) 68%, rgba(0, 0, 0, 0.03) 78%, rgba(0, 0, 0, 0.015) 86%, rgba(0, 0, 0, 0.008) 92%, rgba(0, 0, 0, 0.003) 96%, transparent 100%);
    /* backdrop-filter: blur(1px); */
    -webkit-mask-image: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.5) 35%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.35) 48%, rgba(0, 0, 0, 0.28) 54%, rgba(0, 0, 0, 0.22) 60%, rgba(0, 0, 0, 0.17) 66%, rgba(0, 0, 0, 0.13) 72%, rgba(0, 0, 0, 0.09) 77%, rgba(0, 0, 0, 0.06) 82%, rgba(0, 0, 0, 0.04) 86%, rgba(0, 0, 0, 0.025) 90%, rgba(0, 0, 0, 0.015) 93%, rgba(0, 0, 0, 0.008) 96%, rgba(0, 0, 0, 0.004) 98%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.5) 35%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.35) 48%, rgba(0, 0, 0, 0.28) 54%, rgba(0, 0, 0, 0.22) 60%, rgba(0, 0, 0, 0.17) 66%, rgba(0, 0, 0, 0.13) 72%, rgba(0, 0, 0, 0.09) 77%, rgba(0, 0, 0, 0.06) 82%, rgba(0, 0, 0, 0.04) 86%, rgba(0, 0, 0, 0.025) 90%, rgba(0, 0, 0, 0.015) 93%, rgba(0, 0, 0, 0.008) 96%, rgba(0, 0, 0, 0.004) 98%, transparent 100%);
    z-index: -11;
    border-radius: 16px;
    pointer-events: none;
}

p {
    background: transparent;
    padding: 8px 15px;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    z-index: 100;
    isolation: isolate;
}

p::before {
    content: '';
    position: absolute;
    top: -45px;
    left: -45px;
    right: -45px;
    bottom: -45px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.26) 20%, rgba(0, 0, 0, 0.21) 35%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.1) 65%, rgba(0, 0, 0, 0.06) 75%, rgba(0, 0, 0, 0.03) 85%, rgba(0, 0, 0, 0.012) 92%, rgba(0, 0, 0, 0.004) 96%, transparent 100%);
    /* backdrop-filter: blur(1px); */
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, rgba(0, 0, 0, 0.995) 5%, rgba(0, 0, 0, 0.99) 10%, rgba(0, 0, 0, 0.98) 15%, rgba(0, 0, 0, 0.96) 20%, rgba(0, 0, 0, 0.93) 25%, rgba(0, 0, 0, 0.89) 30%, rgba(0, 0, 0, 0.84) 35%, rgba(0, 0, 0, 0.78) 40%, rgba(0, 0, 0, 0.71) 45%, rgba(0, 0, 0, 0.64) 50%, rgba(0, 0, 0, 0.56) 55%, rgba(0, 0, 0, 0.48) 60%, rgba(0, 0, 0, 0.4) 65%, rgba(0, 0, 0, 0.32) 70%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0.19) 80%, rgba(0, 0, 0, 0.14) 84%, rgba(0, 0, 0, 0.1) 88%, rgba(0, 0, 0, 0.07) 91%, rgba(0, 0, 0, 0.045) 94%, rgba(0, 0, 0, 0.025) 96%, rgba(0, 0, 0, 0.012) 98%, rgba(0, 0, 0, 0.005) 99%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 0%, rgba(0, 0, 0, 0.995) 5%, rgba(0, 0, 0, 0.99) 10%, rgba(0, 0, 0, 0.98) 15%, rgba(0, 0, 0, 0.96) 20%, rgba(0, 0, 0, 0.93) 25%, rgba(0, 0, 0, 0.89) 30%, rgba(0, 0, 0, 0.84) 35%, rgba(0, 0, 0, 0.78) 40%, rgba(0, 0, 0, 0.71) 45%, rgba(0, 0, 0, 0.64) 50%, rgba(0, 0, 0, 0.56) 55%, rgba(0, 0, 0, 0.48) 60%, rgba(0, 0, 0, 0.4) 65%, rgba(0, 0, 0, 0.32) 70%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0.19) 80%, rgba(0, 0, 0, 0.14) 84%, rgba(0, 0, 0, 0.1) 88%, rgba(0, 0, 0, 0.07) 91%, rgba(0, 0, 0, 0.045) 94%, rgba(0, 0, 0, 0.025) 96%, rgba(0, 0, 0, 0.012) 98%, rgba(0, 0, 0, 0.005) 99%, transparent 100%);
    z-index: -10;
    border-radius: 10px;
    pointer-events: none;
}

p::after {
    content: '';
    position: absolute;
    top: -55px;
    left: -55px;
    right: -55px;
    bottom: -55px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.12) 25%, rgba(0, 0, 0, 0.09) 40%, rgba(0, 0, 0, 0.06) 55%, rgba(0, 0, 0, 0.04) 68%, rgba(0, 0, 0, 0.025) 78%, rgba(0, 0, 0, 0.012) 86%, rgba(0, 0, 0, 0.006) 92%, rgba(0, 0, 0, 0.002) 96%, transparent 100%);
    /* backdrop-filter: blur(1px); */
    -webkit-mask-image: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.5) 35%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.35) 48%, rgba(0, 0, 0, 0.28) 54%, rgba(0, 0, 0, 0.22) 60%, rgba(0, 0, 0, 0.17) 66%, rgba(0, 0, 0, 0.13) 72%, rgba(0, 0, 0, 0.09) 77%, rgba(0, 0, 0, 0.06) 82%, rgba(0, 0, 0, 0.04) 86%, rgba(0, 0, 0, 0.025) 90%, rgba(0, 0, 0, 0.015) 93%, rgba(0, 0, 0, 0.008) 96%, rgba(0, 0, 0, 0.004) 98%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.5) 35%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.35) 48%, rgba(0, 0, 0, 0.28) 54%, rgba(0, 0, 0, 0.22) 60%, rgba(0, 0, 0, 0.17) 66%, rgba(0, 0, 0, 0.13) 72%, rgba(0, 0, 0, 0.09) 77%, rgba(0, 0, 0, 0.06) 82%, rgba(0, 0, 0, 0.04) 86%, rgba(0, 0, 0, 0.025) 90%, rgba(0, 0, 0, 0.015) 93%, rgba(0, 0, 0, 0.008) 96%, rgba(0, 0, 0, 0.004) 98%, transparent 100%);
    z-index: -11;
    border-radius: 14px;
    pointer-events: none;
}

/* Image Styles - Ensure images appear above blur */
img {
    position: relative;
    z-index: 10;
    isolation: isolate;
}

/* Liquid Glass Container */
.glass-container {
    position: relative;
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 2rem;
    overflow: hidden;
    flex: 1 1 auto;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
    color: var(--lg-text);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.glass-container--rounded {
    border-radius: 3rem;
}

.glass-container--large {
    flex: 1 1 auto;
}

.glass-container--medium {
    flex: 1 1 auto;
}

.glass-container--small {
    flex: 0 1 auto;
}

.glass-filter,
.glass-overlay,
.glass-specular {
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.glass-filter {
    z-index: 0;
    backdrop-filter: blur(4px);
    filter: url(#lensFilter) saturate(120%) brightness(1.15);
}

.glass-overlay {
    z-index: 1;
    background: var(--lg-bg-color);
}

.glass-specular {
    z-index: 2;
    box-shadow: inset 1px 1px 0 var(--lg-highlight),
        inset 0 0 5px var(--lg-highlight);
}

.glass-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    padding: 32px;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glass-content:hover {
    transform: translateY(-4px);
}
/* Softer hover just for the hero Listen Now card */
.listen-now-card .glass-content:hover {
    transform: translateY(-2px);
}
/* Hero Listen Now glass CTA */
.listen-now-card {
    max-width: 420px;
    margin: 24px auto 0;
    cursor: pointer;
    display: inline-flex;
}

.listen-now-card .glass-content {
    padding: 16px 32px;
}

.glass-link {
    text-decoration: none;
    color: inherit;
}

.glass-link:focus-visible .glass-content,
.listen-now-card:focus-visible .glass-content {
    outline: 2px solid rgba(255, 255, 255, 0.4);
    outline-offset: 6px;
}

.button-reset {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: inherit;
    cursor: pointer;
}

.button-reset:focus {
    outline: none;
}

.listen-now-label {
    font-family: 'SF Sports Night', sans-serif;
    letter-spacing: 0.24em;
    font-size: 0.9rem;
    text-transform: uppercase;
}
/* Responsive adjustments */
@media (max-width: 1100px) {
    .glass-content {
        padding: 22px 18px;
    }

    .section-subtitle,
    .bio-card-text,
    .bio-highlight-text,
    .contact-card-subtitle,
    .platform-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .platform-icon {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 768px) {
    .glass-content {
        padding: 18px 16px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.7rem !important;
    }

    h2 {
        font-size: 1.7rem !important;
    }

    .page-content {
        padding: 64px 12px 20px;
        min-height: auto;
    }

    #contactPage .page-content {
        padding-bottom: 8px;
    }

    .hero-profile img {
        width: 120px;
        height: 120px;
    }

    .platforms-grid,
    .contact-grid {
        gap: 16px;
    }

    .glass-content {
        padding: 14px 12px;
    }

    /* Slightly narrow long paragraphs for readability */
    .page-section-inner,
    #contactPage .page-section-inner {
        max-width: 95%;
    }

    .listen-now-card .glass-content {
        padding: 12px 22px;
    }
}

@media (max-width: 480px) {
    .platform-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 10px;
    }
}

/* Generic page layout helpers (replaces inline styles in index.html) */
.page-content {
    position: relative;
    width: 100%;
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.page-section-inner {
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-section-inner--narrow {
    max-width: 600px;
}

/* Discography section: align width with discography grid */
#discographyPage .page-section-inner {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Cancel horizontal nudge for Discography title so it lines up with the grid */
#discographyPage .section-title {
    transform: none;
}

/* Bio section: align title and album card using the same width */
#bioPage .page-section-inner {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Give content a bit more breathing room below the fixed nav on inner pages */
.page:not(#homePage):not(#discographyPage) .page-section-inner {
    margin-top: 0;
}

/* Layout adjustments: keep home hero centered, move inner pages lower */
#homePage .page-content {
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 40px;
}

#musicNavPage .page-content,
#bioPage .page-content,
#contactPage .page-content {
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 40px;
}

#bioPage .page-content {
    align-items: flex-start;
}

/* Discography page: allow scrolling */
#discographyPage .page-content {
    justify-content: flex-start;
    padding-top: 100px;
    padding-bottom: 40px;
    min-height: auto;
}

#discographyPage.page {
    min-height: auto;
    overflow-y: auto;
}

.hero-profile {
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
    isolation: isolate;
}

.hero-profile img {
    width: 224px;
    height: 224px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.hero-title {
    font-family: 'SF Sports Night', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    margin: 0 0 30px 0;
    letter-spacing: 0.1em;
}

.hero-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.btn-listen {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 32px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 10;
    isolation: isolate;
}

.btn-listen:hover {
    background: #ffffff;
    color: #000000;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0 0 30px 0;
    letter-spacing: 0.1em;
}

/* Subtle horizontal nudge of section titles on desktop (not the main hero title or Bio section) */
@media (min-width: 900px) {
    .section-title:not(#bioPage .section-title) {
        transform: translateX(20px);
    }
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.section-subtitle--small {
    font-size: 0.95rem;
}

.section-note {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: 960px;
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    width: 100%;
}

.response-note-card {
    margin: 0 auto;
}

.contact-grid--spaced {
    margin-bottom: 24px;
}

.platform-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.platform-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.platform-subtitle {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.contact-card-subtitle {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 15px 0;
    font-size: 0.9rem;
}

.social-body {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.response-note-card {
    max-width: 600px;
}

.section-note--tight {
    margin: 0;
}

.section-note-strong {
    color: rgba(255, 255, 255, 0.9);
}

.contact-email-link--small {
    font-size: 0.9rem;
}

/* Override grids on smaller viewports so layouts stay compact */
@media (max-width: 900px) {
    .platforms-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 20px;
        max-width: 100%;
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .platforms-grid,
    .contact-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 20px;
        max-width: 100%;
    }
}

/* Site footer */
.site-footer {
    position: fixed;
    bottom: 16px;
    right: 16px;
    text-align: right;
    z-index: 900;
    pointer-events: none;
}

.site-footer-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    padding: 4px 12px;
}

/* Inline per-page footer variant, hidden by default (desktop) */
.site-footer--inline {
    display: none;
    text-align: center;
}

@media (max-width: 768px) {
    /* Hide the global fixed footer on mobile */
    body > .site-footer {
        display: none;
    }

    /* Inline page footers become normal blocks at the bottom of content */
    .site-footer--inline {
        display: block;
        position: static;
        bottom: auto;
        right: auto;
        text-align: center;
        margin-top: 24px;
        pointer-events: auto;
    }
}

.page .site-footer--inline {
    align-self: center;
    width: 100%;
}

.site-footer--inline .site-footer-text {
    text-align: center;
}

/* Discography Page */
.discography-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(380px, 1fr));
    gap: 30px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .discography-grid {
        position: relative;
        left: -35px; /* desktop-only optical centering tweak */
    }
}

.discography-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

.discography-item:hover {
    transform: translateY(-5px);
}

/* Visually differentiate disabled/unreleased discography cards */
.discography-item[aria-disabled="true"] {
    filter: grayscale(100%) brightness(0.7);
}
.discography-item[aria-disabled="true"] .discography-cover-image {
    filter: grayscale(100%) brightness(0.6);
    opacity: 0.8;
}

.discography-item .glass-content {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 14px 24px;
    height: 100%;
}

.discography-cover {
    width: 85%;
    margin: 20px auto 0 auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.discography-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.discography-item:hover .discography-cover-image {
    transform: scale(1.05);
}

.discography-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1 1 auto;
}

.discography-title {
    font-family: 'SF Sports Night', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.discography-type {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

.discography-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.4;
}

.discography-subtitle--unreleased {
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
}

/* Responsive adjustments for Discography */
@media (max-width: 900px) {
    .discography-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .discography-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        max-width: 100%;
    }

    .discography-item .glass-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .discography-item .glass-content {
        padding: 18px;
    }

    .discography-title {
        font-size: 1.3rem;
    }
}

/* Bio section */
.bio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 16px;
}

.bio-card .glass-content {
    align-items: flex-start;
    text-align: left;
}

.bio-card {
    min-height: 220px;
}

.bio-card-title {
    font-family: 'SF Sports Night', sans-serif;
    font-size: 1.4rem;
    margin: 0 0 10px 0;
}

.bio-card-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.bio-highlight {
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.bio-highlight .glass-content {
    align-items: center;
    text-align: center;
    gap: 0.6rem;
}

.bio-highlight-label {
    font-family: 'SF Sports Night', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.bio-highlight-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.album-tracklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.album-tracklist-col {
    text-align: left;
}

@media (max-width: 768px) {
    .bio-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .bio-card {
        min-height: auto;
    }

    .bio-card-title {
        font-size: 1.25rem;
    }

    .bio-highlight {
        margin: 0 auto 30px auto;
    }

    .album-tracklist {
        grid-template-columns: minmax(0, 1fr);
    }

    #bioPage .bio-highlight-label {
        font-size: 1.6rem;
    }

    #bioPage .bio-highlight-text {
        font-size: 0.9rem;
        line-height: 1.6;
        max-width: 92%;
        margin: 0 auto;
    }

    #bioPage .album-tracklist {
        gap: 12px;
    }
}

@media (max-width: 900px) {
    /* Center Bio card content on smaller widths so headings look aligned */
    .bio-card .glass-content,
    .bio-highlight .glass-content {
        align-items: center;
        text-align: center;
    }

    /* Reset desktop visual nudge of the Bio content on smaller screens */
    #bioPage .page-section-inner {
        transform: none;
    }

    /* Reset desktop visual nudge of the album card on smaller screens */
    .bio-highlight {
        transform: none;
    }
}

.back-button-wrapper {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.btn-back {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-email-link {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #00D4FF;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-email-link:hover {
    color: rgba(0, 212, 255, 0.8);
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social-icon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .hero-title,
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title,
    .section-title {
        font-size: 2rem;
    }
}
