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

/* ========================= */
/* ROULETTE UI SYNC */
/* ========================= */

svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.pp-root {
    color: #d8ecff;
    background-color: #030811;
    background-image:
        linear-gradient(180deg, #03081118 0%, #0308112e 48%, #0308119e 100%),
        url('winter-site-background.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.pp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: min(100%, 1180px);
    height: 56px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(0, 199, 255, 0.16);
    background:
        linear-gradient(90deg, rgba(4, 14, 28, 0.96), rgba(10, 20, 35, 0.96)),
        #07101d;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: none;
}

.pp-header .pp-container {
    max-width: none;
    height: 56px;
    display: grid;
    grid-template-columns: 210px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 0 10px;
}

.pp-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.pp-logo-text {
    font-size: 28px;
    line-height: 1;
    font-weight: 1000;
    letter-spacing: -1px;
    color: #eafcff;
    background: none;
    -webkit-text-fill-color: currentColor;
    text-shadow:
        -2px 0 0 #40efff,
        2px 0 0 #8e64ff,
        0 0 18px rgba(33, 217, 255, 0.5);
}

.pp-logo-plays {
    font-size: 12px;
    color: #9bb2c6;
    transform: none;
}

.pp-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.pp-nav > a {
    position: relative;
    min-width: 124px;
    padding: 11px 14px;
    color: #a6b8cc;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
    opacity: 1;
    clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
    background: rgba(7, 20, 37, 0.76);
    border: 1px solid rgba(68, 220, 255, 0.14);
}

.pp-nav > a:hover,
.pp-nav > a[href="#leaderboard"] {
    color: #bdf9ff;
    background:
        linear-gradient(90deg, rgba(16, 122, 167, 0.42), rgba(9, 42, 77, 0.9));
    box-shadow:
        inset 0 0 18px rgba(68, 220, 255, 0.2),
        0 0 24px rgba(68, 220, 255, 0.14);
    transform: none;
}

#loginBtn,
#userBox,
.mobile-menu-btn {
    height: 38px;
    border: 1px solid rgba(71, 211, 255, 0.18);
    border-radius: 8px;
    background: rgba(2, 9, 18, 0.78);
    color: #64ddff;
    box-shadow: inset 0 0 14px rgba(40, 192, 255, 0.08);
}

#loginBtn {
    padding: 0 12px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 1000;
}

#userBox {
    padding: 0 9px;
    color: #d8ecff;
}

#userAvatar {
    width: 26px !important;
    height: 26px !important;
}

#userCoins {
    color: #f3c84d !important;
    font-weight: 1000 !important;
}

#userBox button {
    height: 28px;
    padding: 0 8px;
    border: 1px solid rgba(71, 211, 255, 0.18);
    border-radius: 6px;
    background: rgba(8, 20, 36, 0.86);
    color: #a6dfff;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
}

#betaBadge {
    color: #00ff66 !important;
    font-size: 11px;
    text-transform: uppercase;
    text-shadow: 0 0 10px #00ff66;
}

.pp-hero,
.pp-section {
    width: min(100%, 1180px);
    margin: 8px auto 0;
    border: 1px solid rgba(49, 198, 255, 0.18);
    background:
        linear-gradient(90deg, rgba(0, 155, 255, 0.11) 1px, transparent 1px) 0 0 / 78px 78px,
        linear-gradient(180deg, rgba(0, 155, 255, 0.08) 1px, transparent 1px) 0 0 / 78px 78px,
        radial-gradient(circle at 50% 20%, rgba(34, 169, 255, 0.18), transparent 34%),
        linear-gradient(180deg, #050b15, #030711 68%, #02050b);
    box-shadow:
        inset 0 0 90px rgba(0, 164, 255, 0.1),
        0 0 26px rgba(0, 217, 255, 0.12);
}

.pp-hero {
    padding: 92px 0 66px;
}

.pp-section {
    padding: 72px 18px;
}

.pp-kicker,
.lb-hero-title {
    color: #8aa7c5;
}

.pp-hero-title span {
    background: linear-gradient(180deg, #e7fbff, #52e5ff);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 22px rgba(82, 229, 255, 0.2);
}

.pp-btn,
.pp-btn-primary {
    border: 1px solid rgba(75, 218, 255, 0.26);
    border-radius: 8px;
    background: rgba(8, 20, 36, 0.86);
    color: #75efff;
    text-transform: uppercase;
    font-weight: 1000;
}

.lb-hero,
.leaderboard-content,
#adminPanel {
    clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
    border-radius: 0;
    background: rgba(3, 9, 18, 0.86);
    border: 1px solid rgba(60, 213, 255, 0.24);
    box-shadow:
        inset 0 0 32px rgba(42, 195, 255, 0.08),
        0 0 28px rgba(42, 195, 255, 0.08);
}

:root {
    --bg: #0d1117;
    --panel: #141824;
    --panel-2: #1b2030;
    --panel-3: #222838;
    --text: #e6e8f2;
    --muted: #9aa4af;
    --green: #5cffc1;
    --green-2: #00ffc3;
    --gold: #ffb300;
    --gold-2: #ffd66b;
    --red: #ff4d4d;
    --border: rgba(255, 255, 255, 0.08);
    --gold-border: rgba(255, 180, 0, 0.18);
}

html {
    scroll-behavior: smooth;
}

body.pp-root {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 180, 0, 0.08), transparent 40%),
        radial-gradient(circle at 80% 100%, rgba(0, 255, 195, 0.06), transparent 45%),
        var(--bg);
}

a {
    color: var(--green);
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    color: #7cffd1;
}

a:visited {
    color: var(--green);
}

.pp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
}

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

.particle {
    position: fixed;
    bottom: -130px;
    width: 150px;
    height: 92px;
    border-radius: 0;
    background: none;
    filter:
        drop-shadow(0 0 10px rgba(255, 209, 92, 0.62))
        drop-shadow(0 0 22px rgba(69, 231, 255, 0.28));
    animation: particleFloat linear forwards;
    cursor: grab;
    pointer-events: auto;
    touch-action: none;
    user-select: none;
    will-change: transform, opacity;
}

.particle.dragging {
    z-index: 45;
    cursor: grabbing;
    opacity: 1 !important;
    filter:
        drop-shadow(0 0 14px rgba(255, 209, 92, 0.85))
        drop-shadow(0 0 34px rgba(69, 231, 255, 0.45));
}

.particle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(-10deg);
    opacity: 1;
    pointer-events: none;
}

.particle::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 2px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 209, 92, 0.7), transparent);
    filter: blur(1px);
    opacity: 0.85;
}

