/* CSS Variables */
:root {
    --primary: #1a1550;
    --secondary: #ff5a36;
    --light: #f8e9d2;
    --accent: #2c4f7c;
    --text: #1a1a2e;
    --neon: #00f7c2;
    --grid: rgba(0, 247, 194, 0.15);
    --groovy-gradient1: #f76e11;
    --groovy-gradient2: #ff9e00;
    --edge-thickness: 6px;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Accessibility helpers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    z-index: 10000;
}
.skip-link:focus {
    top: 8px;
}

:focus-visible {
    outline: 2px solid var(--neon);
    outline-offset: 2px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

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

/* Gallery Grid */
.gallery-grid {
    columns: 4;
    column-gap: 2rem;
    padding: 2rem;
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    break-inside: avoid;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 8px;
    justify-content: center;
}

.gallery-item:hover {
    transform: translateY(-5px) rotate(0deg) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 1200px) {
    .gallery-grid {
        columns: 3;
    }
}

@media (max-width: 900px) {
    .gallery-grid {
        columns: 2;
        column-gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .gallery-item {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        columns: 1;
        column-gap: 1rem;
        padding: 1rem;
    }
    
    .gallery-item {
        margin-bottom: 1rem;
    }
}

/* Base Styles */
body {
    font-family: 'Space Mono', monospace;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    background-image: 
        radial-gradient(circle at 25% 25%, var(--groovy-gradient1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, var(--groovy-gradient2) 0%, transparent 50%),
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
    background-blend-mode: soft-light;
    overflow-x: hidden;
    position: relative;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="10" cy="10" r="1" fill="%23000" opacity="0.05"/><circle cx="30" cy="10" r="1" fill="%23000" opacity="0.05"/><circle cx="50" cy="10" r="1" fill="%23000" opacity="0.05"/><circle cx="70" cy="10" r="1" fill="%23000" opacity="0.05"/><circle cx="90" cy="10" r="1" fill="%23000" opacity="0.05"/><circle cx="10" cy="30" r="1" fill="%23000" opacity="0.05"/><circle cx="30" cy="30" r="1" fill="%23000" opacity="0.05"/><circle cx="50" cy="30" r="1" fill="%23000" opacity="0.05"/><circle cx="70" cy="30" r="1" fill="%23000" opacity="0.05"/><circle cx="90" cy="30" r="1" fill="%23000" opacity="0.05"/><circle cx="10" cy="50" r="1" fill="%23000" opacity="0.05"/><circle cx="30" cy="50" r="1" fill="%23000" opacity="0.05"/><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.05"/><circle cx="70" cy="50" r="1" fill="%23000" opacity="0.05"/><circle cx="90" cy="50" r="1" fill="%23000" opacity="0.05"/><circle cx="10" cy="70" r="1" fill="%23000" opacity="0.05"/><circle cx="30" cy="70" r="1" fill="%23000" opacity="0.05"/><circle cx="50" cy="70" r="1" fill="%23000" opacity="0.05"/><circle cx="70" cy="70" r="1" fill="%23000" opacity="0.05"/><circle cx="90" cy="70" r="1" fill="%23000" opacity="0.05"/><circle cx="10" cy="90" r="1" fill="%23000" opacity="0.05"/><circle cx="30" cy="90" r="1" fill="%23000" opacity="0.05"/><circle cx="50" cy="90" r="1" fill="%23000" opacity="0.05"/><circle cx="70" cy="90" r="1" fill="%23000" opacity="0.05"/><circle cx="90" cy="90" r="1" fill="%23000" opacity="0.05"/></svg>');
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    mix-blend-mode: multiply;
}

/* Header Styles */
header {
    position: relative;
    height: 25vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), #4b1d8a);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--light);
    text-shadow: 0 0 10px var(--neon), 0 0 20px var(--neon);
    margin-bottom: 2rem;
}

.header-title {
    font-family: 'Audiowide', 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 4.5rem;
    margin-top: 2rem;
    /* animation: glitch 2s infinite alternate-reverse; */
    letter-spacing: 3px;
}

/* ===== ADVANCED CRT GLITCH EFFECT ===== */
.header-title {
    position: relative;
}

/* RGB Channel pseudo-elements for chromatic aberration */
.header-title::before,
.header-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.header-title::before {
    color: #ff0040;
    z-index: -1;
}

.header-title::after {
    color: #00f7c2;
    z-index: -1;
}

/* Active glitch state */
.header-title.glitch {
    animation: crt-glitch-main 0.4s steps(2, end);
}

.header-title.glitch::before {
    opacity: 0.8;
    animation: crt-glitch-red 0.4s steps(3, end);
}

.header-title.glitch::after {
    opacity: 0.8;
    animation: crt-glitch-cyan 0.4s steps(3, end);
}

/* Scanline overlay during glitch */
.header-title.glitch-scanlines::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 4px
    );
    pointer-events: none;
    z-index: 2;
    animation: scanline-scroll 0.1s linear infinite;
}

/* Main text glitch animation */
@keyframes crt-glitch-main {
    0% {
        text-shadow: 0 0 0 transparent;
        transform: none;
        filter: none;
    }
    5% {
        text-shadow: 
            3px 0 var(--secondary),
            -3px 0 var(--neon),
            0 0 8px rgba(255, 255, 255, 0.5);
        transform: skewX(2deg) translateX(2px);
        filter: brightness(1.3) contrast(1.2);
    }
    10% {
        text-shadow: 
            -4px 0 var(--neon),
            4px 0 var(--secondary),
            0 0 15px rgba(0, 247, 194, 0.6);
        transform: skewX(-3deg) translateX(-3px);
        filter: brightness(0.8) contrast(1.5);
    }
    15% {
        clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
        transform: translateX(5px);
    }
    20% {
        clip-path: polygon(0 35%, 100% 35%, 100% 70%, 0 70%);
        transform: translateX(-8px) skewX(5deg);
        text-shadow: 
            6px 0 var(--secondary),
            -6px 0 #ff0040,
            0 0 20px rgba(255, 90, 54, 0.8);
        filter: brightness(1.4) saturate(1.5);
    }
    25% {
        clip-path: polygon(0 70%, 100% 70%, 100% 100%, 0 100%);
        transform: translateX(3px);
    }
    30% {
        clip-path: none;
        text-shadow: 
            2px 2px var(--neon),
            -2px -2px var(--secondary),
            0 0 10px white;
        transform: scale(1.02, 0.98) skewX(-2deg);
        filter: brightness(1.1);
    }
    40% {
        text-shadow: 
            -5px 0 var(--secondary),
            5px 0 var(--neon);
        transform: translateY(-2px) skewX(4deg);
        filter: blur(1px) brightness(1.2);
    }
    50% {
        clip-path: inset(30% 0 40% 0);
        transform: translateX(-10px);
        text-shadow: 
            8px 0 #ff0040,
            -8px 0 #00f7c2,
            0 0 25px rgba(255, 255, 255, 0.9);
        filter: brightness(1.5) contrast(2);
    }
    55% {
        clip-path: inset(60% 0 10% 0);
        transform: translateX(8px) skewX(-6deg);
    }
    60% {
        clip-path: none;
        text-shadow: 
            4px 0 var(--neon),
            -4px 0 var(--secondary);
        transform: scale(0.98, 1.02);
        filter: brightness(0.9);
    }
    70% {
        text-shadow: 
            -3px 0 var(--secondary),
            3px 0 var(--neon),
            0 0 12px rgba(0, 247, 194, 0.7);
        transform: skewX(3deg) translateX(-2px);
        filter: brightness(1.15);
    }
    80% {
        text-shadow: 
            2px 0 var(--neon),
            -2px 0 var(--secondary);
        transform: translateX(1px);
        filter: brightness(1.05);
    }
    90% {
        text-shadow: 
            1px 0 var(--neon),
            -1px 0 var(--secondary);
        transform: none;
        filter: brightness(1.02);
    }
    100% {
        text-shadow: 0 0 10px var(--neon), 0 0 20px var(--neon);
        transform: none;
        filter: none;
        clip-path: none;
    }
}

/* Red channel offset animation */
@keyframes crt-glitch-red {
    0%, 100% {
        transform: none;
        opacity: 0;
    }
    10% {
        transform: translateX(-4px) translateY(1px);
        opacity: 0.7;
    }
    20% {
        transform: translateX(6px) translateY(-2px);
        opacity: 0.9;
    }
    30% {
        transform: translateX(-8px) translateY(1px) skewX(2deg);
        opacity: 0.6;
    }
    40% {
        transform: translateX(3px);
        opacity: 0.8;
    }
    50% {
        transform: translateX(-5px) translateY(-1px);
        opacity: 0.7;
    }
    60% {
        transform: translateX(7px) skewX(-3deg);
        opacity: 0.85;
    }
    70% {
        transform: translateX(-3px) translateY(2px);
        opacity: 0.6;
    }
    80% {
        transform: translateX(2px);
        opacity: 0.4;
    }
    90% {
        transform: translateX(-1px);
        opacity: 0.2;
    }
}

/* Cyan channel offset animation */
@keyframes crt-glitch-cyan {
    0%, 100% {
        transform: none;
        opacity: 0;
    }
    10% {
        transform: translateX(4px) translateY(-1px);
        opacity: 0.7;
    }
    20% {
        transform: translateX(-6px) translateY(2px);
        opacity: 0.9;
    }
    30% {
        transform: translateX(8px) translateY(-1px) skewX(-2deg);
        opacity: 0.6;
    }
    40% {
        transform: translateX(-3px);
        opacity: 0.8;
    }
    50% {
        transform: translateX(5px) translateY(1px);
        opacity: 0.7;
    }
    60% {
        transform: translateX(-7px) skewX(3deg);
        opacity: 0.85;
    }
    70% {
        transform: translateX(3px) translateY(-2px);
        opacity: 0.6;
    }
    80% {
        transform: translateX(-2px);
        opacity: 0.4;
    }
    90% {
        transform: translateX(1px);
        opacity: 0.2;
    }
}

/* Scanline scroll animation */
@keyframes scanline-scroll {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 4px;
    }
}

/* Static noise filter - applied during glitch */
.header-title.glitch-static {
    animation: static-noise 0.15s steps(5, end) infinite;
}

@keyframes static-noise {
    0% {
        filter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E#n");
    }
    25% {
        filter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='1' seed='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E#n");
    }
    50% {
        filter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='1' seed='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E#n");
    }
    75% {
        filter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='1' seed='8' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E#n");
    }
    100% {
        filter: none;
    }
}

/* Horizontal glitch bar effect */
.header-title.glitch-bars {
    animation: glitch-horizontal-bars 0.3s steps(1, end);
}

@keyframes glitch-horizontal-bars {
    0% { clip-path: inset(0 0 0 0); }
    10% { clip-path: inset(10% 0 85% 0); transform: translateX(10px); }
    15% { clip-path: inset(85% 0 10% 0); transform: translateX(-15px); }
    20% { clip-path: inset(45% 0 45% 0); transform: translateX(8px); }
    25% { clip-path: inset(20% 0 70% 0); transform: translateX(-12px); }
    30% { clip-path: inset(70% 0 20% 0); transform: translateX(6px); }
    35% { clip-path: inset(0 0 0 0); transform: none; }
    100% { clip-path: inset(0 0 0 0); transform: none; }
}

/* Legacy glitch-blocky for backwards compatibility */
@keyframes glitch-blocky {
    0% {
        opacity: 1;
        filter: none;
        letter-spacing: 3px;
        text-shadow: 0 0 0 var(--neon), 0 0 0 var(--secondary);
        transform: none;
    }
    10% {
        opacity: 0.85;
        filter: blur(0.6px) contrast(1.4);
        letter-spacing: 5px;
        text-shadow: 1.7px 0 var(--neon), -1.7px 0 var(--secondary), 0 0.8px #fff;
        transform: skew(3.4deg, 0deg) scaleX(1.08) scaleY(0.92) translateY(-0.8px);
    }
    20% {
        opacity: 0.7;
        filter: blur(1.05px) contrast(1.7);
        letter-spacing: -2.5px;
        text-shadow: -3.4px 0.84px var(--secondary), 3.4px -0.84px var(--neon), 0 0 3.4px #fff;
        transform: skew(-5deg, 0.84deg) scaleX(0.92) scaleY(1.13) translateY(1.7px);
    }
    40% {
        opacity: 0.55;
        filter: blur(1.47px) contrast(1.9);
        letter-spacing: 8.4px;
        text-shadow: 5px 0 var(--neon), -5px 0 var(--secondary), 0 1.7px #fff;
        transform: skew(8.4deg, -1.7deg) scaleX(1.17) scaleY(0.87) translateY(-2.5px);
    }
    60% {
        opacity: 0.7;
        filter: blur(1.05px) contrast(1.7);
        letter-spacing: -2.5px;
        text-shadow: -3.4px 0.84px var(--secondary), 3.4px -0.84px var(--neon), 0 0 3.4px #fff;
        transform: skew(-5deg, 0.84deg) scaleX(0.92) scaleY(1.13) translateY(1.7px);
    }
    80% {
        opacity: 0.85;
        filter: blur(0.6px) contrast(1.4);
        letter-spacing: 5px;
        text-shadow: 1.7px 0 var(--neon), -1.7px 0 var(--secondary), 0 0.8px #fff;
        transform: skew(3.4deg, 0deg) scaleX(1.08) scaleY(0.92) translateY(-0.8px);
    }
    100% {
        opacity: 1;
        filter: none;
        letter-spacing: 3px;
        text-shadow: 0 0 0 var(--neon), 0 0 0 var(--secondary);
        transform: none;
    }
}

@keyframes glitch {
    0% {
        text-shadow: 0.5px 0 var(--neon), -0.5px 0 var(--secondary);
        transform: skew(0.3deg) scale(1.002);
    }
    20% {
        text-shadow: -0.5px 0 var(--neon), 0.5px 0 var(--secondary);
        transform: skew(-0.3deg) scale(0.998);
    }
    40% {
        text-shadow: 0.5px 0.5px var(--neon), -0.5px -0.5px var(--secondary);
        transform: translate(0.5px, -0.5px) skew(0.2deg, 0.1deg);
    }
    60% {
        text-shadow: -0.5px -0.5px var(--neon), 0.5px 0.5px var(--secondary);
        transform: translate(-0.5px, 0.5px) skew(-0.2deg, -0.1deg);
    }
    80% {
        text-shadow: 0.5px 0 var(--neon), -0.5px 0 var(--secondary);
        transform: skew(0.3deg) scale(1.002);
    }
    100% {
        text-shadow: none;
        transform: none;
    }
}

.header-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease-in-out;
    letter-spacing: 2px;
}

.header-subtitle.glitch {
    animation: glitch-subtle 0.22s steps(2, end);
}

@keyframes glitch-subtle {
    0% {
        text-shadow: 1px 0 #888, -1px 0 #bbb;
        transform: skew(1deg) scale(1.01);
    }
    20% {
        text-shadow: -1px 0 #bbb, 1px 0 #888;
        transform: skew(-1deg) scale(0.99);
    }
    40% {
        text-shadow: 1px 1px #888, -1px -1px #bbb;
        transform: translate(1px, -1px) skew(0.5deg, 0.5deg);
    }
    60% {
        text-shadow: -1px -1px #bbb, 1px 1px #888;
        transform: translate(-1px, 1px) skew(-0.5deg, -0.5deg);
    }
    80% {
        text-shadow: 1px 0 #888, -1px 0 #bbb;
        transform: skew(1deg) scale(1.01);
    }
    100% {
        text-shadow: none;
        transform: none;
    }
}

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 247, 194, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 247, 194, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    perspective: 500px;
    transform: rotateX(45deg);
    opacity: 0.5;
    animation: gridMove 20s linear infinite;
}

/* Showcase Section */
.dimensional-showcase {
    padding: 2.8rem 0 1.2rem 0;
    background: linear-gradient(45deg, rgba(255, 158, 0, 0.1), rgba(247, 110, 17, 0.1));
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--groovy-gradient1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, var(--groovy-gradient2) 0%, transparent 50%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="2" fill="%23000" opacity="0.05"/></svg>');
    background-blend-mode: overlay;
}

.dimensional-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 30%, rgba(255, 90, 54, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(0, 247, 194, 0.15) 0%, transparent 40%);
    z-index: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.5 0"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.1"/></svg>');
    mix-blend-mode: multiply;
}

/* Remove flex centering so grid works as intended */
.dimensional-showcase > .container {
    padding-top: 1.2rem;
    padding-bottom: 2.8rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-family: 'Exo', 'Orbitron', 'Arial Black', Arial, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 3.2rem;
    margin-bottom: 2.25rem;
    color: var(--light);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
    z-index: 1;
    text-shadow: none;
    /* animation: glitch 3s infinite alternate-reverse; */
    cursor: auto;
    transition: all 0.3s ease;
    padding-bottom: 10px;
}

.section-title-spaced {
  margin-bottom: 2.5rem;
}

/* Keep Recent Work and About section titles dark */
.dimensional-showcase .section-title,
.about .section-title {
    color: var(--primary);
}

/* Make Exploring L.AI.BOR section title cream colored with proper contrast */
.rss-feed .section-title.section-title-light {
    color: var(--light) !important;
    text-shadow:
        2px 2px 0 var(--primary),   /* dark shadow offset */
        0 0 0 var(--light);         /* ensures crisp cream on top */
}

