:root {
            --fivept-bg: #000000;
            --fivept-surface: #171717;
            --fivept-surface-2: #1f1f1f;
            --fivept-panel: #101010;
            --fivept-card: #050505;
            --fivept-border: rgba(255, 255, 255, 0.08);
            --fivept-border-soft: rgba(255, 255, 255, 0.05);
            --fivept-text: #ffffff;
            --fivept-muted: #a6a8b2;
            --fivept-soft: #d8dbe8;
            --fivept-purple: #884dff;
            --fivept-purple-2: #b45cff;
            --fivept-yellow: #ffcf24;
            --fivept-blue: #2b8cff;
            --sidebar-width: 232px;
            --topbar-height: 74px;
        }

        * {
            box-sizing: border-box;
        }

        html,
        body {
            margin: 0;
            min-height: 100%;
            background: var(--fivept-bg);
            color: var(--fivept-text);
            font-family: Inter, Arial, Helvetica, sans-serif;
        }

        body {
            overflow-x: hidden;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .fivept-app {
            min-height: 100vh;
            display: grid;
            grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
            background: var(--fivept-surface);
        }

        .fivept-sidebar {
            position: sticky;
            top: 0;
            height: 100vh;
            background: #000;
            border-right: 1px solid var(--fivept-border);
            z-index: 40;
            display: flex;
            flex-direction: column;
        }

        .fivept-brand {
            height: var(--topbar-height);
            display: flex;
            align-items: center;
            gap: 13px;
            padding: 0 18px;
            border-bottom: 1px solid var(--fivept-border-soft);
        }

        .hamburger {
            width: 26px;
            height: 26px;
            display: grid;
            place-items: center;
            color: var(--fivept-muted);
            font-size: 22px;
        }

        .fivept-mark {
            width: 28px;
            height: 42px;
            border-radius: 4px;
            position: relative;
            background:
                repeating-linear-gradient(
                    90deg,
                    #f4f4f4 0,
                    #f4f4f4 3px,
                    transparent 3px,
                    transparent 6px
                );
            opacity: 0.95;
        }

        .fivept-wordmark {
            line-height: 1;
        }

        .fivept-wordmark strong {
            display: block;
            font-size: 18px;
            letter-spacing: -0.04em;
            font-weight: 950;
        }

        .fivept-wordmark span {
            display: block;
            margin-top: 4px;
            color: var(--fivept-muted);
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.13em;
        }

        .fivept-switch {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6px;
            margin: 14px 10px 10px;
            padding: 5px;
            background: #111;
            border: 1px solid var(--fivept-border);
            border-radius: 8px;
        }

        .fivept-switch a {
            height: 36px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            color: var(--fivept-muted);
            font-weight: 900;
            font-size: 13px;
        }

        .fivept-switch a.active {
            background: linear-gradient(135deg, var(--fivept-purple), var(--fivept-purple-2));
            color: #fff;
            box-shadow: 0 8px 22px rgba(136, 77, 255, 0.35);
        }

        .bonus-strip {
            margin: 0 10px 16px;
            height: 44px;
            border-radius: 6px;
            overflow: hidden;
            background:
                radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.38), transparent 24%),
                linear-gradient(135deg, #651dff, #ff32bd);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 14px;
            box-shadow: 0 12px 30px rgba(136, 77, 255, 0.24);
            font-size: 12px;
            font-weight: 950;
            text-transform: uppercase;
        }

        .bonus-strip strong {
            font-size: 22px;
            letter-spacing: -0.04em;
        }

        .fivept-nav {
            padding: 0 10px 12px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .fivept-nav a {
            height: 42px;
            padding: 0 14px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: var(--fivept-soft);
            font-weight: 850;
            font-size: 14px;
            transition: 0.15s ease;
        }

        .fivept-nav a:hover,
        .fivept-nav a.active {
            background: #101010;
            color: #fff;
        }

        .nav-left {
            display: inline-flex;
            align-items: center;
            gap: 12px;
        }

        .sidebar-spacer {
            flex: 1;
        }

        .language-row {
            margin: 0 10px 18px;
            height: 42px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: var(--fivept-soft);
            font-weight: 850;
            font-size: 14px;
            padding: 0 14px;
        }

        .fivept-main {
            min-width: 0;
            background: var(--fivept-surface);
        }

        .fivept-topbar {
            position: sticky;
            top: 0;
            z-index: 30;
            height: var(--topbar-height);
            background: #000;
            border-bottom: 1px solid var(--fivept-border);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 18px;
        }

        .top-tabs {
            display: flex;
            align-items: center;
            gap: 8px;
            padding-left: 4px;
        }

        .top-tabs a {
            height: 40px;
            padding: 0 18px;
            border-radius: 7px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--fivept-muted);
            background: #101010;
            font-weight: 900;
            font-size: 14px;
        }

        .top-tabs a.active {
            background: linear-gradient(135deg, var(--fivept-purple), var(--fivept-purple-2));
            color: #fff;
        }

        .top-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .connect-btn {
            height: 42px;
            min-width: 108px;
            padding: 0 22px;
            border-radius: 5px;
            border: 0;
            background: linear-gradient(135deg, var(--fivept-purple), #7d42ff);
            color: #fff;
            font-weight: 950;
            cursor: pointer;
        }

        .connect-btn.metamask-connected {
            background: linear-gradient(135deg, #ff8a00, #f15a24);
            box-shadow: 0 10px 26px rgba(255, 138, 0, 0.20);
        }

        .connect-btn.metamask-error {
            background: linear-gradient(135deg, #7a2636, #c23a56);
        }

        .wallet-status-pill {
            min-height: 42px;
            max-width: 220px;
            display: none;
            align-items: center;
            gap: 8px;
            padding: 0 12px;
            border-radius: 5px;
            border: 1px solid rgba(255, 138, 0, 0.28);
            background: rgba(255, 138, 0, 0.08);
            color: #ffd7a8;
            font-size: 12px;
            font-weight: 900;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .wallet-status-pill.is-visible {
            display: inline-flex;
        }

        .wallet-status-pill span {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .square-btn {
            width: 42px;
            height: 42px;
            border-radius: 5px;
            border: 1px solid var(--fivept-border);
            background: #101010;
            color: #fff;
            display: grid;
            place-items: center;
            font-weight: 900;
            cursor: pointer;
        }

        .fivept-content {
            max-width: 1320px;
            margin: 0 auto;
            padding: 28px 28px 64px;
        }

        .section-title-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            margin: 0 0 16px;
        }

        .section-title {
            display: flex;
            align-items: center;
            gap: 11px;
        }

        .section-title h2 {
            margin: 0;
            font-size: 24px;
            letter-spacing: -0.03em;
        }

        .section-title .emoji {
            width: 26px;
            height: 26px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background: #0a0a0a;
            font-size: 18px;
        }

        .section-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .view-all {
            color: #fff;
            font-size: 12px;
            font-weight: 950;
        }

        .arrow-pair {
            display: flex;
            border: 1px solid var(--fivept-border);
            border-radius: 7px;
            overflow: hidden;
        }

        .arrow-pair span {
            width: 40px;
            height: 34px;
            display: grid;
            place-items: center;
            background: #111;
            color: #fff;
            font-weight: 900;
        }

        .promo-row {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
            margin-bottom: 10px;
        }

        .promo-card {
            min-height: 152px;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
            background:
                linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.18)),
                radial-gradient(circle at 80% 50%, rgba(255, 207, 36, 0.32), transparent 34%),
                linear-gradient(135deg, #2d2d2d, #060606);
            border: 1px solid var(--fivept-border-soft);
            display: flex;
            align-items: center;
            padding: 26px;
        }

        .promo-card:nth-child(2) {
            background:
                linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.24)),
                radial-gradient(circle at 78% 48%, rgba(136, 77, 255, 0.38), transparent 32%),
                linear-gradient(135deg, #3b304d, #070707);
        }

        .promo-card:nth-child(3) {
            background:
                linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.18)),
                radial-gradient(circle at 78% 48%, rgba(255, 70, 195, 0.32), transparent 32%),
                linear-gradient(135deg, #564522, #070707);
        }

        .promo-card:after {
            content: "";
            position: absolute;
            right: -24px;
            top: -18px;
            width: 170px;
            height: 170px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
        }

        .promo-card small {
            position: relative;
            z-index: 1;
            display: block;
            color: var(--fivept-muted);
            text-transform: uppercase;
            font-weight: 950;
            letter-spacing: 0.08em;
        }

        .promo-card strong {
            position: relative;
            z-index: 1;
            display: block;
            margin-top: 6px;
            font-size: clamp(28px, 4.8vw, 48px);
            line-height: 0.92;
            letter-spacing: -0.06em;
        }

        .promo-card span {
            position: relative;
            z-index: 1;
            display: block;
            margin-top: 7px;
            color: var(--fivept-soft);
            font-size: 12px;
            font-weight: 850;
            text-transform: uppercase;
        }

        .dots {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            margin: 8px 0 28px;
        }

        .dot {
            width: 14px;
            height: 4px;
            border-radius: 999px;
            background: #444;
        }

        .dot.active {
            background: #fff;
        }

        .game-section {
            margin: 32px 0 0;
        }

        .card-row {
            display: grid;
            grid-template-columns: repeat(6, minmax(0, 1fr));
            gap: 10px;
        }

        .fivept-hot-games-row {
            grid-template-columns: repeat(7, minmax(0, 1fr));
        }

        .fivept-game-card {
            min-width: 0;
            background: #000;
            border-radius: 5px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.035);
            transition: transform 0.16s ease, border-color 0.16s ease;
            position: relative;
        }

        .fivept-game-card:hover {
            transform: translateY(-4px);
            border-color: rgba(136, 77, 255, 0.6);
        }

        .game-image {
            position: relative;
            aspect-ratio: 1.25 / 1;
            background:
                radial-gradient(circle at 50% 30%, rgba(136, 77, 255, 0.18), transparent 38%),
                linear-gradient(135deg, #242424, #050505);
            overflow: hidden;
        }

        .game-image img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .game-image:after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.42));
            pointer-events: none;
        }

        .game-fallback-title {
            position: absolute;
            left: 12px;
            right: 12px;
            bottom: 12px;
            z-index: 1;
            font-size: 20px;
            line-height: 0.92;
            font-weight: 1000;
            text-transform: uppercase;
            letter-spacing: -0.05em;
        }

        .game-info {
            padding: 9px 10px 11px;
            text-align: center;
        }

        .game-info small {
            display: block;
            color: var(--fivept-muted);
            font-size: 10px;
            font-weight: 850;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .game-info strong {
            display: block;
            margin-top: 3px;
            color: #fff;
            font-size: 12px;
            line-height: 1.15;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .provider-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
            gap: 8px;
        }

        .provider-card {
            min-height: 44px;
            border-radius: 5px;
            background: #000;
            border: 1px solid rgba(255, 255, 255, 0.045);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 7px 9px;
            color: #fff;
            font-size: 12px;
            font-weight: 950;
            letter-spacing: -0.02em;
            text-align: center;
            line-height: 1.05;
            transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
        }

        .provider-card:hover {
            transform: translateY(-2px);
            border-color: rgba(136, 77, 255, 0.58);
            background: #070707;
        }

        .provider-card span {
            color: var(--fivept-yellow);
            display: block;
            max-width: 100%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .catalog-filter {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(180px, 240px) minmax(150px, 180px) auto;
            gap: 10px;
            margin: 10px 0 16px;
        }

        .filter-input,
        .filter-select,
        .filter-submit {
            height: 42px;
            border-radius: 5px;
            border: 1px solid var(--fivept-border);
            background: #0d0d0d;
            color: #fff;
            padding: 0 14px;
            outline: 0;
            font-weight: 850;
        }

        .filter-input::placeholder {
            color: #6f727d;
        }

        .filter-submit {
            background: linear-gradient(135deg, var(--fivept-purple), var(--fivept-purple-2));
            border: 0;
            cursor: pointer;
            font-weight: 950;
        }

        .catalog-status {
            color: var(--fivept-muted);
            font-size: 13px;
            margin: 0 0 14px;
        }

        .pagination-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin: 24px 0 0;
            flex-wrap: wrap;
        }

        .pager-btn,
        .page-indicator {
            min-height: 38px;
            padding: 0 16px;
            border-radius: 5px;
            background: #0d0d0d;
            color: #fff;
            border: 1px solid var(--fivept-border);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 13px;
        }

        .chat-float {
            position: fixed;
            right: 26px;
            bottom: 24px;
            width: 54px;
            height: 54px;
            border-radius: 50%;
            background: #050505;
            border: 1px solid var(--fivept-border);
            color: #fff;
            display: grid;
            place-items: center;
            font-size: 22px;
            z-index: 50;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        }

        @media (max-width: 1200px) {
            .card-row,
            .fivept-hot-games-row {
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }

            .provider-grid {
                grid-template-columns: repeat(auto-fill, minmax(98px, 1fr));
            }

            .promo-row {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 860px) {
            .fivept-app {
                grid-template-columns: 1fr;
            }

            .fivept-sidebar {
                position: relative;
                height: auto;
            }

            .fivept-brand {
                height: 64px;
            }

            .fivept-nav {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .fivept-topbar {
                position: relative;
                height: auto;
                padding: 12px;
                gap: 12px;
                flex-wrap: wrap;
            }

            .fivept-content {
                padding: 20px 14px 54px;
            }

            .catalog-filter {
                grid-template-columns: 1fr;
            }

            .card-row,
            .fivept-hot-games-row {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .provider-grid {
                grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
            }
        }

/* BLOK 5PT-PAGE 0.5 — shell / client-loaded catalog */
.fivept-loading,
.fivept-empty {
    min-height: 104px;
    border-radius: 6px;
    border: 1px dashed rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.16);
    color: var(--fivept-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
}

.provider-grid .fivept-loading,
.provider-grid .fivept-empty {
    min-height: 44px;
}

.fivept-game-card.is-rendered {
    animation: fiveptCardIn 180ms ease-out both;
}

@keyframes fiveptCardIn {
    from { opacity: 0; transform: scale(0.985); }
    to { opacity: 1; transform: scale(1); }
}

.fivept-game-card.is-launching {
    transform: scale(0.985);
    opacity: 0.72;
    pointer-events: none;
}
