/* ============================================================
   VPEsports — Main Stylesheet
   Depends on animations.css (loaded first via functions.php)
   ============================================================ */

/* ─── CSS Custom Properties ──────────────────────────────── */
:root {
    --bg:           #0f1923;
    --surface:      #1f2933;
    --surface-2:    #243040;
    --primary:      #ff4655;
    --primary-glow: #ff6070;
    --primary-dim:  rgba(255, 70, 85, 0.15);
    --foreground:   #ece8e1;
    --muted:        #8b9196;
    --border:       rgba(55, 75, 100, 0.5);
    --border-light: rgba(255, 255, 255, 0.08);

    --font-display: 'Bebas Neue', sans-serif;
    --font-tech:    'JetBrains Mono', monospace;
    --font-body:    'Inter', sans-serif;

    --transition: 0.2s ease;
    --section-gap: 5rem;
}

/* ─── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); color: var(--foreground); scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── Utilities ──────────────────────────────────────────── */
.text-display {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 0.95;
}
.text-tech {
    font-family: var(--font-tech);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.68rem;
}
.clip-corner {
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.clip-tag {
    clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.container { max-width: 1400px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }
.section-gap { padding: var(--section-gap) 0; }
.is-hidden { display: none !important; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 70, 85, 0.6);
    background: rgba(255, 70, 85, 0.1);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-tech);
    font-size: 0.68rem;
    color: var(--primary);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}
.btn-primary:hover, .btn-primary:focus-visible {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-tech);
    font-size: 0.68rem;
    color: var(--foreground);
    transition: background var(--transition);
    white-space: nowrap;
}
.btn-secondary:hover, .btn-secondary:focus-visible { background: rgba(255, 255, 255, 0.1); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-tech);
    font-size: 0.68rem;
    color: var(--muted);
    transition: color var(--transition);
    padding: 0.25rem 0;
}
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--primary); }

/* ─── Section headers ────────────────────────────────────── */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
}
.section-header__left { display: flex; flex-direction: column; gap: 0.4rem; }
.section-label { display: flex; align-items: center; gap: 0.6rem; color: var(--primary); }
.section-label__bar { display: inline-block; width: 24px; height: 2px; background: var(--primary); flex-shrink: 0; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--foreground); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #000000;
    height: 68px;
    border-bottom: 1px solid rgba(255,70,85,.55);
}
.site-header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,70,85,.4) 15%,
        rgba(255,70,85,1) 40%,
        #ff8090 50%,
        rgba(255,70,85,1) 60%,
        rgba(255,70,85,.4) 85%,
        transparent 100%);
    box-shadow:
        0 0 6px  rgba(255,70,85,.9),
        0 0 18px rgba(255,70,85,.55),
        0 0 40px rgba(255,70,85,.25);
    pointer-events: none;
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; flex-shrink: 0; }
.logo-icon {
    width: 32px; height: 32px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    flex-shrink: 0;
}
.logo-text { font-family: var(--font-display); font-size: 1.1rem; color: var(--foreground); letter-spacing: 0.05em; line-height: 1; }
.logo-dot  { color: var(--primary); }
.logo-vmark { flex-shrink: 0; filter: drop-shadow(0 0 10px rgba(255,70,85,0.55)); transition: filter var(--transition); }
.logo:hover .logo-vmark { filter: drop-shadow(0 0 18px rgba(255,70,85,0.8)); }
.logo--brand { gap: 0; }
.logo-full { flex-shrink: 0; filter: drop-shadow(0 0 12px rgba(255,70,85,0.45)); transition: filter var(--transition); }
.logo--brand:hover .logo-full { filter: drop-shadow(0 0 22px rgba(255,70,85,0.75)); }
.logo-img-apz {
    height: 38px; width: auto; flex-shrink: 0;
    filter: none;
    transition: opacity var(--transition);
}
.logo--brand:hover .logo-img-apz { filter: none; opacity: 0.85; }

/* Nav links */
.nav-links { display: none; align-items: center; gap: 0; }
@media (min-width: 1100px) { .nav-links { display: flex; } }
.nav-links a {
    font-family: var(--font-tech);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: var(--muted);
    padding: 0.55rem 0.7rem;
    transition: color var(--transition);
    position: relative;
    text-transform: uppercase;
    white-space: nowrap;
}
/* Slightly larger nav once there's plenty of room */
@media (min-width: 1320px) {
    .nav-links a { font-size: 0.9rem; letter-spacing: 0.1em; padding: 0.55rem 0.95rem; }
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0.6rem; right: 0.6rem;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item > a { color: var(--primary); }
.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links .current-menu-item > a::after { transform: scaleX(1); }
.nav-links a:focus-visible { outline: none; }
.mobile-nav-links a:focus-visible { outline: none; }
/* Active page underline = white */
.nav-links a.active::after,
.nav-links .current-menu-item > a::after { background: #ffffff; }

/* Nav actions */
.nav-actions { display: none; }
@media (min-width: 1100px) { .nav-actions { display: flex; } }

.btn-track {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-tech);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    transition: background var(--transition);
    flex-shrink: 0;
}
.btn-track:hover { background: var(--primary-glow); }

/* Hamburger */
.nav-hamburger { display: flex; flex-direction: column; gap: 5px; padding: 0.5rem; }
@media (min-width: 1100px) { .nav-hamburger { display: none; } }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--foreground); transition: transform var(--transition), opacity var(--transition); }
.nav-hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-active span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu { background: rgba(15,25,35,0.97); border-bottom: 1px solid var(--border); padding: 1rem; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-links a {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--muted);
    padding: 0.75rem 1rem;
    border-left: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
    text-transform: uppercase;
}
.mobile-nav-links a:hover { color: var(--primary); border-color: var(--primary); }

/* Active page in mobile menu */
.mobile-nav-links .mob-active > a,
.mobile-nav-links .current-menu-item > a {
    color: var(--primary);
    border-left-color: var(--primary);
    background: rgba(255,70,85,.07);
}
.mobile-nav-links .mob-active > a::before,
.mobile-nav-links .current-menu-item > a::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 0.6rem;
    box-shadow: 0 0 6px rgba(255,70,85,.8);
    flex-shrink: 0;
}

/* ============================================================
   BACKGROUND CANVAS — React SiteBackground parity
   ============================================================ */
.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    /* 1:1 React SiteBackground base gradient */
    background: linear-gradient(155deg,
        oklch(0.15 0.03 250) 0%,
        oklch(0.12 0.022 242) 45%,
        oklch(0.09 0.012 238) 100%);
}

/* Banner image — center top, 18% opacity, luminosity */
.bg-banner {
    position: absolute; inset: 0;
    background-size: cover; background-position: center top;
    opacity: 0.18;
    mix-blend-mode: luminosity;
}

/* Dot grid — hidden per user preference */
.bg-dot-grid { display: none; }

/* Diagonal slash motif — exact React repeating-linear-gradient */
.bg-slash {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        115deg,
        transparent 0 72px,
        oklch(0.65 0.245 22 / 0.035) 72px 74px
    );
}

/* Ambient glows — exact React radial-gradient positions, no blur */
.bg-glow { position: absolute; inset: 0; pointer-events: none; }

/* Top-right red glow: 65% 50% at 82% 0% */
.bg-glow--tr {
    background: radial-gradient(65% 50% at 82% 0%,
        oklch(0.65 0.245 22 / 0.38) 0%, transparent 65%);
}
/* Bottom-left red glow */
.bg-glow--bl {
    background: radial-gradient(40% 40% at 5% 95%,
        oklch(0.55 0.22 22 / 0.18) 0%, transparent 68%);
}
/* Left blue-dark glow — darkens left side */
.bg-glow--left {
    background: radial-gradient(50% 55% at 0% 58%,
        oklch(0.22 0.07 250 / 0.45) 0%, transparent 65%);
}

/* Sonar rings */
.bg-sonar { position: absolute; width: 320px; height: 320px; }
.bg-sonar--bl { bottom: -80px; left: -80px; }
.bg-sonar--tr { top: -80px; right: -80px; }
.sonar-ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 1px solid rgba(255,70,85,0.22);
    animation: sonar-expand 6s ease-out infinite;
}
.sonar-ring--1 { animation-delay: 0s; }
.sonar-ring--2 { animation-delay: 2s; }
.sonar-ring--3 { animation-delay: 4s; }

/* Energy streaks — very faint, fast */
.bg-streaks { position: absolute; inset: 0; }
.streak {
    position: absolute; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,70,85,0.18), transparent);
    animation: streak-slide linear infinite;
}
.streak--1 { top: 12%; width: 90px;  animation-duration: 8s;  animation-delay: 0s; }
.streak--2 { top: 28%; width: 130px; animation-duration: 11s; animation-delay: 2s; }
.streak--3 { top: 44%; width: 60px;  animation-duration: 7s;  animation-delay: 4s; }
.streak--4 { top: 58%; width: 110px; animation-duration: 13s; animation-delay: 1s; }
.streak--5 { top: 72%; width: 80px;  animation-duration: 9s;  animation-delay: 6s; }
.streak--6 { top: 85%; width: 50px;  animation-duration: 10s; animation-delay: 3s; }
.streak--7 { top: 93%; width: 70px;  animation-duration: 12s; animation-delay: 5s; }

/* Hex wireframes — very subtle, match React 0.05/0.035 */
.bg-hex { position: absolute; opacity: 0.04; animation: hex-spin 55s linear infinite; }
.bg-hex--lg { translate: 0 -50%; } /* separate from transform so hex-spin doesn't conflict */
.bg-hex--sm { animation: hex-spin-reverse 38s linear infinite; }

/* Diamond particles — barely visible, just floating hints */
.bg-particles { position: absolute; inset: 0; }
.particle {
    position: absolute;
    width: var(--p-size, 3px); height: var(--p-size, 3px);
    left: var(--p-x, 50%);
    bottom: 0;
    background: rgba(255,70,85,0.5);
    transform: rotate(45deg);
    animation: particle-float var(--p-dur, 20s) var(--p-delay, 0s) linear infinite;
}

/* Scan sweep — near invisible */
.bg-scan {
    position: absolute; inset-x: 0; top: 0; height: 128px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255,70,85,0.05) 50%, transparent 100%);
    animation: scan-sweep 12s ease-in-out infinite;
}

/* HUD corner brackets — very dim */
.bg-hud { position: absolute; width: 20px; height: 20px; }
.bg-hud--tl { top: 20px; left: 20px;    border-top: 1px solid rgba(255,70,85,0.18); border-left: 1px solid rgba(255,70,85,0.18); }
.bg-hud--tr { top: 20px; right: 20px;   border-top: 1px solid rgba(255,70,85,0.18); border-right: 1px solid rgba(255,70,85,0.18); }
.bg-hud--bl { bottom: 20px; left: 20px; border-bottom: 1px solid rgba(255,70,85,0.12); border-left: 1px solid rgba(255,70,85,0.12); }
.bg-hud--br { bottom: 20px; right: 20px; border-bottom: 1px solid rgba(255,70,85,0.12); border-right: 1px solid rgba(255,70,85,0.12); }

/* Vignette — reduced opacity, less dark */
.bg-vignette {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 70% 50%,
        transparent 0%, oklch(0.10 0.015 240 / 0.45) 100%);
}
/* Bottom fade — softer */
.bg-vignette-bottom {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom,
        transparent 0%,
        transparent 50%,
        oklch(0.09 0.012 238 / 0.55) 100%);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative; z-index: 1;
    overflow: hidden;
    background: var(--bg);
    min-height: calc(100vh - 56px);
    display: flex; flex-direction: column;
    /* Red glowing bottom line separating hero from news */
    box-shadow:
        0 1px 0 rgba(255, 70, 85, 0.75),
        0 2px 0 rgba(255, 70, 85, 0.15),
        0 4px 32px rgba(255, 70, 85, 0.2);
}
.hero-inner {
    flex: 1;
    max-width: 1400px; margin: 0 auto; width: 100%;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr 1fr; padding: 3rem; gap: 3rem; }
}

/* Left: content */
.hero-content { display: flex; flex-direction: column; gap: 1.5rem; animation: slide-up 0.8s ease forwards; }
.hero-eyebrow { display: flex; align-items: center; }
.eyebrow-label { display: flex; align-items: center; gap: 0.5rem; color: var(--primary); }
.eyebrow-dot {
    display: inline-block; width: 6px; height: 6px;
    background: var(--primary); border-radius: 50%;
    animation: blink 1.4s ease-in-out infinite;
}
.hero-title { font-size: clamp(4rem, 10vw, 8rem); color: var(--foreground); display: flex; flex-direction: column; }
.hero-title__line1 { color: var(--muted); font-size: 0.45em; }
.hero-title__line2 { color: var(--foreground); }
.hero-title__sub {
    font-size: 0.28em; color: var(--primary);
    letter-spacing: 0.25em; margin-top: 0.5rem;
    border-left: 3px solid var(--primary); padding-left: 0.75rem;
}
.hero-desc { color: var(--muted); max-width: 480px; font-size: 0.95rem; line-height: 1.7; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Stat cards */
.hero-stats {
    display: flex; align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(31,41,51,0.6);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    animation: stat-pop 0.6s 0.4s ease both;
}
.stat-card { display: flex; flex-direction: column; gap: 0.2rem; padding: 0 1.25rem; flex: 1; min-width: 0; }
.stat-card:first-child { padding-left: 0; }
.stat-card__value { font-size: 1.8rem; color: var(--foreground); line-height: 1; }
.stat-card__label { color: var(--primary); }
.stat-divider { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* Right: agent */
.hero-agent {
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    animation: slide-in-right 0.8s 0.2s ease both;
}
.agent-img-wrap {
    position: relative; width: 100%; max-width: 420px;
    aspect-ratio: 3/4; overflow: hidden;
}
.agent-glow {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(255,70,85,0.25) 0%, transparent 65%);
    animation: glow-pulse 4s ease-in-out infinite;
    z-index: 0;
}
.agent-img {
    position: relative; z-index: 1;
    width: 100%; height: 100%;
    object-fit: contain; object-position: center bottom;
    filter: drop-shadow(0 0 24px rgba(255,70,85,0.3));
}
.agent-img.is-entering { animation: agent-enter 0.4s ease forwards; }
.agent-img.is-exiting  { animation: agent-exit  0.3s ease forwards; }

.agent-bracket { position: absolute; width: 24px; height: 24px; z-index: 2; }
.agent-bracket--tl { top: 8px; left: 8px; border-top: 2px solid var(--primary); border-left: 2px solid var(--primary); }
.agent-bracket--br { bottom: 8px; right: 8px; border-bottom: 2px solid var(--primary); border-right: 2px solid var(--primary); }

.agent-info { text-align: center; display: flex; flex-direction: column; gap: 0.25rem; }
.agent-role-label { color: var(--primary); }
.agent-name { font-size: 2.5rem; color: var(--foreground); }
.agent-info__line { width: 40px; height: 2px; background: var(--primary); margin: 0.25rem auto 0; }

.agent-controls { display: flex; align-items: center; gap: 1rem; }
.agent-btn {
    width: 36px; height: 36px;
    border: 1px solid var(--border);
    background: rgba(31,41,51,0.6);
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.agent-btn:hover { color: var(--primary); border-color: rgba(255,70,85,0.5); background: rgba(255,70,85,0.08); }

.agent-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 160px; }
.agent-dot {
    width: 6px; height: 6px;
    background: var(--border); border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    border: none; padding: 0;
}
.agent-dot.is-active { background: var(--primary); transform: scale(1.4); }

.agent-counter { display: flex; align-items: center; gap: 0.3rem; color: var(--muted); }
.agent-counter__sep { color: var(--border); }

/* Bottom bar */
.hero-bottom-bar { background: var(--surface); border-top: 1px solid var(--border); overflow: hidden; padding: 0.6rem 0; }
.hero-bottom-bar__inner {
    display: flex; gap: 2rem; align-items: center;
    white-space: nowrap;
    animation: marquee 24s linear infinite;
    width: max-content;
    color: var(--muted);
}
.hero-bottom-bar__dot { width: 4px; height: 4px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }

/* ============================================================
   REGION TABS (shared)
   ============================================================ */
.region-tabs { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-bottom: 1.5rem; }
.region-tab {
    padding: 0.45rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    cursor: pointer;
    transition: color var(--transition), background var(--transition), border-color var(--transition);
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.region-tab:hover { color: var(--foreground); border-color: rgba(255,255,255,0.2); }
.region-tab.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================================
   LEADERBOARD
   ============================================================ */
.leaderboard-section { background: rgba(15,25,35,0.93); position: relative; z-index: 1; }

.lb-loading { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 3rem; color: var(--muted); }
.lb-loading__spinner {
    width: 32px; height: 32px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.lb-error { text-align: center; padding: 2rem; color: var(--primary); }

/* Podium */
.lb-podium {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}
@media (max-width: 640px) { .lb-podium { grid-template-columns: 1fr; } }

.podium-card {
    background: var(--surface); border: 1px solid var(--border);
    padding: 1.5rem 1rem;
    display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
    position: relative;
    transition: border-color var(--transition), transform var(--transition);
}
.podium-card:hover { border-color: rgba(255,70,85,0.4); transform: translateY(-2px); }
.podium-card--1 { border-color: rgba(255,70,85,0.4); background: rgba(255,70,85,0.05); order: 2; }
.podium-card--2 { order: 1; }
.podium-card--3 { order: 3; }
@media (min-width: 641px) { .podium-card--1 { padding-top: 2.5rem; } }

.podium-card__crown { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); }
.podium-card__rank { font-size: 3rem; color: var(--muted); line-height: 1; }
.podium-card--1 .podium-card__rank { color: var(--primary); }
.podium-card__avatar, .podium-card__avatar--large {
    width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 2px solid var(--border);
}
.podium-card__avatar--large { width: 68px; height: 68px; border-color: var(--primary); }
.avatar-placeholder { width: 100%; height: 100%; background: var(--surface-2); }
.podium-card__info { text-align: center; display: flex; flex-direction: column; gap: 0.2rem; }
.podium-card__name { font-size: 1.1rem; color: var(--foreground); }
.podium-card__rr   { color: var(--primary); }
.podium-card__wins { color: var(--muted); }

/* List */
.lb-list { background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.lb-list__header {
    display: grid;
    grid-template-columns: 40px 1fr 80px 80px 80px;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--muted);
}
.lb-row {
    display: grid;
    grid-template-columns: 40px 1fr 80px 80px 80px;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: background var(--transition);
}
.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: rgba(255,255,255,0.03); }
.lb-rank { font-family: var(--font-display); font-size: 1.1rem; color: var(--muted); }
.lb-rank--top { color: var(--primary); }
.lb-player-name { color: var(--foreground); font-weight: 500; }
.lb-tag   { color: var(--muted); font-size: 0.8rem; }
.lb-rr    { color: var(--primary); font-family: var(--font-tech); font-size: 0.75rem; }
.lb-wins, .lb-games { color: var(--muted); font-family: var(--font-tech); font-size: 0.75rem; }

/* ============================================================
   VCT STANDINGS
   ============================================================ */
.vct-section { background: rgba(31,41,51,0.92); position: relative; z-index: 1; }
.vct-table-wrap { overflow-x: auto; }
.vct-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.vct-table thead tr { border-bottom: 1px solid var(--border); background: var(--surface-2); }
.vct-table th { padding: 0.75rem 1rem; text-align: left; color: var(--muted); font-weight: normal; }
.vct-table td { padding: 0.75rem 1rem; }
.vct-row { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.vct-row:last-child { border-bottom: none; }
.vct-row:hover { background: rgba(255,255,255,0.03); }
.vct-row--qualifier { border-left: 2px solid var(--primary); }
.vct-col--rank { width: 48px; }
.vct-col--team { min-width: 180px; }
.vct-col--w, .vct-col--l { width: 48px; }
.vct-col--form { width: 120px; }
.vct-col--pts  { width: 64px; }
.vct-rank   { font-family: var(--font-display); font-size: 1.2rem; color: var(--muted); }
.vct-wins   { color: #4ade80; font-family: var(--font-tech); font-size: 0.85rem; }
.vct-losses { color: var(--primary); font-family: var(--font-tech); font-size: 0.85rem; }
.vct-pts    { font-family: var(--font-display); font-size: 1.1rem; color: var(--foreground); }
.vct-team { display: flex; align-items: center; gap: 0.75rem; }
.vct-team__badge {
    width: 44px; height: 32px;
    background: var(--surface-2);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.vct-team__short { font-size: 0.75rem; color: var(--primary); }
.vct-team__name  { color: var(--foreground); font-size: 0.9rem; }
.vct-form { display: flex; gap: 3px; }
.vct-form__dot {
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-tech); font-size: 0.6rem;
    border-radius: 2px;
}
.vct-form__dot--w { background: rgba(74,222,128,0.2); color: #4ade80; }
.vct-form__dot--l { background: rgba(255,70,85,0.2);  color: var(--primary); }
.vct-legend { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; color: var(--muted); font-size: 0.6rem; }
.vct-legend__bar { display: inline-block; width: 16px; height: 2px; background: var(--primary); }

/* ============================================================
   NEWS
   ============================================================ */
.news-section { background: transparent; position: relative; z-index: 1; }
.news-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }

/* Featured */
.news-featured {
    background: var(--surface); border: 1px solid var(--border);
    overflow: hidden; display: flex; flex-direction: column;
    transition: border-color var(--transition);
}
.news-featured:hover { border-color: rgba(255,70,85,0.4); }
.news-featured__img-link { display: block; }
.news-featured__img-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.news-featured__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-featured:hover .news-featured__img { transform: scale(1.03); }
.news-featured__img-placeholder {
    width: 100%; min-height: 200px;
    background: linear-gradient(135deg, var(--surface-2) 0%, rgba(255,70,85,0.08) 100%);
}
.news-featured__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,25,35,0.6) 0%, transparent 50%);
}
.news-featured__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.news-featured__meta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.news-cat { background: var(--primary); color: #fff; padding: 0.2rem 0.75rem 0.2rem 0.5rem; }
.news-date { color: var(--muted); }
.news-featured__title { font-size: 1.5rem; color: var(--foreground); line-height: 1.1; }
.news-featured__title a:hover { color: var(--primary); }
.news-featured__excerpt { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.news-featured__footer {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.75rem; margin-top: auto; flex-wrap: wrap;
}
.news-author { color: var(--muted); }

/* News list */
.news-list { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); }
.news-item { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.news-item:last-of-type { border-bottom: none; }
.news-item:hover { background: rgba(255,255,255,0.03); }
.news-item__inner { display: flex; gap: 0.75rem; padding: 0.85rem 1rem; align-items: flex-start; }
.news-item__img-wrap { flex-shrink: 0; }
.news-item__img { border-radius: 2px; object-fit: cover; }
.news-item__img-placeholder {
    width: 80px; height: 54px;
    background: var(--surface-2);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
}
.news-item__num { font-size: 1.2rem; color: var(--muted); }
.news-item__body { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; min-width: 0; }
.news-item__meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.news-item__title {
    font-size: 0.9rem; font-weight: 500; color: var(--foreground);
    line-height: 1.4; transition: color var(--transition);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-item:hover .news-item__title { color: var(--primary); }
.news-list__footer { padding: 1rem; border-top: 1px solid var(--border); display: flex; justify-content: center; }

/* ============================================================
   PRO SPOTLIGHT
   ============================================================ */
.spotlight-section { background: rgba(31,41,51,0.92); position: relative; z-index: 1; }
.spotlight-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }

.player-card {
    background: var(--surface-2); border: 1px solid var(--border);
    overflow: hidden; display: flex; flex-direction: column;
    transition: border-color var(--transition), transform var(--transition);
}
.player-card:hover { border-color: rgba(255,70,85,0.4); transform: translateY(-3px); }

.player-card__img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.player-card__img { width: 100%; height: 100%; object-fit: cover; }
.player-card__img-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--surface) 0%, rgba(255,70,85,0.06) 100%);
    display: flex; align-items: center; justify-content: center;
}
.player-card__initials { font-size: 3rem; color: var(--muted); }
.player-card__gradient {
    position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
    background: linear-gradient(to top, var(--surface-2) 0%, transparent 100%);
}
.player-card__team-badge {
    position: absolute; top: 0.5rem; left: 0;
    background: var(--primary); color: #fff;
    padding: 0.2rem 1rem 0.2rem 0.5rem;
    display: flex; align-items: center; gap: 0.4rem;
}
.player-card__region { color: rgba(255,255,255,0.7); }
.player-card__body { padding: 1rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.player-card__role  { color: var(--primary); }
.player-card__name  { font-size: 1.5rem; color: var(--foreground); }
.player-card__name a:hover { color: var(--primary); }
.player-card__agent { color: var(--muted); margin-bottom: 0.5rem; }
.player-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.75rem; }
.pstat { background: var(--surface); border: 1px solid var(--border); padding: 0.4rem 0.5rem; display: flex; flex-direction: column; gap: 0.1rem; }
.pstat__val   { font-size: 1.1rem; color: var(--foreground); }
.pstat__label { color: var(--muted); font-size: 0.6rem; }
.player-card__cta { width: 100%; justify-content: center; margin-top: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #000000; border-top: 1px solid rgba(255,70,85,0.25); position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2rem; }
@media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo  { margin-bottom: 0.25rem; }
.footer-logo-link { display: inline-block; margin-bottom: 0.25rem; line-height: 0; }
.footer-logo-img  { height: 36px; width: auto; display: block; }
.footer-desc  { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 0.5rem; }
.social-link {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.55);
    transition: color var(--transition), border-color var(--transition), background var(--transition);
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.social-link:hover { color: var(--primary); border-color: rgba(255,70,85,0.4); background: rgba(255,70,85,0.08); }

.footer-col__title { color: #ffffff; margin-bottom: 1rem; }
.footer-col__list { display: flex; flex-direction: column; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.footer-col__list li { margin: 0; padding: 0; }
.footer-col__link,
.footer-col__list a { color: rgba(255,255,255,0.55); font-size: 0.875rem; transition: color var(--transition); text-decoration: none; display: block; }
.footer-col__link:hover,
.footer-col__list a:hover { color: var(--primary); }

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 0.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom__left { display: flex; flex-direction: column; gap: 0.2rem; }
.footer-copy       { color: rgba(255,255,255,0.4); font-size: 0.6rem; }
.footer-disclaimer { color: rgba(255,255,255,0.22); font-size: 0.55rem; }
.footer-powered    { color: rgba(255,255,255,0.18); font-size: 0.6rem; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   HERO — ENHANCED VISUAL ELEMENTS
   ============================================================ */

/* Dynamic gradient overlay — JS writes inline background */
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    transition: background 1.2s ease;
    opacity: 0.45;
}

/* Agent background art (from valorant-api background field) */
.hero-bg-art {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    opacity: 0.07;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

/* Giant ghost agent name behind the portrait */
.hero-ghost-name {
    position: absolute;
    bottom: -0.1em;
    right: -5%;
    font-family: var(--font-display);
    font-size: clamp(80px, 16vw, 200px);
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(236, 232, 225, 0.04);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.02em;
    line-height: 1;
    z-index: 0;
    transition: opacity 0.4s ease;
}

/* Rotating wireframe ring behind the agent portrait */
.hero-ring {
    position: absolute;
    width: 440px;
    height: 440px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}
.hero-ring__outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 70, 85, 0.15);
    animation: hex-spin 40s linear infinite;
}
.hero-ring__inner {
    position: absolute;
    inset: 24px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 70, 85, 0.08);
    animation: hex-spin-reverse 60s linear infinite;
}

/* Extra agent image corner brackets */
.agent-bracket--tr { top: 8px; right: 8px; border-top: 2px solid var(--primary); border-right: 2px solid var(--primary); }
.agent-bracket--bl { bottom: 8px; left: 8px; border-bottom: 2px solid var(--primary); border-left: 2px solid var(--primary); }

/* ============================================================
   HEADER — ENHANCED ELEMENTS
   ============================================================ */

/* Logo subtitle line */
.logo-text-wrap { display: flex; flex-direction: column; gap: 1px; }
.logo-subtitle {
    font-family: var(--font-tech);
    font-size: 0.42rem;
    color: var(--muted);
    letter-spacing: 0.2em;
}

/* Nav glitch — relies on animations.css .nav-glitch */
.nav-links a {
    position: relative; /* ensure ::before/::after stack correctly */
}

/* 2 LIVE badge */
.nav-live {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem 0.25rem 0.5rem;
    background: rgba(255, 70, 85, 0.08);
    border: 1px solid rgba(255, 70, 85, 0.25);
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    flex-shrink: 0;
    cursor: default;
}
.nav-live__dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 1.2s ease-in-out infinite;
    flex-shrink: 0;
}
.nav-live__count { color: var(--primary); }

/* Search icon button */
.nav-search-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
    flex-shrink: 0;
}
.nav-search-btn:hover { color: var(--foreground); border-color: rgba(255, 255, 255, 0.2); }

/* ── Nav search — wide always-open bar ── */
.nav-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: rgba(0,0,0,0.4);
    transition: border-color var(--transition), background var(--transition);
    width: 320px;
    max-width: 38vw;
}
.nav-search:focus-within {
    border-color: var(--primary);
    background: rgba(0,0,0,0.6);
    box-shadow: 0 0 18px -4px rgba(255,70,85,0.4);
}
.nav-search__icon {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    color: var(--muted);
    flex-shrink: 0;
    transition: color var(--transition);
}
.nav-search:focus-within .nav-search__icon { color: var(--primary); }
.nav-search__input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--foreground);
    font-family: var(--font-tech);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    padding: 0 0.5rem 0 0;
    flex: 1;
    min-width: 0;
    height: 38px;
}
.nav-search__input::placeholder {
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0.14em;
}
.nav-search__submit {
    width: 42px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border: none;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition);
}
.nav-search__submit:hover { background: var(--primary-glow); }
.nav-search__submit:focus-visible,
.nav-search__input:focus-visible { outline: none; }

@media (max-width: 1099px) {
    .nav-search { width: auto; flex: 1; max-width: none; margin-right: 0.5rem; }
    .nav-search__input::placeholder { font-size: 0.7rem; }
}
@media (max-width: 640px) {
    .nav-search__input::placeholder { content: 'SEARCH...'; }
}

