/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #0d1220;
    --bg-card: rgba(255,255,255,0.03);
    --bg-card-solid: #121929;
    --bg-card-hover: rgba(255,255,255,0.06);
    --text-primary: #e8ecf4;
    --text-secondary: #8892a8;
    --text-muted: #5a6478;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-green: #22c55e;
    --accent-yellow: #eab308;
    --accent-orange: #f97316;
    --accent-red: #ef4444;
    --accent-purple: #a855f7;
    --accent-gold: #d4a053;
    --border: rgba(255,255,255,0.06);
    --border-light: rgba(255,255,255,0.1);
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-serif: 'DM Serif Display', Georgia, serif;
    --glass: rgba(255,255,255,0.03);
    --glass-border: rgba(255,255,255,0.06);
    --transition: 0.3s ease;
    --section-padding: 100px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

a { color: var(--accent-cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-blue); }

/* ========== HEADER ========== */
.site-header {
    background: rgba(10, 14, 23, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    transition: padding var(--transition), background var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: white;
    font-weight: 900;
    font-size: 14px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo-text h1 {
    font-family: var(--font-serif);
    font-size: 18px;
    line-height: 1.1;
    color: white;
}

.tagline {
    display: none;
}

.main-nav {
    display: flex;
    gap: 2px;
    align-items: center;
}

.main-nav a {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition);
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    position: relative;
}

.main-nav a:hover { color: var(--text-primary); background: transparent; }
.main-nav a.active,
.main-nav a.nav-active {
    color: var(--accent-cyan);
    background: transparent;
}

.main-nav a.nav-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 1px;
}

.header-date {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* Header scroll state */
.site-header.header-compact {
    padding: 6px 0;
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.site-header.header-compact .logo-text h1 {
    font-size: 16px;
}

.site-header.header-compact .logo-icon {
    width: 30px;
    height: 30px;
    font-size: 12px;
    border-radius: 7px;
}

/* ========== TICKER ========== */
.ticker-bar {
    background: linear-gradient(90deg, rgba(239,68,68,0.12), rgba(239,68,68,0.06));
    border-bottom: 1px solid rgba(239,68,68,0.1);
    padding: 8px 0;
    overflow: hidden;
}

.ticker-bar .container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ticker-label {
    background: rgba(239,68,68,0.2);
    color: var(--accent-red);
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 1.5px;
}

.ticker-content {
    overflow: hidden;
    flex: 1;
}

.ticker-scroll {
    display: flex;
    gap: 60px;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-scroll span {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 400;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== HERO STATS ========== */
.hero-stats {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(6,182,212,0.03) 50%, var(--bg-primary) 100%);
}

.hero-stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(6,182,212,0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Hero headline */
.hero-headline-wrap {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: 56px;
    line-height: 1.15;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-subheadline {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Animated gradient pulse line */
.hero-pulse {
    width: 200px;
    height: 2px;
    margin: 32px auto 0;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-blue), transparent);
    border-radius: 2px;
    animation: heroGlow 3s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.3; width: 160px; }
    50% { opacity: 0.7; width: 240px; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 32px 24px;
    text-align: center;
    transition: background var(--transition);
    border: none;
    border-radius: 0;
}

.stat-card:hover { background: rgba(255,255,255,0.05); transform: none; }

.stat-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background var(--transition);
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, white, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ========== SECTIONS ========== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-alt {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.section-header {
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 38px;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    position: relative;
    padding-left: 20px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-blue));
    border-radius: 2px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    padding-left: 20px;
    line-height: 1.7;
}

/* Section reveal animation */
.section.section-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.section-animate.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient dividers between sections */
.section + .section::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6,182,212,0.15), rgba(59,130,246,0.15), transparent);
    margin-bottom: 0;
}

/* ========== SCORE LEGEND ========== */
.score-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding: 12px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    flex-wrap: wrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-left: 20px;
}

.legend-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
}

/* ========== TIME FILTER ========== */
.time-filter {
    display: flex;
    gap: 6px;
    margin-top: 20px;
    padding-left: 20px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    padding: 7px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-sans);
    letter-spacing: 0.3px;
}

