/* ==========================================================================
   TYSON Atlantis (atlantis.tysonmediagroup.org) - Unified Corporate Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&family=M+PLUS+Rounded+1c:wght@400;500;700;800&family=Nunito:wght@400;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --container-max-width: 1720px;
    --trans-fast: 0.2s ease;
    --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Theme 1: Default Noir */
:root, [data-theme="noir"] {
    --bg-black: #000000;
    --bg-body-gradient: radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.03) 0%, #000000 80%);
    --bg-header: rgba(0, 0, 0, 0.98);
    --bg-surface: #090909;
    --bg-surface-hover: #141414;
    --bg-card: #0c0c0c;
    --bg-card-hover: #141414;
    
    --text-white: #ffffff;
    --text-pure: #ffffff;
    --text-body: #e2e5eb;
    --text-muted: #a3acb9;
    --text-dim: #717a8a;
    
    --border-subtle: rgba(255, 255, 255, 0.14);
    --border-hover: rgba(255, 255, 255, 0.4);
    --accent-color: #ffffff;
    --accent-glow: rgba(255, 255, 255, 0.25);
    
    --card-radius: 0px;
    --btn-radius: 0px;
    --box-shadow-card: none;
}

/* Theme 2: Nintendo Wii */
[data-theme="wii"] {
    --bg-black: #ebf0f5;
    --bg-body-gradient: radial-gradient(circle at 50% 0%, #ffffff 0%, #e2e8f0 70%, #cbd5e1 100%);
    --bg-header: rgba(255, 255, 255, 0.96);
    --bg-surface: #ffffff;
    --bg-surface-hover: #e8f4fc;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f9ff;
    
    --text-white: #111827;
    --text-pure: #030712;
    --text-body: #374151;
    --text-muted: #6b7280;
    --text-dim: #9ca3af;
    
    --border-subtle: #1e293b;
    --border-hover: #00a6e2;
    --accent-color: #00a6e2;
    --accent-glow: rgba(0, 166, 226, 0.45);
    
    --card-radius: 24px;
    --btn-radius: 32px;
    --box-shadow-card: 0 8px 24px rgba(15, 23, 42, 0.08), inset 0 2px 0 #ffffff;
    --font-heading: 'M PLUS Rounded 1c', 'Nunito', system-ui, sans-serif;
    --font-sans: 'M PLUS Rounded 1c', 'Nunito', system-ui, sans-serif;
}

/* Theme 3: Frutiger Aero */
[data-theme="frutiger"] {
    --bg-black: #061c30;
    --bg-body-gradient: radial-gradient(circle at 50% -10%, #1e6fa8 0%, #0d3b66 35%, #061c30 75%, #041424 100%);
    --bg-header: linear-gradient(180deg, #134975 0%, #0c3659 100%);
    --bg-surface: #0b3457;
    --bg-surface-hover: #104875;
    --bg-card: #092c4a;
    --bg-card-hover: #0e3d66;
    
    --text-white: #ffffff;
    --text-pure: #ffffff;
    --text-body: #e0f2fe;
    --text-muted: #bae6fd;
    --text-dim: #7dd3fc;
    
    --border-subtle: #1e5a8a;
    --border-hover: #38bdf8;
    --accent-color: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.45);
    
    --card-radius: 16px;
    --btn-radius: 22px;
    --box-shadow-card: 0 10px 28px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Theme 4: Nature Botanical */
[data-theme="nature"] {
    --bg-black: #051208;
    --bg-body-gradient: radial-gradient(circle at 50% 10%, #0d2814 0%, #051208 85%);
    --bg-header: rgba(5, 22, 11, 0.96);
    --bg-surface: #0a2412;
    --bg-surface-hover: #13381c;
    --bg-card: #0b2212;
    --bg-card-hover: #143b1f;
    
    --text-white: #f0fdf4;
    --text-pure: #ffffff;
    --text-body: #dcfce7;
    --text-muted: #86efac;
    --text-dim: #4ade80;
    
    --border-subtle: rgba(74, 222, 128, 0.25);
    --border-hover: #4ade80;
    --accent-color: #4ade80;
    --accent-glow: rgba(74, 222, 128, 0.35);
    
    --card-radius: 12px;
    --btn-radius: 10px;
    --box-shadow-card: 0 10px 28px rgba(5, 36, 17, 0.5);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-black);
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    background: var(--bg-black);
    background-image: var(--bg-body-gradient);
    background-attachment: fixed;
    color: var(--text-body);
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.75;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    position: relative;
    z-index: 2;
}

.container-wide {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    height: 84px;
    display: flex;
    align-items: center;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.standalone-player-body .main-header {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}


.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 52px !important;
    width: auto !important;
    max-width: 320px !important;
    object-fit: contain !important;
    transition: var(--trans-fast);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link, button.nav-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    text-decoration: none;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: color var(--trans-fast);
}

.nav-link:hover, button.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}


.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Audio Player Button in Nav */
.audio-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.settings-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-white);
    padding: 8px 10px;
    border-radius: var(--btn-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans-fast);
}

.settings-btn:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
}

