 :root {
            --c-primary:   <?= h($commerce['color_primary']) ?>;
            --c-secondary: <?= h($commerce['color_secondary']) ?>;
            --c-text:      <?= h($commerce['color_text']) ?>;
            --orange: #FF6B2B;
            --green:  #22C55E;
            --bg-dark: #07080f;
            --card-dark: #141727;
            --border: rgba(255,255,255,.1);
        }

        * { box-sizing: border-box; margin: 0; padding: 0 }
        body {
            background: var(--bg-dark);
            color: #ECEEF8;
            font-family: 'Plus Jakarta Sans', sans-serif;
            min-height: 100vh;
        }

        /* ── Bannière démo ── */
        .demo-banner {
            background: linear-gradient(135deg, #FF6B2B, #e85a1a);
            padding: 10px 20px;
            text-align: center;
            font-size: 13px;
            font-weight: 700;
            color: #fff;
            letter-spacing: .3px;
            position: sticky;
            top: 0;
            z-index: 200;
        }
        .demo-banner a {
            color: #fff;
            text-decoration: underline;
            margin-left: 12px;
            opacity: .85;
        }

        /* ── Menu burger ── */
        .burger-wrap {
            position: fixed;
            top: 46px; /* sous la bannière */
            right: 16px;
            z-index: 300;
        }
        .burger-btn {
            background: var(--card-dark);
            border: 1px solid rgba(255,107,43,.4);
            border-radius: 12px;
            padding: 10px 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 700;
            color: var(--orange);
            font-family: inherit;
            transition: all .2s;
            box-shadow: 0 4px 16px rgba(0,0,0,.4);
        }
        .burger-btn:hover {
            background: rgba(255,107,43,.12);
        }
        .burger-btn i { font-size: 16px; }

        /* ── Menu dropdown ── */
        .burger-menu {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            background: var(--card-dark);
            border: 1px solid rgba(255,107,43,.3);
            border-radius: 14px;
            padding: 8px;
            min-width: 220px;
            box-shadow: 0 12px 40px rgba(0,0,0,.6);
            display: none;
            flex-direction: column;
            gap: 4px;
        }
        .burger-menu.open { display: flex; }
        .burger-menu a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 11px 14px;
            border-radius: 10px;
            font-size: 13px;
            font-weight: 700;
            color: rgba(255,255,255,.8);
            text-decoration: none;
            transition: all .2s;
        }
        .burger-menu a:hover {
            background: rgba(255,107,43,.12);
            color: var(--orange);
        }
        .burger-menu a i {
            font-size: 16px;
            color: var(--orange);
            width: 20px;
            text-align: center;
        }

        /* ── Header ── */
        .demo-header {
            padding: 32px 20px 24px;
            text-align: center;
            border-bottom: 1px solid var(--border);
        }
        .demo-header__logo {
            width: 64px; height: 64px;
            border-radius: 16px;
            object-fit: cover;
            margin: 0 auto 14px;
            display: block;
            border: 2px solid var(--orange);
        }
        .demo-header__logo-placeholder {
            width: 64px; height: 64px;
            border-radius: 16px;
            background: var(--orange);
            display: flex; align-items: center; justify-content: center;
            font-size: 28px; font-weight: 800; color: #fff;
            margin: 0 auto 14px;
        }
        .demo-header__title {
            font-size: 26px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 8px;
        }
        .demo-header__title span { color: var(--orange); }
        .demo-header__sub {
            font-size: 14px;
            color: rgba(255,255,255,.5);
            max-width: 620px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* ── Section principale : grille jeux + vidéo ── */
        .demo-main {
            padding: 32px 20px;
            max-width: 1100px;
            margin: 0 auto;
            display: flex;
            gap: 32px;
            align-items: flex-start;
        }

        /* Colonne gauche : grille des jeux */
        .demo-games-col {
            flex: 1;
            min-width: 0;
        }
        .demo-games__title {
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .8px;
            color: rgba(255,255,255,.35);
            margin-bottom: 16px;
        }

        /* Grille 3 colonnes desktop, 2 colonnes mobile */
        .demo-games__grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
        }
        @media (max-width: 600px) {
            .demo-games__grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Colonne droite : vidéo */
        .demo-video-col {
            width: 420px;
            flex-shrink: 0;
        }
        .demo-video-col__title {
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .8px;
            color: rgba(255,255,255,.35);
            margin-bottom: 16px;
        }
        .demo-video-wrap {
            background: var(--card-dark);
            border: 1px solid rgba(255,107,43,.2);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0,0,0,.4);
        }
        .demo-video-wrap video {
            display: block;
            width: 100%;
            height: 320px;
            object-fit: cover;
        }
        .demo-video-placeholder {
            width: 100%;
            height: 320px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 12px;
            color: rgba(255,255,255,.3);
            font-size: 13px;
        }
        .demo-video-placeholder i { font-size: 40px; color: rgba(255,107,43,.4); }
        .demo-video-caption {
            padding: 12px 16px;
            font-size: 12px;
            color: rgba(255,255,255,.4);
            text-align: center;
            border-top: 1px solid var(--border);
        }

        /* Sur mobile : vidéo passe sous la grille, pleine largeur */
        @media (max-width: 860px) {
            .demo-main {
                flex-direction: column;
                gap: 24px;
            }
            .demo-video-col {
                width: 100%;
            }
            .demo-video-wrap video {
                height: 220px;
            }
            .demo-video-placeholder {
                height: 220px;
            }
        }

        /* ── Carte jeu ── */
        .game-card {
            background: var(--card-dark);
            border: 2px solid var(--border);
            border-radius: 14px;
            padding: 16px 12px;
            text-align: center;
            transition: all .2s;
            display: block;
        }
        .game-card.active {
            border-color: var(--orange);
            background: rgba(255,107,43,.08);
        }
        .game-card__emoji {
            font-size: 34px;
            display: block;
            margin-bottom: 8px;
        }
        .game-card__name {
            font-size: 12px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 2px;
        }
        .game-card__num {
            font-size: 10px;
            color: rgba(255,255,255,.3);
            margin-bottom: 12px;
        }
        .selected-badge {
            display: inline-block;
            background: var(--orange);
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 20px;
            margin-bottom: 10px;
        }
        .game-card__btns {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        /* ── Boutons test ── */
        .btn-test {
            padding: 8px 10px;
            border-radius: 9px;
            font-size: 11px;
            font-weight: 700;
            font-family: inherit;
            border: none;
            cursor: pointer;
            text-decoration: none;
            display: block;
            transition: all .2s;
        }
        .btn-test-lose {
            background: rgba(255,255,255,.07);
            color: rgba(255,255,255,.6);
        }
        .btn-test-lose:hover {
            background: rgba(255,255,255,.12);
            color: #fff;
        }
        .btn-test-win {
            background: linear-gradient(135deg, var(--orange), #e85a1a);
            color: #fff;
        }
        .btn-test-win:hover { opacity: .9; }

        /* ── Flèche scroll (indicateur mobile) ── */
        .scroll-hint {
            display: none;
            text-align: center;
            margin-top: 8px;
            font-size: 11px;
            color: rgba(255,255,255,.35);
            animation: bounce 1.4s infinite;
        }
        @media (max-width: 860px) {
            .scroll-hint { display: block; }
        }
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50%       { transform: translateY(4px); }
        }

        /* ── Zone de jeu ── */
        .demo-play-zone {
            max-width: 480px;
            margin: 0 auto;
            padding: 0 20px 40px;
        }

        /* ── Lot card ── */
        .demo-lot {
            background: rgba(255,107,43,.08);
            border: 1px solid rgba(255,107,43,.2);
            border-radius: 14px;
            padding: 16px;
            margin-bottom: 20px;
            text-align: center;
        }
        .demo-lot__label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .5px;
            color: var(--orange);
            margin-bottom: 6px;
        }
        .demo-lot__title {
            font-size: 18px;
            font-weight: 800;
            color: #fff;
        }
        .demo-lot__desc {
            font-size: 12px;
            color: rgba(255,255,255,.4);
            margin-top: 4px;
        }

        /* ── Info gagnant ── */
        .demo-win-info {
            background: rgba(34,197,94,.08);
            border: 1px solid rgba(34,197,94,.2);
            border-radius: 14px;
            padding: 20px;
            margin-top: 24px;
            text-align: center;
        }
        .demo-win-info__title {
            font-size: 16px;
            font-weight: 800;
            color: var(--green);
            margin-bottom: 10px;
        }
        .demo-win-info__text {
            font-size: 13px;
            color: rgba(255,255,255,.6);
            line-height: 1.7;
            margin-bottom: 16px;
        }
        .demo-win-info__btns {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .btn-demo-action {
            display: block;
            padding: 12px 20px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 700;
            text-decoration: none;
            text-align: center;
            transition: all .2s;
        }
        .btn-demo-action-primary {
            background: var(--orange);
            color: #fff;
        }
        .btn-demo-action-primary:hover { opacity: .9; }
        .btn-demo-action-outline {
            background: rgba(255,255,255,.06);
            color: rgba(255,255,255,.7);
            border: 1px solid rgba(255,255,255,.12);
        }
        .btn-demo-action-outline:hover {
            background: rgba(255,255,255,.1);
            color: #fff;
        }

        /* ── Footer ── */
        .demo-footer {
            padding: 24px 20px;
            border-top: 1px solid var(--border);
            text-align: center;
        }
        .demo-footer__brand {
            font-size: 13px;
            font-weight: 700;
            color: rgba(255,255,255,.35);
            margin-bottom: 8px;
        }
        .demo-footer__brand span { color: var(--orange); }
        .demo-footer__links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 6px 14px;
        }
        .demo-footer__links a {
            font-size: 11px;
            color: rgba(255,255,255,.3);
            text-decoration: none;
        }
        .demo-footer__links a:hover { color: var(--orange); }

        /* Overlay résultat */
        .pd-result { z-index: 200; }