/* =====================================================================
   SALLE DES JEUX — page d'accueil publique
   Bornes d'arcade en vraie 3D CSS (faces positionnées dans l'espace) :
   largeur 300, hauteur 620, profondeur 240 (+70 pour le pupitre).
   ===================================================================== */

/* ---------- En-tête visiteur ---------- */
.shopfront.guest .shop-inner { justify-content: space-between; }
.guest .shop-right { gap: 10px; }
.btn-coin { width: 22px; height: 22px; flex-shrink: 0; filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.btn-xl { min-height: 56px; padding: 0 26px; font-size: 16px; gap: 10px; }

/* ---------- La pièce (héros) ---------- */
.room { position: relative; min-height: calc(100vh - 90px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.room-wall { position: absolute; inset: 0 0 22% 0; z-index: -2;
    /* mur à l'algérienne : haut crème sali, soubassement vert, filet sombre */
    background:
        radial-gradient(ellipse 45% 55% at 72% 38%, rgba(255,60,90,.14), transparent 70%),
        radial-gradient(ellipse 70% 60% at 30% 0%, rgba(255,240,205,.16), transparent 70%),
        var(--plaster),
        linear-gradient(180deg, #4a4638 0%, #3d3a2f 52%, #191712 52%, #191712 52.6%, #2c5546 52.6%, #22463a 80%, #183329 100%);
    background-blend-mode: normal, normal, multiply, normal;
}
.room-wall::after { content: ''; position: absolute; inset: 0; background: var(--noise); opacity: .35; mix-blend-mode: overlay; }
.room-floor { position: absolute; left: -10%; right: -10%; bottom: 0; height: 22%; z-index: -1; transform-origin: 50% 0;
    /* granito : éclats de marbre sur ciment */
    background:
        radial-gradient(ellipse 55% 90% at 72% 0%, rgba(255,60,90,.18), transparent 70%),
        radial-gradient(circle at 20% 30%, rgba(160,150,132,.35) 0 1.2px, transparent 1.8px) 0 0 / 37px 29px,
        radial-gradient(circle at 70% 60%, rgba(220,210,190,.22) 0 .9px, transparent 1.5px) 3px 7px / 23px 31px,
        radial-gradient(circle at 40% 80%, rgba(0,0,0,.35) 0 2px, transparent 2.8px) 11px 5px / 41px 37px,
        radial-gradient(circle at 85% 15%, rgba(190,180,160,.18) 0 .8px, transparent 1.4px) 7px 3px / 19px 17px,
        var(--noise),
        linear-gradient(180deg, #34302a, #1a1713);
    box-shadow: inset 0 18px 30px rgba(0,0,0,.55);
}
.room-floor::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.3) 1px, transparent 1px) 0 0 / 90px 100%, linear-gradient(180deg, rgba(0,0,0,.3) 1px, transparent 1px) 0 0 / 100% 34px; opacity: .55; }
.tube { position: absolute; top: 22px; width: 260px; height: 9px; border-radius: 5px; background: #fffdf3;
    box-shadow: 0 0 10px #fff8dc, 0 0 30px rgba(255,248,220,.75), 0 0 90px rgba(255,248,220,.35), 0 3px 0 #8d8a80; }
.tube::before, .tube::after { content: ''; position: absolute; top: -3px; width: 14px; height: 15px; border-radius: 3px; background: linear-gradient(#7a776f, #4a4842); }
.tube::before { left: -8px; } .tube::after { right: -8px; }
.tube.t1 { left: 12%; }
.tube.t2 { right: 14%; }
.tube.flick { animation: tubeflick 7s infinite; }
@keyframes tubeflick { 0%, 91%, 100% { opacity: 1; } 92% { opacity: .25; } 93% { opacity: 1; } 95% { opacity: .4; } 96% { opacity: 1; } }
.board { position: absolute; top: 150px; inset-inline-end: 3%; width: 190px; padding: 14px 16px 12px; text-align: center; transform: rotate(-2.5deg);
    font-family: var(--font-ar-sign); color: #fdf6e3; border-radius: 4px;
    background: radial-gradient(ellipse at 40% 30%, #3b5d47, #223a2c 75%), var(--noise);
    border: 9px solid #6b4223; box-shadow: inset 0 0 0 2px #2b1709, 0 14px 22px rgba(0,0,0,.5); }
.board b { display: block; font-size: 30px; line-height: 1; margin-bottom: 8px; font-weight: 400; }
.board span { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 26px; }
.board svg { width: 34px; height: 34px; }
.board em { font-style: normal; }
.board small { display: block; margin-top: 6px; font-size: 15px; opacity: .8; }
.pitch-plaques { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.pitch-plaques .plaque:first-child { transform: rotate(-1.5deg); }
.pitch-plaques .plaque:last-child { transform: rotate(1deg); }

.room-inner { position: relative; width: min(1240px, 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; padding: 40px 0 0; }
.pitch { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 30px; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
    color: var(--yellow); background: rgba(0,0,0,.45); border: 1px solid rgba(255,210,63,.3); }
[dir="rtl"] .kicker { text-transform: none; font-size: 15px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.pitch h1 { margin: 18px 0 16px; font-family: var(--font-sign); font-weight: 400; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; color: #fff;
    text-shadow: 0 4px 0 #000, 0 0 30px rgba(0,0,0,.6); }
[dir="rtl"] .pitch h1 { font-family: var(--font-ar-sign); font-size: clamp(40px, 5.4vw, 74px); line-height: 1.15; }
.lead { max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--text); text-shadow: 0 2px 6px rgba(0,0,0,.7); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.pitch-facts { list-style: none; display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 26px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.pitch-facts i { color: var(--yellow); margin-inline-end: 6px; }

.hero-cab { position: relative; display: grid; justify-items: center; align-self: end; padding-bottom: 3vh; }
.now-playing { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 8px; font-size: 13px; color: var(--text-2);
    background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(4px); }
.now-playing b { color: #fff; }
.now-playing .rec { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: pulse 1.2s infinite; }

/* =====================================================================
   LA BORNE 3D
   ===================================================================== */
.c3 { direction: ltr; --s: .5; --side: #b5121b; --side-2: #5e070c; --mq: #ff2e4d; --rx: -7deg; --ry: -20deg;
    position: relative; width: calc(300px * var(--s)); height: calc(660px * var(--s)); }
.c3.capcom { --side: #1846a5; --side-2: #0a1f4f; --mq: #33a0ff; }
.c3-big { --s: .8; --ry: 24deg; }
.c3-scene { position: absolute; left: 0; top: 0; width: 300px; height: 660px; transform: scale(var(--s)); transform-origin: 0 0;
    perspective: 1700px; perspective-origin: var(--po, 50% 30%); }
.c3-rig { position: absolute; left: 0; top: 10px; width: 300px; height: 620px; transform-style: preserve-3d;
    transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .7s cubic-bezier(.2,.75,.2,1); }
.c3 .f { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; }

/* dessus */
.c3-top { left: 0; top: -120px; width: 300px; height: 240px; transform: rotateX(90deg); background: linear-gradient(180deg, #050505, #161616); }

/* flancs : profil découpé (fronton, écran, pupitre en saillie) + T-molding */
.c3-side { top: 0; left: -5px; width: 310px; height: 620px;
    background: linear-gradient(90deg, #0b0b0b, #2a2a2a 50%, #0b0b0b); }
.c3-side.l { transform: rotateY(-90deg) translateZ(150px) translateX(35px);
    clip-path: polygon(0 0, 240px 0, 240px 360px, 310px 376px, 310px 426px, 240px 440px, 240px 620px, 0 620px); }
.c3-side.r { transform: rotateY(90deg) translateZ(150px) translateX(-35px);
    clip-path: polygon(70px 0, 310px 0, 310px 620px, 70px 620px, 70px 440px, 0 426px, 0 376px, 70px 360px); }
.c3-side .art { position: absolute; inset: 0; clip-path: inherit; transform: scale(.972, .986);
    background:
        linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,.07) 38% 39%, transparent 39%),
        linear-gradient(160deg, transparent 0 52%, rgba(0,0,0,.35) 52% 66%, transparent 66%),
        linear-gradient(160deg, transparent 0 46%, var(--mq) 46% 48.5%, transparent 48.5%),
        var(--noise),
        linear-gradient(90deg, var(--side-2), var(--side) 70%, var(--side-2)); }
.c3-side.l .art { box-shadow: inset 40px 0 60px rgba(0,0,0,.55); }
.c3-side.r .art { filter: brightness(.62); }

/* fronton lumineux */
.c3-marquee { left: 0; top: 0; width: 300px; height: 96px; transform: translateZ(120px); overflow: hidden; display: grid; place-items: center;
    background: #0d0d0d; border: 6px solid #0a0a0a; border-bottom-width: 4px; }
.c3-marquee img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; opacity: .5; filter: saturate(1.4) blur(.6px); }
.c3-marquee::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(255,255,255,.28), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 35%, rgba(0,0,0,.4)); z-index: 1; }
.c3-marquee .mq-title { position: relative; z-index: 2; padding: 0 12px; text-align: center; font-family: var(--font-sign); font-weight: 400; line-height: 1.02; color: #fff;
    text-shadow: 0 0 2px #fff, 0 0 10px var(--mq), 0 0 22px var(--mq), 0 3px 0 rgba(0,0,0,.7); }
.c3-marquee .mq-brand { position: absolute; top: 6px; inset-inline-start: 8px; z-index: 2; padding: 2px 6px; border-radius: 2px; font: 800 9px/1 var(--font); letter-spacing: .12em;
    color: #111; background: #fff; }
.c3.capcom .mq-brand { background: #ffd23f; }
.c3-marquee .mq-tube { position: absolute; inset: 0; z-index: 3; pointer-events: none; animation: mqhum 5s infinite; background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 30%); }
@keyframes mqhum { 0%, 96%, 100% { opacity: 1; } 97% { opacity: .55; } }

/* grille de haut-parleur */
.c3-grille { left: 0; top: 96px; width: 300px; height: 22px; transform: translateZ(120px);
    background: radial-gradient(circle, #000 1.3px, transparent 1.6px) 0 0 / 6px 6px, linear-gradient(180deg, #2b2b2b, #151515); }

/* cadre de l'écran (face avant) */
.c3-bz { transform: translateZ(120px); background: linear-gradient(180deg, #1a1a1c, #0b0b0c); }
.c3-bz.t { left: 0; top: 118px; width: 300px; height: 8px; }
.c3-bz.b { left: 0; top: 346px; width: 300px; height: 14px; background: linear-gradient(180deg, #0b0b0c, #202022); }
.c3-bz.l { left: 0; top: 126px; width: 24px; height: 220px; background: linear-gradient(90deg, #1d1d1f, #0b0b0c); }
.c3-bz.r { left: 276px; top: 126px; width: 24px; height: 220px; background: linear-gradient(90deg, #0b0b0c, #1d1d1f); }

/* parois de l'alcôve (l'écran est en retrait de 34 px) */
.c3-in { background: #060606; }
.c3-in.t { left: 24px; top: 109px; width: 252px; height: 34px; transform: translateZ(103px) rotateX(-90deg); background: linear-gradient(0deg, #020202, #121212); }
.c3-in.b { left: 24px; top: 329px; width: 252px; height: 34px; transform: translateZ(103px) rotateX(90deg); background: linear-gradient(180deg, #1c1c1c, #070707); }
.c3-in.l { left: 7px; top: 126px; width: 34px; height: 220px; transform: translateZ(103px) rotateY(90deg); background: linear-gradient(270deg, #030303, #171717); }
.c3-in.r { left: 259px; top: 126px; width: 34px; height: 220px; transform: translateZ(103px) rotateY(-90deg); background: linear-gradient(90deg, #030303, #111); }

/* tube cathodique */
.c3-crt { left: 24px; top: 126px; width: 252px; height: 220px; transform: translateZ(86px); overflow: hidden; background: #020403; border-radius: 22px / 18px;
    box-shadow: inset 0 0 0 3px #000; }
.c3-crt img, .c3-crt video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.c3-crt img { filter: brightness(.72) saturate(.9); transition: opacity .4s; }
.c3-crt video { opacity: 0; filter: saturate(1.3) contrast(1.12) brightness(1.08); transition: opacity .35s; }
.c3.on .c3-crt video { opacity: 1; }
.c3.on .c3-crt img { opacity: 0; }
.crt-osd { position: absolute; left: 0; right: 0; bottom: 18%; z-index: 2; text-align: center; font: 11px var(--font-pix); color: #ffd23f;
    text-shadow: 0 0 6px #ff9500, 2px 2px 0 #b3000c; animation: blink 1.1s steps(1) infinite; }
.c3.on .crt-osd { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.crt-fx { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
    background:
        radial-gradient(ellipse 70% 45% at 30% 12%, rgba(255,255,255,.16), transparent 60%),
        repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px),
        radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.75) 100%);
    box-shadow: inset 0 0 24px rgba(0,0,0,.9), inset 0 0 2px 2px rgba(255,255,255,.04); }
.c3.flash .c3-crt::after { content: ''; position: absolute; inset: 0; z-index: 4; background: #fff; animation: crton .5s ease-out forwards; }
@keyframes crton { 0% { opacity: 1; transform: scaleY(.02); } 40% { opacity: .9; transform: scaleY(1); } 100% { opacity: 0; } }

/* pupitre incliné (vu du dessus) */
.c3-cp { left: 0; top: 360px; width: 300px; height: 72px; transform-origin: 50% 0; transform: translateZ(120px) rotateX(77deg); transform-style: preserve-3d;
    background:
        linear-gradient(180deg, rgba(120,170,255,.16), transparent 40%),
        linear-gradient(90deg, transparent 0 49.6%, rgba(255,255,255,.12) 49.6% 50.4%, transparent 50.4%),
        linear-gradient(180deg, transparent 0 78%, var(--mq) 78% 82%, transparent 82%),
        var(--noise), linear-gradient(180deg, #1b1b1d, #0d0d0e); }
.c3-cp .jb { position: absolute; top: 30px; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
    background: radial-gradient(circle, #050505 0 35%, #2c2c2c 36% 55%, #111 56%); box-shadow: 0 0 0 2px #000; }
.c3-cp .jb.p1, .c3-cp .stick.p1 { left: 36px; } .c3-cp .jb.p2, .c3-cp .stick.p2 { left: 186px; }
.c3-cp .stick { position: absolute; top: 30px; width: 0; height: 0; transform-style: preserve-3d; }
.c3-cp .stick i { position: absolute; left: -11px; bottom: 0; width: 22px; height: 52px; transform-origin: 50% 100%; transform: rotateX(-77deg); backface-visibility: visible;
    background:
        radial-gradient(circle at 38% 30%, #ff9aa6 0 3px, #f0213a 7px, #8f0716 11px, transparent 11.5px) 0 0 / 22px 22px no-repeat,
        linear-gradient(90deg, transparent 8px, #6b6b6b 8px, #d9d9d9 10px, #4a4a4a 14px, transparent 14px) 0 18px / 22px 34px no-repeat; }
.c3.capcom .c3-cp .stick i { background:
        radial-gradient(circle at 38% 30%, #fff 0 3px, #e8e8e8 7px, #8c8c8c 11px, transparent 11.5px) 0 0 / 22px 22px no-repeat,
        linear-gradient(90deg, transparent 8px, #6b6b6b 8px, #d9d9d9 10px, #4a4a4a 14px, transparent 14px) 0 18px / 22px 34px no-repeat; }
.c3-cp .pbtns { position: absolute; top: 18px; display: flex; gap: 6px; }
.c3-cp .pbtns.p1 { left: 64px; } .c3-cp .pbtns.p2 { left: 214px; }
.c3-cp .pbtns i { width: 15px; height: 15px; border-radius: 50%; box-shadow: 0 3px 0 rgba(0,0,0,.6), inset 0 -2px 0 rgba(0,0,0,.3); }
.c3-cp .pbtns i:nth-child(2) { margin-top: -5px; } .c3-cp .pbtns i:nth-child(3) { margin-top: -7px; } .c3-cp .pbtns i:nth-child(4) { margin-top: -5px; }
.c3-cp .a { background: radial-gradient(circle at 35% 30%, #ffb3b3, #e0141e 60%); }
.c3-cp .b { background: radial-gradient(circle at 35% 30%, #fff6b0, #e6b800 60%); }
.c3-cp .c { background: radial-gradient(circle at 35% 30%, #b8ffc6, #12a346 60%); }
.c3-cp .d { background: radial-gradient(circle at 35% 30%, #b3dcff, #1a5fd8 60%); }
.c3-cp .start { position: absolute; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #b8bcc2); box-shadow: 0 2px 0 #000; }
.c3-cp .start.p1 { left: 134px; } .c3-cp .start.p2 { left: 156px; }
.c3-cpf { left: 0; top: 376px; width: 300px; height: 50px; transform: translateZ(190px); display: grid; place-items: center;
    background: linear-gradient(180deg, #2a2a2c, #0f0f10 40%, #070707); border-top: 2px solid #3a3a3d; }
.c3-cpf span { font: 400 15px var(--font-ar-sign); color: var(--yellow); opacity: .85; letter-spacing: .02em; text-shadow: 0 0 8px rgba(255,210,63,.35); }

/* caisson bas + porte à monnaie */
.c3-lower { left: 0; top: 400px; width: 300px; height: 196px; transform: translateZ(120px);
    background: var(--noise), linear-gradient(180deg, #050505 0 20%, #131313 20%, #0c0c0c); }
.c3-lower .cdoor { position: absolute; left: 70px; top: 62px; width: 160px; height: 104px; border-radius: 4px; display: flex; justify-content: center; gap: 16px; padding-top: 12px;
    background: linear-gradient(90deg, rgba(255,255,255,.1) 0 1px, transparent 1px) 0 0 / 3px 100%, linear-gradient(180deg, #b9bdc3, #7d828a 60%, #9da2a9);
    box-shadow: inset 0 0 0 2px #50545a, 0 3px 6px rgba(0,0,0,.6); }
.c3-lower .mech { position: relative; width: 44px; height: 70px; border-radius: 3px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 7px;
    background: linear-gradient(180deg, #3b3e43, #202226); box-shadow: inset 0 0 0 2px #15171a; }
.c3-lower .slot { width: 4px; height: 20px; border-radius: 2px; background: #000; box-shadow: 0 0 0 2px #6b6f75; }
.c3-lower .mech b { padding: 2px 4px; border-radius: 2px; font: 900 9px/1 var(--font); color: #fff; background: #e3122a; box-shadow: 0 0 8px #ff2e4d, 0 0 16px rgba(255,46,77,.6); }
.c3-lower .rej { width: 14px; height: 9px; border-radius: 2px; background: #111; box-shadow: inset 0 1px 0 #444; }
.c3-lower .lock { position: absolute; bottom: 8px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: radial-gradient(circle, #222 0 2px, #c9cdd3 3px, #6d7177 6px); }
.c3-lower .sticker { position: absolute; top: 22px; left: 50%; transform: translateX(-50%) rotate(-3deg); padding: 3px 10px; border-radius: 2px; white-space: nowrap;
    font: 800 12px var(--font); color: #1b1300; background: #ffd23f; box-shadow: 0 2px 0 rgba(0,0,0,.4); }
.c3-kick { left: 0; top: 596px; width: 300px; height: 24px; transform: translateZ(121px);
    background: repeating-linear-gradient(180deg, #1d1d1d 0 3px, #0a0a0a 3px 6px); }

/* ombre au sol + reflet du fronton */
.c3-shadow { position: absolute; left: -12%; right: -12%; bottom: calc(-6px * var(--s)); height: calc(70px * var(--s)); border-radius: 50%;
    background: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,.85), rgba(0,0,0,.35) 50%, transparent 72%); z-index: -1; pointer-events: none; }
.c3-big::before { content: ''; position: absolute; left: -40%; right: -40%; bottom: -8%; height: 30%; z-index: -1; pointer-events: none; border-radius: 50%;
    background: radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--mq) 30%, transparent), transparent 70%); filter: blur(10px); }

/* =====================================================================
   LA RANGÉE
   ===================================================================== */
.aisle { position: relative; padding: 90px 0 60px; background: linear-gradient(180deg, #0f0e0b, transparent 120px); }
.sec-head { width: min(1240px, 100% - 32px); margin: 0 auto 34px; text-align: center; }
.sec-head h2, .how h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 400; }
[dir="rtl"] .sec-head h2, [dir="rtl"] .how h2 { font-family: var(--font-ar-sign); }
.sec-head p { margin: 10px auto 22px; max-width: 620px; color: var(--text-2); font-size: 17px; }
.sec-head .filters { justify-content: center; margin-bottom: 0; }
.cab-row { width: min(1300px, 100% - 32px); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 46px 30px; }
.cab-row .slot-cab { width: 180px; }
.slot-cab { position: relative; display: grid; justify-items: center; gap: 14px; padding: 6px 0 0; cursor: pointer; border-radius: 10px; outline-offset: 6px; }
.slot-cab[hidden] { display: none; }
.slot-cab .c3 { --s: .53; --rx: -6deg; --ry: 0deg; }
.slot-cab:hover .c3, .slot-cab:focus-visible .c3 { --rx: -9deg; }
.slot-cab:hover .c3-rig { transform: rotateX(var(--rx)) rotateY(calc(var(--ry) * .45)) translateZ(30px); }
.plate { display: grid; gap: 2px; text-align: center; max-width: 180px; }
.plate b { font-size: 14px; line-height: 1.25; color: var(--text); }
.plate small { font-size: 12px; color: var(--muted); }

/* =====================================================================
   COMMENT ÇA MARCHE
   ===================================================================== */
.how { width: min(1180px, 100% - 32px); margin: 0 auto; padding: 70px 0; text-align: center; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.step { position: relative; padding: 34px 24px 28px; border-radius: 6px; text-align: center;
    background: radial-gradient(ellipse at 40% 20%, #31503f, #1d3428 75%), var(--noise); border: 10px solid #5e3a1f;
    box-shadow: inset 0 0 0 2px #2b1709, inset 0 0 40px rgba(0,0,0,.45), 0 18px 30px rgba(0,0,0,.45); }
.step:nth-child(2) { transform: rotate(.8deg); } .step:nth-child(3) { transform: rotate(-.6deg); }
.step-n { position: absolute; top: -22px; left: 50%; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; display: grid; place-items: center;
    font: 400 20px var(--font-sign); color: #1b1300; background: radial-gradient(circle at 35% 30%, #fff1a6, #f0b800 70%); box-shadow: 0 4px 0 #8a6900, 0 0 0 4px #15130f; }
.step h3 { margin: 18px 0 8px; font: 400 21px var(--font-sign); color: #fdf6e3; }
.step p { color: #d9e3d6; line-height: 1.55; }
.step-ico { height: 96px; display: grid; place-items: center; }
.pcard { position: relative; width: 140px; height: 86px; border-radius: 8px; padding: 10px; text-align: start; transform: rotate(-6deg);
    background: linear-gradient(135deg, #ff4058, #8f0716); box-shadow: 0 10px 18px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.3); }
.pcard b { font: 400 11px var(--font-sign); color: #fff; }
.pcard i { position: absolute; left: 10px; top: 34px; width: 26px; height: 19px; border-radius: 3px; background: linear-gradient(135deg, #ffe08a, #b8860b); }
.pcard em { position: absolute; right: 10px; bottom: 8px; font: 8px var(--font-pix); font-style: normal; color: rgba(255,255,255,.85); }
.coin-ico { position: relative; }
.mini-slot { width: 70px; height: 86px; border-radius: 5px; display: grid; place-items: center; background: linear-gradient(180deg, #3b3e43, #202226); box-shadow: inset 0 0 0 3px #15171a, 0 8px 14px rgba(0,0,0,.5); }
.mini-slot i { width: 6px; height: 34px; border-radius: 3px; background: #000; box-shadow: 0 0 0 3px #6b6f75; }
.drop-coin { position: absolute; top: -6px; left: 50%; width: 48px; height: 48px; margin-left: -24px; animation: coindrop 2.6s cubic-bezier(.5,0,.75,0) infinite; }
@keyframes coindrop { 0% { transform: translateY(-20px) rotateY(0); opacity: 0; } 15% { opacity: 1; } 60% { transform: translateY(14px) rotateY(80deg); opacity: 1; } 75%, 100% { transform: translateY(26px) rotateY(90deg); opacity: 0; } }
.vs-ico { display: flex; align-items: center; gap: 12px; font: 400 22px var(--font-sign); }
.vs-ico span { width: 56px; height: 56px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; color: #fff; }
.vs-ico span:first-child { background: linear-gradient(135deg, #ff4058, #8f0716); }
.vs-ico span:last-child { background: linear-gradient(135deg, #33a0ff, #0a2f73); }
.vs-ico b { font-weight: 400; color: var(--yellow); text-shadow: 0 0 12px rgba(255,210,63,.6); }

/* =====================================================================
   الخاسر يخلص
   ===================================================================== */
.duel { width: min(1180px, 100% - 32px); margin: 0 auto; padding: 50px 0 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.graffiti-big { font: 400 clamp(60px, 7.6vw, 100px)/1.1 var(--font-ar-sign); color: #ff5a70; transform: rotate(-3deg);
    text-shadow: 0 0 2px #fff, 0 0 12px #ff2e4d, 0 0 34px rgba(255,46,77,.6), 4px 4px 0 #1b0004; }
.duel-text p { margin: 18px 0 26px; font-size: 18px; line-height: 1.6; color: var(--text); max-width: 520px; }
.duel-mock { position: relative; padding: 26px; border-radius: 16px; background: linear-gradient(180deg, rgba(24,25,28,.95), rgba(14,15,17,.95));
    border: 1px solid #000; box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px #34363b, inset 0 3px 0 var(--red); }
.pot { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 16px; }
.pot svg { width: 46px; height: 46px; margin-inline-start: -14px; filter: drop-shadow(0 4px 4px rgba(0,0,0,.5)); }
.pot svg:first-child { margin-inline-start: 0; }
.pot b { margin-inline-start: 10px; font: 400 22px var(--font-sign); color: var(--yellow); }
.fighters { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; }
.fighters .p { width: 74px; height: 74px; border-radius: 12px; display: grid; place-items: center; font: 400 20px var(--font-sign); color: #fff; }
.fighters .p1 { background: linear-gradient(135deg, #ff4058, #8f0716); box-shadow: 0 0 24px rgba(255,46,77,.35); }
.fighters .p2 { background: linear-gradient(135deg, #33a0ff, #0a2f73); box-shadow: 0 0 24px rgba(51,160,255,.3); }
.fighters .vs { font: 400 26px var(--font-sign); color: var(--yellow); }
.mock-chat { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Avantages ---------- */
.perks { width: min(1180px, 100% - 32px); margin: 0 auto; padding-bottom: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.perk { padding: 26px 26px 24px; border-radius: 14px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.08); }
.perk > i { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.perk.ref > i { color: #03210f; background: linear-gradient(180deg, #5dffa0, #19c963); }
.perk.member { background: linear-gradient(135deg, rgba(255,210,63,.12), rgba(0,0,0,.45)); border-color: rgba(255,210,63,.3); }
.perk.member > i { color: #1b1300; background: linear-gradient(180deg, #ffe066, #f0b800); }
.perk h3 { font-size: 20px; margin-bottom: 6px; }
.perk p { color: var(--text-2); line-height: 1.55; }

/* ---------- Rideau de fermeture ---------- */
.closing { position: relative; overflow: hidden; padding: 110px 16px 40px; text-align: center; isolation: isolate; }
.shutter-big { position: absolute; inset: 0 0 auto 0; height: 46%; z-index: -1;
    background: repeating-linear-gradient(180deg, #5b5f64 0 4px, #8c9096 4px 7px, #3f4246 7px 12px, #6a6e73 12px 14px);
    box-shadow: 0 20px 40px rgba(0,0,0,.7); animation: shutter 1s cubic-bezier(.3,.7,.2,1) both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
.shutter-big::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; z-index: 1;
    background: linear-gradient(180deg, #a9adb3, #575b60); box-shadow: 0 6px 14px rgba(0,0,0,.6); }
.shutter-big::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,.5)), radial-gradient(ellipse at 50% 100%, rgba(255,46,77,.25), transparent 60%); }
@keyframes shutter { from { height: 100%; } to { height: 22%; } }
.closing-in { position: relative; padding-top: 70px; }
.closing h2 { font-size: clamp(54px, 8vw, 96px); font-weight: 400; }
.closing-t { margin-top: 6px; font: 400 clamp(24px, 3vw, 34px) var(--font-sign); }
[dir="rtl"] .closing-t { font-family: var(--font-ar-sign); }
.closing-s { margin: 10px auto 26px; max-width: 520px; color: var(--text-2); }
.legal { margin-top: 60px; font-size: 12px; color: var(--muted); }

/* ---------- Fenêtre « jouer » ---------- */
.play-box { position: relative; width: min(560px, 100%); padding: 20px 20px 24px; }
.pm-close { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 5; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; }
.pm-crt { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px / 18px; background: #000; border: 10px solid #0b0b0c; box-shadow: 0 0 0 1px #2a2a2c, 0 0 30px rgba(51,230,255,.12); }
.pm-crt video { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.3) contrast(1.1); }
.pm-meta { margin-top: -2px; font-size: 13px; color: var(--muted) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1399px) { .board { display: none; } }
@media (max-width: 980px) {
    .room-inner { grid-template-columns: 1fr; text-align: center; padding-top: 10px; }
    .pitch { padding-top: 40px; padding-bottom: 0; }
    .lead { margin: 0 auto; }
    .cta-row, .pitch-facts { justify-content: center; }
    .board { top: 40px; width: 150px; transform: rotate(-3deg) scale(.8); transform-origin: top left; }
    .tube.t1 { display: none; }
    .pitch-plaques { justify-content: center; }
    .c3-big { --s: .62; --ry: 18deg; }
    .duel, .perks { grid-template-columns: 1fr; }
    .duel { text-align: center; } .duel-text p { margin-inline: auto; }
}
@media (max-width: 760px) {
    .guest .guest-login { display: none; }
    .guest .shop-right .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
    .board { display: none; }
    .room { min-height: 0; }
    .room-wall { bottom: 14%; }
    .room-floor { height: 14%; }
    .pitch h1 { font-size: 34px; }
    [dir="rtl"] .pitch h1 { font-size: 40px; }
    .lead { font-size: 16px; }
    .btn-xl { width: 100%; justify-content: center; }
    .c3-big { --s: .56; }
    .cab-row { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; width: 100%; padding: 0 16px 20px; justify-items: initial;
        scrollbar-width: none; }
    .cab-row::-webkit-scrollbar { display: none; }
    .slot-cab { flex: 0 0 auto; scroll-snap-align: center; }
    .slot-cab .c3 { direction: ltr; --s: .5; }
    .steps { grid-template-columns: 1fr; gap: 40px; }
    .step:nth-child(n) { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .tube.flick, .drop-coin, .crt-osd, .kicker .dot, .now-playing .rec, .c3-marquee .mq-tube { animation: none; }
    .c3-rig { transition: none; }
}

[dir="rtl"] .step h3 { font-family: var(--font-ar-sign); font-size: 26px; }

/* =====================================================================
   ENTRÉE / CONNEXION : borne vedette + carte de joueur + rangée
   ===================================================================== */
.entry-room { min-height: 0; padding-bottom: 40px; }
.entry-inner { grid-template-columns: 1fr minmax(340px, 460px); gap: 50px; padding: 50px 0 20px; align-items: center; }
.entry .c3-big { --s: .78; --ry: -22deg; }
[dir="rtl"] .entry .c3-big { --ry: 22deg; }
.entry .hero-cab { padding-bottom: 0; }
.desk-col { position: relative; z-index: 2; }
.pcard-desk { position: relative; padding: 24px 26px 20px; border-radius: 18px; overflow: hidden;
    background:
        linear-gradient(115deg, transparent 0 62%, rgba(255,255,255,.05) 62% 64%, transparent 64%),
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255,46,77,.18), transparent 60%),
        linear-gradient(180deg, rgba(30,28,24,.97), rgba(14,13,11,.97));
    border: 1px solid #000; box-shadow: 0 30px 70px rgba(0,0,0,.65), 0 0 0 1px #3a352b, inset 0 3px 0 var(--yellow); }
.pcard-desk::after { content: ''; position: absolute; top: 0; inset-inline-end: 0; width: 120px; height: 6px;
    background: repeating-linear-gradient(90deg, var(--red) 0 12px, #f4ecdb 12px 24px); }
.desk-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.desk-chip { width: 46px; height: 34px; border-radius: 6px; flex-shrink: 0; position: relative;
    background: linear-gradient(135deg, #ffe08a, #b8860b 70%, #f5d27a); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.desk-chip i { position: absolute; inset: 7px 10px; border: 1px solid rgba(0,0,0,.3); border-radius: 3px; }
.desk-head h1 { font: 400 24px/1.1 var(--font-sign); color: #fff; }
[dir="rtl"] .desk-head h1 { font-family: var(--font-ar-sign); font-size: 30px; }
.desk-head p { margin-top: 3px; font-size: 13px; color: var(--muted); }
.pcard-desk .btn { width: 100%; margin-top: 18px; min-height: 52px; font-size: 16px; }
.ref-input { text-transform: uppercase; font-family: var(--font-pix) !important; font-size: 13px !important; color: var(--yellow) !important; }
.desk-price { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.12);
    font-size: 13px; color: var(--text-2); }
.desk-price svg { width: 22px; height: 22px; }

.strip { padding-top: 50px; }
.strip .sec-head { margin-bottom: 20px; }
.strip-row { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; gap: 22px;
    width: 100%; padding: 10px max(16px, calc((100% - 1240px) / 2)) 26px; scrollbar-width: thin; scrollbar-color: #4a4538 transparent; }
.strip-row .slot-cab { flex: 0 0 auto; width: 160px; scroll-snap-align: center; }
.strip-row .slot-cab .c3 { --s: .47; }
.slot-cab.sel .plate b { color: var(--yellow); }
.slot-cab.sel::after { content: ''; position: absolute; left: 10%; right: 10%; top: calc(640px * .47); height: 10px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255,210,63,.7), transparent 70%); filter: blur(3px); }
.strip .legal { text-align: center; margin-top: 30px; }

@media (max-width: 980px) {
    .entry-inner { grid-template-columns: 1fr; gap: 26px; padding-top: 24px; }
    .entry .c3-big { --s: .5; --ry: -18deg; }
    [dir="rtl"] .entry .c3-big { --ry: 18deg; }
    .desk-col { width: min(460px, 100%); margin: 0 auto; }
}
@media (max-width: 760px) {
    .entry .guest-login { display: inline-flex; }
    .entry .c3-big { --s: .42; }
    .entry .now-playing { margin-top: 8px; }
    .pcard-desk { padding: 20px 18px 16px; }
    .strip-row .slot-cab .c3 { --s: .42; }
    .strip-row .slot-cab { width: 140px; }
}