/* SPA Views */
.page-view {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.page-view.active-view {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0 4.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

.hero-container {
    position: relative;
    z-index: 5;
}

/* Ambient Frosted Background Carousel */
.hero-bg-carousel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1680px;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.3) 8%, rgba(0,0,0,1) 22%, rgba(0,0,0,1) 78%, rgba(0,0,0,0.3) 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.3) 8%, rgba(0,0,0,1) 22%, rgba(0,0,0,1) 78%, rgba(0,0,0,0.3) 92%, transparent 100%);
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 45%;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2.0s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-bg-slide.active {
    opacity: 0.65;
}

[data-theme="noir"] .hero-bg-slide.active {
    opacity: 0.68;
    filter: contrast(1.04) brightness(0.94);
}

[data-theme="wii"] .hero-bg-slide.active {
    opacity: 0.35;
    filter: saturate(0.95);
}

[data-theme="frutiger"] .hero-bg-slide.active {
    opacity: 0.75;
    filter: saturate(1.08) brightness(1.02);
}

[data-theme="nature"] .hero-bg-slide.active {
    opacity: 0.65;
    filter: saturate(1.1) hue-rotate(85deg);
}

.hero-bg-overlay {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.hero-bg-carousel::after {
    display: none;
}

.editorial-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-white);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

.hero-domain-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0.25rem 0 0.5rem 0;
    width: 100%;
}

.domain-hero-svg {
    width: 100%;
    max-width: 1100px;
    height: auto;
    min-height: 105px;
    display: block;
    overflow: visible;
    filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
}

.intro-animated-page:not(.intro-complete) .domain-hero-svg {
    animation: loadingGlowSweep 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes loadingGlowSweep {
    0% {
        filter: drop-shadow(-60px 0 15px rgba(255, 255, 255, 0.15)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
    }
    50% {
        filter: drop-shadow(0px 0 35px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 60px var(--accent-glow));
    }
    100% {
        filter: drop-shadow(60px 0 15px rgba(255, 255, 255, 0.15)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
    }
}

.intro-animated-page.intro-complete .domain-hero-svg {
    animation: settleGlow 1.2s ease-out forwards;
}

@keyframes settleGlow {
    0% {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 50px var(--accent-glow));
    }
    100% {
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
    }
}

.domain-hero-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 70px;
    letter-spacing: 0.02em;
    text-anchor: middle;
}

/* Exact Trace Character Rules */
.trace-char {
    display: inline;
    stroke: var(--text-white);
    stroke-width: 1.2px;
    fill: transparent;
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    opacity: 0;
    animation: drawIndividualChar 0.38s cubic-bezier(0.2, 0.8, 0.4, 1) forwards, fillIndividualChar 0.75s ease forwards;
}

@keyframes drawIndividualChar {
    0% {
        stroke-dashoffset: 240;
        opacity: 0;
        stroke-width: 1.8px;
    }
    20% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
        stroke-width: 1.2px;
    }
}

@keyframes fillIndividualChar {
    0%, 65% {
        fill: transparent;
    }
    100% {
        fill: var(--text-white);
    }
}

/* Letter Delays for atlantis.tysonmediagroup.org */
.trace-c1  { animation-delay: 0.05s, 2.08s; }
.trace-c2  { animation-delay: 0.11s, 2.08s; }
.trace-c3  { animation-delay: 0.17s, 2.08s; }
.trace-c4  { animation-delay: 0.23s, 2.08s; }
.trace-c5  { animation-delay: 0.29s, 2.08s; }
.trace-c6  { animation-delay: 0.35s, 2.08s; }
.trace-c7  { animation-delay: 0.41s, 2.08s; }
.trace-c8  { animation-delay: 0.47s, 2.08s; }
.trace-c9  { animation-delay: 0.53s, 2.08s; }
.trace-c10 { animation-delay: 0.59s, 2.08s; }
.trace-c11 { animation-delay: 0.65s, 2.08s; }
.trace-c12 { animation-delay: 0.71s, 2.08s; }
.trace-c13 { animation-delay: 0.77s, 2.08s; }
.trace-c14 { animation-delay: 0.83s, 2.08s; }
.trace-c15 { animation-delay: 0.89s, 2.08s; }
.trace-c16 { animation-delay: 0.95s, 2.08s; }
.trace-c17 { animation-delay: 1.01s, 2.08s; }
.trace-c18 { animation-delay: 1.07s, 2.08s; }
.trace-c19 { animation-delay: 1.13s, 2.08s; }
.trace-c20 { animation-delay: 1.19s, 2.08s; }
.trace-c21 { animation-delay: 1.25s, 2.08s; }
.trace-c22 { animation-delay: 1.31s, 2.08s; }
.trace-c23 { animation-delay: 1.37s, 2.08s; }
.trace-c24 { animation-delay: 1.43s, 2.08s; }
.trace-c25 { animation-delay: 1.49s, 2.08s; }
.trace-c26 { animation-delay: 1.55s, 2.08s; }
.trace-c27 { animation-delay: 1.61s, 2.08s; }
.trace-c28 { animation-delay: 1.67s, 2.08s; }