/* Redesigned spotlight card with production header aesthetic */
section.production-header.spotlight-production {
    background: linear-gradient(135deg, var(--accent), var(--primary)) !important;
    color: var(--text) !important;
    text-align: left !important;
    justify-content: flex-start !important;
    border: 3px solid var(--primary) !important;
    outline: 2px solid var(--groovy-gradient1) !important;
    box-shadow: 
        0 15px 30px rgba(0,0,0,0.12), 
        0 0 20px rgba(0,247,194,0.3),
        inset 0 0 40px rgba(44, 79, 124, 0.4) !important;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    max-height: 580px;
    padding: 0 !important;
}

/* Integrated grid pattern */
section.production-header.spotlight-production::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: 
        linear-gradient(rgba(0, 247, 194, 0.25) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 247, 194, 0.25) 1px, transparent 1px),
        linear-gradient(rgba(26, 21, 80, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 21, 80, 0.15) 1px, transparent 1px);
    background-size: 30px 30px, 30px 30px, 10px 10px, 10px 10px;
    background-position: 5px 5px, 5px 5px, 0px 0px, 0px 0px;
    transform: rotate(1deg);
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
    animation: gridFlow 20s linear infinite;
}

/* Content layering */
section.production-header.spotlight-production .content {
    position: relative;
    z-index: 2;
    padding: 1.5rem 2rem;
    width: 33.333%;
    margin-left: auto;
}

section.production-header.spotlight-production .featured-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 66.667%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    mix-blend-mode: normal;
    opacity: 1;
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
}

/* Latest badge styling */
.latest-badge {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--neon);
    background: rgba(0, 247, 194, 0.15);
    border: 1px solid var(--neon);
    padding: 0.25rem 0.6rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 3px;
    text-shadow: 0 0 8px var(--neon);
    box-shadow: 0 0 8px rgba(0, 247, 194, 0.3);
    animation: neon-ripple 8s ease-out infinite;
    position: relative;
    overflow: visible;
}

@keyframes neon-ripple {
    0% {
        box-shadow: 
            0 0 8px rgba(0, 247, 194, 0.3),
            0 0 20px rgba(0, 247, 194, 0.1);
        text-shadow: 0 0 8px var(--neon);
    }
    20% {
        box-shadow: 
            0 0 10px rgba(0, 247, 194, 0.4),
            0 0 30px rgba(0, 247, 194, 0.08);
        text-shadow: 0 0 10px var(--neon);
    }
    40% {
        box-shadow: 
            0 0 12px rgba(0, 247, 194, 0.5),
            0 0 40px rgba(0, 247, 194, 0.06);
        text-shadow: 0 0 12px var(--neon);
    }
    60% {
        box-shadow: 
            0 0 10px rgba(0, 247, 194, 0.4),
            0 0 50px rgba(0, 247, 194, 0.04);
        text-shadow: 0 0 10px var(--neon);
    }
    80% {
        box-shadow: 
            0 0 9px rgba(0, 247, 194, 0.35),
            0 0 60px rgba(0, 247, 194, 0.02);
        text-shadow: 0 0 9px var(--neon);
    }
    100% {
        box-shadow: 
            0 0 8px rgba(0, 247, 194, 0.3),
            0 0 70px rgba(0, 247, 194, 0);
        text-shadow: 0 0 8px var(--neon);
    }
}



section.production-header.spotlight-production h1 {
    color: var(--light) !important;
    text-shadow: 
        0 2px 8px rgba(0,0,0,0.4),
        0 0 10px rgba(0,247,194,0.3) !important;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 2.2rem;
    line-height: 1.2;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 247, 194, 0.3);
}

section.production-header.spotlight-production p {
    color: var(--light) !important;
    opacity: 0.9 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    line-height: 1.4;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Spotlight metadata styling */
.spotlight-metadata {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 2.8rem 0;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(0, 247, 194, 0.2);
    flex-wrap: nowrap;
}

.spotlight-metadata .spotlight-date,
.spotlight-metadata .spotlight-tags {
    flex: 1;
    text-align: right !important;
    white-space: nowrap;
}

/* Extra specificity for tags */
.spotlight-metadata .spotlight-tags {
    display: block !important;
    text-align: right !important;
    width: 100% !important;
}

.spotlight-metadata:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.spotlight-label {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spotlight-date,
.spotlight-tags {
    font-family: 'Exo', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--light);
    opacity: 0.9;
    text-align: right;
}

.spotlight-tags {
    font-style: italic;
    color: var(--groovy-gradient1);
    font-weight: 500;
}

/* Production details container */
.production-details {
    margin-top: 0.5rem;
}

/* Remove old grid overlay styles since we integrated it */
.spotlight-grid-overlay {
    display: none;
}

.section-title:hover {
    text-shadow: none !important;
    transform: none !important;
    animation: none !important;
}

/* ===== CRT HOVER EFFECT FOR SECTION TITLES ===== */
.section-title.crt-hover {
    cursor: pointer;
}

/* Inner span holds the text and chromatic aberration pseudo-elements */
.section-title.crt-hover .crt-text {
    position: relative;
    display: inline-block;
}

.section-title.crt-hover .crt-text::before,
.section-title.crt-hover .crt-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.section-title.crt-hover .crt-text::before {
    color: #ff5a36;
    z-index: -1;
}

.section-title.crt-hover .crt-text::after {
    color: #00f7c2;
    z-index: -1;
}

/* Override the generic section-title:hover for crt-hover elements */
.section-title.crt-hover:hover {
    text-shadow: none !important;
    transform: none !important;
    animation: none !important;
}

.section-title.crt-hover:hover .crt-text {
    text-shadow: 
        2px 2px 0 var(--primary),
        0 0 12px var(--light),
        0 0 25px rgba(248, 233, 210, 0.4);
    animation: crt-hover-flicker-light 0.25s ease-out forwards;
}

.section-title.crt-hover:hover .crt-text::before {
    opacity: 0.6;
    transform: translateX(-4px) translateY(1px);
    transition: opacity 0.1s, transform 0.1s;
}

.section-title.crt-hover:hover .crt-text::after {
    opacity: 0.6;
    transform: translateX(4px) translateY(-1px);
    transition: opacity 0.1s, transform 0.1s;
}

/* Light-colored text version of the hover flicker */
@keyframes crt-hover-flicker-light {
    0% {
        text-shadow: 
            2px 2px 0 var(--primary),
            0 0 0 var(--light);
    }
    20% {
        text-shadow: 
            2px 2px 0 var(--primary),
            4px 0 var(--secondary),
            -4px 0 var(--neon),
            0 0 15px var(--light);
    }
    40% {
        text-shadow: 
            2px 2px 0 var(--primary),
            -3px 0 var(--neon),
            3px 0 var(--secondary),
            0 0 20px var(--light);
    }
    100% {
        text-shadow: 
            2px 2px 0 var(--primary),
            0 0 15px var(--light),
            0 0 30px rgba(248, 233, 210, 0.5),
            0 0 45px rgba(0, 247, 194, 0.2);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(1deg);
    width: 42vw;
    max-width: 480px;
    height: 16px;
    background: var(--light); /* Default: light underline for dark backgrounds */
    clip-path: polygon(0 68%, 100% 10%, 90% 140%, 0% 85%);
    box-shadow: 0 0 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease, height 0.3s ease;
    pointer-events: none;
}

/* Section-title underline dark for light backgrounds (dark text) */
.dimensional-showcase .section-title::after,
.about .section-title::after,
.gpts-section .section-title::after {
    background: var(--primary) !important; /* Dark underline for light backgrounds */
}

/* RSS feed section title gets cream underline to match cream text */
.rss-feed .section-title::after {
    background: var(--light) !important;
}

/* Utility classes for custom contrast control */
.section-title-light::after {
    background: var(--light) !important;
}
.section-title-dark::after {
    background: var(--primary) !important;
}

.section-title:hover::after {
    height: 20px;
    box-shadow: 0 0 16px var(--light), 0 0 24px var(--accent), 0 0 32px var(--neon);
}

/* Showcase Grid */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 0 0 2px var(--neon);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid #000;
    outline: 2px solid var(--groovy-gradient1);
    transform: rotate(-0.5deg);
    animation: pulseGlow 4s infinite alternate;
    cursor: pointer;
}

.showcase-item:hover {
    transform: translateY(-10px) rotate(0deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1), 0 0 15px rgba(0,247,194,0.5);
}

.showcase-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0,247,194,0.15), transparent);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.showcase-item:hover::before {
    opacity: 1;
    animation: shimmer 3s infinite;
}

.showcase-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: saturate(1.5) contrast(1.2);
    aspect-ratio: 4 / 3;
}

#mixtapeTile img {
    object-position: top;
}

.showcase-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(26,21,80,0) 0%, rgba(26,21,80,0.82) 60%, rgba(26,21,80,1) 100%);
    padding: 1rem 1.25rem;
    color: white;
    max-height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.showcase-caption h3 {
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.showcase-caption p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.95;
}

/* FAQ Section */
.faq-section {
    background-color: var(--accent);
    color: var(--light);
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 10% 30%, rgba(255, 90, 54, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(0, 247, 194, 0.15) 0%, transparent 40%),
        linear-gradient(rgba(0, 247, 194, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 247, 194, 0.08) 1px, transparent 1px);
    background-size: auto auto, auto auto, 30px 30px, 30px 30px;
    background-blend-mode: overlay;
    padding: 1rem 0 2rem 0;
    min-height: unset;
    display: block;
}

.faq-section .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.faq-section-header-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    width: 100%;
    min-height: unset;
}

@media (max-width: 767px) {
  .faq-section-header-area {
    padding: 20px 0;
  }
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.faq-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 0;
    border: 3px solid #000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05), 0 0 10px rgba(0,247,194,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: visible;
    transform-origin: center center;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"><circle cx="2" cy="2" r="0.7" fill="%23f76e11" opacity="0.1"/></svg>');
    height: fit-content;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    will-change: transform, height;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.faq-card.active {
    animation: squashAndStretch 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.faq-card.closing {
    animation: squashAndStretch 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) reverse forwards;
}

.faq-answer-wrapper {
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    transform-origin: top;
    display: flex;
    flex-direction: column;
    will-change: height, opacity;
    padding-bottom: 20px;
}

.faq-card.active .faq-answer-wrapper {
    opacity: 1;
    position: relative;
}

.faq-question {
    font-family: 'Space Mono', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    line-height: 1.4;
    position: relative;
    padding-right: 2rem;
    letter-spacing: -0.5px;
    cursor: pointer;
}

.faq-answer {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    transform-origin: top;
    margin-top: 1rem;
    padding-bottom: 1rem;
    cursor: auto;
}

.toggle-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 1.3rem;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--accent);
    margin-top: 0.5rem;
    cursor: pointer;
    padding: 15px;
    margin: -15px;
    z-index: 2;
}

.faq-card.active .toggle-icon {
    transform: rotate(180deg);
    color: #4b1d8a;
}

.collapse-handle {
    height: 20px;
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.collapse-handle::after {
    content: '▲';
    font-size: 12px;
    color: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    line-height: 1;
}

.collapse-handle:hover {
    background: rgba(0, 0, 0, 0.1);
}

.collapse-handle:hover::after {
    color: rgba(0, 0, 0, 0.5);
    transform: translateY(-1px);
}

.faq-card.active .collapse-handle {
    opacity: 1;
}

@media (max-width: 767px) {
    .collapse-handle {
        height: 32px;
    }
}

.collapse-text {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Space Mono', monospace;
    user-select: none;
}

.collapse-handle::after {
    content: '▲';
    font-size: 10px;
    color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    line-height: 1;
    margin-top: -2px;
}

.collapse-handle:hover {
    background: rgba(0, 0, 0, 0.1);
}

.collapse-handle:hover .collapse-text,
.collapse-handle:hover::after {
    color: rgba(0, 0, 0, 0.8);
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .collapse-handle {
        height: 32px;
    }
    
    .collapse-text {
        font-size: 14px;
    }
    
    .collapse-handle::after {
        font-size: 12px;
    }
}

.faq-card.active .collapse-handle::after {
    transform: rotate(0deg);
}

.faq-card.active .collapse-handle:hover::after {
    transform: translateY(-2px) rotate(0deg);
}

@media (max-width: 767px) {
    .collapse-handle {
        height: 32px;
    }
}

/* Footer */
footer {
    padding: 5rem 0;
    color: var(--light);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 20vh;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), #4b1d8a);
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

.footer-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 247, 194, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 247, 194, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    perspective: 500px;
    transform: rotateX(45deg);
    opacity: 0.5;
    animation: gridMove 20s linear infinite;
}

footer .container {
    position: relative;
    z-index: 2;
}

footer p {
    color: var(--light);
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 0 0 5px var(--neon);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes gridMove {
    0% { transform: rotateX(45deg) translateY(0); }
    100% { transform: rotateX(45deg) translateY(40px); }
}

@keyframes gridFlow {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px, 0px 0px;
    }
    100% {
        background-position: 30px 30px, 30px 30px, 10px 10px, 10px 10px;
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 0 0 2px var(--neon);
    }
    50% {
        box-shadow: 0 10px 25px rgba(0,0,0,0.3), 0 0 15px var(--neon);
    }
    100% {
        box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 0 5px var(--secondary);
    }
}

@keyframes glitch {
    0% {
        text-shadow: 0.5px 0 var(--neon), -0.5px 0 var(--secondary);
        transform: skew(0.3deg) scale(1.002);
    }
    20% {
        text-shadow: -0.5px 0 var(--neon), 0.5px 0 var(--secondary);
        transform: skew(-0.3deg) scale(0.998);
    }
    40% {
        text-shadow: 0.5px 0.5px var(--neon), -0.5px -0.5px var(--secondary);
        transform: translate(0.5px, -0.5px) skew(0.2deg, 0.1deg);
    }
    60% {
        text-shadow: -0.5px -0.5px var(--neon), 0.5px 0.5px var(--secondary);
        transform: translate(-0.5px, 0.5px) skew(-0.2deg, -0.1deg);
    }
    80% {
        text-shadow: 0.5px 0 var(--neon), -0.5px 0 var(--secondary);
        transform: skew(0.3deg) scale(1.002);
    }
    100% {
        text-shadow: none;
        transform: none;
    }
}

@keyframes squashAndStretch {
    0% { transform: scale(1); }
    30% { transform: scaleX(1.02) scaleY(0.98); }
    60% { transform: scaleX(0.98) scaleY(1.01); }
    100% { transform: scale(1); }
}

@keyframes contentFade {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
/* iPad Mini and tablet specific styles */
@media (min-width: 768px) and (max-width: 1024px) {
    .header-title {
        font-size: 3.5rem;
        letter-spacing: 2.5px;
    }
    
    .dimensional-showcase > .container {
        margin-top: 0.6rem;
        padding-top: 1.2rem;
        padding-bottom: 2.8rem;
    }
    
    /* Spotlight RSS card improvements */
    .spotlight-title {
        font-size: 2.8rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .spotlight-description {
        font-size: 1.25rem;
        margin-bottom: 1.8rem;
        line-height: 1.5;
    }
    
    .spotlight-metadata {
        margin: 0.8rem 0;
        padding: 0.6rem 0;
        font-size: 0.95rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .spotlight-metadata .spotlight-date,
    .spotlight-metadata .spotlight-tags {
        text-align: left !important;
        margin-top: 0.3rem;
    }
    
    /* Increase spotlight card height for better spacing */
    section.production-header.spotlight-production {
        min-height: 480px;
        padding-top: 1rem;
    }
    
    section.production-header.spotlight-production .content {
        padding: 2rem 2rem 1.5rem 2rem;
    }
    
    /* About section layout reorganization for iPad Mini - keep it simple */
    .about-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .image-compare {
        grid-column: 1;
        grid-row: 1;
    }
    
    .about-content {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
    }
    
    /* Just move the audio and social links to appear after the text but position them in the left column */
    .about-content .about-audio {
        order: 10;
        transform: translateX(calc(-100% - 3rem));
        margin-top: -6.5rem;
        margin-left: -.6rem;
        margin-bottom: 10px;
    }
    
    .about-content .social-links {
        order: 11;
        transform: translateX(calc(-100% - 3rem));
    }
}

@media (max-width: 767px) {
    .header-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .header-subtitle {
        font-size: 1.2rem;
        letter-spacing: 1px;
        margin-left: 0.6rem;
        margin-right: 0.6rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 0;
    }
    
    .showcase-item {
        margin: 0 1rem;
    }
    
    .showcase-item img {
        height: 250px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 2rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
        margin-left: 0.6rem;
        margin-right: 0.6rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.25rem;
    }
    
    .showcase-item {
        margin: 0 0.5rem;
    }
    
    footer p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .header {
        height: -webkit-fill-available;
    }
}

/* Prevent text size adjustment on iOS */
html {
    -webkit-text-size-adjust: 100%;
}

/* Improve touch targets */
@media (hover: none) {
    .showcase-item,
    .faq-card {
        transform: none !important;
        transition: none !important;
    }
    
    .showcase-item.active,
    .faq-card.active {
        animation: none !important;
        transform: none !important;
    }
}

/* About Section with Retro-Futurist Style */
.about {
    padding: 5rem 0 2rem 0;
    background-color: var(--accent);
    color: var(--light);
    position: relative;
    overflow: hidden;
    /* Match the footer's background pattern */
    background-image: 
        linear-gradient(rgba(0, 247, 194, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 247, 194, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 30%, rgba(255, 90, 54, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(0, 247, 194, 0.15) 0%, transparent 40%);
    z-index: 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 4rem;
    align-items: start;
}

.image-compare {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 8px 8px 16px 16px;
    overflow: visible;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 0 0 2px var(--neon);
    transform: rotate(-0.5deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulseGlow 4s infinite alternate;
    cursor: pointer;
    border: 3px solid #000;
    outline: 2px solid var(--neon);
}

.image-compare:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1), 0 0 15px rgba(0,247,194,0.5);
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 133.33%; /* 3:4 aspect ratio to match cw1 */
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
}

.image-before,
.image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Adjust vertical position to focus on face area */
}

.image-before {
    z-index: 1;
    /* transform: scaleX(-1); */ /* Flip the first image back */
}

.image-after {
    z-index: 2;
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(0.5px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
}

/* Hover effect styles */
.image-wrapper:hover .image-after {
    clip-path: circle(85% at 50% 50%);
    filter: blur(0px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
}

.about-content {
    position: relative;
    z-index: 1;
    transform: rotate(-0.5deg);
}

.about-title {
    font-family: 'Exo', 'Orbitron', 'Arial Black', Arial, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px var(--neon), 0 0 10px var(--neon);
    animation: glitch 3s infinite alternate-reverse;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 0.5rem 0;
    flex-wrap: wrap;
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
}

.social-link {
    color: var(--neon);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.2rem 0;
}

.social-link:hover {
    color: var(--light);
    text-shadow: 0 0 10px var(--neon);
}

.separator {
    color: var(--neon);
    opacity: 0.5;
}

/* Button Styles */
.btn-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
}

.email-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--neon);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--neon);
    box-shadow: 0 0 15px rgba(0,247,194,0.3);
    transition: all 0.3s ease;
    margin: 0 auto;
    transform: rotate(0deg);
}

.email-btn:hover {
    /* transform: translateY(-5px) rotate(1deg); */
    box-shadow: 0 0 30px rgba(0,247,194,0.6);
    color: var(--light);
}

.email-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0,247,194,0.2), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

