/* ============================================================
   FUN RUN — VELOCITY DARK · PREMIUM FUTURISTIC
   Glassmorphism · gradient borders · elektrik biru + kuning
   Semua nama class lama dipertahankan (kompatibel dgn /admin)
   ============================================================ */

:root {
    /* Palet inti */
    --bg0: #04060c;
    --bg1: #090d1a;
    --surface: rgba(15, 21, 42, 0.62);
    --surface-solid: #10162b;
    --ink: #eef2fc;
    --dim: #8d99ba;

    --blue: #4f7dff;
    --blue-deep: #2743c4;
    --cyan: #37e0ff;
    --yellow: #ffd60a;
    --yellow-deep: #ffb800;
    --kuning-deep: #ffb800;

    /* Legacy vars */
    --biru-900: #070b17;
    --biru-800: #0b1124;
    --biru-700: #16204a;
    --biru-600: #4f7dff;
    --biru-100: rgba(79, 125, 255, 0.14);
    --kuning: #ffd60a;
    --kuning-600: #ffb800;
    --putih: #f4f7ff;
    --abu: #05070d;
    --teks: #d9e1f5;
    --abu-teks: #8d99ba;
    --garis: rgba(148, 165, 210, 0.16);
    --merah: #ff7b7d;
    --merah-bg: rgba(255, 123, 125, 0.1);
    --hijau: #3ddc9a;
    --hijau-bg: rgba(61, 220, 154, 0.1);
    --orange: #ffc757;
    --orange-bg: rgba(255, 199, 87, 0.1);

    --radius: 14px;
    --radius-lg: 20px;
    --line: rgba(148, 165, 210, 0.16);
    --glow-blue: 0 10px 44px rgba(79, 125, 255, 0.28);
    --glow-yellow: 0 10px 38px rgba(255, 214, 10, 0.28);
    --grad-line: linear-gradient(90deg, var(--blue), var(--cyan) 45%, var(--yellow));
    --font-display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
    --font-body: 'Space Grotesk', 'Segoe UI', Tahoma, sans-serif;
    --font-mono: 'Space Mono', Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background:
        radial-gradient(1000px 480px at 88% -8%, rgba(39, 67, 196, 0.22), transparent 62%),
        radial-gradient(820px 420px at -12% 34%, rgba(55, 224, 255, 0.08), transparent 58%),
        linear-gradient(180deg, var(--bg1), var(--bg0) 46%);
    background-attachment: fixed;
    color: var(--teks);
    line-height: 1.68;
    overflow-x: hidden;
}

/* Grid samar presisi — tekstur teknologi */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(140, 165, 230, 0.038) 1px, transparent 1px),
        linear-gradient(90deg, rgba(140, 165, 230, 0.038) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 92% 68% at 50% 0%, #000 32%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 92% 68% at 50% 0%, #000 32%, transparent 100%);
    pointer-events: none;
}

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #26345e, #17203f);
    border-radius: 99px;
    border: 2px solid var(--bg0);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--blue-deep), var(--blue)); }

::selection { background: var(--yellow); color: #12100a; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.page { min-height: calc(100vh - 160px); padding-bottom: 64px; }

h1, h2, h3 { color: var(--ink); line-height: 1.12; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.015em; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

hr { border: none; border-top: 1px solid var(--line) !important; }

code {
    font-family: var(--font-mono);
    font-size: 0.92em;
    background: rgba(55, 224, 255, 0.09);
    border: 1px solid rgba(55, 224, 255, 0.28);
    border-radius: 7px;
    padding: 2px 9px;
    word-break: break-all;
}

/* ============================= NAVBAR ============================= */
.navbar {
    background: rgba(5, 8, 16, 0.66);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border-bottom: 1px solid rgba(148, 165, 210, 0.12);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled {
    background: rgba(4, 6, 13, 0.88);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.navbar::after {
    content: '';
    display: block;
    height: 1px;
    background: var(--grad-line);
    opacity: 0.55;
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
}
.brand {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 9px;
    text-transform: uppercase;
    line-height: 1;
}
.brand:hover { text-decoration: none; filter: brightness(1.15); }
/* Logo gambar di navbar (ganti file assets/img/logo-event.png) */
.brand-logo {
    display: block;
    height: clamp(36px, 5vw, 50px);
    width: auto;
    max-width: 240px;
    object-fit: contain;
}
.brand-icon { font-size: 22px; }
.nav-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nav-links a:not(.btn) {
    color: var(--dim);
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: 0.03em;
    position: relative;
    padding: 6px 2px;
    transition: color 0.2s ease;
}
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0; right: 100%; bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-line);
    transition: right 0.3s cubic-bezier(0.25, 0.8, 0.35, 1);
}
.nav-links a:not(.btn):hover { color: var(--ink); text-decoration: none; }
.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after { right: 0; }
.nav-links a.active:not(.btn) { color: var(--yellow); font-weight: 600; }

/* Tombol hamburger (mobile) */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(15, 21, 42, 0.6);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--yellow); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--yellow); }