.intro-animated-page.intro-complete .trace-char {
    opacity: 1 !important;
    fill: var(--text-white) !important;
    stroke-dashoffset: 0 !important;
    stroke: transparent !important;
    animation: none !important;
}

.hero-tagline-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-white);
    letter-spacing: 0.01em;
    margin-bottom: 1.75rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Reveal Sequence */
.intro-animated-page .main-header,
.intro-animated-page .hero-tag-wrap,
.intro-animated-page .hero-tagline-title,
.intro-animated-page .hero-cta-group,
.intro-animated-page .home-content-section,
.intro-animated-page .main-footer {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-animated-page.intro-complete .main-header,
.intro-animated-page.intro-complete .hero-tag-wrap,
.intro-animated-page.intro-complete .hero-tagline-title,
.intro-animated-page.intro-complete .hero-cta-group,
.intro-animated-page.intro-complete .home-content-section,
.intro-animated-page.intro-complete .main-footer {
    opacity: 1;
    transform: translateY(0);
}

.intro-bottom-logo-wrap {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
    text-align: center;
    width: 95%;
    max-width: 1200px;
}

.intro-bottom-logo {
    height: 280px !important;
    max-height: 35vh !important;
    width: auto !important;
    max-width: 1100px !important;
    object-fit: contain !important;
    opacity: 0.96;
    margin: 0 auto;
    filter: drop-shadow(0 0 30px var(--accent-glow));
}

.intro-animated-page.intro-complete .intro-bottom-logo-wrap {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: all var(--trans-fast);
}

.btn-primary {
    background: var(--text-white);
    color: var(--bg-black);
    border: 1px solid var(--text-white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-white);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-white);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
}

.btn-youtube-cta {
    background: rgba(59, 130, 246, 0.15);
    color: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.btn-youtube-cta:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
}

/* Sections & Grids */
.section-padding {
    padding: 5.5rem 0;
    border-top: 1px solid var(--border-subtle);
}

.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.editorial-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-white);
}

/* ==========================================================================
   OVERSIZED FAINT HEADER TITLES (Bottom-Left Anchored Cormorant Garamond Title)
   ========================================================================== */
.page-header {
    position: relative;
    padding: 3.5rem 0 2.5rem 0;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    border-bottom: 1px solid var(--border-subtle);
    background: radial-gradient(circle at 15% 100%, var(--accent-glow) 0%, transparent 65%);
    overflow: hidden;
}

.page-header-container,
.player-hero-container {
    position: relative;
    z-index: 4;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
}

.hero-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-bottom-left-anchor {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    margin-top: 2rem;
}

.page-title,
.hero-player-title,
.oversized-faint-title {
    font-family: var(--font-heading);
    font-size: clamp(6.5rem, 16vw, 13.5rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: -0.025em;
    line-height: 0.82;
    color: rgba(255, 255, 255, 0.22);
    text-shadow: 0 0 50px rgba(255, 255, 255, 0.05);
    margin: 0 0 0.5rem -0.25rem;
    text-align: left;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    transition: var(--trans-fast);
}

[data-theme="noir"] .page-title,
[data-theme="noir"] .hero-player-title,
[data-theme="noir"] .oversized-faint-title {
    color: rgba(255, 255, 255, 0.20);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.04);
}

[data-theme="wii"] .page-title,
[data-theme="wii"] .hero-player-title,
[data-theme="wii"] .oversized-faint-title {
    color: rgba(0, 166, 226, 0.24);
    text-shadow: 0 0 35px rgba(0, 166, 226, 0.10);
}

[data-theme="frutiger"] .page-title,
[data-theme="frutiger"] .hero-player-title,
[data-theme="frutiger"] .oversized-faint-title {
    color: rgba(56, 189, 248, 0.26);
    text-shadow: 0 0 35px rgba(56, 189, 248, 0.12);
}

[data-theme="nature"] .page-title,
[data-theme="nature"] .hero-player-title,
[data-theme="nature"] .oversized-faint-title {
    color: rgba(74, 222, 128, 0.24);
    text-shadow: 0 0 35px rgba(74, 222, 128, 0.10);
}

.hero-emotional-subtitle,
.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 780px;
    margin: 0;
    text-align: left;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 2.75rem 2.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--trans-fast);
}

.card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.card-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

.badge-tag {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 0.65rem;
    display: block;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Sound Cards */
.sound-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--trans-fast);
}

.sound-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.sound-tag {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}

.sound-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.sound-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.sound-card-footer {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
}

.sound-spec {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* Footer & Corporate Registry */
.main-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 5rem 0 4rem 0;
    background: var(--bg-surface);
    position: relative;
    z-index: 2;
    margin-top: 4rem;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-brand-logo {
    height: 48px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
}

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 480px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
}

.footer-col-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-list li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--trans-fast), transform var(--trans-fast);
    display: inline-block;
}

.footer-links-list li a:hover {
    color: var(--text-white);
    transform: translateX(3px);
}

/* 44-Endpoint Registry Accordion */
.corporate-directory-accordion {
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    background: var(--bg-card);
    padding: 1.25rem 2rem;
    margin-bottom: 3.5rem;
    transition: all var(--trans-smooth);
}