.btn-text {
    position: relative;
    z-index: 1;
    text-shadow: 0 0 5px var(--neon);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,247,194,0.2) 0%, transparent 70%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

/* Responsive Styles for About Section */
@media (max-width: 767px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .image-compare {
        max-width: 300px;
    }

    .about-title {
        font-size: 2rem;
    }

    .social-links {
        font-size: 0.9rem;
    }

    .email-btn {
        font-size: 1rem;
        padding: 0.8rem 1.6rem;
    }

    .about-name {
        padding: 0.8em 1.2em;
        font-size: 0.9rem;
    }

    .pronunciation {
        font-size: 0.8rem;
        display: block;
        margin-top: 0.2em;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .btn-container {
        flex-direction: column;
        align-items: stretch;
    }

    .email-btn {
        text-align: center;
    }

    .about-name {
        padding: 1em 0.8em;
        font-size: 0.85rem;
    }

    .pronunciation {
        font-size: 0.75rem;
        margin-top: 0.3em;
    }
}

/* RSS Feed Section */
.rss-feed {
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(247, 110, 17, 0.1), rgba(255, 158, 0, 0.15));
    position: relative;
    overflow: hidden;
    /* Added repeating pattern similar to Recent Work section */
    background-image: 
        radial-gradient(circle at 25% 25%, var(--groovy-gradient1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, var(--groovy-gradient2) 0%, transparent 50%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="2" fill="%23000" opacity="0.05"/></svg>');
    background-blend-mode: overlay;
}

.rss-feed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 30%, rgba(255, 90, 54, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(0, 247, 194, 0.15) 0%, transparent 40%);
    z-index: 0;
    /* Added rough paper texture */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.1"/></svg>');
    mix-blend-mode: multiply;
}

/* Add grid overlay to RSS feed section */
.rss-feed::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 247, 194, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 247, 194, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    perspective: 500px;
    transform: rotateX(45deg);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.feed-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-bottom: 0rem;
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.feed-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 0;
    border: 3px solid var(--primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 0 10px rgba(0,247,194,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.03) 75%, rgba(0,0,0,0.05) 100%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><circle cx="6" cy="6" r="1" fill="%23000" opacity="0.05"/></svg>');
}

.feed-item:hover, .feed-item:focus {
    box-shadow: 0 20px 40px var(--light), 0 0 24px var(--light);
    transform: translateY(-6px) scale(1.01) rotate(1deg);
    outline: none;
}

.feed-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.feed-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 2px solid #bbb; /* neutral light gray */
    box-shadow: 0 0 10px rgba(0,247,194,0.3);
    aspect-ratio: 4 / 3; /* Reserve space to reduce CLS */
}

.feed-item h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.feed-item p {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.feed-item .date {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.feed-item .read-more {
    color: var(--secondary);
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: auto;
}

.feed-item:hover .read-more {
    color: #FFE135;
    transform: translateX(5px);
}

/* Loading and Error States for RSS Feed */
.feed-item.loading-placeholder {
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 25%, rgba(0,247,194,0.1) 50%, rgba(255,255,255,0.9) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border: 3px solid var(--primary);
    text-align: center;
    padding: 3rem 2rem;
}

.feed-item.loading-placeholder h3 {
    color: var(--primary);
    margin: 0;
    font-size: 1.2rem;
    opacity: 0.8;
}

.feed-item.error-state {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #ff6b6b;
    text-align: center;
    padding: 3rem 2rem;
}

.feed-item.error-state h3 {
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.feed-item.error-state p {
    color: var(--text);
    margin: 0;
}

.feed-item.error-state a {
    color: var(--primary);
    text-decoration: underline;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.load-more-container {
    text-align: center;
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 2rem;
    padding-top: 2rem;
    width: 100%;
    padding-bottom: 2rem;
}

.load-more-btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--neon);
    text-decoration: none;
    font-family: 'Exo', 'Orbitron', 'Space Mono', monospace, sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 3px solid var(--neon);
    box-shadow: 0 0 18px 2px var(--neon), 0 0 2px 0.5px var(--primary);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
    outline: none;
    cursor: pointer;
}

.load-more-btn:hover, .load-more-btn:focus {
    background: linear-gradient(45deg, var(--accent), var(--primary));
    color: var(--light);
    box-shadow: 0 0 32px 6px var(--neon), 0 0 8px 2px var(--primary);
    transform: scale(1.04) rotate(-1deg);
    text-shadow: 0 0 10px var(--neon);
    border-color: var(--light);
}

@media (max-width: 767px) {
    .load-more-btn {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
}
@media (max-width: 480px) {
    .load-more-btn {
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
    }
}

/* Audio Summary Section - Subtle & Collapsible */
.audio-summary-container {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}


/* Toggle Button - Hidden on Desktop, Visible on Tablet/Mobile */
.audio-summary-toggle {
    margin-bottom: 0.5rem;
    text-align: center;
    display: none; /* Hidden by default on desktop */
}

.summary-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--neon);
    text-decoration: none;
    font-family: 'Exo', 'Orbitron', 'Space Mono', monospace, sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--neon);
    box-shadow: 0 0 12px 1px var(--neon), 0 0 1px 0.5px var(--primary);
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    outline: none;
    cursor: pointer;
}

.summary-toggle-btn:hover, .summary-toggle-btn:focus {
    background: linear-gradient(45deg, var(--accent), var(--primary));
    color: var(--light);
    box-shadow: 0 0 20px 3px var(--neon), 0 0 4px 1px var(--primary);
    transform: scale(1.02) rotate(-0.5deg);
    text-shadow: 0 0 6px var(--neon);
    border-color: var(--light);
}

.toggle-text {
    font-weight: 600;
    letter-spacing: 2px;
}

.toggle-arrow {
    font-size: 0.7rem;
    transition: transform 0.4s ease;
    margin-left: 0.3rem;
}

.summary-toggle-btn.expanded .toggle-arrow {
    transform: rotate(180deg);
}

/* Audio Summary Card with Animations */
.audio-summary-card {
    background: url('images/recap-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 158, 0, 0.2);
    border-radius: 8px;
    position: relative;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        0 12px 35px rgba(0, 0, 0, 0.08),
        0 8px 25px rgba(0, 247, 194, 0.15),
        0 0 0 1px rgba(0, 247, 194, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    /* Always expanded on desktop */
    opacity: 1;
    max-height: none;
    overflow: visible;
    transform-origin: top center;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Shimmer effect */
.audio-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 247, 194, 0.1), 
        rgba(0, 247, 194, 0.2), 
        rgba(0, 247, 194, 0.1), 
        transparent
    );
    transition: left 0.8s ease-out;
    z-index: 1;
    pointer-events: none;
}

.audio-summary-card.expanded::before {
    left: 100%;
}

/* Desktop - Always visible with side-by-side layout */
@media (min-width: 1025px) {
    .audio-summary-toggle {
        display: none;
    }
    
    .audio-summary-card {
        opacity: 1;
        max-height: none;
    }
    
    .audio-summary-layout {
        flex-direction: row;
        gap: .4rem;
        align-items: flex-start;
    }
    
    .audio-summary-left {
        flex: 1;
        min-width: 0;
    }
    
    .audio-summary-right {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    
    .audio-summary-player {
        width: 100%;
        max-width: 600px;
    }
}

.audio-summary-content {
    padding: 1.2rem;
    position: relative;
    z-index: 2;
}

/* Simplified content animations for tablets/mobile */
@media (max-width: 1024px) {
    .audio-summary-content {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .audio-summary-card.expanded .audio-summary-content {
        opacity: 1;
    }
}

/* Animation keyframes */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* First expand pulse effect */
.audio-summary-card.expanded.first-expand {
    animation: expandPulse 0.8s ease-out;
}

@keyframes expandPulse {
    0% {
        transform: scaleY(1) perspective(1000px) rotateX(0deg);
    }
    50% {
        transform: scaleY(1.02) perspective(1000px) rotateX(2deg);
        box-shadow: 
            0 12px 35px rgba(0, 247, 194, 0.25),
            0 0 0 2px rgba(0, 247, 194, 0.2);
    }
    100% {
        transform: scaleY(1) perspective(1000px) rotateX(0deg);
    }
}

/* Side-by-side layout - Tighter spacing */
.audio-summary-layout {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.audio-summary-left {
    flex: 1;
    min-width: 0; /* Allows text to wrap properly */
}

.audio-summary-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.8rem;
}


/* Tablet and Mobile - Show toggle button and collapsible behavior */
@media (max-width: 1024px) {
    .audio-summary-toggle {
        display: block;
    }
    
    .audio-summary-player {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .audio-summary-player .custom-audio-player {
        width: 100% !important;
        max-width: 800px !important;
        min-width: 400px;
    }
    
    .audio-summary-card.collapsed {
        max-height: 0;
        opacity: 0;
        border-color: transparent;
        margin-top: -0.5rem;
        overflow: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .audio-summary-card.expanded {
        max-height: 300px;
        opacity: 1;
        margin-top: 0;
        transform: translateY(0);
        transition: all 0.3s ease;
    }
}

/* iPad Mini and larger tablets - Side-by-side layout */
@media (min-width: 768px) and (max-width: 1024px) {
    .audio-summary-layout {
        flex-direction: row;
        gap: 1.5rem;
        align-items: center;
    }
    
    .audio-summary-left {
        flex: 1 1 50%;
        min-width: 0;
    }
    
    .audio-summary-header {
        text-align: center;
    }
    
    .audio-summary-title {
        font-size: 1rem;
    }
    
    .audio-summary-right {
        flex: 1 1 50%;
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        min-width: 0;
        margin-top: 0rem;
    }
    
    .audio-summary-meta {
        justify-content: center !important;
        text-align: center !important;
        width: 100%;
        margin-top: 0.6rem;
    }
    
    .summary-coverage, .summary-date, .summary-separator {
        text-align: center !important;
    }
    
    .audio-summary-player {
        width: 100%;
    }
    
    .audio-summary-player .custom-audio-player {
        max-width: 820px !important;
        min-width: 320px !important;
    }
}

/* Mobile responsive adjustments - Phone only */
@media (max-width: 767px) {
    .audio-summary-container {
        text-align: center;
        width: 100%;
    }
    
    .audio-summary-toggle {
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
        display: flex;
        justify-content: center;
    }
    
    .summary-toggle-btn {
        font-size: 0.8rem;
        padding: 0.7rem 1.2rem;
        letter-spacing: 1.5px;
    }
    .audio-summary-layout {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
    
    .audio-summary-left,
    .audio-summary-right {
        flex: none;
        text-align: center;
        width: 100%;
        margin-top: 0rem;
    }
    
    .audio-summary-content {
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .audio-summary-player {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .audio-summary-player .custom-audio-player {
        padding: 0.5rem 0.6rem;
        width: 100% !important;
        max-width: 320px !important;
        min-width: 280px;
    }
    
    .audio-summary-btn {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 1.1rem;
        margin-right: 0.4rem;
    }
    
    .audio-summary-player .audio-time {
        font-size: 0.85rem;
        min-width: 40px;
        max-width: 40px;
        margin-left: 0.4rem;
        margin-right: 0.4rem;
        white-space: nowrap;
    }
    
    .audio-summary-player .audio-progress-container {
        min-width: 30px;
    }
    
    .audio-summary-meta {
        justify-content: center !important;
        text-align: center !important;
        width: 100%;
    }
    
    .summary-coverage, .summary-date, .summary-separator {
        text-align: center !important;
    }
}


.audio-summary-header {
    margin-bottom: 0;
    text-align: center;
}

.audio-summary-title {
    font-family: 'Exo', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2a1810;
    margin: 0 0 0.8rem 0;
    text-shadow: 
        0 2px 0 rgba(0, 0, 0, 0.9),
        0 -1px 0 rgba(139, 90, 43, 0.4),
        1px 0 0 rgba(0, 0, 0, 0.6),
        -1px 0 0 rgba(139, 90, 43, 0.3);
    line-height: 1.4;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    word-spacing: 0.5rem;
}

.wood-letter {
    display: inline-block;
    transition: all 0.3s ease;
    cursor: default;
}

.wood-letter:hover {
    color: #ff6b35;
    text-shadow: 
        0 0 10px rgba(255, 107, 53, 0.8),
        0 0 20px rgba(255, 69, 0, 0.6),
        0 0 30px rgba(255, 140, 0, 0.4),
        0 2px 0 rgba(139, 0, 0, 0.8),
        0 -1px 0 rgba(255, 140, 0, 0.3);
    transform: translateY(-1px);
    animation: ember-glow 0.6s ease-in-out infinite alternate;
}

@keyframes ember-glow {
    0% {
        text-shadow: 
            0 0 10px rgba(255, 107, 53, 0.8),
            0 0 20px rgba(255, 69, 0, 0.6),
            0 0 30px rgba(255, 140, 0, 0.4),
            0 2px 0 rgba(139, 0, 0, 0.8);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(255, 107, 53, 1),
            0 0 25px rgba(255, 69, 0, 0.8),
            0 0 40px rgba(255, 140, 0, 0.6),
            0 2px 0 rgba(139, 0, 0, 0.9),
            0 0 5px rgba(255, 215, 0, 0.5);
    }
}

.audio-summary-description {
    font-family: 'Exo', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.3;
}

.audio-summary-player {
    margin-bottom: 0;
}

/* Retro radio-style audio player */
.audio-summary-player .custom-audio-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, 
        rgba(8, 12, 18, 0.98) 0%, 
        rgba(12, 16, 24, 0.95) 50%, 
        rgba(8, 12, 18, 0.98) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 247, 194, 0.25);
    border-radius: 12px;
    box-shadow: 
        inset 3px 3px 10px rgba(0, 0, 0, 0.9),
        inset -2px -2px 6px rgba(0, 247, 194, 0.05),
        inset 0 2px 8px rgba(0, 0, 0, 0.7),
        inset 0 -1px 4px rgba(0, 247, 194, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.5),
        0 0 1px rgba(0, 247, 194, 0.3);
    padding: 0.7rem 1.2rem;
    position: relative;
    width: 100%;
    min-width: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* CRT scanline effect for player */
.audio-summary-player .custom-audio-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 4px
    );
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    border-radius: 10px;
}

/* Subtle glass reflection */
.audio-summary-player .custom-audio-player::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.03) 0%,
        transparent 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 10px 10px 0 0;
}

.audio-summary-player .custom-audio-player:hover {
    border-color: rgba(0, 247, 194, 0.45);
    box-shadow: 
        inset 3px 3px 10px rgba(0, 0, 0, 0.9),
        inset -2px -2px 6px rgba(0, 247, 194, 0.08),
        inset 0 2px 8px rgba(0, 0, 0, 0.7),
        inset 0 -1px 4px rgba(0, 247, 194, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 247, 194, 0.15),
        0 0 2px rgba(0, 247, 194, 0.4);
}

.audio-summary-player .custom-audio-player .audio-summary-btn,
.audio-summary-player .custom-audio-player .audio-progress-container,
.audio-summary-player .custom-audio-player .audio-time {
    opacity: 1;
}

.audio-summary-player .custom-audio-player .audio-summary-btn {
    color: rgba(0, 247, 194, 0.7);
}

.audio-summary-player .custom-audio-player .audio-summary-btn:hover {
    color: rgba(0, 247, 194, 1);
    filter: drop-shadow(0 0 8px rgba(0, 247, 194, 0.6));
}

.audio-summary-player .custom-audio-player .audio-time {
    color: rgba(0, 247, 194, 0.8);
    text-shadow: 0 0 6px rgba(0, 247, 194, 0.4);
}

.audio-summary-btn {
    background: linear-gradient(145deg, 
        rgba(20, 25, 35, 0.9) 0%, 
        rgba(10, 15, 25, 0.95) 100%);
    color: rgba(0, 247, 194, 0.85);
    border: 2px solid rgba(0, 247, 194, 0.35);
    border-radius: 50%;
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.08),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4),
        0 0 12px rgba(0, 247, 194, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-right: 1rem;
    opacity: 1;
    position: relative;
    z-index: 2;
}

/* Glow ring on button */
.audio-summary-btn::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(0, 247, 194, 0.15) 0%,
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.audio-summary-btn:hover::before {
    opacity: 1;
}

.audio-summary-btn:hover {
    color: rgba(0, 247, 194, 1);
    border-color: rgba(0, 247, 194, 0.7);
    box-shadow: 
        0 3px 12px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.12),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 247, 194, 0.35),
        0 0 30px rgba(0, 247, 194, 0.2);
    background: linear-gradient(145deg, 
        rgba(25, 35, 50, 0.9) 0%, 
        rgba(15, 20, 35, 0.95) 100%);
    transform: scale(1.08);
}

