:root {
    --app-bg: #f4f7fb;
    --app-dark: #0f172a;
    --app-primary: #2563eb;
    --app-accent: #14b8a6;
}

body {
    background: var(--app-bg);
    color: #0f172a;
    font-family: 'Inter', sans-serif;
}

.app-navbar {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.auth-card,
.summary-card,
.hero-side-card,
.result-card {
    border-radius: 1rem;
}

.auth-card {
    margin-top: 4rem;
}

.app-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #14b8a6);
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
}

.hero-card {
    padding: 2rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #0f172a, #1d4ed8 65%, #14b8a6);
    color: #fff;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.hero-side-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.summary-card {
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.summary-label {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.summary-value {
    font-size: 2rem;
    font-weight: 800;
}

.match-item,
.ranking-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.match-item:last-child,
.ranking-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.result-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1rem;
}

.result-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.result-score strong {
    font-size: 1.05rem;
    white-space: nowrap;
}

.team-pill,
.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}

.team-default {
    background: #dbeafe;
    color: #1d4ed8;
}

.team-ferroviaria {
    background: rgba(234, 179, 8, 0.16);
    color: #854d0e;
}

.team-roma {
    background: rgba(185, 28, 28, 0.14);
    color: #991b1b;
}

.team-galacticos {
    background: rgba(37, 99, 235, 0.14);
    color: #1d4ed8;
}

.team-filadelfia {
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
}

.stat-chip {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.yellow-badge {
    background: #facc15;
    color: #111827;
}

.red-badge {
    background: #dc2626;
    color: #fff;
}

.table > :not(caption) > * > * {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

@media (max-width: 767.98px) {
    .hero-card {
        padding: 1.5rem;
    }

    .summary-value {
        font-size: 1.6rem;
    }
}