.corporate-directory-accordion[open] {
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.corporate-directory-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.04em;
    list-style: none;
    user-select: none;
}

.corporate-directory-summary::-webkit-details-marker {
    display: none;
}

.corporate-directory-summary:hover {
    color: #38bdf8;
}

.accordion-icon {
    font-size: 1.4rem;
    line-height: 1;
    color: var(--text-dim);
    transition: transform var(--trans-fast);
}

.corporate-directory-accordion[open] .accordion-icon {
    transform: rotate(45deg);
    color: var(--text-white);
}

.corporate-directory-body {
    padding-top: 1.75rem;
    margin-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
}

.directory-columns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.directory-columns-grid h5 {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.directory-columns-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.directory-columns-grid ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-family: var(--font-mono);
    transition: color var(--trans-fast);
    word-break: break-all;
}

.directory-columns-grid ul li a:hover {
    color: #38bdf8;
}

/* Footer Domain Centerpiece */
.footer-domain-centerpiece {
    text-align: center;
    padding: 3.5rem 0 2.5rem 0;
    border-top: 1px solid var(--border-subtle);
    margin-bottom: 2rem;
    position: relative;
}

.footer-domain-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 2.8rem;
    color: var(--text-white);
    margin-bottom: 0.4rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.footer-domain-subtext {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom code {
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Settings Modal */
.settings-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.settings-modal.active {
    opacity: 1;
    visibility: visible;
}

.settings-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.settings-modal-dialog {
    position: relative;
    z-index: 10;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    width: 95%;
    max-width: 600px;
    border-radius: var(--card-radius);
}

.settings-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.8rem;
    cursor: pointer;
}

.settings-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.settings-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.settings-section-title {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.theme-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.theme-option-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 1.25rem;
    border-radius: var(--card-radius);
    cursor: pointer;
    text-align: left;
    transition: var(--trans-fast);
}

.theme-option-card.selected {
    border-color: var(--accent-color);
    box-shadow: 0 0 12px var(--accent-glow);
}

.theme-indicator-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.theme-option-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-white);
    font-weight: 600;
}

.theme-swatch-circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.swatch-noir { background: #000; border: 1px solid #fff; }
.swatch-wii { background: #00a6e2; }
.swatch-frutiger { background: #38bdf8; }
.swatch-nature { background: #22c55e; }

.theme-option-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: block;
}

@media (max-width: 992px) {
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-domain-columns {
        grid-template-columns: 1fr;
    }
    .domain-hero-text {
        font-size: 42px;
    }
    .hero-tagline-title {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   ATLANTIS AUDIO DECK & STUDIO PLAYER STYLES
   ========================================================================== */

/* Settings Modal Open State */
.settings-modal.open {
    opacity: 1;
    visibility: visible;
}

/* Home Featured Audio Spotlight */
.featured-audio-strip {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.featured-player-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 1.8rem 2.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow-card);
    transition: all var(--trans-smooth);
}

.featured-player-card:hover {
    border-color: var(--border-hover);
}

.featured-player-left {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.spinning-vinyl-preview {
    width: 84px;
    height: 84px;
    position: relative;
    flex-shrink: 0;
}

.vinyl-disc {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, #222 20%, #050505 60%, #151515 90%, #000 100%);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7), inset 0 0 4px rgba(255, 255, 255, 0.2);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.vinyl-disc.spinning {
    animation: rotateVinyl 3.5s linear infinite;
}

@keyframes rotateVinyl {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vinyl-grooves {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

.vinyl-center-label {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #000;
    border: 2px solid var(--accent-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-center-label img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-track-meta h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-white);
    margin: 0.2rem 0;
}

.featured-track-meta p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.spotlight-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.featured-player-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Studio Deck Main Section */
.deck-header-section {
    padding-bottom: 1.5rem;
}

.deck-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.deck-status-badges {
    display: flex;
    gap: 0.6rem;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    color: var(--text-muted);
}

.status-chip.live-chip {
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

.deck-console-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.45fr 1.25fr;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.deck-unit {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 1.8rem;
    box-shadow: var(--box-shadow-card);
    display: flex;
    flex-direction: column;
}

.unit-top-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-subtle);
    text-transform: uppercase;
}

.unit-indicator {
    color: #38bdf8;
    font-weight: 600;
}

.unit-indicator-badge {
    padding: 0.15rem 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--text-white);
}

/* Vinyl Turntable Stage */
.vinyl-turntable-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem 0;
    position: relative;
}

.vinyl-disc-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, #252525 15%, #0d0d0d 45%, #181818 70%, #050505 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 0 8px rgba(255, 255, 255, 0.2);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.vinyl-disc-large.spinning {
    animation: rotateVinyl 3.2s linear infinite;
}

.vinyl-groove-rings {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 10px rgba(0, 0, 0, 0.3), inset 0 0 0 24px rgba(255, 255, 255, 0.03);
}

.vinyl-center-art {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #000;
    border: 3px solid var(--accent-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--accent-glow);
}

.vinyl-logo-center {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Deck Track Details */
.deck-track-details {
    text-align: center;
    margin: 1.2rem 0 1rem 0;
}

.deck-track-tag {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.deck-track-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    color: var(--text-white);
    margin: 0.2rem 0;
    line-height: 1.2;
}

.deck-track-artist {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Deck Scrubber Row */
.deck-scrubber-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
}

.time-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    min-width: 36px;
}

.deck-progress-bar-wrap {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.deck-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: var(--text-white);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Deck Transport Controls */
.deck-transport-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    margin-top: auto;
}

.btn-transport {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans-fast);
}

.btn-transport:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-transport.active {
    color: #38bdf8;
}

.btn-transport-play {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--text-white);
    color: var(--bg-black);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
    transition: var(--trans-fast);
}

.btn-transport-play:hover {
    transform: scale(1.06);
    box-shadow: 0 0 25px var(--accent-glow);
}

/* Visualizer Unit & Canvas Screen */
.vis-mode-pills {
    display: flex;
    gap: 0.35rem;
}

.vis-mode-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-dim);
    font-size: 0.7rem;
    font-family: var(--font-mono);
    padding: 0.2rem 0.55rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--trans-fast);
}