.audio-summary-btn:active {
    transform: scale(0.95);
    box-shadow: 
        0 1px 4px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(0, 247, 194, 0.25);
}

.audio-summary-btn .audio-icon {
    font-size: 1.1rem;
    margin-left: 2px;
    filter: drop-shadow(0 0 3px rgba(0, 247, 194, 0.5));
}

.audio-summary-player .audio-progress-container {
    flex: 1 1 auto;
    min-width: 40px;
    max-width: none;
    height: 0.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s ease;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.audio-summary-player .audio-progress-bar {
    width: 100%;
    height: 0.5rem;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(15, 20, 30, 0.7) 50%, 
        rgba(0, 0, 0, 0.5) 100%);
    border-radius: 4px;
    overflow: visible;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.9),
        inset 0 -1px 2px rgba(0, 247, 194, 0.08);
    position: relative;
    border: 1px solid rgba(0, 247, 194, 0.25);
}

.audio-summary-player .audio-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
        rgba(0, 200, 150, 0.95) 0%, 
        rgba(0, 247, 194, 1) 40%,
        rgba(0, 255, 200, 1) 60%, 
        rgba(0, 247, 194, 1) 100%);
    box-shadow: 
        0 0 6px rgba(0, 247, 194, 1),
        0 0 12px rgba(0, 247, 194, 0.7),
        0 0 20px rgba(0, 247, 194, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    border-radius: 3px 0 0 3px;
    transition: width 0.15s linear;
    position: relative;
}

/* Hot spot at the playhead */
.audio-summary-player .audio-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -1px;
    width: 3px;
    height: 12px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 6px rgba(255, 255, 255, 0.9),
        0 0 12px rgba(0, 247, 194, 0.8),
        0 0 20px rgba(0, 247, 194, 0.5);
    transform: translateY(-50%);
    border-radius: 2px;
}

/* Highlight shimmer */
.audio-summary-player .audio-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        transparent 100%);
    border-radius: 3px 0 0 0;
}

.audio-summary-player .audio-time {
    font-family: 'Space Mono', monospace;
    color: rgba(0, 247, 194, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 45px;
    max-width: 50px;
    text-shadow: 
        0 0 8px rgba(0, 247, 194, 0.6),
        0 0 16px rgba(0, 247, 194, 0.3);
    flex-shrink: 0;
    text-align: right;
    margin-left: 1rem;
    white-space: nowrap;
    opacity: 1;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.audio-summary-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #3d2817;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: left;
    text-shadow: 
        0 1px 0 rgba(0, 0, 0, 0.8),
        0 -1px 0 rgba(139, 90, 43, 0.3),
        1px 0 0 rgba(0, 0, 0, 0.5),
        -1px 0 0 rgba(139, 90, 43, 0.2);
}

.summary-separator {
    color: #3d2817;
    font-weight: bold;
    opacity: 0.8;
}

.summary-coverage, .summary-date {
    color: #2a1810;
    text-shadow: 
        0 1px 0 rgba(0, 0, 0, 0.9),
        0 -1px 0 rgba(139, 90, 43, 0.4),
        1px 0 0 rgba(0, 0, 0, 0.6),
        -1px 0 0 rgba(139, 90, 43, 0.3);
    font-weight: 700;
}

/* Time Dial Styles */
.time-dial-container {
    margin-top: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-dial-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.time-dial-knob-section,
.scroll-wheel-section,
.station-lights-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    gap: 12px;
}

/* Radio Tuner Display */
.radio-tuner-display {
    width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.tuner-glass {
    position: relative;
    width: 100%;
    height: 100px;
    background: 
        radial-gradient(ellipse at top right, rgba(20, 30, 60, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(15, 25, 50, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, 
            rgba(5, 5, 10, 0.98) 0%, 
            rgba(8, 8, 15, 0.95) 50%, 
            rgba(5, 5, 10, 0.98) 100%);
    border: 1px solid rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.9),
        inset 0 2px 4px rgba(0, 0, 0, 0.8),
        0 1px 2px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.tuner-scale {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px 0 95px;
    z-index: 1;
}

.tuner-scale::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 95px;
    right: 24px;
    height: 1px;
    background: rgba(0, 255, 100, 0.3);
    transform: translateY(-50%);
    z-index: 0;
}

.scale-marker {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.scale-marker.scale-clickable {
    cursor: pointer;
    z-index: 4;
}

.scale-marker.scale-clickable:hover::before {
    background: rgba(0, 255, 100, 0.8);
    box-shadow: 0 0 8px rgba(0, 255, 100, 0.6);
}

.scale-marker.scale-clickable:hover .marker-label {
    color: #00ff64;
    text-shadow: 
        0 0 8px rgba(0, 255, 100, 0.9),
        0 0 14px rgba(0, 255, 100, 0.5),
        0 0 3px rgba(0, 255, 100, 1);
    transform: scale(1.05);
}

.scale-marker::before {
    content: '';
    width: 1px;
    height: 12px;
    background: rgba(0, 255, 100, 0.4);
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.scale-marker.scale-major::before {
    height: 20px;
    width: 2px;
    background: rgba(0, 255, 100, 0.6);
}

.scale-marker.scale-major.active::before {
    background: rgba(0, 255, 100, 0.9);
    box-shadow: 0 0 8px rgba(0, 255, 100, 0.6);
}

.marker-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: #00ff64;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: absolute;
    bottom: 16px;
    line-height: 1.1;
    text-align: center;
    text-shadow: 
        0 0 6px rgba(0, 255, 100, 0.8),
        0 0 12px rgba(0, 255, 100, 0.4),
        0 0 2px rgba(0, 255, 100, 1);
    transition: all 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
}

/* Staggered label positioning - alternating top and bottom */
.scale-marker.label-top .marker-label {
    bottom: auto;
    top: 16px;
}

.scale-marker.scale-major.active .marker-label {
    color: #00ff64;
    text-shadow: 
        0 0 8px rgba(0, 255, 100, 1),
        0 0 16px rgba(0, 255, 100, 0.6),
        0 0 3px rgba(0, 255, 100, 1);
}

.tuner-indicator {
    position: absolute;
    top: 0;
    left: 24px;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(255, 0, 0, 0.3) 0%, 
        rgba(255, 0, 0, 0.9) 10%,
        rgba(255, 0, 0, 1) 20%,
        rgba(255, 0, 0, 1) 80%,
        rgba(255, 0, 0, 0.9) 90%,
        rgba(255, 0, 0, 0.3) 100%);
    box-shadow: 
        0 0 12px rgba(255, 0, 0, 0.9),
        0 0 6px rgba(255, 0, 0, 0.7),
        inset 0 0 4px rgba(255, 255, 255, 0.2);
    z-index: 3;
    transition: left 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    pointer-events: none;
    border-radius: 1px;
}

.tuner-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 2;
}

.tuner-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(0, 247, 194, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 4px rgba(0, 247, 194, 0.3);
}

/* Bonus LED Button - Opens Mixtape */
.tuner-led {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        #ff6b6b 0%, 
        #e63946 40%, 
        #9d0208 100%);
    box-shadow: 
        0 0 4px rgba(230, 57, 70, 0.6),
        0 0 8px rgba(230, 57, 70, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 8px;
    transition: all 0.3s ease;
    animation: led-pulse 3s ease-in-out infinite;
}

.tuner-led:hover {
    transform: scale(1.2);
    box-shadow: 
        0 0 8px rgba(230, 57, 70, 0.9),
        0 0 16px rgba(230, 57, 70, 0.6),
        0 0 24px rgba(230, 57, 70, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    animation: none;
}

.tuner-led:active {
    transform: scale(0.95);
    background: radial-gradient(circle at 30% 30%, 
        #ff8a8a 0%, 
        #ff6b6b 40%, 
        #e63946 100%);
}

@keyframes led-pulse {
    0%, 100% {
        box-shadow: 
            0 0 4px rgba(230, 57, 70, 0.6),
            0 0 8px rgba(230, 57, 70, 0.3),
            inset 0 -2px 4px rgba(0, 0, 0, 0.3),
            inset 0 1px 2px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 0 6px rgba(230, 57, 70, 0.8),
            0 0 12px rgba(230, 57, 70, 0.5),
            0 0 18px rgba(230, 57, 70, 0.2),
            inset 0 -2px 4px rgba(0, 0, 0, 0.3),
            inset 0 1px 2px rgba(255, 255, 255, 0.3);
    }
}

/* ===== LED ACTIVATION EFFECTS ===== */

/* LED Pressed/Activated State */
.tuner-led.pressed {
    animation: led-burst 0.4s ease-out forwards;
    background: radial-gradient(circle at 30% 30%, 
        #ffffff 0%, 
        #ff6b6b 30%, 
        #e63946 60%, 
        #9d0208 100%);
}

@keyframes led-burst {
    0% {
        transform: scale(1);
        box-shadow: 
            0 0 8px rgba(255, 255, 255, 0.9),
            0 0 16px rgba(230, 57, 70, 0.9),
            0 0 32px rgba(230, 57, 70, 0.6);
    }
    30% {
        transform: scale(1.5);
        box-shadow: 
            0 0 15px rgba(255, 255, 255, 1),
            0 0 30px rgba(230, 57, 70, 1),
            0 0 60px rgba(230, 57, 70, 0.8),
            0 0 100px rgba(230, 57, 70, 0.4);
    }
    100% {
        transform: scale(1.2);
        box-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(230, 57, 70, 0.8),
            0 0 40px rgba(230, 57, 70, 0.5);
    }
}

/* Shockwave Ripple Effect */
.led-shockwave {
    position: fixed;
    border-radius: 50%;
    border: 2px solid rgba(230, 57, 70, 0.8);
    pointer-events: none;
    z-index: 9998;
    animation: shockwave-expand 0.6s ease-out forwards;
}

@keyframes shockwave-expand {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
        border-width: 3px;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
        border-width: 1px;
    }
}

/* Full-page CRT Static Flash Overlay */
.crt-static-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px
        );
}

.crt-static-overlay.active {
    animation: crt-static-flash 0.4s steps(4) forwards;
}

@keyframes crt-static-flash {
    0% {
        opacity: 0;
        background: 
            repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(0,0,0,0.1) 2px, rgba(0,0,0,0.1) 4px),
            url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }
    25% {
        opacity: 0.6;
        filter: brightness(1.3);
    }
    50% {
        opacity: 0.3;
        filter: brightness(0.8);
    }
    75% {
        opacity: 0.5;
        filter: brightness(1.2);
    }
    100% {
        opacity: 0;
    }
}

/* Screen Flicker Effect */
.screen-flicker {
    animation: screen-flicker-anim 0.3s steps(2) forwards;
}

@keyframes screen-flicker-anim {
    0% { filter: brightness(1); }
    20% { filter: brightness(1.5) contrast(1.2); }
    40% { filter: brightness(0.7); }
    60% { filter: brightness(1.3) saturate(1.3); }
    80% { filter: brightness(0.9); }
    100% { filter: brightness(1); }
}

/* CRT Power-On Effect for Lightbox */
.mixtape-lightbox.crt-power-on {
    animation: crt-turn-on 0.5s ease-out forwards;
}

.mixtape-lightbox.crt-power-on .mixtape-content {
    animation: crt-content-reveal 0.5s ease-out forwards;
}

@keyframes crt-turn-on {
    0% {
        background: rgba(0, 0, 0, 1);
    }
    30% {
        background: rgba(0, 0, 0, 0.98);
    }
    100% {
        background: rgba(0, 0, 0, 0.95);
    }
}

@keyframes crt-content-reveal {
    0% {
        opacity: 0;
        transform: scaleY(0.01) scaleX(0.5);
        filter: brightness(3) blur(10px);
    }
    30% {
        opacity: 1;
        transform: scaleY(0.01) scaleX(0.8);
        filter: brightness(2) blur(5px);
    }
    50% {
        transform: scaleY(0.5) scaleX(1);
        filter: brightness(1.5) blur(2px);
    }
    70% {
        transform: scaleY(0.9) scaleX(1);
        filter: brightness(1.2) blur(1px);
    }
    100% {
        opacity: 1;
        transform: scaleY(1) scaleX(1);
        filter: brightness(1) blur(0);
    }
}

/* Scanline sweep during power on */
.mixtape-lightbox.crt-power-on::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1000;
    animation: scanline-sweep 0.5s ease-out forwards;
}

@keyframes scanline-sweep {
    0% {
        opacity: 1;
        background-position: 0 -100vh;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.3;
        background-position: 0 0;
    }
}

/* ===== CRT TUNER ENHANCEMENTS ===== */

/* 1. Scanlines Overlay */
.tuner-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 4px
    );
    pointer-events: none;
    z-index: 10;
    opacity: 0.6;
}

/* 2. Static Noise Overlay (visible during tuning) */
.tuner-glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: overlay;
    transition: opacity 0.15s ease;
}

.tuner-glass.tuning::after {
    opacity: 0.4;
    animation: static-flicker 0.1s steps(3) infinite;
}

@keyframes static-flicker {
    0% { opacity: 0.3; transform: translateX(0); }
    33% { opacity: 0.5; transform: translateX(-1px); }
    66% { opacity: 0.35; transform: translateX(1px); }
    100% { opacity: 0.45; transform: translateX(0); }
}

/* 3. Phosphor Glow & Decay on Markers */
.scale-marker.scale-major::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 40px;
    background: radial-gradient(ellipse at center, 
        rgba(0, 247, 194, 0) 0%,
        rgba(0, 247, 194, 0) 100%);
    pointer-events: none;
    transition: all 0.5s ease;
    opacity: 0;
    z-index: 0;
}

/* Phosphor decay - fading glow on previously active markers */
.scale-marker.scale-major.phosphor-decay::after {
    background: radial-gradient(ellipse at center, 
        rgba(0, 247, 194, 0.4) 0%,
        rgba(0, 247, 194, 0.1) 50%,
        rgba(0, 247, 194, 0) 100%);
    opacity: 1;
    animation: phosphor-fade 1.2s ease-out forwards;
}

@keyframes phosphor-fade {
    0% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1);
        filter: blur(2px);
    }
    100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(1.5);
        filter: blur(6px);
    }
}

/* 4. Signal Lock Pulsing Indicator */
.scale-marker.scale-major.active::after {
    background: radial-gradient(ellipse at center, 
        rgba(0, 247, 194, 0.6) 0%,
        rgba(0, 247, 194, 0.2) 40%,
        rgba(0, 247, 194, 0) 70%);
    opacity: 1;
    animation: signal-lock-pulse 2s ease-in-out infinite;
}

@keyframes signal-lock-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

/* Signal lock flicker on initial tune-in */
.scale-marker.scale-major.signal-locking::before {
    animation: signal-lock-flicker 0.4s steps(2) forwards;
}

