/* subpages.css — generated subset of styles.css for faq.html,
   alice-in-wonderland.html, jersey-boys.html, and before-times.html.
   These pages use ~15% of the full sheet; index.html keeps styles.css.
   Regenerated from styles.css by rule-usage analysis — if styles shared
   with these pages change in styles.css, mirror the change here. */

:root {
    --primary: #1a1550;
    --secondary: #ff5a36;
    --light: #f8e9d2;
    --accent: #2c4f7c;
    --text: #1a1a2e;
    --neon: #00f7c2;
    --grid: rgba(255, 185, 58, 0.15);
    --groovy-gradient1: #f76e11;
    --groovy-gradient2: #ff9e00;
    --edge-thickness: 6px;
}

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

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

.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: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    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 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.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;
    }
}

[data-tuner-theme] {
    position: relative;
}

.tuner-segment {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 14px;
    pointer-events: none;
    z-index: 5;
    background-color: transparent;
    background-image:
        repeating-linear-gradient(to bottom, rgba(255, 185, 58, 0.75) 0 2px, transparent 2px 24px),
        repeating-linear-gradient(to bottom, rgba(255, 185, 58, 0.35) 0 1px, transparent 1px 8px);
    background-size: 9px 24px, 4px 8px;
    background-repeat: repeat-y, repeat-y;
    background-position: 2px 0, center 0;
}

[data-tuner-theme="light"] > .tuner-segment {
    background-image:
        repeating-linear-gradient(to bottom, rgba(75, 29, 138, 0.55) 0 2px, transparent 2px 24px),
        repeating-linear-gradient(to bottom, rgba(75, 29, 138, 0.28) 0 1px, transparent 1px 8px);
}