.particle-fallback {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow:
        0 0 8px var(--gold),
        0 0 16px rgba(255, 180, 0, 0.55);
}

.particle-fallback img {
    display: none;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) rotate(-8deg) scale(var(--scale, 1));
        opacity: 0;
    }

    12% {
        opacity: 0.92;
    }

    88% {
        opacity: 0.92;
    }

    100% {
        transform: translateY(-118vh) translateX(var(--drift, 45px)) rotate(var(--spin, 24deg)) scale(var(--scale, 1));
        opacity: 0;
    }
}

/* ========================= */
/* HEADER */
/* ========================= */

.pp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 17, 23, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.pp-header .pp-container {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.pp-brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.pp-logo {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pp-logo-text {
    font-size: 20px;
    line-height: 1;
    background: linear-gradient(135deg, var(--green), #5956ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pp-logo-plays {
    font-size: 15px;
    line-height: 1;
    color: #fff;
    opacity: 0.85;
    transform: scaleY(-1);
}

.pp-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.pp-nav a {
    font-size: 15px;
    font-weight: 700;
    color: var(--green);
    opacity: 0.9;
}

.pp-nav a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.pp-case-btn {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 195, 0.3);
    background: rgba(0, 255, 195, 0.06);
    color: var(--green-2);
}

.pp-case-btn:hover {
    background: rgba(0, 255, 195, 0.15);
}

.pp-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 16px;
    border: 0;
    border-radius: 10px;

    background: linear-gradient(135deg, var(--gold), #ff8c00);
    color: #050814;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
}

.pp-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 180, 0, 0.28);
}

.pp-btn-primary {
    border: 1px solid rgba(69, 231, 255, 0.28);
    background:
        linear-gradient(180deg, rgba(13, 43, 75, 0.92), rgba(4, 15, 31, 0.94));
    color: #75efff;
    box-shadow:
        inset 0 0 18px rgba(69, 231, 255, 0.08),
        0 10px 28px rgba(0, 0, 0, 0.26);
}

#betaBadge {
    color: #00ff66 !important;
    font-weight: 900 !important;
    text-shadow: 0 0 10px #00ff66;
    animation: betaPulse 1.5s infinite;
}

@keyframes betaPulse {
    0%, 100% {
        opacity: 0.65;
    }

    50% {
        opacity: 1;
    }
}

#userBox {
    color: var(--text);
    font-size: 14px;
}

#userName {
    font-weight: 800;
}

#userCoins {
    color: var(--gold) !important;
    font-weight: 900 !important;
}

#userBox button {
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    cursor: pointer;
}

/* ========================= */
/* MOBILE MENU */
/* ========================= */

.mobile-menu-btn,
.mobile-menu,
.mobile-menu-backdrop {
    display: none;
}

.mobile-menu-btn {
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--gold);
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
}

