:root {
    --red: #ff2b3d;
    --red-bright: #ff5563;
    --red-deep: #b3121f;
    --cyan: #22d3ee;
    --cyan-bright: #67e8f9;
    --panel: rgba(15, 17, 21, 0.92);
    --panel-soft: rgba(22, 25, 31, 0.85);
    --hairline: rgba(120, 130, 145, 0.22);
    --muted: #8a93a3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #08090c 0%, #160006 100%);
    color: #cdd3dd;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(0deg, rgba(255, 0, 0, 0.03) 0px, transparent 1px, transparent 2px, rgba(255, 0, 0, 0.03) 3px),
        repeating-linear-gradient(90deg, rgba(255, 0, 0, 0.03) 0px, transparent 1px, transparent 2px, rgba(255, 0, 0, 0.03) 3px);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

header {
    text-align: center;
    margin-bottom: 44px;
    padding: 46px 40px 38px;
    background:
        radial-gradient(130% 120% at 50% -10%, rgba(255, 43, 61, 0.12), transparent 55%),
        linear-gradient(180deg, rgba(19, 22, 28, 0.94), rgba(11, 13, 18, 0.94));
    border: 1px solid var(--hairline);
    border-top: 2px solid rgba(255, 43, 61, 0.55);
    border-radius: 16px;
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

/* faint grid texture inside the header */
header::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, rgba(34, 211, 238, 0.04) 0 1px, transparent 1px 64px);
    pointer-events: none;
    z-index: 0;
}

.header-scanline {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.55), transparent);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
    pointer-events: none;
    z-index: 1;
    animation: headerScan 7s ease-in-out infinite;
}

@keyframes headerScan {
    0% { transform: translateY(0); opacity: 0; }
    8% { opacity: 1; }
    50% { transform: translateY(220px); opacity: 0.6; }
    92% { opacity: 1; }
    100% { transform: translateY(0); opacity: 0; }
}

.header-eyebrow {
    position: relative;
    z-index: 2;
    color: var(--cyan);
    font-size: 0.74em;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 18px;
    text-shadow: 0 0 14px rgba(34, 211, 238, 0.4);
}

h1 {
    position: relative;
    z-index: 2;
    display: inline-block;
    font-size: 3.1em;
    margin-bottom: 18px;
    letter-spacing: 6px;
    font-family: 'Arial Black', 'Impact', 'Courier New', monospace;
    font-weight: 900;
    text-transform: uppercase;
    color: #f4f6fa;
    background: linear-gradient(180deg, #ffffff 0%, #ffb3ba 55%, #ff2b3d 120%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 22px rgba(255, 43, 61, 0.35));
    animation: titleGlow 4.5s ease-in-out infinite;
}

h1::before,
h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    -webkit-text-fill-color: currentColor;
    opacity: 0;
    pointer-events: none;
}

h1::before {
    color: var(--cyan);
    animation: glitchLeft 5s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

h1::after {
    color: var(--red);
    animation: glitchRight 6s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 18px rgba(255, 43, 61, 0.28)); }
    50% { filter: drop-shadow(0 0 30px rgba(255, 43, 61, 0.5)); }
}

.header-status {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.72em;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 10px var(--red);
    animation: statusPulse 1.8s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--red); }
    50% { opacity: 0.35; box-shadow: 0 0 16px var(--red); }
}

@keyframes glitchLeft {
    0%, 90%, 100% {
        transform: translate(0);
        opacity: 0;
    }
    92% {
        transform: translate(-4px, 0);
        opacity: 0.65;
    }
    94% {
        transform: translate(4px, 0);
        opacity: 0.65;
    }
}

@keyframes glitchRight {
    0%, 85%, 100% {
        transform: translate(0);
        opacity: 0;
    }
    87% {
        transform: translate(4px, 0);
        opacity: 0.6;
    }
    89% {
        transform: translate(-4px, 0);
        opacity: 0.6;
    }
}

.subtitle {
    color: #999999;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.description {
    position: relative;
    z-index: 2;
    color: #aab1bf;
    font-size: 0.92em;
    margin-top: 16px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.powered-by {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 0.75em;
    margin-top: 20px;
    opacity: 0.65;
    letter-spacing: 1px;
}

.stats-counters {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin: 44px 0;
    flex-wrap: wrap;
}

.counter-box {
    --accent: var(--red);
    --accent-soft: rgba(255, 43, 61, 0.16);
    flex: 1 1 240px;
    max-width: 320px;
    text-align: left;
    padding: 24px 26px 26px;
    background: linear-gradient(180deg, rgba(21, 24, 30, 0.92), rgba(13, 15, 20, 0.92));
    border: 1px solid var(--hairline);
    border-radius: 14px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.counter-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.5), 0 0 24px var(--accent-soft);
}

