/* Blurple Cyber-Propaganda Styling */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

:root {
    --blurple-deep: #080124;
    --blurple-core: #3A0088;
    --blurple-electric: #6A00FF;
    --blurple-light: #9C6FE6;
    --blurple-teal: #50A0E6;
    --retro-amber: #F5E663;
    --retro-cream: #F6F1DE;
    --text-primary: #ECE7FF;
    --text-muted: #8E86B7;
    --panel-bg: rgba(16, 6, 38, 0.92);
    --panel-border: rgba(106, 0, 255, 0.65);
}

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

body {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(154, 111, 230, 0.18) 0%, rgba(58, 0, 136, 0.92) 35%, rgba(8, 1, 36, 1) 100%);
    color: var(--text-primary);
    width: 100vw;
    height: 100vh;
    cursor: default;
}

#backdropCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.crt-flicker {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.012);
    animation: crtFlicker 6s infinite;
}

@keyframes crtFlicker {
    0%, 98% { opacity: 0; }
    99% { opacity: 0.04; }
    100% { opacity: 0; }
}

.broadcast-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    background: linear-gradient(90deg, rgba(10, 2, 38, 0.95) 0%, rgba(58, 0, 136, 0.65) 50%, rgba(10, 2, 38, 0.95) 100%);
    border-bottom: 1px solid var(--panel-border);
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

.broadcast-identity {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.broadcast-title {
    font-size: 1.05rem;
    letter-spacing: 0.28rem;
    text-transform: uppercase;
    color: var(--blurple-light);
}

.broadcast-subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.broadcast-brand {
    font-size: 0.7rem;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: var(--retro-cream);
    opacity: 0.8;
}

.window-frame {
    position: relative;
    will-change: transform;
    touch-action: none;
    transition: filter 0.2s ease;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.window-frame.is-dragging {
    filter: brightness(1.05);
    transition: none;
}

.broadcast-indicator {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    color: var(--retro-amber);
    font-size: 0.85rem;
    letter-spacing: 0.12rem;
    text-align: right;
}

.window-handle {
    cursor: grab;
    user-select: none;
}

.window-handle:active {
    cursor: grabbing;
}

/* Make entire header area draggable, including border */
.panel-header.window-handle,
.terminal-header.window-handle,
.blimp-header.window-handle {
    cursor: grab;
}

.panel-header.window-handle:active,
.terminal-header.window-handle:active,
.blimp-header.window-handle:active {
    cursor: grabbing;
}

.panel-controls {
    position: absolute;
    right: -16px;
    top: -4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.terminal-header .panel-controls {
    right: -40px;
    top: -14px;
}

.panel-controls .terminal-time {
    color: var(--retro-amber);
    font-size: 0.78rem;
    letter-spacing: 0.14rem;
    margin-right: 8px;
}

.window-close {
    border: 1px solid rgba(156, 111, 230, 0.5);
    background: rgba(8, 1, 36, 0.6);
    color: var(--retro-cream);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.9rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.window-close:hover,
.window-close:focus-visible {
    background: rgba(156, 111, 230, 0.3);
    transform: scale(1.05);
}


.indicator-light {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--retro-amber);
    box-shadow: 0 0 14px rgba(245, 230, 99, 0.8);
    animation: indicatorPulse 2.4s ease-in-out infinite;
}

.indicator-label {
    text-transform: uppercase;
}

.indicator-clock {
    font-size: 0.75rem;
    letter-spacing: 0.18rem;
    font-variant-numeric: tabular-nums;
    color: var(--retro-cream);
}

@keyframes indicatorPulse {
    0%, 100% { opacity: 0.9; transform: scale(0.9); }
    50% { opacity: 0.4; transform: scale(1.1); }
}

.container {
    position: relative;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    padding: 48px 24px 20px;
    gap: 32px;
}

.propaganda-panel {
    position: relative;
    max-width: 1200px;
    width: 100%;
    padding: 28px 44px 50px;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.45),
        inset 0 0 48px rgba(106, 0, 255, 0.12),
        inset 0 0 18px rgba(80, 160, 230, 0.12);
    backdrop-filter: blur(18px);
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(0) scale(1);
    transition: transform 0.35s ease, box-shadow 0.45s ease;
}

.propaganda-panel.is-hovered {
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.55),
        inset 0 0 60px rgba(106, 0, 255, 0.18),
        inset 0 0 24px rgba(80, 160, 230, 0.18);
}

.propaganda-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(106, 0, 255, 0.12) 0%, transparent 35%, transparent 65%, rgba(80, 160, 230, 0.12) 100%);
    opacity: 0.9;
    pointer-events: none;
}

