/* Dice Game Styles */
.dice-game-container {
    text-align: center;
    padding: 30px;
    color: white;
    font-family: 'Rajdhani', sans-serif;
}

.game-header {
    margin-bottom: 30px;
}

.game-header h2 {
    color: var(--neon-blue);
    font-size: 2em;
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.user-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.user-stats span {
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    font-weight: 600;
}

.dice-area {
    margin-bottom: 30px;
}

.dice-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.dice {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    box-shadow: 0 0 15px var(--neon-blue);
    transition: all 0.3s ease;
}

.dice:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--neon-blue);
}

.dice-total {
    font-size: 1.5em;
    color: var(--neon-purple);
    font-weight: bold;
    text-shadow: 0 0 10px var(--neon-purple);
}

.betting-area {
    margin-bottom: 30px;
}

.betting-area label {
    display: block;
    margin-bottom: 10px;
    color: var(--neon-blue);
    font-weight: 600;
}

.betting-area input {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--neon-blue);
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.betting-area input:focus {
    outline: none;
    box-shadow: 0 0 15px var(--neon-blue);
}

.bet-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bet-buttons button {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: black;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bet-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--neon-blue);
}

.roll-button {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: black;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.roll-button:hover {
    box-shadow: 0 0 20px var(--neon-blue);
    transform: translateY(-3px) scale(1.05);
}

.roll-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.game-result {
    margin-bottom: 20px;
    min-height: 60px;
}

.result-message {
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1em;
    animation: fadeInOut 2s ease-in-out;
}

.result-message.win {
    background: rgba(0, 255, 0, 0.2);
    border: 2px solid #00ff00;
    color: #00ff00;
}

.result-message.lose {
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid #ff0000;
    color: #ff0000;
}

.result-message.point {
    background: rgba(255, 255, 0, 0.2);
    border: 2px solid #ffff00;
    color: #ffff00;
}

.result-details {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.result-label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.result-value {
    font-weight: 600;
    color: var(--neon-blue);
}

.result-value.positive {
    color: #00ff00;
}

.result-value.negative {
    color: #ff0000;
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.stat {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--neon-blue);
    text-align: center;
}

.stat span {
    color: var(--neon-blue);
    font-weight: 600;
}

/* Animations pour le Dice Game */
@keyframes diceRoll {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(1.2); }
    75% { transform: rotate(270deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-20px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* Notifications pour le Dice Game */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 247, 255, 0.9);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    z-index: 10000;
    animation: slideIn 0.3s ease-out;
}

.notification.error {
    background: rgba(255, 0, 0, 0.9);
}

.notification.info {
    background: rgba(0, 247, 255, 0.9);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Responsive Design pour Dice Game */
@media (max-width: 768px) {
    .dice-game-container {
        padding: 20px;
    }
    
    .game-header h2 {
        font-size: 1.5em;
    }
    
    .user-stats {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .dice-container {
        gap: 15px;
    }
    
    .dice {
        width: 60px;
        height: 60px;
    }
    
    .bet-buttons {
        gap: 8px;
    }
    
    .bet-buttons button {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .roll-button {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .game-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .result-details {
        grid-template-columns: 1fr;
    }
} 