/* Base styles */ body { font-family: 'Poppins', sans-serif; } /* Blinking animation */ @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } .hovered-element { animation: blink 1.5s infinite; } /* Wheel animation */ @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(3600deg); } } .wheel { transform: rotate(0deg); } .wheel.spinning { animation: spin 5s cubic-bezier(0.17, 0.67, 0.21, 0.99) forwards; } /* Wheel segments */ .wheel-segment { position: absolute; width: 50%; height: 50%; transform-origin: bottom right; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; overflow: hidden; } /* Result modal */ .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 100; justify-content: center; align-items: center; } .modal-content { background-color: white; padding: 2rem; border-radius: 1rem; max-width: 90%; text-align: center; animation: fadeIn 0.3s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }