:root {
    --site-primary: #023585;
    --site-bg: #f4f7fc;
    --site-card: #ffffff;
}

body {
    background: linear-gradient(180deg, #eef3ff 0%, var(--site-bg) 280px, var(--site-bg) 100%);
    color: #1f2a37;
}

.brand-navbar {
    background: linear-gradient(135deg, #023585 0%, #0352cb 100%);
    box-shadow: 0 8px 20px rgba(2, 53, 133, 0.2);
}

.hero-card {
    background: var(--site-card);
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(2, 53, 133, 0.08);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stat-chip {
    background: #f7f9ff;
    border: 1px solid #dce7ff;
    border-radius: 0.8rem;
    padding: 0.6rem 0.75rem;
}

.stat-chip-label {
    display: block;
    color: #475569;
    font-size: 0.82rem;
    margin-bottom: 0.2rem;
}

.stat-chip-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f2f66;
    line-height: 1.25;
}

.year-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.year-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid rgba(2, 53, 133, 0.18);
    color: var(--site-primary);
    background: #fff;
    transition: all 0.2s ease;
}

.year-link:hover {
    background: #ebf2ff;
    color: #012a6a;
}

.year-link.is-active {
    background: var(--site-primary);
    color: #fff;
    border-color: var(--site-primary);
    font-weight: 600;
}

.data-card {
    background: var(--site-card);
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.section-title {
    color: #102a52;
    font-weight: 700;
}

.table thead th {
    background-color: #f2f6ff;
    border-bottom-width: 1px;
}

.table tbody tr:hover {
    background-color: #f8fbff;
}

.highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
    font-weight: 700;
}

.highlight-badge::after {
    content: "MAX";
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    color: #991b1b;
}

.ad-slot {
    background: rgba(255, 255, 255, 0.8);
    border: 1px dashed rgba(2, 53, 133, 0.25);
    border-radius: 0.8rem;
    padding: 0.75rem;
    min-height: 120px;
}

@media (min-width: 576px) {
    .ad-slot {
        min-height: 150px;
    }
}

@media (min-width: 768px) {
    .ad-slot {
        min-height: 170px;
    }
}

@media (min-width: 992px) {
    .ad-slot {
        min-height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-card {
        border-radius: 0.85rem;
        padding: 1rem !important;
    }

    .data-card .table-responsive {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .year-link {
        padding: 0.45rem 0.75rem;
        font-size: 0.9rem;
    }
}