@keyframes signal-lock-flicker {
    0% { opacity: 0.3; }
    20% { opacity: 1; }
    40% { opacity: 0.5; }
    60% { opacity: 0.9; }
    80% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* 5. VU Meter Breathing Animation */
.scale-marker.scale-major::before {
    animation: vu-breathe 3s ease-in-out infinite;
    animation-delay: calc(var(--marker-index, 0) * 0.3s);
}

@keyframes vu-breathe {
    0%, 100% { 
        height: 28px;
        opacity: 0.7;
    }
    50% { 
        height: 34px;
        opacity: 0.85;
    }
}

/* Active marker has more pronounced breathing */
.scale-marker.scale-major.active::before {
    animation: vu-breathe-active 1.5s ease-in-out infinite;
    height: 38px;
}

@keyframes vu-breathe-active {
    0%, 100% { 
        height: 36px;
        box-shadow: 0 0 12px rgba(0, 247, 194, 0.8), 0 0 20px rgba(0, 247, 194, 0.4);
    }
    50% { 
        height: 42px;
        box-shadow: 0 0 18px rgba(0, 247, 194, 1), 0 0 30px rgba(0, 247, 194, 0.6);
    }
}

/* Minor markers subtle pulse */
.scale-marker.scale-minor::before {
    animation: vu-minor-pulse 4s ease-in-out infinite;
}

@keyframes vu-minor-pulse {
    0%, 100% { height: 18px; opacity: 0.3; }
    50% { height: 22px; opacity: 0.45; }
}

/* 6. Vacuum Tube Warmup Glow */
.scale-marker.scale-major.warming-up::before {
    animation: tube-warmup 0.6s ease-out forwards;
}

.scale-marker.scale-major.warming-up::after {
    animation: tube-warmup-glow 0.6s ease-out forwards;
}

@keyframes tube-warmup {
    0% {
        background: linear-gradient(180deg, 
            transparent 0%, 
            rgba(255, 140, 50, 0.3) 50%, 
            transparent 100%);
        box-shadow: 0 0 5px rgba(255, 140, 50, 0.4);
        height: 25px;
    }
    30% {
        background: linear-gradient(180deg, 
            transparent 0%, 
            rgba(255, 100, 30, 0.6) 50%, 
            transparent 100%);
        box-shadow: 0 0 15px rgba(255, 100, 30, 0.8);
        height: 32px;
    }
    60% {
        background: linear-gradient(180deg, 
            transparent 0%, 
            rgba(200, 247, 220, 0.8) 50%, 
            transparent 100%);
        box-shadow: 0 0 12px rgba(100, 247, 194, 0.7);
    }
    100% {
        background: linear-gradient(180deg, 
            transparent 0%, 
            rgba(0, 247, 194, 1) 50%, 
            transparent 100%);
        box-shadow: 0 0 10px rgba(0, 247, 194, 0.8);
        height: 38px;
    }
}

@keyframes tube-warmup-glow {
    0% {
        background: radial-gradient(ellipse at center, 
            rgba(255, 140, 50, 0.5) 0%,
            rgba(255, 100, 30, 0.2) 50%,
            transparent 70%);
        opacity: 1;
    }
    50% {
        background: radial-gradient(ellipse at center, 
            rgba(255, 200, 100, 0.6) 0%,
            rgba(200, 247, 194, 0.3) 50%,
            transparent 70%);
        opacity: 1;
    }
    100% {
        background: radial-gradient(ellipse at center, 
            rgba(0, 247, 194, 0.6) 0%,
            rgba(0, 247, 194, 0.2) 40%,
            rgba(0, 247, 194, 0) 70%);
        opacity: 1;
    }
}

/* Tuner indicator enhanced glow during tuning */
.tuner-indicator.tuning {
    animation: indicator-tune 0.3s ease-in-out;
}

@keyframes indicator-tune {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 69, 0, 0.8), 0 0 5px rgba(255, 69, 0, 1);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 69, 0, 1), 0 0 10px rgba(255, 69, 0, 1), 0 0 35px rgba(255, 140, 50, 0.6);
    }
}

/* CRT screen flicker on the whole tuner (subtle) */
.tuner-glass {
    animation: crt-screen-flicker 8s ease-in-out infinite;
}

@keyframes crt-screen-flicker {
    0%, 100% { filter: brightness(1); }
    92% { filter: brightness(1); }
    93% { filter: brightness(1.1); }
    94% { filter: brightness(0.95); }
    95% { filter: brightness(1.05); }
    96% { filter: brightness(1); }
}

/* Set marker index for staggered animations */
.tuner-scale .scale-marker:nth-child(1) { --marker-index: 0; }
.tuner-scale .scale-marker:nth-child(2) { --marker-index: 1; }
.tuner-scale .scale-marker:nth-child(3) { --marker-index: 2; }
.tuner-scale .scale-marker:nth-child(4) { --marker-index: 3; }
.tuner-scale .scale-marker:nth-child(5) { --marker-index: 4; }
.tuner-scale .scale-marker:nth-child(6) { --marker-index: 5; }
.tuner-scale .scale-marker:nth-child(7) { --marker-index: 6; }
.tuner-scale .scale-marker:nth-child(8) { --marker-index: 7; }
.tuner-scale .scale-marker:nth-child(9) { --marker-index: 8; }
.tuner-scale .scale-marker:nth-child(10) { --marker-index: 9; }
.tuner-scale .scale-marker:nth-child(11) { --marker-index: 10; }
.tuner-scale .scale-marker:nth-child(12) { --marker-index: 11; }
.tuner-scale .scale-marker:nth-child(13) { --marker-index: 12; }
.tuner-scale .scale-marker:nth-child(14) { --marker-index: 13; }

/* Station Lights Ring (embedded in tuner display) */
.station-lights-ring {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at center,
        rgba(10, 15, 20, 0.95) 0%,
        rgba(5, 8, 12, 0.98) 70%,
        rgba(15, 20, 25, 0.9) 100%);
    border: 1px solid rgba(0, 247, 194, 0.2);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.8),
        inset 0 -1px 3px rgba(0, 247, 194, 0.05),
        0 0 8px rgba(0, 0, 0, 0.5);
    cursor: ns-resize;
    user-select: none;
    transition: all 0.2s ease;
    z-index: 3;
}

.station-lights-ring:hover {
    border-color: rgba(0, 247, 194, 0.4);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.8),
        inset 0 -1px 3px rgba(0, 247, 194, 0.1),
        0 0 12px rgba(0, 247, 194, 0.2);
}

.station-light {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(40, 50, 45, 0.9) 0%,
        rgba(20, 30, 25, 0.95) 100%);
    border: 1px solid rgba(0, 80, 60, 0.4);
    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    cursor: pointer;
    
    /* Position around the circle */
    top: 50%;
    left: 50%;
    --radius: 20px;
    transform: translate(-50%, -50%) 
               rotate(var(--angle)) 
               translateY(calc(-1 * var(--radius)));
}

.station-light:hover {
    background: radial-gradient(circle at 30% 30%,
        rgba(0, 180, 140, 0.6) 0%,
        rgba(0, 100, 80, 0.7) 100%);
    border-color: rgba(0, 247, 194, 0.5);
    transform: translate(-50%, -50%) 
               rotate(var(--angle)) 
               translateY(calc(-1 * var(--radius)))
               scale(1.2);
}

.station-light.active {
    background: radial-gradient(circle at 30% 30%,
        rgba(150, 255, 220, 1) 0%,
        rgba(0, 247, 194, 1) 50%,
        rgba(0, 200, 160, 1) 100%);
    border-color: rgba(0, 247, 194, 0.9);
    box-shadow:
        0 0 6px rgba(0, 247, 194, 1),
        0 0 12px rgba(0, 247, 194, 0.7),
        0 0 20px rgba(0, 247, 194, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.station-light.nearby {
    background: radial-gradient(circle at 30% 30%,
        rgba(0, 160, 120, 0.5) 0%,
        rgba(0, 100, 80, 0.6) 100%);
    border-color: rgba(0, 247, 194, 0.4);
    box-shadow:
        0 0 4px rgba(0, 247, 194, 0.4);
}

/* Legacy support - keep old dial wrapper styles but hidden */
.time-dial-wrapper {
    display: none;
    position: relative;
    width: 60px;
    height: 60px;
    cursor: pointer;
    user-select: none;
    filter: 
        drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8))
        drop-shadow(-1px -1px 2px rgba(139, 90, 43, 0.3));
    transition: filter 0.3s ease;
    border-radius: 50%;
    box-shadow: 
        inset 2px 2px 6px rgba(0, 0, 0, 0.7),
        inset -1px -1px 4px rgba(139, 90, 43, 0.25);
}

.time-dial-wrapper:hover {
    filter: 
        drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8))
        drop-shadow(-1px -1px 2px rgba(139, 90, 43, 0.3))
        drop-shadow(0 0 8px rgba(0, 247, 194, 0.4));
    box-shadow: 
        inset 2px 2px 6px rgba(0, 0, 0, 0.7),
        inset -1px -1px 4px rgba(139, 90, 43, 0.25);
}

.time-dial-wrapper:active {
    filter: 
        drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.9))
        drop-shadow(-1px -1px 2px rgba(139, 90, 43, 0.2));
    box-shadow: 
        inset 3px 3px 8px rgba(0, 0, 0, 0.8),
        inset -1px -1px 3px rgba(139, 90, 43, 0.2);
}

/* Radio knob rotating image (with needle baked in) */
.radio-knob-rotating {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%) rotate(0deg);
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Station markers SVG overlay (fixed, doesn't rotate) */
.station-markers-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Smooth transitions for station markers when glowing */
.station-markers-svg line,
.station-markers-svg circle {
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.dial-label {
    position: absolute;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-shadow: 0 0 8px rgba(0, 247, 194, 0.8), 0 0 3px rgba(0, 247, 194, 1);
    pointer-events: none;
    white-space: nowrap;
    z-index: 3;
    transition: opacity 0.3s ease, text-shadow 0.3s ease;
}

.dial-label-top {
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}

.dial-label-bottom {
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
}

/* Brighten the label that's currently selected */
.time-dial-wrapper[data-current-station="0"] .dial-label-top,
.time-dial-wrapper[data-current-station="1"] .dial-label-bottom {
    opacity: 1;
    text-shadow: 0 0 12px rgba(0, 247, 194, 1), 0 0 5px rgba(0, 247, 194, 1);
}

.dial-instructions {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: rgba(0, 247, 194, 0.6);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -0.3rem;
}


/* Mobile adjustments for dial and tuner */
@media (max-width: 767px) {
    .time-dial-container {
        margin-top: 0.8rem;
        align-items: center;
    }
    
    .time-dial-layout {
        flex-direction: row;
        gap: 1rem;
    }
    
    .time-dial-knob-section,
    .scroll-wheel-section,
    .station-lights-section {
        justify-content: flex-start;
        gap: 8px;
    }
    
    
    .radio-tuner-display {
        width: 300px;
    }

    .tuner-glass {
        height: 85px;
    }
    
    .tuner-indicator {
        height: 100%;
    }
    
    .tuner-scale {
        padding: 0 18px 0 80px;
    }
    
    .tuner-scale::before {
        left: 80px;
    }
    
    .station-lights-ring {
        width: 48px;
        height: 48px;
        left: 10px;
    }
    
    .station-light {
        width: 7px;
        height: 7px;
        --radius: 17px;
    }
    
    .scale-marker::before {
        height: 16px;
    }
    
    .scale-marker.scale-major::before {
        height: 24px;
    }
    
    .marker-label {
        font-size: 0.5rem;
        bottom: 12px;
        line-height: 1.1;
    }
    
    .scale-marker.label-top .marker-label {
        bottom: auto;
        top: 12px;
    }
    
    .tuner-label {
        font-size: 0.55rem;
        letter-spacing: 1.5px;
    }
    
    .time-dial-wrapper {
        width: 50px;
        height: 50px;
    }
    
    
    .dial-label {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
    
    .dial-label-top {
        top: -16px;
    }
    
    .dial-label-bottom {
        bottom: -16px;
    }
    
    .dial-instructions {
        font-size: 0.65rem;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .time-dial-layout {
        gap: 1.2rem;
    }
    
    .time-dial-knob-section,
    .scroll-wheel-section,
    .station-lights-section {
        justify-content: flex-start;
    }

    .radio-tuner-display {
        width: 320px;
    }

    .tuner-glass {
        height: 90px;
    }
    
    .tuner-indicator {
        height: 100%;
    }
    
    .marker-label {
        font-size: 0.52rem;
    }
    
    .time-dial-wrapper {
        width: 55px;
        height: 55px;
    }
    
    .station-lights-ring {
        width: 44px;
        height: 44px;
        left: 8px;
    }
    
    .station-light {
        width: 6px;
        height: 6px;
        --radius: 15px;
    }
    
    .dial-label-top {
        top: -17px;
    }
    
    .dial-label-bottom {
        bottom: -17px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .summary-toggle-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .audio-summary-content {
        padding: .4rem;
    }
    
    .audio-summary-title {
        font-size: 1.1rem;
    }
    
    .audio-summary-description {
        font-size: 0.8rem;
    }
    
    .audio-summary-player .custom-audio-player {
        padding: 0.6rem 1rem;
        gap: 0.8rem;
    }
    
    .audio-summary-btn {
        width: 32px;
        height: 32px;
    }
    
    .audio-summary-meta {
        flex-wrap: wrap;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .summary-toggle-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .audio-summary-content {
        padding: 1rem;
    }
    
    .audio-summary-title {
        font-size: 1.0rem;
    }
}

/* Latest Article Spotlight */
.latest-article-spotlight {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.spotlight-production {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0;
    border: 3px solid var(--primary);
    outline: 2px solid var(--groovy-gradient1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15), 0 0 20px rgba(0,247,194,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.02) 75%, rgba(0,0,0,0.04) 100%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><circle cx="6" cy="6" r="1" fill="%23000" opacity="0.03"/></svg>');
    z-index: 1;
}

.spotlight-production::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 30%, rgba(255, 90, 54, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(0, 247, 194, 0.08) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.spotlight-production:hover {
    transform: translateY(-6px) scale(1.01) rotate(1deg);
    box-shadow: 0 20px 40px var(--light), 0 0 24px var(--light);
}

.spotlight-featured-image {
    position: relative;
    z-index: 1;
    border: 2px solid #bbb;
    box-shadow: 0 0 10px rgba(0,247,194,0.3);
}

.spotlight-content {
    background: transparent;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.spotlight-title {
    color: var(--primary);
    text-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Exo', 'Orbitron', 'Arial Black', Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.spotlight-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text);
    opacity: 0.9;
}

.spotlight-date {
    color: var(--secondary);
    opacity: 0.9;
    font-size: 1rem;
    font-weight: bold;
    text-align: right;
}

.spotlight-grid-overlay {
    background-image: 
        linear-gradient(rgba(0, 247, 194, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 247, 194, 0.4) 1px, transparent 1px) !important;
    background-size: 40px 40px !important;
    perspective: 500px !important;
    transform: rotateX(45deg) !important;
    opacity: 0.8 !important;
    z-index: 1 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
}

@media (max-width: 767px) {
    .spotlight-title {
        font-size: 2rem;
    }
    
    .spotlight-description {
        font-size: 1.1rem;
        text-align: left !important;
    }
}

/* GPTs Section */
.gpts-section {
    padding: 2rem 0rem 4rem 0;
    background-color: var(--accent);
    color: var(--light);
    position: relative;
    overflow: hidden;
    background-image: 
        linear-gradient(rgba(0, 247, 194, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 247, 194, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
}

.gpts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 30%, rgba(255, 90, 54, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(0, 247, 194, 0.15) 0%, transparent 40%);
    z-index: 0;
}

.gpts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
    margin-top: 4rem;
}

.gpt-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 0;
    border: 3px solid var(--neon);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 0 10px rgba(0,247,194,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gpt-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2), 0 0 15px rgba(0,247,194,0.5);
}

.gpt-item img {
    width: 275px;
    height: 275px;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 2px solid var(--neon);
    box-shadow: 0 0 10px rgba(0,247,194,0.3);
    border-radius: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.gpt-item h3 {
    color: var(--light);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin: 0.5rem 0 1rem 0;
    text-shadow: 0 0 5px var(--neon);
}

.gpt-item p {
    color: var(--light);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 300px;
    margin: 0 auto;
}

.gpt-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gpt-link:hover .gpt-item {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2), 0 0 15px rgba(0,247,194,0.5);
}

.gpt-link:hover .gpt-item h3 {
    color: var(--neon);
    text-shadow: 0 0 10px var(--neon);
}

/* Mobile spotlight card with blue styling */
@media (max-width: 767px) {
    /* Use the same blue background styling on mobile */
    section.production-header.spotlight-production {
        background: linear-gradient(135deg, var(--accent), var(--primary)) !important;
        border: 3px solid var(--primary) !important;
        outline: 2px solid var(--groovy-gradient1) !important;
        box-shadow: 
            0 15px 30px rgba(0,0,0,0.12), 
            0 0 20px rgba(0,247,194,0.3),
            inset 0 0 40px rgba(44, 79, 124, 0.4) !important;
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        padding: 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    section.production-header.spotlight-production .featured-image {
        position: relative !important;
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
        mask-image: none !important;
        -webkit-mask-image: none !important;
        mix-blend-mode: normal !important;
        opacity: 1 !important;
        margin-bottom: 1rem !important;
    }
    
    section.production-header.spotlight-production .content {
        position: relative !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    section.production-header.spotlight-production h1 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    section.production-header.spotlight-production p {
        font-size: 0.9rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Adjust metadata for mobile */
    .spotlight-metadata {
        margin: 0.2rem 0 !important;
        padding: 0.15rem 0 !important;
    }
    
    .spotlight-label {
        font-size: 0.75rem !important;
    }
    
    .spotlight-date,
    .spotlight-tags {
        font-size: 0.8rem !important;
    }
    
    .spotlight-metadata .spotlight-date,
    .spotlight-metadata .spotlight-tags {
        flex: 1 !important;
        text-align: right !important;
        white-space: nowrap !important;
    }
    
    /* Grid adjustments */
    .feed-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .feed-item {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
    }
    
    .feed-item img {
        height: 200px;
    }

    .feed-item h3 {
        font-size: 1.3rem;
    }

    .feed-item p {
        font-size: 0.9rem;
    }

    .load-more-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 90%;
        margin: 0 auto;
    }

    .gpts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gpt-item {
        padding: 1.5rem;
    }

    .gpt-item img {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .feed-item {
        padding: 1rem;
    }

    .feed-item img {
        height: 180px;
    }

    .feed-item h3 {
        font-size: 1.2rem;
    }

    .feed-item p {
        font-size: 0.85rem;
    }

    .load-more-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .gpt-item {
        padding: 1rem;
    }

    .gpt-item img {
        width: 180px;
        height: 180px;
    }

    .gpt-item h3 {
        font-size: 1.3rem;
    }

    .gpt-item p {
        font-size: 0.9rem;
    }
}

/* ChatGPT Blurb Section */
.chatgpt-blurb {
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(26, 21, 80, 0.05), rgba(75, 29, 138, 0.1));
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--groovy-gradient1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, var(--groovy-gradient2) 0%, transparent 50%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="2" fill="%23000" opacity="0.05"/></svg>');
    background-blend-mode: overlay;
}

.blurb-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.blurb-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 0;
    border: 3px solid var(--primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 0 10px rgba(0,247,194,0.3);
    position: relative;
    overflow: hidden;
    transform: none;
    transition: all 0.3s ease;
    background-image: 
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.03) 75%, rgba(0,0,0,0.05) 100%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><circle cx="6" cy="6" r="1" fill="%23000" opacity="0.05"/></svg>');
    will-change: transform, box-shadow;
}

.blurb-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15), 0 0 15px rgba(0,247,194,0.5);
}

.testimonial-carousel {
    position: relative;
    width: 100%;
}

.testimonial-carousel .blurb-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.testimonial-carousel .blurb-card.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.blurb-subtitle {
    font-family: 'Exo', 'Orbitron', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px var(--neon);
}

.blurb-card p {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blurb-card p:last-child {
    margin-bottom: 0;
}

.blurb-tldr {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: var(--groovy-gradient1) !important;
    font-size: 1.2rem !important;
    text-align: center;
    margin-top: 2rem !important;
    padding-top: 1rem;
    border-top: 2px dashed rgba(0,0,0,0.1);
}

.blurb-card .chatgpt-link {
    text-align: right;
    display: block;
    font-size: 0.8rem;
    margin-top: 2rem;
    opacity: 0.7;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1rem;
}

.blurb-card .chatgpt-link a {
    color: var(--groovy-gradient2);
    text-decoration: none;
}

/* Responsive adjustments for ChatGPT Blurb */
@media (max-width: 767px) {
    .blurb-card {
        padding: 2rem;
        margin: 0 1rem;
    }

    .blurb-subtitle {
        font-size: 1.8rem;
    }

    .blurb-card p {
        font-size: 1rem;
    }

    .blurb-tldr {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    .blurb-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .blurb-subtitle {
        font-size: 1.5rem;
    }

    .blurb-card p {
        font-size: 0.95rem;
    }

    .blurb-tldr {
        font-size: 1rem !important;
    }
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.97);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    margin: auto;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10000;
    background: none;
    border: none;
    padding: 10px;
    line-height: 1;
}

.lightbox-nav {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    z-index: 10000;
}

.prev-btn,
.next-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 767px) {
    .lightbox-content {
        padding: 10px;
    }
    
    .lightbox-content img {
        max-width: 98%;
        max-height: calc(100vh - 160px);
    }
    
    .lightbox-nav {
        bottom: 10px;
        padding: 15px;
    }
}

/* Production header styles */
.production-header {
    text-align: right;
    padding: 4rem 2rem;
    background: #000033;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 400px;
}

.production-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 0, 139, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(178, 34, 34, 0.3) 0%, transparent 50%);
    z-index: 0;
}

.production-header .featured-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
}

.production-header .content {
    width: 50%;
    padding-left: 2rem;
    position: relative;
    z-index: 2;
}

.production-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #dc143c;
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.7);
}

.production-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Alice in Wonderland specific styles */
section.production-header.alice {
    background: #1a0933;  /* Deep purple base */
}

section.production-header.alice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(230, 0, 150, 0.4) 0%, transparent 50%),  /* Magenta glow */
        radial-gradient(circle at 80% 50%, rgba(64, 0, 128, 0.4) 0%, transparent 50%),   /* Purple glow */
        radial-gradient(circle at 50% 20%, rgba(0, 150, 255, 0.2) 0%, transparent 40%);  /* Blue accent */
    z-index: 0;
}