/* glow wash that follows the accent colour */
.counter-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at 70% 20%, var(--accent-soft), transparent 70%);
    pointer-events: none;
}

.counter-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    box-shadow: 0 0 14px var(--accent);
}

.counter-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.counter-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: var(--accent);
    filter: drop-shadow(0 0 8px var(--accent-soft));
}

.counter-label {
    color: var(--muted);
    font-size: 0.74em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.counter-number {
    position: relative;
    z-index: 1;
    color: var(--accent);
    font-size: 2.9em;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 22px var(--accent-soft);
}

.counter-box.private {
    --accent: var(--cyan);
    --accent-soft: rgba(34, 211, 238, 0.18);
}

.counter-box.public {
    --accent: #f5a524;
    --accent-soft: rgba(245, 165, 36, 0.18);
}

.counter-box.latest {
    --accent: #f5a524;
    --accent-soft: rgba(245, 165, 36, 0.18);
}

.controls {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 13px 26px;
    background: rgba(22, 25, 31, 0.7);
    border: 1px solid var(--hairline);
    border-radius: 10px;
    color: #cdd3dd;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 0.92em;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.14), transparent);
    transform: translateX(-100%);
    transition: transform 0.55s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn:hover {
    border-color: var(--cyan);
    color: #ffffff;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.22);
    transform: translateY(-2px);
}

.btn.active {
    background: linear-gradient(180deg, rgba(255, 43, 61, 0.2), rgba(255, 43, 61, 0.08));
    border-color: var(--red);
    color: #ffffff;
    box-shadow: 0 0 18px rgba(255, 43, 61, 0.35), inset 0 0 18px rgba(255, 43, 61, 0.12);
}

.btn span {
    position: relative;
    z-index: 1;
}

.lang-switch {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 100;
}

.lang-switch .btn {
    padding: 9px 16px;
    font-size: 0.82em;
    letter-spacing: 1px;
    background: rgba(11, 13, 18, 0.85);
    backdrop-filter: blur(6px);
}

.leak-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.leak-card {
    background: linear-gradient(180deg, rgba(21, 24, 30, 0.92), rgba(13, 15, 20, 0.92));
    border: 1px solid var(--hairline);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    position: relative;
    overflow: hidden;
}

.leak-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--red), transparent 65%);
    opacity: 0.55;
    transition: opacity 0.28s ease;
}

.leak-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 43, 61, 0.5);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 43, 61, 0.15);
}

.leak-card:hover::before {
    opacity: 1;
}

.leak-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--hairline);
}

.leak-title {
    font-size: 1.25em;
    color: #f4f6fa;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.3px;
}

.leak-domain {
    color: var(--muted);
    font-size: 0.88em;
}

.sector-badge {
    display: inline-block;
    padding: 5px 13px;
    border: 1px solid;
    border-radius: 6px;
    font-size: 0.74em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.sector-badge.public {
    border-color: rgba(245, 165, 36, 0.5);
    color: #f5a524;
    background: rgba(245, 165, 36, 0.1);
}

.sector-badge.private {
    border-color: rgba(34, 211, 238, 0.5);
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.1);
}

.economic-sector {
    margin-top: 8px;
    font-size: 0.68em;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: right;
}

.leak-info {
    margin: 16px 0;
}

.info-row {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.info-label {
    color: var(--muted);
    min-width: 130px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82em;
    letter-spacing: 1px;
}

.info-value {
    color: #cdd3dd;
    flex: 1;
}

.threat-actor {
    color: var(--red);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 43, 61, 0.45);
}

.evidence-section {
    margin-top: 20px;
}

.evidence-title {
    color: var(--muted);
    font-size: 0.82em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.evidence-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.evidence-placeholder {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--hairline);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: var(--muted);
    font-size: 0.8em;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.source-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 10px 18px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    color: #cdd3dd;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.82em;
    letter-spacing: 1px;
    transition: all 0.25s ease;
}

.source-link:hover {
    background: rgba(34, 211, 238, 0.16);
    border-color: var(--cyan);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.25);
}

