:root {
    --bg-color: #050508;
    --text-primary: #e6edf5;
    --text-secondary: #7a8c9e;
    --accent: #2e89ff;
    --accent-light: #70b3ff;
    --accent-glow: rgba(46, 137, 255, 0.8);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, sans-serif;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

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

/* Error State */
.error-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 15, 25, 0.9);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}
.error-box {
    text-align: center;
    padding: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 12px;
}
.file-drop-area {
    margin-top: 20px;
    padding: 20px;
    background: rgba(46, 137, 255, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    border-radius: 8px;
    cursor: pointer;
}

/* Canvas Layer */
.canvas-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fill the slide */
}

#glow-canvas {
    z-index: 2;
    mix-blend-mode: screen;
    pointer-events: none;
    /* Soft pulsing effect */
    animation: neon-pulse 2.5s infinite alternate ease-in-out;
}

@keyframes neon-pulse {
    0% { 
        opacity: 0.3; 
        filter: blur(10px) brightness(0.9); 
    }
    100% { 
        opacity: 1; 
        filter: blur(12px) brightness(1.8) drop-shadow(0 0 15px var(--accent-glow)); 
    }
}

/* Text Layer */
.text-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none; /* Let clicks pass through */
    padding: 5% 6%;
}

/* Make text editable nicely if they try to select */
.text-layer > div {
    pointer-events: auto;
}

/* Typography Base */
h1, h2, h3, h4, p, ul {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

/* Main Title Area */
.title-block {
    position: absolute;
    top: 32%;
    left: 6%;
    max-width: 400px;
    background: radial-gradient(ellipse at center, rgba(5,5,10,0.9) 20%, rgba(5,5,10,0.5) 60%, transparent 80%);
    backdrop-filter: blur(8px);
    padding: 40px 60px;
    margin: -40px -60px;
    border-radius: 50%;
}
.title-block h1 {
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 5px;
    color: #ffffff;
}
.title-block .subtitle-and {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin: 8px 0;
}
.title-divider {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.2);
    width: 40px;
    margin: 20px 0;
    margin-left: 0;
}
.title-block .description {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    line-height: 1.6;
}

/* Left List Area */
.list-block {
    position: absolute;
    bottom: 20%;
    left: 28%;
    background: radial-gradient(ellipse at center, rgba(5,5,10,0.9) 30%, rgba(5,5,10,0.4) 70%, transparent 90%);
    backdrop-filter: blur(6px);
    padding: 30px 50px;
    margin: -30px -50px;
    border-radius: 40px;
}
.list-block ul {
    list-style: none;
    font-size: 9px;
    color: #4b5f75;
    letter-spacing: 2px;
    line-height: 2.2;
    text-align: right;
}

/* Callouts */
.callout {
    position: absolute;
    background: radial-gradient(circle at center, rgba(5,5,10,0.9) 20%, rgba(5,5,10,0.3) 70%, transparent 90%);
    backdrop-filter: blur(6px);
    padding: 30px;
    margin: -30px;
    border-radius: 50%;
}
.callout h3 {
    font-size: 10px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}
.callout h4 {
    font-size: 10px;
    color: var(--accent-light);
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.callout p {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.5;
}

/* Phase 1 */
.callout-phase-1 {
    top: 15%;
    left: 32%;
}

/* Phase 2 */
.callout-phase-2 {
    bottom: 35%;
    right: 12%;
}

/* Footer Area */
.footer-block {
    position: absolute;
    bottom: 6%;
    left: 6%;
    font-size: 10px;
    color: var(--text-secondary);
    letter-spacing: 2.5px;
    display: flex;
    gap: 15px;
    font-weight: 300;
    background: radial-gradient(ellipse at center, rgba(5,5,10,0.9) 20%, rgba(5,5,10,0.4) 60%, transparent 80%);
    backdrop-filter: blur(6px);
    padding: 20px 40px;
    margin: -20px -40px;
    border-radius: 30px;
}
.footer-block .sep {
    color: #3b4c60;
}