/* Telegram icon button */
.nav-tg-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
    flex-shrink: 0;
    text-decoration: none;
}
.nav-tg-btn:hover { color: #2ca5e0; border-color: rgba(44, 165, 224, 0.4); }

/* Nav actions gap */
.nav-actions { gap: 0.5rem; align-items: center; }

/* Clip-val-sm utility (used by TRACK PLAYER button) */
.clip-val-sm {
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

/* Section label with live dot */
.section-label--live { display: flex; align-items: center; gap: 0.5rem; }
.section-label__pulse {
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 1.6s ease-in-out infinite;
    flex-shrink: 0;
}

/* ============================================================
   HERO — REACT-PARITY OVERHAUL v1.1
   Replaces the old hero rules above; classes scoped precisely
   so no other section breaks.
   ============================================================ */

/* ── Backdrop overlays ── */
.hero-backdrop-gradient {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    transition: opacity 0.45s ease, background 0.6s ease;
}
.hero-backdrop-gradient.is-exiting { opacity: 0; }
.hero-bg-art {
    position: absolute; right: 0; top: 0;
    height: 100%; width: 70%;
    background-size: cover; background-position: center;
    opacity: 0.28; mix-blend-mode: screen;
    pointer-events: none; z-index: 1;
    transition: opacity 0.4s ease;
}
.hero-bg-art.is-exiting { opacity: 0 !important; }
.hero-overlay-slash {
    position: absolute; right: -5rem; top: 0;
    height: 100%; width: 55%;
    background: linear-gradient(115deg, transparent 35%, rgba(255,70,85,0.07) 50%, transparent 65%);
    pointer-events: none; z-index: 1;
}
.hero-overlay-dotgrid {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(236,232,225,0.06) 1px, transparent 1.5px);
    background-size: 28px 28px;
    pointer-events: none; z-index: 1;
}
.hero-overlay-lines {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(115deg, transparent 0 60px, rgba(236,232,225,0.025) 60px 61px, transparent 61px 120px);
    pointer-events: none; z-index: 1;
}
.hero-overlay-vignette {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.65) 100%);
    pointer-events: none; z-index: 1;
}
.hero-overlay-scanlines {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(0deg, transparent 0px, transparent 3px, rgba(0,0,0,0.07) 3px, rgba(0,0,0,0.07) 4px);
    mix-blend-mode: overlay; pointer-events: none; z-index: 1;
}
.hero-edge-top {
    position: absolute; inset-x: 0; top: 0; height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,70,85,0.7), transparent);
    pointer-events: none; z-index: 2;
}
.hero-edge-bottom {
    position: absolute; inset-x: 0; bottom: 0; height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,70,85,0.6), transparent);
    pointer-events: none; z-index: 2;
}
.hero-bottom-fade {
    position: absolute; inset-x: 0; bottom: 0; height: 3rem;
    background: linear-gradient(to top, var(--bg), transparent);
    pointer-events: none; z-index: 2;
}
.hero-ambient-pulse {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    height: 70%; width: 60%;
    background: radial-gradient(ellipse at 20% 50%, rgba(255,70,85,0.32) 0%, transparent 65%);
    filter: blur(50px); opacity: 0.55;
    pointer-events: none; z-index: 1;
    animation: ambient-pulse 5s ease-in-out infinite;
}

/* ── Hero layout override ── */
.hero {
    position: relative; z-index: 1;
    overflow: hidden; background: transparent;
    min-height: 640px;
    display: flex; flex-direction: column;
}
.hero-inner {
    position: relative; z-index: 10;
    flex: 1; max-width: 1400px; margin: 0 auto; width: 100%;
    padding: 1.5rem 1rem;
    display: grid; grid-template-columns: 1fr; gap: 1.5rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr 1fr; padding: 2.5rem 3rem; gap: 2rem; }
}
.hero-content { display: flex; flex-direction: column; gap: 0.75rem; }

/* ── Live row ── */
.hero-live-row { display: flex; align-items: center; gap: 0.5rem; }
.hero-live-dot { position: relative; display: inline-flex; width: 6px; height: 6px; }
.hero-live-dot__ping {
    position: absolute; inset: 0; border-radius: 50%;
    background: var(--primary); opacity: 0.75;
    animation: ping 1.4s cubic-bezier(0,0,0.2,1) infinite;
}
.hero-live-dot__core {
    position: relative; width: 6px; height: 6px;
    border-radius: 50%; background: var(--primary);
}
.hero-live-text { font-size: 0.55rem; letter-spacing: 0.2em; color: var(--primary); }

/* ── Patch badge ── */
.hero-patch-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--primary); color: #fff;
    padding: 0.3rem 1rem; width: fit-content; cursor: default;
    box-shadow: 0 8px 30px -8px rgba(255,70,85,0.7);
    font-size: 0.6rem; letter-spacing: 0.22em;
}
.hero-patch-badge__dot { position: relative; display: inline-flex; width: 6px; height: 6px; }
.hero-patch-badge__ping {
    position: absolute; inset: 0; border-radius: 50%;
    background: rgba(236,232,225,0.8);
    animation: ping 1.4s cubic-bezier(0,0,0.2,1) infinite;
}

/* ── Tech label ── */
.hero-tech-label { font-size: 0.6rem; letter-spacing: 0.3em; color: rgba(255,70,85,0.8); }

/* ── Headline ── */
.hero-headline-wrap { position: relative; padding-left: 1.25rem; }
.hero-headline-bar {
    position: absolute; left: 0; top: 0.25rem; height: 88%; width: 3px;
    background: linear-gradient(to bottom, var(--primary), rgba(255,70,85,0.6), transparent);
}
.hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.88; display: flex; flex-direction: column;
    color: var(--foreground);
}
.hero-title__line1 {
    display: block;
    background: linear-gradient(to bottom right, var(--foreground), rgba(236,232,225,0.6));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-title__line2 {
    display: block;
    background: linear-gradient(to right, var(--primary), #ff6070, var(--primary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    filter: drop-shadow(0 0 24px rgba(255,70,85,0.4));
}
.hero-title__line3 {
    display: block;
    color: rgba(236,232,225,0.18);
    -webkit-text-fill-color: rgba(236,232,225,0.18);
}
/* Remove old line overrides */
.hero-title__sub { display: none; }

/* ── Description ── */
.hero-desc { color: rgba(236,232,225,0.55); font-size: 0.9rem; line-height: 1.65; max-width: 440px; margin-top: 0.25rem; }

/* ── CTAs ── */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.hero-ctas .btn-primary { clip-path: none; }
.hero-ctas .btn-secondary { clip-path: none; }

/* ── Stat glass cards ── */
.hero-stats {
    display: flex; flex-wrap: wrap; gap: 0;
    margin-top: 0.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(10,17,24,0.45);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    width: fit-content;
}
.stat-glass {
    display: flex; flex-direction: column; gap: 0.15rem;
    padding: 0.65rem 1.25rem;
    border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-glass:last-child { border-right: none; }
.stat-glass__val { font-family: var(--font-display); font-size: 1.35rem; color: var(--foreground); line-height: 1; text-transform: uppercase; }
.stat-glass__label { font-family: var(--font-tech); font-size: 0.5rem; letter-spacing: 0.22em; color: var(--primary); text-transform: uppercase; }

/* ── Right column: portrait stage ── */
.hero-stage-wrap { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
.hero-stage { position: relative; height: 280px; width: 100%; }
@media (min-width: 640px)  { .hero-stage { height: 360px; } }
@media (min-width: 768px)  { .hero-stage { height: 420px; } }
@media (min-width: 1024px) { .hero-stage { height: 460px; } }

/* Halo */
.hero-halo {
    position: absolute; left: 50%; top: 50%;
    width: 90%; height: 90%; transform: translate(-50%,-50%);
    border-radius: 50%; filter: blur(40px);
    background: radial-gradient(circle, rgba(255,70,85,0.25) 0%, transparent 65%);
    transition: background 0.7s ease; pointer-events: none; z-index: 0;
}

/* Ghost name */
.hero-ghost-name {
    position: absolute; inset-x: 0; top: 8%;
    display: flex; justify-content: center;
    pointer-events: none; user-select: none; z-index: 0;
    font-family: var(--font-display);
    font-size: clamp(60px, 14vw, 180px);
    font-weight: 700; text-transform: uppercase;
    color: rgba(236,232,225,0.05);
    -webkit-text-stroke: 1px rgba(236,232,225,0.06);
    letter-spacing: -0.02em; line-height: 1;
    white-space: nowrap; overflow: hidden; text-align: center;
    transition: opacity 0.28s ease;
}
.hero-ghost-name.is-exiting { opacity: 0; }

/* Agent name / role text fade on slide change */
#hero-agent-name,
#hero-agent-role { transition: opacity 0.22s ease; }
#hero-agent-name.is-exiting,
#hero-agent-role.is-exiting { opacity: 0; }

/* Ring */
.hero-ring {
    position: absolute; left: 50%; top: 50%;
    width: 78%; aspect-ratio: 1 / 1;
    transform: translate(-50%,-50%);
    pointer-events: none; z-index: 1;
}
.hero-ring__outer {
    position: absolute; inset: 0; border-radius: 50%;
    border: 1px solid rgba(255,70,85,0.2);
    animation: hex-spin 40s linear infinite;
}
.hero-ring__inner {
    position: absolute; inset: 1rem; border-radius: 50%;
    border: 1px dashed rgba(236,232,225,0.08);
    animation: hex-spin-reverse 60s linear infinite;
}
.hero-ring__dot { position: absolute; background: var(--primary); }
.hero-ring__dot--top {
    top: -0.25rem; left: 50%;
    width: 8px; height: 8px;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: 0 0 15px var(--primary);
}
.hero-ring__dot--right {
    top: 50%; right: -0.2rem;
    width: 6px; height: 6px;
    transform: translateY(-50%); border-radius: 50%; opacity: 0.7;
}
.hero-ring__dot--bottom {
    bottom: -0.25rem; left: 50%;
    width: 8px; height: 8px;
    transform: translateX(-50%) rotate(45deg); opacity: 0.5;
}

/* Portrait */
.hero-portrait {
    position: absolute; inset: 0;
    margin: 0 auto; height: 100%; width: auto; max-width: 100%;
    object-fit: contain; object-position: center bottom; z-index: 2;
    filter: drop-shadow(0 30px 80px rgba(255,70,85,0.6)) drop-shadow(0 0 60px rgba(255,70,85,0.4)) drop-shadow(0 -10px 40px rgba(255,70,85,0.2));
    transition: filter 0.7s ease, opacity 0.45s ease;
}
.hero-portrait.is-entering { animation: agent-enter 0.4s ease forwards; }

/* ============================================================
   HERO ENHANCEMENT v2 — brighter colors, stronger effects
   ============================================================ */

/* Animated gradient sweep on title line 2 (THE LIMITS) */
@keyframes hero-grad-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
@keyframes hero-glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 22px rgba(255,70,85,0.55)) drop-shadow(0 0 8px rgba(255,180,180,0.35)); }
    50%      { filter: drop-shadow(0 0 38px rgba(255,70,85,0.85)) drop-shadow(0 0 14px rgba(255,255,255,0.5)); }
}
@keyframes hero-tech-scan {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes hero-bar-pulse {
    0%, 100% { box-shadow: 0 0 12px rgba(255,70,85,0.4); }
    50%      { box-shadow: 0 0 24px rgba(255,70,85,0.85); }
}

.hero-title__line2 {
    background: linear-gradient(90deg,
        #ff4655 0%,
        #ff8a99 25%,
        #ffd700 50%,
        #ff8a99 75%,
        #ff4655 100%) !important;
    background-size: 200% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: hero-grad-shift 6s ease-in-out infinite, hero-glow-pulse 3.5s ease-in-out infinite;
    text-shadow: none;
    letter-spacing: 0.02em;
}

.hero-title__line1 {
    background: linear-gradient(135deg, #ffffff 0%, #ff8a99 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 18px rgba(255,255,255,0.15));
}

.hero-title__line3 {
    color: rgba(255,255,255,0.08) !important;
    -webkit-text-fill-color: rgba(255,255,255,0.08) !important;
    text-shadow: 0 0 30px rgba(255,70,85,0.15);
}

/* Tech label — scan-line shine */
.hero-tech-label {
    background: linear-gradient(90deg,
        rgba(255,70,85,0.6) 0%,
        rgba(255,255,255,0.95) 50%,
        rgba(255,70,85,0.6) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hero-tech-scan 4s linear infinite;
    font-weight: 700;
    font-size: 0.7rem !important;
    letter-spacing: 0.32em !important;
    text-shadow: 0 0 12px rgba(255,70,85,0.3);
}

/* Headline accent bar — pulsing */
.hero-headline-bar {
    width: 4px !important;
    background: linear-gradient(to bottom, #ff4655 0%, #ff8a99 50%, transparent 100%) !important;
    animation: hero-bar-pulse 2.4s ease-in-out infinite;
}

/* Description — slightly brighter */
.hero-desc {
    color: rgba(236,232,225,0.75) !important;
    font-size: 0.95rem !important;
    text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

/* CTA buttons — stronger primary */
.hero-ctas .btn-primary {
    background: linear-gradient(135deg, #ff4655 0%, #ff6070 100%);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.22em;
    padding: 0.85rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow:
        0 0 0 1px rgba(255,70,85,0.4) inset,
        0 8px 24px -6px rgba(255,70,85,0.7),
        0 0 36px -8px rgba(255,70,85,0.5);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px) !important;
}
.hero-ctas .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.25) inset,
        0 12px 32px -6px rgba(255,70,85,0.9),
        0 0 48px -4px rgba(255,70,85,0.7);
    filter: brightness(1.1);
}
.hero-ctas .btn-secondary {
    background: rgba(255,255,255,0.04);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.22em;
    padding: 0.85rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    transition: all 0.2s;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px) !important;
}
.hero-ctas .btn-secondary:hover {
    background: rgba(255,70,85,0.1);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 22px -4px rgba(255,70,85,0.55);
}

/* Stat glass — accent border + hover lift */
.hero-stats {
    border: 1px solid rgba(255,70,85,0.18) !important;
    background: linear-gradient(135deg, rgba(255,70,85,0.06) 0%, rgba(10,17,24,0.65) 60%) !important;
    box-shadow:
        0 0 0 1px rgba(255,70,85,0.05),
        0 12px 32px -8px rgba(0,0,0,0.6),
        inset 0 0 30px -8px rgba(255,70,85,0.12);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.stat-glass {
    padding: 0.8rem 1.4rem !important;
    transition: background 0.2s;
    position: relative;
}
.stat-glass:hover {
    background: rgba(255,70,85,0.08);
}
.stat-glass__val {
    font-size: 1.5rem !important;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255,138,153,0.85) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 22px rgba(255,70,85,0.4);
}
.stat-glass__label {
    color: var(--primary) !important;
    text-shadow: 0 0 10px rgba(255,70,85,0.5);
    font-weight: 700;
}

/* Portrait — punchier red glow */
.hero-portrait {
    filter:
        drop-shadow(0 40px 90px rgba(255,70,85,0.75))
        drop-shadow(0 0 80px rgba(255,70,85,0.55))
        drop-shadow(0 -15px 50px rgba(255,180,180,0.3))
        contrast(1.05)
        saturate(1.1) !important;
}

/* Ring — gold accent dot */
.hero-ring__outer {
    border: 1px solid rgba(255,70,85,0.32) !important;
    box-shadow: inset 0 0 60px rgba(255,70,85,0.08);
}
.hero-ring__dot--top {
    width: 10px !important; height: 10px !important;
    background: #ffd700 !important;
    box-shadow: 0 0 22px #ffd700, 0 0 4px rgba(255,255,255,0.5) !important;
}

/* Halo — brighter base + animated breath */
@keyframes hero-halo-breath {
    0%, 100% { opacity: 0.85; transform: translate(-50%,-50%) scale(1); }
    50%      { opacity: 1;    transform: translate(-50%,-50%) scale(1.06); }
}
.hero-halo {
    background: radial-gradient(circle, rgba(255,70,85,0.45) 0%, rgba(255,180,180,0.18) 40%, transparent 70%) !important;
    animation: hero-halo-breath 5s ease-in-out infinite;
}

/* Ghost name — slightly brighter outline so it reads better */
.hero-ghost-name {
    color: rgba(255,255,255,0.04) !important;
    -webkit-text-stroke: 1px rgba(255,70,85,0.12) !important;
}

/* Background hint — subtle radial glow behind the whole hero */
.hero::before {
    content: '';
    position: absolute;
    inset: -50px;
    z-index: 0;
    background:
        radial-gradient(ellipse 50% 60% at 25% 50%, rgba(255,70,85,0.14) 0%, transparent 65%),
        radial-gradient(ellipse 50% 50% at 75% 50%, rgba(120,40,200,0.08) 0%, transparent 60%);
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-title__line2,
    .hero-tech-label,
    .hero-headline-bar,
    .hero-halo { animation: none; }
}
.hero-portrait.is-exiting  {
    animation: agent-exit 0.28s ease forwards;
    transition: none; /* prevent filter snap after animation */
}

/* HUD corner brackets */
.hud-corner { position: absolute; width: 24px; height: 24px; pointer-events: none; z-index: 3; }
.hud-corner--tl { top: 12px; left: 12px; border-top: 2px solid var(--primary); border-left: 2px solid var(--primary); }
.hud-corner--tr { top: 12px; right: 12px; border-top: 2px solid var(--primary); border-right: 2px solid var(--primary); }
.hud-corner--bl { bottom: 12px; left: 12px; border-bottom: 2px solid var(--primary); border-left: 2px solid var(--primary); }
.hud-corner--br { bottom: 12px; right: 12px; border-bottom: 2px solid var(--primary); border-right: 2px solid var(--primary); }

/* Agent label overlay */
.agent-label-overlay {
    position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
    z-index: 4; white-space: nowrap;
}
.agent-tag {
    display: flex; align-items: center; gap: 0.75rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 1.25rem;
}
.agent-tag__role { font-family: var(--font-tech); font-size: 0.55rem; letter-spacing: 0.3em; color: var(--primary); }
.agent-tag__sep  { width: 1px; height: 12px; background: rgba(236,232,225,0.3); flex-shrink: 0; }
.agent-tag__name { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.05em; color: var(--foreground); text-transform: uppercase; }

/* ── Selector row ── */
.hero-selector {
    position: relative; z-index: 20;
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.75rem; margin-top: 1rem;
}
.hero-selector__left { display: flex; align-items: center; gap: 0.5rem; }

/* Glass prev/next buttons (40px like React) */
.agent-btn-lg {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: rgba(236,232,225,0.8); cursor: pointer; flex-shrink: 0;
    transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.agent-btn-lg:hover {
    border-color: var(--primary);
    background: rgba(255,70,85,0.22);
    color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255,70,85,0.35), inset 0 0 12px rgba(255,70,85,0.1);
}

/* Wide dots (injected by hero.js with class agent-dot-v2) */
.agent-dots-v2 { display: flex; align-items: center; gap: 0.35rem; margin-left: 0.5rem; flex-wrap: wrap; max-width: 220px; }
.agent-dots-v2 button {
    box-sizing: content-box;
    min-height: 8px;
    padding: 8px;
    border-radius: 999px;
    background-clip: content-box;
    touch-action: manipulation;
}
.agent-dots-v2 button:focus-visible {
    outline: 2px solid rgba(255, 70, 85, 0.9);
    outline-offset: 2px;
}

/* AGENT_SPOTLIGHT counter */
.hero-spotlight-counter { font-family: var(--font-tech); font-size: 0.6rem; letter-spacing: 0.25em; color: rgba(236,232,225,0.4); flex-shrink: 0; white-space: nowrap; }

/* Ping keyframe */
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

/* ============================================================
   GLOBAL FIXES
   ============================================================ */

/* Fix: HTML [hidden] attr overridden by display:grid/flex rules */
[hidden] { display: none !important; }

/* ============================================================
   NEWS — ENHANCED
   ============================================================ */

/* "LATEST <red>NEWS</red>" accent */
.section-title__accent {
    color: var(--primary);
    font-style: italic;
}

/* Featured news placeholder — Valorant-style backdrop */
.news-featured__img-placeholder {
    position: relative;
    width: 100%; min-height: 240px;
    background:
        linear-gradient(115deg, transparent 30%, rgba(255,70,85,0.12) 50%, transparent 70%),
        linear-gradient(135deg, #0a1118 0%, #1a0d10 40%, #0f1923 100%);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.news-featured__img-placeholder::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(236,232,225,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
}
.news-featured__img-placeholder::after {
    content: 'VCT 2026';
    font-family: var(--font-display);
    font-size: 3rem;
    color: rgba(255,70,85,0.12);
    letter-spacing: 0.3em;
    position: relative; z-index: 1;
}

/* News item placeholder — subtle numbered tile */
.news-item__img-placeholder {
    width: 88px; min-height: 58px;
    background: linear-gradient(135deg, var(--surface-2) 0%, rgba(255,70,85,0.08) 100%);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); flex-shrink: 0;
    position: relative; overflow: hidden;
}
.news-item__img-placeholder::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255,70,85,0.1) 50%, transparent 65%);
}

/* ============================================================
   PRO SPOTLIGHT — ENHANCED PLACEHOLDER
   ============================================================ */

/* Agent portrait as card image — object-fit cover, full card height */
.player-card__img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    transition: transform 0.5s ease;
}
.player-card:hover .player-card__img { transform: scale(1.04); }

/* Better placeholder when no img */
.player-card__img-placeholder {
    width: 100%; height: 100%;
    background:
        linear-gradient(115deg, transparent 30%, rgba(255,70,85,0.15) 50%, transparent 70%),
        linear-gradient(135deg, #0a1118 0%, #1a0d10 50%, #0f1923 100%);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.player-card__img-placeholder::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(236,232,225,0.04) 1px, transparent 1px);
    background-size: 20px 20px;
}
.player-card__initials {
    font-size: 4rem; color: rgba(255,70,85,0.3);
    position: relative; z-index: 1;
    -webkit-text-stroke: 1px rgba(255,70,85,0.5);
}

/* ============================================================
   NAV GLITCH EFFECT
   ============================================================ */
@keyframes menu-glitch-a {
    0%,100% { clip-path: inset(0 0 100% 0); transform: translate(-2px,0); }
    20%      { clip-path: inset(10% 0 60% 0); transform: translate(2px,0); }
    40%      { clip-path: inset(40% 0 30% 0); transform: translate(-1px,0); }
    60%      { clip-path: inset(70% 0 10% 0); transform: translate(2px,0); }
    80%      { clip-path: inset(85% 0 0 0);   transform: translate(-2px,0); }
}
@keyframes menu-glitch-b {
    0%,100% { clip-path: inset(100% 0 0 0);   transform: translate(2px,0); }
    20%      { clip-path: inset(60% 0 20% 0);  transform: translate(-2px,0); }
    40%      { clip-path: inset(30% 0 50% 0);  transform: translate(1px,0); }
    60%      { clip-path: inset(10% 0 70% 0);  transform: translate(-2px,0); }
    80%      { clip-path: inset(0 0 85% 0);    transform: translate(2px,0); }
}
.nav-glitch { position: relative; }
.nav-glitch::before,
.nav-glitch::after {
    content: attr(data-text);
    position: absolute; inset: 0;
    color: var(--primary);
    font-family: inherit; font-size: inherit; font-weight: inherit;
    letter-spacing: inherit; text-transform: inherit;
    display: flex; align-items: center;
    padding: inherit;
    pointer-events: none; opacity: 0;
}
.nav-glitch:hover::before {
    opacity: 0.8; color: #ff6070;
    animation: menu-glitch-a 0.3s steps(1) 1;
}
.nav-glitch:hover::after {
    opacity: 0.6; color: #4fe3e3;
    animation: menu-glitch-b 0.3s steps(1) 1;
}

/* ============================================================
   LEADERBOARD — MOCK FALLBACK STATE
   ============================================================ */
.lb-mock { padding: 1rem 0; }
.lb-mock-note {
    text-align: center; padding: 0.75rem;
    background: rgba(255,70,85,0.05); border: 1px solid rgba(255,70,85,0.15);
    color: var(--muted); margin-bottom: 1.5rem;
}

/* ============================================================
   NEWS — REACT-PARITY v2 (NewsBlock.tsx layout)
   ============================================================ */

/* Header row */
.news-header {
    display: flex; flex-wrap: wrap; align-items: flex-end;
    justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem;
}
.news-headline { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 0.9; margin-top: 0.5rem; }

/* "ALL TRANSMISSIONS" red button */
.news-all-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--primary); color: #fff;
    padding: 0.6rem 1.25rem;
    font-size: 0.62rem; letter-spacing: 0.2em;
    transition: background var(--transition);
    white-space: nowrap;
}
.news-all-btn:hover { background: var(--primary-glow); }

/* 12-col grid: 8 featured + 4 log — fixed row height prevents shifts */
.news-grid-v2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
}
@media (min-width: 1024px) {
    .news-grid-v2 {
        grid-template-columns: 8fr 4fr;
        grid-template-rows: 560px;
    }
}

/* ── Featured preview (left) — static height, no reflow */
.news-preview {
    display: flex; flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: border-color var(--transition);
    height: 560px;
}
.news-preview:hover { border-color: rgba(255,70,85,0.5); }

.news-preview__img-wrap {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: var(--surface-2);
}
@media (max-width: 768px) { .news-preview__img-wrap { min-height: 260px; } }

.news-preview__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.04);
    transition: transform 1.4s ease;
}
.news-preview:hover .news-preview__img { transform: scale(1.1); }

/* Dark gradient overlays */
.news-preview__ov-mul {
    position: absolute; inset: 0;
    background: linear-gradient(to top right, rgba(10,17,24,0.9) 0%, rgba(15,25,35,0.4) 50%, rgba(255,70,85,0.08) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
}
.news-preview__ov-fade {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,17,24,0.95) 0%, rgba(15,25,35,0.3) 50%, transparent 100%);
    pointer-events: none;
}

/* HUD corner brackets */
.news-hud { position: absolute; width: 20px; height: 20px; pointer-events: none; z-index: 2; }
.news-hud--tl { top: 1rem; left: 1rem; border-top: 2px solid var(--primary); border-left: 2px solid var(--primary); }
.news-hud--tr { top: 1rem; right: 1rem; border-top: 2px solid var(--primary); border-right: 2px solid var(--primary); }
.news-hud--bl { bottom: 1rem; left: 1rem; border-bottom: 2px solid var(--primary); border-left: 2px solid var(--primary); }
.news-hud--br { bottom: 1rem; right: 1rem; border-bottom: 2px solid var(--primary); border-right: 2px solid var(--primary); }

/* Top tag row */
.news-preview__top-tags {
    position: absolute; top: 1.25rem; left: 1.25rem; right: 1.25rem;
    display: flex; align-items: center; gap: 0.5rem;
    flex-wrap: wrap; z-index: 3;
}
.news-preview__tx {
    background: var(--primary); color: #fff;
    padding: 0.2rem 0.6rem; font-size: 0.58rem; letter-spacing: 0.2em;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.news-preview__tag {
    background: rgba(10,17,24,0.8); color: var(--foreground);
    padding: 0.2rem 0.6rem; font-size: 0.58rem; letter-spacing: 0.15em;
    backdrop-filter: blur(4px);
}
.news-preview__signal {
    margin-left: auto; display: flex; align-items: center; gap: 0.35rem;
    background: rgba(10,17,24,0.7); color: rgba(236,232,225,0.6);
    padding: 0.2rem 0.6rem; font-size: 0.55rem; letter-spacing: 0.12em;
    backdrop-filter: blur(4px);
}

/* Bottom content */
.news-preview__body {
    position: absolute; inset-x: 0; bottom: 0;
    padding: 1.5rem 1.5rem 1.5rem;
    z-index: 3;
}
.news-preview__title {
    font-size: clamp(1.5rem, 3.5vw, 2.75rem); line-height: 0.92;
    color: var(--foreground); max-width: 700px;
    transition: color var(--transition);
}
.news-preview:hover .news-preview__title { color: rgba(236,232,225,0.85); }
.news-preview__excerpt {
    margin-top: 0.5rem; font-size: 0.88rem; color: rgba(236,232,225,0.55);
    line-height: 1.5; max-width: 600px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-preview__footer {
    margin-top: 1rem; display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
}
.news-preview__read {
    display: inline-flex; align-items: center;
    background: var(--primary); color: #fff;
    padding: 0.5rem 1.25rem; font-size: 0.62rem; letter-spacing: 0.2em;
    transition: background var(--transition);
}
.news-preview:hover .news-preview__read { background: var(--primary-glow); }
.news-preview__readtime { color: rgba(236,232,225,0.4); font-size: 0.55rem; }

/* Slider prev/next nav buttons */
.news-nav {
    position: absolute; bottom: 1.5rem; right: 1.5rem;
    display: flex; gap: 0.4rem; z-index: 4;
}
.news-nav__btn {
    width: 38px; height: 38px;
    border: 1px solid rgba(255, 70, 85, 0.5);
    background: rgba(10, 17, 24, 0.75);
    color: var(--foreground);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0;
    backdrop-filter: blur(6px);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.news-nav__btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* News auto-slide progress bar */
.news-progress-bar {
    position: absolute; bottom: 0; left: 0;
    height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--primary), rgba(255,100,120,0.8));
    box-shadow: 0 0 12px rgba(255,70,85,0.7);
    z-index: 10; pointer-events: none;
    transition: none;
}

/* ── Feed log (right) — static, never shifts */
.news-log {
    display: flex; flex-direction: column; gap: 0;
    height: 560px; overflow: hidden;
    position: relative;
}
.news-log__header {
    display: flex; align-items: center; gap: 0.5rem;
    color: var(--muted); margin-bottom: 0.75rem; font-size: 0.6rem;
}
.news-log__pulse {
    width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
    flex-shrink: 0; animation: pulse-dot 1.4s ease-in-out infinite;
}
.news-log__list {
    position: relative; display: flex; flex-direction: column;
    list-style: none; padding: 0; margin: 0;
}
.news-log__spine {
    position: absolute; left: 14px; top: 4px; bottom: 4px; width: 1px;
    background: rgba(55,75,100,0.5); pointer-events: none;
}

.news-log__item {
    display: flex; gap: 0; cursor: pointer;
    padding: 0.75rem 0.5rem 0.75rem 0;
    transition: background var(--transition);
    border-radius: 2px;
}
.news-log__item:hover { background: rgba(31,41,51,0.7); }
.news-log__item.is-active {
    background: rgba(255,70,85,0.06);
    border-left: 2px solid rgba(255,70,85,0.5);
    padding-left: calc(0.5rem - 2px);
}

.news-log__node-wrap {
    flex-shrink: 0; width: 28px;
    display: flex; flex-direction: column; align-items: center; padding-top: 3px;
}
.news-log__node {
    position: relative; z-index: 1;
    width: 14px; height: 14px;
    transform: rotate(45deg);
    border: 1.5px solid var(--border);
    background: var(--bg);
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.news-log__item.is-active .news-log__node {
    background: var(--primary); border-color: var(--primary);
    box-shadow: 0 0 14px rgba(255,70,85,0.6);
}

.news-log__content { flex: 1; min-width: 0; }
.news-log__meta {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.5rem; margin-bottom: 0.3rem;
}
.news-log__num {
    font-size: 0.55rem; letter-spacing: 0.15em; color: var(--muted);
    transition: color var(--transition);
}
.news-log__item.is-active .news-log__num { color: var(--primary); }
.news-log__rt { font-size: 0.52rem; color: var(--muted); flex-shrink: 0; }
.news-log__title {
    font-size: 0.83rem; font-weight: 600; color: var(--foreground);
    line-height: 1.35; transition: color var(--transition);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-log__item.is-active .news-log__title { color: var(--primary); }

.news-log__bars {
    display: flex; align-items: flex-end; gap: 2px;
    margin-top: 0.4rem; height: 10px;
}
.news-log__bar {
    width: 3px; background: rgba(139,145,150,0.25);
    transition: background var(--transition), height 0.3s ease;
}
.news-log__item.is-active .news-log__bar { background: var(--primary); }
.news-log__date { margin-left: 0.4rem; font-size: 0.5rem; color: var(--muted); align-self: center; }

.news-log__footer {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid rgba(55,75,100,0.5);
    padding-top: 0.6rem; margin-top: 0.5rem;
}
.news-log__sync { display: flex; align-items: center; gap: 0.4rem; color: var(--primary); }
.news-log__sync-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
    animation: pulse-dot 1.4s ease-in-out infinite;
}

/* ============================================================
   NEWS ENHANCEMENT v2 — brighter, animated, more punch
   ============================================================ */

/* Section backdrop — soft radial bloom */
.news-section {
    position: relative;
}
.news-section::before {
    content: '';
    position: absolute;
    inset: -40px 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 60% at 25% 30%, rgba(255,70,85,0.10) 0%, transparent 65%),
        radial-gradient(ellipse 50% 60% at 80% 70%, rgba(120,40,200,0.07) 0%, transparent 60%);
    pointer-events: none;
}

/* Header — bigger, brighter */
.news-headline {
    font-size: clamp(2.7rem, 6vw, 4.8rem) !important;
    letter-spacing: 0.02em !important;
    line-height: 0.92 !important;
}
.news-headline .section-title__accent {
    display: inline-block;
    padding: 0 0.18em 0.05em 0;
    background: linear-gradient(90deg, #ff4655 0%, #ff8a99 40%, #ffd700 60%, #ff8a99 80%, #ff4655 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: news-grad-shift 6s ease-in-out infinite;
}
@keyframes news-grad-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* "ALL NEWS" button — gradient + glow */
.news-all-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #ff6070 100%) !important;
    color: #fff !important;
    font-weight: 800 !important;
    letter-spacing: 0.22em !important;
    padding: 0.7rem 1.2rem !important;
    box-shadow:
        0 0 0 1px rgba(255,70,85,0.3) inset,
        0 8px 24px -6px rgba(255,70,85,0.6),
        0 0 24px -4px rgba(255,70,85,0.4) !important;
    transition: all 0.22s !important;
}
.news-all-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.25) inset,
        0 12px 32px -6px rgba(255,70,85,0.85),
        0 0 36px -4px rgba(255,70,85,0.6) !important;
    filter: brightness(1.12);
}