.vis-mode-btn.active, .vis-mode-btn:hover {
    background: var(--bg-surface-hover);
    color: var(--text-white);
    border-color: var(--border-hover);
}

.canvas-screen-container {
    position: relative;
    background: #03070d;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

#deck-audio-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.canvas-screen-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

.canvas-watermark {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.1em;
    pointer-events: none;
}

.deck-telemetry-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.telem-item {
    display: flex;
    flex-direction: column;
}

.telem-lbl {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
}

.telem-val {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-white);
    margin-top: 0.15rem;
}

/* DSP Hardware Effects Rack */
.dsp-fx-rack {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.dsp-fx-block {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.1rem;
}

.fx-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.fx-block-header label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-white);
}

.fx-val-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.dsp-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.dsp-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-white);
    box-shadow: 0 0 10px var(--accent-glow);
    cursor: pointer;
}

.speed-presets-row {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.speed-preset-btn {
    flex: 1;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.7rem;
    font-family: var(--font-mono);
    padding: 0.3rem 0.2rem;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: var(--trans-fast);
}

.speed-preset-btn.active, .speed-preset-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-color: var(--accent-color);
}

.dsp-toggles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.dsp-toggle-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.9rem;
    cursor: pointer;
    transition: all var(--trans-fast);
}

.dsp-toggle-card:hover {
    border-color: var(--border-hover);
}

.dsp-toggle-card.active {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.08);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
}

.toggle-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.toggle-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
}

.toggle-switch-ui {
    width: 28px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    position: relative;
    transition: var(--trans-fast);
}

.toggle-switch-ui::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    top: 2px;
    left: 2px;
    transition: transform var(--trans-fast);
}

.dsp-toggle-card.active .toggle-switch-ui {
    background: #38bdf8;
}

.dsp-toggle-card.active .toggle-switch-ui::after {
    transform: translateX(12px);
}

.toggle-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
    margin: 0;
}

.dsp-master-volume-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

.btn-mute {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-mute:hover {
    color: var(--text-white);
}

.volume-val-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    min-width: 34px;
}

/* Playlist & Repertoire Table */
.deck-playlist-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 2.2rem;
}

.playlist-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.8rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.playlist-filters-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 0.45rem 0.95rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--trans-fast);
}

.filter-tab.active, .filter-tab:hover {
    background: var(--text-white);
    color: var(--bg-black);
    border-color: var(--text-white);
    font-weight: 500;
}

.playlist-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
}

.playlist-track-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--trans-fast);
    position: relative;
    cursor: pointer;
}

.playlist-track-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.playlist-track-card.active-playing {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.05);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.15);
}

.track-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.track-tag-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-dim);
    letter-spacing: 0.08em;
}

.equalizer-wave {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.eq-bar {
    width: 3px;
    background: #38bdf8;
    border-radius: 1px;
    height: 4px;
}

.playlist-track-card.active-playing .eq-bar:nth-child(1) { animation: eqJump 0.6s infinite ease-in-out; }
.playlist-track-card.active-playing .eq-bar:nth-child(2) { animation: eqJump 0.9s infinite ease-in-out 0.1s; }
.playlist-track-card.active-playing .eq-bar:nth-child(3) { animation: eqJump 0.7s infinite ease-in-out 0.2s; }
.playlist-track-card.active-playing .eq-bar:nth-child(4) { animation: eqJump 1.1s infinite ease-in-out 0.15s; }

@keyframes eqJump {
    0%, 100% { height: 4px; }
    50% { height: 14px; }
}

.track-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-white);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.track-card-artist {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.track-card-desc {
    color: var(--text-dim);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 1.1rem;
}

.track-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-subtle);
}

.track-play-btn-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--trans-fast);
}

.playlist-track-card:hover .track-play-btn-circle {
    background: var(--text-white);
    color: var(--bg-black);
}

/* ==========================================================================
   PERSISTENT FLOATING BOTTOM AUDIO MINI-DOCK
   ========================================================================== */
.bottom-audio-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    padding: 0.75rem 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
    transition: transform var(--trans-smooth);
}

.dock-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.dock-track-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 220px;
    max-width: 280px;
}

