@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

#counter {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    padding: 20px;
    margin-top: 60px;
    margin-bottom: 40px;
}

#egg {
    width: 400px;
    height: 400px;
    cursor: pointer;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease-in-out;
    object-fit: contain;
}

#objective {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #666;
    margin-top: 10px;
}

.reveal-button {
    font-family: 'Poppins', sans-serif;
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    position: fixed;
    top: 75%;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.reveal-button:hover {
    background-color: #45a049;
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.reveal-button.visible {
    animation: pulse 2s infinite;
}

/* Responsive design pour l'œuf */
@media (max-height: 900px) {
    #egg {
        width: 350px;
        height: 350px;
    }
}

@media (max-height: 700px) {
    #egg {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    #egg {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    #egg {
        width: 220px;
        height: 220px;
    }
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

.click-banner {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    animation: slideIn 15s linear infinite;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@keyframes slideIn {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.click-message {
    display: inline-block;
    padding: 0 20px;
    font-size: 18px;
    color: #333;
}

.click-popup {
    position: fixed;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: popupAnimation 2s ease-out forwards;
    z-index: 1000;
}
/* ... reste du CSS existant ... */

.info-box {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    text-align: center;
    color: #333;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
    50% { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2); }
    100% { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
}

@keyframes popupAnimation {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px);
    }
}

.wallet-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #333;
    padding: 8px 0;
    font-family: 'Poppins', sans-serif;
    z-index: 1000;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.wallet-activity {
    white-space: nowrap;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.wallet-item {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    font-size: 13px;
    animation: slideLeft 12s linear;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.wallet-item .egg-emoji {
    font-size: 16px;
    margin-left: 4px;
}

/* Animation pour le curseur au clic */
.click-animation {
    position: fixed;
    pointer-events: none;
    animation: clickEffect 0.5s ease-out;
    font-size: 20px;
    color: #333;
    font-weight: bold;
    z-index: 9999;
}

@keyframes clickEffect {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.3) translateY(-15px);
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
} 