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


html {
    scroll-behavior: smooth;
}

html {
    scrollbar-width: thin;
}

html.home-page {
    scrollbar-color: #8b93a5 #090b12;
}

html.jump-page {
    scrollbar-color: #32dca1 #07152e;
}

html.fluke-page {
    scrollbar-color: #e8c84c #260a35;
}

html.info-page {
    scrollbar-color: #8ad9ff #07151f;
}

html::-webkit-scrollbar {
    width: 9px;
}

html::-webkit-scrollbar-track {
    background: #090b12;
}

html.home-page::-webkit-scrollbar-thumb {
    border: 2px solid #090b12;
    border-radius: 10px;
    background: linear-gradient(180deg, #e4e8ef, #737f92);
}

html.jump-page::-webkit-scrollbar-track {
    background: #07152e;
}

html.jump-page::-webkit-scrollbar-thumb {
    border: 2px solid #07152e;
    border-radius: 10px;
    background: linear-gradient(180deg, #46f2b1, #159fc7);
}

html.fluke-page::-webkit-scrollbar-track {
    background: #260a35;
}

html.fluke-page::-webkit-scrollbar-thumb {
    border: 2px solid #260a35;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff08a, #d99f2b);
}


body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    overflow-x: hidden;
}


a {
    color: inherit;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    min-height: 76px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    position: sticky;
    top: 0;

    z-index: 100;

    background: rgba(5, 8, 20, 0.55);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,0.07);
}


.logo {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 29px;
    font-weight: 900;
    letter-spacing: 4px;
}

.logo span {
    color: #cbd2dc;
    background: linear-gradient(180deg, #ffffff 5%, #c8ced8 45%, #838c99 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(74,190,255,0.7)) drop-shadow(0 0 12px rgba(157,81,255,0.45));
}


nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    flex-wrap: wrap;
    gap: 30px;
}


nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    text-decoration: none;
    color: rgba(255,255,255,0.6);
    font-weight: 700;
    font-size: 14px;
    transition: 0.2s;
}


nav a:hover {
    color: white;
}


.jump-active {
    color: #54ffb0;
}


.fluke-active {
    color: #ffe255;
}

.info-active {
    color: #7ad9ff;
}


/* =========================
   BACKGROUNDS
========================= */

.home-page {
    background: #030407;
}

body {
    transition: opacity 180ms ease, transform 180ms ease;
}

body.page-leaving {
    opacity: 0;
    transform: translateY(5px);
}