.mobile-menu-backdrop.open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.64);
    backdrop-filter: blur(3px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;

    width: min(315px, 86vw);
    height: 100vh;
    padding: 18px;

    flex-direction: column;
    gap: 10px;

    background: #141824;
    border-left: 1px solid var(--border);

    transform: translateX(100%);
    transition: transform 0.25s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-user {
    display: grid;
    gap: 8px;
    padding: 14px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.mobile-menu-user strong {
    color: #fff;
}

.mobile-menu-user span {
    color: var(--muted);
}

.mobile-menu-user b {
    color: var(--gold);
}

.mobile-menu a,
.mobile-menu button {
    width: 100%;
    padding: 14px;
    text-align: left;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: #d1d5db;
    font-weight: 900;
    cursor: pointer;
}

.mobile-menu a:hover,
.mobile-menu button:hover {
    color: var(--green-2);
    background: rgba(0, 255, 195, 0.08);
}

/* ========================= */
/* HERO */
/* ========================= */

.pp-hero {
    position: relative;
    z-index: 1;
    padding: 95px 0 60px;
    text-align: center;
}

.pp-kicker {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.pp-hero-title {
    margin: 0 0 16px;
    font-size: clamp(42px, 8vw, 82px);
    line-height: 1.05;
    font-weight: 1000;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pp-hero-title span {
    background: linear-gradient(90deg, var(--green), #5956ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pp-hero-sub {
    max-width: 780px;
    margin: 0 auto 30px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.pp-hero-cta {
    display: flex;
    justify-content: center;
    gap: 14px;
}

/* ========================= */
/* LEADERBOARD HERO */
/* ========================= */

.pp-section {
    position: relative;
    z-index: 1;
    padding: 72px 0;
}

.lb-hero {
    max-width: 980px;
    margin: 0 auto 30px;
    padding: 42px 20px;
    text-align: center;
    border-radius: 16px;
    background:
        radial-gradient(circle at center, rgba(255, 180, 0, 0.09), transparent 62%),
        rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.lb-hero-title {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
}

.lb-amount-wrapper,
.lb-main {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-main {
    gap: 12px;
}

.lb-coin,
.coin-inline {
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--gold-2), var(--gold));
    box-shadow:
        0 0 15px rgba(255, 180, 0, 0.55),
        0 0 34px rgba(255, 180, 0, 0.2);
}

.lb-coin {
    width: 48px;
    height: 48px;
    animation: coinFlip 1.25s linear infinite;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.coin-inline {
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: -2px;
}

@keyframes coinFlip {
    0% {
        transform: perspective(240px) rotateY(0deg);
    }

    50% {
        transform: perspective(240px) rotateY(180deg);
    }

    100% {
        transform: perspective(240px) rotateY(360deg);
    }
}

.lb-amount {
    font-size: clamp(42px, 8vw, 56px);
    font-weight: 1000;
    background: linear-gradient(180deg, var(--gold-2), #ff9f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lb-hero-sub {
    margin-top: 14px;
    color: #b0bac5;
    font-size: 15px;
}

.lb-hero-code {
    display: inline-block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 1px;
}

.lb-hero-code span {
    color: var(--gold);
    font-weight: 900;
}

.lb-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.time-box {
    min-width: 66px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    background: rgba(5, 8, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.08);
}

.time-box span {
    color: var(--green-2);
    font-size: 18px;
    font-weight: 900;
}

.time-box small {
    margin-top: 2px;
    color: #888;
    font-size: 10px;
}

/* ========================= */
/* LEADERBOARD CONTENT */
/* ========================= */

.leaderboard-content {
    max-width: 900px;
    margin: auto;
    padding: 30px;
    position: relative;
    overflow: hidden;

    background: rgba(20, 24, 30, 0.88);
    border-radius: 16px;
    border: 2px solid rgba(77, 243, 197, 0.7);
    box-shadow:
        0 0 25px rgba(77, 243, 197, 0.12),
        0 12px 48px rgba(0, 0, 0, 0.5);
}

.leaderboard-race-switch {
    width: min(760px, calc(100% - 24px));
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.race-tab {
    min-height: 92px;
    padding: 18px 22px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "label prize"
        "timer prize";
    align-items: center;
    gap: 6px 16px;
    border: 2px solid rgba(69, 231, 255, 0.16);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(18, 27, 44, 0.96), rgba(8, 13, 24, 0.96));
    color: #dbe9ff;
    cursor: pointer;
    text-align: left;
    box-shadow:
        inset 0 0 22px rgba(69, 231, 255, 0.05),
        0 16px 34px rgba(0, 0, 0, 0.34);
    transition: 0.2s;
}

.race-tab.active {
    border-color: rgba(255, 180, 0, 0.52);
    background:
        linear-gradient(180deg, rgba(60, 39, 18, 0.96), rgba(18, 18, 26, 0.96));
    box-shadow:
        inset 0 0 24px rgba(255, 180, 0, 0.09),
        0 16px 40px rgba(255, 180, 0, 0.12);
}

.race-tab span {
    grid-area: label;
    color: #ffffff;
    font-size: 16px;
    font-weight: 1000;
    text-transform: uppercase;
}

.race-tab strong {
    grid-area: prize;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 1000;
}

.race-tab small {
    grid-area: timer;
    color: #a9bdd5;
    font-size: 14px;
    font-weight: 1000;
    text-transform: uppercase;
}

.lb-coin.mini {
    width: 24px;
    height: 24px;
}

.leaderboard-board.is-hidden {
    display: none !important;
}

.daily-leaderboard-panel {
    max-width: 900px;
    margin: 0 auto 28px;
    padding: 24px 30px 28px;
    position: relative;
    border: 1px solid rgba(88, 255, 198, 0.24);
    background:
        radial-gradient(circle at 50% 0%, rgba(88, 255, 198, 0.12), transparent 46%),
        linear-gradient(180deg, rgba(6, 20, 34, 0.94), rgba(3, 9, 18, 0.9));
    box-shadow:
        inset 0 0 32px rgba(88, 255, 198, 0.06),
        0 0 28px rgba(88, 255, 198, 0.08);
    clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
}

.leaderboard-update-label {
    position: absolute;
    top: 12px;
    right: 18px;
    z-index: 3;
    color: #62ffd0;
    font-size: 13px;
    font-weight: 1000;
    text-shadow:
        0 0 8px rgba(98, 255, 208, 0.7),
        0 0 18px rgba(98, 255, 208, 0.22);
}

.daily-tools {
    position: absolute;
    top: 12px;
    right: 18px;
    z-index: 4;
    display: grid;
    justify-items: end;
    gap: 8px;
}

.daily-tools .leaderboard-update-label {
    position: static;
}

.previous-winners-btn,
.daily-winners-close {
    border: 1px solid rgba(98, 255, 208, 0.32);
    background: rgba(3, 13, 24, 0.92);
    color: #62ffd0;
    font-weight: 1000;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 16px rgba(98, 255, 208, 0.12);
}

.previous-winners-btn {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    letter-spacing: 0.8px;
}

.daily-winners-modal[hidden] {
    display: none;
}

.daily-winners-modal {
    position: absolute;
    inset: 76px 24px auto 24px;
    z-index: 20;
    display: grid;
    place-items: center;
    padding: 0;
    background: transparent;
}

.daily-winners-box {
    width: min(460px, 100%);
    max-height: none;
    overflow: auto;
    padding: 14px;
    border: 1px solid rgba(98, 255, 208, 0.26);
    border-radius: 12px;
    background:
        radial-gradient(circle at top, rgba(98, 255, 208, 0.1), transparent 48%),
        #07111e;
    box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.58),
        0 0 26px rgba(98, 255, 208, 0.12);
}

.daily-winners-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.daily-winners-head span,
.daily-winners-date {
    color: #62ffd0;
    font-size: 12px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.daily-winners-head strong {
    display: block;
    margin-top: 4px;
    color: #ffd15c;
    font-size: 22px;
    font-weight: 1000;
}

.daily-winners-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
}

.daily-winners-list {
    display: grid;
    gap: 10px;
}

.daily-winner-image-stage {
    display: grid;
    gap: 10px;
}

.daily-winner-image-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #a9bdd5;
    font-weight: 900;
}

.daily-winner-image-meta span {
    color: #62ffd0;
    font-size: 12px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.daily-winner-image-meta strong {
    color: #ffd15c;
    font-size: 13px;
    font-weight: 1000;
}

.daily-winner-image-stage img {
    width: 100%;
    max-height: 330px;
    object-fit: contain;
    border: 1px solid rgba(98, 255, 208, 0.22);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.24);
    box-shadow: 0 0 28px rgba(98, 255, 208, 0.1);
}

.daily-winner-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.daily-winner-nav button {
    min-width: 104px;
    padding: 8px 12px;
    border: 1px solid rgba(98, 255, 208, 0.32);
    border-radius: 8px;
    background: rgba(3, 13, 24, 0.92);
    color: #62ffd0;
    font-weight: 1000;
    text-transform: uppercase;
    cursor: pointer;
}

.daily-winner-nav button:disabled {
    cursor: not-allowed;
    opacity: 0.38;
}

.daily-winner-nav span {
    color: #ffffff;
    font-weight: 1000;
}

.daily-winners-day {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
}

.daily-winners-row {
    display: grid;
    grid-template-columns: 46px 1fr 120px 70px;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.daily-winners-row:last-child {
    border-bottom: 0;
}

.daily-winners-row span,
.daily-winners-row b {
    color: #6fffb0;
    font-weight: 1000;
}

.daily-winners-row strong {
    color: #ffffff;
}

.daily-winners-row em {
    color: #ffd15c;
    font-style: normal;
    font-weight: 900;
    text-align: right;
}

.daily-winners-row b {
    text-align: right;
}

.daily-winners-empty {
    padding: 18px;
    color: #a9bdd5;
    text-align: center;
    font-weight: 900;
}

.daily-hero {
    padding: 12px 0 14px;
    text-align: center;
}

.daily-hero .lb-main {
    justify-content: center;
}

.daily-hero .lb-amount {
    font-size: clamp(42px, 7vw, 64px);
}

.daily-hero .lb-hero-sub {
    max-width: 520px;
    margin: 8px auto 14px;
}

.daily-timer {
    margin-top: 8px;
}

.live-activity-bar {
    width: min(680px, 92%);
    min-height: 44px;
    margin: 18px auto 0;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 71, 87, 0.28);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(31, 8, 16, 0.88), rgba(7, 12, 22, 0.92));
    box-shadow:
        inset 0 0 20px rgba(255, 71, 87, 0.08),
        0 0 28px rgba(255, 71, 87, 0.08);
    color: #dbe9ff;
    font-weight: 900;
    overflow: hidden;
}

.weekly-activity-bar {
    margin: 8px auto 30px;
}

.live-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #ff3148;
    box-shadow: 0 0 0 rgba(255, 49, 72, 0.8);
    animation: livePulse 1.2s infinite;
}

.live-activity-bar.live-fresh {
    border-color: rgba(98, 255, 176, 0.42);
    background:
        linear-gradient(180deg, rgba(8, 38, 27, 0.9), rgba(7, 18, 22, 0.94));
    box-shadow:
        inset 0 0 22px rgba(98, 255, 176, 0.12),
        0 0 30px rgba(98, 255, 176, 0.14);
}

.live-activity-bar.live-fresh .live-dot {
    background: #62ffb0;
    animation: liveFreshPulse 1.2s infinite;
}

.live-activity-bar.live-fresh strong {
    color: #62ffb0;
}

.live-activity-bar strong {
    color: #ff5b70;
    font-size: 11px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.live-activity-bar em {
    min-width: 0;
    color: #ffffff;
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 49, 72, 0.72);
        transform: scale(0.95);
    }
    70% {
        box-shadow: 0 0 0 9px rgba(255, 49, 72, 0);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 49, 72, 0);
        transform: scale(0.95);
    }
}

@keyframes liveFreshPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(98, 255, 176, 0.72);
        transform: scale(0.95);
    }
    70% {
        box-shadow: 0 0 0 9px rgba(98, 255, 176, 0);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(98, 255, 176, 0);
        transform: scale(0.95);
    }
}