/* Featured preview card — stronger glow, animated shine */
.news-preview {
    border: 1px solid rgba(255,70,85,0.15) !important;
    box-shadow:
        0 0 0 1px rgba(255,70,85,0.05),
        0 16px 40px -10px rgba(0,0,0,0.6) !important;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s !important;
    position: relative;
    overflow: hidden;
}
.news-preview:hover {
    border-color: var(--primary) !important;
    box-shadow:
        0 0 0 1px rgba(255,70,85,0.25),
        0 20px 50px -8px rgba(0,0,0,0.75),
        0 0 50px -8px rgba(255,70,85,0.4) !important;
    transform: translateY(-3px);
}

/* Animated shine sweep across preview img on hover */
.news-preview__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%);
    transform: translateX(-100%);
    transition: transform 0.9s ease;
    pointer-events: none;
    z-index: 4;
}
.news-preview:hover .news-preview__img-wrap::after {
    transform: translateX(100%);
}

/* Featured tag pill — punchier */
.news-preview__tag {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 0.35rem 0.85rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.22em !important;
    font-size: 0.55rem !important;
    box-shadow: 0 0 20px rgba(255,70,85,0.55), 0 0 0 1px rgba(255,255,255,0.1) inset;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

/* Featured title — slightly bigger + accent shadow */
.news-preview__title {
    font-size: clamp(1.4rem, 2.4vw, 2.1rem) !important;
    line-height: 1.1 !important;
    color: #fff !important;
    text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 0 24px rgba(255,70,85,0.15);
}
.news-preview:hover .news-preview__title {
    color: #fff !important;
    text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 0 28px rgba(255,70,85,0.35);
}

/* Featured excerpt — more readable */
.news-preview__excerpt {
    color: rgba(255,255,255,0.78) !important;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* "READ MORE" button — gradient + glow */
.news-preview__read {
    background: linear-gradient(135deg, var(--primary) 0%, #ff6070 100%) !important;
    color: #fff !important;
    font-weight: 800 !important;
    padding: 0.55rem 1rem !important;
    letter-spacing: 0.18em !important;
    box-shadow: 0 6px 22px -4px rgba(255,70,85,0.65), 0 0 0 1px rgba(255,70,85,0.3) inset;
    transition: all 0.2s;
}
.news-preview:hover .news-preview__read {
    filter: brightness(1.15);
    box-shadow: 0 10px 28px -4px rgba(255,70,85,0.85), 0 0 0 1px rgba(255,255,255,0.3) inset;
}

/* HUD corner brackets — accent color + glow */
.news-hud {
    border-color: var(--primary) !important;
    filter: drop-shadow(0 0 6px rgba(255,70,85,0.55));
}

/* Slider nav buttons — bigger touch target, glow */
.news-nav__btn {
    background: rgba(8,12,18,0.7) !important;
    border: 1px solid rgba(255,70,85,0.3) !important;
    transition: all 0.2s !important;
    backdrop-filter: blur(8px);
}
.news-nav__btn:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 0 22px rgba(255,70,85,0.6);
}

/* Progress bar — gradient */
.news-progress-bar {
    background: linear-gradient(90deg, var(--primary) 0%, #ff8a99 100%) !important;
    box-shadow: 0 0 12px rgba(255,70,85,0.55) !important;
    height: 2.5px !important;
}

/* ── Feed log polish ── */

.news-log {
    background: linear-gradient(180deg, rgba(8,12,18,0.6) 0%, rgba(4,8,14,0.75) 100%) !important;
    border: 1px solid rgba(255,70,85,0.1) !important;
    box-shadow:
        0 0 0 1px rgba(255,70,85,0.04) inset,
        0 16px 40px -10px rgba(0,0,0,0.5) !important;
    backdrop-filter: blur(8px);
}

.news-log__header {
    color: var(--primary) !important;
    font-weight: 700 !important;
    letter-spacing: 0.22em !important;
    text-shadow: 0 0 10px rgba(255,70,85,0.4);
    padding: 0.85rem 1rem !important;
    border-bottom: 1px solid rgba(255,70,85,0.12);
    background: linear-gradient(90deg, rgba(255,70,85,0.08), transparent);
}
.news-log__pulse {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary);
    animation: pulse-dot 1.4s ease-in-out infinite;
}

/* Spine — gradient */
.news-log__spine {
    background: linear-gradient(180deg, transparent 0%, rgba(255,70,85,0.25) 20%, rgba(255,70,85,0.25) 80%, transparent 100%) !important;
}

/* Items */
.news-log__item {
    padding: 0.9rem 1rem 0.9rem 2.5rem !important;
    transition: all 0.22s !important;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
}
.news-log__item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.news-log__item:hover::before,
.news-log__item.is-active::before {
    transform: scaleX(1);
}
.news-log__item:hover {
    background: linear-gradient(90deg, rgba(255,70,85,0.08) 0%, transparent 70%) !important;
}
.news-log__item.is-active {
    background: linear-gradient(90deg, rgba(255,70,85,0.14) 0%, rgba(255,70,85,0.02) 100%) !important;
    box-shadow: inset 0 0 30px -8px rgba(255,70,85,0.15);
}

/* Diamond node */
.news-log__node {
    width: 10px !important;
    height: 10px !important;
    background: rgba(255,70,85,0.25) !important;
    border: 1px solid rgba(255,70,85,0.45) !important;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}
.news-log__item.is-active .news-log__node {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 14px var(--primary), 0 0 24px rgba(255,70,85,0.5) !important;
    transform: rotate(45deg) scale(1.15);
}

.news-log__num {
    color: rgba(255,255,255,0.4) !important;
    letter-spacing: 0.2em !important;
    font-weight: 700 !important;
    font-size: 0.5rem !important;
}
.news-log__item.is-active .news-log__num {
    color: var(--primary) !important;
    text-shadow: 0 0 10px rgba(255,70,85,0.5);
}

.news-log__title {
    font-size: 0.88rem !important;
    color: rgba(255,255,255,0.82) !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    transition: color 0.22s;
}
.news-log__item:hover .news-log__title { color: #fff !important; }
.news-log__item.is-active .news-log__title {
    color: #fff !important;
    text-shadow: 0 0 14px rgba(255,70,85,0.3);
}

/* Bars — animated wave on active */
.news-log__bar {
    background: rgba(255,255,255,0.15) !important;
    transition: background 0.3s;
}
.news-log__item.is-active .news-log__bar {
    background: var(--primary) !important;
    box-shadow: 0 0 4px rgba(255,70,85,0.5);
}
.news-log__item.is-active .news-log__bar:nth-child(1) { animation: news-bar-wave 1.6s ease-in-out 0s infinite; }
.news-log__item.is-active .news-log__bar:nth-child(2) { animation: news-bar-wave 1.6s ease-in-out 0.1s infinite; }
.news-log__item.is-active .news-log__bar:nth-child(3) { animation: news-bar-wave 1.6s ease-in-out 0.2s infinite; }
.news-log__item.is-active .news-log__bar:nth-child(4) { animation: news-bar-wave 1.6s ease-in-out 0.3s infinite; }
.news-log__item.is-active .news-log__bar:nth-child(5) { animation: news-bar-wave 1.6s ease-in-out 0.4s infinite; }

@keyframes news-bar-wave {
    0%, 100% { opacity: 0.7; transform: scaleY(1); }
    50%      { opacity: 1;   transform: scaleY(1.4); transform-origin: bottom; }
}

.news-log__footer {
    border-top: 1px solid rgba(255,70,85,0.12) !important;
    background: linear-gradient(90deg, transparent, rgba(255,70,85,0.04)) !important;
    padding: 0.7rem 1rem !important;
    color: rgba(255,255,255,0.35) !important;
    font-size: 0.5rem !important;
    letter-spacing: 0.2em !important;
}

@media (prefers-reduced-motion: reduce) {
    .news-headline .section-title__accent,
    .news-log__item.is-active .news-log__bar { animation: none; }
}

/* ============================================================
   AMBIENT PULSE KEYFRAME (referenced by hero-ambient-pulse)
   ============================================================ */
@keyframes ambient-pulse {
    0%, 100% { opacity: 0.25; transform: translateY(-50%) scale(1); }
    50%       { opacity: 0.4;  transform: translateY(-50%) scale(1.06); }
}

/* ============================================================
   SITE DIVIDER — React SiteDivider.tsx parity
   ============================================================ */
.site-divider {
    position: relative;
    z-index: 2;
    padding: 1.25rem 0;
}
.site-divider__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}
.site-divider__dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(255, 70, 85, 0.6);
    animation: pulse-dot 1.4s ease-in-out infinite;
    flex-shrink: 0;
}
.site-divider__line--left {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 70, 85, 0.5), rgba(55, 75, 100, 0.4), transparent);
}
.site-divider__line--right {
    flex: 1;
    height: 1px;
    background: linear-gradient(to left, rgba(255, 70, 85, 0.5), rgba(55, 75, 100, 0.4), transparent);
}
.site-divider__label {
    flex-shrink: 0;
    padding: 0 0.5rem;
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    color: #ff5d69;
}
@media (max-width: 768px) {
    .site-divider__inner { padding: 0 1rem; gap: 0.5rem; }
    .site-divider__label { font-size: 0.56rem; letter-spacing: 0.15em; }
}

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

.tl-section {
    position: relative;
    z-index: 2;
    padding: 4rem 0 5rem;
}

/* Eyebrow */
.tl-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    color: rgba(255, 70, 85, 0.7);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tl-eyebrow::after {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 1.4s infinite;
}

/* Header */
.tl-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.tl-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--foreground);
    line-height: 0.9;
    margin-bottom: 0.75rem;
}
.tl-title em {
    font-style: normal;
    color: var(--primary);
    text-shadow: 0 0 40px rgba(255, 70, 85, 0.45);
}
.tl-patch {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 70, 85, 0.5);
    background: rgba(255, 70, 85, 0.08);
    padding: 0.22rem 0.75rem;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    color: var(--primary);
    margin-bottom: 0.6rem;
}
.tl-subtitle {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 0.35rem;
}

/* Filter tabs */
.tl-filter {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    align-self: center;
}
.tl-tab {
    font-family: var(--font-tech);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    color: var(--muted);
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(55, 75, 100, 0.45);
    background: rgba(15, 25, 35, 0.6);
    text-transform: uppercase;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.tl-tab:hover {
    color: var(--foreground);
    border-color: rgba(255, 70, 85, 0.4);
    background: rgba(255, 70, 85, 0.06);
}
.tl-tab.is-active {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(255, 70, 85, 0.35);
}

/* Tier rows */
.tl-rows {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.tl-row {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: stretch;
    border: 1px solid rgba(55, 75, 100, 0.3);
    border-left: 3px solid var(--tclr, var(--primary));
    background: rgba(15, 25, 35, 0.72);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    transition: background 0.2s;
}
/* Tier-colored left glow bleed */
.tl-row::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 140px;
    background: linear-gradient(
        to right,
        rgba(var(--trgb, 255,70,85), 0.07) 0%,
        transparent 100%
    );
    pointer-events: none;
}
.tl-row--empty { display: none; }

/* Tier badge */
.tl-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    border-right: 1px solid rgba(55, 75, 100, 0.3);
    gap: 0.15rem;
    min-height: 100px;
}
.tl-badge__letter {
    font-family: var(--font-display);
    font-size: 3.2rem;
    line-height: 1;
    color: var(--tclr, var(--primary));
    text-shadow: 0 0 24px rgba(var(--trgb, 255,70,85), 0.55);
}
.tl-badge__name {
    font-size: 0.48rem;
    letter-spacing: 0.16em;
    color: var(--muted);
}

/* Agent cards wrap */
.tl-agents {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.75rem 1rem;
    align-items: flex-start;
    align-content: flex-start;
}

/* Single agent card */
.tl-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    color: inherit;
}
.tl-card:hover { transform: translateY(-4px); }

/* Portrait */
.tl-card__portrait {
    position: relative;
    width: 68px; height: 68px;
    background: rgba(10, 17, 24, 0.85);
    border: 1px solid rgba(55, 75, 100, 0.45);
    overflow: hidden;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.tl-card:hover .tl-card__portrait {
    border-color: var(--tclr, var(--primary));
    box-shadow: 0 0 18px rgba(var(--trgb, 255,70,85), 0.38);
}
.tl-card__portrait img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.15) contrast(1.05);
    transition: transform 0.3s, filter 0.2s;
}
.tl-card:hover .tl-card__portrait img {
    transform: scale(1.12);
    filter: none;
}

/* Win-rate — always visible at bottom of portrait */
.tl-card__wr {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.22rem 0.2rem;
    font-family: var(--font-tech);
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    color: #fff;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.35) 80%, transparent);
    font-weight: 700;
}

/* Agent name */
.tl-card__name {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    max-width: 68px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}
.tl-card:hover .tl-card__name { color: var(--foreground); }

/* Row agent count */
.tl-row-count {
    padding: 0 1.1rem;
    font-size: 0.52rem;
    letter-spacing: 0.18em;
    color: rgba(55, 75, 100, 0.7);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    align-self: center;
    white-space: nowrap;
}

/* Footer bar */
.tl-footer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(55, 75, 100, 0.22);
    font-size: 0.56rem;
    letter-spacing: 0.15em;
    color: var(--muted);
    flex-wrap: wrap;
}
.tl-meta-shift {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
}
.tl-pulse {
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 1.4s infinite;
}
.tl-updated { margin-left: auto; color: rgba(55, 75, 100, 0.65); }

/* Responsive */
@media (max-width: 768px) {
    .tl-header { flex-direction: column; gap: 1rem; }
    .tl-filter { width: 100%; }
    .tl-row { grid-template-columns: 72px 1fr; }
    .tl-row-count { display: none; }
    .tl-badge__letter { font-size: 2.4rem; }
    .tl-badge { padding: 0.75rem 0.5rem; }
}
@media (max-width: 480px) {
    .tl-card__portrait { width: 54px; height: 54px; }
    .tl-agents { gap: 0.4rem; padding: 0.5rem; }
}

/* ============================================================
   TIER LIST ENHANCEMENT v2 — punchier visuals, animated effects
   ============================================================ */