.jump-page {
    background:
        radial-gradient(circle at 50% 0%, #113d78 0%, #07152e 35%, #030712 75%);
    background-attachment: fixed;
}


.fluke-page {
    background:
        radial-gradient(circle at 50% 0%, #5c176e 0%, #260a35 38%, #0a040e 78%);
    background-attachment: fixed;
}

.info-page {
    background:
        radial-gradient(circle at 50% 0%, #123d65 0%, #071a2c 34%, #030910 74%);
    background-attachment: fixed;
}


/* =========================
   PARTICLES
========================= */

#particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}


.particle {
    position: absolute;
    border-radius: 0;
    animation: floatParticle linear infinite;
}


.jump-page .particle {
    background: #42ff9b;
    box-shadow: 0 0 12px #42ff9b;
}


.fluke-page .particle {
    background: #ffe033;
    box-shadow: 0 0 12px #ffe033;
}


.home-page .particle {
    background: white;
    box-shadow: 0 0 8px white;
}

.home-page .particle:nth-child(even) {
    background: #3b9dff;
    box-shadow: 0 0 12px #1688ff;
}

.info-page .particle {
    background: #7ed8ff;
    box-shadow: 0 0 12px #7ed8ff;
}


@keyframes floatParticle {

    from {
        transform: translateY(110vh);
    }

    to {
        transform: translateY(-20vh);
    }

}


/* =========================
   HOMEPAGE
========================= */

.home-main {
    min-height: max(620px, calc(100vh - 76px));
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 60px 25px;
}


.hero {
    width: min(1100px, 100%);
    text-align: center;
}


.eyebrow {
    font-size: clamp(10px, 1.2vw, 12px);
    font-weight: 900;
    letter-spacing: clamp(3px, 0.7vw, 7px);
    color: #68b7ff;
    margin-bottom: 25px;
}


.hero h1 {
    font-size: clamp(38px, 8vw, 100px);
    line-height: 0.98;
    letter-spacing: -4px;
}


.hero h1 span {
    display: block;
    margin-top: 8px;
    background: linear-gradient(90deg, #ffffff, #76bdff, #ffffff);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-credit {
    margin-top: 22px;
    color: rgba(255,255,255,0.62);
    font-size: 18px;
    letter-spacing: 3px;
}

.hero-credit span {
    color: #64b5ff;
    font-weight: 800;
}


.hero-text {
    max-width: 660px;
    margin: 35px auto;

    line-height: 1.7;
    font-size: clamp(15px, 2vw, 18px);

    color: rgba(255,255,255,0.62);
}


.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;

    margin-top: 42px;
}


.button {
    text-decoration: none;
    padding: 17px 36px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;

    transition: 0.25s;
}


.button:hover {
    transform: translateY(-4px);
}


.button-jump {
    background: #328fff;
    color: #020812;
    box-shadow: 0 0 32px rgba(50,143,255,0.35);
}


.button-fluke {
    background: #ffe04d;
    color: #201800;
    box-shadow: 0 0 30px rgba(255,224,77,0.2);
}


/* =========================
   HOME CARDS
========================= */

.home-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;

    margin-top: 85px;
}


.home-card {
    position: relative;
    overflow: hidden;

    text-align: left;

    padding: clamp(22px, 3vw, 35px);

    min-height: 260px;

    border-radius: 20px;

    text-decoration: none;

    border: 1px solid rgba(255,255,255,0.09);

    background: rgba(255,255,255,0.04);

    backdrop-filter: blur(15px);

    transition: 0.25s;
}


.home-card:hover {
    transform: translateY(-8px);
}


.jump-card:hover {
    border-color: rgba(62,255,159,0.4);
    box-shadow: 0 20px 70px rgba(35,255,140,0.08);
}


.fluke-card:hover {
    border-color: rgba(255,223,60,0.4);
    box-shadow: 0 20px 70px rgba(255,214,35,0.08);
}


.card-number {
    font-size: 60px;
    font-weight: 900;
    opacity: 0.1;

    position: absolute;
    right: 25px;
    top: 20px;
}


.home-card h2 {
    font-size: 30px;
    margin-bottom: 15px;
}


.home-card p {
    max-width: 420px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}


.card-link {
    display: block;
    margin-top: 45px;
    font-weight: 900;
}


/* =========================
   RANKING
========================= */

.ranking-container {
    width: min(1460px, 94%);
    margin: auto;

    padding: clamp(36px, 6vw, 80px) 0;

    position: relative;
    z-index: 2;
}

.ranking-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;

    margin-bottom: 50px;
}


.ranking-hero h1 {
    font-size: clamp(44px, 4.8vw, 100px);
    letter-spacing: clamp(-4px, -0.4vw, -1px);
    line-height: 1;
}


.ranking-hero > div > p:last-child {
    color: rgba(255,255,255,0.58);
    margin-top: 16px;
    font-size: clamp(14px, 1.6vw, 16px);
}


.ranking-count {
    width: 150px;
    height: 115px;

    border-radius: 17px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.045);

    border: 1px solid rgba(255,255,255,0.1);

    backdrop-filter: blur(15px);
}


.ranking-count strong {
    font-size: 40px;
}


.ranking-count span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;

    opacity: 0.55;
}


.jump-count {
    box-shadow: 0 0 40px rgba(50,255,150,0.08);
}


