/* ==========================================================================
   WLEDashboard - Dual Layer Styles
   (Infomercial Parody -> Premium Hardware Glow)
   ========================================================================== */

:root {
    /* Infomercial Tokens */
    --info-bg: #f0e8d8;
    --info-text: #222;
    --info-yellow: #FFD700;
    --info-red: #CC0000;
    
    /* Premium Tokens */
    --premium-bg: #050505;
    --premium-text: #ffffff;
    --premium-text-sec: #a0a0a0;
    --accent-amber: #ffb000;
    --accent-cyan: #00f0ff;
    --accent-red: #ff2a2a;
    --accent-green: #00ff41;
    --border-subtle: rgba(255, 255, 255, 0.15);
    
    /* Fonts */
    --font-impact: 'Anton', sans-serif;
    --font-comic: 'Comic Neue', cursive;
    --font-mono: 'JetBrains Mono', monospace;
    --font-premium: 'Space Grotesk', sans-serif;
}

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

body {
    overflow-x: hidden;
    line-height: 1.5;
    background-color: var(--premium-bg);
}

/* --------------------------------------------------------------------------
   TV Static & Scan Lines
   -------------------------------------------------------------------------- */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    background: #060403;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
    transition: opacity 0.5s ease-out;
}

#splash-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.splash-scene-wrap {
    position: relative;
    width: max(100vw, calc(100vh * (1376 / 768)));
    height: max(100vh, calc(100vw * (768 / 1376)));
    aspect-ratio: 1376 / 768;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    flex-shrink: 0;
}

.splash-scene-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    pointer-events: none;
}

.splash-ambient-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 240, 255, 0.16) 0%, rgba(0, 180, 255, 0.05) 45%, transparent 68%);
    opacity: 0.35;
    animation: roomStaticIdle 0.12s infinite alternate;
    transition: opacity 0.3s ease;
}

.splash-scene-wrap.tv-active .splash-ambient-glow {
    opacity: 1;
    animation: roomStaticFlicker 0.08s infinite alternate;
}

@keyframes roomStaticIdle {
    0% { opacity: 0.22; }
    100% { opacity: 0.45; }
}

@keyframes roomStaticFlicker {
    0% { opacity: 0.75; }
    100% { opacity: 1.15; }
}

/* Ambient 1980s Living Room Framed Photo on Wood Wall */
.living-room-photo-frame {
    position: absolute;
    top: 22.0%;
    left: 76.5%;
    width: 7.2%;
    aspect-ratio: 4 / 5.2;
    z-index: 4;
    pointer-events: none;
    user-select: none;
}

.photo-frame-inner {
    width: 100%;
    height: 100%;
    position: relative;
    background: #2b1708;
    border: 3px solid #5a3a1b;
    border-top-color: #7d542b;
    border-left-color: #6e4620;
    border-right-color: #1a0c03;
    border-bottom-color: #150a02;
    border-radius: 3px;
    box-shadow: 4px 6px 14px rgba(0, 0, 0, 0.9),
                inset 1px 1px 0 rgba(255, 230, 180, 0.25),
                inset -1px -1px 0 rgba(0, 0, 0, 0.6);
    transform: none;
    padding: 3%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.photo-frame-mat {
    width: 100%;
    height: 100%;
    background-color: #241910;
    background-image: 
        radial-gradient(ellipse at center, rgba(52, 38, 25, 0.85) 0%, rgba(18, 12, 7, 0.95) 100%),
        repeating-linear-gradient(45deg, rgba(255, 225, 170, 0.04) 0px, rgba(255, 225, 170, 0.04) 1px, transparent 1px, transparent 3px),
        repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.35) 0px, rgba(0, 0, 0, 0.35) 1px, transparent 1px, transparent 3px);
    border: 1px solid #3d2a19;
    padding: 4%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.75), inset 0 0 0 1px rgba(180, 130, 60, 0.22);
}

.photo-frame-picture {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: hidden;
    background: #0d0a08;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.8);
}

.framed-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    filter: sepia(0.35) contrast(1.08) brightness(0.88);
}

.photo-glass-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.03) 35%, transparent 55%);
    pointer-events: none;
}

.photo-brass-plaque {
    margin-top: 4%;
    width: 92%;
    background: linear-gradient(180deg, #c4a148 0%, #947125 45%, #5e4614 100%);
    color: #171004;
    font-family: var(--font-impact);
    font-size: clamp(0.32rem, 0.44vw, 0.55rem);
    letter-spacing: 0.8px;
    text-align: center;
    padding: 0.06rem 0.12rem;
    border: 1px solid #4a370e;
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 235, 170, 0.35);
    text-shadow: 0 1px 0 rgba(255, 240, 200, 0.25);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-frame-shadow {
    display: none;
}

/* CRT Screen Glass Cutout (Pixel-Mapped to vintage console CRT: Left 38.95%, Top 34.64%, Width 21.8%, Height 30.2%) */
.splash-tv-screen {
    position: absolute;
    top: 34.64%;
    left: 38.95%;
    width: 21.8%;
    height: 30.2%;
    border-radius: 5% / 6%;
    overflow: hidden;
    background: #020202;
    box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.95);
    z-index: 3;
}

.splash-tv-screen.tv-collapsing {
    animation: crtTurnOff 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#static-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.72;
    pointer-events: none;
    transition: opacity 0.2s ease, filter 0.2s ease;
    filter: contrast(1.3) brightness(0.9);
    image-rendering: pixelated;
}

.splash-tv-screen.tv-on #static-canvas {
    opacity: 0.96;
    filter: contrast(1.55) brightness(1.08);
}

.crt-tube-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: translateY(-50%) scaleX(0);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.splash-tv-screen.igniting .crt-tube-line {
    animation: tubeLineExpand 0.35s ease-out forwards;
}

@keyframes tubeLineExpand {
    0% {
        opacity: 0;
        transform: translateY(-50%) scaleX(0);
        height: 2px;
        box-shadow: 0 0 10px #fff;
    }
    40% {
        opacity: 1;
        transform: translateY(-50%) scaleX(1);
        height: 4px;
        box-shadow: 0 0 40px #fff, 0 0 80px #00f0ff;
    }
    75% {
        opacity: 1;
        transform: translateY(-50%) scaleX(1);
        height: 65%;
    }
    100% {
        opacity: 0;
        transform: translateY(-50%) scaleX(1);
        height: 100%;
    }
}

