:root {
    --primary-color: #00bcd4; /* Cyan/Space Blue */
    --secondary-color: #673ab7; /* Deep Purple */
    --text-color: #ffffff;
    --bg-dark: #0a0e17;
    --glass-bg: rgba(10, 14, 23, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-color);
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background: #000; /* Fallback */
}

/* Darkening overlay for map to make text pop */
#map::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Slight tint */
    pointer-events: none;
    z-index: 400; /* Above map tiles, below UI */
}

#presentation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through to map where not on UI */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5%;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    pointer-events: auto;
    transition: all 0.3s ease;
}

.glass-panel-sm {
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 50px; /* Pill shape */
    padding: 0.5rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

#slide-card {
    max-width: 600px; /* Limit width for reading */
    width: 90%;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

#slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    background: linear-gradient(90deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#slide-content {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e2e8f0;
}

#slide-content ul {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

#slide-content li {
    margin-bottom: 0.5rem;
}

.controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

#slide-counter {
    font-variant-numeric: tabular-nums;
    font-size: 0.9rem;
    opacity: 0.8;
    min-width: 3rem;
    text-align: center;
}

.separator {
    width: 1px;
    height: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 0.5rem;
}

/* Progress Bar */
.progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
}

#progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    #presentation-container {
        padding: 0;
        align-items: center;
        justify-content: flex-end; /* Push to bottom on mobile */
        padding-bottom: 6rem;
    }
    
    #slide-card {
        width: 90%;
        max-height: 50vh;
        overflow-y: auto;
    }

    #slide-title {
        font-size: 1.8rem;
    }
}
