
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}

.animate-spin-reverse-slow {
    animation: spin-reverse-slow 12s linear infinite;
}

/* Enhance roulette wheel styling */
#wheel-outer {
    background: conic-gradient(
        #0f0f0f 0deg 9.73deg,
        #e50000 9.73deg 19.46deg,
        #0f0f0f 19.46deg 29.19deg,
        #e50000 29.19deg 38.92deg,
        /* Continue pattern for all 37 segments */
        #0f0f0f 350.27deg 360deg
    );
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#wheel-inner {
    background: radial-gradient(circle, #2c3e50 0%, #1a1a1a 100%);
    border: 2px solid #6D28D9;
}
#wheel-container {
    perspective: 1000px;
}

/* Roulette wheel segments */
#wheel-outer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,0));
    transform-origin: bottom;
    transform: rotate(9.73deg); /* 360/37 ≈ 9.73° per pocket */
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Create the 37 segments */
#wheel-outer {
    background: conic-gradient(
        from 0deg,
        #000000 0deg 9.73deg,
        #ff0000 9.73deg 19.46deg,
        /* Continue this pattern for all 37 segments */
        #000000 350.27deg 360deg
    );
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #wheel-container {
        height: 60vw;
    }
}
/* Bet notification animation */
@keyframes betPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.bet-notification {
    animation: betPulse 0.5s ease-in-out;
    background-color: rgba(16, 185, 129, 0.2);
    border: 1px solid #10B981;
}

/* Recent numbers styling */
.recent-number {
width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Lightning number animation */
@keyframes lightningPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 230, 0, 0.7); }
    50% { transform: scale(1.1); box-shadow: 0 0 20px 10px rgba(255, 230, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 230, 0, 0); }
}
.animate-pulse {
    animation: lightningPulse 1s infinite;
}

.prose {
    max-width: 65ch;
}
.prose ul {
    margin-top: 1em;
    margin-bottom: 1em;
}
.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.recent-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid;
}

.recent-number.red {
    background-color: #ef4444;
    color: white;
}

.recent-number.black {
    background-color: #1f2937;
    color: white;
}

.recent-number.green {
    background-color: #10b981;
    color: white;
}