.propaganda-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(154, 111, 230, 0.18), transparent);
    animation: panelSweep 6s linear infinite;
    opacity: 0.4;
    pointer-events: none;
}

@keyframes panelSweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.terminal-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 16px;
    margin-bottom: 24px;
    margin-top: -10px;
    border-bottom: 1px solid rgba(156, 111, 230, 0.35);
    user-select: none;
    cursor: grab;
    padding-right: 0;
}

.terminal-header:active {
    cursor: grabbing;
}

.terminal-title {
    color: var(--blurple-light);
    font-size: 1.1rem;
    letter-spacing: 0.24rem;
    text-transform: uppercase;
}

.terminal-time {
    color: var(--retro-amber);
    font-size: 0.95rem;
    letter-spacing: 0.18rem;
}

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

.slogan-main {
    font-size: 2.3rem;
    letter-spacing: 0.22rem;
    text-transform: uppercase;
    color: var(--text-primary);
    text-shadow:
        0 0 18px rgba(106, 0, 255, 0.45),
        0 0 48px rgba(80, 160, 230, 0.35);
    margin-bottom: 8px;
}

.slogan-sub {
    font-size: 1rem;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    color: var(--retro-cream);
    margin-bottom: 22px;
}

.progress-display {
    margin: 18px 0;
}

.progress-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.progress-bar {
    width: 100%;
    height: 18px;
    background: rgba(9, 3, 26, 0.85);
    border: 1px solid rgba(80, 160, 230, 0.35);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 87%;
    background: linear-gradient(90deg, rgba(58, 0, 136, 0.9), rgba(106, 0, 255, 0.95), rgba(80, 160, 230, 0.85));
    box-shadow: 0 0 22px rgba(106, 0, 255, 0.45);
    transition: width 0.8s ease;
}

.progress-percentage {
    margin-top: 8px;
    text-align: right;
    color: var(--retro-cream);
    letter-spacing: 0.16rem;
    font-size: 0.9rem;
}

.intel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.intel-expand-trigger {
    border: 1px solid rgba(156, 111, 230, 0.45);
    background: rgba(18, 8, 48, 0.75);
    color: var(--retro-cream);
    font-size: 0.78rem;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    align-self: flex-start;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: inset 0 0 12px rgba(106, 0, 255, 0.08);
}

.intel-expand-trigger:hover,
.intel-expand-trigger:focus-visible {
    border-color: rgba(156, 111, 230, 0.7);
    background: rgba(24, 12, 60, 0.85);
    box-shadow: inset 0 0 16px rgba(106, 0, 255, 0.16);
}

.intel-expand-trigger:focus-visible {
    outline: 2px solid var(--blurple-teal);
    outline-offset: 4px;
}

.intel-item {
    background: rgba(12, 5, 32, 0.75);
    border: 1px solid rgba(156, 111, 230, 0.35);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: inset 0 0 20px rgba(106, 0, 255, 0.08);
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    min-height: 104px;
}

.intel-item:hover,
.intel-item.is-expanded {
    border-color: rgba(156, 111, 230, 0.6);
    box-shadow: inset 0 0 24px rgba(106, 0, 255, 0.16);
    background: rgba(18, 8, 48, 0.85);
}

.intel-item:focus-visible {
    outline: 2px solid var(--blurple-teal);
    outline-offset: 4px;
}

.intel-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
}

.intel-value {
    font-size: 1.05rem;
    letter-spacing: 0.12rem;
    color: var(--retro-cream);
}

.intel-trend {
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: var(--blurple-teal);
}

.intel-detail {
    margin-top: 8px;
    color: var(--text-primary);
    font-size: 0.75rem;
    letter-spacing: 0.05rem;
    line-height: 1.4;
    display: none;
}

.intel-item.is-expanded .intel-detail {
    display: block;
}

.propaganda-decoration {
    position: relative;
    margin: 28px 0;
}

.decoration-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(106, 0, 255, 0.65), transparent);
    overflow: hidden;
    position: relative;
}

.decoration-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(240, 232, 255, 0.65), transparent);
    animation: lineSweep 5s linear infinite;
}

@keyframes lineSweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.cyber-elements {
    margin: 18px 0 20px;
}

.hologram-text {
    text-align: center;
    font-size: 1.05rem;
    letter-spacing: 0.14rem;
    color: var(--blurple-teal);
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(80, 160, 230, 0.6);
    margin-bottom: 10px;
}

.data-stream {
    display: grid;
    gap: 6px;
}

