/* Core Deck Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
    position: relative;
}

/* Presentation Container */
.presentation-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Slides */
.slide {
    position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 60px;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.prev {
    transform: translateX(-100%);
}

.slide-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.slide-content.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Typography */
.slide-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #ffffff 0%, #a6d027 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.slide-title.epic {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f0f0f0;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #b0b0b0;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #a6d027 0%, #7fb020 100%);
    width: 10%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slide Counter */
.slide-counter {
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-size: 0.9rem;
    color: #808080;
    z-index: 100;
    font-family: 'JetBrains Mono', monospace;
}

/* Navigation Controls */
.nav-controls {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 100;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(166, 208, 39, 0.2);
    border-color: #a6d027;
    transform: scale(1.1);
}

.nav-btn:active {
    transform: scale(0.95);
}

/* Speaker Notes */
.speaker-notes {
    display: none;
}

.speaker-notes-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
    z-index: 999;
    backdrop-filter: blur(20px);
}

.speaker-notes-panel.visible {
    transform: translateY(0);
}

.speaker-notes-panel h3 {
    font-size: 1rem;
    color: #a6d027;
    margin-bottom: 10px;
}

.notes-content {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #b0b0b0;
    max-height: 120px;
    overflow-y: auto;
}

.notes-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s;
}

.notes-toggle:hover {
    background: rgba(166, 208, 39, 0.2);
    border-color: #a6d027;
}

/* Timer */
.timer {
    position: absolute;
    right: 20px;
    top: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    color: #a6d027;
}

/* Thumbnails Panel */
.thumbnails-panel {
    position: fixed;
    left: -300px;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    max-height: 80vh;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: left 0.3s;
    z-index: 998;
    overflow-y: auto;
    backdrop-filter: blur(20px);
}

.thumbnails-panel:hover {
    left: 20px;
}

.thumbnail {
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 0.85rem;
}

.thumbnail:hover {
    background: rgba(166, 208, 39, 0.1);
    border-color: #a6d027;
}

.swarm-viz {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust as needed */
    margin-top: 2rem;
}

.agent-swarm {
    position: relative;
    width: 100%;
    height: 100%;
}

.swarm-controls {
    text-align: center;
    margin-top: 1rem;
}

.swarm-controls button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swarm-controls button:hover {
    background: rgba(166, 208, 39, 0.3);
}

.swarm-controls button.active {
    background: #a6d027;
    color: #0a0a0a;
    font-weight: 600;
}

/* Leader Line Customization */
.flow-line {
    filter: drop-shadow(0 0 5px rgba(166, 208, 39, 0.7));
}

/* Utility Classes */
.fade-in {
    animation: fadeIn 1s forwards;
}

.fade-up {
    animation: fadeUp 1s forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

/* Responsive */
@media (max-width: 768px) {
    .slide {
        padding: 30px;
    }

    .slide-title {
        font-size: 2rem;
    }

    .nav-controls {
        bottom: 20px;
    }

    .thumbnails-panel {
        display: none;
    }
}