section.production-header.alice h1 {
    font-family: 'Space Mono', monospace;
    color: #ff3366;  /* Bright pink-red */
    text-shadow: 
        0 0 15px rgba(255, 51, 102, 0.7),
        0 0 30px rgba(255, 51, 102, 0.4);
    letter-spacing: 2px;
    font-weight: 700;
}

section.production-header.alice p {
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.5);  /* Subtle blue glow */
}

/* Update responsive styles */
@media (max-width: 767px) {
    .production-header {
        flex-direction: column;
        text-align: center;
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .production-header .featured-image {
        position: relative;
        width: 100%;
        height: 300px;
        mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    }

    .production-header .production-content {
        width: 100%;
        padding: 2rem 1rem;
        margin: 0 auto;
        max-width: none;
        box-sizing: border-box;
    }

    .production-header h1,
    .production-header.alice h1 {
        font-size: 2.5rem;
    }

    .production-header p,
    .production-header.alice p {
        margin: 1rem auto;
        text-align: center;
    }
}

@media (min-width: 768px) {
    .production-header .production-content {
        padding: 4rem 2rem 4rem 0;
    }
}

/* Gallery Container */
.gallery-container {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(247, 110, 17, 0.1), rgba(255, 158, 0, 0.15));
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--groovy-gradient1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, var(--groovy-gradient2) 0%, transparent 50%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="2" fill="%23000" opacity="0.05"/></svg>');
    background-blend-mode: overlay;
}

.gallery-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 30%, rgba(255, 90, 54, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(0, 247, 194, 0.15) 0%, transparent 40%);
    z-index: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.5 0"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.1"/></svg>');
    mix-blend-mode: multiply;
}