.data-line {
    color: var(--blurple-light);
    font-size: 0.85rem;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-ticker {
    margin: 16px 0;
    padding: 10px 16px;
    border: 1px solid rgba(80, 160, 230, 0.35);
    border-radius: 10px;
    background: rgba(10, 4, 32, 0.7);
    box-shadow: inset 0 0 18px rgba(80, 160, 230, 0.12);
}

.ticker-label {
    font-size: 0.72rem;
    letter-spacing: 0.2rem;
    color: var(--blurple-teal);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.ticker-content {
    font-size: 0.95rem;
    letter-spacing: 0.08rem;
    color: var(--retro-cream);
    text-transform: uppercase;
}

.warning-footer {
    margin-top: 18px;
    padding-top: 14px;
    padding-bottom: 8px;
    border-top: 1px solid rgba(245, 230, 99, 0.35);
}

.warning-text {
    text-align: center;
    color: var(--retro-amber);
    font-size: 0.85rem;
    letter-spacing: 0.22rem;
    text-transform: uppercase;
    margin: 6px 0;
}

.side-panel {
    position: relative;
    width: 240px;
    background: rgba(12, 5, 32, 0.88);
    border: 1px solid rgba(106, 0, 255, 0.35);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
}

.left-panel { align-self: flex-start; margin-top: 120px; }
.right-panel { align-self: flex-end; margin-bottom: 120px; }

.panel-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
    color: var(--blurple-light);
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    font-size: 0.78rem;
    padding: 12px 0 10px 0;
    border-bottom: 1px solid rgba(156, 111, 230, 0.35);
    margin-bottom: 16px;
    margin-top: -12px;
    user-select: none;
    position: relative;
    cursor: grab;
    padding-right: 70px;
}

.panel-header:active {
    cursor: grabbing;
}

.panel-title {
    pointer-events: none;
}

.diagnostic-item,
.metric-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
    font-size: 0.78rem;
    flex-wrap: wrap;
}

.diag-label,
.metric-label {
    flex: 1;
    color: var(--text-muted);
    letter-spacing: 0.12rem;
}

.diag-value,
.metric-value {
    flex: 0 0 auto;
    color: var(--retro-cream);
    letter-spacing: 0.12rem;
}

.metric-value {
    color: var(--blurple-teal);
    max-width: 100%;
    text-align: right;
    overflow-wrap: anywhere;
}

body.overlay-open {
    overflow: hidden;
}

.intel-overlay {
    position: fixed;
    inset: 0;
    z-index: 8;
    display: none;
}

.intel-overlay.is-visible {
    display: block;
}

.intel-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(4px);
}

.intel-overlay-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(860px, 90vw);
    max-height: 80vh;
    background: rgba(10, 4, 32, 0.92);
    border: 1px solid rgba(156, 111, 230, 0.45);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
    overflow-y: auto;
}

.intel-overlay-close {
    position: absolute;
    top: 24px;
    right: 24px;
    border: 1px solid rgba(156, 111, 230, 0.5);
    background: transparent;
    color: var(--retro-cream);
    text-transform: uppercase;
    letter-spacing: 0.16rem;
    font-size: 0.68rem;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.intel-overlay-close:hover,
.intel-overlay-close:focus-visible {
    border-color: rgba(156, 111, 230, 0.8);
}

.intel-overlay-title {
    font-size: 1.4rem;
    letter-spacing: 0.26rem;
    text-transform: uppercase;
    color: var(--blurple-light);
    margin-bottom: 6px;
}

.intel-overlay-subtitle {
    font-size: 0.82rem;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.intel-overlay-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.intel-overlay-item {
    background: rgba(18, 8, 48, 0.8);
    border: 1px solid rgba(156, 111, 230, 0.35);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: inset 0 0 18px rgba(106, 0, 255, 0.08);
}

.intel-overlay-item .overlay-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
}

.intel-overlay-item .overlay-value {
    color: var(--retro-cream);
    font-size: 1.05rem;
    letter-spacing: 0.12rem;
}

.intel-overlay-item .overlay-trend {
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.intel-overlay-item .overlay-detail {
    font-size: 0.72rem;
    letter-spacing: 0.06rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.mini-bar {
    flex: 1;
    height: 6px;
    border-radius: 4px;
    background: rgba(8, 2, 37, 0.6);
    border: 1px solid rgba(106, 0, 255, 0.35);
    overflow: hidden;
    position: relative;
}

.mini-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(58, 0, 136, 0.85), rgba(106, 0, 255, 0.9), rgba(80, 160, 230, 0.75));
    width: 0;
}

.scan-lines {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(154, 111, 230, 0.02) 2px,
        rgba(154, 111, 230, 0.02) 4px
    );
    animation: scanLines 0.2s linear infinite;
}

