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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
}

#presentation-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#presentation-canvas {
    display: block;
    cursor: pointer;
}

#controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-btn, .control-btn {
    background: #E53E3E;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(229, 62, 62, 0.3);
}

.control-btn {
    border-radius: 15px;
    padding: 8px 12px;
    font-size: 14px;
}

.nav-btn:hover, .control-btn:hover {
    background: #C53030;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.4);
}

.nav-btn:active, .control-btn:active {
    transform: translateY(0);
}

#slide-counter {
    color: #2D3748;
    font-weight: 600;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

#progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
}

#progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #E53E3E, #FC8181);
    width: 12.5%;
    transition: width 0.3s ease;
    border-radius: 0 2px 2px 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #controls {
        bottom: 10px;
        padding: 8px 15px;
        gap: 10px;
    }
    
    .nav-btn, .control-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .control-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    #slide-counter {
        font-size: 12px;
        min-width: 35px;
    }
}

/* Footer link */
.footer-link {
    position: absolute;
    bottom: 80px;
    right: 20px;
    color: #718096;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 1;
    color: #E53E3E;
}

/* Loading animation */
@keyframes berry-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.berry-icon {
    animation: berry-bounce 2s infinite;
    display: inline-block;
}