/* ============================== HERO ============================== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: min(calc(100vh - 77px), 860px);
    min-height: min(calc(100svh - 77px), 860px);
    display: flex;
    align-items: center;
    padding: 84px 0 110px;
    isolation: isolate;
}
.hero-media {
    position: absolute;
    inset: -8% 0;
    z-index: -3;
    will-change: transform;
    transform: scale(1.08);
}
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: saturate(1.04) contrast(1.05) brightness(1.02);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(4, 6, 13, 0.34) 0%, rgba(4, 6, 13, 0.12) 42%, rgba(4, 6, 13, 0.5) 74%, var(--bg0) 100%),
        radial-gradient(58% 68% at 50% 40%, rgba(39, 67, 196, 0.14), transparent 72%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(120, 150, 230, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 150, 230, 0.055) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(180deg, transparent 6%, #000 54%, transparent 96%);
    -webkit-mask-image: linear-gradient(180deg, transparent 6%, #000 54%, transparent 96%);
    animation: gridDrift 26s linear infinite;
    pointer-events: none;
}
@keyframes gridDrift { to { background-position: 58px 116px; } }

.hero-fx { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.orb { position: absolute; border-radius: 50%; filter: blur(85px); z-index: -1; pointer-events: none; }
.orb-a { width: 360px; height: 360px; top: -120px; right: -80px; background: rgba(55, 224, 255, 0.13); animation: floaty 13s ease-in-out infinite alternate; }
.orb-b { width: 300px; height: 300px; bottom: -110px; left: -80px; background: rgba(255, 214, 10, 0.1); animation: floaty 16s ease-in-out infinite alternate-reverse; }
@keyframes floaty {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(26px, -22px, 0) scale(1.1); }
}

.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 860px; margin: 0 auto; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cyan);
    border: 1px solid rgba(55, 224, 255, 0.32);
    background: rgba(9, 20, 38, 0.5);
    backdrop-filter: blur(10px);
    padding: 10px 22px;
    border-radius: 999px;
    margin-bottom: 26px;
    box-shadow: 0 0 30px rgba(55, 224, 255, 0.12), inset 0 0 18px rgba(55, 224, 255, 0.05);
}
.hero-eyebrow::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 10px rgba(255, 214, 10, 0.9);
    animation: blinkDot 2.2s ease-in-out infinite;
}
@keyframes blinkDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

/* Judul utama = GAMBAR (ganti file di assets/img/logo-event.png) */
.hero-logo {
    display: block;
    margin: 0 auto 24px;
    max-width: min(600px, 90%);
    height: auto;
    filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 42px rgba(79, 125, 255, 0.22));
}

.hero h1 {
    color: var(--putih);
    font-size: clamp(42px, 7.4vw, 86px);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 14px;
    letter-spacing: 0.01em;
    text-shadow: 0 6px 44px rgba(0, 0, 0, 0.6);
}
.hero h1 span {
    background: linear-gradient(92deg, var(--yellow) 15%, #fff0a3 50%, var(--yellow) 85%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 5s linear infinite;
    filter: drop-shadow(0 0 24px rgba(255, 214, 10, 0.3));
}
@keyframes shimmer { to { background-position: 200% center; } }

.hero .tagline {
    font-family: var(--font-body);
    font-size: clamp(17px, 2.6vw, 24px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.015em;
    max-width: 680px;
    margin: 0 auto 18px;
    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.65),
        0 1px 3px rgba(0, 0, 0, 0.8);
}
.hero-desc {
    position: relative;
    color: #dbe4f7;
    font-size: clamp(13.5px, 1.8vw, 15.5px);
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto 30px;
    padding-top: 16px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}
.hero-desc::before {
    content: '';
    display: block;
    width: 46px;
    height: 2px;
    margin: 0 auto 14px;
    border-radius: 99px;
    background: var(--grad-line);
    box-shadow: 0 0 12px rgba(79, 125, 255, 0.55);
}
.hero-meta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.meta-chip {
    background: rgba(10, 16, 33, 0.55);
    border: 1px solid rgba(148, 165, 210, 0.26);
    backdrop-filter: blur(12px);
    padding: 10px 19px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    color: #d5def3;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.meta-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(55, 224, 255, 0.55);
    box-shadow: 0 8px 26px rgba(55, 224, 255, 0.15);
}

.countdown { display: flex; justify-content: center; gap: 13px; margin-bottom: 40px; flex-wrap: wrap; perspective: 700px; }
.count-box {
    position: relative;
    background: linear-gradient(170deg, rgba(22, 31, 60, 0.78), rgba(9, 13, 27, 0.85));
    border: 1px solid rgba(148, 165, 210, 0.22);
    backdrop-filter: blur(12px);
    color: var(--putih);
    min-width: 88px;
    padding: 15px 10px 13px;
    border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform-style: preserve-3d;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.count-box:hover {
    transform: translateY(-4px) rotateX(6deg);
    border-color: rgba(55, 224, 255, 0.5);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.48), 0 0 30px rgba(55, 224, 255, 0.16);
}
.count-box::before, .count-box::after {
    content: '';
    position: absolute;
    width: 12px; height: 12px;
    border: 1.5px solid rgba(55, 224, 255, 0.75);
}
.count-box::before { top: -1px; left: -1px; border-right: none; border-bottom: none; border-top-left-radius: 7px; }
.count-box::after { bottom: -1px; right: -1px; border-left: none; border-top: none; border-bottom-right-radius: 7px; }
.count-box .num {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    display: block;
    color: var(--yellow);
    text-shadow: 0 0 22px rgba(255, 214, 10, 0.35);
    font-variant-numeric: tabular-nums;
    line-height: 1.02;
}
.count-box .lbl { font-family: var(--font-mono); font-size: 9.5px; color: var(--dim); text-transform: uppercase; letter-spacing: 2.6px; font-weight: 700; }

.hero-actions { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

/* Indikator gulir ke bawah */
.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    width: 26px; height: 42px;
    border: 2px solid rgba(148, 165, 210, 0.45);
    border-radius: 15px;
    z-index: 1;
}
.scroll-hint::before {
    content: '';
    position: absolute;
    top: 7px; left: 50%;
    width: 4px; height: 9px;
    margin-left: -2px;
    border-radius: 3px;
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(55, 224, 255, 0.8);
    animation: wheel 1.7s ease-in-out infinite;
}
@keyframes wheel {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ==================== TICKER / MARQUEE ==================== */
.ticker {
    background: linear-gradient(90deg, var(--yellow-deep), var(--yellow) 30%, #ffd94e 70%, var(--yellow-deep));
    border-top: 1px solid rgba(0, 0, 0, 0.35);
    overflow: hidden;
    user-select: none;
}
.ticker-track { display: flex; width: max-content; animation: tickerMove 28s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
    display: inline-block;
    white-space: nowrap;
    padding: 12px 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #141005;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ============================= TOMBOL ============================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 29px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
}
.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-22deg);
    transition: left 0.55s ease;
    pointer-events: none;
}
.btn:hover::after { left: 135%; }
.btn:active { transform: scale(0.97); }

.btn-sm { padding: 10px 17px; font-size: 13px; border-radius: 11px; }
.btn-lg { padding: 16px 40px; font-size: 16.5px; border-radius: 16px; }
.btn-xs { padding: 6px 12px; font-size: 12px; border-radius: 9px; }

.btn-kuning {
    background: linear-gradient(135deg, #fff090, var(--kuning) 48%, #ffc61a);
    color: #171203;
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(255, 214, 10, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-kuning:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255, 214, 10, 0.42), var(--glow-yellow); }

.btn-biru {
    background: linear-gradient(135deg, #6b93ff, #3557e6);
    color: var(--putih);
    box-shadow: 0 8px 28px rgba(79, 125, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-biru:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(79, 125, 255, 0.42), var(--glow-blue); }

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    color: var(--ink);
    border-color: rgba(210, 222, 250, 0.4);
    backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 26px rgba(55, 224, 255, 0.2); transform: translateY(-2px); }

.btn-outline-biru { background: transparent; color: var(--cyan); border-color: rgba(55, 224, 255, 0.45); }
.btn-outline-biru:hover { background: rgba(55, 224, 255, 0.09); box-shadow: 0 0 24px rgba(55, 224, 255, 0.18); transform: translateY(-2px); }

.btn-danger { background: linear-gradient(135deg, #ff7a7c, #d0343b); color: #fff; box-shadow: 0 8px 24px rgba(255, 107, 109, 0.26); }
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 107, 109, 0.4); }
.btn-success { background: linear-gradient(135deg, #7df5c4, #25cf92); color: #052015; font-weight: 700; box-shadow: 0 8px 24px rgba(61, 220, 154, 0.26); }
.btn-success:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(61, 220, 154, 0.4); }
.btn-muted { background: rgba(148, 165, 210, 0.13); color: var(--teks); border: 1px solid var(--line); }
.btn-muted:hover { background: rgba(148, 165, 210, 0.2); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* ============================ SEKSI UMUM ========================== */
.section { padding: 84px 0 14px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
    font-size: clamp(38px, 5.6vw, 64px);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.section-head p { color: var(--abu-teks); font-size: 15px; }
.section-head .accent {
    display: inline-block;
    width: 64px;
    height: 3px;
    border-radius: 99px;
    margin-bottom: 18px;
    background: var(--grad-line);
    box-shadow: 0 0 16px rgba(79, 125, 255, 0.5);
}

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }

/* Judul kartu dasbor */
.card-title {
    font-size: 21px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
}

/* ---------- Rekap per kategori (dasbor admin) ---------- */
.rekap-item + .rekap-item { margin-top: 20px; padding-top: 20px; border-top: 1px dashed rgba(148, 165, 210, 0.18); }
.rekap-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 9px; }
.rekap-label { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--ink); line-height: 1; }
.rekap-pct { font-family: var(--font-mono); font-size: 11px; color: var(--dim); letter-spacing: 0.06em; white-space: nowrap; }
.rekap-bar {
    height: 9px;
    border-radius: 99px;
    background: rgba(148, 165, 210, 0.13);
    overflow: hidden;
    margin-bottom: 13px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}
.rekap-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    box-shadow: 0 0 12px rgba(55, 224, 255, 0.45);
    transition: width 0.7s cubic-bezier(0.25, 0.8, 0.35, 1);
}
.rekap-bar span.hot { background: linear-gradient(90deg, #ff9d00, var(--yellow)); box-shadow: 0 0 12px rgba(255, 214, 10, 0.45); }
.rekap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rchip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: var(--dim);
    background: rgba(148, 165, 210, 0.08);
    border: 1px solid var(--line);
}
.rchip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); flex-shrink: 0; }
.rchip b { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1; }
.rchip.blue::before { background: var(--blue); box-shadow: 0 0 8px rgba(79, 125, 255, 0.7); }
.rchip.green::before { background: var(--hijau); box-shadow: 0 0 8px rgba(61, 220, 154, 0.7); }
.rchip.yellow::before { background: var(--yellow); box-shadow: 0 0 8px rgba(255, 214, 10, 0.7); }
.rchip.muted::before { background: var(--dim); }

/* =============================== CARD ============================= */
.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 8%; right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 160, 255, 0.4), transparent);
    pointer-events: none;
}
.card-pad { padding: 30px; }