.dock-thumb-wrap {
    text-decoration: none;
    flex-shrink: 0;
}

.dock-mini-vinyl {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #111;
    border: 1px solid var(--accent-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.dock-mini-vinyl.spinning {
    animation: rotateVinyl 3s linear infinite;
}

.dock-mini-vinyl img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dock-meta-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dock-title-link {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-white);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dock-title-link:hover {
    color: #38bdf8;
}

.dock-artist {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dock-controls-center {
    flex: 1;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.dock-buttons-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.dock-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem;
    transition: var(--trans-fast);
}

.dock-btn:hover {
    color: var(--text-white);
}

.dock-btn-play {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--text-white);
    color: var(--bg-black);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
    transition: var(--trans-fast);
}

.dock-btn-play:hover {
    transform: scale(1.08);
}

.dock-scrubber-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.dock-time {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    min-width: 32px;
}

.dock-progress-track {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.dock-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: var(--text-white);
    border-radius: 2px;
}

.dock-actions-right {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 200px;
    justify-content: flex-end;
}

.dock-mini-canvas {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
}

.dock-speed-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #38bdf8;
    border: 1px solid var(--border-subtle);
}

.dock-deck-open-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    gap: 0.4rem;
}

/* Ensure padding on bottom of body so dock doesn't obscure content */
body {
    padding-bottom: 74px;
}

@media (max-width: 992px) {
    .deck-console-grid {
        grid-template-columns: 1fr;
    }
    .featured-player-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .dock-actions-right .dock-mini-canvas {
        display: none;
    }
    .dock-track-info {
        max-width: 160px;
    }
}

/* ==========================================================================
   ENHANCED EMOTIONAL ATMOSPHERE & LOGO VIGNETTE STYLING
   ========================================================================== */

/* Player Atmospheric Monitor & Image Window Carousel (Only on Player) */
.player-monitor-screen {
    position: relative;
    background: #03070d;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.deck-image-carousel {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.deck-carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.8s ease-in-out, transform 6s ease-out;
    filter: saturate(1.15) brightness(0.72);
}

.deck-carousel-slide.active {
    opacity: 0.82;
    transform: scale(1.0);
}

.deck-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(circle at 50% 50%, rgba(3, 10, 20, 0.25) 0%, rgba(3, 10, 20, 0.85) 100%);
    backdrop-filter: blur(2px) saturate(120%);
    -webkit-backdrop-filter: blur(2px) saturate(120%);
}

/* Hero Emotional Subtitle */
.hero-emotional-subtitle {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    max-width: 780px;
    margin: 0.25rem auto 1.75rem auto;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    opacity: 0.9;
}

/* Enhanced Intro Bottom Logo Stage with Frosted Halo & Horizontal Mask */
.intro-bottom-logo-wrap {
    position: fixed;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: none;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    width: 90%;
    max-width: 1050px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-bottom-logo-stage {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem 3.5rem;
    border-radius: 24px;
    background: radial-gradient(ellipse at center, rgba(10, 22, 38, 0.7) 0%, rgba(3, 8, 14, 0.35) 65%, transparent 100%);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
}

.intro-bottom-logo {
    height: 240px !important;
    max-height: 28vh !important;
    width: auto !important;
    max-width: 940px !important;
    object-fit: contain !important;
    opacity: 0.98;
    margin: 0 auto;
    filter: drop-shadow(0 0 35px var(--accent-glow)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.8));
}

.intro-animated-page.intro-complete .intro-bottom-logo-wrap {
    opacity: 0;
    transform: translateX(-50%) translateY(25px);
    pointer-events: none;
}

/* Footer Domain Centerpiece Stage */
.footer-logo-stage {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    border-radius: 20px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 60%, transparent 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    margin-bottom: 1.5rem;
}

.footer-trace-logo {
    height: 68px;
    width: auto;
    max-width: 440px;
    object-fit: contain;
    margin: 0 auto;
    opacity: 0.94;
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

/* Navigation Enhancements */
.nav-link {
    position: relative;
    padding: 0.4rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: var(--text-white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-deck-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white) !important;
    font-weight: 500;
}

/* Bottom Audio Dock Deck View Auto-Hide */
.bottom-audio-dock.deck-view-hidden {
    transform: translateY(110%);
    pointer-events: none;
    opacity: 0;
}

/* Emotion Card Hover & Glow */
.emotion-card {
    transition: all var(--trans-smooth);
}

.emotion-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.15);
    transform: translateY(-3px);
}

.emotion-glow-card {
    background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(9, 24, 40, 0.35) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 1.8rem;
    transition: all var(--trans-smooth);
}

.emotion-glow-card:hover {
    border-color: #38bdf8;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 24px rgba(56, 189, 248, 0.2);
    transform: translateY(-3px);
}

/* Emotion Architecture Presets in Studio Deck */
.dsp-emotion-presets-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.95rem;
}

.emotion-presets-title {
    display: block;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.emotion-presets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
}