html {
    scrollbar-width: none;
    
    background-color: var(--primary);
    background-image:
        linear-gradient(rgba(255, 185, 58, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 185, 58, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
}

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

.tuner-thumb {
    position: fixed;
    right: 1px;
    width: 14px;
    height: 60px;
    top: var(--tuner-thumb-top, 0px);
    z-index: 10;
    pointer-events: auto;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    will-change: top, transform;
    border-radius: 4px;
    border: 1px solid rgba(20, 12, 0, 0.75);
    background: linear-gradient(to bottom, #ffd067 0%, #ffb93a 50%, #c98715 100%);
    box-shadow:
        0 0 14px rgba(255, 185, 58, 0.75),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 0 rgba(0, 0, 0, 0.5);
    transition:
        box-shadow 0.18s ease,
        width 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-radius 0.22s ease;
}

.tuner-thumb:hover {
    box-shadow:
        0 0 18px rgba(255, 185, 58, 0.95),
        0 0 3px rgba(255, 235, 170, 1),
        inset 0 2px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 0 rgba(0, 0, 0, 0.5);
}

.tuner-thumb.is-dragging {
    cursor: grabbing;
}

.tuner-thumb {
    transform-origin: 50% 50%;
}

.tuner-thumb.is-scrolling {
    transform: scaleY(1.12) scaleX(0.94);
    transition: transform 0.08s ease-out;
}

.tuner-thumb.is-settling {
    animation: tuner-thumb-settle 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes tuner-thumb-settle {
    0%   { transform: scaleY(1.12) scaleX(0.94); }
    35%  { transform: scaleY(0.86) scaleX(1.08); }
    70%  { transform: scaleY(1.04) scaleX(0.98); }
    100% { transform: scaleY(1) scaleX(1); }
}

.tuner-thumb.is-primed {
    border-radius: 7px;
    box-shadow:
        0 0 26px rgba(255, 185, 58, 1),
        0 0 8px rgba(255, 235, 170, 0.95),
        inset 0 2px 0 rgba(255, 255, 255, 0.65),
        inset 0 -2px 0 rgba(0, 0, 0, 0.55);
}

.tuner-thumb.is-touch-release {
    animation: tuner-thumb-touch-release 0.58s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes tuner-thumb-touch-release {
    0%   { transform: scaleY(0.78) scaleX(1.35); }
    32%  { transform: scaleY(1.22) scaleX(0.82); }
    64%  { transform: scaleY(0.92) scaleX(1.07); }
    100% { transform: scaleY(1) scaleX(1); }
}

@media (max-width: 767px) {
    html {
        scrollbar-width: auto;
    }
    html::-webkit-scrollbar {
        width: auto;
        height: auto;
        display: block;
    }
    .tuner-segment,
    .tuner-thumb {
        display: none !important;
    }
}

@media (hover: none) and (pointer: coarse) {
    .tuner-thumb {
        right: 0;
        width: 48px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        -webkit-tap-highlight-color: transparent;
    }
    .tuner-thumb:hover,
    .tuner-thumb.is-primed {
        box-shadow: none;
    }
    .tuner-thumb::before {
        content: '';
        position: absolute;
        top: 0;
        right: 1px;
        bottom: 0;
        width: 12px;
        border-radius: 4px;
        border: 1px solid rgba(20, 12, 0, 0.75);
        background: linear-gradient(to bottom, #ffd067 0%, #ffb93a 50%, #c98715 100%);
        box-shadow:
            0 0 14px rgba(255, 185, 58, 0.75),
            inset 0 2px 0 rgba(255, 255, 255, 0.5),
            inset 0 -2px 0 rgba(0, 0, 0, 0.5);
        transform-origin: 50% 50%;
        transition:
            box-shadow 0.16s ease,
            width 0.18s cubic-bezier(0.34, 1.56, 0.64, 1),
            border-radius 0.18s ease,
            transform 0.08s ease-out;
    }
    .tuner-thumb::after {
        content: '';
        position: absolute;
        top: -24px;
        bottom: -24px;
        left: 0;
        right: 0;
        background: transparent;
    }
    .tuner-thumb.is-touching::before,
    .tuner-thumb.is-dragging::before {
        width: 26px;
        border-radius: 8px;
        box-shadow:
            0 0 22px rgba(255, 185, 58, 0.95),
            0 0 6px rgba(255, 235, 170, 0.85),
            inset 0 2px 0 rgba(255, 255, 255, 0.62),
            inset 0 -2px 0 rgba(0, 0, 0, 0.55);
    }
    .tuner-thumb.is-primed {
        width: 48px;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .tuner-thumb.is-primed::before {
        width: 32px;
        border-radius: 9px;
        box-shadow:
            0 0 28px rgba(255, 185, 58, 1),
            0 0 9px rgba(255, 235, 170, 0.95),
            inset 0 2px 0 rgba(255, 255, 255, 0.65),
            inset 0 -2px 0 rgba(0, 0, 0, 0.55);
    }
    .tuner-thumb.is-scrolling {
        transform: none;
        transition: none;
    }
    .tuner-thumb.is-scrolling::before {
        transform: scaleY(1.12) scaleX(0.98);
    }
    .tuner-thumb.is-settling,
    .tuner-thumb.is-touch-release {
        animation: none;
    }
    .tuner-thumb.is-settling::before {
        animation: tuner-thumb-settle 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .tuner-thumb.is-touch-release::before {
        animation: tuner-thumb-touch-release 0.58s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
}

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 {
    position: relative;
    z-index: 11;
    height: 26vh;
    min-height: 260px;
    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);
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--light);
    text-shadow: 0 0 10px rgba(255, 185, 58, 0.7), 0 0 20px rgba(255, 185, 58, 0.45);
    margin-bottom: 2.8rem;
}

.header-title {
    font-family: 'Audiowide', 'Orbitron', sans-serif;
    font-weight: 200;
    text-transform: uppercase;
    font-size: 4.5rem;
    margin-top: 2rem;
    
    letter-spacing: 8px;
}

.header-title {
    position: relative;
}

.header-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #ff0040;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s, transform 0.15s;
}

.header-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #00f7c2;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s, transform 0.15s;
}

.header-title {
    text-shadow:
        0 0 7px rgba(255, 185, 58, 0.45),
        0 0 15px rgba(255, 185, 58, 0.22),
        0 0 30px rgba(255, 185, 58, 0.12),
        0 0 50px rgba(255, 185, 58, 0.06);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 3px,
        rgba(0, 0, 0, 0.06) 3px,
        rgba(0, 0, 0, 0.06) 4px
    );
    pointer-events: none;
    z-index: 1;
}

header::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
    width: 130%;
    height: 78%;
    background:
        radial-gradient(ellipse 40% 100% at 50% 100%, rgba(255, 90, 54, 0.22) 0%, transparent 58%),
        radial-gradient(ellipse 72% 100% at 50% 100%, rgba(0, 247, 194, 0.30) 0%, rgba(0, 247, 194, 0.10) 34%, transparent 72%);
    mix-blend-mode: screen;
    z-index: 2;
    pointer-events: none;
}

.header-title.glitch {
    animation: crt-glitch-main 0.5s steps(2, end);
}

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

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

header:has(.header-title.glitch-scanlines)::before {
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.2) 2px,
        rgba(0, 0, 0, 0.2) 4px
    );
    animation: scanline-scroll 0.08s linear infinite;
}

@keyframes crt-glitch-main {
    0% {
        text-shadow:
            0 0 7px rgba(0, 247, 194, 0.4),
            0 0 15px rgba(0, 247, 194, 0.2);
        transform: none;
        filter: none;
    }
    5% {
        text-shadow:
            3px 0 var(--secondary),
            -3px 0 var(--neon),
            0 0 12px rgba(255, 255, 255, 0.6),
            0 0 30px rgba(0, 247, 194, 0.5);
        transform: translateX(3px) translateY(-1px);
        filter: brightness(1.3) contrast(1.2);
    }
    10% {
        text-shadow:
            -5px 0 var(--neon),
            5px 0 #ff0040,
            0 0 20px rgba(255, 0, 64, 0.4);
        transform: translateX(-6px) translateY(2px) skewX(2deg);
        filter: brightness(0.8) contrast(1.5);
    }
    15% {
        
        text-shadow:
            8px 0 #ff0040,
            -4px 0 var(--neon),
            0 0 25px rgba(255, 90, 54, 0.6);
        transform: translateX(10px) translateY(-1px);
        filter: brightness(1.4) saturate(1.5);
    }
    20% {
        
        text-shadow:
            -3px 0 var(--neon),
            3px 0 var(--secondary);
        transform: translateX(-4px) translateY(3px);
        filter: brightness(1.1);
    }
    28% {
        
        text-shadow:
            5px 0 #ff00ff,
            -5px 0 #00f7c2,
            0 0 35px rgba(255, 0, 255, 0.5),
            0 0 60px rgba(255, 0, 255, 0.2);
        transform: translateX(6px) translateY(-2px) skewX(-3deg);
        filter: brightness(1.5) saturate(1.8);
    }
    35% {
        
        text-shadow:
            -6px 0 var(--secondary),
            6px 0 #ff0040;
        transform: translateY(4px) translateX(-2px);
        filter: brightness(0.85) contrast(1.4);
    }
    42% {
        text-shadow:
            4px 0 #ff6ec7,
            -4px 0 var(--neon),
            0 0 20px rgba(255, 110, 199, 0.5);
        transform: translateX(8px) translateY(-3px) skewX(4deg);
        filter: brightness(1.3);
    }
    50% {
        
        text-shadow:
            -10px 0 #ff0040,
            10px 0 #00f7c2,
            0 0 40px rgba(255, 255, 255, 0.8);
        transform: translateX(-12px) translateY(1px);
        filter: brightness(1.6) contrast(1.8);
    }
    55% {
        
        text-shadow:
            6px 0 #ff00ff,
            -6px 0 var(--neon);
        transform: translateX(5px) translateY(-4px) skewX(-2deg);
        filter: brightness(1.2);
    }
    62% {
        text-shadow:
            -3px 0 var(--neon),
            3px 0 var(--secondary),
            0 0 15px rgba(0, 247, 194, 0.6);
        transform: translateX(-3px) translateY(2px);
        filter: brightness(0.9);
    }
    70% {
        text-shadow:
            2px 0 #ff6ec7,
            -2px 0 var(--neon),
            0 0 20px rgba(0, 247, 194, 0.4);
        transform: translateX(2px) translateY(-1px) skewX(1deg);
        filter: brightness(1.1);
    }
    80% {
        text-shadow:
            -1px 0 var(--neon),
            1px 0 var(--secondary),
            0 0 12px rgba(0, 247, 194, 0.3);
        transform: translateY(1px);
        filter: brightness(1.05);
    }
    90% {
        text-shadow:
            0 0 10px rgba(0, 247, 194, 0.5),
            0 0 20px rgba(0, 247, 194, 0.3);
        transform: none;
        filter: brightness(1.02);
    }
    100% {
        text-shadow:
            0 0 7px rgba(0, 247, 194, 0.4),
            0 0 15px rgba(0, 247, 194, 0.2),
            0 0 30px rgba(0, 247, 194, 0.1);
        transform: none;
        filter: none;
    }
}

@keyframes crt-glitch-red {
    0%, 100% {
        transform: none;
        opacity: 0;
    }
    8% {
        transform: translateX(-4px) translateY(1px);
        opacity: 0.7;
    }
    15% {
        transform: translateX(8px) translateY(-1px);
        opacity: 0.9;
    }
    25% {
        transform: translateX(-10px) translateY(2px) skewX(2deg);
        opacity: 0.6;
    }
    35% {
        transform: translateX(5px) translateY(-3px);
        opacity: 0.85;
    }
    45% {
        transform: translateX(-7px) translateY(1px);
        opacity: 0.7;
    }
    55% {
        transform: translateX(12px) skewX(-2deg);
        opacity: 0.9;
    }
    65% {
        transform: translateX(-4px) translateY(-1px);
        opacity: 0.6;
    }
    75% {
        transform: translateX(3px) translateY(2px);
        opacity: 0.4;
    }
    85% {
        transform: translateX(-1px);
        opacity: 0.2;
    }
}

@keyframes crt-glitch-cyan {
    0%, 100% {
        transform: none;
        opacity: 0;
    }
    8% {
        transform: translateX(4px) translateY(-1px);
        opacity: 0.7;
    }
    15% {
        transform: translateX(-8px) translateY(1px);
        opacity: 0.9;
    }
    25% {
        transform: translateX(10px) translateY(-2px) skewX(-2deg);
        opacity: 0.6;
    }
    35% {
        transform: translateX(-5px) translateY(3px);
        opacity: 0.85;
    }
    45% {
        transform: translateX(7px) translateY(-1px);
        opacity: 0.7;
    }
    55% {
        transform: translateX(-12px) skewX(2deg);
        opacity: 0.9;
    }
    65% {
        transform: translateX(4px) translateY(1px);
        opacity: 0.6;
    }
    75% {
        transform: translateX(-3px) translateY(-2px);
        opacity: 0.4;
    }
    85% {
        transform: translateX(1px);
        opacity: 0.2;
    }
}

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

.header-title.glitch-tear {
    animation: crt-horizontal-tear 0.35s steps(1, end);
}

@keyframes crt-horizontal-tear {
    0% { clip-path: inset(0 0 0 0); transform: none; }
    8% {
        clip-path: inset(5% -5% 88% 0);
        transform: translateX(15px);
        text-shadow: 5px 0 #ff00ff, -5px 0 var(--neon);
    }
    16% {
        clip-path: inset(25% 0 65% -5%);
        transform: translateX(-20px);
        text-shadow: -8px 0 #ff0040, 8px 0 #00f7c2;
    }
    24% {
        clip-path: inset(50% -5% 40% 0);
        transform: translateX(12px);
        text-shadow: 6px 0 #ff6ec7, -3px 0 var(--neon);
    }
    32% {
        clip-path: inset(75% 0 15% -5%);
        transform: translateX(-8px);
    }
    40% {
        clip-path: inset(0 0 0 0);
        transform: none;
    }
    100% {
        clip-path: inset(0 0 0 0);
        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 .mobile-break {
    display: none;
}

.header-subtitle .subtitle-line-2 {
    color: var(--light);
    text-shadow:
        0 0 10px rgba(255, 185, 58, 0.7),
        0 0 20px rgba(255, 185, 58, 0.45);
}

.header-subtitle .subtitle-line-2 .electric,
footer .electric {
    color: #fff4a3;
    text-shadow:
        0 0 4px #fff4a3,
        0 0 10px #ffdd33,
        0 0 20px rgba(255, 200, 0, 0.75),
        0 0 32px rgba(255, 170, 0, 0.5);
    animation: electric-flicker 2.6s infinite;
}

@keyframes electric-flicker {
    0%, 100% {
        text-shadow:
            0 0 4px #fff4a3,
            0 0 10px #ffdd33,
            0 0 20px rgba(255, 200, 0, 0.75),
            0 0 32px rgba(255, 170, 0, 0.5);
    }
    42% {
        text-shadow:
            0 0 3px #fff4a3,
            0 0 8px #ffdd33,
            0 0 16px rgba(255, 200, 0, 0.6);
    }
    44% {
        text-shadow:
            0 0 6px #fffbe0,
            0 0 14px #ffe955,
            0 0 26px rgba(255, 220, 50, 0.9),
            0 0 40px rgba(255, 180, 0, 0.6);
    }
    46% {
        text-shadow:
            0 0 4px #fff4a3,
            0 0 10px #ffdd33,
            0 0 20px rgba(255, 200, 0, 0.75);
    }
    80% {
        text-shadow:
            0 0 5px #fffbe0,
            0 0 12px #ffe955,
            0 0 22px rgba(255, 220, 50, 0.85),
            0 0 36px rgba(255, 180, 0, 0.55);
    }
}

@media (max-width: 767px) {
    .header-subtitle .mobile-break {
        display: block;
    }

    .header-subtitle .subtitle-line-2 {
        display: inline-block;
        margin-top: 0.4em;
    }
}

.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 {
    position: absolute;
    bottom: -20%;
    left: -100%;
    width: 300%;
    height: 300%;
    background-image:
        linear-gradient(rgba(255, 185, 58, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 185, 58, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    transform-origin: 50% 70%;
    transform: perspective(400px) rotateX(45deg);
    z-index: 1;
    opacity: 0.6;
    animation: gridMove 20s linear infinite;
}

.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;
    
    cursor: auto;
    transition: all 0.3s ease;
    padding-bottom: 10px;
}

.production-details {
    margin-top: 1.5rem;
    margin-left: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
}

.production-details p {
    font-family: 'Space Mono', 'Courier New', monospace;
    font-size: 0.82rem;
    line-height: 1.7;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.3rem;
}

.production-details p strong {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 1.2px;
    color: #dc143c;
    font-weight: 700;
}

section.production-header.alice .production-details p strong {
    color: #ff3366;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 38vw;
    max-width: 420px;
    height: 1.5px;
    background: linear-gradient(to right, transparent 0%, var(--light) 25%, var(--light) 75%, transparent 100%);
    box-shadow:
        0 0 6px rgba(248, 233, 210, 0.6),
        0 0 14px rgba(0, 247, 194, 0.55),
        0 0 28px rgba(0, 247, 194, 0.35),
        0 0 48px rgba(0, 247, 194, 0.2);
    transition: box-shadow 0.3s ease, width 0.3s ease, filter 0.3s ease;
    pointer-events: none;
}

.section-title:hover::after {
    width: 46vw;
    filter: blur(0.5px);
    box-shadow: 0 0 12px rgba(248, 233, 210, 0.3), 0 0 20px rgba(0, 247, 194, 0.15);
}

.tv-card-tabs {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.85rem 0 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.tv-card.stuck .tv-card-tabs {
    margin: 0 -2.6rem;
    padding: 0.55rem 2.6rem;
    background:
        linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
        linear-gradient(
            to right,
            #c0c0c0 0 14.285%,
            #c0c000 14.285% 28.571%,
            #00c0c0 28.571% 42.857%,
            #00c000 42.857% 57.142%,
            #c000c0 57.142% 71.428%,
            #c00000 71.428% 85.714%,
            #0000c0 85.714% 100%
        );
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

.tv-card-tab {
    font-family: 'Space Mono', 'Courier New', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 210, 140, 0.62);
    background: rgba(20, 10, 4, 0.5);
    border: 1px solid rgba(255, 200, 120, 0.25);
    border-radius: 3px;
    padding: 0.4rem 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, text-shadow 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: baseline;
    gap: 0.45em;
}

.tv-card-tab::before {
    content: attr(data-tab);
    opacity: 0.6;
    color: rgba(255, 200, 120, 0.9);
}

.tv-card-tab::after {
    content: '//';
    opacity: 0.4;
    margin: 0 -0.15em 0 -0.3em;
}

.tv-card-tab:hover:not(.active) {
    color: rgba(255, 225, 165, 0.95);
    background: rgba(30, 18, 8, 0.72);
    border-color: rgba(255, 200, 120, 0.45);
}

.tv-card-tab.active {
    color: #fff4d0;
    background: linear-gradient(180deg, rgba(255, 180, 60, 0.28) 0%, rgba(200, 110, 30, 0.38) 100%);
    border-color: rgba(255, 214, 128, 0.85);
    box-shadow:
        0 0 10px rgba(255, 180, 60, 0.55),
        inset 0 0 16px rgba(255, 180, 60, 0.28);
    text-shadow: 0 0 6px rgba(255, 200, 80, 0.85);
}

.tv-card-tab.active::before {
    opacity: 1;
    color: #ffd066;
    text-shadow: 0 0 6px rgba(255, 180, 60, 0.8);
}

@media (max-width: 600px) {
    .tv-card-tabs {
        gap: 0.3rem;
        margin: 0.7rem 0 0;
    }
    .tv-card.stuck .tv-card-tabs {
        margin: 0 -1.1rem;
        padding: 0.45rem 1.1rem;
    }
    .tv-card-tab {
        flex: 1 1 40%;
        justify-content: center;
        font-size: 0.58rem;
        letter-spacing: 0.08em;
        padding: 0.35rem 0.5rem;
    }
}

.faq-panel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1.5rem;
}

.faq-section .container {
    position: relative;
    background-color: var(--accent);
    background-image:
        radial-gradient(circle at 10% 30%, rgba(255, 90, 54, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(0, 247, 194, 0.2) 0%, transparent 40%),
        linear-gradient(rgba(0, 247, 194, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 247, 194, 0.1) 1px, transparent 1px);
    background-size: auto auto, auto auto, 30px 30px, 30px 30px;
}

.crt-screen {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
}

.crt-scanlines,
.crt-vignette,
.crt-flicker-pattern,
.crt-flicker-static {
    position: absolute;
    inset: 0;
}

.crt-scanlines {
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0,
        rgba(0, 0, 0, 0) 2px,
        rgba(0, 0, 0, 0.22) 2px,
        rgba(0, 0, 0, 0.22) 3px
    );
    mix-blend-mode: multiply;
    opacity: 0.75;
    z-index: 1;
}

.crt-vignette {
    background: radial-gradient(
        ellipse 85% 70% at 50% 50%,
        rgba(0, 0, 0, 0) 45%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

.crt-flicker-pattern {
    background: linear-gradient(
        to right,
        #c0c0c0 0 14.285%,
        #c0c000 14.285% 28.571%,
        #00c0c0 28.571% 42.857%,
        #00c000 42.857% 57.142%,
        #c000c0 57.142% 71.428%,
        #c00000 71.428% 85.714%,
        #0000c0 85.714% 100%
    );
    opacity: 0;
    animation: tv-card-fit-pattern 22s steps(1, end) infinite;
    z-index: 3;
}

.crt-flicker-static {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 220px;
    opacity: 0;
    mix-blend-mode: screen;
    animation: tv-card-fit-static 22s steps(1, end) infinite;
    z-index: 4;
}

@media (prefers-reduced-motion: reduce) {
    .crt-flicker-pattern,
    .crt-flicker-static {
        animation: none;
    }
}

.faq-category {
    width: 100%;
    display: none;
}

.faq-category.faq-category-active {
    display: block;
    animation: faqCategoryFade 0.35s ease;
}

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

.faq-section {
    color: var(--primary);
    position: relative;
    z-index: 2;
    overflow: visible; 
    background:
        linear-gradient(140deg, rgba(255, 168, 30, 0.22) 0%, rgba(247, 120, 30, 0.3) 100%),
        var(--light);
    padding: 0;
    min-height: unset;
    display: block;
    box-shadow:
        inset 0 4px 3px -1px rgba(0, 0, 0, 0.85),
        inset 0 -4px 3px -1px rgba(0, 0, 0, 0.85);
}

.faq-dots-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.faq-dots-bg::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><circle cx="7" cy="7" r="4" fill="%23000" opacity="0.09"/></svg>');
    transform: rotate(30deg);
}

.faq-section .container {
    max-width: none;
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.faq-grid {
    columns: 2;
    column-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(255, 185, 58, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-origin: center center;
    height: fit-content;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    will-change: transform, height;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    break-inside: avoid;
    margin-bottom: 2rem;
}

.faq-card::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background-image: radial-gradient(circle, rgba(247, 110, 17, 0.06) 2.5px, transparent 2.5px);
    background-size: 8px 8px;
    transform: rotate(-13deg);
    pointer-events: none;
    z-index: 0;
}

.faq-card > * {
    position: relative;
    z-index: 1;
}

.faq-card.active {
    animation: faqCardOpen 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.faq-card.closing {
    animation: faqCardClose 0.4s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

.faq-answer-wrapper {
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease 0.08s;
    transform-origin: top;
    display: flex;
    flex-direction: column;
    will-change: height, opacity;
}

.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;
}

.faq-answer a {
    position: relative;
    color: #0c8f6e;
    font-weight: 700;
    text-decoration: none;
    text-shadow:
        0 0 4px rgba(13, 158, 117, 0.4),
        0 0 10px rgba(0, 247, 194, 0.2),
        0 0 20px rgba(0, 247, 194, 0.08);
    transition: color 0.18s ease, text-shadow 0.18s ease;
}

.faq-answer a::before,
.faq-answer a::after {
    display: inline-block;
    font-family: 'Space Mono', 'Courier New', monospace;
    font-weight: 700;
    color: #0fae84;
    text-shadow:
        0 0 4px rgba(13, 158, 117, 0.65),
        0 0 10px rgba(0, 247, 194, 0.35),
        0 0 18px rgba(0, 247, 194, 0.18);
    pointer-events: none;
    transition: color 0.2s ease, text-shadow 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-answer a::before {
    content: '[';
    margin-right: 0.18em;
}

.faq-answer a::after {
    content: ']';
    margin-left: 0.18em;
}

.faq-answer a:hover,
.faq-answer a:focus-visible {
    color: #10b585;
}

.faq-answer a:hover::before,
.faq-answer a:focus-visible::before,
.faq-answer a:hover::after,
.faq-answer a:focus-visible::after {
    color: #2fe0b0;
    animation: faq-bracket-pulse 1.3s ease-in-out infinite;
}

.faq-answer a:hover::before,
.faq-answer a:focus-visible::before {
    transform: translateX(-0.12em);
}

.faq-answer a:hover::after,
.faq-answer a:focus-visible::after {
    transform: translateX(0.12em);
}

@keyframes faq-bracket-pulse {
    0%, 100% {
        text-shadow:
            0 0 4px rgba(0, 247, 194, 0.5),
            0 0 9px rgba(0, 247, 194, 0.32),
            0 0 16px rgba(13, 158, 117, 0.2);
    }
    50% {
        text-shadow:
            0 0 6px rgba(0, 247, 194, 0.95),
            0 0 14px rgba(0, 247, 194, 0.7),
            0 0 26px rgba(0, 247, 194, 0.48),
            0 0 38px rgba(13, 158, 117, 0.3);
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-answer a:hover::before,
    .faq-answer a:focus-visible::before,
    .faq-answer a:hover::after,
    .faq-answer a:focus-visible::after {
        animation: none;
    }
}

.faq-answer a:focus-visible {
    outline: 1px dashed rgba(0, 247, 194, 0.8);
    outline-offset: 3px;
}

.toggle-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 1.3rem;
    transition: transform 0.5s cubic-bezier(0.34, 1.8, 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;
}

footer {
    padding: 5rem 0;
    color: var(--light);
    text-align: center;
    position: relative;
    z-index: 11;
    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);
    
}

footer::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -2px;
    transform: translateX(-50%);
    width: 130%;
    height: 78%;
    background:
        radial-gradient(ellipse 40% 100% at 50% 0%, rgba(255, 90, 54, 0.22) 0%, transparent 58%),
        radial-gradient(ellipse 72% 100% at 50% 0%, rgba(0, 247, 194, 0.30) 0%, rgba(0, 247, 194, 0.10) 34%, transparent 72%);
    mix-blend-mode: screen;
    z-index: 1;
    pointer-events: none;
}

footer::after {
    display: none;
}

body:has(> main > .production-header) footer::after {
    background: #0a0a1a;
}

body:has(> main > .production-header) footer .footer-bg {
    clip-path: none;
}

.footer-grid-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 300%;
    background-image:
        linear-gradient(rgba(255, 185, 58, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 185, 58, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    transform-origin: 50% 50%;
    transform: perspective(400px) rotateX(-45deg);
    z-index: 1;
    opacity: 0.6;
    animation: footerGridMove 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 10px rgba(255, 185, 58, 0.7), 0 0 20px rgba(255, 185, 58, 0.45);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.copyright-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.95em;
    height: 0.95em;
    margin-right: -0.1em;
    color: #ffb93a;
    vertical-align: -0.1em;
    filter: drop-shadow(0 0 6px rgba(255, 185, 58, 0.85)) drop-shadow(0 0 12px rgba(255, 185, 58, 0.4));
    transition: transform 0.4s ease, filter 0.3s ease;
}

.copyright-mark svg {
    width: 100%;
    height: 100%;
    display: block;
}

.copyright-mark:hover {
    transform: rotate(360deg);
    filter: drop-shadow(0 0 10px rgba(255, 185, 58, 1)) drop-shadow(0 0 20px rgba(255, 185, 58, 0.55));
}

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

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

@keyframes footerGridMove {
    0% { transform: perspective(400px) rotateX(-45deg) translateY(0); }
    100% { transform: perspective(400px) rotateX(-45deg) translateY(-40px); }
}

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

@keyframes faqCardOpen {
    0%   { transform: scaleX(1) scaleY(1); }
    12%  { transform: scaleX(1.06) scaleY(0.88); }  
    28%  { transform: scaleX(0.92) scaleY(1.12); }  
    42%  { transform: scaleX(1.04) scaleY(0.95); }  
    56%  { transform: scaleX(0.98) scaleY(1.04); }  
    72%  { transform: scaleX(1.015) scaleY(0.985); } 
    100% { transform: scaleX(1) scaleY(1); }
}

@keyframes faqCardClose {
    0%   { transform: scaleX(1) scaleY(1); }
    18%  { transform: scaleX(0.94) scaleY(1.08); }  
    40%  { transform: scaleX(1.08) scaleY(0.86); }  
    60%  { transform: scaleX(0.97) scaleY(1.03); }  
    78%  { transform: scaleX(1.01) scaleY(0.99); }  
    100% { transform: scaleX(1) scaleY(1); }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    header {
        min-height: 220px;
    }

    .header-title {
        font-size: 3.8rem;
        letter-spacing: 6px;
    }

    .header-subtitle {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
    }

    .showcase-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .showcase-item {
        min-width: 0;
    }

    .showcase-caption {
        padding: 0.9rem 0.8rem 0.8rem;
    }

    .showcase-caption p {
        font-size: 0.75rem;
    }

    .showcase-caption h3 {
        font-size: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .header-title {
        font-size: 3.5rem;
        letter-spacing: 5px;
    }
    
    .dimensional-showcase > .container {
        margin-top: 0.6rem;
        padding-top: 1.2rem;
        padding-bottom: 2.8rem;
    }
    
    
    .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;
    }
    
    
    section.production-header.spotlight-production {
        min-height: 480px;
        padding-top: 1rem;
    }
    
    section.production-header.spotlight-production .content {
        padding: 2rem 2rem 1.5rem 2rem;
    }
    
    
    .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;
    }
    
    
    .about-content .social-links {
        order: 10;
        margin-top: auto;
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .header-content {
        margin-bottom: 0;
    }

    .header-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .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;
        padding-top: 0.4rem;
    }
    
    .showcase-item {
        margin: 0 1rem;
        transform: none;
        border-left: 3px solid var(--showcase-accent);
    }

    .showcase-caption {
        padding: 0.95rem 0.9rem 0.9rem;
    }

    .showcase-caption h3,
    .showcase-item-featured .showcase-caption h3 {
        font-size: 1.25rem;
    }

    .faq-grid {
        columns: 1;
        column-gap: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .header-title {
        
        font-size: 2.6rem;
        line-height: 1.1;
    }
    
    .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;
    }

    .showcase-media {
        margin: 0.55rem 0.55rem 0;
    }

    .showcase-caption {
        padding: 0.85rem 0.75rem 0.8rem;
    }

    .showcase-caption h3,
    .showcase-item-featured .showcase-caption h3 {
        font-size: 1.1rem;
        padding-right: 3.5rem;
    }

    .showcase-caption p {
        font-size: 0.76rem;
    }
    
    footer p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

html {
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.2s !important;
        scroll-behavior: auto !important;
    }
}

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

.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;
}

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

.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 {
    text-align: center;
    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%),
               linear-gradient(to bottom, black 85%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%),
                        linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-composite: source-in;
}

.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.25rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.production-header .production-details p {
    font-size: 0.82rem;
    font-weight: 400;
    max-width: none;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

section.production-header.alice {
    background: #1a0933;  
}

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%),  
        radial-gradient(circle at 80% 50%, rgba(64, 0, 128, 0.4) 0%, transparent 50%),   
        radial-gradient(circle at 50% 20%, rgba(0, 150, 255, 0.2) 0%, transparent 40%);  
    z-index: 0;
}

section.production-header.alice h1 {
    font-family: 'Space Mono', monospace;
    color: #ff3366;  
    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);  
}

@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;
    }

    .production-details {
        text-align: left;
    }

    .production-details p {
        text-align: left;
    }
}

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

.production-section-title {
    font-family: 'Exo', 'Orbitron', 'Arial Black', Arial, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.4rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
    margin: 0 0 1.5rem;
    position: relative;
    z-index: 1;
}

.gallery-container {
    padding: 1.5rem 0 5rem;
    background: #0a0a1a;
    position: relative;
    overflow: hidden;
}

.gallery-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    right: 0;
    bottom: -50%;
    height: 200%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: rotateX(45deg) scale(2);
    transform-origin: center center;
    pointer-events: none;
    z-index: 0;
}

.gallery-jb {
    background: linear-gradient(180deg, #000033 0%, #0a0a1a 30%, #0a0a1a 70%, #1a1a1a 100%);
}

.gallery-jb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(220, 20, 60, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 0, 139, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.gallery-alice {
    background: linear-gradient(180deg, #1a0933 0%, #0a0a1a 30%, #0a0a1a 70%, #1a1a1a 100%);
}

.gallery-alice::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(147, 64, 191, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(255, 51, 102, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.insta-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.insta-grid .insta-video:nth-child(-n+2) {
    flex: 0 1 calc(50% - 0.5rem);
}

.insta-grid .insta-video:nth-child(3) {
    flex: 0 1 66%;
}

.insta-video {
    min-width: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(147, 64, 191, 0.2);
}

.insta-video video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .insta-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        max-width: 100%;
    }
}

.stage-model img {
    height: auto;
}

@media (max-width: 1024px) {
    .gpts-section .container > div {
        grid-template-columns: 1fr !important;
    }

    .video-container {
        margin-bottom: 2rem !important;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .stage-model {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .video-description {
        padding: 1rem 0 !important;
    }
}

@media (max-width: 767px) {
    .video-description {
        padding: 0 !important;
    }
}

.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;
}

.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;  
    border: 2px solid #bbb;  
    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;  
    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;
    }
}

.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-link-crt 0.28s steps(1, end);
}

.header-title:hover {
    color: #ffe5b5;
    animation: crt-hover-warmup 0.35s ease-out forwards;
    text-shadow:
        0 0 10px rgba(255, 200, 80, 0.7),
        0 0 25px rgba(255, 160, 50, 0.5),
        0 0 50px rgba(255, 120, 30, 0.28),
        0 0 80px rgba(255, 90, 30, 0.14);
    transition: color 0.35s ease-out;
}

.header-title:hover::before {
    opacity: 0.35;
    transform: translateX(-2px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.header-title:hover::after {
    opacity: 0.35;
    transform: translateX(2px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.header-title:not(:hover) {
    transition: text-shadow 0.6s ease-out;
}

.header-title:not(:hover)::before,
.header-title:not(:hover)::after {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

@keyframes crt-hover-warmup {
    0% {
        text-shadow:
            0 0 7px rgba(255, 185, 58, 0.4),
            0 0 15px rgba(255, 185, 58, 0.2);
        filter: brightness(1);
    }
    8% {
        text-shadow:
            4px 0 #ff00ff,
            -4px 0 #ffb93a,
            0 0 20px rgba(255, 0, 255, 0.4);
        filter: brightness(1.4);
    }
    16% {
        text-shadow:
            -3px 0 #ffb93a,
            3px 0 var(--secondary),
            0 0 15px rgba(255, 185, 58, 0.5);
        filter: brightness(0.85);
    }
    24% {
        text-shadow:
            2px 0 #ff6ec7,
            -2px 0 #ffb93a,
            0 0 30px rgba(255, 110, 199, 0.3),
            0 0 50px rgba(255, 185, 58, 0.2);
        filter: brightness(1.3);
    }
    35% {
        text-shadow:
            -1px 0 #ffb93a,
            1px 0 var(--secondary),
            0 0 20px rgba(255, 185, 58, 0.4);
        filter: brightness(1.1);
    }
    50% {
        filter: brightness(0.95);
    }
    100% {
        text-shadow:
            0 0 10px rgba(255, 200, 80, 0.7),
            0 0 25px rgba(255, 160, 50, 0.5),
            0 0 50px rgba(255, 120, 30, 0.28),
            0 0 80px rgba(255, 90, 30, 0.14);
        filter: brightness(1);
    }
}

@keyframes glitch-link-crt {
    0% {
        text-shadow: 0 0 8px #ffb93a, 0 0 16px #ffb93a;
        transform: none;
    }
    15% {
        text-shadow: 2px 0 #ffb93a, -2px 0 var(--secondary), 0 0 8px #ffb93a;
        transform: skewX(3deg) translateX(1px);
    }
    30% {
        text-shadow: -2px 0 #ff00ff, 2px 0 #ffb93a, 0 0 12px rgba(255, 0, 255, 0.4);
        transform: skewX(-4deg) translateX(-2px);
    }
    50% {
        text-shadow: 3px 0 #ffb93a, -3px 0 var(--secondary), 0 0 16px #ffb93a;
        transform: translateX(2px) translateY(-1px);
    }
    70% {
        text-shadow: -2px 0 #ff6ec7, 2px 0 #ffb93a;
        transform: skewX(2deg) translateX(-1px);
    }
    85% {
        text-shadow: 1px 0 #ffb93a, -1px 0 var(--secondary);
        transform: translateX(1px);
    }
    100% {
        text-shadow: 0 0 8px #ffb93a, 0 0 16px #ffb93a;
        transform: none;
    }
}

.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 {
    margin-bottom: 0;
    padding-bottom: 0.5rem;
    color: var(--primary);
}

.faq-section .section-title::after {
    display: none;
}

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

.tv-card {
    position: sticky;
    top: 52px;
    z-index: 90;
    display: block;
    width: 100%;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
    transition: top 0.3s ease;
}

.tv-card-marquee {
    max-height: 300px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.3s ease;
}

.tv-card.stuck .tv-card-marquee {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
}

.tv-card.stuck .tv-card-screen {
    padding-top: 0;
    padding-bottom: 0;
    transition: padding 0.3s ease;
}

.tv-card-screen {
    transition: padding 0.3s ease;
}

.tv-card-bars {
    display: flex;
    width: 100%;
    height: 10px;
    position: relative;
    z-index: 1;
}

.tv-card-bars span { flex: 1; }

.tv-card-bars span:nth-child(1) { background: #c0c0c0; }

.tv-card-bars span:nth-child(2) { background: #c0c000; }

.tv-card-bars span:nth-child(3) { background: #00c0c0; }

.tv-card-bars span:nth-child(4) { background: #00c000; }

.tv-card-bars span:nth-child(5) { background: #c000c0; }

.tv-card-bars span:nth-child(6) { background: #c00000; }

.tv-card-bars span:nth-child(7) { background: #0000c0; }

.tv-card.stuck .tv-card-bars::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.tv-card-screen {
    position: relative;
    z-index: 1;
    padding: 1.35rem 2.6rem 1.1rem;
    text-align: center;
}

@keyframes tv-card-fit-pattern {
    0%, 93.5% { opacity: 0; }
    94%, 94.7% { opacity: 0.88; }
    95%, 95.4% { opacity: 0; }
    95.8%, 96.3% { opacity: 0.6; }
    96.7% { opacity: 0; }
    97.4%, 97.8% { opacity: 0.92; }
    98.1%, 100% { opacity: 0; }
}

@keyframes tv-card-fit-static {
    0%, 93% { opacity: 0; }
    93.5%, 94% { opacity: 0.55; background-position: 0 0; }
    94.3% { opacity: 0; }
    94.7%, 95.1% { opacity: 0.4; background-position: 40px 80px; }
    95.5% { opacity: 0; }
    97.2%, 97.6% { opacity: 0.5; background-position: 100px 20px; }
    97.9% { opacity: 0; }
    98%, 100% { opacity: 0; }
}

.faq-section .section-title.tv-card-title {
    color: #ffe0b3;
    margin: 0;
    padding: 0;
    font-size: 3rem;
    letter-spacing: 3px;
    text-shadow:
        0 0 10px rgba(255, 190, 80, 0.85),
        0 0 26px rgba(255, 160, 50, 0.6),
        0 0 48px rgba(255, 130, 30, 0.4);
    animation: tv-card-title-fit 22s steps(1, end) infinite;
}

@keyframes tv-card-title-fit {
    0%, 93.9% { transform: translate(0, 0); filter: none; }
    94%, 94.6% { transform: translate(2px, -3px); filter: blur(0.4px); }
    94.8% { transform: translate(-1px, 2px); filter: none; }
    95.9%, 96.2% { transform: translate(3px, 1px); filter: hue-rotate(-15deg); }
    96.5% { transform: translate(0, 0); filter: none; }
    97.5%, 97.8% { transform: translate(-2px, -2px); filter: blur(0.3px); }
    98%, 100% { transform: translate(0, 0); filter: none; }
}

.faq-section .section-title.tv-card-title:hover {
    transform: none;
    animation: tv-card-glitch 0.34s steps(1, end);
}

@keyframes tv-card-glitch {
    0% { transform: translateX(0); }
    20% {
        transform: translateX(-2px);
        text-shadow:
            2px 0 #ff3a1e,
            -2px 0 #00c0c0,
            0 0 14px rgba(255, 210, 100, 1);
    }
    45% {
        transform: translateX(1px);
        text-shadow:
            -1px 0 #ff3a1e,
            1px 0 #00c0c0,
            0 0 12px rgba(255, 190, 80, 0.9);
    }
    70% {
        transform: translateX(0);
        text-shadow:
            0 0 16px rgba(255, 220, 120, 1),
            0 0 32px rgba(255, 170, 50, 0.8);
    }
    100% { transform: translateX(0); }
}

@media (max-width: 600px) {
    .tv-card { margin: 0; }
    .tv-card-screen { padding: 1rem 1.1rem 0.85rem; }
    .faq-section .section-title.tv-card-title {
        font-size: 1.75rem;
        letter-spacing: 2px;
    }
    .tv-card-bars { height: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .faq-section .section-title.tv-card-title,
    .faq-section .section-title.tv-card-title:hover {
        animation: none;
    }
}

.site-nav {
    --nav-accent: #ffb93a;
    --nav-accent-glow: rgba(255, 185, 58, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 8, 40, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 185, 58, 0.3);
    box-shadow:
        0 0 20px rgba(255, 185, 58, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.6),
        0 8px 12px -6px rgba(0, 0, 0, 0.45);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-nav.nav-hidden {
    transform: translateY(calc(-100% - 18px));
}

.site-nav.nav-scrolled {
    border-bottom-color: rgba(255, 185, 58, 0.5);
    box-shadow:
        0 0 30px rgba(255, 185, 58, 0.18),
        0 4px 6px -2px rgba(0, 0, 0, 0.65),
        0 8px 12px -6px rgba(0, 0, 0, 0.5);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffb93a;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-shadow: 0 0 8px rgba(255, 185, 58, 0.6);
    flex-shrink: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, text-shadow 0.2s ease;
}

.nav-logo.visible {
    opacity: 1;
    pointer-events: auto;
}

.nav-logo:hover {
    text-shadow: 0 0 16px rgba(255, 185, 58, 0.7), 0 0 30px rgba(255, 185, 58, 0.5);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.nav-link {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(248, 233, 210, 0.7);
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: 2px;
    transition: color 0.2s ease, text-shadow 0.2s ease, background 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 1px;
    background: var(--nav-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--nav-accent);
    text-shadow: 0 0 8px var(--nav-accent-glow);
}

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

.nav-explore-wrap {
    position: relative;
}

.nav-explore-btn {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary);
    background: none;
    border: 1px solid rgba(255, 90, 54, 0.4);
    padding: 0.35rem 0.75rem;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.nav-explore-btn:hover,
.nav-explore-btn[aria-expanded="true"] {
    color: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(255, 90, 54, 0.3);
}

.nav-explore-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
    font-size: 0.65rem;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    min-width: 220px;
    background: rgba(10, 8, 40, 0.97);
    border: 1px solid rgba(255, 185, 58, 0.25);
    border-radius: 3px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 185, 58, 0.1);
    padding: 0.4rem 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: rgba(248, 233, 210, 0.75);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
    border-left: 2px solid transparent;
}

.nav-dropdown-item:hover {
    color: var(--nav-accent);
    background: rgba(255, 185, 58, 0.06);
    border-left-color: var(--nav-accent);
}

.nav-tag {
    font-size: 0.6rem;
    color: rgba(255, 185, 58, 0.55);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--nav-accent);
    box-shadow: 0 0 4px var(--nav-accent-glow);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

body {
    padding-top: 52px;
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 52px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(10, 8, 40, 0.98);
        border-bottom: 1px solid rgba(255, 185, 58, 0.3);
        padding: 0.5rem 0 1rem;
        margin-left: 0;
    }

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

    .nav-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
        border-radius: 0;
    }

    .nav-link::after {
        display: none;
    }

    .nav-explore-wrap {
        width: 100%;
    }

    .nav-explore-btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
        border: none;
        border-radius: 0;
        border-top: 1px solid rgba(0, 247, 194, 0.1);
        justify-content: space-between;
    }

    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: rgba(0, 247, 194, 0.04);
        display: none;
        padding: 0;
    }

    .nav-dropdown.open {
        display: block;
        transform: none;
    }

    .nav-dropdown-item {
        padding: 0.65rem 2rem;
        border-left: none;
        border-top: 1px solid rgba(0, 247, 194, 0.06);
    }

    .nav-dropdown-item:hover {
        border-left: none;
    }
}

.article-reader-body > .captioned-image-container:first-child,
.article-reader-body > *:first-child {
    margin-top: 0;
}

.before-times-page {
    --bt-desktop: #9292ad;
    --bt-window: #c9c9c9;
    --bt-window-light: #efefef;
    --bt-window-dark: #6a6a6a;
    --bt-ink: #050505;
    --bt-muted: #5d5d5d;
    --bt-accent: #8f2b7e;
    --bt-green: #78a617;
    background: var(--bt-desktop);
    color: var(--bt-ink);
    font-family: "Space Mono", "Courier New", monospace;
}

.before-times-page::after {
    opacity: 0.16;
    mix-blend-mode: multiply;
}

.before-times-page a {
    color: inherit;
}

.before-times-desktop {
    position: relative;
    z-index: 2;
    height: auto;
    min-height: calc(100vh - 52px);
    padding: 1rem 5.75rem 3rem 6.4rem;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0,0,0,0.05) 1px, transparent 1px),
        var(--bt-desktop);
    background-size: 64px 64px, 64px 64px, auto;
    overflow: hidden;
}

.before-times-desktop::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.18), transparent 28%),
        repeating-linear-gradient(0deg, rgba(0,0,0,0.06) 0 1px, transparent 1px 3px);
    opacity: 0.5;
}

.bt-menu-panel,
.bt-shelf,
.bt-window {
    position: relative;
    z-index: 1;
}

.bt-menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 94px;
    background: var(--bt-window);
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #767676;
    font-size: 0.68rem;
}

.bt-menu-title {
    padding: 0.12rem 0.35rem;
    color: #fff;
    background: #000;
    font-weight: 700;
}

.bt-menu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 20px;
    padding: 0.08rem 0.24rem 0.1rem 0.34rem;
    color: #000;
    text-decoration: none;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #8b8b8b;
}

.bt-menu-row span {
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid #000;
}

.bt-menu-row:hover,
.bt-menu-row:focus-visible {
    color: #fff;
    background: #000;
    outline: none;
}

.bt-menu-row:hover span,
.bt-menu-row:focus-visible span {
    border-left-color: #fff;
}

.bt-shelf {
    position: absolute;
    top: 0.7rem;
    right: 0.85rem;
    width: 58px;
    display: grid;
    gap: 0.9rem;
}

.bt-shelf-tile {
    width: 50px;
    min-height: 50px;
    display: grid;
    place-items: center;
    color: #000;
    text-decoration: none;
    background: #d7d7d7;
    border: 1px solid #000;
    box-shadow: inset 1px 1px 0 #fff, inset -2px -2px 0 #737373, 2px 2px 0 rgba(0,0,0,0.22);
    font-size: 0.55rem;
    font-weight: 700;
}

.bt-shelf-tile:hover,
.bt-shelf-tile:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.bt-shelf-cube {
    color: #fff;
    background:
        linear-gradient(135deg, transparent 0 24%, #111 24% 76%, transparent 76%),
        linear-gradient(45deg, #111 0 42%, #8f2b7e 42% 58%, #111 58% 100%);
    transform: rotate(-12deg);
}

.bt-shelf-cube span {
    transform: rotate(12deg);
}

.bt-shelf-lines,
.bt-shelf-grid,
.bt-shelf-bars {
    width: 30px;
    height: 26px;
    display: block;
    border: 1px solid #000;
    background: #f5f5f5;
}

.bt-shelf-lines {
    background:
        repeating-linear-gradient(0deg, #111 0 1px, transparent 1px 5px),
        #f5f5f5;
}

.bt-shelf-grid {
    background:
        linear-gradient(90deg, #111 1px, transparent 1px),
        linear-gradient(0deg, #111 1px, transparent 1px),
        #d6efc2;
    background-size: 8px 8px;
}

.bt-shelf-bars {
    background:
        linear-gradient(90deg, #8f2b7e 0 20%, transparent 20% 30%, #78a617 30% 52%, transparent 52% 62%, #222 62% 84%, transparent 84%),
        #f5f5f5;
}

.bt-window {
    background: var(--bt-window);
    border: 1px solid #000;
    box-shadow:
        inset 1px 1px 0 #fff,
        inset -2px -2px 0 #777,
        3px 3px 0 rgba(0,0,0,0.22);
}

.bt-titlebar {
    min-height: 23px;
    display: grid;
    grid-template-columns: 26px 1fr 26px;
    align-items: center;
    background: #d9d9d9;
    border-bottom: 1px solid #000;
    box-shadow: inset 1px 1px 0 #fff;
}

.bt-titlebar-dark {
    color: #fff;
    background: #000;
    box-shadow: none;
}

.bt-titlebar-text {
    text-align: center;
    font-size: 0.73rem;
    line-height: 1;
    font-weight: 700;
}

.bt-window-button {
    width: 12px;
    height: 12px;
    margin-left: 6px;
    display: block;
    border: 1px solid #000;
    background: #bfbfbf;
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #777;
}

.bt-titlebar-dark .bt-window-button {
    border-color: #fff;
    background: #000;
    box-shadow: inset 1px 1px 0 #777;
}

.bt-resize-mark {
    justify-self: end;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    background:
        linear-gradient(135deg, transparent 0 48%, #000 48% 52%, transparent 52%),
        linear-gradient(135deg, transparent 0 64%, #000 64% 68%, transparent 68%);
    opacity: 0.75;
}

.bt-titlebar-dark .bt-resize-mark {
    filter: invert(1);
}

.bt-console-window {
    width: min(660px, calc(100vw - 12.5rem));
    min-height: 156px;
}

.bt-console-body {
    min-height: 132px;
    padding: 0.55rem 1.1rem 0.8rem;
    background: #f7f7f7;
    font-family: "Space Mono", "Courier New", monospace;
    font-size: 0.74rem;
    line-height: 1.2;
}

.bt-console-body p {
    margin: 0 0 0.24rem;
}

.bt-console-body h1 {
    margin: 0.8rem 0 0;
    font-family: "IBM Plex Sans Condensed", "Exo", sans-serif;
    font-size: clamp(3.3rem, 9vw, 7.4rem);
    line-height: 0.82;
    letter-spacing: 0;
    text-transform: uppercase;
}

.bt-devices-window {
    width: min(410px, calc(100vw - 13rem));
    margin-top: 1.1rem;
    margin-left: -1.25rem;
}

.bt-device-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-bottom: 1px solid #000;
}

.bt-device-tabs span {
    min-height: 46px;
    display: grid;
    place-items: end center;
    padding-bottom: 0.25rem;
    font-size: 0.62rem;
    border-right: 1px solid #000;
    background:
        linear-gradient(180deg, transparent 0 18px, rgba(255,255,255,0.4) 18px 19px, transparent 19px),
        #d0d0d0;
}

.bt-device-tabs span:last-child {
    border-right: 0;
}

.bt-devices-body {
    padding: 0.8rem 1rem 1rem;
    font-size: 0.72rem;
    line-height: 1.45;
}

.bt-devices-body p {
    margin: 0 0 0.55rem;
}

.bt-file-window {
    width: min(720px, calc(100vw - 14rem));
    margin-top: -5rem;
    margin-left: min(16vw, 188px);
}

.bt-file-top {
    display: grid;
    grid-template-columns: repeat(4, minmax(86px, 1fr));
    gap: 0.75rem;
    padding: 1rem 1rem 0.65rem;
    border-bottom: 1px solid #8d8d8d;
}

.bt-file-icon {
    min-height: 84px;
    display: grid;
    justify-items: center;
    align-content: end;
    gap: 0.35rem;
    color: #000;
    text-align: center;
    text-decoration: none;
    font-size: 0.72rem;
}

.bt-file-icon:hover,
.bt-file-icon:focus-visible {
    color: #fff;
    background: #000;
    outline: none;
}

.bt-icon {
    position: relative;
    width: 54px;
    height: 48px;
    display: block;
}

.bt-icon-doc {
    background: #f1f1f1;
    border: 1px solid #000;
    box-shadow: inset 2px 2px 0 #fff, inset -2px -2px 0 #777;
}

.bt-icon-doc::before {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    top: 10px;
    height: 26px;
    background:
        repeating-linear-gradient(0deg, #111 0 1px, transparent 1px 5px),
        linear-gradient(90deg, #8f2b7e 0 12px, transparent 12px);
}

.bt-icon-game {
    border-radius: 50%;
    border: 1px solid #000;
    background:
        radial-gradient(circle at 28% 28%, #fff 0 4px, transparent 5px),
        radial-gradient(circle at 72% 30%, #f1d35b 0 8px, transparent 9px),
        radial-gradient(circle at 28% 70%, #8f2b7e 0 8px, transparent 9px),
        radial-gradient(circle at 70% 72%, #78a617 0 8px, transparent 9px),
        #bdbdbd;
}

.bt-icon-disk {
    border-radius: 50%;
    border: 1px solid #000;
    background:
        radial-gradient(circle, #f6f6f6 0 6px, #9a9a9a 7px 10px, transparent 11px),
        conic-gradient(#d455a9, #e5d767, #8bd0d9, #d455a9);
}

.bt-icon-web {
    border: 1px solid #000;
    background:
        linear-gradient(180deg, #305c9c 0 10px, transparent 10px),
        repeating-linear-gradient(0deg, rgba(0,0,0,0.45) 0 1px, transparent 1px 8px),
        #e7e7e7;
    box-shadow: inset 2px 2px 0 #fff, inset -2px -2px 0 #777;
}

.bt-icon-web::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -7px;
    height: 7px;
    background: #8f8f8f;
    border: 1px solid #000;
}

.bt-file-status {
    padding: 0.1rem 1rem 0.35rem;
    color: #777;
    font-size: 0.66rem;
}

.bt-column-browser {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.2fr;
    min-height: 142px;
    border-top: 1px solid #000;
    background: #d8d8d8;
}

.bt-column-browser > div {
    padding: 0.35rem;
    border-right: 1px solid #000;
    box-shadow: inset 1px 0 0 #fff;
}

.bt-column-browser > div:last-child {
    border-right: 0;
}

.bt-column-browser a,
.bt-column-browser p {
    display: block;
    margin: 0;
    padding: 0.12rem 0.2rem;
    color: #000;
    font-size: 0.68rem;
    line-height: 1.25;
    text-decoration: none;
}

.bt-column-browser a:hover,
.bt-column-browser a:focus-visible {
    color: #fff;
    background: #000;
    outline: none;
}

.bt-info-window {
    position: absolute;
    right: 5.3rem;
    bottom: 2.5rem;
    width: min(420px, calc(100vw - 12rem));
}

.bt-info-body {
    display: grid;
    grid-template-columns: 102px 1fr;
    gap: 1.1rem;
    padding: 1rem;
    align-items: center;
}

.bt-user-preview {
    width: 94px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #111;
    border: 1px solid #000;
    box-shadow: inset 2px 2px 0 #fff, inset -2px -2px 0 #777;
}

.bt-user-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 50% 18%;
    filter: grayscale(0.9) contrast(1.18);
}

.bt-info-kicker {
    margin: 0;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bt-info-title {
    margin: 0.1rem 0 0.45rem;
    font-family: "Merriweather Sans", "Exo", sans-serif;
    font-size: clamp(1.55rem, 4vw, 2.5rem);
    line-height: 0.95;
    font-weight: 800;
}

.bt-info-copy {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.45;
}

.before-times-main {
    position: relative;
    z-index: 2;
    padding: 3rem 1rem 4rem;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.34) 1px, transparent 1px),
        #d0d0d0;
    background-size: 42px 42px;
}

.bt-section-stack {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.bt-section-window {
    background: var(--bt-window);
    border: 1px solid #000;
    box-shadow:
        inset 1px 1px 0 #fff,
        inset -2px -2px 0 #777,
        4px 4px 0 rgba(0,0,0,0.18);
}

.bt-section-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(245px, 0.42fr);
    gap: 1.5rem;
    padding: clamp(1rem, 3vw, 1.5rem);
}

.bt-section-kicker {
    margin: 0 0 0.45rem;
    color: #4e4e4e;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bt-section-body h2,
.bt-next-body h2 {
    margin: 0 0 0.7rem;
    font-family: "IBM Plex Sans Condensed", "Exo", sans-serif;
    font-size: clamp(2.1rem, 5vw, 4.3rem);
    line-height: 0.9;
    letter-spacing: 0;
    text-transform: uppercase;
}

.bt-section-body p,
.bt-next-body p {
    margin: 0;
    font-family: "Merriweather Sans", "Exo", sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.55;
}

.bt-dossier {
    display: grid;
    align-content: start;
    gap: 0.85rem;
}

.bt-dossier div {
    padding: 0.85rem;
    background: #efefef;
    border: 1px solid #000;
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #777;
}

.bt-dossier dt {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.bt-dossier dd {
    margin: 0;
    font-family: "Merriweather Sans", "Exo", sans-serif;
    font-size: 0.9rem;
    line-height: 1.45;
}

.bt-section-window-wide {
    background: #bdbdbd;
}

.bt-next-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: end;
    padding: clamp(1rem, 3vw, 1.5rem);
}

.bt-return-link {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.35rem 0.75rem;
    color: #000;
    text-decoration: none;
    background: #efefef;
    border: 1px solid #000;
    box-shadow: inset 1px 1px 0 #fff, inset -2px -2px 0 #777;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.bt-return-link:hover,
.bt-return-link:focus-visible {
    color: #fff;
    background: #000;
    outline: none;
}

.before-times-footer {
    position: relative;
    z-index: 2;
    padding: 1.25rem 1rem 1.5rem;
    color: #000;
    background: #9292ad;
    border-top: 1px solid #000;
}

.before-times-footer .footer-note {
    color: #000;
}

@media (min-width: 1180px) {
    .bt-devices-window {
        transform: translateY(0.15rem);
    }

    .bt-file-window {
        transform: translateY(-0.3rem);
    }
}

@media (max-width: 1060px) {
    .before-times-desktop {
        padding-right: 4.8rem;
    }

    .bt-file-window {
        margin-left: 4.5rem;
        width: min(690px, calc(100vw - 11rem));
    }

    .bt-info-window {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(520px, calc(100vw - 11rem));
        margin: 1.2rem 0 0 auto;
    }
}

@media (max-width: 820px) {
    .before-times-desktop {
        display: grid;
        gap: 0.95rem;
        padding: 0.8rem 1rem 2rem;
        overflow: visible;
    }

    .bt-menu-panel,
    .bt-shelf {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
    }

    .bt-menu-panel {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        border: 1px solid #000;
    }

    .bt-menu-title {
        grid-column: 1 / -1;
    }

    .bt-menu-row {
        justify-content: center;
        min-width: 0;
        padding: 0.25rem 0.2rem;
        text-align: center;
    }

    .bt-menu-row span {
        display: none;
    }

    .bt-shelf {
        display: flex;
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .bt-console-window,
    .bt-devices-window,
    .bt-file-window,
    .bt-info-window {
        width: 100%;
        margin: 0;
    }

    .bt-file-window {
        transform: none;
    }

    .bt-file-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bt-column-browser {
        grid-template-columns: 1fr;
    }

    .bt-column-browser > div {
        min-height: 86px;
        border-right: 0;
        border-bottom: 1px solid #000;
    }

    .bt-column-browser > div:last-child {
        border-bottom: 0;
    }

    .bt-section-body,
    .bt-next-body {
        grid-template-columns: 1fr;
    }

    .bt-return-link {
        justify-self: start;
    }
}

@media (max-width: 520px) {
    .before-times-desktop {
        padding-inline: 0.6rem;
    }

    .bt-menu-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bt-console-body {
        padding-inline: 0.75rem;
    }

    .bt-file-top {
        grid-template-columns: 1fr;
    }

    .bt-info-body {
        grid-template-columns: 1fr;
    }

    .bt-user-preview {
        width: 118px;
    }

    .bt-section-stack {
        gap: 1rem;
    }
}
