* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.title {
    color: #333;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.status {
    color: #666;
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 500;
}

.btn-sortear {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
    width: 100%;
}

.btn-sortear:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(33, 150, 243, 0.4);
}

.btn-sortear:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.resultado-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    border: 2px dashed #dee2e6;
}

.resultado {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Cores para cada papel */
.xerife { color: #2196F3; }
.assassino { color: #F44336; }
.inocente { color: #4CAF50; }

.btn-recomecar {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
    width: 100%;
}

.btn-recomecar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.4);
}

/* Animações */
@keyframes aparecer {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes desaparecer {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.8); }
}

.aparecer {
    animation: aparecer 0.5s ease;
}

.desaparecer {
    animation: desaparecer 0.5s ease;
}

/* Responsivo */
@media (max-width: 480px) {
    .container {
        padding: 20px;
        margin: 10px;
    }
    
    .title {
        font-size: 24px;
    }
    
    .btn-sortear {
        padding: 15px 30px;
        font-size: 18px;
    }
    
    .resultado {
        font-size: 22px;
    }
}