.no-leaks {
    text-align: center;
    padding: 100px 20px;
    color: var(--muted);
    font-size: 1.4em;
}

.stats-section {
    margin: 40px 0 60px 0;
    padding: 36px 40px 40px;
    background:
        radial-gradient(120% 80% at 50% -10%, rgba(34, 211, 238, 0.06), transparent 60%),
        var(--panel);
    border: 1px solid var(--hairline);
    border-top: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 14px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stats-header {
    text-align: center;
    margin-bottom: 34px;
}

.stats-eyebrow {
    color: var(--cyan);
    font-size: 0.72em;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.9;
    text-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
}

.stats-title {
    text-align: center;
    color: #f4f6fa;
    font-size: 1.7em;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: none;
    display: inline-block;
    position: relative;
    padding-bottom: 14px;
}

.stats-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--red));
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.55);
}

.stats-subtitle {
    color: var(--muted);
    font-size: 0.92em;
    margin-top: 14px;
    letter-spacing: 0.5px;
}

.chart-container {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(10, 12, 16, 0.96), rgba(10, 12, 16, 0.9));
    border: 1px solid var(--hairline);
    box-shadow:
        0 0 30px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 28px 30px;
}

/* Subtle scanning shimmer — a nod to the old radar, kept understated */
.chart-scanline {
    position: absolute;
    top: 0;
    left: -30%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.07), transparent);
    pointer-events: none;
    animation: chartScan 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes chartScan {
    0% { left: -30%; }
    55%, 100% { left: 110%; }
}

.sector-bars {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sector-bars-empty {
    text-align: center;
    color: var(--muted);
    padding: 30px 0;
}

.sector-bar {
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: center;
    gap: 18px;
}

.sector-bar-label {
    color: #cdd3dd;
    font-size: 0.82em;
    letter-spacing: 0.5px;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sector-bar-track {
    position: relative;
    height: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    overflow: visible;
}

.sector-bar-fill {
    height: 100%;
    border-radius: 6px 5px 5px 6px;
    transform: scaleX(0);
    transform-origin: left center;
    animation: growBar 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--bar-delay, 0ms);
    position: relative;
}

.sector-bar-fill.high {
    background: linear-gradient(90deg, rgba(179, 18, 31, 0.55), var(--red));
    box-shadow: 0 0 16px rgba(255, 43, 61, 0.45);
}

.sector-bar-fill.medium {
    background: linear-gradient(90deg, rgba(179, 18, 31, 0.4), var(--red-bright));
    box-shadow: 0 0 12px rgba(255, 85, 99, 0.32);
}

.sector-bar-fill.low {
    background: linear-gradient(90deg, rgba(40, 48, 58, 0.5), var(--red-deep));
    box-shadow: 0 0 8px rgba(179, 18, 31, 0.25);
}

/* Cyan scan-tip at the leading edge — the modern stand-in for the radar sweep */
.sector-bar-tip {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 2px;
    height: calc(100% + 2px);
    background: var(--cyan-bright);
    box-shadow: 0 0 10px var(--cyan), 0 0 18px rgba(34, 211, 238, 0.7);
    border-radius: 2px;
    opacity: 0;
    animation: tipFade 0.5s ease forwards;
    animation-delay: calc(var(--bar-delay, 0ms) + 0.7s);
}

.sector-bar-count {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
    z-index: 2;
    pointer-events: none;
}

@keyframes growBar {
    to { transform: scaleX(1); }
}

@keyframes tipFade {
    to { opacity: 1; }
}

.chart-legend {
    margin-top: 26px;
}

.chart-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    padding: 16px 24px;
    background: var(--panel-soft);
    border: 1px solid var(--hairline);
    border-radius: 10px;
}

.chart-summary-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.chart-summary-value {
    color: var(--cyan);
    font-size: 1.5em;
    font-weight: 800;
    text-shadow: 0 0 14px rgba(34, 211, 238, 0.45);
}

