/**
 * Wheel of Fortune Game Styles
 *
 * @package EvoLottery
 * @since 1.0.0
 */

.evolottery-wheel-container { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 70vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 20px; position: relative; }

/* Loading message */
.evolottery-wheel-loading { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 20px 40px; background: rgba(255, 255, 255, 0.95); border-radius: 15px; font-size: 20px; font-weight: 600; color: #667eea; text-align: center; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2); z-index: 100; }
.evolottery-wheel-container.loaded .evolottery-wheel-loading { display: none; }

/* Processing overlay (Instant Win mode) */
.evolottery-instant-win-game { position: relative; }
.evolottery-processing-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; z-index: 1000; border-radius: 15px; }
.evolottery-processing-message { padding: 30px 50px; background: rgba(255, 255, 255, 0.95); border-radius: 15px; font-size: 24px; font-weight: 700; color: #667eea; text-align: center; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); animation: processingPulse 1.5s ease-in-out infinite; }
@keyframes processingPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.evolottery-wheel-wrapper { position: relative; width: 500px; height: 500px; max-width: 90vw; max-height: 90vw; }
.evolottery-wheel { width: 100%; height: 100%; border-radius: 50%; position: relative; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99); }

/* Arrow/Pointer */
.evolottery-wheel-arrow { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 40px solid #fff; z-index: 10; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3)); }

/* Center logo */
.evolottery-wheel-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100px; height: 100px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2); z-index: 5; overflow: hidden; }
.evolottery-wheel-logo { width: 90%; height: 90%; max-width: 90%; max-height: 90%; object-fit: contain; border-radius: 50%; }

/* Spin button */
.evolottery-spin-btn { margin-top: 40px; padding: 15px 40px; background: #fff; color: #667eea; border: none; border-radius: 50px; font-size: 20px; font-weight: 700; cursor: pointer; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2); transition: transform 0.2s, box-shadow 0.2s; }
.evolottery-spin-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 25px rgba(0, 0, 0, 0.3); }
.evolottery-spin-btn:disabled { opacity: 0.2; cursor: not-allowed; }

/* Result message */
.evolottery-wheel-result { margin-top: 30px; padding: 20px 40px; background: rgba(255, 255, 255, 0.95); border-radius: 15px; font-size: 24px; font-weight: 700; text-align: center; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2); opacity: 0; transition: opacity 0.5s; }
.evolottery-wheel-result.show { opacity: 1; }
.evolottery-wheel-result.win { color: #00a32a; }
.evolottery-wheel-result.lose { color: #d63638; }

/* Responsive */
@media (max-width: 600px) {
    .evolottery-wheel-wrapper { width: 350px; height: 350px; }
    .evolottery-wheel-center { width: 70px; height: 70px; }
    .evolottery-spin-btn { font-size: 18px; padding: 12px 30px; }
    .evolottery-wheel-result { font-size: 20px; padding: 15px 30px; }
}