@keyframes crtTurnOff {
    0% {
        transform: scale(1, 1);
        filter: brightness(1.2);
    }
    35% {
        transform: scale(1, 0.005);
        filter: brightness(4);
    }
    70% {
        transform: scale(0.012, 0.005);
        filter: brightness(8);
        opacity: 1;
    }
    100% {
        transform: scale(0, 0);
        filter: brightness(0);
        opacity: 0;
    }
}

.splash-screen-osd {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
    font-family: var(--font-mono);
    color: var(--accent-green);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    width: 90%;
}

.splash-tv-screen.tv-on .splash-screen-osd {
    opacity: 1;
}

.osd-brand {
    font-family: var(--font-impact);
    font-size: clamp(1.4rem, 2.5vw, 2.4rem);
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 15px #00ff41, 0 0 30px #00ff41, 2px 2px 0 #000;
}

.osd-status {
    font-family: var(--font-mono);
    font-size: clamp(0.6rem, 0.9vw, 0.85rem);
    color: #00ff41;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.85);
    padding: 0.25rem 0.65rem;
    border: 1px solid #00ff41;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
}

.crt-glass-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 7;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 65%, rgba(0, 0, 0, 0.7) 100%),
                linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 30%, transparent 60%, rgba(0, 0, 0, 0.35) 100%);
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.85);
}

.splash-choice-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(0.5rem, 1vw, 1.2rem);
    box-sizing: border-box;
    text-align: center;
    transition: opacity 0.25s ease;
}

.splash-tv-screen.igniting .splash-choice-panel,
.splash-tv-screen.tv-on .splash-choice-panel,
.splash-tv-screen.tv-collapsing .splash-choice-panel {
    opacity: 0;
    pointer-events: none;
}

.splash-choice-title {
    font-family: var(--font-mono);
    font-size: clamp(0.58rem, 0.88vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--info-yellow);
    text-transform: uppercase;
    margin-bottom: clamp(0.45rem, 0.85vw, 0.85rem);
    background: rgba(0, 0, 0, 0.85);
    padding: 0.25rem 0.65rem;
    border: 1px solid rgba(255, 176, 0, 0.5);
    border-radius: 3px;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(255, 176, 0, 0.35);
    text-shadow: 0 0 8px rgba(255, 176, 0, 0.75), 1px 1px 0 #000;
}

.splash-choice-buttons {
    display: flex;
    flex-direction: column;
    gap: clamp(0.35rem, 0.65vw, 0.65rem);
    width: 92%;
    max-width: 310px;
    align-items: center;
}

.choice-btn {
    position: relative;
    font-family: var(--font-mono);
    font-size: clamp(0.5rem, 0.75vw, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.6px;
    border: 2px solid;
    padding: clamp(0.35rem, 0.55vw, 0.52rem) clamp(0.5rem, 0.85vw, 0.85rem);
    cursor: pointer;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    border-radius: 4px;
    overflow: hidden;
    backdrop-filter: blur(2px);
}

/* Subtle retro light sheen sweep across buttons */
.choice-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-22deg);
    animation: btnShimmer 2.6s infinite ease-in-out;
    pointer-events: none;
}

@keyframes btnShimmer {
    0%, 20% { left: -120%; }
    52%, 100% { left: 180%; }
}

/* Choice Clean: Pulsing Neon Green Breathing Glow */
.choice-clean {
    background: rgba(0, 20, 5, 0.9);
    border-color: #00ff41;
    color: #00ff41;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.8);
    animation: btnPulseClean 2s infinite ease-in-out;
}

@keyframes btnPulseClean {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 65, 0.4), inset 0 0 8px rgba(0, 255, 65, 0.2);
        border-color: rgba(0, 255, 65, 0.75);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 24px rgba(0, 255, 65, 0.95), 0 0 45px rgba(0, 255, 65, 0.45), inset 0 0 14px rgba(0, 255, 65, 0.4);
        border-color: #00ff41;
        transform: scale(1.03);
    }
}

.choice-clean:hover {
    background: #00ff41 !important;
    color: #000 !important;
    text-shadow: none !important;
    transform: scale(1.05) !important;
    box-shadow: 0 0 35px rgba(0, 255, 65, 1), 0 0 60px rgba(0, 255, 65, 0.6) !important;
    animation: none !important;
}

.choice-clean:active {
    transform: scale(0.98) !important;
}

/* Choice Seizure: Pulsing Hot Crimson Breathing Glow */
.choice-seizure {
    background: rgba(26, 0, 0, 0.9);
    border-color: #ff3333;
    color: #ff5555;
    text-shadow: 0 0 8px rgba(255, 69, 69, 0.85);
    animation: btnPulseSeizure 2s infinite ease-in-out 1s;
}

@keyframes btnPulseSeizure {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 42, 42, 0.4), inset 0 0 8px rgba(255, 42, 42, 0.2);
        border-color: rgba(255, 42, 42, 0.75);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 26px rgba(255, 42, 42, 0.95), 0 0 45px rgba(255, 42, 42, 0.5), inset 0 0 14px rgba(255, 42, 42, 0.4);
        border-color: #ff2a2a;
        transform: scale(1.03);
    }
}

.choice-seizure:hover {
    background: #ff2a2a !important;
    color: #fff !important;
    text-shadow: none !important;
    transform: scale(1.05) !important;
    box-shadow: 0 0 35px rgba(255, 42, 42, 1), 0 0 60px rgba(255, 42, 42, 0.6) !important;
    animation: none !important;
}

.choice-seizure:active {
    transform: scale(0.98) !important;
}

/* Guarantee splash choice buttons always animate while splash screen is active */
#splash-screen .choice-clean {
    animation: btnPulseClean 2s infinite ease-in-out !important;
}
#splash-screen .choice-seizure {
    animation: btnPulseSeizure 2s infinite ease-in-out 1s !important;
}
#splash-screen .choice-btn::after {
    animation: btnShimmer 2.6s infinite ease-in-out !important;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9998;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.1) 50%,
        rgba(0,0,0,0.1)
    );
    background-size: 100% 4px;
    animation: scanlines-scroll 10s linear infinite;
}

@keyframes scanlines-scroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

@media (prefers-reduced-motion) {
    .scanlines { animation: none; }
}

/* --------------------------------------------------------------------------
   ZONE 1: INFOMERCIAL
   -------------------------------------------------------------------------- */
.infomercial-zone {
    background-color: var(--info-bg);
    color: var(--info-text);
    font-family: var(--font-comic);
    padding-bottom: 5rem;
    position: relative;
    z-index: 10;
}

.info-header {
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
}

.sound-toggle-btn {
    background: #000;
    color: #00ff41;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: bold;
    border: 2px solid #00ff41;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    box-shadow: 2px 2px 0 #000;
    transition: all 0.2s;
    text-shadow: none;
}
.sound-toggle-btn:hover {
    background: #00ff41;
    color: #000;
}
.sound-toggle-btn.muted {
    color: var(--info-red);
    border-color: var(--info-red);
}
.sound-toggle-btn.muted:hover {
    background: var(--info-red);
    color: #fff;
}

.clean-mode-toggle-btn {
    background: #000;
    color: #00f0ff;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: bold;
    border: 2px solid #00f0ff;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    box-shadow: 2px 2px 0 #000;
    transition: all 0.2s;
    text-shadow: none;
}
.clean-mode-toggle-btn:hover {
    background: #00f0ff;
    color: #000;
}
.clean-mode-toggle-btn.active {
    background: #00f0ff;
    color: #000;
    border-color: #00f0ff;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

.splash-clean-btn {
    margin-top: 1.5rem;
    background: rgba(0, 0, 0, 0.85);
    color: #00f0ff;
    border: 2px solid #00f0ff;
    padding: 0.6rem 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 3px 3px 0 #000;
    transition: all 0.2s;
}
.splash-clean-btn:hover {
    background: #00f0ff;
    color: #000;
}

.header-action-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.brand-title {
    font-family: var(--font-impact);
    font-size: 2.5rem;
    color: var(--info-yellow);
    letter-spacing: 2px;
    -webkit-text-stroke: 1px black;
}

.recording-dot {
    width: 15px;
    height: 15px;
    background-color: red;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.impact-text {
    font-family: var(--font-impact);
    font-size: 4.5rem;
    color: var(--info-yellow);
    -webkit-text-stroke: 3px black;
    text-shadow: 4px 4px 0px black;
    text-align: center;
    text-wrap: balance;
    line-height: 1.1;
    margin: 2rem auto;
    max-width: 900px;
}

.pitch-hero {
    text-align: center;
    padding: 1rem 1rem;
}

.fake-terminal {
    background: #000;
    color: #0f0;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    padding: 2rem;
    border: 4px solid #333;
    max-width: 600px;
    margin: 2rem auto;
    text-align: left;
    min-height: 150px;
    box-shadow: inset 0 0 10px rgba(0,255,0,0.5);
}

.better-way-banner {
    background: var(--info-red);
    color: white;
    font-family: var(--font-impact);
    font-size: 3rem;
    padding: 1rem;
    display: inline-block;
    border: 4px solid black;
    box-shadow: 5px 5px 0px black;
    transform: translateX(-100vw);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 1.5rem 0;
}

.better-way-banner.visible {
    transform: translateX(0);
}

.pricing-gag {
    font-family: var(--font-impact);
    font-size: 3.5rem;
    margin-top: 0.5rem;
}

.slash-price {
    color: var(--info-text);
    margin-right: 1rem;
    position: relative;
    display: inline-block;
}

.strikethrough::after, .strikethrough-delay::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 0;
    height: 6px;
    background: var(--info-red);
    transform: rotate(-10deg);
    transition: width 0.3s ease;
}

.strikethrough.struck::after, .strikethrough-delay.struck::after {
    width: 120%;
}

.final-price {
    color: var(--info-red);
    -webkit-text-stroke: 2px black;
    font-size: 4.5rem;
    opacity: 0;
    transform: scale(0.5);
    display: inline-block;
}

.final-price.visible {
    animation: pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pop { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1.1) rotate(5deg); opacity: 1; } }

.demo-infomercial-callout {
    max-width: 820px;
    margin: 3.5rem auto 1.5rem;
    padding: 1.8rem 2rem;
    background: #fff;
    border: 4px solid #000;
    box-shadow: 6px 6px 0px #000;
    position: relative;
    transform: rotate(-0.5deg);
    text-align: center;
}

.demo-callout-badge {
    display: inline-block;
    background: var(--info-red);
    color: #fff;
    font-family: var(--font-impact);
    font-size: 1.15rem;
    letter-spacing: 1px;
    padding: 0.35rem 1rem;
    border: 2px solid #000;
    box-shadow: 3px 3px 0px #000;
    transform: rotate(-2deg);
    margin-bottom: 0.85rem;
}

