:root {
    --brand: #0d6b3f;
    --brand-dark: #084d2d;
    --accent: #f4b400;
}

body {
    background: #f5f7f6;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #1c2b24;
}

.app-navbar {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.btn-brand {
    background: var(--brand);
    color: #fff;
    border: none;
}
.btn-brand:hover { background: var(--brand-dark); color: #fff; }

.hero {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    border-radius: 18px;
    padding: 2rem 1.5rem;
}

.badge-status { font-size: .8rem; padding: .4em .8em; border-radius: 20px; }

.prize-box {
    background: linear-gradient(135deg, var(--accent), #f6c945);
    border-radius: 14px;
    color: #3a2c00;
}

.rank-pos {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-weight: 700;
    background: #e9efec; color: var(--brand-dark);
}
.rank-1 { background: #f4b400; color: #3a2c00; }
.rank-2 { background: #c0c6cc; color: #1c2b24; }
.rank-3 { background: #d8965a; color: #fff; }

.score-input {
    width: 56px; text-align: center; font-weight: 700; font-size: 1.1rem;
}

.game-card { border-left: 4px solid var(--brand); }
.game-locked { border-left-color: #b02a37; opacity: .85; }

/* Mobile first ajustes */
@media (max-width: 576px) {
    .hero { padding: 1.5rem 1rem; }
    .hero h1 { font-size: 1.5rem; }
    .score-input { width: 48px; }
}

.stat-card { text-align: center; padding: 1rem; }
.stat-card .num { font-size: 1.8rem; font-weight: 700; color: var(--brand); }
.stat-card .lbl { font-size: .8rem; color: #6c757d; }

.table-rank td { vertical-align: middle; }