@keyframes scanLines {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

/* PRODUCT WINDOWS */
.product-window {
    position: absolute;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    z-index: 50;
    touch-action: none;
    will-change: transform;
    pointer-events: auto;
    transition: width 0.25s ease, height 0.25s ease;
    min-height: 260px;
}

.window-frame.is-collapsed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


.product-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 12px rgba(156, 111, 230, 0.5));
}

.rust-icon { color: #ff6b6b; }
.octopus-icon { color: #9c6fe6; }
.cube-icon {
    position: relative;
    display: block;
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border: 2px solid #39ff14;
    box-shadow:
        inset 0 0 24px rgba(106, 0, 255, 0.7),
        0 0 18px rgba(57, 255, 20, 0.35);
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.25), transparent 45%),
        #4a0094;
    color: transparent;
}

.cube-icon::before,
.cube-icon::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(57, 255, 20, 0.75);
    inset: 10px;
}

.cube-icon::after {
    inset: 18px;
    border-color: rgba(57, 255, 20, 0.45);
}
.music-icon { color: #50a0e6; }
.engine-icon { 
    color: var(--blurple-teal);
    filter: drop-shadow(0 0 12px rgba(80, 160, 230, 0.6));
    animation: engineSpin 4s linear infinite;
}

@keyframes engineSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.product-title {
    font-size: 1.1rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: var(--blurple-light);
    text-align: center;
    margin-bottom: 8px;
}

.product-description {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-primary);
    letter-spacing: 0.06rem;
    text-align: center;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(156, 111, 230, 0.25);
}

.detail-item {
    font-size: 0.7rem;
    letter-spacing: 0.1rem;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
}

.detail-label {
    color: var(--text-muted);
    text-transform: uppercase;
}

.product-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 8px 16px;
    border: 1px solid rgba(156, 111, 230, 0.5);
    border-radius: 6px;
    color: var(--blurple-light);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.product-link:hover {
    border-color: rgba(156, 111, 230, 0.8);
    background: rgba(106, 0, 255, 0.15);
    box-shadow: 0 0 12px rgba(106, 0, 255, 0.3);
}

/* BLIMP/DRONE PROPAGANDA MACHINE */
.blimp-window {
    background: linear-gradient(135deg, rgba(12, 5, 32, 0.95) 0%, rgba(26, 10, 58, 0.95) 100%);
    border: 2px solid rgba(106, 0, 255, 0.65);
    box-shadow: 
        0 24px 48px rgba(0, 0, 0, 0.5),
        0 0 32px rgba(106, 0, 255, 0.3),
        inset 0 0 24px rgba(80, 160, 230, 0.1);
    position: relative;
    overflow: visible; /* Allow propellers to extend outside */
}

.blimp-body {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
}

.blimp-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    margin-top: -12px;
    border-bottom: 1px solid rgba(156, 111, 230, 0.35);
    user-select: none;
    cursor: grab;
    position: relative;
    padding-right: 74px;
    align-items: flex-start;
}

.blimp-header:active {
    cursor: grabbing;
}

.blimp-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(156, 111, 230, 0.35);
}

.blimp-title {
    font-size: 0.85rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: var(--blurple-light);
    text-align: left;
}

.blimp-status {
    font-size: 0.65rem;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #ff6b6b;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.blimp-body {
    position: relative;
    z-index: 1;
}

.blimp-frame {
    border: 2px solid rgba(106, 0, 255, 0.5);
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.8);
    margin-bottom: 12px;
}

.blimp-frame iframe {
    display: block;
    width: 100%;
    height: 270px;
}

.blimp-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.blimp-label {
    font-size: 0.7rem;
    line-height: 1.4;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.06rem;
}

.blimp-link {
    text-align: center;
}

