:root {
    --neon-green: #26a69a;
    --neon-green-dim: #00897b;
    --bg-glass: rgba(0,10,8,0.4);
    --border-glow: rgba(38,166,154,0.4);
}

body {
    background: linear-gradient(135deg, #000a08 0%, #051510 50%, #000a08 100%);
    font-family: 'IBM Plex Mono', monospace;
    color: var(--neon-green);
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(38,166,154,0.05) 0%, transparent 50%, rgba(38,166,154,0.03) 100%);
    pointer-events: none;
    z-index: 0;
}

.presentation-container {
    position: relative;
    width: 1280px;
    height: 720px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 50px #26a69a1a;
}

.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        color-mix(in srgb, #26a69a 8%, transparent) 2px,
        color-mix(in srgb, #26a69a 8%, transparent) 4px
    );
}

.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.3));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 20;
    opacity: 0.3;
}

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid var(--border-glow);
    box-shadow: inset 0 0 20px #26a69a0d, 0 0 15px #26a69a1a;
}

.header {
    position: relative;
    z-index: 10;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glow);
}

.header h1 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 0 10px var(--neon-green), 0 0 20px #26a69a4d;
}

.timestamp {
    font-size: 1.2rem;
    color: #9ad5d0;
    text-shadow: 0 0 5px var(--neon-green);
}

.content-area {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    padding: 30px 40px;
    gap: 30px;
}

.text-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.quote-box {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #b2dfdb;
    padding: 20px 25px;
    border-left: 4px solid var(--neon-green);
    background: #26a69a14;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
    font-style: italic;
}

.transcript-box {
    font-size: 1rem;
    line-height: 1.5;
    color: #80cbc4;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #26a69a33;
}

.diagram-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.svg-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-container svg {
    max-width: 90%;
    max-height: 90%;
    filter: drop-shadow(0 0 8px var(--neon-green));
}

@keyframes rotate { 100% { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 0.5; stroke-width: 1; } 50% { opacity: 1; stroke-width: 3; } }
@keyframes dash { to { stroke-dashoffset: 0; } }

.path-glow { stroke: var(--neon-green); fill: none; }
.path-pulse { animation: pulse 3s infinite; }
.path-spin { transform-origin: center; animation: rotate 20s linear infinite; }

.controls {
    position: relative;
    z-index: 10;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-glow);
}

.progress-container {
    flex: 1;
    margin: 0 30px;
    height: 6px;
    background: #26a69a1a;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background: var(--neon-green);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--neon-green);
}

.btn {
    background: transparent;
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    padding: 8px 16px;
    font-family: 'IBM Plex Mono', monospace;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s;
    font-weight: 600;
}

.btn:hover {
    background: var(--neon-green);
    color: #051510;
    box-shadow: 0 0 15px var(--neon-green);
}

.slide-counter {
    font-size: 0.9rem;
    color: #26a69ab3;
}

.teleprompter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    background-color: #000a08;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 60px;
    box-sizing: border-box;
    overflow-y: auto;
    cursor: none;
}

.teleprompter-overlay.show {
    display: flex;
}

.teleprompter-text {
    font-family: 'IBM Plex Mono', monospace;
    color: #26a69a;
    font-size: 1.6rem;
    line-height: 2.2;
    max-width: 1100px;
    text-shadow: 0 0 8px #26a69a4d;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.glitch-anim {
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}
@keyframes glitch {
    0% { transform: translate(0) }
    20% { transform: translate(-2px, 2px) }
    40% { transform: translate(-2px, -2px) }
    60% { transform: translate(2px, 2px) }
    80% { transform: translate(2px, -2px) }
    100% { transform: translate(0) }
}