/* Section bloom backdrop */
.tl-section { position: relative; overflow: hidden; }
.tl-section::before {
    content: '';
    position: absolute;
    inset: -40px 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 50% 60% at 20% 30%, rgba(255,70,85,0.08) 0%, transparent 65%),
        radial-gradient(ellipse 45% 60% at 80% 70%, rgba(245,166,35,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.tl-section > * { position: relative; z-index: 1; }

/* Title — animated gradient on accent word */
.tl-title em {
    display: inline-block;
    padding: 0 0.18em 0.05em 0;
    background: linear-gradient(90deg, #ff4655 0%, #ff8a99 30%, #ffd700 50%, #ff8a99 70%, #ff4655 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: tl-grad-shift 6s ease-in-out infinite;
    font-style: normal !important;
}
@keyframes tl-grad-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* Patch chip — gradient + glow */
.tl-patch {
    background: linear-gradient(135deg, var(--primary) 0%, #ff6070 100%) !important;
    color: #fff !important;
    box-shadow:
        0 0 0 1px rgba(255,70,85,0.4) inset,
        0 4px 18px -2px rgba(255,70,85,0.6) !important;
    letter-spacing: 0.18em !important;
}

/* Filter tabs — bigger, with active glow */
.tl-tab {
    padding: 0.55rem 1.1rem !important;
    letter-spacing: 0.18em !important;
    font-weight: 700 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    background: rgba(0,0,0,0.4) !important;
    transition: all 0.22s !important;
}
.tl-tab:hover {
    border-color: var(--primary) !important;
    color: #fff !important;
    background: rgba(255,70,85,0.08) !important;
}
.tl-tab.is-active {
    background: linear-gradient(135deg, var(--primary) 0%, #ff6070 100%) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 22px -4px rgba(255,70,85,0.7), 0 0 0 1px rgba(255,255,255,0.15) inset !important;
}

/* Row container — base panel with subtle inner glow */
.tl-row {
    background: linear-gradient(90deg, rgba(8,12,18,0.7) 0%, rgba(4,8,14,0.85) 100%) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    transition: border-color 0.3s, transform 0.25s !important;
}
.tl-row:hover { border-color: rgba(255,255,255,0.12) !important; }

/* Left accent stripe (tier color) — stronger glow + animated */
.tl-row::before {
    width: 4px !important;
    box-shadow: 0 0 16px var(--tclr, #ff4655),
                0 0 32px color-mix(in srgb, var(--tclr, #ff4655) 35%, transparent) !important;
}

/* Tier badge — punchier, gradient bg, breathing letter */
.tl-badge {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--tclr, #ff4655) 35%, transparent) 0%,
        color-mix(in srgb, var(--tclr, #ff4655) 8%, transparent) 100%) !important;
    border-right: 1px solid color-mix(in srgb, var(--tclr, #ff4655) 25%, transparent) !important;
    padding: 1rem 0.6rem !important;
    position: relative;
}
.tl-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--tclr, #ff4655) 20%, transparent) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.tl-row:hover .tl-badge::before { opacity: 1; }
.tl-badge__letter {
    font-size: 3.2rem !important;
    line-height: 1 !important;
    color: var(--tclr, #ff4655) !important;
    text-shadow:
        0 0 20px var(--tclr, #ff4655),
        0 0 4px rgba(0,0,0,0.6) !important;
    animation: tl-letter-breath 3.5s ease-in-out infinite;
}
@keyframes tl-letter-breath {
    0%, 100% { text-shadow: 0 0 16px var(--tclr, #ff4655), 0 0 4px rgba(0,0,0,0.6); }
    50%      { text-shadow: 0 0 28px var(--tclr, #ff4655), 0 0 8px rgba(0,0,0,0.6); }
}
.tl-badge__name {
    color: color-mix(in srgb, var(--tclr, #ff4655) 85%, white) !important;
    letter-spacing: 0.22em !important;
    font-weight: 700 !important;
    text-shadow: 0 0 10px color-mix(in srgb, var(--tclr, #ff4655) 50%, transparent);
}

/* Agents grid — slight padding for breathing */
.tl-agents {
    padding: 0.85rem 0.85rem !important;
    gap: 0.55rem !important;
}

/* Agent card — lift + glow on hover + scan shine */
.tl-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease !important;
}
.tl-card:hover {
    transform: translateY(-5px) !important;
}

/* Portrait — accent border per tier, hover ring */
.tl-card__portrait {
    border: 2px solid rgba(255,255,255,0.08) !important;
    box-shadow:
        0 4px 14px rgba(0,0,0,0.4),
        0 0 0 1px rgba(0,0,0,0.5) inset !important;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s !important;
}
.tl-card:hover .tl-card__portrait {
    border-color: var(--tclr, #ff4655) !important;
    box-shadow:
        0 6px 24px rgba(0,0,0,0.5),
        0 0 22px -2px var(--tclr, #ff4655),
        0 0 0 1px rgba(255,255,255,0.15) inset !important;
}

/* Shine sweep on portrait on hover */
.tl-card__portrait::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.25) 50%, transparent 65%);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none;
    z-index: 3;
}
.tl-card:hover .tl-card__portrait::after { transform: translateX(100%); }

/* WR badge — pill, gradient */
.tl-card__wr {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--tclr, #ff4655) 80%, transparent) 0%,
        color-mix(in srgb, var(--tclr, #ff4655) 55%, black) 100%) !important;
    color: #fff !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.5),
        0 0 14px -2px color-mix(in srgb, var(--tclr, #ff4655) 60%, transparent),
        0 0 0 1px rgba(255,255,255,0.2) inset !important;
}

/* Agent name */
.tl-card__name {
    color: rgba(255,255,255,0.72) !important;
    transition: color 0.2s, text-shadow 0.2s !important;
    font-weight: 700 !important;
}
.tl-card:hover .tl-card__name {
    color: #fff !important;
    text-shadow: 0 0 10px color-mix(in srgb, var(--tclr, #ff4655) 60%, transparent);
}

/* Row count badge */
.tl-row-count {
    background: rgba(0,0,0,0.4);
    padding: 0.35rem 0.6rem;
    border: 1px solid rgba(255,255,255,0.06);
    font-weight: 700;
    letter-spacing: 0.16em;
}

/* Footer */
.tl-footer {
    border-top: 1px solid rgba(255,70,85,0.12) !important;
    background: linear-gradient(90deg, rgba(255,70,85,0.04), transparent) !important;
    padding: 0.85rem 1rem !important;
}
.tl-meta-shift {
    color: var(--primary) !important;
    font-weight: 700 !important;
    text-shadow: 0 0 10px rgba(255,70,85,0.4);
}
.tl-pulse {
    box-shadow: 0 0 12px var(--primary), 0 0 24px rgba(255,70,85,0.4);
}

@media (prefers-reduced-motion: reduce) {
    .tl-title em,
    .tl-badge__letter { animation: none; }
}

/* ============================================================
   LEADERBOARD TOP — Radiant Top 15
   ============================================================ */

.lbt-section {
    position: relative; z-index: 2;
    padding: 4rem 0 5rem;
}

/* Eyebrow */
.lbt-eyebrow {
    font-size: 0.62rem; letter-spacing: 0.2em;
    color: rgba(255,70,85,0.7); margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.lbt-eyebrow::after {
    content: ''; display: inline-block;
    width: 6px; height: 6px; background: var(--primary);
    border-radius: 50%; animation: pulse-dot 1.4s infinite;
}

/* Header */
.lbt-header {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 2rem;
    margin-bottom: 2rem; flex-wrap: wrap;
}
.lbt-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: var(--foreground); line-height: 0.9; margin-bottom: 0.6rem;
}
.lbt-title em { font-style: normal; color: var(--primary); text-shadow: 0 0 36px rgba(255,70,85,0.4); }
.lbt-updated { font-size: 0.58rem; letter-spacing: 0.16em; color: var(--muted); margin-top: 0.35rem; }
.lbt-act-badge {
    display: inline-block;
    margin-left: 0.75rem;
    padding: 0.15rem 0.55rem;
    background: rgba(255,70,85,0.12);
    border: 1px solid rgba(255,70,85,0.3);
    color: var(--primary);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    vertical-align: middle;
}

/* Region tabs */
.lbt-regions { display: flex; gap: 0.3rem; flex-wrap: wrap; align-self: center; }
.lbt-rtab {
    font-size: 0.6rem; letter-spacing: 0.14em;
    color: var(--muted); padding: 0.4rem 0.85rem;
    border: 1px solid rgba(55,75,100,0.45);
    background: rgba(15,25,35,0.6);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.lbt-rtab:hover { color: var(--foreground); border-color: rgba(255,70,85,0.35); }
.lbt-rtab.is-active {
    color: #fff; background: var(--primary); border-color: var(--primary);
    box-shadow: 0 0 14px rgba(255,70,85,0.35);
}

/* Wrap */
.lbt-wrap { position: relative; }

/* Column headers */
.lbt-thead {
    display: grid;
    grid-template-columns: 56px 1fr 160px 90px 120px;
    padding: 0.5rem 1rem;
    font-size: 0.52rem; letter-spacing: 0.16em;
    color: rgba(55,75,100,0.8);
    border-bottom: 1px solid rgba(55,75,100,0.25);
    margin-bottom: 0.2rem;
}

/* Panels */
.lbt-panel { display: none; }
.lbt-panel.is-active { display: block; }

/* Rows */
.lbt-row {
    display: grid;
    grid-template-columns: 56px 1fr 160px 90px 120px;
    align-items: center;
    min-height: 68px;
    border-bottom: 1px solid rgba(55,75,100,0.15);
    background: transparent;
    transition: background 0.18s;
    position: relative;
}
.lbt-row:hover { background: rgba(255,255,255,0.03); }

/* Top 3 accents */
.lbt-row--rank1 {
    background: rgba(255,215,0,0.04);
    border-left: 3px solid rgba(255,215,0,0.7);
}
.lbt-row--rank1:hover { background: rgba(255,215,0,0.07); }
.lbt-row--rank2 {
    background: rgba(192,192,192,0.03);
    border-left: 3px solid rgba(192,192,192,0.5);
}
.lbt-row--rank3 {
    background: rgba(205,127,50,0.03);
    border-left: 3px solid rgba(205,127,50,0.45);
}

/* Cells */
.lbt-cell { padding: 0.5rem 0.5rem 0.5rem 0; }
.lbt-cell--rank { padding-left: 1rem; }

/* Rank number */
.lbt-rank {
    font-family: var(--font-display);
    font-size: 1.5rem; line-height: 1;
    color: var(--muted);
}
.lbt-row--rank1 .lbt-rank { color: #ffd700; text-shadow: 0 0 18px rgba(255,215,0,0.55); font-size: 2rem; }
.lbt-row--rank2 .lbt-rank { color: #c0c0c0; font-size: 1.7rem; }
.lbt-row--rank3 .lbt-rank { color: #cd7f32; font-size: 1.6rem; }

/* Player cell */
.lbt-cell--player { display: flex; align-items: center; gap: 0.75rem; }

/* Avatar */
.lbt-avatar {
    width: 48px; height: 48px; flex-shrink: 0;
    border: 1px solid rgba(55,75,100,0.45);
    overflow: hidden; background: rgba(10,17,24,0.8);
    clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
    transition: border-color 0.2s;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
}
.lbt-row:hover .lbt-avatar { border-color: rgba(255,70,85,0.4); }
.lbt-row--rank1 .lbt-avatar { border-color: rgba(255,215,0,0.5); width: 56px; height: 56px; }
.lbt-row--rank2 .lbt-avatar { border-color: rgba(192,192,192,0.4); }
.lbt-row--rank3 .lbt-avatar { border-color: rgba(205,127,50,0.4); }
.lbt-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lbt-avatar__fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1.3rem;
    color: var(--muted); background: rgba(30,40,55,0.8);
}

/* Player info */
.lbt-player-info { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.lbt-player-name {
    font-size: 0.92rem; font-weight: 600;
    color: var(--foreground); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.lbt-row--rank1 .lbt-player-name { color: #ffd700; font-size: 1rem; }
.lbt-player-tag { font-size: 0.55rem; letter-spacing: 0.1em; color: var(--muted); }

/* RR cell */
.lbt-cell--rr { display: flex; align-items: baseline; gap: 0.3rem; }
.lbt-rr { font-family: var(--font-display); font-size: 1.5rem; color: var(--primary); line-height: 1; }
.lbt-row--rank1 .lbt-rr { font-size: 1.8rem; text-shadow: 0 0 18px rgba(255,70,85,0.45); }
.lbt-rr-label { font-size: 0.5rem; letter-spacing: 0.14em; color: var(--muted); }

/* Wins cell */
.lbt-cell--wins { display: flex; align-items: baseline; gap: 0.3rem; }
.lbt-wins { font-family: var(--font-display); font-size: 1.2rem; color: var(--foreground); line-height: 1; }
.lbt-wins-label { font-size: 0.5rem; letter-spacing: 0.14em; color: var(--muted); }

/* Tier badge */
.lbt-tier {
    display: inline-block; padding: 0.22rem 0.65rem;
    font-size: 0.52rem; letter-spacing: 0.16em;
    color: var(--primary); border: 1px solid rgba(255,70,85,0.45);
    background: rgba(255,70,85,0.07);
}

/* Loading / empty states */
.lbt-loading, .lbt-empty {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 3rem 1rem;
    font-size: 0.6rem; letter-spacing: 0.18em;
    color: var(--muted);
    justify-content: center;
}
.lbt-pulse {
    display: inline-block; width: 8px; height: 8px;
    background: var(--primary); border-radius: 50%;
    animation: pulse-dot 1.4s infinite;
}

/* Responsive */
@media (max-width: 900px) {
    .lbt-thead { grid-template-columns: 48px 1fr 120px 70px; }
    .lbt-thead .lbt-th--tier { display: none; }
    .lbt-row { grid-template-columns: 48px 1fr 120px 70px; }
    .lbt-cell--tier { display: none; }
}
@media (max-width: 600px) {
    .lbt-header { flex-direction: column; gap: 1rem; }
    .lbt-regions { width: 100%; }
    .lbt-thead { grid-template-columns: 40px 1fr 100px; }
    .lbt-thead .lbt-th--wins { display: none; }
    .lbt-row { grid-template-columns: 40px 1fr 100px; }
    .lbt-cell--wins { display: none; }
    .lbt-rr { font-size: 1.2rem; }
    .lbt-rank { font-size: 1.1rem; }
}

/* ============================================================
   VLB — RADIANT LEADERBOARD PREMIUM BLOCK v2.1
   BEM prefix: vlb__ — no conflicts with existing theme CSS
   ============================================================ */

.vlb { position: relative; overflow: hidden; padding: 2rem 0 4rem; }
.vlb__container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Hero ── */
.vlb__hero {
    position: relative;
    padding: 2.5rem 2rem 2rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,70,85,0.12);
    margin-bottom: 0;
}
.vlb__hero-deco {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 70% 120% at 100% 50%, rgba(255,70,85,0.07) 0%, transparent 65%);
}
.vlb__hero-ring {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(255,70,85,0.07);
}
.vlb__hero-ring--1 { width: 320px; height: 320px; right: -80px; top: -60px; }
.vlb__hero-ring--2 { width: 180px; height: 180px; right: 40px;  top: 10px; }
.vlb__hero-slash {
    position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
    background: linear-gradient(115deg, transparent 40%, rgba(255,70,85,0.04) 55%, transparent 70%);
}
.vlb__hero-content { position: relative; z-index: 1; }
.vlb__eyebrow { font-size: 0.58rem; letter-spacing: 0.22em; color: var(--muted); margin-bottom: 0.55rem; }
.vlb__act-chip {
    display: inline-block; margin-left: 0.6rem;
    padding: 0.12rem 0.5rem;
    background: rgba(255,70,85,0.1); border: 1px solid rgba(255,70,85,0.28);
    color: var(--primary); font-size: 0.55rem; letter-spacing: 0.14em;
    vertical-align: middle;
}
.vlb__title {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    letter-spacing: 0.04em; line-height: 1; margin-bottom: 0.4rem;
}
.vlb__title em { font-style: normal; color: var(--primary); text-shadow: 0 0 36px rgba(255,70,85,0.4); }
.vlb__subtitle { font-size: 0.7rem; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 0.25rem; }
.vlb__region-label { color: var(--foreground); }
.vlb__updated { font-size: 0.52rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.22); }

/* ── Tabs ── */
.vlb__tabs {
    display: flex; gap: 0;
    border-bottom: 1px solid rgba(255,70,85,0.1);
    background: rgba(0,0,0,0.3);
}
.vlb__tab {
    font-size: 0.62rem; letter-spacing: 0.2em;
    color: var(--muted); background: transparent; border: none;
    padding: 0.9rem 1.3rem; cursor: pointer;
    position: relative; transition: color 0.2s;
}
.vlb__tab::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
    height: 2px; background: var(--primary);
    transform: scaleX(0); transition: transform 0.22s;
}
.vlb__tab:hover { color: var(--foreground); }
.vlb__tab.is-active { color: var(--foreground); }
.vlb__tab.is-active::after { transform: scaleX(1); }

/* ── Board ── */
.vlb__board {
    border: 1px solid rgba(255,70,85,0.08);
    border-top: none;
    background: rgba(4,8,12,0.7);
}

/* Column grid */
.vlb__thead,
.vlb__row { display: grid; grid-template-columns: 54px 52px 1fr 90px 62px 130px 96px 62px; }

/* Table head */
.vlb__thead {
    padding: 0.55rem 1rem;
    border-bottom: 1px solid rgba(255,70,85,0.08);
    background: rgba(255,70,85,0.025);
}
.vlb__th {
    font-size: 0.5rem; letter-spacing: 0.22em;
    color: rgba(255,255,255,0.22);
}
.vlb__th--change, .vlb__th--rr, .vlb__th--tier, .vlb__th--wins { text-align: center; }

/* Panel */
.vlb__panel { display: none; }
.vlb__panel.is-active { display: block; }

/* Row */
.vlb__row {
    align-items: center; padding: 0 1rem;
    min-height: 62px;
    border-bottom: 1px solid rgba(255,255,255,0.025);
    position: relative; transition: background 0.15s;
}
.vlb__row::before {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0; width: 3px;
    background: transparent; transition: background 0.2s;
}
.vlb__row:last-child { border-bottom: none; }
.vlb__row:hover { background: rgba(255,255,255,0.02); }

/* Rank 1 */
.vlb__row--rank1 {
    background: rgba(255,215,0,0.04); min-height: 74px;
    box-shadow: inset 0 0 40px rgba(255,215,0,0.03);
}
.vlb__row--rank1::before { background: #ffd700; box-shadow: 2px 0 12px rgba(255,215,0,0.35); }
.vlb__row--rank1:hover { background: rgba(255,215,0,0.07); }

/* Rank 2 */
.vlb__row--rank2 { background: rgba(192,192,192,0.02); }
.vlb__row--rank2::before { background: #b0b0b0; }

/* Rank 3 */
.vlb__row--rank3 { background: rgba(205,127,50,0.02); }
.vlb__row--rank3::before { background: #cd7f32; }

/* ── Rank badge ── */
.vlb__cell--rank { display: flex; align-items: center; }
.vlb__badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; line-height: 1;
    clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px);
}
.vlb__badge--gold   { background: linear-gradient(135deg,#b8860b,#ffd700); color:#000; box-shadow: 0 0 18px rgba(255,215,0,0.3); }
.vlb__badge--silver { background: linear-gradient(135deg,#686868,#c8c8c8); color:#000; }
.vlb__badge--bronze { background: linear-gradient(135deg,#7b4a1e,#cd7f32); color:#000; }
.vlb__rank-num { font-size: 0.78rem; letter-spacing: 0.05em; color: rgba(255,255,255,0.28); }

/* ── Avatar ── */
.vlb__cell--avatar { display: flex; align-items: center; }
.vlb__avatar {
    position: relative; width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
    clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
    flex-shrink: 0;
}
.vlb__avatar--rank1 { background: linear-gradient(135deg,#b8860b,#ffd700); color:#000; width:50px; height:50px; box-shadow: 0 0 20px rgba(255,215,0,0.25); }
.vlb__avatar--rank2 { background: linear-gradient(135deg,#585858,#c0c0c0); color:#000; }
.vlb__avatar--rank3 { background: linear-gradient(135deg,#6b3f18,#cd7f32); color:#000; }
.vlb__avatar--other { background: rgba(255,70,85,0.1); color: var(--primary); border: 1px solid rgba(255,70,85,0.18); }
.vlb__avatar-letter { position: relative; z-index: 1; }
.vlb__crown {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    font-size: 0.72rem; line-height: 1; z-index: 2;
}

/* ── Player ── */
.vlb__cell--player { display: flex; flex-direction: column; gap: 0.12rem; min-width: 0; }
.vlb__name {
    font-size: 0.88rem; font-weight: 600; color: var(--foreground);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vlb__row--rank1 .vlb__name { color: #ffd700; font-size: 0.95rem; text-shadow: 0 0 18px rgba(255,215,0,0.28); }
.vlb__tag { font-size: 0.5rem; letter-spacing: 0.1em; color: var(--muted); }

/* ── Location ── */
.vlb__cell--loc { display: flex; align-items: center; gap: 0.35rem; }
.vlb__flag { font-size: 1rem; line-height: 1; flex-shrink: 0; }
.vlb__cc { font-size: 0.58rem; letter-spacing: 0.1em; color: var(--muted); }
.vlb__cc--none { color: rgba(255,255,255,0.15); }

/* ── 24h delta ── */
.vlb__cell--change { display: flex; align-items: center; justify-content: center; }
.vlb__delta { font-size: 0.65rem; letter-spacing: 0.04em; font-weight: 700; }
.vlb__delta--up   { color: #4caf50; }
.vlb__delta--down { color: var(--primary); }
.vlb__delta--same { color: rgba(255,255,255,0.18); font-weight: 400; }

/* ── Ranked Rating ── */
.vlb__cell--rr { display: flex; align-items: baseline; gap: 0.22rem; justify-content: center; }
.vlb__rr { font-family: var(--font-display); font-size: 1.45rem; color: var(--primary); line-height: 1; }
.vlb__row--rank1 .vlb__rr { color: #ffd700; font-size: 1.65rem; text-shadow: 0 0 14px rgba(255,215,0,0.35); }
.vlb__rr-lbl { font-size: 0.46rem; letter-spacing: 0.16em; color: var(--muted); }

/* ── Tier badge ── */
.vlb__cell--tier { display: flex; align-items: center; justify-content: center; }
.vlb__tier {
    font-size: 0.5rem; letter-spacing: 0.18em;
    color: var(--primary); padding: 0.22rem 0.55rem;
    border: 1px solid rgba(255,70,85,0.32);
    background: rgba(255,70,85,0.07);
    clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
}
.vlb__row--rank1 .vlb__tier {
    color: #ffd700; border-color: rgba(255,215,0,0.38); background: rgba(255,215,0,0.06);
}

/* ── Wins ── */
.vlb__cell--wins { display: flex; align-items: baseline; gap: 0.18rem; justify-content: center; }
.vlb__wins { font-family: var(--font-display); font-size: 1.1rem; color: var(--foreground); line-height: 1; }
.vlb__wins-lbl { font-size: 0.44rem; letter-spacing: 0.16em; color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 920px) {
    .vlb__thead,
    .vlb__row { grid-template-columns: 46px 46px 1fr 72px 56px 110px; }
    .vlb__th--tier, .vlb__th--wins { display: none; }
    .vlb__cell--tier, .vlb__cell--wins { display: none; }
}
@media (max-width: 640px) {
    .vlb__thead,
    .vlb__row { grid-template-columns: 38px 40px 1fr 50px 100px; }
    .vlb__th--loc, .vlb__th--change, .vlb__th--tier, .vlb__th--wins { display: none; }
    .vlb__cell--loc, .vlb__cell--change, .vlb__cell--tier, .vlb__cell--wins { display: none; }
    .vlb__tab { padding: 0.7rem 0.8rem; font-size: 0.57rem; }
    .vlb__hero { padding: 1.5rem 1rem; }
    .vlb__rr { font-size: 1.1rem; }
    .vlb__row--rank1 .vlb__rr { font-size: 1.2rem; }
    .vlb__row { min-height: 54px; }
}

/* ============================================================
   VLB2 — RADIANT LEADERBOARD PREMIUM BLOCK v3.0
   BEM prefix: vlb2__
   Tab switching: hidden <input type="radio"> + CSS ~ selector
   Zero JavaScript required.
   ============================================================ */

/* ── Radio inputs: hidden, drive tab state ── */
.vlb2__radio { display: none; }

/* ── Outer section ── */
.vlb2 {
    position: relative;
    padding: 2.5rem 0 4rem;
    overflow: hidden;
}

/* ── Gaming background ── */
.vlb2__bg {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
}
.vlb2__bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,70,85,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,70,85,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
}
.vlb2__bg-glow {
    position: absolute; border-radius: 50%;
    filter: blur(90px); pointer-events: none;
}
.vlb2__bg-glow--1 {
    width: 650px; height: 420px;
    background: rgba(255,70,85,0.055);
    left: -120px; top: 0;
}
.vlb2__bg-glow--2 {
    width: 520px; height: 360px;
    background: rgba(90,0,210,0.04);
    right: -80px; bottom: 0;
}

/* ── Wrap — must be sibling to radio inputs for ~ selector ── */
.vlb2__wrap { position: relative; z-index: 1; }

/* ── Container ── */
.vlb2__container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Hero ── */
.vlb2__hero {
    display: flex; align-items: flex-end; justify-content: space-between;
    padding: 2.5rem 2rem 2rem;
    border-bottom: 1px solid rgba(255,70,85,0.12);
    position: relative; overflow: hidden;
}
.vlb2__hero-deco { position: absolute; inset: 0; pointer-events: none; }
.vlb2__hero-ring {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(255,70,85,0.07);
}
.vlb2__hero-ring--1 { width: 360px; height: 360px; right: -100px; top: -90px; }
.vlb2__hero-ring--2 { width: 200px; height: 200px; right: 20px;   top:  0px; }
.vlb2__hero-inner { position: relative; z-index: 1; }

/* Hero radiant badge (right side) */
.vlb2__hero-badge {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    flex-shrink: 0; opacity: 0.72;
}
.vlb2__hero-icon {
    display: block; width: 68px; height: 68px;
    background: var(--ri) center / contain no-repeat,
                linear-gradient(135deg, #ffaa00 0%, #ff6600 50%, #ff4655 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    filter: drop-shadow(0 0 18px rgba(255,140,0,0.4));
}
.vlb2__hero-icon-img {
    display: block; width: 68px; height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(255,140,0,0.45));
}
.vlb2__hero-icon-lbl {
    font-size: 0.48rem; letter-spacing: 0.24em; color: rgba(255,150,0,0.65);
}

/* Hero text */
.vlb2__eyebrow {
    font-size: 0.58rem; letter-spacing: 0.2em;
    color: var(--muted); margin-bottom: 0.5rem;
}
.vlb2__act-chip {
    display: inline-block; margin-left: 0.5rem;
    padding: 0.1rem 0.44rem;
    background: rgba(255,70,85,0.1); border: 1px solid rgba(255,70,85,0.28);
    color: var(--primary); font-size: 0.52rem; letter-spacing: 0.12em;
    vertical-align: middle;
}
.vlb2__title {
    font-size: clamp(1.7rem, 4.5vw, 3rem);
    letter-spacing: 0.04em; line-height: 1; margin-bottom: 0.4rem;
}
.vlb2__title em {
    font-style: normal; color: var(--primary);
    text-shadow: 0 0 32px rgba(255,70,85,0.4);
}
.vlb2__meta {
    font-size: 0.5rem; letter-spacing: 0.12em;
    color: rgba(255,255,255,0.2);
}

/* ── Tab nav ── */
.vlb2__nav {
    display: flex; gap: 0;
    border-bottom: 1px solid rgba(255,70,85,0.1);
    background: rgba(0,0,0,0.35);
}
.vlb2__tab {
    font-size: 0.62rem; letter-spacing: 0.2em;
    color: var(--muted);
    padding: 0.9rem 1.4rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s;
    user-select: none;
    display: block;
    flex: 1; text-align: center;
    min-width: 0;
}
.vlb2__tab:hover { color: rgba(255,255,255,0.65); }
.vlb2__tab-short { display: none; }

/* CSS-only active tab — :checked radio ~ sibling .vlb2__wrap descendant label */
#vlb2-eu:checked ~ .vlb2__wrap label[for="vlb2-eu"],
#vlb2-na:checked ~ .vlb2__wrap label[for="vlb2-na"],
#vlb2-ap:checked ~ .vlb2__wrap label[for="vlb2-ap"],
#vlb2-kr:checked ~ .vlb2__wrap label[for="vlb2-kr"] {
    color: var(--foreground);
    border-bottom-color: var(--primary);
}

/* ── Panel visibility — CSS-only ── */
.vlb2__panel { display: none; }
#vlb2-eu:checked ~ .vlb2__wrap .vlb2__panel--eu { display: block; }
#vlb2-na:checked ~ .vlb2__wrap .vlb2__panel--na { display: block; }
#vlb2-ap:checked ~ .vlb2__wrap .vlb2__panel--ap { display: block; }
#vlb2-kr:checked ~ .vlb2__wrap .vlb2__panel--kr { display: block; }

/* ── Board ── */
.vlb2__board {
    border: 1px solid rgba(255,70,85,0.08);
    border-top: none;
    background: rgba(3,7,13,0.78);
    backdrop-filter: blur(6px);
}

/* Grid: rank | avatar | player | loc | 24h | RR | rank-icon | wins */
.vlb2__thead,
.vlb2__row {
    display: grid;
    grid-template-columns: 54px 52px 1fr 90px 56px 128px 52px 62px;
    align-items: center;
}

/* Table head */
.vlb2__thead {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255,70,85,0.08);
    background: rgba(255,70,85,0.02);
}
.vlb2__th {
    font-size: 0.48rem; letter-spacing: 0.22em;
    color: rgba(255,255,255,0.2);
}
.vlb2__th--change,
.vlb2__th--rr,
.vlb2__th--ri,
.vlb2__th--wins { text-align: center; }

/* ── Rows ── */
.vlb2__row {
    padding: 0 1rem;
    min-height: 62px;
    border-bottom: 1px solid rgba(255,255,255,0.025);
    position: relative;
    transition: background 0.15s;
}
.vlb2__row::before {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0; width: 2px;
    background: transparent; transition: background 0.2s;
}
.vlb2__row:last-child { border-bottom: none; }
.vlb2__row:hover { background: rgba(255,255,255,0.018); }

/* Rank 1 — gold */
.vlb2__row--1 {
    min-height: 76px;
    background: linear-gradient(90deg, rgba(255,215,0,0.055) 0%, transparent 65%);
}
.vlb2__row--1::before {
    background: #ffd700;
    box-shadow: 2px 0 18px rgba(255,215,0,0.45);
}
.vlb2__row--1:hover {
    background: linear-gradient(90deg, rgba(255,215,0,0.09) 0%, transparent 65%);
}

/* Rank 2 — silver */
.vlb2__row--2 {
    background: linear-gradient(90deg, rgba(192,192,192,0.03) 0%, transparent 55%);
}
.vlb2__row--2::before {
    background: #b8b8b8;
    box-shadow: 2px 0 10px rgba(192,192,192,0.22);
}

/* Rank 3 — bronze */
.vlb2__row--3 {
    background: linear-gradient(90deg, rgba(205,127,50,0.04) 0%, transparent 55%);
}
.vlb2__row--3::before {
    background: #cd7f32;
    box-shadow: 2px 0 10px rgba(205,127,50,0.28);
}

/* ── Cells — base ── */
.vlb2__cell {
    display: flex; align-items: center;
    padding: 0.45rem 0.25rem;
    min-width: 0;
}

/* ── Rank ── */
.vlb2__cell--rank { justify-content: center; }

/* Hexagon badge for top 3 */
.vlb2__hex {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    font-family: var(--font-display); font-size: 1rem; font-weight: 700;
    line-height: 1; flex-shrink: 0;
}
.vlb2__hex--gold {
    background: linear-gradient(160deg, #ffd700 0%, #b8860b 100%);
    color: #000;
    box-shadow: 0 0 22px rgba(255,215,0,0.32);
}
.vlb2__hex--silver {
    background: linear-gradient(160deg, #d4d4d4 0%, #787878 100%);
    color: #111;
}
.vlb2__hex--bronze {
    background: linear-gradient(160deg, #cd7f32 0%, #6b3f18 100%);
    color: #000;
}

/* Number rank (4–10) */
.vlb2__rank-num {
    font-size: 0.75rem; letter-spacing: 0.06em;
    color: rgba(255,255,255,0.25);
}

/* ── Avatar: round circle, letter via ::before, image on z-index 1 ── */
.vlb2__cell--avatar { justify-content: center; }
.vlb2__avatar {
    position: relative;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
/* Letter fallback */
.vlb2__avatar::before {
    content: attr(data-letter);
    font-family: var(--font-display); font-size: 1rem; font-weight: 700;
    position: absolute; z-index: 0; line-height: 1;
}
/* Avatar variants */
.vlb2__avatar--def {
    background: rgba(255,70,85,0.13);
    border: 1px solid rgba(255,70,85,0.22);
    color: var(--primary);
}
.vlb2__avatar--gold {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #b8860b, #ffd700);
    border: 2px solid rgba(255,215,0,0.45);
    color: #000;
    box-shadow: 0 0 20px rgba(255,215,0,0.22);
}
.vlb2__avatar--silver {
    background: linear-gradient(135deg, #585858, #c8c8c8);
    border: 1px solid rgba(192,192,192,0.32);
    color: #111;
}
.vlb2__avatar--bronze {
    background: linear-gradient(135deg, #7b4a1e, #cd7f32);
    border: 1px solid rgba(205,127,50,0.32);
    color: #000;
}
/* Img sits above letter (z-index 1); onerror hides it → letter shows */
.vlb2__avatar img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; border-radius: 50%;
    z-index: 1;
}
/* Crown above avatar for rank 1 */
.vlb2__crown {
    position: absolute; top: -13px; left: 50%;
    transform: translateX(-50%);
    font-size: 0.68rem; line-height: 1;
    z-index: 2; pointer-events: none;
}

/* ── Player cell ── */
.vlb2__cell--player {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08rem;
}
.vlb2__player-inner {
    display: flex; flex-direction: column; gap: 0.08rem;
    min-width: 0; width: 100%;
}
.vlb2__name {
    font-size: 0.86rem; font-weight: 600; color: var(--foreground);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vlb2__row--1 .vlb2__name {
    color: #ffd700; font-size: 0.93rem;
    text-shadow: 0 0 16px rgba(255,215,0,0.3);
}
.vlb2__tag {
    font-size: 0.47rem; letter-spacing: 0.1em; color: var(--muted);
}

/* Social icons */
.vlb2__socials {
    display: flex; gap: 0.28rem; margin-top: 0.14rem;
}
.vlb2__social {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px;
    opacity: 0.5; transition: opacity 0.15s; cursor: default;
}
.vlb2__social:hover { opacity: 0.9; }
.vlb2__social-svg  { width: 11px; height: 11px; display: block; }
.vlb2__social--ttv .vlb2__social-svg { fill: #9146ff; }
.vlb2__social--tw  .vlb2__social-svg { fill: rgba(255,255,255,0.75); }

/* ── Location ── */
.vlb2__cell--loc { gap: 0.4rem; }
.vlb2__flag { font-size: 0.95rem; line-height: 1; flex-shrink: 0; }
.vlb2__flag-img {
    width: 22px; height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.4);
    flex-shrink: 0;
    display: block;
}
.vlb2__flag-none {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 16px;
    color: rgba(255,255,255,0.25);
    font-size: 0.8rem; line-height: 1;
    flex-shrink: 0;
}
.vlb2__cc   { font-size: 0.55rem; letter-spacing: 0.08em; color: var(--muted); }
.vlb2__cc--none { color: rgba(255,255,255,0.15); }

/* ── 24h delta ── */
.vlb2__cell--change { justify-content: center; }
.vlb2__delta { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.03em; }
.vlb2__delta--up { color: #4caf50; }
.vlb2__delta--dn { color: var(--primary); }
.vlb2__delta--eq { color: rgba(255,255,255,0.18); font-weight: 400; }

/* ── Ranked Rating ── */
.vlb2__cell--rr {
    justify-content: center;
    align-items: baseline; gap: 0.2rem;
}
.vlb2__rr {
    font-family: var(--font-display); font-size: 1.4rem;
    color: var(--primary); line-height: 1;
}
.vlb2__row--1 .vlb2__rr {
    color: #ffd700; font-size: 1.6rem;
    text-shadow: 0 0 16px rgba(255,215,0,0.35);
}
.vlb2__rr-lbl {
    font-size: 0.43rem; letter-spacing: 0.14em; color: var(--muted);
}

/* ── Radiant rank icon — img preferred, CSS diamond fallback ── */
.vlb2__cell--ri { justify-content: center; }
.vlb2__ri {
    display: block; width: 26px; height: 26px;
    background: var(--ri) center / contain no-repeat,
                linear-gradient(135deg, #ffcc00 0%, #ff6600 55%, #ff4655 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    filter: drop-shadow(0 0 6px rgba(255,140,0,0.38));
}
.vlb2__ri-img {
    display: block; width: 26px; height: 26px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255,140,0,0.4));
}

/* ── Wins ── */
.vlb2__cell--wins {
    justify-content: center;
    align-items: baseline; gap: 0.16rem;
}
.vlb2__wins {
    font-family: var(--font-display); font-size: 1.05rem;
    color: var(--foreground); line-height: 1;
}
.vlb2__wins-lbl {
    font-size: 0.42rem; letter-spacing: 0.14em; color: var(--muted);
}

/* ── Responsive: ≤ 1024px — tighter cols ── */
@media (max-width: 1024px) {
    .vlb2__thead,
    .vlb2__row { grid-template-columns: 50px 50px 1fr 80px 54px 116px 48px 56px; }
}

/* ── Responsive: ≤ 880px — drop wins + ri columns ── */
@media (max-width: 880px) {
    .vlb2__thead,
    .vlb2__row { grid-template-columns: 48px 48px 1fr 80px 52px 110px; }
    .vlb2__th--ri, .vlb2__th--wins { display: none; }
    .vlb2__cell--ri, .vlb2__cell--wins { display: none; }
    .vlb2__hero { padding: 2rem 1.5rem 1.5rem; }
    .vlb2__hero-ring--1 { width: 240px; height: 240px; right: -70px; top: -50px; }
    .vlb2__hero-ring--2 { width: 140px; height: 140px; right: 20px;  top:  10px; }
    .vlb2__hero-icon, .vlb2__hero-icon-img { width: 56px; height: 56px; }
}

/* ── Responsive: ≤ 720px — switch to card layout ── */
@media (max-width: 720px) {
    .vlb2 { padding: 1.5rem 0 2.5rem; }
    .vlb2__container { padding: 0 1rem; }

    /* Hero compact */
    .vlb2__hero {
        flex-direction: column; align-items: flex-start;
        gap: 0.75rem; padding: 1.5rem 1rem 1.2rem;
    }
    .vlb2__hero-badge { display: none; }
    .vlb2__title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
    .vlb2__eyebrow { font-size: 0.55rem; }
    .vlb2__meta { font-size: 0.46rem; }

    /* Tab nav: switch to short labels, evenly split */
    .vlb2__tab { padding: 0.85rem 0.4rem; font-size: 0.7rem; }
    .vlb2__tab-full  { display: none; }
    .vlb2__tab-short { display: inline; letter-spacing: 0.18em; }

    /* Board: card layout */
    .vlb2__board {
        background: transparent;
        border: none;
        backdrop-filter: none;
    }
    .vlb2__thead { display: none; }
    .vlb2__panel { display: none; }
    .vlb2__panel { flex-direction: column; gap: 0.6rem; padding: 0.75rem 0; }

    /* CSS-only active panel — card mode uses flex */
    #vlb2-eu:checked ~ .vlb2__wrap .vlb2__panel--eu,
    #vlb2-na:checked ~ .vlb2__wrap .vlb2__panel--na,
    #vlb2-ap:checked ~ .vlb2__wrap .vlb2__panel--ap,
    #vlb2-kr:checked ~ .vlb2__wrap .vlb2__panel--kr { display: flex; }

    /* Row → card with 2-row grid (top: identity, bottom: stats bar) */
    .vlb2__row {
        display: grid;
        grid-template-columns: 44px 48px 1fr auto;
        grid-template-areas:
            "rank avatar player rr"
            "loc  change ri     wins";
        gap: 0.55rem 0.65rem;
        align-items: center;
        padding: 0.85rem 0.9rem;
        min-height: unset;
        border-radius: 6px;
        border: 1px solid rgba(255,255,255,0.06);
        background: rgba(10,14,20,0.65);
        backdrop-filter: blur(6px);
    }
    .vlb2__row::before {
        left: 0; top: 0; bottom: 0;
        width: 3px;
        border-radius: 6px 0 0 6px;
    }
    .vlb2__row--1 {
        border-color: rgba(255,215,0,0.22);
        background: linear-gradient(135deg, rgba(255,215,0,0.08) 0%, rgba(10,14,20,0.65) 60%);
        box-shadow: 0 0 24px rgba(255,215,0,0.07);
    }
    .vlb2__row--2 {
        border-color: rgba(192,192,192,0.14);
        background: linear-gradient(135deg, rgba(192,192,192,0.05) 0%, rgba(10,14,20,0.65) 60%);
    }
    .vlb2__row--3 {
        border-color: rgba(205,127,50,0.14);
        background: linear-gradient(135deg, rgba(205,127,50,0.05) 0%, rgba(10,14,20,0.65) 60%);
    }

    /* Top row cells */
    .vlb2__cell--rank   { grid-area: rank;   justify-content: center; padding: 0; }
    .vlb2__cell--avatar { grid-area: avatar; justify-content: center; padding: 0; }
    .vlb2__cell--player { grid-area: player; align-items: flex-start; padding: 0; min-width: 0; flex-direction: column; }
    .vlb2__cell--rr     { grid-area: rr;     padding: 0; justify-content: flex-end; }

    /* Bottom row (stats bar) */
    .vlb2__cell--loc    { grid-area: loc;    display: flex; justify-self: start;  padding: 0; }
    .vlb2__cell--change { grid-area: change; display: flex; justify-self: center; padding: 0; }
    .vlb2__cell--ri     { grid-area: ri;     display: flex; justify-self: center; padding: 0; }
    .vlb2__cell--wins   { grid-area: wins;   display: flex; justify-self: end;    padding: 0; align-items: baseline; gap: 0.18rem; }

    /* Divider above bottom row */
    .vlb2__cell--loc,
    .vlb2__cell--change,
    .vlb2__cell--ri,
    .vlb2__cell--wins {
        border-top: 1px solid rgba(255,255,255,0.06);
        padding-top: 0.55rem;
        margin-top: 0.1rem;
        min-height: 24px;
    }

    /* Component sizes */
    .vlb2__hex { width: 32px; height: 32px; font-size: 0.92rem; }
    .vlb2__avatar { width: 42px; height: 42px; }
    .vlb2__avatar--gold { width: 46px; height: 46px; }
    .vlb2__rank-num { font-size: 0.95rem; color: rgba(255,255,255,0.42); }
    .vlb2__name { font-size: 0.92rem; }
    .vlb2__row--1 .vlb2__name { font-size: 0.96rem; }
    .vlb2__tag  { font-size: 0.5rem; }
    .vlb2__rr   { font-size: 1.3rem; }
    .vlb2__row--1 .vlb2__rr { font-size: 1.4rem; }
    .vlb2__rr-lbl { font-size: 0.42rem; }
    .vlb2__ri-img, .vlb2__ri { width: 22px; height: 22px; }
    .vlb2__wins { font-size: 0.98rem; }
}

/* ── Responsive: ≤ 480px — tighter card ── */
@media (max-width: 480px) {
    .vlb2__row {
        grid-template-columns: 38px 40px 1fr auto;
        gap: 0.4rem 0.6rem;
        padding: 0.75rem 0.75rem;
    }
    .vlb2__hex   { width: 28px; height: 28px; font-size: 0.82rem; }
    .vlb2__avatar { width: 36px; height: 36px; }
    .vlb2__avatar--gold { width: 40px; height: 40px; }
    .vlb2__avatar::before { font-size: 0.9rem; }
    .vlb2__crown { font-size: 0.6rem; top: -10px; }
    .vlb2__name { font-size: 0.85rem; }
    .vlb2__row--1 .vlb2__name { font-size: 0.9rem; }
    .vlb2__tag  { font-size: 0.46rem; }
    .vlb2__rr   { font-size: 1.1rem; }
    .vlb2__row--1 .vlb2__rr { font-size: 1.2rem; }
    .vlb2__flag-img { width: 18px; height: 13px; }
    .vlb2__cc   { font-size: 0.5rem; }
    .vlb2__delta { font-size: 0.6rem; }
    .vlb2__ri-img, .vlb2__ri { width: 20px; height: 20px; }
    .vlb2__wins { font-size: 0.88rem; }
    .vlb2__tab  { font-size: 0.65rem; padding: 0.75rem 0.3rem; }
}

/* ── Responsive: ≤ 360px — squeeze a bit more ── */
@media (max-width: 360px) {
    .vlb2__cell--change { margin-left: 0.45rem; }
    .vlb2__cell--wins   { margin-left: 0.5rem; }
    .vlb2__rr   { font-size: 1rem; }
    .vlb2__row--1 .vlb2__rr { font-size: 1.1rem; }
    .vlb2__title { font-size: 1.4rem; }
}

/* ============================================================
   VLB2 ENHANCEMENT v2 — brighter colors, animated medals,
   row glow, tighter mobile cards
   ============================================================ */

/* Title accent — animated gradient + clean rendering */
.vlb2__title em {
    display: inline-block;
    padding: 0 0.2em 0.05em 0;
    background: linear-gradient(90deg, #ff4655 0%, #ff8a99 30%, #ffd700 50%, #ff8a99 70%, #ff4655 100%) !important;
    background-size: 200% 100%;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    animation: vlb2-grad-shift 6s ease-in-out infinite;
    text-shadow: none !important;
    font-style: normal !important;
}
@keyframes vlb2-grad-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* Section ambient bloom */
.vlb2 { position: relative; overflow: hidden; }
.vlb2::before {
    content: '';
    position: absolute;
    inset: -40px 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 60% 60% at 25% 30%, rgba(255,70,85,0.10) 0%, transparent 65%),
        radial-gradient(ellipse 50% 55% at 80% 75%, rgba(255,215,0,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.vlb2 > * { position: relative; z-index: 1; }

/* Hero badge — radiant icon pulse */
@keyframes vlb2-hero-pulse {
    0%, 100% { filter: drop-shadow(0 0 18px rgba(255,140,0,0.45)); transform: scale(1); }
    50%      { filter: drop-shadow(0 0 32px rgba(255,140,0,0.85)); transform: scale(1.05); }
}
.vlb2__hero-icon-img { animation: vlb2-hero-pulse 3.5s ease-in-out infinite; }

/* Tab nav — bolder active state with glow */
.vlb2__tab {
    font-weight: 700 !important;
    letter-spacing: 0.22em !important;
    transition: color 0.2s, border-color 0.2s, background 0.2s !important;
}
.vlb2__tab:hover {
    background: rgba(255,255,255,0.04);
}
#vlb2-eu:checked ~ .vlb2__wrap label[for="vlb2-eu"],
#vlb2-na:checked ~ .vlb2__wrap label[for="vlb2-na"],
#vlb2-ap:checked ~ .vlb2__wrap label[for="vlb2-ap"],
#vlb2-kr:checked ~ .vlb2__wrap label[for="vlb2-kr"] {
    background: linear-gradient(180deg, rgba(255,70,85,0.18) 0%, rgba(255,70,85,0.02) 100%) !important;
    color: #fff !important;
    text-shadow: 0 0 12px rgba(255,70,85,0.5);
    border-bottom-color: var(--primary) !important;
    box-shadow: inset 0 -3px 0 0 var(--primary);
}

/* Board — backdrop + soft inner glow */
.vlb2__board {
    background: linear-gradient(180deg, rgba(4,8,14,0.85) 0%, rgba(2,5,10,0.92) 100%) !important;
    box-shadow:
        0 0 0 1px rgba(255,70,85,0.04) inset,
        0 16px 40px -10px rgba(0,0,0,0.6) !important;
}

/* Rank 1 — gold polish */
.vlb2__row--1 {
    background: linear-gradient(90deg,
        rgba(255,215,0,0.10) 0%,
        rgba(255,140,0,0.04) 40%,
        transparent 75%) !important;
    box-shadow: inset 0 0 36px -8px rgba(255,215,0,0.18) !important;
}
.vlb2__row--1::before {
    background: linear-gradient(180deg, #ffd700, #ff9900) !important;
    box-shadow: 2px 0 22px rgba(255,215,0,0.6), 0 0 12px rgba(255,215,0,0.4) !important;
    width: 3px !important;
    animation: vlb2-gold-pulse 2.5s ease-in-out infinite;
}
@keyframes vlb2-gold-pulse {
    0%, 100% { box-shadow: 2px 0 16px rgba(255,215,0,0.45), 0 0 8px rgba(255,215,0,0.3); }
    50%      { box-shadow: 2px 0 28px rgba(255,215,0,0.85), 0 0 18px rgba(255,215,0,0.55); }
}

/* Rank 2 / 3 — extra polish */
.vlb2__row--2::before {
    background: linear-gradient(180deg, #e0e0e0, #888) !important;
    box-shadow: 2px 0 14px rgba(192,192,192,0.4) !important;
}
.vlb2__row--3::before {
    background: linear-gradient(180deg, #ff9966, #cd7f32) !important;
    box-shadow: 2px 0 14px rgba(205,127,50,0.45) !important;
}

/* Hex medals — glow + scale on hover */
.vlb2__hex {
    transition: transform 0.25s, filter 0.25s !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.vlb2__row:hover .vlb2__hex {
    transform: scale(1.12);
}
.vlb2__hex--gold {
    filter: drop-shadow(0 0 12px rgba(255,215,0,0.55));
    animation: vlb2-medal-shimmer 3s ease-in-out infinite;
}
@keyframes vlb2-medal-shimmer {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255,215,0,0.5)); }
    50%      { filter: drop-shadow(0 0 20px rgba(255,215,0,0.85)); }
}
.vlb2__hex--silver { filter: drop-shadow(0 0 8px rgba(192,192,192,0.45)); }
.vlb2__hex--bronze { filter: drop-shadow(0 0 8px rgba(205,127,50,0.5)); }

/* Avatar — sharper border + hover halo */
.vlb2__avatar {
    box-shadow: 0 0 0 1px rgba(0,0,0,0.5) inset, 0 4px 12px rgba(0,0,0,0.45) !important;
    transition: transform 0.22s, box-shadow 0.22s !important;
}
.vlb2__row:hover .vlb2__avatar {
    transform: scale(1.08);
}
.vlb2__row--1 .vlb2__avatar {
    box-shadow:
        0 0 0 2px rgba(255,215,0,0.45),
        0 0 22px rgba(255,215,0,0.55),
        0 4px 14px rgba(0,0,0,0.5) !important;
}

/* Crown — golden glow */
.vlb2__crown {
    filter: drop-shadow(0 0 8px rgba(255,215,0,0.8));
}

/* Row hover — accent left rail */
.vlb2__row {
    transition: background 0.2s, box-shadow 0.2s !important;
}
.vlb2__row:hover {
    background: linear-gradient(90deg, rgba(255,70,85,0.06) 0%, transparent 60%) !important;
    box-shadow: inset 3px 0 0 0 var(--primary);
}
.vlb2__row--1:hover {
    background: linear-gradient(90deg, rgba(255,215,0,0.14) 0%, transparent 65%) !important;
    box-shadow: inset 3px 0 0 0 #ffd700;
}

/* Player name — accent shadow on top 3 */
.vlb2__row--2 .vlb2__name {
    color: #d8d8d8 !important;
    text-shadow: 0 0 8px rgba(192,192,192,0.4);
}
.vlb2__row--3 .vlb2__name {
    color: #ffaa77 !important;
    text-shadow: 0 0 8px rgba(205,127,50,0.45);
}

/* Tag — subtle */
.vlb2__tag {
    color: rgba(255,255,255,0.35) !important;
}

/* RR value — punchier numbers */
.vlb2__rr {
    text-shadow: 0 0 10px rgba(255,70,85,0.4);
    transition: color 0.25s, text-shadow 0.25s;
}
.vlb2__row:hover .vlb2__rr {
    text-shadow: 0 0 18px rgba(255,70,85,0.65);
}

/* Flag image — slight shine */
.vlb2__flag-img {
    box-shadow: 0 0 0 1px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}
.vlb2__row:hover .vlb2__flag-img { transform: scale(1.1); }

/* Delta — punchier color + glow */
.vlb2__delta--up {
    color: #4caf50 !important;
    text-shadow: 0 0 10px rgba(76,175,80,0.5);
    font-weight: 800 !important;
}
.vlb2__delta--dn {
    color: var(--primary) !important;
    text-shadow: 0 0 10px rgba(255,70,85,0.5);
    font-weight: 800 !important;
}

/* Radiant rank icon — animated halo */
.vlb2__ri-img {
    filter: drop-shadow(0 0 8px rgba(255,140,0,0.55));
    transition: transform 0.25s, filter 0.25s;
}
.vlb2__row:hover .vlb2__ri-img {
    transform: scale(1.15);
    filter: drop-shadow(0 0 16px rgba(255,140,0,0.85));
}

/* Wins — clean tabular */
.vlb2__wins {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255,255,255,0.2);
}

/* ── Mobile responsive — true card layout ≤ 640px ── */
@media (max-width: 640px) {
    /* Switch grid → card flex */
    .vlb2__thead { display: none !important; }
    .vlb2__row {
        display: grid !important;
        grid-template-columns: 40px 44px 1fr auto !important;
        grid-template-areas:
            "rank avatar player rr"
            "rank avatar meta   wins" !important;
        gap: 0.25rem 0.55rem !important;
        padding: 0.7rem 0.85rem !important;
        min-height: 70px !important;
        align-items: center !important;
    }
    .vlb2__cell--rank   { grid-area: rank;   justify-self: center; }
    .vlb2__cell--avatar { grid-area: avatar; justify-self: center; }
    .vlb2__cell--player { grid-area: player; flex-direction: column; align-items: flex-start; min-width: 0; }
    .vlb2__cell--rr     { grid-area: rr;     justify-self: end; }
    .vlb2__cell--wins   { grid-area: wins;   justify-self: end; display: flex !important; align-items: baseline; gap: 0.18rem; }

    /* Combine loc + change + ri into "meta" row below player */
    .vlb2__cell--loc,
    .vlb2__cell--change,
    .vlb2__cell--ri {
        display: inline-flex !important;
        grid-area: meta !important;
        margin-right: 0.5rem;
        align-items: center;
    }

    .vlb2__name { font-size: 0.8rem !important; }
    .vlb2__row--1 .vlb2__name { font-size: 0.88rem !important; }
    .vlb2__tag { font-size: 0.5rem !important; }
    .vlb2__rr  { font-size: 1.1rem !important; }
    .vlb2__row--1 .vlb2__rr { font-size: 1.25rem !important; }
    .vlb2__rr-lbl { font-size: 0.4rem; }
    .vlb2__wins { font-size: 0.85rem !important; }
    .vlb2__wins-lbl { display: none; }
    .vlb2__hex { width: 32px !important; height: 32px !important; font-size: 0.85rem !important; }
    .vlb2__avatar { width: 38px !important; height: 38px !important; }
    .vlb2__avatar--gold { width: 42px !important; height: 42px !important; }

    /* Tabs more compact + scrollable */
    .vlb2__nav {
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .vlb2__nav::-webkit-scrollbar { display: none; }
    .vlb2__tab {
        flex: 0 0 auto !important;
        padding: 0.65rem 0.9rem !important;
        font-size: 0.58rem !important;
    }

    .vlb2__hero { padding: 1.25rem 1rem 1rem !important; }
    .vlb2__title { font-size: 1.6rem !important; }
}

@media (prefers-reduced-motion: reduce) {
    .vlb2__title em,
    .vlb2__hero-icon-img,
    .vlb2__row--1::before,
    .vlb2__hex--gold { animation: none !important; }
}

/* ============================================================
   VMAP — ACTIVE MAP POOL GALLERY v1.0
   BEM prefix: vmap__
   ============================================================ */

.vmap {
    position: relative;
    padding: 3rem 0 5rem;
    overflow: hidden;
}

/* Background */
.vmap__bg {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.vmap__bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,70,85,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,70,85,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 80%);
}
.vmap__bg-glow {
    position: absolute;
    width: 700px; height: 500px;
    background: rgba(255,70,85,0.05);
    border-radius: 50%;
    filter: blur(120px);
    top: -100px; left: 50%; transform: translateX(-50%);
}

.vmap__container {
    position: relative; z-index: 1;
    max-width: 1280px; margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.vmap__header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}
.vmap__eyebrow {
    font-size: 0.6rem; letter-spacing: 0.22em;
    color: var(--muted); margin-bottom: 0.6rem;
}
.vmap__title {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    letter-spacing: 0.04em; line-height: 1;
    margin-bottom: 0.5rem;
}
.vmap__title em {
    font-style: normal; color: var(--primary);
    text-shadow: 0 0 32px rgba(255,70,85,0.4);
}
.vmap__sub {
    font-size: 0.55rem; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.4);
}

/* Grid: 4 cols × 3 rows (12 cards), featured spans 2 cols × 2 rows */
.vmap__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
}

/* Card */
.vmap__card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,70,85,0.1);
    background: rgba(8,12,18,0.6);
    transition: transform 0.28s ease, border-color 0.28s, box-shadow 0.28s;
    cursor: pointer;
    clip-path: polygon(
        12px 0,
        100% 0,
        100% calc(100% - 12px),
        calc(100% - 12px) 100%,
        0 100%,
        0 12px
    );
}
.vmap__card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,70,85,0.4);
    box-shadow: 0 12px 36px rgba(0,0,0,0.5),
                0 0 32px rgba(255,70,85,0.18);
}
.vmap__card--featured {
    grid-column: span 2;
    grid-row: span 2;
}

/* Image */
.vmap__img-wrap {
    position: absolute; inset: 0;
    overflow: hidden;
}
.vmap__img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s;
    filter: brightness(0.78) saturate(1.05);
}
.vmap__card:hover .vmap__img {
    transform: scale(1.06);
    filter: brightness(0.92) saturate(1.15);
}
.vmap__img-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(255,70,85,0.15), rgba(0,0,0,0.4));
    font-family: var(--font-display); font-size: 3rem;
    color: rgba(255,70,85,0.3);
    letter-spacing: 0.1em;
}

/* Overlay gradient */
.vmap__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8,12,18,0.0) 0%,
        rgba(8,12,18,0.0) 40%,
        rgba(8,12,18,0.65) 75%,
        rgba(8,12,18,0.92) 100%
    );
    pointer-events: none;
}

/* "NEW" badge for featured */
.vmap__badge {
    position: absolute; top: 14px; right: 14px;
    padding: 0.3rem 0.65rem;
    background: var(--primary);
    color: #000;
    font-size: 0.55rem; letter-spacing: 0.18em; font-weight: 700;
    z-index: 3;
    clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
    box-shadow: 0 0 20px rgba(255,70,85,0.5);
}

/* Body (bottom info) */
.vmap__body {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1rem 1.2rem 1.1rem;
    z-index: 2;
}
.vmap__name {
    font-size: 1.4rem; letter-spacing: 0.06em; line-height: 1;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.7);
    margin-bottom: 0.4rem;
}
.vmap__card--featured .vmap__name {
    font-size: 2.4rem;
    text-shadow: 0 2px 18px rgba(0,0,0,0.8), 0 0 32px rgba(255,70,85,0.2);
}
.vmap__meta {
    display: flex; align-items: center; gap: 0.45rem;
    font-size: 0.5rem; letter-spacing: 0.15em;
    color: rgba(255,255,255,0.7);
}
.vmap__loc {
    display: inline-flex; align-items: center; gap: 0.25rem;
}
.vmap__icon {
    width: 9px; height: 9px;
    fill: var(--primary);
    flex-shrink: 0;
}
.vmap__sep { color: rgba(255,255,255,0.25); }
.vmap__year, .vmap__sites { color: rgba(255,255,255,0.55); }

/* Tactical corner brackets */
.vmap__corner {
    position: absolute;
    width: 14px; height: 14px;
    border: 2px solid var(--primary);
    z-index: 4;
    opacity: 0;
    transition: opacity 0.25s;
}
.vmap__corner--tl { top: 8px; left: 8px;  border-right: none; border-bottom: none; }
.vmap__corner--tr { top: 8px; right: 8px; border-left: none;  border-bottom: none; }
.vmap__corner--bl { bottom: 8px; left: 8px;  border-right: none; border-top: none; }
.vmap__corner--br { bottom: 8px; right: 8px; border-left: none;  border-top: none; }
.vmap__card:hover .vmap__corner { opacity: 0.85; }

/* ── Responsive: 3-col at ≤ 1100px ── */
@media (max-width: 1100px) {
    .vmap__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
    .vmap__card--featured { grid-column: span 2; grid-row: span 2; }
}

/* ── Responsive: 2-col at ≤ 760px ── */
@media (max-width: 760px) {
    .vmap { padding: 2rem 0 3rem; }
    .vmap__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 0.75rem; }
    .vmap__card--featured { grid-column: span 2; grid-row: span 1; grid-auto-rows: 220px; }
    .vmap__card--featured .vmap__name { font-size: 1.9rem; }
    .vmap__name { font-size: 1.15rem; }
    .vmap__body { padding: 0.8rem 0.9rem 0.85rem; }
    .vmap__header { margin-bottom: 1.5rem; }
}

/* ── Responsive: 1-col at ≤ 460px ── */
@media (max-width: 460px) {
    .vmap__grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
    .vmap__card--featured { grid-column: span 1; grid-row: span 1; grid-auto-rows: 220px; }
    .vmap__card--featured .vmap__name { font-size: 1.7rem; }
}

/* ============================================================
   VAGN — AGENT ROSTER v1.0
   BEM prefix: vagn__
   CSS-only role filter via radio + ~ sibling selector
   ============================================================ */

/* Role color palette */
:root {
    --vagn-duelist:    #ff4655;
    --vagn-sentinel:   #4caf50;
    --vagn-controller: #b46cff;
    --vagn-initiator:  #ffc740;
}

.vagn__radio { display: none; }

.vagn {
    position: relative;
    padding: 3rem 0 5rem;
    overflow: hidden;
}

/* Background */
.vagn__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.vagn__bg-glow {
    position: absolute; border-radius: 50%;
    filter: blur(110px); opacity: 0.6;
}
.vagn__bg-glow--1 {
    width: 600px; height: 400px;
    background: rgba(255,70,85,0.05);
    top: -80px; left: -100px;
}
.vagn__bg-glow--2 {
    width: 520px; height: 380px;
    background: rgba(180,108,255,0.04);
    bottom: -60px; right: -80px;
}

.vagn__wrap { position: relative; z-index: 1; }

.vagn__container {
    max-width: 1280px; margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.vagn__header {
    text-align: center;
    margin-bottom: 1.8rem;
}
.vagn__eyebrow {
    font-size: 0.6rem; letter-spacing: 0.22em;
    color: var(--muted); margin-bottom: 0.6rem;
}
.vagn__title {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    letter-spacing: 0.04em; line-height: 1;
    margin-bottom: 0.5rem;
}
.vagn__title em {
    font-style: normal; color: var(--primary);
    text-shadow: 0 0 32px rgba(255,70,85,0.4);
}
.vagn__sub {
    font-size: 0.55rem; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.4);
}

/* Filter pills */
.vagn__pills {
    display: flex; flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.vagn__pill {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.6rem; letter-spacing: 0.18em;
    color: var(--muted);
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.vagn__pill:hover { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.15); }
.vagn__pill-count {
    font-size: 0.5rem; padding: 0.1rem 0.35rem;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.04em;
}
.vagn__pill-short { display: none; }

/* Active pill (CSS-only via :checked) */
#vagn-all:checked ~ .vagn__wrap label[for="vagn-all"] {
    color: #fff; border-color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.05);
}
#vagn-duelist:checked ~ .vagn__wrap label[for="vagn-duelist"] {
    color: #fff; border-color: var(--vagn-duelist);
    background: rgba(255,70,85,0.12);
}
#vagn-sentinel:checked ~ .vagn__wrap label[for="vagn-sentinel"] {
    color: #fff; border-color: var(--vagn-sentinel);
    background: rgba(76,175,80,0.12);
}
#vagn-controller:checked ~ .vagn__wrap label[for="vagn-controller"] {
    color: #fff; border-color: var(--vagn-controller);
    background: rgba(180,108,255,0.12);
}
#vagn-initiator:checked ~ .vagn__wrap label[for="vagn-initiator"] {
    color: #fff; border-color: var(--vagn-initiator);
    background: rgba(255,199,64,0.12);
}

/* Grid */
.vagn__grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.65rem;
}

/* Card visibility via CSS-only filter */
.vagn__card { display: none; }
#vagn-all:checked        ~ .vagn__wrap .vagn__card { display: flex; }
#vagn-duelist:checked    ~ .vagn__wrap .vagn__card--duelist { display: flex; }
#vagn-sentinel:checked   ~ .vagn__wrap .vagn__card--sentinel { display: flex; }
#vagn-controller:checked ~ .vagn__wrap .vagn__card--controller { display: flex; }
#vagn-initiator:checked  ~ .vagn__wrap .vagn__card--initiator { display: flex; }

/* Card */
.vagn__card {
    position: relative;
    flex-direction: column;
    overflow: hidden;
    background: rgba(8,12,18,0.65);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    cursor: pointer;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.vagn__card:hover {
    transform: translateY(-3px);
}
.vagn__card--duelist:hover    { border-color: var(--vagn-duelist);    box-shadow: 0 8px 24px rgba(255,70,85,0.25); }
.vagn__card--sentinel:hover   { border-color: var(--vagn-sentinel);   box-shadow: 0 8px 24px rgba(76,175,80,0.25); }
.vagn__card--controller:hover { border-color: var(--vagn-controller); box-shadow: 0 8px 24px rgba(180,108,255,0.25); }
.vagn__card--initiator:hover  { border-color: var(--vagn-initiator);  box-shadow: 0 8px 24px rgba(255,199,64,0.25); }

/* Image */
.vagn__img-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.vagn__img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    transition: transform 0.35s, filter 0.35s;
    filter: brightness(0.92) saturate(1.05);
    display: block;
}
.vagn__card:hover .vagn__img {
    transform: scale(1.08);
    filter: brightness(1.05) saturate(1.2);
}
.vagn__img-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(255,70,85,0.18), rgba(0,0,0,0.6));
    font-family: var(--font-display); font-size: 2.5rem;
    color: rgba(255,70,85,0.5);
}
.vagn__img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(8,12,18,0.85) 100%);
    pointer-events: none;
}

/* Role accent stripe */
.vagn__card--duelist    .vagn__img-wrap::after { background: var(--vagn-duelist); }
.vagn__card--sentinel   .vagn__img-wrap::after { background: var(--vagn-sentinel); }
.vagn__card--controller .vagn__img-wrap::after { background: var(--vagn-controller); }
.vagn__card--initiator  .vagn__img-wrap::after { background: var(--vagn-initiator); }
.vagn__card .vagn__img-wrap::after {
    content: ''; position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px; opacity: 0.85;
}

/* Info bar */
.vagn__info {
    padding: 0.55rem 0.6rem 0.65rem;
    display: flex; flex-direction: column; gap: 0.15rem;
}
.vagn__name {
    font-size: 0.78rem; letter-spacing: 0.06em; line-height: 1;
    color: #fff;
}
.vagn__role {
    font-size: 0.46rem; letter-spacing: 0.16em;
    color: var(--muted);
    text-transform: uppercase;
}
.vagn__card--duelist    .vagn__role { color: var(--vagn-duelist); }
.vagn__card--sentinel   .vagn__role { color: var(--vagn-sentinel); }
.vagn__card--controller .vagn__role { color: var(--vagn-controller); }
.vagn__card--initiator  .vagn__role { color: var(--vagn-initiator); }

/* Corner brackets */
.vagn__corner {
    position: absolute; width: 10px; height: 10px;
    border: 2px solid currentColor;
    opacity: 0; transition: opacity 0.25s;
}
.vagn__card--duelist    .vagn__corner { color: var(--vagn-duelist); }
.vagn__card--sentinel   .vagn__corner { color: var(--vagn-sentinel); }
.vagn__card--controller .vagn__corner { color: var(--vagn-controller); }
.vagn__card--initiator  .vagn__corner { color: var(--vagn-initiator); }
.vagn__corner--tl { top: 6px; left: 6px;  border-right: none; border-bottom: none; }
.vagn__corner--br { bottom: 6px; right: 6px; border-left: none; border-top: none; }
.vagn__card:hover .vagn__corner { opacity: 0.9; }

/* ── Responsive ── */
@media (max-width: 1100px) {
    .vagn__grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 820px) {
    .vagn__grid { grid-template-columns: repeat(5, 1fr); }
    .vagn__name { font-size: 0.72rem; }
}
@media (max-width: 640px) {
    .vagn__grid { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
    .vagn__pill { padding: 0.5rem 0.7rem; font-size: 0.55rem; letter-spacing: 0.14em; }
    .vagn__pill-label { display: none; }
    .vagn__pill-short { display: inline; }
}
@media (max-width: 420px) {
    .vagn__grid { grid-template-columns: repeat(3, 1fr); }
    .vagn__name { font-size: 0.68rem; }
    .vagn__role { font-size: 0.42rem; }
    .vagn__info { padding: 0.45rem 0.5rem 0.55rem; }
}

/* ============================================================
   VSK — SIGNATURE WEAPON BUNDLES v2.0 — MEGA-PREMIUM
   BEM prefix: vsk__
   Horizontal scroll-snap carousel with per-tier theming,
   diagonal weapon shine, idle float and pulsing legendary ring.
   Pure CSS, GPU-friendly, reduced-motion aware.
   ============================================================ */

:root {
    --vsk-standard:  #999999;
    --vsk-premium:   #ff4655;
    --vsk-exclusive: #ffaa00;
    --vsk-ultra:     #ff66ff;
}

.vsk {
    position: relative;
    padding: 3rem 0 4rem;
    overflow: hidden;
}

.vsk__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.vsk__bg-glow {
    position: absolute;
    width: 800px; height: 500px;
    background: rgba(255,170,0,0.04);
    border-radius: 50%;
    filter: blur(120px);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
}

.vsk__container {
    position: relative; z-index: 1;
    max-width: 1280px; margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.vsk__header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}
.vsk__eyebrow {
    font-size: 0.6rem; letter-spacing: 0.22em;
    color: var(--muted); margin-bottom: 0.5rem;
}
.vsk__title {
    font-size: clamp(1.7rem, 4.5vw, 2.8rem);
    letter-spacing: 0.04em; line-height: 1;
}
.vsk__title em {
    font-style: normal; color: var(--primary);
    text-shadow: 0 0 32px rgba(255,70,85,0.4);
}
.vsk__hint {
    font-size: 0.55rem; letter-spacing: 0.2em;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
}

/* Track */
.vsk__track-wrap {
    position: relative;
    margin: 0 -1.5rem;
}
.vsk__track-wrap::before,
.vsk__track-wrap::after {
    content: ''; position: absolute;
    top: 0; bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}
.vsk__track-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--background) 0%, transparent 100%);
}
.vsk__track-wrap::after {
    right: 0;
    background: linear-gradient(-90deg, var(--background) 0%, transparent 100%);
}
.vsk__track {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem 1.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,70,85,0.3) transparent;
}
.vsk__track::-webkit-scrollbar { height: 6px; }
.vsk__track::-webkit-scrollbar-track { background: transparent; }
.vsk__track::-webkit-scrollbar-thumb {
    background: rgba(255,70,85,0.3);
    border-radius: 3px;
}
.vsk__track::-webkit-scrollbar-thumb:hover { background: rgba(255,70,85,0.5); }

/* ── Per-tier theming via --tc (drives border, glow, accents) ── */
.vsk__card[data-tier="legendary"] { --tc: #ffcc00; }
.vsk__card[data-tier="premium"]   { --tc: #ff4655; }
.vsk__card[data-tier="standard"]  { --tc: #88c0d0; }

/* Card */
.vsk__card {
    --tc: #88c0d0;
    position: relative;
    flex: 0 0 340px;
    scroll-snap-align: start;
    overflow: hidden;
    background: rgba(8,12,18,0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid color-mix(in srgb, var(--tc) 18%, rgba(255,255,255,0.06));
    transition:
        transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
        border-color 0.3s,
        box-shadow 0.3s,
        background 0.3s;
    cursor: pointer;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    will-change: transform;
}

/* Legendary tier — slightly larger, dramatic by default */
.vsk__card[data-tier="legendary"] {
    flex: 0 0 360px;
    border-color: color-mix(in srgb, var(--tc) 32%, transparent);
    box-shadow:
        0 8px 22px rgba(0,0,0,0.45),
        0 0 0 1px color-mix(in srgb, var(--tc) 18%, transparent);
}

/* Hover — overrides idle float via animation-play-state */
.vsk__card:hover {
    transform: translateY(-6px);
    border-color: var(--tc);
    background: rgba(12,18,28,0.78);
    box-shadow:
        0 18px 44px rgba(0,0,0,0.6),
        0 0 28px color-mix(in srgb, var(--tc) 35%, transparent),
        0 0 0 1px color-mix(in srgb, var(--tc) 45%, transparent);
}
.vsk__card[data-tier="legendary"]:hover {
    transform: translateY(-8px);
    box-shadow:
        0 22px 52px rgba(0,0,0,0.65),
        0 0 38px color-mix(in srgb, var(--tc) 55%, transparent),
        0 0 0 1px var(--tc);
}

/* Legacy modifier hovers — kept for backwards compatibility */
.vsk__card--standard:hover  { border-color: var(--vsk-standard);  }
.vsk__card--premium:hover   { border-color: var(--vsk-premium);   box-shadow: 0 14px 36px rgba(255,70,85,0.22); }
.vsk__card--exclusive:hover { border-color: var(--vsk-exclusive); box-shadow: 0 14px 36px rgba(255,170,0,0.22); }
.vsk__card--ultra:hover     { border-color: var(--vsk-ultra);     box-shadow: 0 14px 36px rgba(255,102,255,0.25); }

/* Image */
.vsk__img-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.vsk__img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.45s;
    filter: brightness(0.85) saturate(1.05);
}
.vsk__card:hover .vsk__img {
    transform: scale(1.08);
    filter: brightness(1.15) saturate(1.25);
}
.vsk__img-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(255,70,85,0.18), rgba(0,0,0,0.6));
    font-family: var(--font-display); font-size: 3rem;
    color: rgba(255,70,85,0.4);
}
.vsk__img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(8,12,18,0.7) 100%);
    pointer-events: none;
    z-index: 1;
}

/* ── Diagonal weapon-inspect shine sweep ── */
.vsk__shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255,255,255,0.25) 50%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 2;
    transition: left 0.9s cubic-bezier(0.25, 0.8, 0.3, 1);
    will-change: transform;
    mix-blend-mode: screen;
}
.vsk__card:hover .vsk__shine {
    left: 100%;
}

/* Rarity badge */
.vsk__rarity {
    position: absolute; top: 10px; right: 10px;
    padding: 0.25rem 0.5rem;
    font-size: 0.5rem; letter-spacing: 0.18em; font-weight: 700;
    color: #000;
    z-index: 3;
    clip-path: polygon(5px 0, 100% 0, 100% 100%, 0 100%, 0 5px);
}
.vsk__card--standard  .vsk__rarity { background: var(--vsk-standard);  color: #fff; }
.vsk__card--premium   .vsk__rarity { background: var(--vsk-premium);   color: #fff; box-shadow: 0 0 14px rgba(255,70,85,0.5); }
.vsk__card--exclusive .vsk__rarity { background: var(--vsk-exclusive); color: #000; box-shadow: 0 0 14px rgba(255,170,0,0.55); }
.vsk__card--ultra     .vsk__rarity { background: var(--vsk-ultra);     color: #fff; box-shadow: 0 0 16px rgba(255,102,255,0.6); }

/* Body */
.vsk__body {
    padding: 0.85rem 1rem 1rem;
    display: flex; flex-direction: column; gap: 0.3rem;
}
.vsk__name {
    font-size: 1.05rem; letter-spacing: 0.05em; line-height: 1;
    color: #fff;
    transition: text-shadow 0.3s, color 0.3s;
}
.vsk__card:hover .vsk__name {
    text-shadow:
        0 0 12px color-mix(in srgb, var(--tc) 55%, transparent),
        0 0 24px color-mix(in srgb, var(--tc) 25%, transparent);
}
.vsk__meta {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.5rem; letter-spacing: 0.16em;
}
.vsk__tag {
    color: var(--primary);
    background: rgba(255,70,85,0.1);
    padding: 0.2rem 0.4rem;
    border: 1px solid rgba(255,70,85,0.25);
}
.vsk__card--exclusive .vsk__tag {
    color: var(--vsk-exclusive);
    background: rgba(255,170,0,0.1);
    border-color: rgba(255,170,0,0.3);
}
.vsk__card--ultra .vsk__tag {
    color: var(--vsk-ultra);
    background: rgba(255,102,255,0.1);
    border-color: rgba(255,102,255,0.3);
}
.vsk__sep { color: rgba(255,255,255,0.2); }
.vsk__year { color: rgba(255,255,255,0.45); }

/* Corner brackets — themed by --tc */
.vsk__corner {
    position: absolute; width: 12px; height: 12px;
    border: 2px solid var(--tc);
    opacity: 0; transition: opacity 0.25s;
    z-index: 4;
}
.vsk__corner--tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.vsk__corner--br { bottom: 8px; right: 8px; border-left: none; border-top: none; }
.vsk__card:hover .vsk__corner { opacity: 0.95; }

/* ── Motion: idle float + legendary pulsing ring ── */
@keyframes vsk-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
}
@keyframes vsk-pulse-glow {
    0%, 100% {
        box-shadow:
            0 8px 22px rgba(0,0,0,0.45),
            0 0 0 1px color-mix(in srgb, var(--tc) 22%, transparent),
            0 0 18px color-mix(in srgb, var(--tc) 18%, transparent);
    }
    50% {
        box-shadow:
            0 8px 22px rgba(0,0,0,0.45),
            0 0 0 2px color-mix(in srgb, var(--tc) 42%, transparent),
            0 0 32px color-mix(in srgb, var(--tc) 38%, transparent);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .vsk__card {
        animation: vsk-float 4s ease-in-out infinite;
    }
    .vsk__card:nth-child(odd)  { animation-delay: 0s; }
    .vsk__card:nth-child(even) { animation-delay: 2s; }

    /* Pause float on hover so explicit hover-transform wins cleanly */
    .vsk__card:hover {
        animation-play-state: paused;
    }

    .vsk__card[data-tier="legendary"] {
        animation:
            vsk-float 4s ease-in-out infinite,
            vsk-pulse-glow 3.2s ease-in-out infinite;
    }
    .vsk__card[data-tier="legendary"]:hover {
        animation-play-state: paused, paused;
    }
}

/* ── Responsive ── */
@media (max-width: 720px) {
    .vsk { padding: 2rem 0 3rem; }
    .vsk__card,
    .vsk__card[data-tier="legendary"] { flex: 0 0 280px; }
    .vsk__name { font-size: 0.95rem; }
    .vsk__header { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
}
@media (max-width: 480px) {
    .vsk__card,
    .vsk__card[data-tier="legendary"] { flex: 0 0 240px; }
    .vsk__name { font-size: 0.88rem; }
    .vsk__body { padding: 0.7rem 0.85rem 0.85rem; }
    .vsk__track { padding: 0.75rem 1rem 1.25rem; gap: 0.75rem; }
}

/* ============================================================
   VTM — VCT 2026 TOP 10 PRO TEAMS v2.0
   BEM prefix: vtm__
   Compact single-column ranked list with per-team brand color via --c
   ============================================================ */

.vtm {
    position: relative;
    padding: 3rem 0 4rem;
    overflow: hidden;
}

.vtm__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.vtm__bg-glow {
    position: absolute;
    width: 600px; height: 400px;
    background: rgba(255,70,85,0.04);
    border-radius: 50%;
    filter: blur(120px);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
}

.vtm__container {
    position: relative; z-index: 1;
    max-width: 900px; margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.vtm__header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.vtm__eyebrow {
    font-size: 0.6rem; letter-spacing: 0.22em;
    color: var(--muted); margin-bottom: 0.5rem;
}
.vtm__title {
    font-size: clamp(1.7rem, 4.5vw, 2.8rem);
    letter-spacing: 0.04em; line-height: 1;
    margin-bottom: 0.4rem;
}
.vtm__title em {
    font-style: normal; color: var(--primary);
    text-shadow: 0 0 32px rgba(255,70,85,0.4);
}
.vtm__sub {
    font-size: 0.55rem; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.4);
}

/* List */
.vtm__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    counter-reset: vtm-rank;
}

/* Row item */
.vtm__item {
    --c: #ff4655;
    position: relative;
    display: grid;
    grid-template-columns: 36px 48px 1fr auto auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0.5rem 0.9rem;
    min-height: 52px;
    background: rgba(8,12,18,0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.vtm__item::before {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--c);
    opacity: 0.6;
    transition: width 0.2s, opacity 0.2s;
}
.vtm__item:hover {
    transform: translateY(-2px);
    border-color: var(--c);
    background: rgba(12,16,24,0.85);
    box-shadow: 0 8px 24px rgba(0,0,0,0.45), 0 0 18px color-mix(in srgb, var(--c) 40%, transparent);
}
.vtm__item:hover::before { width: 5px; opacity: 1; }

/* Rank number */
.vtm__rank {
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    line-height: 1;
    color: rgba(255,255,255,0.35);
    text-align: center;
    transition: color 0.2s, text-shadow 0.2s;
}
.vtm__item:hover .vtm__rank {
    color: var(--c);
    text-shadow: 0 0 12px color-mix(in srgb, var(--c) 55%, transparent);
}

/* Logo */
.vtm__logo {
    width: 48px; height: 48px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.vtm__logo-img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c) 35%, transparent));
    transition: filter 0.2s, transform 0.2s;
}
.vtm__item:hover .vtm__logo-img {
    transform: scale(1.06);
    filter: drop-shadow(0 0 14px color-mix(in srgb, var(--c) 65%, transparent));
}
.vtm__logo-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; letter-spacing: 0.04em;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
    clip-path: polygon(4px 0, 100% 0, 100% 100%, 0 100%, 0 4px);
    text-shadow: 0 0 8px color-mix(in srgb, var(--c) 50%, transparent);
}

/* Info column */
.vtm__info {
    display: flex; flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}
.vtm__tag {
    font-size: 1rem;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--c);
    text-shadow: 0 0 10px color-mix(in srgb, var(--c) 30%, transparent);
}
.vtm__name {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Region pill */
.vtm__region {
    font-size: 0.5rem; letter-spacing: 0.2em; font-weight: 700;
    padding: 0.28rem 0.55rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    clip-path: polygon(4px 0, 100% 0, 100% 100%, 0 100%, 0 4px);
    transition: border-color 0.2s, background 0.2s;
}
.vtm__region--amr  { border-color: color-mix(in srgb, #ff4655 55%, transparent); background: color-mix(in srgb, #ff4655 10%, transparent); color: #ff8b94; }
.vtm__region--emea { border-color: color-mix(in srgb, #22c4f1 55%, transparent); background: color-mix(in srgb, #22c4f1 10%, transparent); color: #7be0fa; }
.vtm__region--pac  { border-color: color-mix(in srgb, #a259ff 55%, transparent); background: color-mix(in srgb, #a259ff 10%, transparent); color: #c79bff; }
.vtm__region--cn   { border-color: color-mix(in srgb, #ffaa00 55%, transparent); background: color-mix(in srgb, #ffaa00 10%, transparent); color: #ffd066; }

/* Crown (champions title indicator) */
.vtm__crown {
    font-size: 0.95rem;
    color: #ffd700;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255,215,0,0.65), 0 0 20px rgba(255,215,0,0.35);
    transition: transform 0.2s, text-shadow 0.2s;
}
.vtm__item:hover .vtm__crown {
    transform: scale(1.15);
    text-shadow: 0 0 14px rgba(255,215,0,0.85), 0 0 28px rgba(255,215,0,0.5);
}

/* ── Responsive ── */
@media (max-width: 720px) {
    .vtm__container { padding: 0 1rem; }
    .vtm__item {
        grid-template-columns: 28px 40px 1fr auto auto;
        gap: 0.7rem;
        padding: 0.45rem 0.75rem;
        min-height: 48px;
    }
    .vtm__logo { width: 40px; height: 40px; }
    .vtm__rank { font-size: 1.2rem; }
    .vtm__tag { font-size: 0.92rem; }
    .vtm__name { display: none; }
}
@media (max-width: 480px) {
    .vtm__item {
        grid-template-columns: 24px 36px 1fr auto auto;
        gap: 0.55rem;
        padding: 0.4rem 0.6rem;
    }
    .vtm__logo { width: 36px; height: 36px; }
    .vtm__rank { font-size: 1.05rem; }
    .vtm__tag { font-size: 0.85rem; }
    .vtm__region {
        font-size: 0; letter-spacing: 0;
        width: 10px; height: 10px;
        padding: 0;
        border-radius: 50%;
        clip-path: none;
    }
    .vtm__region--amr  { background: #ff4655; border-color: #ff4655; box-shadow: 0 0 8px rgba(255,70,85,0.55); }
    .vtm__region--emea { background: #22c4f1; border-color: #22c4f1; box-shadow: 0 0 8px rgba(34,196,241,0.55); }
    .vtm__region--pac  { background: #a259ff; border-color: #a259ff; box-shadow: 0 0 8px rgba(162,89,255,0.55); }
    .vtm__region--cn   { background: #ffaa00; border-color: #ffaa00; box-shadow: 0 0 8px rgba(255,170,0,0.55); }
    .vtm__crown { font-size: 0.85rem; }
}

/* ============================================================
   VTM ENHANCEMENT v2 — punchier visuals, animated effects
   ============================================================ */

/* Section bloom backdrop */
.vtm { position: relative; overflow: hidden; }
.vtm::before {
    content: '';
    position: absolute;
    inset: -40px 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 50% 60% at 20% 25%, rgba(255,70,85,0.10) 0%, transparent 65%),
        radial-gradient(ellipse 50% 55% at 80% 75%, rgba(34,196,241,0.07) 0%, transparent 60%);
    pointer-events: none;
}
.vtm > * { position: relative; z-index: 1; }

/* Title accent — animated gradient */
.vtm__title em {
    display: inline-block;
    padding: 0 0.2em 0.05em 0;
    background: linear-gradient(90deg, #ff4655 0%, #ff8a99 30%, #ffd700 50%, #ff8a99 70%, #ff4655 100%) !important;
    background-size: 200% 100%;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    animation: vtm-grad-shift 6s ease-in-out infinite;
    text-shadow: none !important;
    font-style: normal !important;
}
@keyframes vtm-grad-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* Subtitle */
.vtm__sub { color: rgba(255,255,255,0.5) !important; }

/* List spacing */
.vtm__list {
    display: flex; flex-direction: column;
    gap: 0.6rem !important;
}

/* Item — gradient panel + animated left rail */
.vtm__item {
    --c: #ff4655;
    position: relative;
    display: grid !important;
    grid-template-columns: 48px 56px 1fr auto auto !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 0.9rem 1.1rem 0.9rem 1.3rem !important;
    background: linear-gradient(90deg, rgba(8,12,18,0.78) 0%, rgba(4,8,14,0.92) 100%) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(6px);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s !important;
    cursor: pointer;
    overflow: hidden;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.vtm__item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--c);
    box-shadow: 0 0 14px var(--c), 0 0 28px color-mix(in srgb, var(--c) 30%, transparent);
    transform-origin: left center;
    transition: transform 0.25s, box-shadow 0.25s;
}
.vtm__item:hover {
    transform: translateY(-3px) !important;
    border-color: var(--c) !important;
    background: linear-gradient(90deg, color-mix(in srgb, var(--c) 8%, rgba(8,12,18,0.85)) 0%, rgba(4,8,14,0.92) 60%) !important;
    box-shadow:
        0 10px 30px -8px rgba(0,0,0,0.7),
        0 0 28px -4px color-mix(in srgb, var(--c) 45%, transparent) !important;
}
.vtm__item:hover::before {
    transform: scaleY(1.05);
    box-shadow: 0 0 22px var(--c), 0 0 40px color-mix(in srgb, var(--c) 50%, transparent);
}

/* Rank number — bigger + accent on hover */
.vtm__rank {
    font-size: 1.8rem !important;
    color: rgba(255,255,255,0.25) !important;
    text-align: center !important;
    line-height: 1 !important;
    transition: color 0.25s, text-shadow 0.25s !important;
    font-weight: 400 !important;
}
.vtm__item:hover .vtm__rank {
    color: var(--c) !important;
    text-shadow: 0 0 14px color-mix(in srgb, var(--c) 65%, transparent);
}
.vtm__item:nth-child(1) .vtm__rank {
    color: #ffd700 !important;
    text-shadow: 0 0 18px rgba(255,215,0,0.5);
}
.vtm__item:nth-child(2) .vtm__rank {
    color: #d4d4d4 !important;
    text-shadow: 0 0 14px rgba(192,192,192,0.4);
}
.vtm__item:nth-child(3) .vtm__rank {
    color: #cd7f32 !important;
    text-shadow: 0 0 14px rgba(205,127,50,0.4);
}

/* Logo container — bigger, hover halo */
.vtm__logo {
    width: 56px !important; height: 56px !important;
    display: flex; align-items: center; justify-content: center;
    padding: 4px;
    background: radial-gradient(circle at center, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%);
    border-radius: 50%;
    transition: transform 0.25s, background 0.25s !important;
}
.vtm__item:hover .vtm__logo {
    transform: scale(1.1);
    background: radial-gradient(circle at center, color-mix(in srgb, var(--c) 40%, transparent), transparent 70%);
}
.vtm__logo-img {
    width: 100% !important; height: 100% !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
    transition: filter 0.25s;
}
.vtm__item:hover .vtm__logo-img {
    filter: drop-shadow(0 2px 14px color-mix(in srgb, var(--c) 65%, transparent));
}
.vtm__logo-fallback {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    color: var(--c);
    font-size: 0.8rem;
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--c);
    border-radius: 50%;
    text-shadow: 0 0 10px var(--c);
}

/* Info — tag + name stack */
.vtm__info {
    display: flex; flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.vtm__tag {
    font-size: 1.2rem !important;
    letter-spacing: 0.04em !important;
    color: var(--c) !important;
    line-height: 1 !important;
    text-shadow: 0 0 12px color-mix(in srgb, var(--c) 40%, transparent);
    transition: text-shadow 0.25s;
}
.vtm__item:hover .vtm__tag {
    text-shadow: 0 0 20px color-mix(in srgb, var(--c) 75%, transparent);
}
.vtm__name {
    font-size: 0.78rem !important;
    color: rgba(255,255,255,0.7) !important;
    letter-spacing: 0.06em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: color 0.25s;
}
.vtm__item:hover .vtm__name { color: #fff !important; }

/* Region pill — clean badge */
.vtm__region {
    display: inline-flex; align-items: center;
    padding: 0.32rem 0.65rem !important;
    font-size: 0.5rem !important;
    letter-spacing: 0.2em !important;
    font-weight: 800 !important;
    color: #fff !important;
    background: rgba(0,0,0,0.4) !important;
    border: 1px solid !important;
    clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
    transition: all 0.25s;
}
.vtm__region--amr  { border-color: #ff4655 !important; color: #ff4655 !important; background: rgba(255,70,85,0.1) !important; }
.vtm__region--emea { border-color: #22c4f1 !important; color: #22c4f1 !important; background: rgba(34,196,241,0.1) !important; }
.vtm__region--pac  { border-color: #a259ff !important; color: #a259ff !important; background: rgba(162,89,255,0.1) !important; }
.vtm__region--cn   { border-color: #ffaa00 !important; color: #ffaa00 !important; background: rgba(255,170,0,0.1) !important; }
.vtm__item:hover .vtm__region--amr  { background: #ff4655 !important; color: #fff !important; box-shadow: 0 0 18px rgba(255,70,85,0.55); }
.vtm__item:hover .vtm__region--emea { background: #22c4f1 !important; color: #fff !important; box-shadow: 0 0 18px rgba(34,196,241,0.55); }
.vtm__item:hover .vtm__region--pac  { background: #a259ff !important; color: #fff !important; box-shadow: 0 0 18px rgba(162,89,255,0.55); }
.vtm__item:hover .vtm__region--cn   { background: #ffaa00 !important; color: #000 !important; box-shadow: 0 0 18px rgba(255,170,0,0.55); }

/* Champion crown — gold pulse */
.vtm__crown {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
    color: #ffd700 !important;
    font-size: 1.05rem;
    text-shadow: 0 0 12px #ffd700, 0 0 22px rgba(255,215,0,0.5);
    animation: vtm-crown-pulse 2.5s ease-in-out infinite;
}
@keyframes vtm-crown-pulse {
    0%, 100% { text-shadow: 0 0 10px #ffd700, 0 0 18px rgba(255,215,0,0.4); transform: scale(1); }
    50%      { text-shadow: 0 0 20px #ffd700, 0 0 32px rgba(255,215,0,0.7); transform: scale(1.1); }
}

/* Mobile — 2-row layout */
@media (max-width: 720px) {
    .vtm__item {
        grid-template-columns: 36px 44px 1fr auto !important;
        grid-template-areas:
            "rank logo info  region"
            "rank logo info  crown" !important;
        gap: 0.3rem 0.7rem !important;
        padding: 0.75rem 0.85rem 0.75rem 1.1rem !important;
    }
    .vtm__rank   { grid-area: rank; font-size: 1.4rem !important; }
    .vtm__logo   { grid-area: logo; width: 44px !important; height: 44px !important; }
    .vtm__info   { grid-area: info; }
    .vtm__region { grid-area: region; justify-self: end; }
    .vtm__crown  { grid-area: crown; justify-self: end; width: 22px; height: 22px; font-size: 0.85rem; }
    .vtm__tag    { font-size: 1rem !important; }
    .vtm__name   { font-size: 0.7rem !important; }
}

@media (max-width: 420px) {
    .vtm__item { grid-template-columns: 30px 38px 1fr auto !important; gap: 0.25rem 0.55rem !important; }
    .vtm__rank { font-size: 1.2rem !important; }
    .vtm__logo { width: 38px !important; height: 38px !important; }
    .vtm__tag  { font-size: 0.92rem !important; }
    .vtm__region {
        font-size: 0; letter-spacing: 0;
        width: 10px; height: 10px;
        padding: 0;
        border-radius: 50%;
        clip-path: none;
    }
    .vtm__region--amr  { background: #ff4655 !important; box-shadow: 0 0 8px rgba(255,70,85,0.55); }
    .vtm__region--emea { background: #22c4f1 !important; box-shadow: 0 0 8px rgba(34,196,241,0.55); }
    .vtm__region--pac  { background: #a259ff !important; box-shadow: 0 0 8px rgba(162,89,255,0.55); }
    .vtm__region--cn   { background: #ffaa00 !important; box-shadow: 0 0 8px rgba(255,170,0,0.55); }
}

@media (prefers-reduced-motion: reduce) {
    .vtm__title em,
    .vtm__crown { animation: none !important; }
}

/* ============================================================
   VMT — UPCOMING MATCHES v2.0
   BEM prefix: vmt__
   Compact ordered list of matches with team logos.
   Per-row brand colors via CSS vars --ca (team A) / --cb (team B)
   ============================================================ */

.vmt {
    position: relative;
    padding: 3rem 0 4rem;
    overflow: hidden;
}

.vmt__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.vmt__bg-glow {
    position: absolute;
    width: 700px; height: 450px;
    background: rgba(255,70,85,0.04);
    border-radius: 50%;
    filter: blur(120px);
    top: 0; right: 0;
}

.vmt__container {
    position: relative; z-index: 1;
    max-width: 1100px; margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.vmt__header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.vmt__eyebrow {
    font-size: 0.6rem; letter-spacing: 0.22em;
    color: var(--muted); margin-bottom: 0.5rem;
}
.vmt__title {
    font-size: clamp(1.7rem, 4.5vw, 2.8rem);
    letter-spacing: 0.04em; line-height: 1;
    margin-bottom: 0.4rem;
}
.vmt__title em {
    font-style: normal; color: var(--primary);
    text-shadow: 0 0 32px rgba(255,70,85,0.4);
}
.vmt__sub {
    font-size: 0.55rem; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.4);
}

/* List */
.vmt__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Match row */
.vmt__match {
    --ca: #ff4655;
    --cb: #4ec5dc;
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr 200px 90px;
    align-items: center;
    gap: 1rem;
    padding: 0.55rem 1rem;
    min-height: 66px;
    background: rgba(8,12,18,0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
    overflow: hidden;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.vmt__match::before {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, var(--ca), var(--cb));
    opacity: 0.55;
    transition: width 0.2s, opacity 0.2s;
}
.vmt__match:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--ca) 45%, transparent);
    background: rgba(12,16,24,0.85);
    box-shadow:
        0 8px 24px rgba(0,0,0,0.45),
        0 0 18px color-mix(in srgb, var(--ca) 30%, transparent),
        0 0 18px color-mix(in srgb, var(--cb) 30%, transparent);
}
.vmt__match:hover::before { width: 5px; opacity: 1; }

.vmt__match--live {
    border-color: rgba(255,70,85,0.35);
    background:
        linear-gradient(90deg, rgba(255,70,85,0.08) 0%, rgba(8,12,18,0.7) 55%),
        rgba(8,12,18,0.7);
}
.vmt__match--feat {
    border-color: rgba(255,204,0,0.3);
    background:
        linear-gradient(90deg, rgba(255,204,0,0.07) 0%, rgba(8,12,18,0.7) 55%),
        rgba(8,12,18,0.7);
}
.vmt__match--soon {
    /* default neutral look – no extra rules */
}

/* When (day / date / time) */
.vmt__when {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    line-height: 1;
    gap: 0.15rem;
    padding-right: 0.7rem;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.vmt__day {
    font-size: 0.46rem; letter-spacing: 0.2em;
    color: rgba(255,255,255,0.4);
}
.vmt__date {
    font-size: 1.1rem; letter-spacing: 0.03em;
    color: #fff;
}
.vmt__time {
    font-size: 0.55rem; letter-spacing: 0.16em;
    color: color-mix(in srgb, var(--primary) 70%, #fff 30%);
}

/* Duel — team A vs team B */
.vmt__duel {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}
.vmt__team {
    display: flex; align-items: center; gap: 0.55rem;
    min-width: 0;
}
.vmt__team--a { justify-content: flex-end; text-align: right; }
.vmt__team--b { justify-content: flex-start; text-align: left; }

.vmt__logo {
    width: 30px; height: 30px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}
.vmt__team--a .vmt__logo {
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--ca) 45%, transparent));
}
.vmt__team--b .vmt__logo {
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--cb) 45%, transparent));
}
.vmt__logo img {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
}
.vmt__logo-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.55rem; letter-spacing: 0.04em;
    border-radius: 50%;
    border: 1px solid currentColor;
    text-shadow: 0 0 6px color-mix(in srgb, currentColor 50%, transparent);
}
.vmt__team--a .vmt__logo-fallback {
    color: var(--ca);
    background: color-mix(in srgb, var(--ca) 14%, transparent);
}
.vmt__team--b .vmt__logo-fallback {
    color: var(--cb);
    background: color-mix(in srgb, var(--cb) 14%, transparent);
}

.vmt__tag {
    font-size: 0.92rem; line-height: 1;
    letter-spacing: 0.03em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    text-shadow: 0 0 12px color-mix(in srgb, currentColor 30%, transparent);
}
.vmt__team--a .vmt__tag { color: var(--ca); }
.vmt__team--b .vmt__tag { color: var(--cb); }

.vmt__vs {
    font-size: 0.5rem; letter-spacing: 0.22em;
    color: rgba(255,255,255,0.3);
    padding: 0 0.25rem;
    flex-shrink: 0;
}

/* Stage (tournament/round) */
.vmt__stage {
    font-size: 0.5rem; letter-spacing: 0.16em;
    color: rgba(255,255,255,0.4);
    text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    text-transform: uppercase;
}

/* Status badge */
.vmt__badge {
    justify-self: end;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.4rem 0.7rem;
    font-size: 0.5rem; letter-spacing: 0.18em; font-weight: 700;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    clip-path: polygon(5px 0, 100% 0, 100% 100%, 0 100%, 0 5px);
    white-space: nowrap;
}
.vmt__badge--live {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 18px rgba(255,70,85,0.5);
    animation: vmt-pulse 1.8s infinite;
}
.vmt__badge--feat {
    color: #000;
    background: #ffcc00;
    border-color: #ffcc00;
    box-shadow: 0 0 16px rgba(255,204,0,0.4);
}
.vmt__badge--soon {
    /* default outline already applied */
}

@keyframes vmt-pulse {
    0%, 100% { opacity: 1;   box-shadow: 0 0 18px rgba(255,70,85,0.55); }
    50%      { opacity: 0.78; box-shadow: 0 0 26px rgba(255,70,85,0.85); }
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .vmt__match {
        grid-template-columns: 110px 1fr;
        grid-template-areas:
            "when  duel"
            "stage badge";
        gap: 0.5rem 0.9rem;
        padding: 0.6rem 0.9rem;
        min-height: 0;
    }
    .vmt__when  { grid-area: when;  padding-right: 0.6rem; }
    .vmt__duel  { grid-area: duel; }
    .vmt__stage { grid-area: stage; text-align: left; padding-left: 0.2rem; }
    .vmt__badge { grid-area: badge; justify-self: end; }
}
@media (max-width: 560px) {
    .vmt__day  { display: none; }
    .vmt__date { font-size: 0.95rem; }
    .vmt__logo { width: 24px; height: 24px; }
    .vmt__tag  { font-size: 0.82rem; }
    .vmt__match {
        grid-template-columns: 90px 1fr;
        gap: 0.4rem 0.7rem;
        padding: 0.55rem 0.75rem;
    }
    .vmt__when { padding-right: 0.5rem; }
}
@media (max-width: 420px) {
    .vmt__time { display: none; }
    .vmt__badge {
        font-size: 0; letter-spacing: 0;
        width: 12px; height: 12px;
        padding: 0;
        border-radius: 50%;
        clip-path: none;
    }
    .vmt__badge--live { background: var(--primary); border-color: var(--primary); }
    .vmt__badge--feat { background: #ffcc00; border-color: #ffcc00; }
    .vmt__badge--soon { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.35); }
    .vmt__stage { font-size: 0.44rem; }
}

/* ============================================================
   VWP — WEAPON SHOP v5.0
   BEM prefix: vwp__
   Damage bars + entry animations + dot-grid bg + pen dots.
   ============================================================ */

.vwp {
    position: relative;
    padding: 4.5rem 0 5.5rem;
    background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    overflow: visible;
    isolation: isolate;
}

/* ── Background: primary glow + 2 secondary orbs via pseudo ── */
.vwp__bg {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
    overflow: hidden;
}
.vwp__bg::before {
    content: '';
    position: absolute;
    width: 480px; height: 340px;
    background: radial-gradient(ellipse, rgba(74,158,255,0.07) 0%, transparent 70%);
    top: 15%; left: 5%;
    border-radius: 50%;
    animation: vwpOrb 11s ease-in-out infinite alternate;
}
.vwp__bg::after {
    content: '';
    position: absolute;
    width: 400px; height: 320px;
    background: radial-gradient(ellipse, rgba(180,142,173,0.07) 0%, transparent 70%);
    bottom: 10%; right: 8%;
    border-radius: 50%;
    animation: vwpOrb 9s ease-in-out infinite alternate-reverse;
}
.vwp__bg-glow {
    position: absolute;
    width: 900px; height: 600px;
    background: radial-gradient(ellipse, rgba(255,70,85,0.08) 0%, transparent 65%);
    border-radius: 50%;
    top: 45%; left: 50%;
    transform: translate(-50%, -50%);
    animation: vwpGlowBreath 10s ease-in-out infinite alternate;
}

@keyframes vwpOrb {
    from { opacity: 0.5; transform: scale(0.92) translate(0, 0); }
    to   { opacity: 1;   transform: scale(1.08) translate(20px, -15px); }
}
@keyframes vwpGlowBreath {
    from { opacity: 0.6; transform: translate(-50%, -50%) scale(0.93); }
    to   { opacity: 1;   transform: translate(-50%, -50%) scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
    .vwp__bg::before, .vwp__bg::after, .vwp__bg-glow { animation: none; }
}

.vwp__container {
    position: relative; z-index: 1;
    max-width: 1320px; margin: 0 auto;
    padding: 0 1.5rem;
    overflow: visible;
}

/* ── Header ── */
.vwp__header {
    display: flex; align-items: flex-end; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
    margin-bottom: 2rem;
}
.vwp__header-text { min-width: 0; }
.vwp__eyebrow {
    font-size: 0.6rem; letter-spacing: 0.24em;
    color: var(--muted); margin-bottom: 0.5rem;
}
.vwp__title {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 0.04em; line-height: 1;
    margin-bottom: 0.4rem;
}
.vwp__title em {
    font-style: normal;
    background: linear-gradient(90deg, #ff4655 0%, #ff8a94 50%, #ff4655 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: vwpTitleShimmer 4s linear infinite;
    filter: drop-shadow(0 0 20px rgba(255,70,85,0.55));
}
@keyframes vwpTitleShimmer {
    from { background-position: 0% center; }
    to   { background-position: 200% center; }
}
@media (prefers-reduced-motion: reduce) {
    .vwp__title em { animation: none; background-size: 100%; }
}
.vwp__sub {
    font-size: 0.54rem; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.4);
}

.vwp__credits {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.54rem; letter-spacing: 0.22em;
    color: #ffcc00;
    padding: 0.55rem 1rem;
    border: 1px solid rgba(255,204,0,0.4);
    background: rgba(255,204,0,0.08);
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    animation: vwpCredPulse 3s ease-in-out infinite;
}
@keyframes vwpCredPulse {
    0%, 100% { box-shadow: none; }
    50%       { box-shadow: 0 0 18px 4px rgba(255,204,0,0.18); }
}
.vwp__cred-icon {
    display: inline-block; width: 12px; height: 12px;
    background: #ffcc00;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    box-shadow: 0 0 10px rgba(255,204,0,0.65);
    animation: vwpCredSpin 6s linear infinite;
}
@keyframes vwpCredSpin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .vwp__credits { animation: none; }
    .vwp__cred-icon { animation: none; }
}

/* ── Shop — 4 explicit flex columns ── */
.vwp__shop {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    overflow: visible;
}
.vwp__col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    overflow: visible;
}

/* Per-category accent */
.vwp__group--sidearm  { --gc: #88c0d0; }
.vwp__group--shotgun  { --gc: #ebcb8b; }
.vwp__group--smg      { --gc: #a3be8c; }
.vwp__group--rifle    { --gc: #ff4655; }
.vwp__group--sniper   { --gc: #b48ead; }
.vwp__group--heavy    { --gc: #d08770; }

/* ── Group panel — clip-path on ::before so popover can escape ── */
.vwp__group {
    --gc: #ff4655;
    position: relative;
    display: flex; flex-direction: column;
    overflow: visible;
}
.vwp__group::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(8,12,18,0.78);
    border: 1px solid color-mix(in srgb, var(--gc) 22%, rgba(255,255,255,0.06));
    border-left: 2px solid color-mix(in srgb, var(--gc) 55%, transparent);
    backdrop-filter: blur(8px);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    z-index: -1;
    pointer-events: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.vwp__group:hover::before {
    border-left-color: var(--gc);
    box-shadow: inset 4px 0 16px -6px color-mix(in srgb, var(--gc) 30%, transparent);
}

.vwp__group-head {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.65rem 0.9rem;
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--gc) 35%, transparent) 0%,
        color-mix(in srgb, var(--gc) 8%, transparent) 60%,
        transparent 100%);
    border-bottom: 1px solid color-mix(in srgb, var(--gc) 28%, transparent);
    position: relative;
    overflow: hidden;
}
/* Scan-line sweep animation across group header */
.vwp__group-head::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: -50%;
    width: 35%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
    animation: vwpGroupScan 5s linear infinite;
    pointer-events: none;
}
@keyframes vwpGroupScan {
    from { left: -35%; }
    to   { left: 140%; }
}
@media (prefers-reduced-motion: reduce) {
    .vwp__group-head::after { animation: none; }
}
.vwp__group-icon {
    font-size: 0.85rem;
    color: var(--gc);
    opacity: 0.9;
    flex-shrink: 0;
    text-shadow: 0 0 12px color-mix(in srgb, var(--gc) 70%, transparent);
}
.vwp__group-count {
    margin-left: auto;
    font-size: 0.5rem; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.05);
    padding: 0.1rem 0.4rem;
    border: 1px solid rgba(255,255,255,0.08);
}
.vwp__group-title {
    font-size: 0.72rem; letter-spacing: 0.22em; line-height: 1;
    text-transform: uppercase;
    color: var(--gc);
    text-shadow: 0 0 18px color-mix(in srgb, var(--gc) 60%, transparent);
}

/* Tile list */
.vwp__group-grid {
    display: flex; flex-direction: column;
    gap: 0.45rem;
    padding: 0.6rem;
    overflow: visible;
}

/* ── Tile — entry animation ── */
@keyframes vwpTileIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    @keyframes vwpTileIn { from { opacity: 0; } to { opacity: 1; } }
}

/* ── Tile — large horizontal layout ~92px tall ── */
.vwp__tile {
    position: relative;
    display: grid;
    grid-template-columns: 60px 82px 1fr;
    align-items: center;
    gap: 0.65rem;
    min-height: 92px;
    padding: 0.6rem 0.8rem 0.6rem 0.7rem;
    background: rgba(0,0,0,0.32);
    border: 1px solid rgba(255,255,255,0.06);
    border-left: 2px solid rgba(255,255,255,0.06);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    cursor: default;
    overflow: visible;
    opacity: 0;
    animation: vwpTileIn 0.5s ease forwards;
    animation-delay: calc(var(--ti, 0) * 40ms);
    animation-play-state: paused;
}
.vwp__tile.is-visible { animation-play-state: running; }

/* Shimmer sweep via ::before — clip-path: inset(0) clips to tile bounds
   WITHOUT overflow:hidden, so the absolute-positioned popover can escape */
.vwp__tile::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(110deg,
        transparent 20%,
        rgba(255,255,255,0.1) 48%,
        rgba(255,255,255,0.05) 52%,
        transparent 80%);
    clip-path: inset(0);
    transform: translateX(-130%);
    pointer-events: none;
    z-index: 0;
}
.vwp__tile:hover::before,
.vwp__tile:focus-within::before {
    transform: translateX(160%);
    transition: transform 0.55s ease;
}
@media (prefers-reduced-motion: reduce) {
    .vwp__tile::before { display: none; }
}

.vwp__tile:hover,
.vwp__tile:focus-within {
    border-color: color-mix(in srgb, var(--gc) 90%, transparent);
    border-left-color: var(--gc);
    background: rgba(0,0,0,0.65);
    box-shadow:
        inset 3px 0 0 var(--gc),
        inset 0 0 28px -10px color-mix(in srgb, var(--gc) 14%, transparent),
        0 0 0 1px color-mix(in srgb, var(--gc) 25%, transparent),
        0 12px 40px -6px color-mix(in srgb, var(--gc) 65%, transparent),
        0 0 70px -20px color-mix(in srgb, var(--gc) 30%, transparent);
}

/* Cost */
.vwp__tile-cost {
    display: inline-flex; align-items: center; gap: 0.32rem;
    font-family: var(--font-display); font-size: 0.88rem;
    color: #ffcc00;
    line-height: 1;
    text-shadow: 0 0 8px rgba(255,204,0,0.4);
    justify-self: start;
    position: relative; z-index: 1;
}
.vwp__tile-cost.is-free {
    color: #4caf50;
    font-size: 0.52rem; letter-spacing: 0.18em;
    text-shadow: 0 0 10px rgba(76,175,80,0.45);
}
.vwp__cred {
    display: inline-block; width: 9px; height: 9px;
    background: #ffcc00;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    box-shadow: 0 0 6px rgba(255,204,0,0.6);
}

/* Image */
.vwp__tile-img-wrap {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    position: relative; z-index: 1;
}
.vwp__tile-img {
    display: block;
    max-width: 100%; max-height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.7));
    transition: transform 0.25s ease, filter 0.25s ease;
}
.vwp__tile:hover .vwp__tile-img,
.vwp__tile:focus-within .vwp__tile-img {
    transform: scale(1.15) translateX(3px);
    filter: drop-shadow(0 2px 14px color-mix(in srgb, var(--gc) 70%, transparent));
}
.vwp__tile-fallback {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 56px;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem; letter-spacing: 0.12em;
    font-family: var(--font-display);
}

/* Name */
.vwp__tile-name {
    font-family: var(--font-display);
    font-size: 0.9rem; letter-spacing: 0.08em; line-height: 1.15;
    text-transform: uppercase;
    text-align: left;
    color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    position: relative; z-index: 1;
}
.vwp__tile:hover .vwp__tile-name,
.vwp__tile:focus-within .vwp__tile-name {
    color: var(--gc);
    text-shadow: 0 0 16px color-mix(in srgb, var(--gc) 60%, transparent);
}

/* ── Floating popover modal — appears ABOVE tile, no horizontal overlap ── */
.vwp__tile-stats {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.1rem 1.2rem;
    background: linear-gradient(135deg, #0c1018 0%, #080c12 100%);
    border: 1px solid var(--gc);
    border-top: 2px solid var(--gc);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 999;
    box-shadow:
        0 28px 64px -8px rgba(0,0,0,0.92),
        0 0 36px -4px color-mix(in srgb, var(--gc) 55%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.06);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.vwp__tile:hover .vwp__tile-stats,
.vwp__tile:focus-within .vwp__tile-stats {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Damage bars */
.vwp__dmg-bars { display: flex; flex-direction: column; gap: 0.5rem; }
.vwp__dmg-bar {
    display: grid;
    grid-template-columns: 34px 1fr 28px;
    align-items: center;
    gap: 0.5rem;
}
.vwp__dmg-label {
    font-family: var(--font-tech);
    font-size: 0.46rem; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
}
.vwp__dmg-track {
    height: 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}
.vwp__dmg-fill {
    height: 100%;
    width: var(--w, 0%);
    border-radius: 2px;
    transition: width 0.4s ease 0.1s;
}
.vwp__dmg-fill--head { background: linear-gradient(90deg, #ff4655, #ff8a94); box-shadow: 0 0 6px rgba(255,70,85,0.6); }
.vwp__dmg-fill--body { background: linear-gradient(90deg, #ffcc00, #ffe77a); box-shadow: 0 0 6px rgba(255,204,0,0.5); }
.vwp__dmg-fill--leg  { background: linear-gradient(90deg, #88c0d0, #b0d8e8); box-shadow: 0 0 6px rgba(136,192,208,0.5); }
.vwp__dmg-val {
    font-family: var(--font-display);
    font-size: 0.85rem; letter-spacing: 0.02em;
    color: var(--gc);
    text-align: right;
    font-weight: 400;
    text-shadow: 0 0 10px color-mix(in srgb, var(--gc) 50%, transparent);
}

/* Meta row */
.vwp__stat-meta {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0.4rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.vwp__stat {
    display: flex; flex-direction: column;
    gap: 0.22rem; line-height: 1;
}
.vwp__stat span {
    font-size: 0.44rem; letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
}
.vwp__stat b {
    font-family: var(--font-display);
    font-size: 0.82rem; letter-spacing: 0.04em;
    color: var(--gc);
    font-weight: 400;
    text-shadow: 0 0 10px color-mix(in srgb, var(--gc) 40%, transparent);
}

/* Wall penetration dots */
.vwp__pen-row {
    display: flex; align-items: center; gap: 3px;
    margin-top: 2px;
}
.vwp__pen-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    flex-shrink: 0;
}
.vwp__pen-dot.is-active {
    background: var(--gc);
    border-color: var(--gc);
    box-shadow: 0 0 6px color-mix(in srgb, var(--gc) 70%, transparent);
}
.vwp__pen-row b {
    font-family: var(--font-tech);
    font-size: 0.38rem; letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
    text-shadow: none;
    font-weight: 400;
    margin-left: 2px;
}

/* Footnote */
.vwp__footnote {
    margin-top: 1.2rem;
    text-align: center;
    font-size: 0.48rem; letter-spacing: 0.22em;
    color: rgba(255,255,255,0.22);
    text-transform: uppercase;
}

/* ============================================================
   VPE TO-TOP — scroll-to-top floating button (desktop + mobile)
   ============================================================ */
.vpe-to-top {
    position: fixed !important;
    right: 1.5rem !important;
    bottom: 1.5rem !important;
    width: 42px;
    height: 42px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(8,12,18,0.92);
    border: 2px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    text-decoration: none;
    opacity: 1;
    pointer-events: auto;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    z-index: 99999 !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px -6px rgba(0,0,0,0.7),
                0 0 24px -2px rgba(255,70,85,0.55);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
/* Hide when scrolled near top — via :not() trick using data attr set by JS, or always visible */
.vpe-to-top.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.85);
}
.vpe-to-top:hover,
.vpe-to-top:focus-visible {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 30px -4px rgba(0,0,0,0.7),
                0 0 28px -2px rgba(255,70,85,0.7);
    outline: none;
}
.vpe-to-top svg {
    width: 22px; height: 22px;
    transition: transform 0.2s;
}
.vpe-to-top:hover svg { transform: translateY(-2px); }
.vpe-to-top__label {
    position: absolute;
    bottom: -22px;
    font-family: var(--font-tech);
    font-size: 0.42rem; letter-spacing: 0.22em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    pointer-events: none;
}
@media (max-width: 640px) {
    .vpe-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 35px;
        height: 35px;
    }
    .vpe-to-top svg { width: 16px; height: 16px; }
    .vpe-to-top__label { display: none; }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .vwp__shop { gap: 0.5rem; }
    .vwp__group-grid { padding: 0.35rem; gap: 0.25rem; }
    .vwp__tile { grid-template-columns: 52px 40px 1fr; min-height: 44px; padding: 0.3rem 0.5rem; }
    .vwp__tile-img { max-height: 34px; }
    .vwp__tile-name { font-size: 0.72rem; }
    .vwp__tile-stats { width: 220px; }
}
@media (max-width: 760px) {
    .vwp__shop { flex-wrap: wrap; }
    .vwp__col { flex: 1 1 calc(50% - 0.3rem); }
    .vwp__header { flex-direction: column; align-items: flex-start; }
    /* Popover: move BELOW tile on small screens */
    .vwp__tile-stats {
        top: calc(100% + 8px); bottom: auto;
        left: 50%; right: auto;
        transform: translateX(-50%) translateY(-6px);
        width: min(260px, 92vw);
    }
    .vwp__tile:hover .vwp__tile-stats,
    .vwp__tile:focus-within .vwp__tile-stats {
        transform: translateX(-50%) translateY(0);
    }
}
@media (max-width: 480px) {
    .vwp__col { flex: 1 1 100%; }
    .vwp__tile { grid-template-columns: 50px 36px 1fr; min-height: 42px; }
    .vwp__tile-img { max-height: 32px; }
    .vwp__group-title { font-size: 0.58rem; }
    .vwp__tile-name { font-size: 0.7rem; }
}

/* ============================================================
   VPA — PATCH NOTES TIMELINE v3.0
   BEM prefix: vpa__
   Entry animations · version watermark · live pulse · shimmer
   ============================================================ */

@keyframes vpaSlideIn {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes vpaPulse {
    0%, 100% { box-shadow: 0 0 0 0   rgba(255,70,85,0.55), 0 0 14px rgba(255,70,85,0.3); }
    50%       { box-shadow: 0 0 0 8px rgba(255,70,85,0),    0 0 24px rgba(255,70,85,0.5); }
}
@keyframes vpaLivePulse {
    0%, 100% { box-shadow: 0 0 0 0   rgba(76,175,80,0.7); }
    50%       { box-shadow: 0 0 0 6px rgba(76,175,80,0);   }
}
@keyframes vpaScan {
    from { top: -2px; }
    to   { top: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    @keyframes vpaSlideIn  { from { opacity: 0; } to { opacity: 1; } }
    @keyframes vpaPulse    { to { box-shadow: inherit; } }
    @keyframes vpaLivePulse{ to { box-shadow: inherit; } }
}

.vpa {
    position: relative;
    padding: 4rem 0 5rem;
    overflow: hidden;
}

/* Background */
.vpa__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.vpa__bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 85% 65% at 50% 50%, #000 0%, transparent 78%);
}
.vpa__bg-glow {
    position: absolute;
    width: 700px; height: 500px;
    background: radial-gradient(ellipse, rgba(255,70,85,0.07) 0%, transparent 65%);
    top: -80px; left: 15%;
}
/* Animated scan line */
.vpa__bg::after {
    content: '';
    position: absolute;
    left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,70,85,0.12) 50%, transparent 100%);
    animation: vpaScan 10s linear infinite;
    pointer-events: none;
}

.vpa__container {
    position: relative; z-index: 1;
    max-width: 900px; margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.vpa__header { text-align: center; margin-bottom: 3rem; }
.vpa__eyebrow {
    font-size: 0.6rem; letter-spacing: 0.24em;
    color: var(--muted); margin-bottom: 0.6rem;
}
.vpa__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: 0.04em; line-height: 1;
    margin-bottom: 0.5rem;
}
.vpa__title em {
    font-style: normal;
    background: linear-gradient(90deg, #ff4655, #ff8a94, #ff4655);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: vwpTitleShimmer 4s linear infinite;
    filter: drop-shadow(0 0 18px rgba(255,70,85,0.5));
}
.vpa__sub {
    font-size: 0.54rem; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.35);
}
.vpa__meta-line { color: rgba(255,70,85,0.55); }

/* Timeline spine */
.vpa__timeline {
    list-style: none; margin: 0; padding: 0;
    position: relative;
}
.vpa__timeline::before {
    content: '';
    position: absolute;
    left: 93px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        rgba(255,70,85,0.9) 0%,
        rgba(255,70,85,0.3) 12%,
        rgba(255,70,85,0.12) 88%,
        transparent 100%);
    box-shadow: 0 0 10px rgba(255,70,85,0.18);
}
/* Live top pulse dot removed — first item's .vpa__node-inner (--major) already pulses */

/* Item */
.vpa__item {
    display: grid;
    grid-template-columns: 78px 30px 1fr;
    gap: 0 1rem;
    margin-bottom: 1.6rem;
    position: relative;
    opacity: 0;
    animation: vpaSlideIn 0.5s ease forwards;
    animation-delay: calc(var(--idx, 0) * 80ms);
    animation-play-state: paused;
}
.vpa__item.is-visible { animation-play-state: running; }
.vpa__item:last-child { margin-bottom: 0; }

/* Date */
.vpa__date {
    display: flex; flex-direction: column;
    align-items: flex-end; justify-content: flex-start;
    padding-top: 1rem; text-align: right;
}
.vpa__dnum {
    font-size: 2.1rem; letter-spacing: 0.01em;
    line-height: 1; color: rgba(255,255,255,0.85);
    transition: color 0.2s;
}
.vpa__item--major .vpa__dnum {
    color: var(--primary);
    text-shadow: 0 0 16px rgba(255,70,85,0.4);
}
.vpa__mon {
    font-size: 0.44rem; letter-spacing: 0.2em;
    color: var(--muted); margin-top: 0.15rem;
}

/* Node */
.vpa__node {
    display: flex; align-items: flex-start; justify-content: center;
    padding-top: 1.15rem;
    position: relative; z-index: 2;
}
.vpa__node-inner {
    width: 13px; height: 13px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid rgba(255,70,85,0.35);
    flex-shrink: 0;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.vpa__item--major .vpa__node-inner {
    background: var(--primary);
    border-color: var(--primary);
    animation: vpaPulse 2.5s ease-in-out infinite;
    animation-delay: 0.5s;
}
.vpa__item--minor .vpa__node-inner {
    border-color: rgba(255,255,255,0.18);
}
.vpa__item:hover .vpa__node-inner {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255,70,85,0.1), 0 0 14px rgba(255,70,85,0.4);
}

/* Card */
.vpa__card {
    position: relative;
    padding: 1.1rem 1.4rem 1.2rem;
    background: rgba(8,12,18,0.82);
    border: 1px solid rgba(255,255,255,0.06);
    border-left: 3px solid rgba(255,70,85,0.22);
    overflow: hidden;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    transition: border-color 0.25s, border-left-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
/* Version number watermark */
.vpa__card::before {
    content: attr(data-ver);
    position: absolute;
    right: 1.2rem; top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 5rem; letter-spacing: 0.03em; line-height: 1;
    color: rgba(255,255,255,0.022);
    pointer-events: none; user-select: none;
    transition: color 0.25s;
}
/* Shimmer sweep */
.vpa__card::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: -60%;
    width: 45%;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.04) 50%, transparent 80%);
    pointer-events: none; transition: none;
}
.vpa__card:hover::after {
    left: 120%;
    transition: left 0.6s ease;
}
.vpa__card:hover::before { color: rgba(255,255,255,0.042); }
.vpa__card:hover {
    border-color: rgba(255,70,85,0.4);
    border-left-color: var(--primary);
    transform: translateX(5px);
    box-shadow:
        -3px 0 0 var(--primary),
        0 12px 32px rgba(0,0,0,0.55),
        0 0 48px -12px rgba(255,70,85,0.22);
}
.vpa__item--major .vpa__card {
    border-left-color: var(--primary);
    background: linear-gradient(135deg, rgba(255,70,85,0.07) 0%, rgba(8,12,18,0.82) 55%);
}
.vpa__item--minor .vpa__card { border-left-color: rgba(255,255,255,0.12); }

/* Card head */
.vpa__card-head {
    display: flex; align-items: center; gap: 0.65rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.vpa__ver {
    font-size: 1.15rem; letter-spacing: 0.05em;
    color: var(--primary);
    text-shadow: 0 0 18px rgba(255,70,85,0.4);
}
.vpa__tag {
    padding: 0.18rem 0.52rem;
    font-size: 0.44rem; letter-spacing: 0.2em;
    clip-path: polygon(4px 0, 100% 0, 100% 100%, 0 100%, 0 4px);
}
.vpa__tag--major { color: #fff; background: var(--primary); box-shadow: 0 0 12px rgba(255,70,85,0.45); }
.vpa__tag--std   { color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.vpa__tag--minor { color: var(--muted); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); }

/* LIVE badge */
.vpa__latest {
    margin-left: auto;
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.44rem; letter-spacing: 0.22em;
    color: #4caf50;
    border: 1px solid rgba(76,175,80,0.3);
    padding: 0.18rem 0.55rem;
    background: rgba(76,175,80,0.07);
    clip-path: polygon(4px 0, 100% 0, 100% 100%, 0 100%, 0 4px);
}
.vpa__latest-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: #4caf50;
    box-shadow: 0 0 6px rgba(76,175,80,0.9);
    animation: vpaLivePulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

.vpa__name {
    font-size: 1rem; font-weight: 600; color: #fff;
    line-height: 1.35; margin: 0 0 0.5rem;
}
.vpa__desc {
    font-size: 0.82rem; line-height: 1.6;
    color: rgba(255,255,255,0.62);
    margin: 0 0 0.9rem;
}
.vpa__more {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.5rem; letter-spacing: 0.22em;
    color: var(--primary);
    padding: 0.42rem 0.8rem;
    border: 1px solid rgba(255,70,85,0.28);
    background: rgba(255,70,85,0.05);
    transition: all 0.2s;
    clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
.vpa__more:hover {
    color: #fff; background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255,70,85,0.5);
}

/* Corner decorators */
.vpa__corner {
    position: absolute; width: 9px; height: 9px;
    border-color: rgba(255,70,85,0.25); border-style: solid;
    transition: border-color 0.25s;
}
.vpa__corner--tl { top: 5px; left: 5px; border-width: 1px 0 0 1px; }
.vpa__corner--br { bottom: 5px; right: 5px; border-width: 0 1px 1px 0; }
.vpa__card:hover .vpa__corner { border-color: rgba(255,70,85,0.75); }

/* Responsive */
@media (max-width: 640px) {
    .vpa__timeline::before { left: 18px; }
    .vpa__timeline::after  { left: 13px; top: 16px; width: 10px; height: 10px; }
    .vpa__item {
        grid-template-columns: 28px 1fr;
        gap: 0 0.75rem;
    }
    .vpa__date {
        grid-column: 1 / -1;
        flex-direction: row; gap: 0.45rem;
        align-items: baseline; justify-content: flex-start;
        padding: 0 0 0.4rem 2.4rem; text-align: left;
    }
    .vpa__dnum { font-size: 1.2rem; }
    .vpa__card::before { font-size: 3.5rem; }
    .vpa__card { padding: 0.9rem 1rem 1rem; }
    .vpa__name { font-size: 0.92rem; }
}

/* ============================================================
   VRK — RANK DISTRIBUTION v2.0
   BEM prefix: vrk__
   Entry animations · bar count-up · rank glow · MOST COMMON
   ============================================================ */

@keyframes vrkSlideIn {
    from { opacity: 0; transform: translateX(-22px); }
    to   { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
    @keyframes vrkSlideIn  { from { opacity: 0; } to { opacity: 1; } }
}

.vrk {
    position: relative;
    padding: 4rem 0 5rem;
    overflow: hidden;
}

/* Background */
.vrk__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.vrk__bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, #000 0%, transparent 80%);
}
.vrk__bg-glow {
    position: absolute;
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(78,197,220,0.06) 0%, transparent 65%);
    border-radius: 50%; filter: blur(80px);
    top: 30%; left: 10%;
}
.vrk__bg-glow--2 {
    width: 500px; height: 350px;
    background: radial-gradient(ellipse, rgba(195,155,255,0.05) 0%, transparent 65%);
    top: 40%; left: 60%;
}

.vrk__container {
    position: relative; z-index: 1;
    max-width: 980px; margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.vrk__header { text-align: center; margin-bottom: 2.5rem; }
.vrk__eyebrow {
    font-size: 0.6rem; letter-spacing: 0.24em;
    color: var(--muted); margin-bottom: 0.6rem;
}
.vrk__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: 0.04em; line-height: 1; margin-bottom: 0.45rem;
}
.vrk__title em {
    font-style: normal;
    background: linear-gradient(90deg, #ff4655, #ff8a94, #ff4655);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: vwpTitleShimmer 4s linear infinite;
    filter: drop-shadow(0 0 18px rgba(255,70,85,0.5));
}
.vrk__sub {
    font-size: 0.54rem; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.38);
}

/* Stacked bar */
.vrk__stack-wrap { position: relative; margin-bottom: 0.5rem; }
.vrk__stack {
    display: flex; height: 22px; width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(8,12,18,0.8);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.vrk__stack-glow {
    position: absolute; left: 0; right: 0; bottom: -6px;
    height: 12px;
    background: linear-gradient(90deg,
        rgba(138,138,138,0.15) 0%,
        rgba(200,151,90,0.2)  12%,
        rgba(200,205,212,0.15) 25%,
        rgba(244,208,63,0.2)  40%,
        rgba(78,197,220,0.2)  55%,
        rgba(195,155,255,0.2) 68%,
        rgba(43,200,138,0.2)  80%,
        rgba(204,61,94,0.2)   92%,
        rgba(255,249,177,0.2) 100%);
    filter: blur(6px);
    pointer-events: none;
}
.vrk__stack-seg {
    flex: 0 0 var(--w);
    background: var(--c);
    transition: filter 0.2s, transform 0.2s;
    cursor: default;
}
.vrk__stack-seg:hover {
    filter: brightness(1.35) saturate(1.2);
    transform: scaleY(1.15);
    transform-origin: bottom;
}
.vrk__stack-legend {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.44rem; letter-spacing: 0.22em;
    color: rgba(255,255,255,0.3);
    margin-bottom: 2rem;
}
.vrk__stack-arrow {
    flex: 1; text-align: center;
    color: rgba(255,255,255,0.12); letter-spacing: 0;
}

/* List */
.vrk__list { display: flex; flex-direction: column; gap: 0.5rem; }

/* Row */
.vrk__row {
    --c: var(--primary);
    display: grid;
    grid-template-columns: 58px 160px 1fr 100px;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.2rem 0.85rem 1rem;
    background: rgba(8,12,18,0.65);
    border: 1px solid rgba(255,255,255,0.05);
    border-left: 3px solid color-mix(in srgb, var(--c) 40%, transparent);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
    transition: border-color 0.22s, border-left-color 0.22s, background 0.22s, box-shadow 0.22s;
    opacity: 0;
    animation: vrkSlideIn 0.45s ease forwards;
    animation-delay: calc(var(--idx, 0) * 55ms);
    animation-play-state: paused;
}
.vrk__row.is-visible { animation-play-state: running; }
.vrk__row:hover {
    border-color: color-mix(in srgb, var(--c) 50%, transparent);
    border-left-color: var(--c);
    background: rgba(12,16,26,0.88);
    box-shadow:
        inset 0 0 40px -16px color-mix(in srgb, var(--c) 12%, transparent),
        0 6px 24px -6px rgba(0,0,0,0.5);
}

/* Badge */
.vrk__badge {
    display: flex; align-items: center; justify-content: center;
    width: 58px; height: 58px; flex-shrink: 0;
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c) 30%, transparent));
    transition: filter 0.22s, transform 0.22s;
}
.vrk__row:hover .vrk__badge {
    filter: drop-shadow(0 0 16px color-mix(in srgb, var(--c) 60%, transparent));
    transform: scale(1.08);
}
.vrk__badge-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.vrk__badge-fallback {
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; font-size: 1.2rem;
    color: var(--c);
    background: linear-gradient(135deg, color-mix(in srgb, var(--c) 50%, #000), color-mix(in srgb, var(--c) 20%, #000));
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

/* Name column */
.vrk__name-col { display: flex; flex-direction: column; gap: 0.15rem; }
.vrk__name-row { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.vrk__name {
    font-size: 0.95rem; letter-spacing: 0.06em; line-height: 1;
    color: var(--c);
    text-shadow: 0 0 12px color-mix(in srgb, var(--c) 28%, transparent);
    transition: text-shadow 0.22s;
}
.vrk__row:hover .vrk__name {
    text-shadow: 0 0 20px color-mix(in srgb, var(--c) 55%, transparent);
}
.vrk__sub-meta { font-size: 0.42rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.28); }
.vrk__badge-top {
    font-size: 0.38rem; letter-spacing: 0.18em;
    color: #ffcc00; border: 1px solid rgba(255,204,0,0.3);
    background: rgba(255,204,0,0.07);
    padding: 0.12rem 0.4rem;
    clip-path: polygon(3px 0, 100% 0, 100% 100%, 0 100%, 0 3px);
    white-space: nowrap;
}

/* Bar */
.vrk__bar-wrap { width: 100%; }
.vrk__bar {
    position: relative; height: 16px; width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px);
}
.vrk__bar-fill {
    display: block; width: 0; height: 100%;
    background: linear-gradient(90deg, color-mix(in srgb, var(--c) 70%, #000) 0%, var(--c) 100%);
    box-shadow: 0 0 16px color-mix(in srgb, var(--c) 45%, transparent);
    position: relative;
    transition: width 1s ease-out;
    transition-delay: calc(var(--idx, 0) * 55ms + 0.15s);
}
.vrk__row.is-visible .vrk__bar-fill {
    width: var(--fill);
}
@media (prefers-reduced-motion: reduce) {
    .vrk__bar-fill { transition: none; }
    .vrk__row.is-visible .vrk__bar-fill { width: var(--fill); }
}
.vrk__bar-fill::after {
    content: '';
    position: absolute; right: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--c);
    box-shadow: 0 0 10px 1px var(--c);
}

/* Pct column */
.vrk__pct-col {
    display: flex; align-items: baseline; justify-content: flex-end; gap: 0.12rem;
}
.vrk__pct {
    font-size: 1.6rem; letter-spacing: 0.01em; line-height: 1;
    color: var(--c);
    text-shadow: 0 0 14px color-mix(in srgb, var(--c) 38%, transparent);
    transition: text-shadow 0.22s;
    font-variant-numeric: tabular-nums;
}
.vrk__row:hover .vrk__pct { text-shadow: 0 0 24px color-mix(in srgb, var(--c) 60%, transparent); }
.vrk__pct-unit { font-size: 0.52rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.38); }

/* Footnote */
.vrk__footnote {
    margin-top: 1.8rem; text-align: center;
    font-size: 0.44rem; letter-spacing: 0.22em;
    color: rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 720px) {
    .vrk__row {
        grid-template-columns: 46px 1fr 80px;
        grid-template-areas: "badge name pct" "bar bar bar";
        gap: 0.5rem 0.85rem; padding: 0.75rem 1rem;
    }
    .vrk__badge    { grid-area: badge; width: 46px; height: 46px; }
    .vrk__name-col { grid-area: name; }
    .vrk__bar-wrap { grid-area: bar; }
    .vrk__pct-col  { grid-area: pct; }
    .vrk__name { font-size: 0.82rem; }
    .vrk__pct  { font-size: 1.3rem; }
}
@media (max-width: 420px) {
    .vrk__row { gap: 0.4rem 0.7rem; padding: 0.65rem 0.8rem; }
    .vrk__badge { width: 40px; height: 40px; }
    .vrk__name  { font-size: 0.75rem; }
    .vrk__pct   { font-size: 1.1rem; }
    .vrk__stack { height: 14px; }
    .vrk__badge-top { display: none; }
}

/* ============================================================
   VST — LIVE STREAMERS v1.0
   BEM prefix: vst__
   Twitch purple accents, LIVE pulse, hover lift
   ============================================================ */

:root {
    --vst-twitch: #9146ff;
}

.vst {
    position: relative;
    padding: 3rem 0 4rem;
    overflow: hidden;
}

.vst__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.vst__bg-glow {
    position: absolute;
    width: 700px; height: 450px;
    background: rgba(145,70,255,0.06);
    border-radius: 50%;
    filter: blur(120px);
    top: 0; right: -100px;
}

.vst__container {
    position: relative; z-index: 1;
    max-width: 1280px; margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.vst__header {
    display: flex; align-items: flex-end; justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.vst__eyebrow {
    font-size: 0.6rem; letter-spacing: 0.22em;
    color: var(--muted); margin-bottom: 0.5rem;
}
.vst__title {
    font-size: clamp(1.7rem, 4.5vw, 2.8rem);
    letter-spacing: 0.04em; line-height: 1;
    margin-bottom: 0.3rem;
}
.vst__title em {
    font-style: normal; color: var(--vst-twitch);
    text-shadow: 0 0 32px rgba(145,70,255,0.45);
}
.vst__sub {
    font-size: 0.55rem; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.4);
}
.vst__cta {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.55rem; letter-spacing: 0.2em;
    color: var(--vst-twitch);
    padding: 0.55rem 0.95rem;
    border: 1px solid var(--vst-twitch);
    background: rgba(145,70,255,0.08);
    text-decoration: none;
    transition: all 0.2s;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.vst__cta:hover {
    background: var(--vst-twitch);
    color: #fff;
    box-shadow: 0 0 18px rgba(145,70,255,0.5);
}

/* Grid */
.vst__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

/* Card */
.vst__card {
    position: relative;
    display: flex; flex-direction: column;
    gap: 0.65rem;
    padding: 0.9rem 1rem 1rem;
    background: rgba(8,12,18,0.7);
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    overflow: hidden;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.vst__card:hover {
    transform: translateY(-4px);
    border-color: var(--vst-twitch);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5), 0 0 28px rgba(145,70,255,0.22);
}
.vst__card.is-live { border-color: rgba(145,70,255,0.25); }
.vst__card.is-offline {
    opacity: 0.62;
    filter: saturate(0.6);
}
.vst__card.is-offline:hover { opacity: 0.95; filter: saturate(1); }

/* Top row: avatar + ID + live pill */
.vst__top {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 0.55rem;
}
.vst__avatar {
    position: relative;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(145,70,255,0.4), rgba(0,0,0,0.4));
    border: 1px solid rgba(145,70,255,0.35);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.vst__avatar::before {
    content: attr(data-letter);
    font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
    color: #fff;
}
.vst__id {
    display: flex; flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}
.vst__name {
    font-size: 0.85rem; letter-spacing: 0.03em; line-height: 1;
    color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vst__role {
    font-size: 0.46rem; letter-spacing: 0.14em;
    color: var(--muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vst__team {
    color: var(--primary);
    padding: 0.05rem 0.3rem;
    background: rgba(255,70,85,0.1);
    border: 1px solid rgba(255,70,85,0.25);
    font-size: 0.4rem; letter-spacing: 0.14em;
}

/* Live pill */
.vst__live-pill {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.46rem; letter-spacing: 0.18em; font-weight: 700;
    color: #fff;
    background: var(--primary);
    box-shadow: 0 0 14px rgba(255,70,85,0.5);
    clip-path: polygon(4px 0, 100% 0, 100% 100%, 0 100%, 0 4px);
}
.vst__live-dot {
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: vst-pulse 1.6s infinite;
}
@keyframes vst-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.7); }
}
.vst__off-pill {
    padding: 0.25rem 0.5rem;
    font-size: 0.44rem; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    clip-path: polygon(4px 0, 100% 0, 100% 100%, 0 100%, 0 4px);
}

/* Stream title */
.vst__strm-title {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2rem;
}

/* Bottom row: game + viewers */
.vst__bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    gap: 0.5rem;
}
.vst__game-row {
    display: flex; align-items: center; gap: 0.4rem;
}
.vst__game-pill {
    font-size: 0.44rem; letter-spacing: 0.18em; font-weight: 700;
    color: var(--primary);
    padding: 0.2rem 0.45rem;
    background: rgba(255,70,85,0.1);
    border: 1px solid rgba(255,70,85,0.25);
    clip-path: polygon(3px 0, 100% 0, 100% 100%, 0 100%, 0 3px);
}
.vst__lang {
    font-size: 0.4rem; letter-spacing: 0.16em;
    color: rgba(255,255,255,0.35);
}
.vst__viewers {
    display: flex; align-items: baseline; gap: 0.25rem;
}
.vst__viewers-icon {
    color: var(--primary);
    font-size: 0.55rem;
    animation: vst-pulse 1.6s infinite;
}
.vst__viewers-num {
    font-size: 0.95rem; letter-spacing: 0.02em;
    color: #fff;
}
.vst__viewers-lbl {
    font-size: 0.4rem; letter-spacing: 0.14em;
    color: rgba(255,255,255,0.35);
}
.vst__viewers--off .vst__viewers-lbl { color: rgba(255,255,255,0.25); }

/* Corners */
.vst__corner {
    position: absolute; width: 10px; height: 10px;
    border: 2px solid var(--vst-twitch);
    opacity: 0; transition: opacity 0.25s;
}
.vst__corner--tl { top: 6px; left: 6px; border-right: none; border-bottom: none; }
.vst__corner--br { bottom: 6px; right: 6px; border-left: none; border-top: none; }
.vst__card:hover .vst__corner { opacity: 0.85; }

/* ── Responsive ── */
@media (max-width: 1000px) {
    .vst__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .vst__grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
    .vst__header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .vst__grid { grid-template-columns: 1fr; }
    .vst__card { padding: 0.8rem 0.9rem 0.85rem; }
}

/* ================================================================
   VFQ — FAQ SECTION
   ================================================================ */

/* ── Layout ── */
.vfq {
    position: relative;
    padding: 5rem 0 6rem;
    overflow: hidden;
}

/* ── Background ── */
.vfq__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.vfq__bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,70,85,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,70,85,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
}
.vfq__bg-glow {
    position: absolute;
    top: 30%; left: 60%;
    width: 500px; height: 400px;
    background: radial-gradient(ellipse, rgba(255,70,85,0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
}

/* ── Container ── */
.vfq__container {
    position: relative; z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Header ── */
.vfq__header { text-align: center; margin-bottom: 3rem; }
.vfq__eyebrow {
    font-size: 0.65rem; letter-spacing: 0.18em;
    color: var(--primary); margin-bottom: 0.6rem;
}
.vfq__title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1; color: var(--foreground);
    margin-bottom: 0.6rem;
}
.vfq__title em { color: var(--primary); font-style: normal; }
.vfq__sub {
    font-size: 0.65rem; letter-spacing: 0.12em;
    color: var(--muted);
}

/* ── List ── */
.vfq__list {
    display: flex; flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

/* ── Item entry animation ── */
.vfq__item {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.4s ease calc(var(--idx) * 55ms),
        transform 0.4s ease calc(var(--idx) * 55ms);
}
.vfq__item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Details / Summary ── */
.vfq__details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
}
.vfq__details[open] {
    border-left-color: var(--primary);
    background: var(--surface-2);
}
.vfq__details[open] .vfq__chevron { transform: rotate(135deg); }

.vfq__summary {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.15s;
}
.vfq__summary::-webkit-details-marker { display: none; }
.vfq__summary:hover { background: rgba(255, 70, 85, 0.05); }

.vfq__num {
    flex-shrink: 0;
    font-size: 0.6rem; letter-spacing: 0.1em;
    color: var(--primary);
    min-width: 1.8rem;
}

.vfq__q {
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.95rem; font-weight: 600;
    color: var(--foreground);
    line-height: 1.4;
}


.vfq__chevron {
    flex-shrink: 0;
    width: 10px; height: 10px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    transition: transform 0.22s ease;
    margin-left: 0.25rem;
}

/* ── Body ── */
.vfq__body {
    padding: 0 1.2rem 1.1rem calc(1.2rem + 1.8rem + 1rem);
    border-top: 1px solid var(--border);
}
.vfq__answer {
    font-family: var(--font-body);
    font-size: 0.9rem; line-height: 1.7;
    color: rgba(236, 232, 225, 0.8);
    padding-top: 0.85rem;
}
.vfq__answer strong { color: var(--foreground); font-weight: 600; }
.vfq__answer em { color: var(--primary); font-style: normal; }

/* ── Footnote ── */
.vfq__footnote {
    text-align: center;
    font-size: 0.58rem; letter-spacing: 0.12em;
    color: var(--muted);
    opacity: 0.6;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .vfq__q { font-size: 0.88rem; }
    .vfq__body { padding-left: 1.2rem; }
    .vfq__summary { gap: 0.7rem; padding: 0.85rem 1rem; }
}

/* ── JS scroll reveal (IntersectionObserver hook in PHP) ── */

/* ================================================================
   GLOBAL SMOOTH — site-wide performance & transition polish
   ================================================================ */

/* GPU compositing hints for known animated elements */
.hero-portrait,
.hero-backdrop-gradient,
.hero-bg-art,
.hero-ghost-name,
.vrk__bar-fill,
.vpa__item,
.vrk__row,
.vfq__item {
    will-change: opacity, transform;
}

/* Consistent hover transition duration for all card types */
.vsk__card,
.vmap__card,
.vwp__tile,
.news-log__item,
.vpa__card,
.vrk__row {
    transition-timing-function: ease;
}

/* Smooth focus rings for accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* ============================================================
   MOBILE RESPONSIVE PASS — <640px / <768px overrides
   Tasks: Search drawer · Hero · News · All sections
   ============================================================ */

/* ── Task 1: Mobile search toggle button ── */
.nav-search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--muted);
    border: 1px solid var(--border);
    background: rgba(0,0,0,0.3);
    transition: color var(--transition), border-color var(--transition);
    flex-shrink: 0;
}
.nav-search-toggle:hover,
.nav-search-toggle.is-active {
    color: var(--primary);
    border-color: rgba(255,70,85,0.5);
}

@media (max-width: 639px) {
    .nav-search-toggle {
        display: flex;
        margin-left: auto; /* push search+hamburger to far right */
    }
    .nav-search--wide { display: none !important; }
    /* tighten gap between the two icon buttons */
    .nav-container { gap: 0.5rem; }
    .nav-hamburger  { padding: 0.5rem 0; }
}

/* ── Task 1: Mobile search drawer ── */
.mobile-search-drawer {
    background: rgba(0,0,0,0.95);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem;
    position: relative;
    z-index: 99;
}
.mobile-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(255,70,85,0.5);
    background: rgba(0,0,0,0.4);
}
.mobile-search-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--foreground);
    font-family: var(--font-tech);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    padding: 0.65rem 0.75rem;
    height: 42px;
}
.mobile-search-input::placeholder {
    color: var(--muted);
    font-size: 0.65rem;
}
.mobile-search-submit {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    transition: background var(--transition);
    border: none;
    cursor: pointer;
}
.mobile-search-submit:hover { background: var(--primary-glow); }

/* ── Task 2: Hero section mobile ── */
@media (max-width: 767px) {
    .hero {
        min-height: unset;
    }
    .hero-inner {
        padding: 1.25rem 1rem 1.5rem;
        gap: 1.25rem;
    }
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem) !important;
    }
    .hero-desc {
        max-width: 100% !important;
    }
    .hero-stats {
        width: 100%;
        flex-wrap: wrap;
    }
    .stat-glass {
        flex: 1 1 calc(33% - 1px);
        padding: 0.65rem 0.85rem !important;
    }
    .hero-stage {
        max-width: 280px;
        margin: 0 auto;
        width: 100%;
    }
    .hero-selector {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .hero-spotlight-counter {
        font-size: 0.52rem;
    }
}

@media (max-width: 419px) {
    .hero-ctas {
        flex-direction: column;
    }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ── Task 3: News section mobile ── */
@media (max-width: 639px) {
    .news-grid-v2 {
        grid-template-columns: 1fr;
    }
    .news-preview {
        height: auto !important;
        min-height: 320px;
    }
    .news-preview__img-wrap {
        min-height: 220px !important;
        height: 220px;
    }
    .news-log {
        height: auto !important;
        max-height: 420px;
        overflow-y: auto;
    }
    .news-preview__title {
        font-size: clamp(1.2rem, 5vw, 1.6rem) !important;
    }
    .news-preview__body {
        padding: 1rem !important;
    }
    .news-nav {
        bottom: 1rem;
        right: 1rem;
    }
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .news-headline {
        font-size: clamp(1.8rem, 8vw, 2.8rem) !important;
    }
}

/* ── Task 4: Global section heading / padding fixes ── */
@media (max-width: 639px) {

    /* Section gap */
    .section-gap { padding: 3rem 0; }

    /* Section title */
    .section-title {
        font-size: clamp(1.8rem, 7vw, 3rem) !important;
    }

    /* Container side padding */
    .container { padding: 0 0.85rem; }

    /* Tier list */
    .tl-section { padding: 2.5rem 0 3rem; }
    .tl-title {
        font-size: clamp(1.8rem, 7vw, 3rem) !important;
    }
    .tl-filter { gap: 0.2rem; }
    .tl-tab { padding: 0.4rem 0.65rem !important; font-size: 0.55rem !important; }

    /* Leaderboard top (lbt) */
    .lbt-section { padding: 2.5rem 0 3rem; }
    .lbt-title {
        font-size: clamp(1.8rem, 7vw, 3rem) !important;
    }

    /* VLB2 already has its own ≤640 breakpoint — keep it */

    /* Maps (vmap) */
    .vmap { padding: 2rem 0 2.5rem; }
    .vmap__title {
        font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
    }
    .vmap__container { padding: 0 0.85rem; }

    /* Agent roster (vagn) */
    .vagn { padding: 2rem 0 3rem; }
    .vagn__title {
        font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
    }
    .vagn__container { padding: 0 0.85rem; }

    /* Skins (vsk) */
    .vsk { padding: 2rem 0 2.5rem; }
    .vsk__title {
        font-size: clamp(1.6rem, 6vw, 2.5rem) !important;
    }
    .vsk__container { padding: 0 0.85rem; }
    .vsk__header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

    /* Teams (vtm) */
    .vtm { padding: 2rem 0 2.5rem; }
    .vtm__title {
        font-size: clamp(1.6rem, 6vw, 2.5rem) !important;
    }

    /* Matches (vmt) */
    .vmt { padding: 2rem 0 2.5rem; }
    .vmt__title {
        font-size: clamp(1.6rem, 6vw, 2.5rem) !important;
    }
    .vmt__container { padding: 0 0.85rem; }

    /* Weapons (vwp) */
    .vwp { padding: 2.5rem 0 3rem; }
    .vwp__title {
        font-size: clamp(1.6rem, 6vw, 2.5rem) !important;
    }
    .vwp__container { padding: 0 0.85rem; }
    .vwp__shop {
        flex-direction: column;
        gap: 0.75rem;
    }
    .vwp__col { flex: none; width: 100%; }
    .vwp__header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .vwp__tile {
        grid-template-columns: 48px 68px 1fr;
        min-height: 72px;
    }
    /* Hide floating popover on mobile — too narrow */
    .vwp__tile-stats { display: none !important; }

    /* Patches (vpa) — mobile: date full-width on top, node+card below */
    .vpa__container { padding: 0 0.85rem; }
    .vpa__timeline::before { left: 7px; top: 0; bottom: 0; }
    .vpa__item {
        grid-template-columns: 18px 1fr;
        grid-template-rows: auto auto;
        gap: 0 0.6rem;
    }
    /* Explicit placement: date spans full width on row 1 */
    .vpa__node { grid-column: 1; grid-row: 2; padding-top: 0.2rem; }
    .vpa__date {
        grid-column: 1 / -1; grid-row: 1;
        flex-direction: row; align-items: baseline;
        justify-content: flex-start; gap: 0.35rem;
        padding: 0 0 0.3rem 26px; text-align: left;
    }
    .vpa__card { grid-column: 2; grid-row: 2; padding: 0.8rem 0.85rem 0.9rem; }
    .vpa__dnum { font-size: 1.3rem; }
    .vpa__mon  { font-size: 0.5rem; }
    .vpa__ver  { font-size: 0.6rem; padding: 0.18rem 0.45rem; }
    .vpa__card-head { gap: 0.4rem; flex-wrap: wrap; }

    /* Ranks (vrk) */
    .vrk { padding: 2.5rem 0 3rem; }
    .vrk__title {
        font-size: clamp(1.8rem, 7vw, 3rem) !important;
    }
    .vrk__container { padding: 0 0.85rem; }

    /* Streamers (vst) */
    .vst { padding: 2rem 0 2.5rem; }
    .vst__title {
        font-size: clamp(1.6rem, 6vw, 2.5rem) !important;
    }
    .vst__container { padding: 0 0.85rem; }
    .vst__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    /* FAQ (vfq — if class exists) */
    .vfq { padding: 2rem 0 2.5rem; }
}

/* Skins arrows — hidden on desktop */
.vsk__arrow {
    display: none;
}

/* Skins slider — mobile: narrow cards so next card peeks, hinting scroll */
@media (max-width: 639px) {
    .vsk__card { flex: 0 0 78vw; }

    /* stronger right fade */
    .vsk__track-wrap::after {
        width: 80px;
        background: linear-gradient(-90deg, var(--bg) 0%, rgba(15,25,35,.6) 60%, transparent 100%);
    }

    /* Hide text hint — arrows replace it */
    .vsk__hint { display: none; }

    /* Arrow buttons */
    .vsk__arrow {
        display: flex;
        align-items: center; justify-content: center;
        position: absolute;
        top: 50%; transform: translateY(-50%);
        width: 36px; height: 36px;
        background: rgba(10,16,24,.85);
        border: 1px solid rgba(255,70,85,.55);
        color: var(--primary);
        z-index: 10;
        transition: background .2s, border-color .2s;
        pointer-events: auto;
    }
    .vsk__arrow:hover { background: rgba(255,70,85,.15); border-color: var(--primary); }
    .vsk__arrow--prev { left: 6px; }
    .vsk__arrow--next { right: 6px; }

    /* track-wrap needs position:relative for absolute arrows */
    .vsk__track-wrap { position: relative; }
}

/* Streamers: 1 col at very small screens */
@media (max-width: 380px) {
    .vst__grid { grid-template-columns: 1fr; }
}

/* ── Weapon shop: restore tile layout at 1100px+ (already handled above) ── */
@media (min-width: 640px) and (max-width: 1099px) {
    .vwp__shop { flex-wrap: wrap; }
    .vwp__col  { flex: 1 1 calc(50% - 0.5rem); min-width: 200px; }
}

/* ============================================================
   FRONT-PAGE INTRO TEXT (editable via WP Admin → Pages → Home)
   ============================================================ */
.fp-intro {
    position: relative; z-index: 1;
    padding: 1.75rem 0;
    background: rgba(15,25,35,0.55);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid var(--border);
}
.fp-intro__inner {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    text-align: center;
}
.fp-intro__heading {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    color: var(--primary);
    letter-spacing: 0.06em;
    line-height: 1;
    text-shadow: 0 0 28px rgba(255,70,85,.4);
}
.fp-intro__heading em {
    font-style: normal;
    color: var(--foreground);
    opacity: .75;
}
.fp-intro__text {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.75;
    max-width: 780px;
    margin: 0 auto;
}
.fp-intro__text p { margin: 0; }
.fp-intro__text strong { color: var(--foreground); font-weight: 600; }
.fp-intro__text a { color: var(--primary); border-bottom: 1px solid rgba(255,70,85,.3); transition: border-color .2s; }
.fp-intro__text a:hover { border-color: var(--primary); }

@media (max-width: 639px) {
    .fp-intro { padding: 1.1rem 0; }
    .fp-intro__text { font-size: .83rem; line-height: 1.65; }
}

/* Global prefers-reduced-motion override */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   Generic Page template — page.php
   About / Contact / Privacy / Terms / any static Page
   ============================================================ */

.page-main {
    position: relative;
    z-index: 1; /* sit above fixed bg-canvas (z-index:0) */
}

/* ── Hero / header ──────────────────────────────────────── */
.page-hero {
    position: relative;
    z-index: 1;
    padding: 5rem 0 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.page-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.page-hero__eyebrow {
    color: var(--primary);
    margin: 0;
}

.page-hero__title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    color: var(--foreground);
    margin: 0;
    line-height: 0.95;
}

/* ── Body / content ─────────────────────────────────────── */
.page-body {
    position: relative;
    z-index: 1;
    padding: 3.5rem 0 6rem;
}

.page-body__inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .page-body__inner { padding: 0 1.5rem; }
}

.page-content {
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--foreground);
}

/* Typography */
.page-content > *:first-child { margin-top: 0; }
.page-content > *:last-child  { margin-bottom: 0; }

.page-content p {
    margin: 0 0 1.4rem;
    color: rgba(236, 232, 225, 0.88);
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.05;
    color: var(--foreground);
    margin: 2.6rem 0 1rem;
}

.page-content h2 { font-size: 2rem; }
.page-content h3 { font-size: 1.5rem; }
.page-content h4 { font-size: 1.2rem; }
.page-content h5,
.page-content h6 { font-size: 1rem; }

.page-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 70, 85, 0.4);
    transition: color var(--transition), border-color var(--transition);
}

.page-content a:hover,
.page-content a:focus-visible {
    color: var(--primary-glow);
    border-bottom-color: var(--primary-glow);
}

.page-content ul,
.page-content ol {
    margin: 0 0 1.4rem;
    padding-left: 1.4rem;
    color: rgba(236, 232, 225, 0.88);
}

.page-content li { margin: 0 0 0.5rem; }

.page-content ul li::marker { color: var(--primary); }
.page-content ol li::marker { color: var(--primary); font-family: var(--font-tech); }

.page-content blockquote {
    margin: 0 0 1.6rem;
    padding: 0.75rem 0 0.75rem 1.4rem;
    border-left: 3px solid var(--primary);
    background: rgba(255, 255, 255, 0.025);
    color: var(--muted);
    font-style: italic;
}

.page-content blockquote p:last-child { margin-bottom: 0; }

.page-content code {
    font-family: var(--font-tech);
    font-size: 0.85em;
    background: rgba(255, 255, 255, 0.06);
    color: var(--foreground);
    padding: 0.15em 0.4em;
    border-radius: 3px;
}

.page-content pre {
    font-family: var(--font-tech);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.1rem 1.25rem;
    margin: 0 0 1.6rem;
    overflow-x: auto;
    line-height: 1.6;
}

.page-content pre code {
    background: none;
    padding: 0;
    font-size: 0.85rem;
}

.page-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 0 1.6rem;
}

.page-content hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2.5rem 0;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.6rem;
    font-size: 0.95rem;
}

.page-content th,
.page-content td {
    text-align: left;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-content th {
    font-family: var(--font-tech);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.03);
}

/* wp_link_pages multi-page nav */
.page-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.5rem;
    color: var(--muted);
}

.page-pagination a,
.page-pagination > span > span {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-pagination a {
    color: var(--primary);
    text-decoration: none;
    transition: border-color var(--transition), color var(--transition);
}

.page-pagination a:hover { border-color: var(--primary); }

@media (max-width: 639px) {
    .page-hero { padding: 3.5rem 0 2rem; }
    .page-body { padding: 2.5rem 0 4rem; }
    .page-content { font-size: 0.98rem; }
}

/* ============================================================
   HEADER LIVE SEARCH SUGGESTIONS (.nav-suggest)
   ============================================================ */
.nav-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    z-index: 1200;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(0,0,0,0.6);
    max-height: 70vh;
    overflow-y: auto;
}
.nav-suggest__group { padding: 0.25rem 0; border-bottom: 1px solid var(--border-light); }
.nav-suggest__group:last-of-type { border-bottom: 0; }
.nav-suggest__label {
    font-family: var(--font-tech);
    font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted);
    padding: 0.55rem 0.9rem 0.35rem;
}
.nav-suggest__item {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.5rem 0.9rem;
    text-decoration: none; color: var(--foreground);
    transition: background 0.15s ease;
}
.nav-suggest__item:hover,
.nav-suggest__item.is-active { background: var(--surface-2); }
.nav-suggest__thumb {
    width: 38px; height: 38px;
    object-fit: cover; object-position: center top;
    background: var(--surface-2);
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.nav-suggest__thumb--ph { display: block; }
.nav-suggest__text { display: flex; flex-direction: column; min-width: 0; }
.nav-suggest__title {
    font-family: var(--font-display);
    font-size: 0.98rem; letter-spacing: 0.03em; line-height: 1.1;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-suggest__sub {
    font-family: var(--font-tech);
    font-size: 0.6rem; letter-spacing: 0.08em;
    color: var(--muted);
}
.nav-suggest__all {
    display: block; text-align: center;
    padding: 0.7rem;
    font-family: var(--font-tech);
    font-size: 0.65rem; letter-spacing: 0.14em;
    color: var(--primary); text-decoration: none;
    border-top: 1px solid var(--border);
    transition: background 0.15s ease;
}
.nav-suggest__all:hover { background: var(--surface-2); }
.nav-suggest__empty {
    padding: 1rem; text-align: center;
    font-family: var(--font-tech); font-size: 0.7rem;
    color: var(--muted);
}

/* ============================================================
   CLIENT-SIDE PAGINATION (.vpage) — players / teams archives
   ============================================================ */
.vpage {
    display: flex; justify-content: center; align-items: center;
    flex-wrap: wrap; gap: 0.4rem;
    margin-top: 3rem;
}
.vpage__btn {
    min-width: 40px; height: 40px;
    padding: 0 0.7rem;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--foreground);
    font-family: var(--font-tech); font-size: 0.8rem; letter-spacing: 0.05em;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.vpage__btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.vpage__btn.is-active {
    background: var(--primary); border-color: var(--primary); color: #fff;
}
.vpage__btn:disabled { opacity: 0.35; cursor: default; }
.vpage__gap {
    display: inline-flex; align-items: center;
    padding: 0 0.25rem; color: var(--muted);
    font-family: var(--font-tech);
}

/* ============================================================
   VCOL — HOMEPAGE SKIN COLLECTIONS
   ============================================================ */
.vcol { position: relative; padding: 3rem 0 4rem; overflow: hidden; }
.vcol__container { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.vcol__header { text-align: center; margin-bottom: 2.5rem; }
.vcol__eyebrow { font-size: 0.6rem; letter-spacing: 0.22em; color: var(--muted); margin-bottom: 0.6rem; }
.vcol__title-link { text-decoration: none; color: inherit; }
.vcol__title { font-size: clamp(1.8rem, 4.5vw, 3rem); letter-spacing: 0.04em; line-height: 1; margin-bottom: 0.5rem; }
.vcol__title em { font-style: normal; color: var(--primary); text-shadow: 0 0 32px rgba(255,70,85,0.4); }
.vcol__sub { font-size: 0.6rem; letter-spacing: 0.16em; color: rgba(255,255,255,0.4); }

.vcol__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 168px; gap: 1rem; }
.vcol__card {
    position: relative; display: block; overflow: hidden;
    border: 1px solid var(--border); text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.vcol__card--featured { grid-column: span 2; grid-row: span 2; }
.vcol__card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,0.5), 0 0 30px -10px var(--primary); }
.vcol__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.vcol__card:hover .vcol__img { transform: scale(1.07); }
.vcol__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,25,35,0) 28%, rgba(15,25,35,0.5) 64%, rgba(15,25,35,0.95) 100%); }
.vcol__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0.9rem 1.05rem 1rem; }
.vcol__rank { display: inline-block; font-size: 0.55rem; letter-spacing: 0.14em; color: var(--primary); margin-bottom: 0.25rem; }
.vcol__name { font-size: 1.1rem; line-height: 1.05; letter-spacing: 0.03em; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.85); }
.vcol__card--featured .vcol__name { font-size: 1.9rem; }
.vcol__cta { display: block; margin-top: 0.4rem; font-size: 0.55rem; letter-spacing: 0.14em; color: var(--muted); opacity: 0; transform: translateY(4px); transition: opacity 0.2s ease, transform 0.2s ease; }
.vcol__card:hover .vcol__cta { opacity: 1; transform: translateY(0); color: var(--primary); }
.vcol__corner { position: absolute; width: 12px; height: 12px; border-color: var(--primary); border-style: solid; border-width: 0; opacity: 0; transition: opacity 0.2s ease; z-index: 3; }
.vcol__corner--tl { top: 7px; left: 7px; border-top-width: 2px; border-left-width: 2px; }
.vcol__corner--br { bottom: 7px; right: 7px; border-bottom-width: 2px; border-right-width: 2px; }
.vcol__card:hover .vcol__corner { opacity: 0.9; }

@media (max-width: 1100px) { .vcol__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .vcol__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .vcol__card--featured { grid-column: span 2; grid-row: span 1; } .vcol__card--featured .vcol__name { font-size: 1.4rem; } }
@media (max-width: 440px)  { .vcol__grid { grid-template-columns: 1fr; } .vcol__card--featured { grid-column: span 1; } }

/* AJAX archive states (skins / players / teams) */
[data-archive].is-loading [data-archive-grid] { opacity: 0.45; transition: opacity 0.15s ease; pointer-events: none; }
.vpe-archive__empty {
    grid-column: 1 / -1;
    padding: 3rem 0; text-align: center;
    color: var(--muted); letter-spacing: 0.12em;
}

/* ── Whole-card interlink overlays (homepage blocks) ─────────────────────── */
.vsk__card, .vwp__tile, .vtm__item { position: relative; cursor: pointer; }
.vsk__card-link, .vwp__tile-link, .vtm__item-link {
    position: absolute; inset: 0; z-index: 5;
    overflow: hidden; text-indent: -9999px; white-space: nowrap;
    background: transparent; border: 0;
}

/* paginate_links() output (server-side pagination) */
.vpage a.page-numbers,
.vpage span.page-numbers {
    min-width: 40px; height: 40px; padding: 0 0.7rem;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--foreground); text-decoration: none;
    font-family: var(--font-tech); font-size: 0.8rem; letter-spacing: 0.05em;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.vpage a.page-numbers:hover { border-color: var(--primary); color: var(--primary); }
.vpage span.page-numbers.current {
    background: var(--primary); border-color: var(--primary); color: #fff;
}
.vpage span.page-numbers.dots {
    border: 0; background: transparent; color: var(--muted); min-width: auto;
}

/* Filter-bar submit buttons (players / teams) */
.pros-filters-bar__submit,
.teams-filters-bar__submit {
    padding: 0 1.3rem; align-self: stretch;
    background: var(--primary); color: #fff; border: 0;
    font-family: var(--font-tech); font-size: 0.68rem; letter-spacing: 0.14em;
    cursor: pointer; transition: background 0.15s ease;
}
.pros-filters-bar__submit:hover,
.teams-filters-bar__submit:hover { background: var(--primary-glow); }