.carousel-nav {
    text-align: center;
    margin-bottom: 1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
    margin: 2rem 0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(26, 21, 80, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.dot:hover {
    background-color: var(--primary);
    opacity: 0.8;
}

.testimonial {
    margin-bottom: 2rem;
}

.testimonial:last-child {
    margin-bottom: 0;
}

.testimonial-text {
    margin-bottom: 1rem;
    /* font-style: italic; */
}

.testimonial-author {
    color: var(--groovy-gradient1);
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
    text-align: right;
    padding-right: 1rem;
    font-style: italic;
}

.testimonial-author br {
    display: block;
    content: "";
    margin-top: 0.2rem;
}

.testimonial-author a {
    color: var(--groovy-gradient2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.testimonial-author a:hover {
    color: var(--groovy-gradient1);
    text-decoration: underline;
}

.testimonial-author .read-more {
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

@media (max-width: 767px) {
    .testimonial {
        margin-bottom: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .testimonial-author {
        font-size: 0.85rem;
        padding-right: 0.75rem;
    }
}

/* Mobile styles for video section */
@media (max-width: 767px) {
    .gpts-section .container > div {
        grid-template-columns: 1fr !important;
    }
    
    .video-container {
        margin-bottom: 2rem !important;
    }
    
    .video-description {
        padding: 0 !important;
    }
}

/* Responsive Video Container */
.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}
.video-container iframe {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}
.video-container-responsive {
    position: relative;
    width: 100%;
    max-width: 900px;
    padding-bottom: 43.4%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(147, 64, 191, 0.3), 0 0 40px rgba(147, 64, 191, 0.1);
}

.video-container-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #18121a;
}

@media (max-width: 767px) {
    .video-container-responsive {
        position: relative !important;
        padding-bottom: 0 !important;
        height: auto !important;
    }
    .video-container-responsive video {
        position: relative !important;
        height: auto !important;
    }
}

/* Behind the Scenes Photo Grid */
.bts-photos {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto 0;
    min-height: 500px;
    padding: 2rem;
    z-index: 1;
}

.bts-photo {
    position: absolute;
    width: calc(33.333% - 40px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    background: #1a2634;  /* greenish-navy */
    border: 2px solid #bbb;  /* neutral light gray */
    box-shadow: 0 4px 20px rgba(35, 70, 86, 0.2);
}

.bts-photo img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 6px;
    justify-content: center;
    filter: saturate(1.5) contrast(1.2);
}

.bts-photo:hover {
    transform: translateY(-10px) rotate(0deg) !important;
    z-index: 10;
    border-color: #888;  /* neutral medium gray */
    box-shadow: 0 8px 30px rgba(247, 110, 17, 0.3);
}

.bts-photo:nth-child(1) {
    left: 5%;
    top: 0;
    transform: rotate(-5deg);
}

.bts-photo:nth-child(2) {
    left: 35%;
    top: -20px;
    transform: rotate(3deg);
}

.bts-photo:nth-child(3) {
    right: 5%;
    top: 0px;
    transform: rotate(4deg);
}

.bts-photo:nth-child(4) {
    left: 20%;
    top: 200px;
    transform: rotate(-3deg);
}

.bts-photo:nth-child(5) {
    right: 20%;
    top: 150px;
    transform: rotate(6deg);
}

.bts-photo::before {
    display: none;
}

.bts-photo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0,247,194,0.15), transparent);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bts-photo:hover::after {
    opacity: 1;
    animation: shimmer 3s infinite;
}

.bts-section {
    position: relative;
    padding: 2rem 0 0;
    margin: 0;
}

.bts-section::before {
    display: none;
}

@media (max-width: 1024px) {
    .bts-photo {
        width: calc(50% - 40px);
    }

    .bts-photo:nth-child(3) {
        right: 10%;
        top: 250px;
    }

    .bts-photo:nth-child(4) {
        left: 15%;
        top: 400px;
    }

    .bts-photo:nth-child(5) {
        right: 15%;
        top: 500px;
    }

    .bts-photos {
        min-height: 800px;
    }
}

@media (max-width: 767px) {
    .bts-photo {
        position: relative !important;
        width: 100% !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        margin: 1rem 0rem;
        transform: rotate(0deg) !important;
    }

    .bts-photos {
        min-height: auto;
        display: flex;
        flex-direction: column;
        margin: 0rem 0rem;
        padding: 0rem 0rem;
        align-items: center;
    }
    .bts-section {
        margin: 0rem 0rem;
        padding: 0rem 0rem;
    }
}

.doc-link {
    color: inherit;
    text-decoration: none;
    cursor: text;
    transition: text-shadow 0.2s, text-decoration-color 0.2s;
}
.doc-link:hover, .doc-link:focus {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--neon);
    text-underline-offset: 2px;
    text-shadow: 0 0 8px var(--neon), 0 0 16px var(--neon);
    cursor: pointer;
}

.logout-btn {
    display: inline-block;
    padding: 0.35em 1em;
    background: linear-gradient(45deg, #e10600, #ff2d2d);
    color: #fff;
    text-decoration: none;
    font-family: 'Orbitron', 'Space Mono', monospace, sans-serif;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    overflow: hidden;
    border: 2px solid #e10600;
    box-shadow: 0 0 8px 1.5px #ff2d2d, 0 0 2px 0.5px #e10600;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.18s cubic-bezier(0.4,0,0.2,1);
    text-shadow: 0 0 4px #ff2d2d;
}
.logout-btn:hover, .logout-btn:focus {
    background: linear-gradient(45deg, #ff2d2d, #e10600 80%, #fff 100%);
    color: #fff;
    border-color: #ff2d2d;
    box-shadow: 0 0 18px 4px #ff2d2d, 0 0 8px 2px #e10600;
    outline: none;
    text-shadow: 0 0 12px #ff2d2d, 0 0 24px #e10600;
}

.delete-entry-btn.logout-btn {
    padding: 0 !important;
    width: 1.3em !important;
    height: 1.3em !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 1.3em !important;
    max-height: 1.3em !important;
    border-radius: 4px !important;
    font-size: 0.98em !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #e10600 !important;
    color: #fff !important;
    border: 1.5px solid #e10600 !important;
    margin-left: 0 !important;
    margin-right: 0.18em !important;
    vertical-align: middle !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: none !important;
}
.delete-entry-btn.logout-btn:hover, .delete-entry-btn.logout-btn:focus {
    background: #b80000 !important;
    border-color: #b80000 !important;
    color: #fff !important;
    outline: none !important;
}

.deletable-row {
    cursor: pointer;
    transition: box-shadow 0.18s cubic-bezier(0.4,0,0.2,1);
}
.deletable-row:hover, .deletable-row:focus {
    box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.42);
    outline: none;
}

/* === Snuggles Weight Tracker (migrated from snuggles-weight.html) === */
.password-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 21, 80, 0.97);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.password-box {
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    text-align: center;
}
.password-box input[type="password"] {
    padding: 0.5rem;
    font-size: 1.2rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-top: 1rem;
}
.password-box button {
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 6px;
    border: none;
    background: var(--secondary);
    color: #fff;
    cursor: pointer;
}
.tracker-section {
    display: none;
    background-color: var(--accent);
    color: var(--light);
    position: relative;
    overflow: hidden;
    background-image:
        radial-gradient(circle at 10% 30%, rgba(26, 21, 80, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, var(--neon) 0%, transparent 40%),
        linear-gradient(rgba(0, 247, 194, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 247, 194, 0.08) 1px, transparent 1px);
    background-size: auto, auto, 30px 30px, 30px 30px;
    background-blend-mode: overlay;
}
.insight { margin: 2rem 0; font-size: 1.2rem; }
.login-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 21, 80, 0.85);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    animation: fadeInModal 0.3s;
    background-color: #2c4f7c;
    background-image:
        radial-gradient(circle at 25% 25%, var(--groovy-gradient1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, var(--groovy-gradient2) 0%, transparent 50%),
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
    background-blend-mode: soft-light;
}
.login-modal {
    background: rgba(255,255,255,0.95);
    margin-top: 8vh;
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    border-radius: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 0 10px rgba(0,247,194,0.3);
    min-width: 320px;
    max-width: 90vw;
    animation: dropdownModal 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    border: 3px solid var(--primary);
    background-image: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.03) 75%, rgba(0,0,0,0.05) 100%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><circle cx="6" cy="6" r="1" fill="%23000" opacity="0.05"/></svg>');
}
@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes dropdownModal {
    from { transform: translateY(-60px) scale(0.98); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.login-modal input[type="password"]:focus {
    outline: 2px solid var(--secondary);
}
.login-modal .email-btn {
    margin: 0 auto 0.5rem auto;
    width: 100%;
    display: block;
}
.login-modal .btn-text { text-align: center; width: 100%; }
.login-modal .btn-glow { left: 0; right: 0; }
@media (max-width: 480px) {
    .login-modal { padding: 1.2rem 0.7rem 1rem 0.7rem; min-width: 0; }
}
/* ... (continue for all other selectors from the style block) ... */

.about-name {
    position: relative;
    z-index: 1100;
    text-align: center;
    font-family: 'Orbitron', 'Space Mono', monospace;
    font-size: 1rem;
    color: var(--primary);
    letter-spacing: 1px;
    background: rgba(250, 250, 255, 0.98);
    padding: 0.6em 1em;
    margin: 0;
    border-top: 1px solid rgba(44, 79, 124, 0.3);
    border-radius: 0 0 16px 16px;
    white-space: nowrap;
}

.pronunciation {
    font-size: 1rem;
    color: var(--accent);
    font-family: 'Space Mono', monospace;
    margin-left: 0.5em;
    letter-spacing: 0.5px;
    opacity: 0.85;
    position: relative;
    cursor: help;
}

.pronunciation::after {
    content: "Intl. Phonetic Alphabet: tʃɑrlz /ˈwɪlki/";
    position: absolute;
    left: 0;
    bottom: 120%;
    transform: translateY(20px) scale(1);
    background: rgba(44, 79, 124, 0.97);
    color: #fffbe7;
    padding: 0.25em 0.7em;
    border-radius: 5px;
    font-size: 0.95em;
    font-family: 'Space Mono', monospace;
    white-space: pre-line;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 0 12px 2px var(--neon), 0 0 2px 0.5px var(--primary);
    transition: opacity 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1002;
    text-align: left;
    min-width: 0;
    max-width: 320px;
}

.pronunciation:hover::after,
.pronunciation:focus::after {
    opacity: 1;
    transform: translateY(0) scale(1.04);
}

/* Remove .feed-btn styles */
.feed-btn {
    display: none !important;
}

.feed-item {
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.2s;
}
.feed-item:hover, .feed-item:focus {
    box-shadow: 0 20px 40px var(--light), 0 0 24px var(--light);
    transform: translateY(-6px) scale(1.01) rotate(1deg);
    outline: none;
}

.feed-item,
.feed-item * {
    text-decoration: none !important;
}

.footer-note {
    position: static;
    display: block;
    margin: 0.5rem auto 0 auto;
    font-size: 0.85rem;
    color: var(--light);
    opacity: 0.7;
    font-family: 'Space Mono', monospace;
    letter-spacing: 1.2px;
    z-index: 3;
    pointer-events: none;
    user-select: none;
    text-align: center;
    text-shadow: 0 0 2px var(--primary), 0 0 4px var(--primary);
    width: 100%;
    max-width: 100vw;
}

.footer-note.glitch {
    animation: glitch-blocky 0.28s steps(1, end);
}

/* Blue section utility for cream underline on blue backgrounds */
.blue-section {
    /* No background here! Only used for underline utility */
    position: relative;
}
.blue-section .section-title::after {
    background: var(--light) !important; /* Cream underline for blue backgrounds */
}

.recently-bg-text {
    position: absolute;
    top: 0vw;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3.2rem;
    font-family: 'Exo', 'Orbitron', 'Arial Black', Arial, sans-serif;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.48em;
    color: rgba(245,245,245,0.20);
    text-shadow:
        0 0 12px #f8e9d2,
        0 0 18px #b6eaff,
        0 0 6px #fff,
        0 2px 6px rgba(0,0,0,0.08),
        0 1px 0 #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(120deg, rgba(255,255,255,0.6) 0%, rgba(248,233,210,0.3) 40%, rgba(182,234,255,0.15) 100%);
    background-clip: text;
    user-select: none;
    z-index: 0;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    filter: blur(0.3px) brightness(1.03) saturate(1.01);
    transition: filter 0.3s, color 0.3s, text-shadow 0.3s;
    margin-top: 0.8rem;
    margin-bottom: 1.2rem;
}

.recently-bg-text .recently-letter {
  display: inline-block;
  transition: 
    transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    text-shadow 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: auto;
  will-change: transform, text-shadow, color;
  pointer-events: auto;
}

@media (max-width: 767px) {
  .recently-bg-text {
    font-size: 7vw;
    top: 1.5vw;
    margin-top: 0.4rem;
    margin-bottom: 0.8rem;
  }
}
@media (max-width: 480px) {
  .recently-bg-text {
    font-size: 7vw;
    top: 1.5vw;
    margin-top: 0.4rem;
    margin-bottom: 0.5rem;
  }
}

.recently-bg-text {
    text-shadow:
        0 0 2px #f8e9d2,
        0 0 3px #b6eaff,
        0 0 1px #fff,
        0 1px 2px rgba(0,0,0,0.01),
        0 1px 0 #fff;
    background-image: linear-gradient(120deg, rgba(255,255,255,0.12) 0%, rgba(248,233,210,0.03) 40%, rgba(182,234,255,0.012) 100%);
    filter: blur(0.1px) brightness(1.01) saturate(1.0);
}

.header-title:hover {
    animation: crt-hover-flicker 0.25s ease-out forwards;
}

.header-title:hover::before {
    opacity: 0.7;
    transform: translateX(-3px);
    transition: opacity 0.1s, transform 0.1s;
}

.header-title:hover::after {
    opacity: 0.7;
    transform: translateX(3px);
    transition: opacity 0.1s, transform 0.1s;
}

/* Simpler hover-specific animation that won't cause re-triggers */
@keyframes crt-hover-flicker {
    0% {
        text-shadow: 0 0 10px var(--neon), 0 0 20px var(--neon);
    }
    20% {
        text-shadow: 
            3px 0 var(--secondary),
            -3px 0 var(--neon),
            0 0 15px var(--neon);
    }
    40% {
        text-shadow: 
            -2px 0 var(--neon),
            2px 0 var(--secondary),
            0 0 20px var(--neon);
    }
    100% {
        text-shadow: 
            0 0 12px var(--neon), 
            0 0 25px var(--neon),
            0 0 40px rgba(0, 247, 194, 0.3);
    }
}

.recently-bg-text .recently-letter:hover {
  transform: scale(1.22);
  color: var(--neon);
  text-shadow:
    0 0 18px #f8e9d2,
    0 0 32px #f8e9d2,
    0 2px 6px rgba(0,0,0,0.08),
    0 1px 0 #fff;
  filter: brightness(1.2) saturate(1.2);
}

.recently-bg-text .recently-letter.flicker {
  text-shadow:
    0 0 8px rgba(0, 247, 194, 0.18),
    0 0 16px rgba(0, 247, 194, 0.08),
    0 0 2px rgba(26, 21, 80, 0.12);
  filter: brightness(1.08) saturate(1.08);
}

@media (max-width: 767px) {
  .recently-bg-text .recently-letter:hover {
    transform: scale(1.13);
  }
}

/* Substack Archive Button */
.archive-btn-container {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}
.archive-btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--neon);
    text-decoration: none;
    font-family: 'Exo', 'Orbitron', 'Space Mono', monospace, sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 3px solid var(--neon);
    box-shadow: 0 0 18px 2px var(--neon), 0 0 2px 0.5px var(--primary);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
    outline: none;
    cursor: pointer;
}
.archive-btn:hover, .archive-btn:focus {
    background: linear-gradient(45deg, var(--accent), var(--primary));
    color: var(--light);
    box-shadow: 0 0 32px 6px var(--neon), 0 0 8px 2px var(--primary);
    transform: scale(1.04) rotate(-1deg);
    text-shadow: 0 0 10px var(--neon);
    border-color: var(--light);
}
@media (max-width: 767px) {
    .archive-btn {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
}
@media (max-width: 480px) {
    .archive-btn {
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 767px) {
    .dimensional-showcase {
        padding: 0.4rem 0 1.2rem 0;
    }
    .dimensional-showcase > .container {
    margin-top: 0.2rem;
    padding-bottom: 1.8rem;
  }
}

.section-title.section-title-light {
    color: var(--light) !important;
    text-shadow:
        2px 2px 0 var(--primary),   /* dark shadow offset */
        0 0 0 var(--light);         /* ensures crisp cream on top */
}

.section-title.section-title-light::after {
    filter: drop-shadow(2px 2px 0 var(--primary));
}

.rss-feed .section-title.section-title-light::after {
    background: var(--light) !important;
    filter: drop-shadow(2px 2px 0 var(--primary));
}

/* Custom Audio Player - Sleeker Full Width */
.about-audio {
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
  text-align: center;
}
.custom-audio-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 0.4rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18), 0 0 8px var(--neon);
  padding: 0.3rem 0.7rem;
  position: relative;
  width: 100%;
  max-width: 600px;
  min-width: 0;
  margin: 0 auto;
}
.audio-btn {
  background: transparent;
  color: var(--neon);
  border: none;
  border-radius: 0;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  flex-shrink: 0;
  margin-right: 0.7rem;
}
.audio-btn:hover, .audio-btn:focus {
  color: var(--secondary);
  box-shadow: none;
  background: transparent;
}
.audio-progress-container {
  flex: 1 1 auto;
  min-width: 40px;
  max-width: none;
  height: 0.35rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.audio-progress-bar {
  width: 100%;
  height: 0.35rem;
  background: linear-gradient(90deg, var(--groovy-gradient1) 0%, var(--groovy-gradient2) 100%);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0 8px var(--neon);
  position: relative;
}
.audio-progress {
  height: 100%;
  width: 0%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  border-radius: 0.5rem 0 0 0.5rem;
  transition: width 0.2s linear;
}
.audio-time {
  font-family: 'Space Mono', monospace;
  color: var(--neon);
  font-size: 0.95rem;
  min-width: 40px;
  max-width: 40px;
  text-shadow: 0 0 4px var(--primary);
  flex-shrink: 0;
  text-align: right;
  margin-left: 0.7rem;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .custom-audio-player {
    max-width: 98vw;
    padding: 0.3rem 0.2rem;
  }
  .audio-btn {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 1.1rem;
    margin-right: 0.4rem;
  }
  .audio-time {
    font-size: 0.85rem;
    min-width: 40px;
    max-width: 40px;
    margin-left: 0.4rem;
    margin-right: 0.4rem;
    white-space: nowrap;
  }
  .audio-progress-container {
    min-width: 30px;
  }
}

.glitch-link {
    /* Only use base .social-link styles, no neon color or text-shadow */
    font-family: 'Space Mono', monospace;
    position: relative;
    transition: color 0.2s, text-shadow 0.2s, opacity 0.2s;
}
.glitch-link.glitch {
    color: var(--neon);
    text-shadow: 0 0 8px var(--neon), 0 0 16px var(--neon), 0 0 2px var(--primary);
    animation: glitch-blocky 0.28s steps(1, end) infinite alternate;
}

.faq-section .section-title,
.faq-section .section-title .faq-full,
.faq-section .section-title .faq-short {
    font-family: 'Exo', 'Orbitron', 'Arial Black', Arial, sans-serif !important;
    font-weight: 700 !important;
}

.faq-section .section-title:hover {
    text-shadow: none;
    transform: scale(1.02);
    animation: glitch-blocky 0.28s steps(1, end);
}

/* FAQ heading mobile/desktop toggle */
.faq-short { display: none; }
.faq-full { display: inline; }

@media (max-width: 767px) {
  .faq-short { display: inline; }
  .faq-full { display: none; }
}

/* Variant: Blurb Audio Player (AI describes me card) */
.blurb-audio-player {
  background: #fffbe7 !important;
  box-shadow: 0 2px 8px rgba(255, 200, 80, 0.10);
  border: 1.5px solid #ffd580;
  padding: 0.12rem 0.5rem;
  margin-bottom: 1.2rem;
  min-height: 1.7rem;
}
.blurb-audio-player .audio-btn {
  color: #ffb347;
  background: transparent;
  border: none;
  box-shadow: none;
  width: 1.7rem;
  height: 1.7rem;
  font-size: 1.1rem;
  margin-right: 0.5rem;
  padding: 0;
  position: relative;
  top: -1px;
}
.blurb-audio-player .audio-btn:hover, .blurb-audio-player .audio-btn:focus {
  color: #fffbe7;
  background: transparent;
  border: none;
}
.blurb-audio-player .audio-icon {
  color: #ffb347;
}
.blurb-audio-player .audio-progress-container {
  min-width: 30px;
  height: 0.22rem;
}
.blurb-audio-player .audio-progress-bar {
  background: linear-gradient(90deg, #ffd580 0%, #ffe29a 100%);
  box-shadow: none;
  height: 0.22rem;
}
.blurb-audio-player .audio-progress {
  background: #ffb347;
  box-shadow: none;
  height: 100%;
}
.blurb-audio-player .audio-time, .blurb-audio-player .audioCurrent {
  color: #b88a3d;
  text-shadow: none;
  font-size: 0.95rem;
  min-width: 36px;
  max-width: 36px;
  margin-left: 0.5rem;
  margin-right: 0.7rem;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .blurb-audio-player {
    max-width: 98vw;
    padding: 0.12rem 0.24rem;
  }
}

.jb-img {
  object-position: center 20%;
}

.toastiq-img {
  object-position: center 0%;
}
/* Mixtape Lightbox Styles */
.mixtape-lightbox .mixtape-content {
    display: flex;
    background: linear-gradient(180deg, 
        rgba(15, 10, 30, 0.95) 0%, 
        rgba(20, 15, 40, 0.98) 50%, 
        rgba(15, 10, 30, 0.95) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 247, 194, 0.3);
    box-shadow: 
        0 0 40px rgba(0, 0, 0, 0.8),
        inset 0 0 100px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 247, 194, 0.15);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    gap: 2rem;
    position: relative;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

.mixtape-left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    width: 100%;
}

.mixtape-cover-container {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

/* Desktop and iPad Mini - Horizontal Layout */
@media (min-width: 768px) {
    .mixtape-lightbox .mixtape-content {
        flex-direction: row;
        align-items: flex-start;
        max-width: 900px;
        gap: 2rem;
    }

    .mixtape-left-section {
        flex: 1;
        align-items: flex-start;
        max-width: 400px;
    }

    .mixtape-cover-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .mixtape-player-container {
        width: 100%;
    }

    .mixtape-right-section {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .mixtape-title {
        text-align: left;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .mixtape-current-track {
        justify-content: flex-start;
    }

    .mixtape-playlist {
        flex: 1;
        min-height: 0;
    }
}

.mixtape-cover-container::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(0, 247, 194, 0.2);
    border-radius: 0.8rem;
    z-index: -1;
}

.mixtape-cover {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
}

.mixtape-credits {
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

/* A/B Side Toggle Container */
.mixtape-side-toggle-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0 0 0;
    width: 100%;
}

.mixtape-side-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.6rem;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(15, 10, 30, 0.6) 50%, 
        rgba(0, 0, 0, 0.4) 100%);
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.side-label {
    font-family: 'Exo', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.side-a-label {
    color: rgba(255, 255, 255, 0.3);
}

.side-a-label.active {
    color: #00f7c2;
    text-shadow: 
        0 0 8px rgba(0, 247, 194, 0.6),
        0 1px 2px rgba(0, 0, 0, 0.8);
}

.side-b-label {
    color: rgba(255, 255, 255, 0.3);
}

.side-b-label.active {
    color: #f7a800;
    text-shadow: 
        0 0 8px rgba(247, 168, 0, 0.6),
        0 1px 2px rgba(0, 0, 0, 0.8);
}

.side-toggle-switch {
    position: relative;
    width: 42px;
    height: 22px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

.toggle-track {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(30, 25, 50, 0.9) 50%,
        rgba(0, 0, 0, 0.8) 100%);
    border-radius: 11px;
    border: 1px solid rgba(0, 247, 194, 0.3);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.8),
        inset 0 -1px 2px rgba(255, 255, 255, 0.05),
        0 0 10px rgba(0, 247, 194, 0.15);
    transition: all 0.4s ease;
    position: relative;
}

.toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: linear-gradient(145deg,
        #00f7c2 0%,
        #00d4a8 50%,
        #00b894 100%);
    border-radius: 50%;
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.5),
        0 0 12px rgba(0, 247, 194, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Knob texture lines */
.toggle-knob::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.3) 0px,
        rgba(0, 0, 0, 0.3) 1px,
        transparent 1px,
        transparent 2px
    );
    border-radius: 2px;
}

.side-toggle-switch:hover .toggle-knob {
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.5),
        0 0 18px rgba(0, 247, 194, 0.7),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2);
}

.side-toggle-switch:active .toggle-knob {
    transform: scale(0.95);
}

/* B-Side Active State */
.mixtape-lightbox.b-side-active .toggle-track {
    border-color: rgba(247, 168, 0, 0.4);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.8),
        inset 0 -1px 2px rgba(255, 255, 255, 0.05),
        0 0 10px rgba(247, 168, 0, 0.2);
}

.mixtape-lightbox.b-side-active .toggle-knob {
    left: calc(100% - 18px);
    background: linear-gradient(145deg,
        #f7a800 0%,
        #e09500 50%,
        #c98200 100%);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.5),
        0 0 12px rgba(247, 168, 0, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2);
}

.mixtape-lightbox.b-side-active .side-toggle-switch:hover .toggle-knob {
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.5),
        0 0 18px rgba(247, 168, 0, 0.7),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2);
}

/* ===== B-SIDE COLOR THEME ===== */
.mixtape-lightbox.b-side-active .mixtape-content {
    border-color: rgba(247, 168, 0, 0.3);
    box-shadow: 
        0 0 40px rgba(0, 0, 0, 0.8),
        inset 0 0 100px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(247, 168, 0, 0.15);
}

.mixtape-lightbox.b-side-active .mixtape-cover-container::after {
    border-color: rgba(247, 168, 0, 0.2);
}

.mixtape-lightbox.b-side-active .mixtape-title {
    color: #9b59b6;
    text-shadow: 
        0 2px 0 rgba(0, 0, 0, 0.9),
        0 -1px 0 rgba(75, 45, 90, 0.4),
        1px 0 0 rgba(0, 0, 0, 0.6),
        -1px 0 0 rgba(75, 45, 90, 0.3),
        0 0 15px rgba(155, 89, 182, 0.4);
}

.mixtape-lightbox.b-side-active .mixtape-subtitle {
    color: rgba(247, 168, 0, 0.7);
    text-shadow: 
        0 0 10px rgba(247, 168, 0, 0.4),
        0 1px 0 rgba(0, 0, 0, 0.8);
}

.mixtape-lightbox.b-side-active .mixtape-current-track {
    color: rgba(247, 168, 0, 0.8);
    text-shadow: 0 0 5px rgba(247, 168, 0, 0.3);
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(15, 10, 30, 0.9) 15%, 
        rgba(15, 10, 30, 0.95) 50%, 
        rgba(15, 10, 30, 0.9) 85%, 
        transparent 100%);
}

.mixtape-lightbox.b-side-active .mixtape-playlist {
    border-color: rgba(247, 168, 0, 0.1);
}

.mixtape-lightbox.b-side-active .mixtape-nav-btn {
    border-color: rgba(247, 168, 0, 0.3);
    color: rgba(247, 168, 0, 0.7);
    background: linear-gradient(180deg, 
        rgba(247, 168, 0, 0.1) 0%, 
        rgba(247, 168, 0, 0.05) 100%);
}

.mixtape-lightbox.b-side-active .mixtape-nav-btn:hover {
    color: rgba(247, 168, 0, 1);
    border-color: rgba(247, 168, 0, 0.6);
    text-shadow: 0 0 5px rgba(247, 168, 0, 0.8);
    box-shadow: 
        0 0 12px rgba(247, 168, 0, 0.3),
        inset 0 0 8px rgba(247, 168, 0, 0.1);
}

.mixtape-lightbox.b-side-active .mixtape-audio-controls {
    border-color: rgba(155, 89, 182, 0.5);
    box-shadow: 
        inset 3px 3px 8px rgba(0, 0, 0, 0.8),
        inset -2px -2px 6px rgba(100, 50, 120, 0.2),
        0 0 12px rgba(155, 89, 182, 0.2);
}