.daily-top3-wrapper {
    margin: 26px auto 18px;
}

.daily-extra-cards {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 0 auto 4px;
}

.daily-rank-card {
    width: 140px;
    min-height: 136px;
    border-color: rgba(98, 255, 208, 0.22);
    background:
        radial-gradient(circle at top, rgba(98, 255, 208, 0.08), transparent 56%),
        #111923;
    box-shadow:
        0 0 18px rgba(98, 255, 208, 0.14),
        0 12px 34px rgba(0, 0, 0, 0.45);
}

.daily-rank-card .medal {
    font-size: 28px;
    font-weight: 1000;
}

.daily-leaderboard-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.daily-leaderboard-head span {
    display: block;
    color: #58ffc6;
    font-size: 13px;
    font-weight: 1000;
    letter-spacing: 2px;
}

.daily-leaderboard-head strong {
    display: block;
    color: #ffd15c;
    font-size: clamp(36px, 6vw, 54px);
    font-weight: 1000;
    line-height: 1;
    text-shadow:
        0 0 16px rgba(255, 209, 92, 0.38),
        0 0 34px rgba(255, 209, 92, 0.12);
}

.daily-leaderboard-head p {
    color: #a9bdd5;
    font-size: 12px;
    font-weight: 900;
}

.daily-leaderboard-table {
    margin-top: 0;
}

.daily-leaderboard-table tbody tr:nth-child(1) {
    box-shadow: inset 3px 0 0 rgba(255, 209, 92, 0.72);
}

.claim-withdraw-panel {
    max-width: 900px;
    margin: 0 auto 24px;
    display: grid;
    gap: 14px;
}

.claim-card,
.withdraw-card {
    padding: 18px;
    border: 1px solid rgba(75, 218, 255, 0.22);
    background: rgba(0, 9, 18, 0.76);
    clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
}

.claim-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.claim-card span,
.withdraw-card h3 {
    color: #8aa7c5;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.claim-card strong {
    display: block;
    margin-top: 4px;
    color: #00ffc3;
    font-size: 24px;
}

.claim-card small,
.withdraw-status {
    color: #8aa7c5;
    font-weight: 800;
}

.withdraw-card h3 {
    margin: 0 0 12px;
}

.withdraw-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr auto;
    gap: 10px;
}

.withdraw-grid input {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(75, 218, 255, 0.28);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border-radius: 8px;
}

.withdraw-request-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(75, 218, 255, 0.16);
    background: rgba(0, 0, 0, 0.35);
    color: #d8f7ff;
    text-align: left;
}

.withdraw-request-row strong {
    color: #fff;
}

.withdraw-request-row small {
    display: block;
    color: #8aa7c5;
    margin-top: 3px;
}

.withdraw-pill {
    color: #ffd243;
    font-weight: 900;
    text-transform: uppercase;
}

.withdraw-pill.approved {
    color: #00ff66;
}

@media (max-width: 720px) {
    .withdraw-grid,
    .withdraw-request-row {
        grid-template-columns: 1fr;
    }
}

.top3-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 25px;
    max-width: 720px;
    margin: 36px auto;
}

.race-video-podium {
    position: relative;
    width: min(980px, 100%);
    max-width: 980px;
    min-height: 520px;
    margin: 28px auto 34px;
    padding: 300px 22px 28px;
    overflow: hidden;
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 36%, rgba(112, 55, 185, 0.28), transparent 42%),
        linear-gradient(180deg, rgba(4, 10, 22, 0.2), rgba(4, 8, 18, 0.76));
}

.top3-stage-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    z-index: 0;
    pointer-events: none;
}

.podium-sound-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 209, 92, 0.34);
    border-radius: 999px;
    background: rgba(4, 12, 22, 0.72);
    color: #ffd15c;
    font-size: 11px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(255, 209, 92, 0.1);
}

.podium-sound-toggle span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5b70;
    box-shadow: 0 0 10px rgba(255, 91, 112, 0.62);
}

.podium-sound-toggle[aria-pressed="true"] span {
    background: #62ffb0;
    box-shadow: 0 0 12px rgba(98, 255, 176, 0.72);
}

.race-video-podium::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 10, 20, 0.02) 0%, rgba(5, 10, 20, 0.1) 44%, rgba(5, 10, 20, 0.72) 100%),
        radial-gradient(circle at 50% 70%, transparent 0 35%, rgba(0, 0, 0, 0.16) 72%);
}