.kategori-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
.kategori-card:hover,
.kategori-card.tilt {
    transform: translateY(-6px);
    border-color: rgba(79, 125, 255, 0.5);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.5), var(--glow-blue);
}
.kategori-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    opacity: 0.9;
}
.kategori-card.unggulan { border-color: rgba(255, 214, 10, 0.4); }
.kategori-card.unggulan::after { background: linear-gradient(90deg, var(--yellow), #ff9d00); }
.kategori-card.unggulan:hover,
.kategori-card.unggulan.tilt { box-shadow: 0 22px 54px rgba(0, 0, 0, 0.5), var(--glow-yellow); border-color: rgba(255, 214, 10, 0.6); }

.kategori-badge {
    position: absolute;
    top: 19px;
    right: -43px;
    background: linear-gradient(135deg, #ffe566, var(--kuning-deep));
    color: #171203;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    padding: 6px 47px;
    transform: rotate(38deg);
    box-shadow: 0 4px 16px rgba(255, 214, 10, 0.35);
}
.kategori-jarak {
    font-family: var(--font-display);
    font-size: 74px;
    font-weight: 800;
    line-height: 0.95;
    background: linear-gradient(120deg, var(--putih) 20%, #93b4ff 60%, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.kategori-jarak small { font-family: var(--font-mono); font-size: 12px; color: var(--dim); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.kategori-harga {
    font-family: var(--font-mono);
    font-size: 21px;
    font-weight: 700;
    color: var(--yellow);
    margin: 12px 0 2px;
    text-shadow: 0 0 20px rgba(255, 214, 10, 0.22);
}
.kategori-sisa { font-size: 13px; color: var(--abu-teks); margin-bottom: 18px; }

/* ============================== STEPS ============================= */
.steps { counter-reset: langkah; display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 20px; position: relative; }
.steps::before {
    content: '';
    position: absolute;
    top: 33px;
    left: 7%; right: 7%;
    border-top: 1px dashed rgba(79, 125, 255, 0.4);
    z-index: 0;
}
.step {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(14px);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.step:hover {
    transform: translateY(-6px);
    border-color: rgba(55, 224, 255, 0.45);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.44), 0 0 30px rgba(55, 224, 255, 0.1);
}
.step-num {
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 1.5px solid rgba(79, 125, 255, 0.6);
    background: radial-gradient(circle at 32% 28%, rgba(79, 125, 255, 0.35), rgba(10, 15, 30, 0.6));
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 22px;
    box-shadow: 0 0 22px rgba(79, 125, 255, 0.28);
}
.step:nth-child(even) .step-num {
    border-color: rgba(255, 214, 10, 0.6);
    background: radial-gradient(circle at 32% 28%, rgba(255, 214, 10, 0.28), rgba(10, 15, 30, 0.6));
    box-shadow: 0 0 22px rgba(255, 214, 10, 0.22);
}
.step h3 { font-size: 21px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.step p { font-size: 13.5px; color: var(--abu-teks); }

/* ============================= PAY BOX ============================ */
.pay-box {
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    padding: 34px;
    display: flex;
    gap: 26px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    color: var(--putih);
    background:
        linear-gradient(160deg, rgba(20, 29, 58, 0.85), rgba(8, 12, 26, 0.92)) padding-box,
        linear-gradient(120deg, rgba(79, 125, 255, 0.85), rgba(55, 224, 255, 0.4) 45%, rgba(255, 214, 10, 0.65)) border-box;
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}
.pay-box::before {
    content: '';
    position: absolute;
    top: -70px; right: -30px;
    width: 240px; height: 240px;
    border: 1px dashed rgba(55, 224, 255, 0.25);
    border-radius: 50%;
    animation: spinSlow 30s linear infinite;
    pointer-events: none;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.pay-info strong {
    font-size: 26px;
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.pay-info p { color: #aab8dc; font-size: 14px; max-width: 520px; }
.rek {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 214, 10, 0.5);
    border-radius: var(--radius);
    padding: 16px 22px;
    text-align: center;
}
.rek .bank { font-family: var(--font-mono); font-size: 11px; letter-spacing: 3px; color: var(--yellow); font-weight: 700; }
.rek .norek { font-family: var(--font-mono); font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.rek .an { font-size: 13px; color: #aab8dc; }

.tentang p { color: var(--abu-teks); max-width: 780px; margin: 0 auto; text-align: center; }
.tentang h2 { text-transform: uppercase; }

/* ============================ CTA BANNER ========================== */
.cta-banner {
    position: relative;
    border-radius: var(--radius-lg);
    color: var(--putih);
    padding: 64px 32px;
    text-align: center;
    margin-top: 80px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(79, 125, 255, 0.35);
    background:
        radial-gradient(70% 120% at 50% 118%, rgba(55, 224, 255, 0.16), transparent 60%),
        linear-gradient(140deg, #101c4e, #0a1030 55%, #131a44);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(120, 160, 255, 0.13) 1.4px, transparent 1.8px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse 70% 80% at 50% 100%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 100%, #000, transparent 75%);
}
.cta-banner h2 { color: var(--putih); margin-bottom: 12px; font-size: clamp(34px, 5vw, 56px); text-transform: uppercase; }
.cta-banner p { color: #b6c4ec; margin-bottom: 28px; }

/* ============================== SPONSOR ============================== */
.sponsor-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 24px;
    margin-top: 10px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
}
.sponsor-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .85;
    transition: opacity .3s;
}
.sponsor-logo:hover { opacity: 1; }

/* ============================== FORM ============================== */
.form-card { max-width: 780px; margin: 46px auto 0; }
.form-title { padding: 30px 30px 0; }
.form-title h2 { font-size: 36px; text-transform: uppercase; }
.form-title p { color: var(--abu-teks); font-size: 14px; }
.form-body { padding: 26px 30px 32px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 7px; color: var(--ink); letter-spacing: 0.04em; }
.form-group label .req { color: var(--merah); }
.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 1.5px solid rgba(148, 165, 210, 0.22);
    border-radius: 12px;
    background: rgba(6, 10, 22, 0.6);
    color: var(--ink);
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-control::placeholder { color: #5a6788; }
.form-control:focus {
    outline: none;
    border-color: rgba(55, 224, 255, 0.65);
    background: rgba(6, 10, 22, 0.85);
    box-shadow: 0 0 0 3px rgba(55, 224, 255, 0.12), 0 0 24px rgba(55, 224, 255, 0.12);
}
select.form-control option { background: var(--surface-solid); color: var(--ink); }
textarea.form-control { resize: vertical; min-height: 84px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 18px; }
.hint { font-size: 12.5px; color: var(--abu-teks); margin-top: 5px; }

.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card label {
    display: block;
    border: 1.5px solid rgba(148, 165, 210, 0.22);
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    text-align: center;
    background: rgba(6, 10, 22, 0.45);
    transition: all 0.18s ease;
}
.radio-card label:hover { border-color: rgba(79, 125, 255, 0.55); transform: translateY(-2px); }
.radio-card input:checked + label {
    border-color: rgba(255, 214, 10, 0.65);
    background: rgba(255, 214, 10, 0.07);
    box-shadow: 0 0 0 1px rgba(255, 214, 10, 0.35), 0 0 26px rgba(255, 214, 10, 0.12);
}
.radio-card input:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: 2px; }
.radio-card .rc-title { font-weight: 700; color: var(--ink); display: block; }
.rc-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #171203;
    background: linear-gradient(135deg, #fff090, var(--kuning));
    border-radius: 999px;
    padding: 3px 12px;
    margin-bottom: 7px;
}
.eb-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--yellow);
    border: 1px solid rgba(255, 214, 10, 0.45);
    background: rgba(255, 214, 10, 0.08);
    padding: 5px 13px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.harga-lama {
    text-decoration: line-through;
    color: var(--abu-teks);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    margin-right: 8px;
    opacity: 0.85;
}
.radio-card .rc-price { font-family: var(--font-mono); font-size: 14px; color: var(--cyan); font-weight: 700; display: block; margin-top: 2px; }
.radio-card .rc-note { font-size: 12px; color: var(--abu-teks); display: block; margin-top: 4px; }

/* ============================== ALERT ============================= */
.alert { padding: 14px 17px; border-radius: 12px; font-size: 14px; margin-bottom: 18px; border: 1px solid; border-left-width: 3px; backdrop-filter: blur(8px); }
.alert a { font-weight: 700; text-decoration: underline; }
.alert-success { background: var(--hijau-bg); border-color: rgba(61, 220, 154, 0.35); color: #7fe9bd; }
.alert-danger { background: var(--merah-bg); border-color: rgba(255, 123, 125, 0.35); color: #ffa4a5; }
.alert-warning { background: var(--orange-bg); border-color: rgba(255, 199, 87, 0.35); color: #ffd98c; }
.alert-info { background: var(--biru-100); border-color: rgba(79, 125, 255, 0.4); color: #adc6ff; }

/* ============================== BADGE ============================= */
.badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border: 1px solid transparent;
}
.badge-success { background: var(--hijau-bg); color: #7fe9bd; border-color: rgba(61, 220, 154, 0.45); }
.badge-danger { background: var(--merah-bg); color: #ffa4a5; border-color: rgba(255, 123, 125, 0.45); }
.badge-warning { background: var(--orange-bg); color: #ffd98c; border-color: rgba(255, 199, 87, 0.45); }
.badge-info { background: var(--biru-100); color: #adc6ff; border-color: rgba(79, 125, 255, 0.45); }
.badge-muted { background: rgba(148, 165, 210, 0.1); color: var(--dim); border-color: rgba(148, 165, 210, 0.28); }

/* ============================== TABEL ============================= */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); }
table.table { width: 100%; border-collapse: collapse; background: transparent; font-size: 14px; }
.table-wrap table.table { min-width: 620px; }
.table th {
    background: rgba(55, 224, 255, 0.06);
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: left;
    padding: 14px 16px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(55, 224, 255, 0.35);
}
.table td { padding: 13px 16px; border-bottom: 1px solid rgba(148, 165, 210, 0.1); vertical-align: middle; color: var(--teks); }
.table tbody tr { transition: background 0.16s ease; }
.table tbody tr:hover { background: rgba(79, 125, 255, 0.07); }
.table .num { font-family: var(--font-mono); font-weight: 700; color: var(--yellow); white-space: nowrap; letter-spacing: 0.03em; }

/* =========================== NOMOR PESERTA (BIB) ================== */
.nomor-box {
    position: relative;
    background:
        radial-gradient(300px 150px at 50% 0%, rgba(255, 214, 10, 0.07), transparent 72%),
        rgba(8, 12, 26, 0.72);
    border: 1px solid rgba(255, 214, 10, 0.4);
    border-radius: var(--radius-lg);
    text-align: center;
    padding: 34px 20px 28px;
    margin: 20px 0;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4), inset 0 0 34px rgba(255, 214, 10, 0.03);
    overflow: hidden;
}
.nomor-box::before {
    content: '';
    position: absolute;
    inset: 9px;
    border: 1px dashed rgba(255, 214, 10, 0.3);
    border-radius: 14px;
    pointer-events: none;
}
.nomor-box .label { font-family: var(--font-mono); font-size: 10px; color: var(--abu-teks); text-transform: uppercase; letter-spacing: 4.5px; }
.nomor-box .nomor {
    font-family: var(--font-mono);
    font-size: clamp(30px, 7vw, 54px);
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 4px;
    margin: 8px 0 2px;
    line-height: 1.1;
    text-shadow: 0 0 28px rgba(255, 214, 10, 0.4);
}
.nomor-box .sub { font-size: 13px; color: var(--orange); font-weight: 600; margin-top: 8px; }
.copy-btn {
    margin-top: 16px;
    padding: 10px 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 214, 10, 0.5);
    background: rgba(255, 214, 10, 0.08);
    color: var(--yellow);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.copy-btn:hover { background: rgba(255, 214, 10, 0.16); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 214, 10, 0.2); }
.copy-btn.copied { color: #7fe9bd; border-color: rgba(61, 220, 154, 0.55); background: rgba(61, 220, 154, 0.1); }

.qris-area { text-align: center; }
.qris-img {
    width: 260px;
    height: 260px;
    object-fit: contain;
    border: 1px solid rgba(148, 165, 210, 0.3);
    border-radius: var(--radius);
    background: #fff;
    padding: 10px;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.03), 0 16px 38px rgba(0, 0, 0, 0.45);
}
.expired-count {
    font-family: var(--font-mono);
    font-size: 21px;
    font-weight: 700;
    color: var(--yellow);
    text-shadow: 0 0 16px rgba(255, 214, 10, 0.3);
    font-variant-numeric: tabular-nums;
}
.detail-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed rgba(148, 165, 210, 0.14); font-size: 14.5px; }
.detail-row:last-child { border-bottom: none; }
.detail-row .dl-label { color: var(--abu-teks); }
.detail-row .dl-value { font-weight: 600; text-align: right; color: var(--ink); }

/* ============================= PODIUM ============================ */
.podium { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; margin-bottom: 32px; align-items: end; }
.medal-card {
    text-align: center;
    padding: 32px 18px 26px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}
.medal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #97a4c4, #5f6b8c);
}
.medal-card.gold { background: linear-gradient(180deg, rgba(255, 214, 10, 0.09), rgba(15, 21, 42, 0.62)); }
.medal-card.silver { background: linear-gradient(180deg, rgba(205, 216, 240, 0.08), rgba(15, 21, 42, 0.62)); }
.medal-card.bronze { background: linear-gradient(180deg, rgba(224, 160, 108, 0.09), rgba(15, 21, 42, 0.62)); }
.medal-card.gold::before { background: linear-gradient(90deg, var(--yellow), #ff9d00); box-shadow: 0 2px 18px rgba(255, 214, 10, 0.45); }
.medal-card.silver::before { background: linear-gradient(90deg, #e8edf8, #98a5c2); box-shadow: 0 2px 18px rgba(205, 216, 240, 0.35); }
.medal-card.bronze::before { background: linear-gradient(90deg, #eda86b, #c47a3a); box-shadow: 0 2px 18px rgba(224, 160, 108, 0.35); }
.medal-card:hover { transform: translateY(-6px); border-color: rgba(148, 165, 210, 0.35); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5); }
.medal-card .medal { font-size: 42px; display: inline-block; animation: bobM 3.8s ease-in-out infinite; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5)); }
@keyframes bobM { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.medal-card .nama { font-weight: 700; color: var(--ink); margin: 10px 0 3px; font-size: 15.5px; }
.medal-card .waktu { font-family: var(--font-mono); font-weight: 700; color: var(--cyan); font-size: 19px; letter-spacing: 0.03em; text-shadow: 0 0 18px rgba(55, 224, 255, 0.25); }

.empty-state { text-align: center; padding: 56px 20px; color: var(--abu-teks); }
.empty-state .icon { font-size: 46px; display: block; margin-bottom: 12px; filter: drop-shadow(0 0 16px rgba(55, 224, 255, 0.3)); }
.empty-state h3 { text-transform: uppercase; font-size: 26px; }

/* ============================ AUTH (LOGIN) ======================== */
.auth-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
    background:
        radial-gradient(700px 380px at 82% -4%, rgba(39, 67, 196, 0.28), transparent 62%),
        radial-gradient(600px 340px at 8% 104%, rgba(55, 224, 255, 0.1), transparent 58%),
        linear-gradient(165deg, var(--bg1), var(--bg0));
}
.auth-card {
    width: 100%;
    max-width: 405px;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        linear-gradient(170deg, rgba(18, 26, 52, 0.92), rgba(8, 12, 26, 0.95)) padding-box,
        linear-gradient(150deg, rgba(79, 125, 255, 0.7), rgba(55, 224, 255, 0.3) 50%, rgba(255, 214, 10, 0.5)) border-box;
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 50px rgba(79, 125, 255, 0.12);
    animation: riseIn 0.55s cubic-bezier(0.22, 0.9, 0.3, 1.08);
}
@keyframes riseIn { from { opacity: 0; transform: translateY(26px) scale(0.97); } to { opacity: 1; transform: none; } }
.auth-head {
    background: rgba(5, 8, 18, 0.5);
    color: var(--putih);
    text-align: center;
    padding: 30px 20px;
    border-bottom: 1px solid rgba(148, 165, 210, 0.14);
    position: relative;
}
.auth-head::after {
    content: '';
    position: absolute;
    left: 20%; right: 20%; bottom: -1px;
    height: 2px;
    background: var(--grad-line);
    opacity: 0.8;
}
.auth-head .brand-icon { font-size: 38px; display: block; filter: drop-shadow(0 0 12px rgba(255, 214, 10, 0.45)); }
.auth-head h1 { color: var(--putih); font-size: 30px; margin-top: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.auth-body { padding: 28px; }

/* ============================== ADMIN ============================= */
.layout { display: flex; min-height: 100vh; }
.sidebar {
    width: 240px;
    background: rgba(7, 10, 21, 0.94);
    backdrop-filter: blur(14px);
    color: var(--putih);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; bottom: 0; left: 0;
    z-index: 40;
    border-right: 1px solid rgba(148, 165, 210, 0.12);
}
.side-brand {
    padding: 22px 18px;
    border-bottom: 1px solid rgba(148, 165, 210, 0.12);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    gap: 9px;
    align-items: center;
    line-height: 1.1;
    position: relative;
}
.side-brand::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: var(--grad-line);
    opacity: 0.7;
}
.side-nav { padding: 14px 10px; flex: 1; }
.side-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: #aab6d6;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
    border-left: 3px solid transparent;
    transition: background 0.18s, color 0.18s, transform 0.18s;
}
.side-link:hover { background: rgba(79, 125, 255, 0.1); color: var(--putih); text-decoration: none; transform: translateX(3px); }
.side-link.active {
    background: linear-gradient(90deg, rgba(79, 125, 255, 0.2), rgba(79, 125, 255, 0.04));
    color: var(--cyan);
    border-left-color: var(--cyan);
    font-weight: 600;
    box-shadow: inset 0 0 24px rgba(55, 224, 255, 0.06);
}
.side-foot { padding: 14px; border-top: 1px solid rgba(148, 165, 210, 0.12); font-size: 12px; color: #6d7ba1; }

.admin-main {
    margin-left: 240px;
    flex: 1;
    background:
        radial-gradient(800px 320px at 92% -6%, rgba(39, 67, 196, 0.12), transparent 60%),
        var(--bg0);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.topbar {
    background: rgba(8, 12, 24, 0.78);
    backdrop-filter: blur(16px);
    padding: 16px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(148, 165, 210, 0.12);
    position: sticky;
    top: 0;
    z-index: 30;
}
.topbar h1 { font-size: 27px; letter-spacing: 0.03em; text-transform: uppercase; }
.topbar-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.content-pad { padding: 28px; flex: 1; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 3px;
    background: var(--blue);
    box-shadow: 0 0 14px rgba(79, 125, 255, 0.55);
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(79, 125, 255, 0.45); box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42), var(--glow-blue); }
.stat-card.yellow::before { background: var(--yellow); box-shadow: 0 0 14px rgba(255, 214, 10, 0.5); }
.stat-card.green::before { background: var(--hijau); box-shadow: 0 0 14px rgba(61, 220, 154, 0.5); }
.stat-card.red::before { background: var(--merah); box-shadow: 0 0 14px rgba(255, 123, 125, 0.5); }
.stat-card .sc-num { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--ink); line-height: 1.05; }
.stat-card .sc-lbl { font-family: var(--font-mono); font-size: 10px; color: var(--abu-teks); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 4px; }

.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 17px 19px;
    margin-bottom: 18px;
    backdrop-filter: blur(12px);
}
.filter-bar .form-group { margin-bottom: 0; min-width: 150px; flex: 1; }
.filter-bar label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--abu-teks); }

.actions-cell { display: flex; gap: 6px; flex-wrap: wrap; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.inline-form { display: inline; }
details.reject-box { margin-top: 8px; }
details.reject-box summary { cursor: pointer; color: var(--merah); font-size: 13px; font-weight: 700; list-style: none; }
details.reject-box summary::-webkit-details-marker { display: none; }
details.reject-box[open] summary { margin-bottom: 8px; }

/* ============================== FOOTER ============================ */
.footer {
    background: rgba(4, 6, 13, 0.92);
    border-top: 1px solid rgba(148, 165, 210, 0.12);
    color: #93a1c4;
    padding: 34px 0;
    margin-top: auto;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 1px;
    background: var(--grad-line);
    opacity: 0.6;
}
.footer-inner { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.footer strong { color: var(--yellow); }

/* ============================ UTILITIES =========================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }

/* ==================== ANIMASI KARTU GANTUNG (SCROLL) ==============
   Kartu "tergantung": turun, berayun seperti bandul, lalu diam.
   Stagger delay diatur JS per kartu dalam satu grid.                */
.js .reveal { opacity: 0; }
.js .reveal.in { animation: hangIn 0.95s cubic-bezier(0.24, 0.9, 0.35, 1) both; transform-origin: 50% -30px; }
.js .reveal.in.done { animation: none; opacity: 1; }
.js .reveal-static { opacity: 1 !important; }
@keyframes hangIn {
    0%   { opacity: 0; transform: translateY(-38px) rotate(-2.2deg); }
    12%  { opacity: 1; }
    58%  { transform: translateY(4px) rotate(1.15deg); }
    80%  { transform: translateY(-1px) rotate(-0.4deg); }
    100% { opacity: 1; transform: none; }
}

/* ============================ RESPONSIVE ========================== */
@media (max-width: 960px) {
    .nav-toggle { display: block; order: 3; }
    .navbar-inner { padding-top: 12px; padding-bottom: 12px; }
    .nav-links {
        display: none;
        order: 4;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px 4px 16px;
        border-top: 1px solid var(--line);
        animation: menuDrop 0.28s cubic-bezier(0.25, 0.9, 0.35, 1);
    }
    .nav-links.open { display: flex; }
    @keyframes menuDrop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
    .nav-links a:not(.btn) { padding: 12px 10px; font-size: 15px; border-radius: 10px; }
    .nav-links a:not(.btn)::after { display: none; }
    .nav-links a:not(.btn):hover { background: rgba(79, 125, 255, 0.1); }
    .nav-links .btn { margin-top: 8px; justify-content: center; }

    .layout { flex-direction: column; }
    .sidebar { position: static; width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; }
    .side-brand { border: none; }
    .side-nav { display: flex; flex-wrap: wrap; padding: 8px; }
    .side-link { margin: 2px; border-left: none; transform: none; }
    .admin-main { margin-left: 0; }
    .hero { padding: 64px 0 96px; min-height: auto; }
    .pay-box { justify-content: center; text-align: center; }
    .content-pad { padding: 20px; }
    .topbar { padding: 14px 20px; }
    .steps::before { display: none; }
    .scroll-hint { display: none; }
}

@media (max-width: 620px) {
    .container { padding: 0 18px; }
    .card-pad, .form-body { padding: 22px; }
    .form-title { padding: 24px 22px 0; }
    .countdown { gap: 10px; }
    .count-box { min-width: 73px; padding: 12px 8px 11px; }
    .hero-meta { gap: 8px; }
    .meta-chip { font-size: 12.5px; padding: 8px 15px; }
    .hero-actions .btn { width: 100%; }
    .section { padding: 60px 0 8px; }
    .cta-banner { padding: 48px 24px; margin-top: 56px; }
    .pay-box { padding: 26px 22px; }
    .podium { gap: 16px; }
    .detail-row { flex-direction: column; gap: 2px; }
    .detail-row .dl-value { text-align: left; }
    .ticker-track span { font-size: 16px; }
    .hero-logo { max-width: 92%; }
}

@media (max-width: 400px) {
    .brand { font-size: 20px; }
    .count-box { min-width: 64px; }
    .count-box .num { font-size: 26px; }
}

/* Hormati preferensi pengguna: kurangi gerakan */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; }
    .ticker-track { animation: none; }
}

/* === Galeri Carousel === */
.galeri-section { padding-bottom: 24px; }
.galeri-slider {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    background: var(--card, #111827);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.galeri-viewport { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #0b0f1a; }
.galeri-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    margin: 0;
}
.galeri-slide.active { opacity: 1; }
.galeri-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.galeri-slide figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 20px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}
.galeri-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.galeri-nav:hover { background: var(--kuning, #f7c948); color: #111; }
.galeri-nav.prev { left: 12px; }
.galeri-nav.next { right: 12px; }
.galeri-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 6;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.galeri-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.galeri-dot.on { background: var(--kuning, #f7c948); border-color: var(--kuning, #f7c948); transform: scale(1.15); }

/* Row admin galeri */
.galeri-admin-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--garis, #e5e7eb);
}
.galeri-admin-row:last-child { border-bottom: none; }
.galeri-admin-row img {
    width: 84px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Nomor BIB di halaman sukses */
.bib-num {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 2px 10px;
    border-radius: 6px;
    background: rgba(247, 201, 72, 0.15);
    border: 1px solid var(--kuning, #f7c948);
}

/* Logo sponsor */
.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 36px;
}
.sponsor-logos img {
    height: 96px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    opacity: 0.85;
    filter: grayscale(0.2);
    transition: opacity 0.2s, filter 0.2s;
}
.sponsor-logos img:hover { opacity: 1; filter: none; }