.mixtape-lightbox.b-side-active .mixtape-audio-controls:hover {
    border-color: rgba(155, 89, 182, 0.7);
    box-shadow: 
        inset 3px 3px 8px rgba(0, 0, 0, 0.8),
        inset -2px -2px 6px rgba(100, 50, 120, 0.2),
        0 0 18px rgba(155, 89, 182, 0.35);
}

.mixtape-lightbox.b-side-active .audio-btn {
    border-color: rgba(247, 168, 0, 0.4);
    background: radial-gradient(circle at center, 
        rgba(247, 168, 0, 0.15) 0%, 
        rgba(247, 168, 0, 0.05) 60%, 
        transparent 70%);
}

.mixtape-lightbox.b-side-active .audio-btn:hover {
    border-color: #f7a800;
    box-shadow: 
        0 0 15px rgba(247, 168, 0, 0.4),
        inset 0 0 10px rgba(247, 168, 0, 0.15);
}

.mixtape-lightbox.b-side-active .audio-icon {
    color: rgba(247, 168, 0, 0.8);
    text-shadow: 0 0 8px rgba(247, 168, 0, 0.5);
}

.mixtape-lightbox.b-side-active .audio-progress-bar {
    border-color: rgba(247, 168, 0, 0.2);
}

.mixtape-lightbox.b-side-active .audio-progress {
    background: linear-gradient(90deg, 
        rgba(247, 168, 0, 0.9) 0%, 
        rgba(255, 180, 0, 1) 50%, 
        rgba(247, 168, 0, 0.9) 100%);
    box-shadow: 
        0 0 8px rgba(247, 168, 0, 0.8),
        0 0 15px rgba(247, 168, 0, 0.5),
        0 0 20px rgba(247, 168, 0, 0.3),
        inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.mixtape-lightbox.b-side-active .audio-time {
    color: rgba(247, 168, 0, 0.8);
    text-shadow: 0 0 6px rgba(247, 168, 0, 0.4);
}

.mixtape-lightbox.b-side-active .mixtape-lyrics-video-container {
    border-color: rgba(247, 168, 0, 0.2);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(247, 168, 0, 0.1);
}

.mixtape-lightbox.b-side-active .lyrics-video-overlay {
    box-shadow: inset 0 0 20px rgba(247, 168, 0, 0.1);
}

.mixtape-lightbox.b-side-active .lightbox-close {
    color: rgba(247, 168, 0, 0.6);
}

.mixtape-lightbox.b-side-active .lightbox-close:hover {
    color: #9b59b6;
    text-shadow: 0 0 10px #9b59b6;
}

.mixtape-player-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.mixtape-right-section {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mixtape-title {
    font-family: 'Exo', sans-serif;
    font-weight: 700;
    color: #ff6b35;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 
        0 2px 0 rgba(0, 0, 0, 0.9),
        0 -1px 0 rgba(139, 90, 43, 0.4),
        1px 0 0 rgba(0, 0, 0, 0.6),
        -1px 0 0 rgba(139, 90, 43, 0.3),
        0 0 15px rgba(255, 107, 53, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.3;
}

.mixtape-subtitle {
    display: block;
    font-size: 0.55em;
    font-weight: 400;
    letter-spacing: 0.35em;
    color: rgba(0, 247, 194, 0.7);
    text-shadow: 
        0 0 10px rgba(0, 247, 194, 0.4),
        0 1px 0 rgba(0, 0, 0, 0.8);
    margin-top: 0.25rem;
}

.mixtape-track-visualizer {
    position: relative;
    width: 100%;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-visualizer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 40px;
    pointer-events: none;
    z-index: 0;
}

.mixtape-current-track {
    color: rgba(0, 247, 194, 0.8);
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    min-height: 1.5em;
    text-shadow: 0 0 5px rgba(0, 247, 194, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(15, 10, 30, 0.9) 15%, 
        rgba(15, 10, 30, 0.95) 50%, 
        rgba(15, 10, 30, 0.9) 85%, 
        transparent 100%);
}

.mixtape-current-track::before {
    content: '▶';
    margin-right: 0.5rem;
    font-size: 0.8em;
    color: #ff6b35;
}

.mixtape-audio-controls {
    margin-bottom: 0.8rem;
    /* Retro radio player style */
    background: linear-gradient(180deg, 
        rgba(15, 10, 30, 0.8) 0%, 
        rgba(20, 15, 40, 0.6) 50%, 
        rgba(15, 10, 30, 0.8) 100%);
    border: 2px solid rgba(0, 247, 194, 0.3);
    border-radius: 8px;
    box-shadow: 
        inset 3px 3px 8px rgba(0, 0, 0, 0.8),
        inset -2px -2px 6px rgba(139, 90, 43, 0.2),
        inset 0 2px 8px rgba(0, 0, 0, 0.6),
        0 2px 8px rgba(0, 0, 0, 0.4);
    padding: 1rem;
    transition: all 0.3s ease;
}

.mixtape-audio-controls:hover {
    border-color: rgba(0, 247, 194, 0.5);
    box-shadow: 
        inset 3px 3px 8px rgba(0, 0, 0, 0.8),
        inset -2px -2px 6px rgba(139, 90, 43, 0.2),
        0 0 15px rgba(0, 247, 194, 0.2);
}

/* Circular Buttons for Mixtape */
.mixtape-audio-controls .audio-btn,
.mixtape-nav-btn {
    background: linear-gradient(180deg, 
        rgba(0, 247, 194, 0.15) 0%, 
        rgba(0, 247, 194, 0.08) 50%, 
        rgba(0, 247, 194, 0.15) 100%);
    color: rgba(0, 247, 194, 0.7);
    border: 1.5px solid rgba(0, 247, 194, 0.3);
    border-radius: 50%;
    width: 2.8rem;
    height: 2.8rem;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-right: 0.8rem;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.mixtape-audio-controls .audio-btn:hover,
.mixtape-nav-btn:hover {
    color: rgba(0, 247, 194, 1);
    border-color: rgba(0, 247, 194, 0.6);
    box-shadow: 
        0 0 15px rgba(0, 247, 194, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    text-shadow: 0 0 5px rgba(0, 247, 194, 0.8);
    background: linear-gradient(180deg, 
        rgba(0, 247, 194, 0.25) 0%, 
        rgba(0, 247, 194, 0.15) 50%, 
        rgba(0, 247, 194, 0.25) 100%);
}

/* Custom Track Skip Icons - |◀ and ▶| style */
.track-skip {
    display: flex;
    align-items: center;
    gap: 2px;
}

.track-skip::before,
.track-skip::after {
    content: '';
    display: block;
}

/* The bar (|) */
.track-skip::before {
    width: 3px;
    height: 12px;
    background: currentColor;
    border-radius: 1px;
}

/* The triangle (◀ or ▶) */
.track-skip::after {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* Previous: |◀ */
.track-skip.prev {
    flex-direction: row-reverse;
}

.track-skip.prev::after {
    border-right: 8px solid currentColor;
    border-left: none;
}

/* Next: ▶| */
.track-skip.next::after {
    border-left: 8px solid currentColor;
    border-right: none;
}

.mixtape-audio-controls .audio-btn:active,
.mixtape-nav-btn:active {
    transform: scale(0.95);
}

/* Progress Bar matching Recaps */
.mixtape-audio-controls .audio-progress-container {
    height: 0.6rem;
    margin: 0 1rem;
    flex-grow: 1;
    padding: 2px;
    overflow: visible;
}

.mixtape-audio-controls .audio-progress-bar {
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(20, 15, 40, 0.8) 50%, 
        rgba(0, 0, 0, 0.6) 100%);
    border-radius: 4px;
    border: 1px solid rgba(0, 247, 194, 0.2);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
    overflow: visible;
}

.mixtape-audio-controls .audio-progress {
    background: linear-gradient(90deg, 
        rgba(0, 247, 194, 0.9) 0%, 
        rgba(0, 255, 200, 1) 50%, 
        rgba(0, 247, 194, 0.9) 100%);
    box-shadow: 
        0 0 8px rgba(0, 247, 194, 0.8),
        0 0 15px rgba(0, 247, 194, 0.5),
        0 0 20px rgba(0, 247, 194, 0.3),
        inset 0 0 4px rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    position: relative;
}

.mixtape-audio-controls .audio-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%);
}

.mixtape-audio-controls .audio-time {
    font-family: 'Space Mono', monospace;
    color: rgba(0, 247, 194, 0.8);
    text-shadow: 0 0 6px rgba(0, 247, 194, 0.4);
    font-size: 1rem;
}

.mixtape-playlist {
    flex: 1;
    overflow-y: auto;
    background: rgba(10, 5, 20, 0.4);
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 247, 194, 0.1);
    padding: 0.5rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.mixtape-playlist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mixtape-track-item {
    padding: 0.67rem 1.2rem;
    margin-bottom: 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.mixtape-track-item:hover {
    background: rgba(0, 247, 194, 0.05);
    color: var(--neon);
    border-color: rgba(0, 247, 194, 0.1);
    padding-left: 1.5rem;
}

.mixtape-track-item.active {
    background: linear-gradient(90deg, 
        rgba(0, 247, 194, 0.15) 0%, 
        transparent 100%);
    color: var(--neon);
    border-left: 3px solid var(--neon);
    text-shadow: 0 0 8px rgba(0, 247, 194, 0.5);
}

.track-number {
    margin-right: 1rem;
    opacity: 0.4;
    width: 1.5rem;
    font-family: 'Exo', sans-serif;
    font-weight: 700;
}

.mixtape-track-item.active .track-number {
    opacity: 1;
    color: #ff6b35;
}

/* Track title text wrapper */
.track-title-text {
    flex: 1;
}

/* Article Link Button */
.track-article-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-left: auto;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.25);
    color: rgba(255, 107, 53, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.track-article-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.60rem;
    font-variant: petite-caps;
    letter-spacing: 0.08em;
    opacity: 0.85;
    line-height: 1;
}

.track-article-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.track-article-link:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
    color: #ff6b35;
    box-shadow: 
        0 0 12px rgba(255, 107, 53, 0.5),
        0 0 24px rgba(255, 107, 53, 0.3),
        inset 0 0 8px rgba(255, 107, 53, 0.15);
    transform: scale(1.05);
}

.track-article-link:active {
    transform: scale(0.95);
}

.mixtape-track-item.active .track-article-link {
    color: rgba(255, 107, 53, 0.8);
    border-color: rgba(255, 107, 53, 0.4);
}

.mixtape-track-item.active .track-article-link:hover {
    color: #ff6b35;
    box-shadow: 
        0 0 15px rgba(255, 107, 53, 0.6),
        0 0 30px rgba(255, 107, 53, 0.4),
        inset 0 0 10px rgba(255, 107, 53, 0.2);
}

/* B-Side Track Item Overrides */
.mixtape-lightbox.b-side-active .mixtape-track-item {
    border-left-color: transparent;
}

.mixtape-lightbox.b-side-active .mixtape-track-item:hover {
    background: linear-gradient(90deg, 
        rgba(155, 89, 182, 0.12) 0%, 
        transparent 100%);
    border-left-color: rgba(155, 89, 182, 0.6);
    color: #9b59b6;
}

.mixtape-lightbox.b-side-active .mixtape-track-item.active {
    background: linear-gradient(90deg, 
        rgba(247, 168, 0, 0.12) 0%, 
        transparent 100%);
    border-left-color: #f7a800;
}

.mixtape-lightbox.b-side-active .mixtape-track-item.active .track-number {
    color: #f7a800;
    text-shadow: 0 0 8px rgba(247, 168, 0, 0.6);
}

.mixtape-lightbox.b-side-active .mixtape-track-item.active .track-title-text {
    color: #f7a800;
    text-shadow: 0 0 5px rgba(247, 168, 0, 0.3);
}

.mixtape-lightbox.b-side-active .track-number {
    color: rgba(247, 168, 0, 0.6);
}

.mixtape-lightbox.b-side-active .track-article-link {
    background: rgba(155, 89, 182, 0.15);
    border-color: rgba(155, 89, 182, 0.3);
    color: rgba(155, 89, 182, 0.7);
}

.mixtape-lightbox.b-side-active .track-article-link:hover {
    background: rgba(155, 89, 182, 0.25);
    border-color: #9b59b6;
    color: #9b59b6;
    box-shadow: 0 0 10px rgba(155, 89, 182, 0.3);
}

/* Bonus Track Styling */
.bonus-track-separator {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 247, 194, 0.2) 20%, 
        rgba(0, 247, 194, 0.2) 80%, 
        transparent 100%);
    margin: 1.5rem 0.5rem 0.8rem 0.5rem;
    border: none;
    padding: 0;
    cursor: default;
    pointer-events: none;
}

.bonus-section-header {
    padding: 0.6rem 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Exo', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ff6b35;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
    cursor: default;
    pointer-events: none;
    border-left: 2px solid rgba(255, 107, 53, 0.3);
    padding-left: 1.5rem;
}

.mixtape-track-item.bonus-track {
    margin-top: 0.25rem;
    padding-left: 1.2rem;
    opacity: 0.8;
    border: 1px solid rgba(255, 107, 53, 0.15);
    background: rgba(255, 107, 53, 0.03);
}

.mixtape-track-item.bonus-track:hover {
    opacity: 1;
    background: rgba(255, 107, 53, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    padding-left: 1.5rem;
}

.mixtape-track-item.bonus-track.active {
    background: linear-gradient(90deg, 
        rgba(255, 107, 53, 0.15) 0%, 
        transparent 100%);
    border-left: 3px solid #ff6b35;
    opacity: 1;
}

/* Close button override */
.mixtape-lightbox .lightbox-close {
    color: rgba(0, 247, 194, 0.6);
    transition: all 0.3s ease;
}

.mixtape-lightbox .lightbox-close:hover {
    color: #ff6b35;
    text-shadow: 0 0 10px #ff6b35;
    transform: rotate(90deg);
}

/* Lyrics Video Display */
.mixtape-lyrics-video-container {
    display: none;
    width: 100%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    background: rgba(10, 5, 20, 0.8);
    border: 1px solid rgba(0, 247, 194, 0.2);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(0, 247, 194, 0.1);
}

.mixtape-lyrics-video-container.has-video {
    display: block;
    flex: 1;
    min-height: 113px;
    margin-top: 0.4rem;
}

.lyrics-video {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 15px));
    /* Scale to show all three lines with active line centered */
    min-height: 150%;
    min-width: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
}

.lyrics-video-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Fade edges for smooth blend */
    background: linear-gradient(180deg,
        rgba(15, 10, 30, 0.6) 0%,
        transparent 25%,
        transparent 75%,
        rgba(15, 10, 30, 0.6) 100%
    );
    box-shadow: inset 0 0 20px rgba(0, 247, 194, 0.1);
}

/* Desktop - grow to match track list height */
@media (min-width: 768px) {
    .mixtape-lyrics-video-container.has-video {
        min-height: 162px;
    }
}

/* Mobile Responsiveness for Mixtape */
@media (max-width: 768px) {
    .mixtape-lightbox .mixtape-content {
        padding: 1.5rem;
        max-width: 95%;
    }

    .mixtape-cover-container {
        max-width: 250px;
    }
    
    .mixtape-audio-controls {
        padding: 0.6rem;
    }

    .mixtape-audio-controls .audio-btn,
    .mixtape-nav-btn {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1rem;
        margin-right: 0.4rem;
    }

    .mixtape-playlist {
        max-height: 250px;
    }
    
    .mixtape-title {
        font-size: 1.4rem;
    }
    
    .mixtape-track-visualizer {
        margin-bottom: 1rem;
    }
    
    .audio-visualizer {
        height: 32px;
    }
    
    .mixtape-current-track {
        font-size: 0.9rem;
    }
}

/* Small phones - maximize playlist space */
@media (max-width: 480px) {
    .mixtape-lightbox .mixtape-content {
        padding: 1rem;
        max-height: 90vh;
        overflow: hidden; /* No scroll on container - only playlist scrolls */
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .mixtape-title {
        display: none; /* Hide title to save space */
    }
    
    .mixtape-left-section {
        flex-shrink: 0; /* Don't shrink the cover/player */
        gap: .5rem;
    }
    
    .mixtape-cover-container {
        max-width: 180px;
    }
    
    .mixtape-right-section {
        flex: 1;
        min-height: 0; /* Important for flex child scrolling */
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .mixtape-playlist {
        flex: 1;
        max-height: none; /* Let flexbox control height */
        overflow-y: auto;
        min-height: 0; /* Important for flex child scrolling */
    }
    
    .mixtape-track-item {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .track-article-link {
        padding: 3px 6px;
        gap: 1px;
    }
    
    .track-article-label {
        font-size: 0.6rem;
    }
    
    .track-article-link svg {
        width: 12px;
        height: 12px;
    }
    
    .mixtape-audio-controls {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .mixtape-audio-controls .audio-btn,
    .mixtape-nav-btn {
        width: 2.2rem;
        height: 2.2rem;
        font-size: 0.95rem;
    }
    
    .mixtape-track-visualizer {
        margin-bottom: 0.5rem;
        min-height: 40px;
    }
    
    .mixtape-current-track {
        font-size: 0.85rem;
    }
    
    .mixtape-player-container {
        margin-bottom: 0;
    }
}