.fluke-count {
    box-shadow: 0 0 40px rgba(255,230,50,0.08);
}


/* =========================
   RANKING PANEL
========================= */

.ranking-panel {
    min-width: 0;
    border: 1px solid rgba(255,255,255,0.07);

    background: rgba(0,0,0,0.16);

    border-radius: 18px;

    padding: 18px;

    backdrop-filter: blur(12px);
}


.ranking-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 5px 5px 22px;
}


.ranking-tools input {
    width: min(350px, 100%);
    min-width: 0;
    padding: 13px 15px;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.09);

    border-radius: 8px;

    outline: none;

    color: white;
}


.ranking-tools input::placeholder {
    color: rgba(255,255,255,0.35);
}


.ranking-tools input:focus {
    border-color: rgba(255,255,255,0.25);
}


.list-label {
    font-size: clamp(9px, 1vw, 10px);
    font-weight: 900;
    letter-spacing: 3px;
    opacity: 0.35;
}


/* =========================
   INFO PAGE
========================= */

.info-main {
    padding-top: clamp(34px, 5vw, 60px);
}

.info-hero {
    margin-bottom: 26px;
}

.info-panel {
    padding: clamp(20px, 3vw, 30px);
    border-color: rgba(122, 217, 255, 0.18);
    box-shadow: inset 0 0 28px rgba(76, 161, 255, 0.04), 0 0 28px rgba(92, 178, 255, 0.05);
}