.filter-btn:hover { border-color: var(--accent-cyan); color: var(--text-secondary); }
.filter-btn.active {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: white;
    font-weight: 600;
}

/* ========== BAROMETER PARTY LIST ========== */
.barometer-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.barometer-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 20px 28px;
    display: grid;
    grid-template-columns: 40px 180px 1fr 80px 100px;
    align-items: center;
    gap: 20px;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.barometer-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateX(4px);
}

.barometer-rank {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-muted);
}

.barometer-party {
    display: flex;
    align-items: center;
    gap: 12px;
}

.party-color {
    width: 4px;
    height: 40px;
    border-radius: 2px;
}

.party-name {
    font-weight: 700;
    font-size: 15px;
}

.party-leader {
    font-size: 12px;
    color: var(--text-muted);
}

.barometer-bar-container {
    position: relative;
    height: 36px;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    overflow: hidden;
}

.barometer-bar {
    height: 100%;
    border-radius: 8px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.barometer-bar-label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-shadow: 0 0 4px rgba(0,0,0,0.85), 0 1px 3px rgba(0,0,0,0.7);
    pointer-events: none;
    white-space: nowrap;
}

.barometer-score {
    font-size: 32px;
    font-weight: 900;
    text-align: right;
    letter-spacing: -1px;
}