.race-video-podium .top-card {
    z-index: 2;
    width: 178px;
    min-height: 118px;
    padding: 14px 14px 16px;
    background:
        linear-gradient(180deg, rgba(15, 27, 43, 0.64), rgba(6, 12, 22, 0.88));
    border-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.race-video-podium .top-card.gold {
    margin-bottom: 28px;
}

.race-video-podium .top-card.silver {
    margin-right: auto;
}

.race-video-podium .top-card.bronze {
    margin-left: auto;
}

.top-card {
    width: 150px;
    min-height: 208px;
    padding: 15px;
    border-radius: 14px;
    text-align: center;
    color: white;
    background: #171b24;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.top3-wrapper:not(.race-video-podium) .top-card {
    padding-top: 96px;
}

.place-character {
    position: absolute;
    left: 50%;
    bottom: 58px;
    width: 150px;
    max-width: 150%;
    height: 168px;
    object-fit: contain;
    object-position: bottom center;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
    filter:
        drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55))
        drop-shadow(0 0 18px rgba(255, 209, 92, 0.12));
    animation: placeCharacterIdle 3.4s ease-in-out infinite;
}

video.place-character {
    mix-blend-mode: normal;
}

.place-character-first {
    width: 176px;
    height: 194px;
    bottom: 54px;
}

.place-character-second,
.place-character-third {
    opacity: 0.94;
}

.top-card .medal,
.top-card .place,
.top-card div[id$="-name"],
.top-card div[id$="-wager"],
.top-card div[id$="-price"] {
    position: relative;
    z-index: 1;
}

@keyframes placeCharacterIdle {
    0%, 100% {
        transform: translateX(-50%) translateY(0) rotate(-0.5deg);
    }
    50% {
        transform: translateX(-50%) translateY(-7px) rotate(0.5deg);
    }
}

.top-card.gold {
    transform: scale(1.12);
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.5),
        0 0 60px rgba(255, 215, 0, 0.2);
}

.top-card.silver {
    box-shadow:
        0 0 18px rgba(255, 255, 255, 0.35),
        0 0 45px rgba(200, 200, 200, 0.16);
}

.top-card.bronze {
    box-shadow:
        0 0 18px rgba(205, 127, 50, 0.45),
        0 0 48px rgba(205, 127, 50, 0.16);
}

.top-card:hover {
    transform: scale(1.16);
}

.top-card.gold:hover {
    transform: scale(1.2);
}

.medal {
    font-size: 28px;
}

.place {
    margin-bottom: 8px;
    font-weight: 900;
    color: var(--muted);
}

.top-card div[id$="-name"] {
    font-weight: 900;
}

.player-name-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 2px 6px;
    border: 1px solid rgba(98, 255, 208, 0.28);
    border-radius: 999px;
    background: rgba(98, 255, 208, 0.08);
    color: #6fffb0;
    font-size: 9px;
    font-weight: 1000;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.top-card div[id$="-wager"] {
    margin-top: 8px;
    color: var(--gold);
    font-weight: 900;
}

.top-card div[id$="-price"] {
    margin-top: 6px;
    color: #6fffb0;
    font-weight: 900;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 28px;
    overflow: hidden;
    border-radius: 16px;
    background:
        radial-gradient(circle at top, rgba(255, 180, 0, 0.08), rgba(20, 24, 30, 0.96) 60%);
    border: 1px solid rgba(255, 180, 0, 0.2);
    box-shadow:
        0 0 20px rgba(255, 180, 0, 0.08),
        0 10px 40px rgba(0, 0, 0, 0.6);
}

.leaderboard-table thead {
    background: rgba(255, 255, 255, 0.03);
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.leaderboard-table th {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.leaderboard-table td {
    color: #d6dde5;
    font-size: 14px;
}

.leaderboard-table tbody tr {
    transition: 0.2s;
}

.leaderboard-table tbody tr:hover {
    background: rgba(255, 180, 0, 0.06);
}

.leaderboard-table tbody tr.rank-up {
    background:
        linear-gradient(90deg, rgba(98, 255, 176, 0.18), rgba(98, 255, 176, 0.04));
    box-shadow: inset 3px 0 0 #62ffb0;
}

.leaderboard-table tbody tr.rank-down {
    background:
        linear-gradient(90deg, rgba(255, 71, 87, 0.16), rgba(255, 71, 87, 0.035));
    box-shadow: inset 3px 0 0 #ff4757;
}

.rank-move {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 1000;
}

.rank-move-up {
    color: #62ffb0;
    background: rgba(98, 255, 176, 0.1);
}

.rank-move-down {
    color: #ff7181;
    background: rgba(255, 71, 87, 0.1);
}

.leaderboard-table td:nth-child(2) {
    color: #fff;
    font-weight: 800;
}

.leaderboard-table td:nth-child(3) {
    color: var(--gold);
    font-weight: 900;
}

.leaderboard-table td:nth-child(4) {
    color: #6fffb0;
    font-weight: 900;
}

.leaderboard-table tbody tr:nth-child(1) {
    box-shadow: inset 3px 0 0 rgba(88, 255, 198, 0.58);
}

/* ========================= */
/* ADMIN PANEL */
/* ========================= */

#adminPanel {
    max-width: 860px;
    margin: 40px auto;
    padding: 22px !important;
    border-radius: 16px;
    background: rgba(20, 24, 30, 0.9);
    border: 1px solid var(--gold-border);
    box-shadow: 0 12px 44px rgba(0, 0, 0, 0.42);
}

#adminPanel h3 {
    margin-bottom: 12px;
}

#adminPanel select,
#adminPanel input {
    width: min(280px, 100%);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #090d18;
    color: var(--text);
    outline: none;
}

#adminPanel button {
    margin: 5px;
}

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

.pp-footer {
    position: relative;
    z-index: 1;
    margin-top: 80px;
    padding: 0 0 40px;
    background: transparent;
}

.pp-footer-content {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
}

.pp-footer-content .pp-logo {
    align-items: center;
}