.demo-callout-title {
    font-family: var(--font-impact);
    font-size: clamp(1.6rem, 3.6vw, 2.3rem);
    color: var(--info-red);
    line-height: 1.15;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.demo-callout-text {
    font-family: var(--font-comic);
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    font-weight: bold;
    color: #111;
    line-height: 1.45;
    margin: 0;
}

.star-wipe-divider {
    height: 50px;
    background: var(--info-bg);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    transform: scale(3);
    opacity: 0.2;
    margin: 2rem 0;
}

.but-wait {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.feature-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-feature {
    background: #fff;
    border: 3px solid black;
    padding: 2rem;
    position: relative;
    box-shadow: 5px 5px 0px #000;
}

.info-feature h3 {
    font-family: var(--font-impact);
    font-size: 2rem;
    color: var(--info-red);
    margin-bottom: 0.5rem;
}

.info-feature p {
    font-size: 1.2rem;
    font-weight: bold;
}

.starburst {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--info-yellow);
    border: 2px solid #000;
    padding: 1.5rem 0.5rem;
    font-family: var(--font-impact);
    text-align: center;
    line-height: 1;
    transform: rotate(15deg);
    box-shadow: 2px 2px 0px #000;
    animation: seesaw 3s ease-in-out infinite;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes seesaw { 
    0%, 100% { transform: rotate(5deg); } 
    50% { transform: rotate(25deg); } 
}
@media (prefers-reduced-motion) { .starburst { animation: none; transform: rotate(15deg); } }

.testimonials {
    max-width: 800px;
    margin: 2rem auto;
    background: #e0e0e0;
    border: 2px solid #999;
    padding: 1rem;
}

.forum-post {
    border-top: 1px solid #ccc;
    padding: 1rem 0;
}
.forum-post:first-child { border-top: none; }

.forum-post .user {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.forum-post .user span { color: green; }

.forum-post .quote {
    font-style: italic;
    background: #fff;
    padding: 0.75rem;
    border-left: 3px solid #666;
}

/* --------------------------------------------------------------------------
   ZONE 2: PREMIUM HARDWARE & LIVE DEMO
   -------------------------------------------------------------------------- */
.premium-zone {
    background-color: var(--premium-bg);
    color: var(--premium-text);
    font-family: var(--font-premium);
    position: relative;
    z-index: 20;
}

.premium-title {
    font-family: var(--font-impact);
    font-size: 3rem;
    letter-spacing: 1px;
    text-align: center;
    color: #fff;
    margin-bottom: 0.5rem;
}

.premium-subtitle {
    text-align: center;
    color: var(--premium-text-sec);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Before / After */
.transformation {
    max-width: 1000px;
    margin: -3rem auto 4rem;
    padding: 0 1rem;
    position: relative;
    z-index: 30;
}

.split-container {
    display: flex;
    height: 400px;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    position: relative;
    width: 100%;
}

.before-side, .after-side {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.before-side img, .after-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.before-side img {
    filter: grayscale(1) contrast(0.8) brightness(0.8);
}

.label {
    position: absolute;
    bottom: 2rem;
    padding: 1rem 2rem;
    font-family: var(--font-impact);
    font-size: 2rem;
    -webkit-text-stroke: 1px black;
    color: white;
}
.before-label { left: 2rem; color: #aaa; }
.after-label { right: 2rem; color: var(--accent-cyan); text-shadow: 0 0 10px var(--accent-cyan); }

.transformation-caption {
    text-align: center;
    margin-top: 1.75rem;
    font-family: var(--font-impact);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: 1px;
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.5), 0 0 30px rgba(0, 240, 255, 0.2);
}

/* Sandbox UI */
.sandbox-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ==========================================================================
   Vintage Console TV Simulator & Side-by-Side Master Studio Deck
   ========================================================================== */
.simulator-layout {
    display: grid;
    grid-template-columns: minmax(420px, 480px) minmax(480px, 1fr);
    gap: 2.5rem;
    align-items: center;
    width: 100%;
    margin-top: 1.5rem;
}

@media (max-width: 1100px) {
    .simulator-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        justify-items: center;
    }
}

/* TV Stage Container: Houses Console TV + 1980s Clicker Remote */
.simulator-tv-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    width: 100%;
}

/* Standalone Vintage Console Woodgrain TV Unit */
.simulator-tv-unit {
    flex: 1;
    max-width: 760px;
    position: relative;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.95));
}

.simulator-tv-chassis {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 896;
}

.simulator-tv-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    pointer-events: none;
}

/* CRT Screen Glass Cutout (Pixel-Mapped for wood_tv_flat.jpg: Left 18.3%, Top 23.4%, Width 51.7%, Height 53.0%) */
.simulator-tv-screen {
    position: absolute;
    top: 23.4%;
    left: 18.3%;
    width: 51.7%;
    height: 53.0%;
    border-radius: 6% / 7%;
    overflow: hidden;
    background: #010101;
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.95);
    container-type: size;
    container-name: tvscreen;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

#canvas-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.tv-glass-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.6) 100%),
                linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 30%, transparent 60%);
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.85);
    z-index: 6;
}

/* ==========================================================================
   Native TV Cabinet Controls (Interactive On-Chassis VHF, UHF, and Power)
   ========================================================================== */
.native-tv-dial {
    position: absolute;
    border-radius: 50%;
    cursor: pointer;
    z-index: 12;
    user-select: none;
    transition: box-shadow 0.2s ease, filter 0.2s ease;
}

.native-tv-dial:hover {
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.5), inset 0 0 12px rgba(0, 240, 255, 0.25);
}

.vhf-dial {
    left: 75.42%;
    top: 21.76%;
    width: 8.83%;
    height: 11.83%;
}

.uhf-dial {
    left: 75.42%;
    top: 35.27%;
    width: 8.83%;
    height: 11.83%;
}

.dial-rotator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform-origin: center center;
    transition: transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dial-pointer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58%;
    height: 16%;
    background: linear-gradient(180deg, #444 0%, #151515 50%, #2e2e2e 100%);
    border: 1px solid #777;
    border-radius: 3px;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

.dial-pointer::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 2px;
    width: 4px;
    height: 4px;
    background: #00f0ff;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 4px #00f0ff;
}

.native-pwr-rocker {
    position: absolute;
    left: 76.38%;
    top: 50.61%;
    width: 2.00%;
    height: 3.60%;
    z-index: 12;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rocker-face {
    display: block;
    width: 55%;
    height: 75%;
    background: linear-gradient(180deg, #dd1111 0%, #880505 100%);
    border-radius: 2px;
    border: 1px solid #ff4444;
    box-shadow: inset 0 2px 3px rgba(255,255,255,0.4), 0 2px 4px rgba(0,0,0,0.8);
    transition: all 0.15s ease;
}

.native-pwr-rocker.off .rocker-face {
    background: linear-gradient(180deg, #440808 0%, #1a0202 100%);
    border-color: #551111;
    box-shadow: inset 0 -2px 3px rgba(0,0,0,0.7);
}

.native-pwr-led {
    position: absolute;
    left: 79.25%;
    top: 51.90%;
    width: 1.00%;
    height: 1.34%;
    border-radius: 50%;
    background: radial-gradient(circle, #330505 0%, #150202 70%);
    z-index: 11;
    pointer-events: none;
    transition: all 0.2s ease;
}

.native-pwr-led.active {
    background: radial-gradient(circle, #ff6644 0%, #dd1100 70%);
    box-shadow: 0 0 8px #ff2200, 0 0 16px #ff0000;
}

/* ==========================================================================
   1980s Authentic Woodgrain Clicker Remote Control
   ========================================================================== */
.retro-remote-caddy {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    perspective: 800px;
}

.retro-clicker-remote {
    width: 132px;
    background: #1f120a linear-gradient(145deg, #2b180d 0%, #150b06 50%, #24140a 100%);
    border: 2px solid #523720;
    border-radius: 12px;
    padding: 0.85rem 0.65rem;
    box-shadow: 10px 18px 30px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    transform: rotate(2.5deg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
}

.retro-clicker-remote:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 14px 24px 38px rgba(0, 0, 0, 0.95);
}

.remote-ir-lens {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 8px;
    background: #500808;
    border-radius: 4px 4px 1px 1px;
    border: 1px solid #751212;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transition: background-color 0.08s, box-shadow 0.08s;
}

.remote-ir-lens.flash {
    background: #ff2222;
    box-shadow: 0 0 12px #ff1111, 0 0 24px #ff3333;
}

.remote-plate {
    text-align: center;
    margin-bottom: 0.6rem;
    border-bottom: 1px solid #452c16;
    padding-bottom: 0.35rem;
    width: 100%;
}

.remote-brand {
    font-family: var(--font-impact);
    font-size: 0.72rem;
    color: #c49a45;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.remote-model {
    font-family: var(--font-mono);
    font-size: 0.46rem;
    color: #8c6a45;
    letter-spacing: 0.5px;
}

.remote-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.remote-btn {
    background: #1c1c20;
    color: #e0e0e0;
    border: 1px solid #363640;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 3px 0 #0f0f12, 0 4px 6px rgba(0, 0, 0, 0.5);
    transition: all 0.08s ease;
}

.remote-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #0f0f12, inset 0 1px 2px rgba(0, 0, 0, 0.8);
}

.remote-btn-pwr {
    width: 100%;
    padding: 0.35rem;
    background: #900c0c;
    border-color: #b01a1a;
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 1px;
}

.remote-btn-pwr:hover {
    background: #b01a1a;
}

.remote-ch-rocker {
    display: flex;
    gap: 0.4rem;
    width: 100%;
}

.remote-btn-ch {
    flex: 1;
    padding: 0.45rem 0.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.65rem;
}

.remote-arrow {
    font-size: 0.55rem;
    color: #00f0ff;
    line-height: 1;
}

.remote-btn-text {
    font-size: 0.55rem;
    margin-top: 2px;
}

.remote-keypad {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    width: 100%;
    margin-bottom: 0.5rem;
}

.remote-btn-num {
    padding: 0.4rem 0.2rem;
    font-size: 0.75rem;
    text-align: center;
}

.remote-btn-num.active {
    background: #00f0ff;
    color: #000;
    border-color: #00f0ff;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.remote-btn-cable {
    width: 100%;
    padding: 0.4rem;
    background: #2a1122;
    border-color: #8b1d56;
    color: #ff33aa;
    font-size: 0.62rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.remote-btn-cable.active {
    background: #ff33aa;
    color: #000;
    box-shadow: 0 0 10px rgba(255, 51, 170, 0.7);
}

.cable-pip {
    width: 6px;
    height: 6px;
    background: #ff33aa;
    border-radius: 50%;
    display: inline-block;
}

.remote-btn-cable.active .cable-pip {
    background: #000;
}

.remote-grille {
    display: flex;
    gap: 3px;
    margin-top: 0.4rem;
}

.remote-grille span {
    width: 16px;
    height: 2px;
    background: #110905;
    border-bottom: 1px solid #3c2415;
}

/* ==========================================================================
   Compact 2-Column Master Studio Control Deck (DS-100)
   ========================================================================== */
.studio-control-deck {
    width: 100%;
    max-width: 100%;
    background: linear-gradient(180deg, #1a1a1e 0%, #121214 100%);
    border: 2px solid #2d2d34;
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 1.1rem;
    box-sizing: border-box;
}

.deck-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #26262c;
    padding-bottom: 0.65rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.deck-brand {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--accent-cyan);
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.deck-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff41;
    box-shadow: 0 0 8px #00ff41;
    display: inline-block;
}

.deck-telemetry {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #777;
    letter-spacing: 1px;
}

.deck-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.deck-col {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.deck-module {
    background: rgba(8, 8, 10, 0.75);
    border: 1px solid #282830;
    border-radius: 6px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.module-title {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: bold;
    color: var(--accent-amber);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-bottom: 1px solid #222228;
    padding-bottom: 0.4rem;
    margin-bottom: 0.6rem;
}

.module-body label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.35rem;
    font-family: var(--font-mono);
}

.slider-row {
    display: flex;
    flex-direction: column;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.slider-header label {
    margin-bottom: 0;
}

.slider-val {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    font-weight: bold;
}

.layout-toggle-group {
    display: flex;
    gap: 0.5rem;
}

.mode-btn {
    flex: 1;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--premium-text);
    padding: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}
.mode-btn:hover {
    border-color: var(--accent-cyan);
}
.mode-btn.active {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.toggle-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--premium-text);
    padding: 0.6rem;
    cursor: pointer;
    font-family: var(--font-mono);
    font-weight: bold;
    transition: all 0.2s;
}

.toggle-btn.active {
    background: var(--accent-amber);
    color: #000;
    border-color: var(--accent-amber);
    box-shadow: 0 0 15px rgba(255, 176, 0, 0.4);
}

input[type=range] {
    width: 100%;
    accent-color: var(--accent-cyan);
    cursor: pointer;
}

.color-picker {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.color-btn {
    flex: 1;
    height: 32px;
    border: 2px solid #222;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    position: relative;
}
.color-btn:hover {
    transform: translateY(-2px);
}
.color-btn.active {
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), inset 0 0 0 1px #000;
    transform: scale(1.08);
    z-index: 2;
}
.color-btn.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 3px #000;
}

.custom-color-wrapper {
    width: 44px;
    height: 32px;
    border: 2px solid #222;
    border-radius: 3px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.2s ease;
}
.custom-color-wrapper:hover {
    transform: translateY(-2px);
}
.custom-color-wrapper.active {
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), inset 0 0 0 1px #000;
    transform: scale(1.08);
    z-index: 2;
}
.custom-color-wrapper input[type="color"] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.custom-color-preview {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent-cyan);
    font-weight: bold;
    pointer-events: none;
}

.phosphor-status-bar {
    margin-top: 0.85rem;
    padding: 0.4rem 0.6rem;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid #252530;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    letter-spacing: 0.6px;
}

.phosphor-pip {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 6px #00f0ff;
    display: inline-block;
    flex-shrink: 0;
}

.effect-dropdown {
    width: 100%;
    background: #111;
    border: 1px solid var(--border-subtle);
    color: var(--premium-text);
    padding: 0.5rem;
    font-family: var(--font-premium);
    font-size: 0.9rem;
}
.effect-dropdown option {
    background: #111;
    color: #fff;
}

/* CRT OSD & Channel Overlays */
.crt-channel-badge {
    position: absolute;
    top: clamp(8px, 4cqh, 16px);
    right: clamp(10px, 5cqi, 20px);
    z-index: 20;
    color: #00ff41;
    font-family: var(--font-mono);
    font-size: clamp(0.55rem, 4.2cqi, 1.05rem);
    font-weight: bold;
    text-shadow: 0 0 8px #00ff41;
    pointer-events: none;
    opacity: 0.85;
    white-space: nowrap;
}

.crt-channel-badge.osd-flash {
    animation: osdFlash 2.5s forwards;
}

@keyframes osdFlash {
    0% { opacity: 1; transform: scale(1.05); }
    15% { opacity: 0.2; }
    30% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0.75; }
}

.channel-screen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.channel-screen-overlay.hidden {
    display: none;
}

.channel-static-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.channel-static-msg {
    position: relative;
    z-index: 2;
    text-align: center;
    font-family: var(--font-mono);
    padding: clamp(0.5rem, 5cqi, 1.2rem);
}
.static-headline {
    font-size: clamp(0.85rem, 6cqi, 1.6rem);
    color: #00ff41;
    margin-bottom: 0.35rem;
    text-shadow: 0 0 10px #00ff41;
    line-height: 1.15;
}
.static-sub {
    font-size: clamp(0.48rem, 3.2cqi, 0.85rem);
    color: #aaa;
    margin-bottom: clamp(0.5rem, 4cqh, 1rem);
    line-height: 1.25;
}
.static-hint {
    font-size: clamp(0.44rem, 2.8cqi, 0.75rem);
    color: var(--info-yellow);
    background: rgba(0,0,0,0.8);
    padding: 0.35rem 0.75rem;
    border: 1px dashed var(--info-yellow);
    display: inline-block;
}

/* SMPTE Bars */
.smpte-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.smpte-bars {
    display: flex;
    width: 100%;
    height: 75%;
}
.smpte-bars .bar {
    flex: 1;
    height: 100%;
}
.bar-gray { background: #c0c0c0; }
.bar-yellow { background: #c0c000; }
.bar-cyan { background: #00c0c0; }
.bar-green { background: #00c000; }
.bar-magenta { background: #c000c0; }
.bar-red { background: #c00000; }
.bar-blue { background: #0000c0; }

.smpte-card {
    height: 25%;
    background: #111;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    border-top: 2px solid #333;
    padding: 0.2rem 0.5rem;
    box-sizing: border-box;
}
.smpte-title {
    font-size: clamp(0.55rem, 3.8cqi, 0.95rem);
    color: #00ff41;
    text-shadow: 0 0 5px #00ff41;
    letter-spacing: 1px;
    line-height: 1.1;
}
.smpte-sub {
    font-size: clamp(0.38rem, 2.4cqi, 0.65rem);
    color: #aaa;
    margin-top: 0.15rem;
    line-height: 1.1;
}

/* Chad Lounge Channel */
.chad-lounge-card {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(0.4rem, 3cqi, 0.85rem);
    padding: clamp(1.1rem, 13cqh, 2.2rem) clamp(0.5rem, 4cqi, 1rem) clamp(0.4rem, 4cqh, 0.85rem) clamp(0.5rem, 4cqi, 1rem);
    background: radial-gradient(circle, #200030 0%, #050505 100%);
    overflow: hidden;
}
.chad-lounge-img {
    height: 72%;
    max-height: 165px;
    width: auto;
    max-width: 40%;
    object-fit: cover;
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
    border-radius: clamp(3px, 1.5cqi, 6px);
    flex-shrink: 0;
}
.chad-lounge-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: var(--font-mono);
    overflow: hidden;
}
.chad-lounge-text h3 {
    font-family: var(--font-impact);
    font-size: clamp(0.58rem, 4.2cqi, 0.98rem);
    color: #ff00ea;
    text-shadow: 0 0 8px rgba(255, 0, 234, 0.6);
    margin: 0 0 clamp(0.12rem, 1.2cqh, 0.35rem) 0;
    line-height: 1.1;
    letter-spacing: 0.5px;
}
.chad-lounge-text p {
    color: #e6e6e6;
    font-size: clamp(0.42rem, 2.7cqi, 0.68rem);
    line-height: 1.32;
    border-left: 2px solid var(--accent-cyan);
    padding-left: clamp(0.3rem, 2cqi, 0.55rem);
    margin: 0;
}

/* ==========================================================================
   CH 69 Scrambled Cinemax Easter Egg Overlay
   ========================================================================== */
.scrambled-cable-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0d0014;
}

.scrambled-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.scrambled-sync-bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 38px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 50%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 3;
    animation: rollingSyncBar 6s linear infinite;
}

@keyframes rollingSyncBar {
    0% { top: -40px; }
    100% { top: 100%; }
}

.scrambled-osd-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    box-sizing: border-box;
    font-family: var(--font-mono);
}

.scrambled-header-badge {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid #ff0077;
    color: #ff33aa;
    font-size: clamp(0.65rem, 0.9vw, 0.78rem);
    font-weight: bold;
    padding: 0.25rem 0.6rem;
    text-shadow: 0 0 6px #ff0077;
    letter-spacing: 1px;
}

.scrambled-rec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff0055;
    box-shadow: 0 0 8px #ff0055;
    animation: scrambledBlink 1s infinite alternate;
}

@keyframes scrambledBlink {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

.scrambled-warning-msg {
    align-self: center;
    text-align: center;
    background: rgba(10, 0, 15, 0.82);
    border: 1px dashed #ff0077;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    backdrop-filter: blur(2px);
    box-shadow: 0 0 15px rgba(255, 0, 119, 0.3);
}

.scrambled-title {
    color: #00ffff;
    font-size: clamp(0.75rem, 1.1vw, 0.95rem);
    font-weight: bold;
    letter-spacing: 1.5px;
    text-shadow: 0 0 8px #00ffff;
    margin-bottom: 0.25rem;
}

.scrambled-hint {
    color: #ff99cc;
    font-size: clamp(0.58rem, 0.8vw, 0.7rem);
    letter-spacing: 0.8px;
}

.scrambled-status-bar {
    align-self: flex-end;
    display: flex;
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.65);
    color: #00ff88;
    font-size: clamp(0.55rem, 0.75vw, 0.68rem);
    padding: 0.2rem 0.5rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 4px #00ff88;
}

/* Gallery Section */
.gallery-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
}

.gallery-header-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.gallery-sync-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #00ff41;
    background: #000;
    border: 1px solid #00ff41;
    padding: 0.3rem 0.8rem;
    box-shadow: 2px 2px 0 #000;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}
.gallery-sync-badge.error {
    color: var(--accent-red);
    border-color: var(--accent-red);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.gallery-card {
    background: #0d0d0d;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
    box-shadow: 0 16px 40px rgba(0, 240, 255, 0.15);
}

.gallery-card-img-wrap {
    position: relative;
    background: #000;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    cursor: pointer;
}

.gallery-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-card-img-wrap img {
    transform: scale(1.03);
}

.gallery-card-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.85);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: bold;
    border: 1px solid var(--accent-cyan);
    padding: 0.2rem 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.gallery-card-img-wrap:hover .gallery-card-badge {
    opacity: 1;
}

.gallery-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gallery-card-title {
    font-family: var(--font-impact);
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.gallery-card-desc {
    font-family: var(--font-premium);
    font-size: 0.92rem;
    color: var(--premium-text-sec);
    line-height: 1.5;
    flex: 1;
}

/* CTA */
.cta-section {
    text-align: center;
    padding: 6rem 2rem;
}

.countdown {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--accent-red);
    margin-bottom: 2rem;
}

.docker-cta .terminal-mock {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    padding: 1rem 5.5rem 1rem 1rem;
    background: #000;
    border: 1px solid var(--border-subtle);
    margin-bottom: 0;
    position: relative;
    text-align: left;
}

.copy-cmd-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #00ff41;
    color: #000;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: bold;
    border: 1px solid #000;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    box-shadow: 2px 2px 0 #000;
    transition: all 0.15s;
}
.copy-cmd-btn:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 10px rgba(0,255,65,0.6);
}
.copy-cmd-btn.copied {
    background: var(--info-yellow);
    color: #000;
}

.btn-github {
    display: inline-block;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-family: var(--font-mono);
    padding: 1rem 2rem;
    font-weight: bold;
    border: 2px solid transparent;
    transition: all 0.2s;
}
.btn-github:hover {
    background: #000;
    color: #fff;
    border-color: #fff;
}

/* Footer */
.disclaimer-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 2rem;
}

