.roulette-wheel-container {
    text-align: center;
    margin-bottom: 32px;
}

.wheel-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.wheel {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(
        #c73e1d 0deg 25.7deg,
        #2a1810 25.7deg 51.4deg,
        #c73e1d 51.4deg 77.1deg,
        #2a1810 77.1deg 102.8deg,
        #c73e1d 102.8deg 128.5deg,
        #2a1810 128.5deg 154.2deg,
        #c73e1d 154.2deg 180deg,
        #2a1810 180deg 205.7deg,
        #c73e1d 205.7deg 231.4deg,
        #2a1810 231.4deg 257.1deg,
        #c73e1d 257.1deg 282.8deg,
        #2a1810 282.8deg 308.5deg,
        #c73e1d 308.5deg 334.2deg,
        #3d5a3d 334.2deg 360deg
    );
    border: 12px solid #d4a574;
    box-shadow: 0 0 40px rgba(199, 62, 29, 0.5), inset 0 0 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel.spinning {
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4a574 0%, #f4d9b8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.acorn {
    font-size: 40px;
}

.wheel-pointer {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    color: #d4a574;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.winning-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-top: 16px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.winning-number.win {
    background: linear-gradient(90deg, #d4a574 0%, #f4d9b8 100%);
    animation: winPulse 0.5s ease-in-out 3;
}

.winning-number.red {
    color: #c73e1d;
}

.winning-number.black {
    color: #2a1810;
}

.winning-number.green {
    color: #3d5a3d;
}

.betting-table {
    background: var(--bg-cream);
    padding: 24px;
    border-radius: 16px;
    margin-top: 32px;
}

.betting-table h3 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.bet-options {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
}

.bet-category h4 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 16px;
}

.bet-category {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bet-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.bet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.bet-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(199, 62, 29, 0.3);
}

.red-bet {
    background: linear-gradient(135deg, #c73e1d 0%, #d4521d 100%);
    color: white;
    border-color: #c73e1d;
}

.black-bet {
    background: linear-gradient(135deg, #2a1810 0%, #3d2a1f 100%);
    color: white;
    border-color: #2a1810;
}

.green-bet {
    background: linear-gradient(135deg, #3d5a3d 0%, #4a7c4e 100%);
    color: white;
    border-color: #3d5a3d;
}

.active-bets {
    background: white;
    padding: 16px;
    border-radius: 8px;
    margin-top: 24px;
}

.active-bets h4 {
    margin-bottom: 12px;
    color: var(--text-dark);
}

#betsList {
    color: var(--text-light);
    font-size: 14px;
}

.bet-item {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    margin-bottom: 4px;
}

.betting-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.bet-amount-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bet-amount-control label {
    font-weight: 600;
    color: var(--text-dark);
}

.bet-amount-control input {
    width: 120px;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .wheel {
        width: 250px;
        height: 250px;
    }

    .wheel-center {
        width: 60px;
        height: 60px;
    }

    .acorn {
        font-size: 30px;
    }

    .bet-options {
        grid-template-columns: 1fr;
    }

    .betting-controls {
        flex-direction: column;
    }
}