@font-face {
  font-family: 'Chakra Petch';
  src:
    url('../fonts/Chakra_Petch/ChakraPetch-Regular.woff2') format('woff2'),
    url('../fonts/Chakra_Petch/ChakraPetch-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
    font-family: 'Science Gothic';
    src: url('../fonts/ScienceGothic/ScienceGothic-VariableFont_CTRS,slnt,wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-tint: rgba(6, 14, 19, 0.62);
    --bg-heavy: rgba(4, 9, 13, 0.82);
    --panel: rgba(10, 27, 36, 0.78);
    --panel-border: rgba(180, 239, 255, 0.28);
    --text: #f2fcff;
    --muted: #b6d8e3;
    --accent: #44e4ff;
    --ok: #98f7a7;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100dvh;
    font-family: 'Chakra Petch', 'Segoe UI', sans-serif;
    color: var(--text);
    background:
        radial-gradient(120vw 120vw at 10% 10%, rgba(68, 228, 255, 0.12), transparent 55%),
        radial-gradient(120vw 120vw at 90% 90%, rgba(255, 203, 69, 0.16), transparent 50%),
        #06131a;
    overflow-x: hidden;
}

.bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
    filter: saturate(1.08) contrast(1.06);
}

.bg-overlay {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(160deg, var(--bg-heavy) 8%, rgba(7, 15, 24, 0.7) 40%, rgba(7, 15, 24, 0.76) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.25), transparent 35%);
}

.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.2rem 1rem 2.8rem;
}

.card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.34);
}

.hero {
    padding: 1.3rem 1.25rem 1.4rem;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(68, 228, 255, 0.28), transparent 68%);
    pointer-events: none;
}

.eyebrow {
    margin: 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    font-size: 0.79rem;
    font-weight: 700;
}

h1,
h2 {
    font-family: 'Science Gothic', 'Impact', sans-serif;
    letter-spacing: 0.03em;
    margin: 0;
    line-height: 1;
    font-weight: 650;
}

h1 {
    font-size: clamp(2.4rem, 8vw, 4.2rem);
    margin-top: 0.2rem;
    text-transform: uppercase;
}

.hero p {
    margin: 0.85rem 0 0;
    max-width: 70ch;
    color: var(--muted);
    font-size: 1.03rem;
}

.hero-next {
    margin-top: 1rem;
    display: inline-flex;
    gap: 0.65rem;
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid var(--accent);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    background: rgba(68, 228, 255, 0.08);
}

.hero-next strong {
    color: var(--accent);
    font-size: 0.95rem;
}

.status {
    margin-top: 0.8rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--accent);
    background: rgba(7, 19, 28, 0.58);
    color: #deeff6;
}

.status a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.status a:hover,
.status a:focus-visible {
    text-decoration: underline;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.span-6 {
    grid-column: span 6;
}

.span-12 {
    grid-column: span 12;
}

.section {
    padding: 1rem;
    animation: enter 0.7s ease both;
}

.section:nth-child(2) {
    animation-delay: 0.1s;
}

.section:nth-child(3) {
    animation-delay: 0.18s;
}

@keyframes enter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section h2 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.95rem, 3vw, 2.5rem);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.16);
    border-radius: 10px;
    overflow: hidden;
}

th,
td {
    padding: 0.58rem 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

td {
    color: #f2fbff;
}

tr:last-child td {
    border-bottom: 0;
}

.rank {
    color: var(--ok);
    font-weight: 700;
}

.small-note {
    color: #b8d3dc;
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
}

.video-note {
    margin-top: 0.8rem;
    color: rgba(224, 242, 249, 0.85);
    font-size: 0.86rem;
}

.footer-note {
    margin-top: 1.2rem;
    padding: 0.6rem 0.2rem 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(216, 236, 244, 0.78);
    border-top: 1px solid rgba(180, 239, 255, 0.25);
}

@media (max-width: 900px) {

    .span-6,
    .span-12 {
        grid-column: span 12;
    }

    .hero {
        padding: 1.1rem;
    }

    .hero p {
        font-size: 0.98rem;
    }
}

@media (max-width: 640px) {
    .bg-video {
        object-position: right center;
    }

    .page {
        padding: 1rem 0.7rem 1.4rem;
    }

    th,
    td {
        padding: 0.5rem 0.45rem;
        font-size: 0.9rem;
    }

    .hero-next {
        border-radius: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section {
        animation: none;
    }

    .bg-video {
        display: none;
    }
}