.scrolling-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #555;
    text-align: justify;
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #222;
    padding-top: 1rem;
}

.signature {
    font-family: var(--font-mono);
    color: var(--premium-text-sec);
    font-size: 0.8rem;
}

.footer-clean-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--premium-text-sec);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    cursor: pointer;
    margin-right: 0.5rem;
    transition: all 0.2s;
}
.footer-clean-btn:hover {
    color: #fff;
    border-color: var(--accent-cyan);
}
.footer-clean-btn.active {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.footer-nav a {
    color: var(--premium-text-sec);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.8rem;
    transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--premium-bg);
    border: 1px solid var(--border-subtle);
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    color: var(--premium-text);
    font-family: var(--font-premium);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
}

.close-btn {
    background: none;
    border: none;
    color: var(--premium-text-sec);
    font-size: 2rem;
    cursor: pointer;
}
.close-btn:hover { color: var(--accent-red); }

.modal-body {
    padding: 2rem;
    overflow-y: auto;
}
.modal-body p, .modal-body ul {
    color: var(--premium-text-sec);
    margin-bottom: 1.5rem;
}

/* Lightbox Specifics */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    z-index: 10001;
}

.lightbox-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(92vw, 1400px);
    max-height: 92vh;
    margin: auto;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 1rem;
    color: var(--premium-text-sec);
    font-family: var(--font-premium);
    font-size: 0.95rem;
    text-align: center;
    background: rgba(10, 10, 10, 0.9);
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    max-width: 800px;
    line-height: 1.4;
}
.lightbox-caption strong {
    color: var(--accent-cyan);
    font-family: var(--font-impact);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.85);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
    padding: 0.75rem 1.2rem;
    cursor: pointer;
    z-index: 10002;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.lightbox-nav-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