.barometer-trend {
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.trend-up { color: var(--accent-green); }
.trend-down { color: var(--accent-red); }
.trend-neutral { color: var(--text-muted); }

/* ========== MEDIA BAROMETER ========== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.media-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 28px;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.media-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.media-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.media-name {
    font-weight: 700;
    font-size: 17px;
}

.media-type {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.media-score-big {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
}

.media-meters {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meter-label {
    font-size: 11px;
    color: var(--text-muted);
    width: 80px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meter-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.meter-value {
    font-size: 12px;
    font-weight: 600;
    width: 30px;
    text-align: right;
}

/* Bias spectrum */
.bias-spectrum {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.bias-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.bias-bar {
    height: 10px;
    background: linear-gradient(to right, #ef4444, #f97316, #eab308, #22c55e, #3b82f6, #8b5cf6);
    border-radius: 5px;
    position: relative;
}

.bias-marker {
    position: absolute;
    top: -5px;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
    transition: left 1s ease;
}

.bias-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}

.bias-labels span {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* ========== HEADLINES COMPARATOR ========== */
.headline-group {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color var(--transition);
}

.headline-group:hover {
    border-color: var(--border-light);
}

.headline-topic {
    font-family: var(--font-serif);
    font-size: 22px;
    margin-bottom: 4px;
}

.headline-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.headline-variants {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.headline-variant {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    border-left: 3px solid var(--border);
    transition: background var(--transition);
}

.headline-variant:hover {
    background: rgba(255,255,255,0.04);
}

.headline-source {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.headline-source-link {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.headline-source-link:hover {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.headline-text {
    font-size: 14px;
    font-weight: 500;
}

.headline-bias-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.tag-neutral { background: rgba(34,197,94,0.1); color: var(--accent-green); }
.tag-slight { background: rgba(234,179,8,0.1); color: var(--accent-yellow); }
.tag-moderate { background: rgba(249,115,22,0.1); color: var(--accent-orange); }
.tag-strong { background: rgba(239,68,68,0.1); color: var(--accent-red); }

/* ========== CORRUPTION RADAR ========== */
.corruption-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.corruption-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 28px;
    border-left: 4px solid;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--transition);
}

.corruption-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.corruption-party {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 14px;
}

.corruption-cases {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.corruption-case {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    transition: background var(--transition);
}

.corruption-case:hover {
    background: rgba(255,255,255,0.04);
}

.case-name {
    font-size: 13px;
    font-weight: 500;
}

.case-status {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-open { background: rgba(249,115,22,0.12); color: var(--accent-orange); }
.status-trial { background: rgba(239,68,68,0.12); color: var(--accent-red); }
.status-sentenced { background: rgba(168,85,247,0.12); color: var(--accent-purple); }
.status-investigation { background: rgba(234,179,8,0.12); color: var(--accent-yellow); }
.status-fugitive { background: rgba(239,68,68,0.2); color: #ff4444; font-weight: 800; }

.corruption-total {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
}

.corruption-total strong {
    color: var(--text-primary);
}

/* ========== CORRUPTION ENHANCEMENTS ========== */
.corruption-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.corruption-impact {
    text-align: center;
}

.corruption-impact-value {
    font-size: 24px;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.corruption-impact-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.case-info {
    flex: 1;
    min-width: 0;
}

.case-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 3px;
    flex-wrap: wrap;
}

.case-amount {
    font-size: 11px;
    color: var(--text-muted);
}

.case-vigencia {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.vigencia-actual { background: rgba(239,68,68,0.12); color: #ef4444; }
.vigencia-parcial { background: rgba(249,115,22,0.12); color: #f97316; }
.vigencia-anterior { background: rgba(234,179,8,0.12); color: #eab308; }
.vigencia-antigua { background: rgba(90,100,120,0.12); color: var(--text-muted); }

.corruption-clean {
    padding: 24px;
    text-align: center;
    color: #22c55e;
    font-size: 14px;
    font-weight: 500;
}

/* ========== METHODOLOGY ========== */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.method-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.method-card:hover {
    border-color: var(--border-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.method-icon {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.method-card h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
}

.method-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 14px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 5px 0;
    transition: color var(--transition);
}

.footer-col a:hover { color: white; }

.logo-text-footer {
    font-family: var(--font-serif);
    font-size: 18px;
    color: white;
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
    font-style: italic;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========== SCORE COLORS ========== */
.score-excellent { color: #22c55e; }
.score-good { color: #84cc16; }
.score-average { color: #eab308; }
.score-poor { color: #f97316; }
.score-bad { color: #ef4444; }

/* ========== LEADERS RANKING ========== */
.leader-filter {
    display: flex;
    gap: 6px;
    margin-top: 20px;
    padding-left: 20px;
}

/* Podium */
.leaders-podium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.podium-group {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.podium-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.podium-truth::before { background: linear-gradient(90deg, #22c55e, #84cc16); }
.podium-lies::before { background: linear-gradient(90deg, #ef4444, #f97316); }

.podium-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.podium-truth .podium-title { color: #22c55e; }
.podium-lies .podium-title { color: #ef4444; }

.podium-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.podium-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.02);
    border-radius: 14px;
    transition: all var(--transition);
}

.podium-item:hover {
    background: rgba(255,255,255,0.05);
    transform: translateX(4px);
}

.podium-medal {
    font-size: 28px;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.leader-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
    flex-shrink: 0;
    transition: border-color var(--transition);
}

.leader-photo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
    border: 3px solid var(--border);
}

.podium-info {
    flex: 1;
    min-width: 0;
}

.podium-name {
    font-weight: 700;
    font-size: 16px;
}

.podium-role {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.podium-score {
    font-size: 36px;
    font-weight: 900;
    flex-shrink: 0;
    letter-spacing: -1px;
}

/* Full ranking list */
.leaders-ranking {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 14px;
}

.leader-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 18px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.leader-card:hover {
    border-color: var(--border-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.leader-card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.leader-card-rank {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.leader-card-photo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
}

.leader-card-photo-placeholder {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    color: white;
    border: 3px solid var(--border);
}

.leader-card-score-big {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
}

.leader-card-right {
    flex: 1;
    min-width: 0;
}

.leader-card-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 2px;
}

.leader-card-role {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.leader-card-party {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.leader-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.leader-stat {
    text-align: center;
    padding: 8px 4px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
}

.leader-stat-value {
    font-size: 18px;
    font-weight: 800;
    display: block;
}

.leader-stat-label {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leader-stat-lies .leader-stat-value { color: #ef4444; }
.leader-stat-half .leader-stat-value { color: #eab308; }
.leader-stat-truth .leader-stat-value { color: #22c55e; }

/* Truth ratio bar */
.leader-truth-bar {
    height: 8px;
    border-radius: 4px;
    display: flex;
    overflow: hidden;
    gap: 2px;
}

.truth-segment-lies { background: #ef4444; }
.truth-segment-half { background: #eab308; }
.truth-segment-truth { background: #22c55e; }

.leader-worst {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 10px 12px;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 8px;
    border-left: 2px solid rgba(239,68,68,0.4);
    position: relative;
}

.leader-worst::before {
    content: '\201C';
    position: absolute;
    top: 2px;
    left: 6px;
    font-size: 24px;
    color: rgba(239,68,68,0.3);
    font-family: var(--font-serif);
    line-height: 1;
}

.leader-worst strong {
    color: #ef4444;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leader-trend-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.trend-badge-up { background: rgba(34,197,94,0.12); color: #22c55e; }
.trend-badge-down { background: rgba(239,68,68,0.12); color: #ef4444; }
.trend-badge-neutral { background: rgba(90,100,120,0.1); color: var(--text-muted); }

/* ========== BULOS DESTACADOS ========== */
.bulos-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bulo-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-left: 3px solid rgba(239,68,68,0.5);
    border-radius: 14px;
    padding: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--transition);
}

.bulo-card:hover {
    background: var(--bg-card-hover);
    border-left-color: var(--accent-red);
}

.bulo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.bulo-party {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.bulo-date {
    font-size: 11px;
    color: var(--text-muted);
}

.bulo-verdict {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

.bulo-claim {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 400;
    font-style: normal;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.bulo-claim::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: -4px;
    font-size: 28px;
    color: rgba(239,68,68,0.4);
    font-family: var(--font-serif);
    line-height: 1;
}

.bulo-source {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 10px 14px;
    background: rgba(34, 197, 94, 0.04);
    border-radius: 8px;
    border-left: 2px solid rgba(34,197,94,0.3);
}

.bulo-source strong {
    color: #22c55e;
}

/* ========== AD PLACEMENTS ========== */
.ad-placement {
    text-align: center;
    padding: 16px 0;
}

.ad-label {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.ad-placeholder {
    border: 1px dashed var(--border-light);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.01);
}

.ad-banner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 24px;
}

.ad-banner .ad-placeholder {
    width: 100%;
    max-width: 728px;
    height: 90px;
    margin: 0 auto;
}

.ad-sidebar {
    position: sticky;
    top: 80px;
}

.ad-sidebar .ad-placeholder {
    width: 100%;
    min-height: 250px;
}

/* Headlines layout with sidebar */
.headlines-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

.headlines-main {
    min-width: 0;
}

.headlines-sidebar {
    padding-top: 80px;
}

/* ========== NEWSLETTER ========== */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(6,182,212,0.04) 0%, var(--bg-primary) 50%, rgba(59,130,246,0.04) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.newsletter-content {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-serif);
    font-size: 36px;
    margin-bottom: 12px;
    color: white;
}

.newsletter-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.newsletter-input-group {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color var(--transition);
}

.newsletter-input:focus {
    border-color: var(--accent-cyan);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: white;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-sans);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
}

.newsletter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(6,182,212,0.3);
}

.newsletter-btn:active {
    transform: scale(0.98);
}

.newsletter-error {
    color: var(--accent-red);
    font-size: 13px;
    margin-top: 10px;
    min-height: 20px;
    display: none;
}

.newsletter-success {
    color: var(--accent-green);
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    min-height: 20px;
    display: none;
}

.newsletter-privacy {
    color: var(--text-muted);
    font-size: 11px;
    margin-top: 16px;
    letter-spacing: 0.3px;
}

/* ========== CHARTS ========== */
.chart-container {
    margin-top: 48px;
    padding: 32px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.chart-title {
    font-family: var(--font-serif);
    font-size: 22px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.chart-doughnut-container {
    max-width: 450px;
    margin: 0 auto;
}

/* ========== SHARE BUTTONS ========== */
.share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 14px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: auto;
}

.share-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-sans);
}

.share-btn:hover {
    background: rgba(255,255,255,0.08);
    color: white;
    border-color: var(--border-light);
}

.share-twitter:hover { color: #1da1f2; border-color: rgba(29,161,242,0.3); }
.share-whatsapp:hover { color: #25d366; border-color: rgba(37,211,102,0.3); }
.share-copy:hover { color: var(--accent-cyan); border-color: rgba(6,182,212,0.3); }

.share-btn.copied {
    color: var(--accent-green);
    border-color: rgba(34,197,94,0.3);
}

/* ========== EMBED WIDGET ========== */
.embed-widget-box {
    margin-top: 20px;
}

.embed-toggle-btn {
    background: none;
    border: 1px dashed var(--border);
    color: var(--text-muted);
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: all var(--transition);
}

.embed-toggle-btn:hover {
    color: var(--text-secondary);
    border-color: var(--accent-cyan);
}

.embed-code-box {
    margin-top: 10px;
    padding: 14px 18px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.embed-code-box code {
    flex: 1;
    font-size: 11px;
    color: var(--accent-cyan);
    word-break: break-all;
}

.embed-copy-btn {
    background: var(--accent-blue);
    border: none;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--font-sans);
    transition: all var(--transition);
}

.embed-copy-btn:hover {
    background: var(--accent-cyan);
}

/* ========== FLOATING NEWSLETTER ========== */
.floating-newsletter {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 340px;
    background: rgba(18,25,41,0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    z-index: 999;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    animation: slideInNewsletter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-newsletter::before {
    display: none;
}

.floating-newsletter::after {
    display: none;
}

@keyframes slideInNewsletter {
    from { transform: translateY(100px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.floating-newsletter-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color var(--transition);
}

.floating-newsletter-close:hover { color: white; }

.floating-newsletter-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.floating-newsletter-row {
    display: flex;
    gap: 8px;
}

.floating-newsletter-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    font-size: 13px;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color var(--transition);
}

.floating-newsletter-input:focus { border-color: var(--accent-cyan); }
.floating-newsletter-input::placeholder { color: var(--text-muted); }

.floating-newsletter-btn {
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: white;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-sans);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
}

.floating-newsletter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(6,182,212,0.3);
}

.floating-newsletter-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 10px;
}

.floating-newsletter-msg {
    font-size: 12px;
    margin-top: 6px;
    min-height: 0;
}

.floating-newsletter-msg.msg-success { color: var(--accent-green); }
.floating-newsletter-msg.msg-error { color: var(--accent-red); }

/* ========== STAT CARD COUNT-UP ========== */
.stat-number {
    transition: none;
}

/* ========== MOBILE BOTTOM NAV ========== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}

.mobile-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--accent-cyan);
}

.mobile-nav-icon {
    font-size: 18px;
    line-height: 1;
}

/* ========== MOBILE APP-STYLE SECTIONS ========== */
.mobile-sections-menu { display: none; }
.mobile-back-btn { display: none !important; }

@media (max-width: 768px) {
    .mobile-sections-menu {
        display: block;
        padding: 24px 0;
    }

    .mobile-sections-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .mobile-section-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 20px 8px;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 14px;
        color: var(--text-primary);
        text-decoration: none;
        cursor: pointer;
        transition: all 0.2s;
        font-family: var(--font-sans);
    }

    .mobile-section-btn:active {
        transform: scale(0.95);
        background: rgba(6,182,212,0.1);
        border-color: rgba(6,182,212,0.3);
    }

    .msb-icon { font-size: 28px; line-height: 1; }
    .msb-icon-img { width: 42px; height: 42px; border-radius: 10px; }
    .msb-label { font-size: 11px; font-weight: 600; color: var(--text-secondary); }

    .mobile-back-btn {
        display: none;
        position: sticky;
        top: 60px;
        z-index: 90;
        width: 100%;
        padding: 12px 20px;
        background: rgba(10,14,23,0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: none;
        border-bottom: 1px solid var(--border);
        color: var(--accent-cyan);
        font-size: 14px;
        font-weight: 600;
        font-family: var(--font-sans);
        cursor: pointer;
        text-align: left;
    }

    /* Hide all main sections on mobile by default */
    .hero-stats,
    .section,
    .section-alt,
    .newsletter-section,
    .share-row,
    .chart-container,
    .embed-toggle-btn,
    .embed-code-box {
        display: none !important;
    }

    /* Ads visible on mobile, scaled to fit 360-414px viewports */
    .ad-placement {
        display: block !important;
        text-align: center;
    }
    .ad-placement .ad-sandbox {
        zoom: 0.5;
    }
    .ad-sidebar {
        position: static;
    }

    /* Show section when active — higher specificity to override */
    section.mobile-section-active,
    .section.mobile-section-active,
    .section-alt.mobile-section-active,
    .hero-stats.mobile-section-active,
    .newsletter-section.mobile-section-active {
        display: block !important;
    }

    /* When a section is open, hide menu */
    .mobile-menu-hidden {
        display: none !important;
    }

    /* Show back button when section is open */
    .mobile-back-visible {
        display: block !important;
    }

    /* Keep footer always visible */
    .site-footer { display: block !important; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .hero-headline {
        font-size: 44px;
    }
}

/* Hide ads on mobile/tablet */
.ad-desktop-only { display: block; }
@media (max-width: 1024px) {
    .ad-desktop-only { display: none !important; }
}

@media (max-width: 900px) {
    :root {
        --section-padding: 64px;
    }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .methodology-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .barometer-item {
        grid-template-columns: 30px 140px 1fr 60px 70px;
        padding: 14px 18px;
    }
    .main-nav {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 2px;
        padding: 0;
        scrollbar-width: none;
    }
    .main-nav::-webkit-scrollbar { display: none; }
    .main-nav a {
        white-space: nowrap;
        padding: 6px 14px;
        font-size: 11px;
        flex-shrink: 0;
    }
    .main-nav a.nav-active::after { display: none; }
    .leaders-podium { grid-template-columns: 1fr; }
    .leaders-ranking { grid-template-columns: 1fr; }
    .headlines-layout { grid-template-columns: 1fr; }
    .headlines-sidebar { padding-top: 0; }
    .ad-sidebar { position: static; }
    .hero-headline { font-size: 36px; }

    /* Floating newsletter: bottom bar on mobile */
    .floating-newsletter {
        bottom: 64px;
        right: 12px;
        left: 12px;
        width: auto;
        border-radius: 14px;
    }

    /* Extra padding for iPhone safe area */
    body {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
}

@media (max-width: 600px) {
    :root {
        --section-padding: 48px;
    }

    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-card { padding: 20px 16px; }
    .stat-number { font-size: 32px; }
    .stat-label { font-size: 10px; }
    .barometer-item { grid-template-columns: 1fr; gap: 8px; }
    .footer-grid { grid-template-columns: 1fr; }
    .media-grid { grid-template-columns: 1fr; }
    .corruption-grid { grid-template-columns: 1fr; }
    .headline-variant { grid-template-columns: 1fr; }
    .newsletter-input-group { flex-direction: column; }
    .newsletter-btn { width: 100%; }
    .ad-banner .ad-placeholder { height: 60px; max-width: 100%; }
    .share-row { flex-direction: column; align-items: stretch; }
    .share-label { margin-right: 0; margin-bottom: 4px; }
    .hero-headline { font-size: 32px; }
    .hero-subheadline { font-size: 15px; }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 14px;
    }

    /* Floating newsletter: full width bottom bar on mobile */
    .floating-newsletter {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        border-radius: 16px 16px 0 0;
        padding: 16px;
    }

    /* Ensure footer is fully visible */
    .site-footer {
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    }

    .score-legend {
        margin-left: 0;
    }

    .time-filter, .leader-filter {
        padding-left: 0;
        flex-wrap: wrap;
    }

    /* Horizontal scroll for cards */
    .media-grid,
    .corruption-grid {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 16px;
        scrollbar-width: none;
    }

    .media-grid::-webkit-scrollbar,
    .corruption-grid::-webkit-scrollbar {
        display: none;
    }

    .media-card,
    .corruption-card {
        min-width: 280px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .methodology-grid {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 12px;
        scrollbar-width: none;
    }

    .methodology-grid::-webkit-scrollbar { display: none; }

    .method-card {
        min-width: 260px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
}

/* ========== HERO BANNER (legacy support) ========== */
.hero-banner {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(6,182,212,0.06) 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-bulo-counter {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.hero-bulo-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--accent-red);
    line-height: 1;
}

.hero-bulo-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== NAV ACTIVE STATES ========== */
.main-nav a.nav-active {
    color: var(--accent-cyan);
    background: transparent;
}
