.game-container {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-header h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.game-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-box {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 150px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Fredoka', sans-serif;
}

.game-board {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.game-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.game-btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
}

.game-btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.4);
}

.game-btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.game-btn-secondary:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
}

.game-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bet-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.bet-input {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    width: 150px;
    font-family: 'Poppins', sans-serif;
}

.bet-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.bet-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.bet-btn:hover {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
}

.message-box {
    text-align: center;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.message-box.show {
    opacity: 1;
}

.message-win {
    background: #C8E6C9;
    color: var(--primary-dark);
}

.message-lose {
    background: #FFEBEE;
    color: #C62828;
}

.message-info {
    background: #E1F5FE;
    color: #01579B;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-link:hover {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .game-board {
        padding: 1.5rem;
    }

    .game-header h1 {
        font-size: 2rem;
    }

    .stat-box {
        min-width: 120px;
        padding: 1rem 1.5rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .game-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

.slots-reels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.slot-reel {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 4px solid var(--primary-color);
    border-radius: 15px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.slot-reel.spinning {
    animation: spin 0.1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

.dice-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.dice {
    width: 120px;
    height: 120px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-dark);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dice.rolling {
    animation: roll 0.5s ease-in-out;
}

@keyframes roll {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); }
}

.prediction-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.prediction-btn {
    padding: 1rem;
    background: white;
    border: 3px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
}

.prediction-btn:hover {
    border-color: var(--primary-light);
    background: var(--bg-light);
}

.prediction-btn.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.wheel-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 2rem auto;
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    transition: transform 3s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    background: conic-gradient(
        from 0deg,
        #4CAF50 0deg 45deg,
        #FFA726 45deg 90deg,
        #42A5F5 90deg 135deg,
        #AB47BC 135deg 180deg,
        #EF5350 180deg 225deg,
        #26A69A 225deg 270deg,
        #FFCA28 270deg 315deg,
        #66BB6A 315deg 360deg
    );
    border: 8px solid var(--primary-dark);
}

.wheel-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-label {
    position: absolute;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.wheel-pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 40px solid #C62828;
    z-index: 20;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

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

    .slots-reels {
        gap: 0.5rem;
    }

    .slot-reel {
        height: 100px;
        font-size: 3rem;
    }

    .dice {
        width: 90px;
        height: 90px;
        font-size: 3rem;
    }
}