.btn-emotion-preset {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-body);
    font-size: 0.72rem;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    transition: var(--trans-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-emotion-preset:hover, .btn-emotion-preset.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: var(--text-white);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.status-chip.mood-chip {
    border-color: rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}

/* Mobile Nav Drawer */
@media (max-width: 860px) {
    .main-nav {
        position: fixed;
        top: 84px;
        left: 0;
        right: 0;
        background: var(--bg-header);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        flex-direction: column;
        padding: 2.5rem 2rem;
        gap: 1.8rem;
        border-bottom: 1px solid var(--border-subtle);
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }
    
    .main-nav.mobile-open {
        transform: translateY(0);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    }
    
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 6px;
    }
    
    .mobile-toggle span {
        width: 22px;
        height: 2px;
        background: var(--text-white);
        transition: var(--trans-fast);
    }
}

/* ==========================================================================
   PLAYER HERO OVERSIZED TRANSLUCENT GLASS BACKDROP STAGE
   ========================================================================== */
.player-hero-section {
    position: relative;
    padding: 3rem 0 2.5rem 0;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.player-hero-carousel {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1680px;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.3) 8%, rgba(0,0,0,1) 22%, rgba(0,0,0,1) 78%, rgba(0,0,0,0.3) 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.3) 8%, rgba(0,0,0,1) 22%, rgba(0,0,0,1) 78%, rgba(0,0,0,0.3) 92%, transparent 100%);
}

.player-hero-carousel .hero-bg-slide.active {
    opacity: 0.85;
    filter: contrast(1.04) brightness(0.98);
}

.player-hero-carousel .hero-bg-overlay {
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.player-hero-container {
    position: relative;
    z-index: 4;
}

/* ==========================================================================
   T5S BOOT SPLASH SCREEN SEQUENCE (Pure Black, Crisp, No Glow)
   ========================================================================== */
.t5s-boot-splash-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background: #000000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    visibility: visible;
}

.t5s-boot-splash-container.boot-finished {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.t5s-boot-phase {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    background: #000000;
}

.t5s-boot-phase.active {
    opacity: 1;
}

.t5s-boot-logo-phase {
    background: #000000 !important;
}

.t5s-boot-logo-img {
    max-width: 300px;
    width: 65vw;
    height: auto;
    object-fit: contain;
    filter: none !important;
    box-shadow: none !important;
}

.t5s-boot-backdrop-phase {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.t5s-boot-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   LOGO CENTERING FIXES & BANNER REFINEMENT
   ========================================================================== */
.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 46px !important;
    width: auto;
    object-fit: contain;
    display: block;
}

.vinyl-center-art {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #000000;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    z-index: 5;
    padding: 10px;
}

.vinyl-logo-center {
    width: 90% !important;
    height: auto !important;
    max-height: 80% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
}

.footer-logo-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto 1rem auto;
}

.footer-trace-logo {
    max-width: 240px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* ==========================================================================
   AUTH / GOOGLE & DISCORD SIGN IN MODULE
   ========================================================================== */
.auth-header-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-auth-signin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    border-radius: var(--btn-radius, 4px);
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-auth-signin:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.user-profile-badge {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-profile-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-hover);
}

.user-avatar-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #38bdf8;
}

.user-profile-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-provider-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.tag-google { background: rgba(234, 67, 53, 0.2); color: #f87171; border: 1px solid rgba(234, 67, 53, 0.4); }
.tag-discord { background: rgba(88, 101, 242, 0.2); color: #818cf8; border: 1px solid rgba(88, 101, 242, 0.4); }

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 200px;
    background: #0d0d0d;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
    display: none;
    flex-direction: column;
    z-index: 1000;
    padding: 0.5rem;
}

.user-dropdown-menu.open {
    display: flex;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    color: var(--text-body);
    font-size: 0.85rem;
    border-radius: 4px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    width: 100%;
    transition: background 0.15s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 0.35rem 0;
}

/* Auth Modal */
.auth-modal-dialog {
    max-width: 440px !important;
    text-align: center;
}

.oauth-buttons-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-oauth-google {
    background: #ffffff;
    color: #1f2937;
}

.btn-oauth-google:hover {
    background: #f3f4f6;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-oauth-discord {
    background: #5865F2;
    color: #ffffff;
}

.btn-oauth-discord:hover {
    background: #4752C4;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
    transform: translateY(-1px);
}

/* ==========================================================================
   SPED UP & SLOWED STATION DSP CONTROLS
   ========================================================================== */
.spedup-slowed-dock {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

.vibe-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.vibe-tag {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.speed-vibe-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.btn-vibe-preset {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 0.8rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.btn-vibe-preset:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: #38bdf8;
    color: #ffffff;
}

.btn-vibe-preset.active {
    background: rgba(56, 189, 248, 0.18);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

.vibe-preset-speed {
    font-size: 0.9rem;
    font-weight: 700;
    color: #38bdf8;
    font-family: var(--font-mono);
}

.vibe-preset-name {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dsp-sliders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.85rem;
}

.dsp-slider-box {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dsp-slider-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   FULLSCREEN CINEMA MODE OVERLAY WITH MEDIA (GIF / VIDEO / IMAGE)
   ========================================================================== */
.fullscreen-cinema-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background: #000000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.fullscreen-cinema-overlay.active {
    display: flex;
}

.fullscreen-media-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.fullscreen-bg-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.5s ease;
}

.fullscreen-media-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
}

.fullscreen-cinema-topbar {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
}

.cinema-title-wrap {
    display: flex;
    flex-direction: column;
}

.cinema-top-tag {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: #38bdf8;
    letter-spacing: 2px;
}

.cinema-track-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: #ffffff;
}

.cinema-top-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-cinema-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cinema-action:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #38bdf8;
}