.blimp-link a {
    color: var(--blurple-light);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.blimp-link a:hover {
    color: var(--blurple-teal);
    text-shadow: 0 0 8px rgba(80, 160, 230, 0.6);
}

.blimp-propellers {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

.propeller {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(106, 0, 255, 0.4);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(106, 0, 255, 0.2) 0%, transparent 70%);
    animation: spin 2s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.propeller::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 54px;
    background: linear-gradient(180deg, rgba(156, 111, 230, 0.65) 0%, rgba(245, 230, 99, 0.45) 45%, transparent 100%);
    opacity: 0.8;
    filter: drop-shadow(0 0 8px rgba(245, 230, 99, 0.5));
    animation: jetFlicker 1.6s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.propeller-left {
    left: -32px;
    top: 20%;
}

.propeller-right {
    right: -32px;
    top: 20%;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes jetFlicker {
    0% { opacity: 0.7; height: 48px; }
    40% { opacity: 0.4; height: 60px; }
    70% { opacity: 0.9; height: 52px; }
    100% { opacity: 0.7; height: 56px; }
}

.window-dock {
    position: fixed;
    top: 120px;
    right: 12px;
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: rgba(8, 1, 36, 0.85);
    border: 1px solid rgba(106, 0, 255, 0.4);
    border-radius: 14px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.45);
    z-index: 60;
}

.dock-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border: 1px solid rgba(156, 111, 230, 0.45);
    border-radius: 8px;
    background: rgba(16, 6, 38, 0.85);
    color: var(--text-primary);
    font-size: 0.72rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.dock-button:hover,
.dock-button:focus-visible {
    border-color: rgba(156, 111, 230, 0.85);
    background: rgba(106, 0, 255, 0.25);
    transform: translateX(-2px);
}

.dock-button.is-collapsed {
    border-color: rgba(245, 230, 99, 0.9);
    box-shadow: 0 0 12px rgba(245, 230, 99, 0.4);
}

.dock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blurple-light);
    box-shadow: 0 0 8px rgba(106, 0, 255, 0.7);
    flex-shrink: 0;
}

.dock-button.is-collapsed .dock-dot {
    background: var(--retro-amber);
    box-shadow: 0 0 8px rgba(245, 230, 99, 0.7);
}

.dock-label {
    flex: 1;
    text-align: left;
}

/* Add antenna/probe elements for drone aesthetic */
.blimp-window::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, rgba(106, 0, 255, 0.8) 0%, transparent 100%);
    border-radius: 2px 2px 0 0;
    box-shadow: 0 0 8px rgba(106, 0, 255, 0.5);
}

.blimp-window::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2px;
    background: #ff6b6b;
    border-radius: 50%;
    box-shadow: 0 0 6px #ff6b6b;
    animation: blink 1.5s ease-in-out infinite;
}

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

/* Mobile digital newspaper experience */
.mobile-newspaper {
    display: none;
    position: relative;
    z-index: 80;
    width: 100%;
    min-height: 100vh;
    padding: 32px 18px 96px;
    background: radial-gradient(circle at 50% 0%, rgba(98, 72, 166, 0.35), rgba(7, 3, 24, 0.95) 70%);
    color: var(--text-primary);
    overflow: hidden;
}

.mobile-newspaper::before {
    content: '';
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(245, 230, 99, 0.22);
    border-radius: 18px;
    pointer-events: none;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.55);
}

.mobile-newspaper-chrome {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 24px;
}

.mobile-newspaper-masthead {
    font-size: 1.1rem;
    letter-spacing: 0.4rem;
    text-transform: uppercase;
    color: var(--retro-cream);
    margin-bottom: 6px;
}

.mobile-newspaper-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 0.68rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.mobile-newspaper-pages {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    touch-action: pan-y pinch-zoom;
}

.mobile-newspaper-page {
    width: 100%;
    flex: 0 0 100%;
    padding: 16px 14px;
    border-radius: 18px;
    background: rgba(10, 4, 32, 0.92);
    border: 1px solid rgba(156, 111, 230, 0.35);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    box-sizing: border-box;
}

.mobile-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color: var(--retro-amber);
}

.mobile-page-index {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.mobile-page-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.mobile-page-body .window-close {
    display: none;
}

.mobile-page-body > * {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.mobile-page-body .product-content,
.mobile-page-body .blimp-body,
.mobile-page-body .mobile-bulletin-content,
.mobile-page-body .mobile-panel-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.mobile-bulletin-title {
    font-size: 0.9rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: var(--blurple-light);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(156, 111, 230, 0.3);
}

.mobile-newspaper-controls {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
}

.newspaper-nav {
    border: 1px solid rgba(156, 111, 230, 0.4);
    background: rgba(8, 1, 36, 0.75);
    color: var(--retro-cream);
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.62rem;
}

.mobile-newspaper-dots {
    display: flex;
    gap: 6px;
}

.mobile-newspaper-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(156, 111, 230, 0.3);
    border: none;
    transition: background 0.25s ease, transform 0.2s ease;
}

.mobile-newspaper-dots button.is-active {
    background: var(--retro-amber);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        height: auto;
    }

    .broadcast-header,
    .container,
    .product-window,
    .side-panel,
    .window-dock {
        display: none !important;
    }

    .mobile-newspaper {
        display: flex;
        flex-direction: column;
    }

    .blimp-window {
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        min-height: 280px;
    }

    .blimp-frame {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
    }

    .blimp-frame iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
}

