:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #f59e0b;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
}
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }
.bg-dark { background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 100%) !important; }
.card { border: none; }
.card-reward {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
}
.stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 20px;
    color: white;
    text-align: center;
}
.stat-card.success { background: linear-gradient(135deg, var(--success) 0%, #15803d 100%); }
.stat-card.warning { background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%); }
.stat-card.danger { background: linear-gradient(135deg, var(--danger) 0%, #b91c1c 100%); }
.stat-number { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.stat-label { font-size: 0.85rem; opacity: 0.9; margin-top: 4px; }
.ranking-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
}
.ranking-item:hover { background: rgba(255,255,255,0.05); }
.ranking-position {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 12px;
    flex-shrink: 0;
}
.ranking-position.gold { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.ranking-position.silver { background: linear-gradient(135deg, #94a3b8, #64748b); color: #fff; }
.ranking-position.bronze { background: linear-gradient(135deg, #c2884d, #92400e); color: #fff; }
.ranking-position.normal { background: rgba(255,255,255,0.1); color: var(--text-muted); }
.ranking-name { flex: 1; font-weight: 500; }
.ranking-points { font-weight: 700; color: var(--primary); font-size: 1.1rem; }
.extrato-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}
.extrato-pontos { font-weight: 700; }
.extrato-pontos.positivo { color: var(--success); }
.extrato-pontos.negativo { color: var(--danger); }
.navbar-reward {
    background: rgba(15,23,42,0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.month-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}
.month-selector button {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.month-selector button:hover { background: var(--primary); }
.month-selector span { font-size: 1.1rem; font-weight: 600; color: var(--text-light); min-width: 160px; text-align: center; }
.loading-spinner {
    display: flex;
    justify-content: center;
    padding: 40px;
}
@media (max-width: 768px) {
    .stat-number { font-size: 1.6rem; }
    .container { padding: 0 8px; }
}
