/* Styles Personnalisés et Animations Stylisées Style Roblox */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Inter:wght@400;600;800;900&display=swap');

:root {
    --roblox-blue: #00a2ff;
    --roblox-yellow: #facc15;
    --roblox-red: #ef4444;
}

body {
    font-family: 'Fredoka', 'Inter', system-ui, -apple-system, sans-serif;
    user-select: none;
    -webkit-user-select: none;
    background-color: #030712;
    color: #f8fafc;
    overflow-x: hidden;
}

/* Scrollbar stylisée */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Animations de secousse d'œuf */
@keyframes egg-wobble {
    0%, 100% { transform: rotate(0deg) scale(1); }
    20% { transform: rotate(-10deg) scale(1.05); }
    40% { transform: rotate(10deg) scale(1.05); }
    60% { transform: rotate(-8deg) scale(1.08); }
    80% { transform: rotate(8deg) scale(1.08); }
}

.animate-egg-wobble {
    animation: egg-wobble 0.6s ease-in-out infinite;
}

/* Lueur pulsante cosmique */
@keyframes cosmic-pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(6, 182, 212, 0.5), inset 0 0 10px rgba(6, 182, 212, 0.3);
    }
    50% {
        box-shadow: 0 0 35px rgba(6, 182, 212, 0.9), inset 0 0 20px rgba(6, 182, 212, 0.6);
    }
}

.cosmic-glow {
    animation: cosmic-pulse 2s infinite;
}

/* Animation d'apparition en fondu */
@keyframes pop-in {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.animate-pop-in {
    animation: pop-in 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Boutons avec effet de relief Roblox */
.btn-roblox {
    position: relative;
    border-bottom: 4px solid rgba(0, 0, 0, 0.25);
    transition: all 0.08s ease;
}
.btn-roblox:active {
    border-bottom-width: 1px;
    transform: translateY(3px);
}
