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

body {
    font-family: 'Comic Sans MS', 'Arial', cursive;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

h1 {
    color: white;
    text-align: center;
    font-size: 2rem;
    margin: 0;
    padding: 15px 10px 5px 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1000;
}

.instruction {
    color: white;
    text-align: center;
    font-size: 1rem;
    margin: 0;
    padding: 0 10px 15px 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1000;
}

#map {
    width: 100%;
    flex: 1;
    border: none;
    border-radius: 0;
    box-shadow: none;
    cursor: crosshair;
}

/* Animation de vibration */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.shake-animation {
    animation: shake 0.5s;
}

/* Message d'erreur style comic */
.error-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    transition: opacity 0.3s;
}

.error-message.hidden {
    display: none;
    opacity: 0;
}

.comic-bubble {
    background: white;
    border: 6px solid black;
    border-radius: 30px;
    padding: 40px 60px;
    position: relative;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.5);
    transform: rotate(-2deg);
}

.success-bubble {
    background: #ffeb3b;
    border-color: #f57f17;
    transform: rotate(2deg);
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% { transform: scale(0) rotate(2deg); }
    50% { transform: scale(1.1) rotate(2deg); }
    100% { transform: scale(1) rotate(2deg); }
}

.comic-bubble::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 30px solid black;
}

.comic-bubble::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 25px solid white;
}

.comic-text {
    font-size: 5rem;
    color: #ff0000;
    font-weight: bold;
    text-align: center;
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.comic-subtext {
    font-size: 1.8rem;
    color: #ff0000;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.retry {
    font-size: 1.2rem;
    color: #333;
    text-align: center;
}

/* Message de succès */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    transition: opacity 0.3s;
}

.success-message.hidden {
    display: none;
    opacity: 0;
}

.comic-text-success {
    font-size: 5rem;
    color: #2e7d32;
    font-weight: bold;
    text-align: center;
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.comic-subtext-success {
    font-size: 1.8rem;
    color: #2e7d32;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.congrats {
    font-size: 1.2rem;
    color: #1b5e20;
    text-align: center;
}

/* Slideshow */
.slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.slideshow.hidden {
    display: none;
}

.slideshow-header {
    width: 100%;
    max-width: 95vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.slideshow-header h2 {
    color: white;
    font-size: 2rem;
}

.close-btn {
    background: #ff4757;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-btn:hover {
    transform: scale(1.1);
    background: #ff3838;
}

.slideshow-container {
    position: relative;
    width: 95vw;
    max-width: 1600px;
    height: 85vh;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 25px;
    font-size: 1.6rem;
    text-align: center;
    font-weight: 500;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: black;
    border: none;
    font-size: 2.5rem;
    padding: 20px 25px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: bold;
    z-index: 10;
}

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 1);
}

.prev {
    left: 15px;
    border-radius: 0 8px 8px 0;
}

.next {
    right: 15px;
    border-radius: 8px 0 0 8px;
}

.slide-indicators {
    margin-top: 20px;
    text-align: center;
}
8px;
    width: 18px;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background-color: white;
    transform: scale(1.3)
.dot.active {
    background-color: white;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
        padding: 10px 5px 5px 5px;
    }
    
    .instruction {
        font-size: 0.9rem;
        padding: 0 5px 10px 5px;
    }width: 98vw;
        height: 70vh;
    }
    
    .slideshow-header h2 {
        font-size: 1.5rem;
    }
    
    .caption {
        font-size: 1.2rem;
        padding: 15px;
    }
    
    .prev, .next {
        font-size: 2rem;
        padding: 15px 18
    
    .slideshow-container {
        height: 400px;
    }
    
    .comic-text {
        font-size: 3rem;
    }
    
    .comic-subtext {
        font-size: 1.3rem;
    }
}