.chart-summary-label {
    color: var(--muted);
    font-size: 0.78em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.chart-summary-top {
    color: #f4f6fa;
    font-size: 0.92em;
    font-weight: 700;
}

.chart-summary-divider {
    width: 1px;
    height: 28px;
    background: var(--hairline);
}

.search-section {
    margin: 40px 0;
    padding: 32px 36px;
    background:
        radial-gradient(120% 80% at 50% -10%, rgba(34, 211, 238, 0.05), transparent 60%),
        var(--panel);
    border: 1px solid var(--hairline);
    border-top: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.search-title {
    text-align: center;
    color: #f4f6fa;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--muted);
    pointer-events: none;
    transition: color 0.25s ease;
}

.search-box:focus-within .search-icon {
    color: var(--cyan);
}

.search-input {
    width: 100%;
    padding: 15px 18px 15px 46px;
    background: rgba(8, 10, 14, 0.7);
    border: 1px solid var(--hairline);
    border-radius: 10px;
    color: #f4f6fa;
    font-family: 'Courier New', monospace;
    font-size: 1em;
    letter-spacing: 1px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.search-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12), 0 0 18px rgba(34, 211, 238, 0.18);
}

.search-results-count {
    text-align: center;
    color: var(--muted);
    margin-top: 16px;
    font-size: 0.9em;
}

.search-results-count span {
    color: var(--cyan);
    font-weight: 700;
}

.disclaimer {
    margin-top: 60px;
    padding: 28px 32px;
    background: var(--panel);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--red);
    border-radius: 12px;
}

.disclaimer-title {
    color: var(--red);
    font-size: 1.05em;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.disclaimer-text {
    color: var(--muted);
    line-height: 1.8;
    font-size: 0.9em;
}

.inspired-by {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--hairline);
    color: var(--muted);
    font-size: 0.85em;
    text-align: center;
}

.inspired-by a {
    color: var(--cyan);
    text-decoration: none;
    transition: all 0.25s ease;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.25);
}

.inspired-by a:hover {
    color: var(--cyan-bright);
    text-shadow: 0 0 18px rgba(34, 211, 238, 0.6);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    
    .leak-grid {
        grid-template-columns: 1fr;
    }
    
    .controls {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .stats-section {
        padding: 28px 18px 30px;
    }

    .chart-container {
        padding: 22px 16px;
    }

    .sector-bar {
        grid-template-columns: 96px 1fr;
        gap: 10px;
    }

    .sector-bar-label {
        font-size: 0.72em;
        white-space: normal;
    }

    .chart-summary {
        gap: 14px;
        padding: 14px 16px;
    }
}

/* Evidence Lightbox Overlay Styles */
.evidence-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.evidence-lightbox-overlay.active {
    display: flex;
}

.evidence-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.evidence-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    border: 2px solid var(--red);
    border-radius: 8px;
    box-shadow:
        0 0 40px rgba(255, 43, 61, 0.6),
        0 0 90px rgba(255, 43, 61, 0.35),
        inset 0 0 30px rgba(255, 43, 61, 0.15);
    position: relative;
}

/* Red corner accents */
.evidence-lightbox-content::before,
.evidence-lightbox-content::after,
.evidence-lightbox-image::before,
.evidence-lightbox-image::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--cyan);
    z-index: 1;
    pointer-events: none;
}

.evidence-lightbox-content::before {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
    box-shadow: -5px -5px 15px rgba(34, 211, 238, 0.5);
}

.evidence-lightbox-content::after {
    top: -10px;
    right: -10px;
    border-left: none;
    border-bottom: none;
    box-shadow: 5px -5px 15px rgba(34, 211, 238, 0.5);
}

.evidence-lightbox-image::before {
    bottom: -10px;
    left: -10px;
    border-right: none;
    border-top: none;
    box-shadow: -5px 5px 15px rgba(34, 211, 238, 0.5);
}

.evidence-lightbox-image::after {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
    box-shadow: 5px 5px 15px rgba(34, 211, 238, 0.5);
}

.evidence-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 43, 61, 0.18);
    border: 1px solid var(--red);
    border-radius: 10px;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 2;
}

.evidence-lightbox-close:hover {
    background: rgba(255, 43, 61, 0.35);
    box-shadow: 0 0 20px rgba(255, 43, 61, 0.7);
    transform: scale(1.08);
}

/* Make evidence images clickable */
.evidence-images img {
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: 6px;
}

.evidence-images img:hover {
    transform: scale(1.04);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
    filter: brightness(1.15);
}

/* Prevent body scroll when overlay is active */
body.lightbox-active {
    overflow: hidden;
}

/* Back to top button */
#backToTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #11161d;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-size: 22px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.2s, color 0.2s;
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.35);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background: var(--cyan);
    color: #0a0e14;
}

@media (max-width: 768px) {
    .evidence-lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .evidence-lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
}