@media (max-width: 768px) {
    .lightbox-nav-btn {
        padding: 0.5rem 0.8rem;
        font-size: 1.4rem;
    }
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
}

/* ==========================================================================
   Clean / Sensory Friendly Mode Rules
   ========================================================================== */
html.clean-mode .scanlines,
body.clean-mode .scanlines {
    display: none !important;
}

html.clean-mode #splash-screen,
body.clean-mode #splash-screen {
    background: #080808 !important;
}

html.clean-mode .gallery-card,
body.clean-mode .gallery-card {
    transition: none !important;
    transform: none !important;
}
html.clean-mode .gallery-card:hover .gallery-card-img-wrap img,
body.clean-mode .gallery-card:hover .gallery-card-img-wrap img {
    transform: none !important;
}

html.clean-mode *,
html.clean-mode *::before,
html.clean-mode *::after,
body.clean-mode *,
body.clean-mode *::before,
body.clean-mode *::after {
    animation: none !important;
    transition-duration: 0.001ms !important;
}

html.clean-mode .splash-title,
body.clean-mode .splash-title {
    animation: none !important;
    text-shadow: 2px 2px 0 #000, -2px -2px 0 #000 !important;
}

html.clean-mode .tune-btn,
body.clean-mode .tune-btn {
    animation: none !important;
}

