:root {
    --primary: #1a237e;
    --primary-light: #3949ab;
    --accent: #ff6f00;
}

html { font-size: 16px; }

body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f4f6f9;
    color: #333;
}

.navbar { background-color: var(--primary) !important; }

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.card-header {
    background-color: var(--primary);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
}

footer { margin-top: auto; }

.form-register {
    max-width: 500px;
    margin: 0 auto;
}

.raffle-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary);
    border-radius: 10px;
    background: #fff;
    transition: all 0.1s;
}

.raffle-display.spinning {
    animation: pulse 0.3s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); opacity: 0.8; }
    to { transform: scale(1.02); opacity: 1; }
}

.raffle-display.winner {
    border-color: var(--accent);
    color: var(--accent);
    font-size: 2rem;
    animation: pop 0.5s ease-out;
}

@keyframes pop {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.table th { background-color: var(--primary); color: white; }

.alert-register { max-width: 500px; margin: 1rem auto; }

.form-login { max-width: 400px; margin: 0 auto; }