.fullscreen-cinema-center {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.cinema-vinyl-wrap {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    animation: vinylSpin 3.2s linear infinite;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
}

.fullscreen-cinema-bottombar {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    padding: 1.5rem 2rem 2rem 2rem;
    margin: 0 auto;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cinema-media-picker-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100000;
    background: #0f172a;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 1.75rem;
    width: 90%;
    max-width: 540px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.9);
    display: none;
}

.cinema-media-picker-modal.open {
    display: block;
}

.media-preset-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1rem 0;
}

.media-preset-card {
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    background: #000;
    text-align: center;
}

.media-preset-card:hover, .media-preset-card.selected {
    border-color: #38bdf8;
    transform: scale(1.03);
}

.media-preset-card img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
}

.media-preset-card span {
    display: block;
    padding: 4px;
    font-size: 0.7rem;
    color: #e2e8f0;
}

/* ==========================================================================
   CUSTOM PLAYLISTS & TRACK LIKES
   ========================================================================== */
.btn-like-track {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, transform 0.15s ease;
}

.btn-like-track:hover {
    color: #f87171;
    transform: scale(1.15);
}

.btn-like-track.liked {
    color: #ef4444;
}

.btn-add-playlist {
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 2px 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-add-playlist:hover {
    border-color: #38bdf8;
    color: #ffffff;
}

.create-playlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 20px;
    color: #38bdf8;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.create-playlist-btn:hover {
    background: rgba(56, 189, 248, 0.25);
    border-color: #38bdf8;
    color: #ffffff;
}

/* ==========================================================================
   PRO WEB APP WORKSTATION SHELL (Non-Wix, Full-Viewport App Architecture)
   ========================================================================== */
body.app-mode {
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--bg-black);
    color: var(--text-body);
    font-family: var(--font-sans);
}

.app-workspace-root {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    background: var(--bg-body-gradient, var(--bg-black));
}

.app-topbar {
    height: 58px;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    flex-shrink: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
}

.app-topbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-brand-logo {
    display: flex;
    align-items: center;
}

.app-logo-img {
    height: 34px !important;
    width: auto;
    object-fit: contain;
}

.app-badge-beta {
    font-size: 0.65rem;
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 2px 7px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 4px;
    color: #38bdf8;
}

.app-topbar-center {
    display: flex;
    align-items: center;
}

.app-station-indicator {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
}

.station-status-label {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    letter-spacing: 1px;
    color: var(--text-muted);
}

.app-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.app-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--btn-radius, 6px);
    color: var(--text-body);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.app-bar-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--border-hover);
    color: var(--text-white);
}

/* App Body (Sidebar Rail + Viewport) */
.app-body-container {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
}

.app-sidebar-rail {
    width: 230px;
    background: rgba(0, 0, 0, 0.5);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    padding: 1.25rem 0.75rem;
    flex-shrink: 0;
    overflow-y: auto;
    backdrop-filter: blur(12px);
}

.sidebar-section-title {
    font-size: 0.65rem;
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    padding: 0 0.5rem 0.45rem 0.5rem;
}

.sidebar-nav-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sidebar-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--btn-radius, 6px);
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 100%;
    text-align: left;
}

.sidebar-tab-btn:hover {
    background: var(--bg-surface-hover);
    color: var(--text-white);
    border-color: var(--border-subtle);
}

.sidebar-tab-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    border-color: var(--border-hover);
    font-weight: 600;
}

.tab-count {
    margin-left: auto;
    font-size: 0.68rem;
    font-family: var(--font-mono);
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    padding: 1px 5px;
    border-radius: 10px;
}

.sidebar-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 1rem 0.5rem;
}

.sidebar-footer-action {
    margin-top: auto;
    padding-top: 1rem;
}

.btn-sidebar-create-playlist {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px dashed rgba(56, 189, 248, 0.4);
    border-radius: var(--btn-radius, 6px);
    color: #38bdf8;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-sidebar-create-playlist:hover {
    background: #38bdf8;
    color: #000;
    border-style: solid;
}

/* Main Viewport */
.app-main-viewport {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.75rem 3rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.app-repertoire-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.repertoire-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.65rem;
}

.repertoire-mini-tag {
    font-size: 0.68rem;
    font-family: var(--font-mono);
    letter-spacing: 1.2px;
    color: #38bdf8;
    display: block;
    margin-bottom: 2px;
}

.repertoire-main-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 400;
    color: var(--text-white);
    margin: 0;
    letter-spacing: -0.01em;
}

@media (max-width: 900px) {
    .app-sidebar-rail {
        display: none;
    }
    .app-topbar-center {
        display: none;
    }
    .app-main-viewport {
        padding: 1rem;
    }
}