html.clean-mode .recording-dot,
body.clean-mode .recording-dot {
    animation: none !important;
    opacity: 1 !important;
}

html.clean-mode .better-way-banner,
body.clean-mode .better-way-banner {
    transform: none !important;
    transition: none !important;
}

html.clean-mode .strikethrough::after,
html.clean-mode .strikethrough-delay::after,
body.clean-mode .strikethrough::after,
body.clean-mode .strikethrough-delay::after {
    width: 120% !important;
    transition: none !important;
}

html.clean-mode .final-price,
body.clean-mode .final-price {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

html.clean-mode .starburst,
body.clean-mode .starburst {
    animation: none !important;
    transform: rotate(10deg) !important;
}

html.clean-mode .star-wipe-divider,
body.clean-mode .star-wipe-divider {
    clip-path: none !important;
    height: 2px !important;
    opacity: 0.3 !important;
    background: #555 !important;
    transform: none !important;
    margin: 1.5rem 0 !important;
}

html.clean-mode #call-now-btn,
body.clean-mode #call-now-btn {
    transform: none !important;
}

html.clean-mode .demo-infomercial-callout,
body.clean-mode .demo-infomercial-callout,
html.clean-mode .demo-callout-badge,
body.clean-mode .demo-callout-badge {
    transform: none !important;
}

html.clean-mode .crt-channel-badge,
body.clean-mode .crt-channel-badge {
    animation: none !important;
    opacity: 1 !important;
}

.clean-static-notice {
    text-align: center;
    font-family: var(--font-mono);
    color: #00f0ff;
    padding: clamp(0.6rem, 5cqh, 1.2rem) clamp(0.6rem, 5cqi, 1.2rem);
    border: 2px solid var(--accent-cyan);
    background: #0a0a0a;
    max-width: 88%;
    box-sizing: border-box;
    margin: 0.4rem auto;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}
.clean-static-notice h3 {
    font-size: clamp(0.62rem, 4.2cqi, 1.05rem);
    margin: 0 0 clamp(0.2rem, 2cqh, 0.45rem) 0;
    color: #00f0ff;
    letter-spacing: 1px;
    line-height: 1.15;
}
.clean-static-notice p {
    font-size: clamp(0.42rem, 2.8cqi, 0.72rem);
    color: #bbb;
    line-height: 1.35;
    margin: 0;
}

/* ==========================================================================
   Mobile Responsive Adjustments
   ========================================================================== */
@media (max-width: 768px) {
    .splash-title {
        font-size: 12vw;
    }
    .info-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .info-header > div {
        flex-wrap: wrap;
        justify-content: center;
    }
    .brand-title {
        transform: none !important;
        font-size: 2rem;
    }
    .impact-text {
        font-size: 2.5rem;
    }
    .pitch-hero p {
        font-size: 1.2rem !important;
        padding: 1rem !important;
    }
    .better-way-banner {
        font-size: 2rem;
    }
    .pricing-gag .slash-price {
        font-size: 2.5rem;
    }
    .pricing-gag .final-price {
        font-size: 3.5rem;
    }
    #call-now-btn {
        font-size: 4rem !important;
    }
    .info-feature .starburst {
        width: 80px;
        height: 80px;
        font-size: 0.8rem;
        padding: 0.5rem;
        top: -10px;
        right: -10px;
    }
    .split-container {
        flex-direction: column;
    }
    .before-side, .after-side {
        height: 50%;
    }
    .splash-scene-wrap {
        width: 172vw;
        height: calc(172vw * (768 / 1376));
        max-width: none;
        max-height: none;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-56.5%, -49.74%);
    }
    .splash-choice-panel {
        padding: 0.4rem;
        gap: 0.35rem;
    }
    .splash-choice-title {
        font-size: 0.65rem;
        padding: 0.18rem 0.35rem;
        margin-bottom: 0.25rem;
        letter-spacing: 0.8px;
    }
    .choice-btn {
        font-size: 0.56rem;
        line-height: 1.2;
        padding: 0.35rem 0.3rem;
        letter-spacing: 0.5px;
        white-space: normal;
        text-align: center;
    }
    .living-room-photo-frame {
        width: 7.5%;
        top: 22%;
        left: 75.5%;
    }
    .photo-brass-plaque {
        font-size: 0.28rem;
        letter-spacing: 0;
        padding: 0.02rem 0.04rem;
        text-overflow: clip;
    }
    .simulator-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .deck-grid-2col {
        grid-template-columns: 1fr;
    }
    .simulator-tv-group {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .retro-clicker-remote {
        transform: none;
        width: 220px;
    }
    .retro-clicker-remote .remote-keypad {
        grid-template-columns: repeat(4, 1fr);
    }
    .chad-lounge-card {
        padding: 1.8rem 0.6rem 0.6rem 0.6rem;
        gap: 0.5rem;
    }
    .chad-lounge-img {
        max-height: 120px;
        max-width: 40%;
    }
    .chad-lounge-text h3 {
        font-size: clamp(0.65rem, 2.5vw, 0.85rem);
        margin-bottom: 0.25rem;
    }
    .chad-lounge-text p {
        font-size: clamp(0.48rem, 2vw, 0.62rem);
        padding-left: 0.4rem;
    }
    .installation-block {
        padding: 1rem !important;
    }
    .installation-block h3 {
        font-size: 1.8rem !important;
    }
    .docker-cta .terminal-mock {
        font-size: 0.9rem;
        padding: 1rem 1rem 3rem 1rem;
        word-break: break-all;
    }
    .copy-cmd-btn {
        top: auto;
        bottom: 8px;
        transform: none;
        right: 8px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-nav {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .footer-nav a {
        margin-left: 0;
    }
    .star-wipe-divider {
        clip-path: none;
        height: 2px;
        opacity: 0.5;
        background: linear-gradient(to right, transparent, var(--info-text), transparent);
        transform: scale(1);
    }
}