.info-section-header {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.info-kicker {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #7ad9ff;
}

.info-panel h2 {
    font-size: clamp(24px, 4vw, 40px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.info-intro {
    margin-bottom: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    font-size: clamp(15px, 1.75vw, 17px);
}

.info-rules {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.info-rules li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.info-rules li::before {
    content: "✦";
    flex: 0 0 auto;
    color: #7ad9ff;
    text-shadow: 0 0 12px rgba(122, 217, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 1px;
}

.info-notice {
    border-radius: 14px;
    padding: clamp(18px, 2.5vw, 24px);
    text-align: center;
    border: 1px solid rgba(122, 217, 255, 0.4);
    background: linear-gradient(135deg, rgba(11, 36, 52, 0.9), rgba(24, 33, 57, 0.7), rgba(10, 16, 30, 0.8));
    box-shadow: inset 0 0 26px rgba(122, 217, 255, 0.08), 0 0 26px rgba(122, 217, 255, 0.15);
}

.info-notice p {
    font-size: clamp(16px, 2.3vw, 22px);
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #edf7ff;
    text-shadow: 0 0 14px rgba(122, 217, 255, 0.3);
}

.info-notice span {
    display: inline-block;
    color: #7ad9ff;
    text-shadow: 0 0 16px rgba(122, 217, 255, 0.42);
}


/* =========================
   LIST
========================= */

.ranking-header,
.list-entry {
    display: grid;

    grid-template-columns:
        minmax(52px, 82px)
        minmax(170px, 220px)
        minmax(0, 1fr)
        minmax(180px, 240px);

    gap: clamp(10px, 1.1vw, 16px);

    align-items: center;
}

.list-entry > * {
    min-width: 0;
}


.ranking-header {
    padding: 0 18px 12px;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;

    color: rgba(255,255,255,0.35);
}


.list-entry {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 96px;

    margin-bottom: 8px;

    padding: 16px 18px;

    border-radius: 11px;

    background: linear-gradient(115deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018) 58%, rgba(255,255,255,0.035));

    border: 1px solid rgba(255,255,255,0.055);

    transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.list-entry > * {
    position: relative;
    z-index: 1;
}

.jump-page .list-entry {
    border-color: rgba(72,225,190,0.15);
    box-shadow: inset 0 0 22px rgba(34,190,177,0.025);
}

.fluke-page .list-entry {
    border-color: rgba(235,194,78,0.16);
    box-shadow: inset 0 0 22px rgba(199,135,44,0.035);
}


.jump-page .list-entry:hover {
    transform: translateY(-2px);

    background: linear-gradient(110deg, rgba(45,235,161,0.09), rgba(36,178,208,0.06) 58%, rgba(255,255,255,0.025));

    border-color: rgba(76,239,194,0.35);
    box-shadow: 0 5px 22px rgba(32,205,176,0.09), inset 0 0 18px rgba(32,205,176,0.035);
}


.fluke-page .list-entry:hover {
    transform: translateY(-2px);

    background: linear-gradient(110deg, rgba(244,203,70,0.095), rgba(185,124,44,0.07) 58%, rgba(255,255,255,0.02));

    border-color: rgba(255,218,105,0.38);
    box-shadow: 0 5px 22px rgba(219,170,45,0.1), inset 0 0 18px rgba(219,170,45,0.04);
}

.list-entry.rank-1::after,
.list-entry.rank-2::after,
.list-entry.rank-3::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(112deg, transparent 36%, rgba(255,255,255,0.075) 48%, rgba(255,255,255,0.025) 53%, transparent 64%);
    background-size: 250% 100%;
    background-position: 150% 0;
    animation: leaderboard-card-shine 8s ease-in-out infinite;
}

.list-entry.rank-2::after {
    animation-delay: 1.6s;
}

.list-entry.rank-3::after {
    animation-delay: 3.2s;
}

@keyframes leaderboard-card-shine {
    0%, 72%, 100% { background-position: 150% 0; }
    86% { background-position: -50% 0; }
}


.position {
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 900;
    opacity: 1;
}


.player {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 900;
}

.player-details {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.player-name {
    overflow-wrap: anywhere;
}

.player-nationality {
    color: rgba(255,255,255,0.48);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
}

.player-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-right: 8px;
    line-height: 1;
    vertical-align: middle;
}

.player-flag .fi {
    display: block;
    width: 22px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    vertical-align: middle;
    background-size: cover;
    background-position: center;
}


.achievement-title {
    font-weight: 900;
    font-size: clamp(14px, 1.5vw, 16px);
    overflow-wrap: anywhere;
}


.achievement-subtitle {
    font-size: clamp(10px, 1.2vw, 12px);
    color: rgba(255,255,255,0.46);
    margin-top: 6px;
}


/* =========================
   TOP 3
========================= */

.list-entry.rank-1 {
    transform: scale(1.012);
}

.jump-page .list-entry.rank-1,
.jump-page .list-entry.rank-2,
.jump-page .list-entry.rank-3 {
    border-color: rgba(63,231,188,0.27);
}

.fluke-page .list-entry.rank-1,
.fluke-page .list-entry.rank-2,
.fluke-page .list-entry.rank-3 {
    border-color: rgba(255,216,102,0.28);
}


.jump-page .rank-1 {
    box-shadow: 0 0 40px rgba(47,255,149,0.12);
}


.fluke-page .rank-1 {
    box-shadow: 0 0 40px rgba(255,225,50,0.1);
}


.rank-1 .position {
    font-size: 27px;
}


.rank-2 .position,
.rank-3 .position {
    font-size: 23px;
}

.rank-gray .position {
    color: #9298a3;
}

.rank-bronze .position {
    color: #cd8956;
}

.rank-silver .position {
    color: #d5dce5;
}

.rank-gold .position {
    color: #ffd45a;
    text-shadow: 0 0 9px rgba(255,212,90,0.45);
}

.rank-emerald-purple .position {
    color: #a78bfa;
    text-shadow: 0 0 7px rgba(52,230,164,0.8), 0 0 15px rgba(167,139,250,0.6);
}

.rank-dark-blue .position {
    color: #164c91;
    background: linear-gradient(110deg, #102c59 15%, #5eafff 48%, #102c59 80%);
    background-size: 220% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: blue-rank-shimmer 2.8s linear infinite;
    text-shadow: 0 0 12px rgba(45,131,255,0.55);
}

.rank-pink-gold .position {
    background: linear-gradient(110deg, #b98218 15%, #fff0a3 48%, #d89d2b 80%);
    background-size: 220% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gold-rank-shimmer 2.4s linear infinite;
    filter: drop-shadow(0 0 5px #ff58ca) drop-shadow(0 0 11px rgba(255,65,190,0.75));
}

.rank-rgb-silver .position {
    background: linear-gradient(110deg, #555d69 15%, #e4e8ee 48%, #626a76 80%);
    background-size: 220% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: silver-rank-shimmer 2.2s linear infinite, rgb-rank-glow 4s linear infinite;
}

@keyframes blue-rank-shimmer {
    to { background-position: 220% center; }
}

@keyframes gold-rank-shimmer {
    to { background-position: 220% center; }
}

@keyframes silver-rank-shimmer {
    to { background-position: 220% center; }
}

@keyframes rgb-rank-glow {
    0%, 100% { filter: drop-shadow(0 0 6px #ff3d3d); }
    33% { filter: drop-shadow(0 0 7px #47ff7b); }
    66% { filter: drop-shadow(0 0 7px #438bff); }
}

@media (prefers-reduced-motion: reduce) {
    .rank-dark-blue .position,
    .rank-pink-gold .position,
    .rank-rgb-silver .position {
        animation: none;
    }
}


/* =========================
   VIDEO BUTTON
========================= */

.video-button {
    display: inline-block;

    text-align: center;

    text-decoration: none;

    padding: 10px;

    border-radius: 7px;

    font-size: 11px;
    font-weight: 900;

    border: 1px solid rgba(255,255,255,0.13);

    background: rgba(255,255,255,0.035);

    transition: 0.2s;
}

.entry-video {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 220px;
    height: 80px;
    margin-left: auto;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    text-decoration: none;
}

.entry-video:focus-visible,
.button:focus-visible,
nav a:focus-visible {
    outline: 2px solid #76bdff;
    outline-offset: 3px;
}

.entry-thumbnail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 24%, #000 62%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 24%, #000 62%);
}

.entry-video .video-button {
    position: relative;
    z-index: 1;
    margin-right: 3px;
    background: rgba(5,8,20,0.65);
    backdrop-filter: blur(5px);
}


.video-button:hover {
    background: white;
    color: black;
}


.no-video {
    opacity: 0.25;
    font-size: 12px;
}


/* =========================
   FOOTER
========================= */

footer {
    text-align: center;
    padding: 26px 18px 30px;

    position: relative;
    z-index: 2;

    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 1.6;
    text-transform: none;

    color: rgba(255,255,255,0.38);
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(5, 8, 20, 0.18);
}


/* =========================
   RESPONSIVE LAYOUT
========================= */

@media (max-width: 1000px) {
    .ranking-header,
    .list-entry {
        grid-template-columns: 48px minmax(110px, 145px) minmax(0, 1fr) minmax(120px, 155px);
    }

    .ranking-panel {
        padding: 14px;
    }

    .ranking-hero {
        gap: 20px;
    }
}

@media (max-width: 760px) {

    .navbar {
        min-height: 64px;
        padding: 8px clamp(14px, 4vw, 24px);
        gap: 8px 16px;
    }

    .logo {
        font-size: clamp(20px, 5vw, 22px);
    }

    .navbar nav {
        justify-content: flex-end;
        gap: 4px clamp(6px, 2vw, 15px);
    }

    nav a {
        font-size: clamp(11px, 2.7vw, 12px);
    }

    .hero h1 {
        letter-spacing: clamp(-3px, -0.5vw, -1px);
    }

    .hero h1 span {
        font-size: clamp(25px, 7vw, 52px);
        overflow-wrap: anywhere;
    }

    .home-cards {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 48px;
    }

    .home-main {
        min-height: calc(100svh - 110px);
        padding: 48px 18px;
    }

    .hero-buttons .button {
        min-width: min(220px, 100%);
    }

    .ranking-container {
        width: min(100% - 24px, 680px);
        padding: 34px 0;
    }

    .ranking-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 28px;
    }

    .ranking-hero > div:first-child {
        min-width: 0;
        width: 100%;
    }

    .ranking-hero .eyebrow {
        letter-spacing: clamp(2px, 0.7vw, 5px);
        overflow-wrap: anywhere;
    }

    .ranking-hero h1 {
        font-size: clamp(34px, 9vw, 58px);
        overflow-wrap: anywhere;
    }

    .ranking-count {
        width: 100%;
        height: auto;
        min-height: 76px;
        flex-direction: row;
        gap: 12px;
    }

    .ranking-count strong {
        font-size: 30px;
    }

    .ranking-count span {
        font-size: 9px;
    }

    .ranking-header {
        display: none;
    }

    .ranking-panel {
        padding: clamp(8px, 2.5vw, 14px);
        border-radius: 14px;
    }

    .ranking-tools {
        align-items: stretch;
        gap: 12px;
        padding: 3px 2px 16px;
    }

    .ranking-tools input {
        width: 100%;
        min-height: 46px;
        font-size: 16px;
    }

    .list-label {
        align-self: flex-start;
        letter-spacing: 2px;
    }

    .list-entry {
        grid-template-columns: 38px minmax(0, 1fr) minmax(88px, 30%);
        gap: 8px;
        min-height: 100px;
        padding: 12px 10px;
    }

    .position {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
        font-size: clamp(15px, 4vw, 20px);
    }

    .rank-1 .position {
        font-size: clamp(19px, 5vw, 27px);
    }

    .rank-2 .position,
    .rank-3 .position {
        font-size: clamp(17px, 4.5vw, 23px);
    }

    .player {
        grid-column: 2;
        grid-row: 1;
        gap: 6px;
        font-size: clamp(12px, 3.4vw, 15px);
        overflow-wrap: anywhere;
    }

    .player-flag {
        width: 25px;
        height: 17px;
    }

    .achievement {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
    }

    .achievement-title {
        font-size: clamp(12px, 3.6vw, 15px);
    }

    .achievement-subtitle {
        font-size: clamp(10px, 2.8vw, 12px);
        line-height: 1.35;
    }

    .entry-video {
        grid-column: 3;
        grid-row: 1 / span 2;
        justify-self: stretch;
        width: 100%;
        max-width: none;
        height: 100%;
        min-height: 76px;
        margin: 0;
    }

    .entry-video .video-button {
        min-height: 40px;
        padding: 9px 7px;
        font-size: 10px;
    }

    .no-video {
        grid-column: 3;
        grid-row: 1 / span 2;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0;
    }

    footer {
        padding: 24px 14px;
        font-size: 10px;
        letter-spacing: 1px;
    }
}

@media (max-width: 420px) {
    .navbar {
        flex-wrap: wrap;
    }

    .navbar nav {
        flex: 1 1 auto;
    }

    .home-main {
        padding-inline: 14px;
    }

    .hero h1 {
        font-size: clamp(34px, 10vw, 42px);
    }

    .hero-credit {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .ranking-container {
        width: calc(100% - 16px);
    }

    .ranking-panel {
        padding: 7px;
    }

    .list-entry {
        grid-template-columns: 32px minmax(0, 1fr) minmax(76px, 29%);
        gap: 6px;
        padding: 10px 7px;
    }

    .player {
        font-size: 12px;
    }

    .player-flag {
        width: 22px;
        height: 15px;
    }

    .entry-video .video-button {
        padding-inline: 5px;
        font-size: 9px;
    }

    .ranking-tools input {
        padding-inline: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body {
        transition: none;
    }

    .logo::before,
    .list-entry.rank-1::after,
    .list-entry.rank-2::after,
    .list-entry.rank-3::after {
        animation: none;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}