.pp-footnote {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

.pp-footnote a {
    color: var(--green-2);
}

.pp-footnote a:hover {
    text-decoration: underline;
}

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

@media (max-width: 860px) {
    .pp-header .pp-container {
        height: 62px;
        padding: 0 12px;
    }

    .pp-logo-text {
        font-size: 17px;
    }

    .pp-logo-plays {
        font-size: 12px;
    }

    .pp-nav > a,
    .pp-nav > #betaBadge,
    .pp-nav > #loginBtn,
    .pp-nav > #userBox {
        display: none !important;
    }

    .mobile-menu-btn {
        display: grid;
    }

    .mobile-menu {
        display: flex;
    }

    .pp-hero {
        padding: 58px 0 36px;
    }

    .pp-kicker {
        font-size: 12px;
    }

    .pp-hero-title {
        font-size: clamp(34px, 13vw, 56px);
        letter-spacing: 1px;
    }

    .pp-hero-sub {
        font-size: 15px;
    }

    .pp-section {
        padding: 46px 0;
    }

    .lb-hero {
        padding: 30px 12px;
    }

    .lb-main {
        gap: 8px;
    }

    .lb-coin {
        width: 36px;
        height: 36px;
    }

    .lb-amount {
        font-size: clamp(38px, 13vw, 48px);
    }

    .lb-timer {
        gap: 8px;
        flex-wrap: wrap;
    }

    .time-box {
        min-width: 58px;
        padding: 9px 10px;
    }

    .leaderboard-content {
        padding: 16px;
        border-radius: 12px;
    }

    .leaderboard-race-switch {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .race-tab {
        min-height: 76px;
        padding: 14px 16px;
    }

    .race-tab strong {
        font-size: 22px;
    }

    .daily-leaderboard-panel {
        padding: 38px 16px 18px;
        overflow-x: auto;
    }

    .leaderboard-update-label {
        top: 12px;
        right: 16px;
        font-size: 12px;
    }

    .daily-tools {
        top: 12px;
        right: 16px;
    }

    .daily-winners-modal {
        inset: 78px 12px auto 12px;
    }

    .daily-winners-box {
        width: 100%;
    }

    .daily-winner-image-stage img {
        max-height: 260px;
    }

    .previous-winners-btn {
        padding: 7px 9px;
        font-size: 10px;
    }

    .daily-winners-row {
        grid-template-columns: 38px 1fr;
    }

    .daily-winners-row em,
    .daily-winners-row b {
        text-align: left;
    }

    .daily-winner-image-meta,
    .daily-winner-nav {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .daily-winner-nav button {
        width: 100%;
    }

    .live-activity-bar {
        width: 100%;
        align-items: flex-start;
        justify-content: flex-start;
        flex-wrap: wrap;
        text-align: left;
    }

    .live-activity-bar em {
        width: 100%;
        white-space: normal;
    }

    .top3-wrapper {
        gap: 12px;
        margin: 28px auto;
    }

    .race-video-podium {
        min-height: 430px;
        padding: 238px 14px 20px;
        gap: 10px;
    }

    .race-video-podium .top-card {
        width: 31%;
        min-height: 110px;
        padding: 12px 8px;
    }

    .top-card {
        width: 31%;
        min-height: 190px;
        padding: 12px 8px;
    }

    .top3-wrapper:not(.race-video-podium) .top-card {
        padding-top: 82px;
    }

    .place-character {
        width: 132px;
        height: 150px;
        bottom: 54px;
    }

    .top-card.gold {
        transform: scale(1.06);
    }

    .top-card.gold:hover,
    .top-card:hover {
        transform: scale(1.08);
    }

    .daily-extra-cards {
        gap: 12px;
    }

    .daily-rank-card {
        width: 42%;
        min-height: 128px;
    }

    .leaderboard-table {
        min-width: 0;
        table-layout: fixed;
    }

    .leaderboard-table th,
    .leaderboard-table td {
        padding: 11px 6px;
        font-size: 12px;
    }

    .leaderboard-table th {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .leaderboard-table th:nth-child(1),
    .leaderboard-table td:nth-child(1) {
        width: 13%;
    }

    .leaderboard-table th:nth-child(2),
    .leaderboard-table td:nth-child(2) {
        width: 39%;
    }

    .leaderboard-table th:nth-child(3),
    .leaderboard-table td:nth-child(3) {
        width: 28%;
    }

    .leaderboard-table th:nth-child(4),
    .leaderboard-table td:nth-child(4) {
        width: 20%;
    }

    .leaderboard-table td:nth-child(2) .player-name-wrap {
        justify-content: flex-start;
        max-width: 100%;
    }

    .leaderboard-table td:nth-child(2) .player-name-wrap > span:first-child {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .leaderboard-content {
        overflow-x: auto;
    }
}

@media (max-width: 520px) {
    .pp-container {
        padding: 0 10px;
    }

    .pp-hero-cta .pp-btn {
        width: 100%;
    }

    #particles,
    .particle {
        display: none !important;
    }

    .top3-wrapper {
        align-items: stretch;
        flex-direction: column;
    }

    .race-video-podium {
        min-height: 390px;
        padding: 218px 8px 14px;
        align-items: flex-end;
        flex-direction: row;
        gap: 6px;
    }

    .top-card,
    .top-card.gold {
        width: 100%;
        min-height: 182px;
        transform: none;
    }

    .race-video-podium .top-card,
    .race-video-podium .top-card.gold {
        width: 32%;
        min-height: 104px;
        margin: 0;
        padding: 10px 5px 11px;
        transform: none;
    }

    .race-video-podium .top-card.gold {
        margin-bottom: 16px;
        transform: scale(1.04);
    }

    .race-video-podium .medal {
        font-size: 20px;
    }

    .race-video-podium .place {
        margin-bottom: 4px;
        font-size: 12px;
    }

    .race-video-podium .top-card div[id$="-name"] {
        font-size: 11px;
        line-height: 1.2;
    }

    .race-video-podium .top-card div[id$="-wager"],
    .race-video-podium .top-card div[id$="-price"] {
        margin-top: 5px;
        font-size: 11px;
    }

    .race-video-podium .profile-badge {
        display: none;
    }

    .podium-sound-toggle {
        top: 10px;
        right: 10px;
        min-height: 30px;
        padding: 0 9px;
        font-size: 10px;
    }

    .race-video-podium::after {
        background:
            linear-gradient(180deg, rgba(5, 10, 20, 0.02) 0%, rgba(5, 10, 20, 0.08) 46%, rgba(5, 10, 20, 0.62) 100%);
    }

    .race-video-podium .top-card {
        backdrop-filter: none;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
    }

    .race-video-podium .top-card.gold {
        box-shadow: 0 0 18px rgba(255, 215, 0, 0.28);
    }

    .live-dot {
        animation-duration: 1.8s;
    }

    .top3-wrapper:not(.race-video-podium) .top-card {
        padding-top: 78px;
    }

    .place-character {
        width: 126px;
        height: 142px;
        bottom: 48px;
    }

    .top-card:hover,
    .top-card.gold:hover {
        transform: none;
    }

    .race-video-podium .top-card.gold:hover {
        transform: scale(1.04);
    }

    .leaderboard-content {
        padding: 12px;
    }

    .leaderboard-table th,
    .leaderboard-table td {
        padding: 9px 4px;
        font-size: 11px;
    }

    .leaderboard-table th {
        font-size: 9px;
    }

    .leaderboard-table th:nth-child(1),
    .leaderboard-table td:nth-child(1) {
        width: 12%;
    }

    .leaderboard-table th:nth-child(2),
    .leaderboard-table td:nth-child(2) {
        width: 40%;
    }

    .leaderboard-table th:nth-child(3),
    .leaderboard-table td:nth-child(3) {
        width: 28%;
    }

    .leaderboard-table th:nth-child(4),
    .leaderboard-table td:nth-child(4) {
        width: 20%;
    }

    .leaderboard-table .profile-badge {
        font-size: 7px;
        min-height: 15px;
        padding: 2px 4px;
    }

    .rank-move {
        min-width: 24px;
        margin-left: 2px;
        padding: 1px 4px;
        font-size: 8px;
    }

    .leaderboard-table td:nth-child(3),
    .leaderboard-table td:nth-child(4) {
        white-space: nowrap;
    }

    #adminPanel {
        margin: 24px 10px;
    }

    #adminPanel .pp-btn,
    #adminPanel button {
        width: 100%;
        margin: 6px 0 !important;
    }
}

/* Final roulette-style overrides */
.pp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: min(100%, 1180px);
    height: 56px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(0, 199, 255, 0.16);
    background:
        linear-gradient(90deg, rgba(4, 14, 28, 0.96), rgba(10, 20, 35, 0.96)),
        #07101d;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: none;
}

.pp-header .pp-container {
    max-width: none;
    height: 56px;
    display: grid;
    grid-template-columns: 210px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 0 10px;
}

.pp-logo {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.pp-logo-text {
    font-size: 28px;
    line-height: 1;
    font-weight: 1000;
    letter-spacing: -1px;
    color: #eafcff;
    background: none;
    -webkit-text-fill-color: currentColor;
    text-shadow:
        -2px 0 0 #40efff,
        2px 0 0 #8e64ff,
        0 0 18px rgba(33, 217, 255, 0.5);
}

.pp-logo-plays {
    font-size: 12px;
    color: #9bb2c6;
    transform: none;
}

.pp-nav {
    gap: 10px;
}

.pp-nav > a {
    min-width: 124px;
    padding: 11px 14px;
    color: #a6b8cc;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
    opacity: 1;
    clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
    background: rgba(7, 20, 37, 0.76);
    border: 1px solid rgba(68, 220, 255, 0.14);
}

.pp-nav > a:hover,
.pp-nav > a[href="#leaderboard"] {
    color: #bdf9ff;
    background:
        linear-gradient(90deg, rgba(16, 122, 167, 0.42), rgba(9, 42, 77, 0.9));
    box-shadow:
        inset 0 0 18px rgba(68, 220, 255, 0.2),
        0 0 24px rgba(68, 220, 255, 0.14);
}

#loginBtn,
#userBox,
.mobile-menu-btn {
    height: 38px;
    border: 1px solid rgba(71, 211, 255, 0.18);
    border-radius: 8px;
    background: rgba(2, 9, 18, 0.78);
    color: #64ddff;
    box-shadow: inset 0 0 14px rgba(40, 192, 255, 0.08);
}

.pp-hero,
.pp-section {
    width: min(100%, 1180px);
    margin: 8px auto 0;
    border: 1px solid rgba(49, 198, 255, 0.18);
    background:
        linear-gradient(90deg, rgba(0, 155, 255, 0.11) 1px, transparent 1px) 0 0 / 78px 78px,
        linear-gradient(180deg, rgba(0, 155, 255, 0.08) 1px, transparent 1px) 0 0 / 78px 78px,
        radial-gradient(circle at 50% 20%, rgba(34, 169, 255, 0.18), transparent 34%),
        linear-gradient(180deg, #050b15, #030711 68%, #02050b);
    box-shadow:
        inset 0 0 90px rgba(0, 164, 255, 0.1),
        0 0 26px rgba(0, 217, 255, 0.12);
}

.leaderboard-content,
.lb-hero,
#adminPanel {
    border-radius: 0;
    clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
    background: rgba(3, 9, 18, 0.86);
    border: 1px solid rgba(60, 213, 255, 0.24);
    box-shadow:
        inset 0 0 32px rgba(42, 195, 255, 0.08),
        0 0 28px rgba(42, 195, 255, 0.08);
}

/* Professional casino polish */
:root {
    --casino-bg: #020610;
    --casino-panel: rgba(5, 15, 30, 0.88);
    --casino-panel-2: rgba(8, 23, 43, 0.78);
    --casino-cyan: #45e7ff;
    --casino-mint: #58ffc6;
    --casino-gold: #ffd15c;
    --casino-purple: #d96bff;
}

body.pp-root {
    background:
        linear-gradient(90deg, rgba(69, 231, 255, 0.06) 1px, transparent 1px) 0 0 / 72px 72px,
        linear-gradient(180deg, rgba(69, 231, 255, 0.045) 1px, transparent 1px) 0 0 / 72px 72px,
        linear-gradient(180deg, #050d19 0%, var(--casino-bg) 64%, #01030a 100%);
}

body.pp-root::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        linear-gradient(120deg, transparent 0 38%, rgba(69, 231, 255, 0.08) 38.2%, transparent 39% 100%),
        linear-gradient(245deg, transparent 0 46%, rgba(255, 209, 92, 0.06) 46.2%, transparent 47% 100%);
    opacity: 0.9;
}

#particles {
    opacity: 0.72;
}

.pp-header {
    width: min(100%, 1240px);
    height: 64px;
    border: 1px solid rgba(69, 231, 255, 0.16);
    border-top: 0;
    background:
        linear-gradient(180deg, rgba(7, 23, 42, 0.98), rgba(2, 8, 18, 0.96));
    box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.42),
        inset 0 -1px 0 rgba(88, 255, 198, 0.08);
}

.pp-header .pp-container {
    height: 64px;
}

.pp-logo-text {
    letter-spacing: 0;
    text-shadow:
        -1px 0 0 var(--casino-cyan),
        1px 0 0 #7268ff,
        0 0 18px rgba(69, 231, 255, 0.6);
}

.pp-nav > a,
#loginBtn,
#userBox,
.mobile-menu-btn {
    border-color: rgba(69, 231, 255, 0.22);
    background:
        linear-gradient(180deg, rgba(10, 32, 57, 0.9), rgba(4, 13, 28, 0.9));
}

.pp-nav > a:hover,
.pp-nav > a[href="#leaderboard"] {
    color: #ecfeff;
    border-color: rgba(88, 255, 198, 0.42);
    background:
        linear-gradient(90deg, rgba(18, 95, 126, 0.7), rgba(11, 35, 70, 0.94));
}

.pp-hero {
    position: relative;
    min-height: min(720px, calc(100vh - 72px));
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: clamp(76px, 12vw, 130px) 0 clamp(44px, 7vw, 76px);
}

.pp-hero::before {
    content: "";
    position: absolute;
    inset: 16px;
    pointer-events: none;
    border: 1px solid rgba(69, 231, 255, 0.12);
    clip-path: polygon(0 8%, 5% 0, 95% 0, 100% 8%, 100% 92%, 95% 100%, 5% 100%, 0 92%);
}

.pp-hero::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 34px;
    width: min(760px, 82vw);
    height: 140px;
    transform: translateX(-50%) perspective(640px) rotateX(64deg);
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(69, 231, 255, 0.16) 1px, transparent 1px) 0 0 / 56px 32px,
        linear-gradient(180deg, rgba(69, 231, 255, 0.18) 1px, transparent 1px) 0 0 / 56px 32px;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
    opacity: 0.6;
}

.pp-hero .pp-container {
    position: relative;
    z-index: 1;
}

.pp-kicker {
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--casino-mint);
    text-shadow: 0 0 18px rgba(88, 255, 198, 0.28);
}

.pp-hero-title {
    margin-top: 10px;
}

.pp-hero-title span {
    background: linear-gradient(180deg, #f8fdff 0%, #68eaff 42%, #8b78ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 38px rgba(69, 231, 255, 0.28);
}

.pp-hero-sub {
    max-width: 680px;
    margin-inline: auto;
    color: #a9bdd3;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.55;
}

.pp-hero-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.pp-btn,
.pp-btn-primary {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border-color: rgba(69, 231, 255, 0.28);
    background:
        linear-gradient(180deg, rgba(13, 43, 75, 0.92), rgba(4, 15, 31, 0.94));
    box-shadow:
        inset 0 0 18px rgba(69, 231, 255, 0.08),
        0 10px 28px rgba(0, 0, 0, 0.26);
}

.pp-btn-primary {
    color: #75efff;
    border-color: rgba(69, 231, 255, 0.28);
    background:
        linear-gradient(180deg, rgba(13, 43, 75, 0.92), rgba(4, 15, 31, 0.94));
    box-shadow:
        inset 0 0 18px rgba(69, 231, 255, 0.08),
        0 10px 28px rgba(0, 0, 0, 0.26);
}

.pp-btn-primary:hover {
    box-shadow:
        inset 0 0 20px rgba(69, 231, 255, 0.12),
        0 10px 26px rgba(0, 0, 0, 0.32);
}

.casino-lobby-grid {
    width: min(960px, calc(100% - 24px));
    margin: clamp(30px, 5vw, 54px) auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.casino-lobby-card {
    position: relative;
    min-height: 176px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 18px;
    overflow: hidden;
    color: #d9f8ff;
    border: 1px solid rgba(69, 231, 255, 0.22);
    background:
        linear-gradient(180deg, rgba(9, 28, 52, 0.62), rgba(2, 8, 18, 0.96));
    clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
    box-shadow:
        inset 0 0 28px rgba(69, 231, 255, 0.07),
        0 18px 46px rgba(0, 0, 0, 0.32);
}

.casino-lobby-card::before {
    content: "";
    position: absolute;
    inset: 14px 14px auto auto;
    width: 74px;
    aspect-ratio: 1;
    border: 1px solid currentColor;
    opacity: 0.28;
    transform: rotate(45deg);
}

.casino-lobby-card span {
    color: var(--casino-mint);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.casino-lobby-card strong {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1;
    text-transform: uppercase;
}

.casino-lobby-card em {
    color: #96aac0;
    font-style: normal;
    line-height: 1.45;
}

.roulette-card {
    border-color: rgba(88, 255, 198, 0.34);
}

.battle-card {
    border-color: rgba(255, 209, 92, 0.34);
}

.battle-card span,
.battle-card strong {
    color: var(--casino-gold);
}

.leaderboard-card {
    border-color: rgba(217, 107, 255, 0.34);
}

.leaderboard-card span,
.leaderboard-card strong {
    color: var(--casino-purple);
}

.pp-section {
    width: min(100%, 1240px);
    padding: clamp(38px, 6vw, 76px) clamp(10px, 3vw, 28px);
}

.lb-hero,
.leaderboard-content,
.affiliate-panel,
#adminPanel {
    background:
        linear-gradient(180deg, rgba(7, 22, 40, 0.9), rgba(2, 8, 18, 0.96));
}

.lb-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.top-card {
    background:
        linear-gradient(180deg, rgba(15, 32, 55, 0.92), rgba(6, 13, 26, 0.96));
    border: 1px solid rgba(69, 231, 255, 0.18);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
}

.top-card.gold {
    border-color: rgba(255, 209, 92, 0.55);
    box-shadow:
        0 0 34px rgba(255, 209, 92, 0.18),
        0 24px 58px rgba(0, 0, 0, 0.42);
}

.casino-affiliates {
    margin-top: 8px;
}

.affiliate-panel {
    width: min(980px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid rgba(255, 209, 92, 0.28);
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
    box-shadow:
        inset 0 0 28px rgba(255, 209, 92, 0.07),
        0 18px 46px rgba(0, 0, 0, 0.28);
}

.affiliate-panel h2 {
    margin: 4px 0 8px;
    color: #eafcff;
    font-size: clamp(28px, 4vw, 44px);
    text-transform: uppercase;
}

.affiliate-panel h2 span {
    color: var(--casino-gold);
}

.affiliate-panel p:not(.pp-kicker) {
    margin: 0;
    color: #9fb1c7;
}

@media (max-width: 960px) {
    .pp-header .pp-container {
        grid-template-columns: auto 1fr auto;
    }

    .pp-nav {
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .pp-nav::-webkit-scrollbar {
        height: 0;
    }

    .pp-nav > a {
        min-width: 112px;
    }

    .casino-lobby-grid {
        grid-template-columns: 1fr;
    }

    .affiliate-panel {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .pp-header,
    .pp-header .pp-container {
        height: auto;
        min-height: 58px;
    }

    .pp-header .pp-container {
        display: flex;
        justify-content: space-between;
    }

    .pp-logo-text {
        font-size: 22px;
    }

    .pp-logo-plays,
    .pp-nav > a,
    #loginBtn,
    #userBox {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex !important;
        width: auto;
        padding: 0 12px;
        font-size: 11px;
        text-transform: uppercase;
        font-weight: 1000;
    }

    .pp-hero {
        min-height: auto;
        margin-top: 0;
        padding: 64px 0 36px;
    }

    .pp-hero-title {
        font-size: clamp(42px, 15vw, 66px);
    }

    .pp-hero-cta .pp-btn {
        width: 100%;
    }

    .casino-lobby-card {
        min-height: 146px;
    }

    .pp-section {
        padding-inline: 8px;
    }
}
