/* ==========================================
   JUMOCASINO — DARK PURPLE EDITION
========================================== */
 
:root {
    --bg: #08060d;
    --bg-light: #100b19;
    --card: #151020;
    --card-hover: #201530;
    --purple: #9747ff;
    --purple-light: #c5a0ff;
    --white: #faf7ff;
    --muted: #aaa0bb;
    --border: rgba(170, 112, 255, 0.2);
    color-scheme: dark;
}
 
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
 
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    background-color: #08060d;
}
 
body {
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #08060d;
    background-color: var(--bg);
    background-image:
        radial-gradient(
            ellipse at 50% 15%,
            rgba(112, 42, 190, 0.14),
            transparent 48%
        );
    color: #faf7ff;
    color: var(--white);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}
 
a {
    color: inherit;
    text-decoration: none;
}
 
img {
    display: block;
    max-width: 100%;
}
 
/* ARRIÈRE-PLAN */
 
.background-effects {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
 
.glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
}
 
.glow-one {
    top: 10%;
    left: -250px;
    background: #742aff;
}
 
.glow-two {
    top: 45%;
    right: -250px;
    background: #a12dff;
}
 
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255,255,255,.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.018) 1px,
            transparent 1px
        );
    background-size: 55px 55px;
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}
 
/* HEADER */
 
.site-header {
    position: relative;
    z-index: 2;
    background: rgba(10, 7, 16, 0.96);
    border-bottom: 1px solid var(--border);
}
 
.header-container {
    max-width: 1200px;
    min-height: 82px;
    margin: auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
 
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.7px;
}
 
.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
 
.purple-text {
    color: var(--purple-light);
}
 
.header-badge {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: rgba(151, 71, 255, 0.06);
    color: var(--purple-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}
 
.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 0 12px var(--purple);
}
 
/* CONTENU PRINCIPAL */
 
main,
.site-footer {
    position: relative;
    z-index: 1;
}
 
/* ACCUEIL */
 
.hero {
    position: relative;
    min-height: 700px;
    padding: 85px 24px 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}
 
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 850px;
    margin: auto;
}
 
.eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-bottom: 25px;
    color: var(--purple-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}
 
.eyebrow-line,
.note-line {
    width: 32px;
    height: 1px;
    background: var(--purple);
}
 
.hero h1 {
    max-width: 800px;
    margin: auto;
    color: var(--white);
    font-size: clamp(38px, 6vw, 70px);
    font-weight: 800;
    letter-spacing: -2.5px;
    line-height: 1.12;
}
 
.gradient-text {
    display: block;
    padding: 8px 0;
    background: linear-gradient(
        100deg,
        #ffffff 5%,
        #c5a0ff 45%,
        #9145ff 90%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
 
.hero-description {
    max-width: 580px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 16px;
}
 
/* LOGO CENTRAL */
 
.hero-logo {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 35px auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.hero-logo img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(151, 71, 255, 0.3));
}
 
.logo-aura {
    position: absolute;
    inset: 15%;
    border-radius: 50%;
    background: #762cff;
    filter: blur(55px);
    opacity: 0.3;
}
 
/* BOUTON PRINCIPAL */
 
.hero-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
 
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 25px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    background: linear-gradient(110deg, #7938dc, #a04fff);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 35px rgba(133, 55, 240, 0.2);
    transition: transform .25s, box-shadow .25s;
}
 
.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(133, 55, 240, .4);
}
 
.button-arrow {
    font-size: 19px;
}
 
.hero-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 35px;
    color: #9484a9;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}
 
/* SYMBOLES DE CARTES */
 
.floating-symbol {
    position: absolute;
    z-index: 1;
    color: #a66aff;
    opacity: .12;
    font-size: 90px;
    pointer-events: none;
}
 
.symbol-one   { top: 18%;    left: 12%;  }
.symbol-two   { top: 32%;    right: 13%; }
.symbol-three { bottom: 18%; left: 18%;  }
.symbol-four  { bottom: 23%; right: 19%; }
 
/* SECTION PRÉSENTATION */
 
.universe {
    max-width: 1150px;
    margin: auto;
    padding: 75px 25px 110px;
}
 
.section-heading {
    max-width: 680px;
    margin: 0 auto 45px;
    text-align: center;
}
 
.section-label {
    color: var(--purple-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}
 
.section-heading h2,
.closing-content h2 {
    margin-top: 12px;
    color: var(--white);
    font-size: clamp(27px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
}
 
.section-heading p,
.closing-content p {
    margin-top: 13px;
    color: var(--muted);
    font-size: 15px;
}
 
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
 
.feature-card {
    padding: 30px 25px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(
        145deg,
        rgba(29, 18, 47, .95),
        rgba(16, 10, 27, .95)
    );
    transition: transform .25s, border-color .25s;
}
 
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(177, 119, 255, .5);
}
 
.feature-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(139, 74, 255, .12);
    color: var(--purple-light);
    font-size: 26px;
}
 
.feature-card h3 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 18px;
}
 
.feature-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}
 
/* BANDEAU FINAL */
 
.closing-banner {
    max-width: 1100px;
    margin: 0 auto 90px;
    padding: 55px 25px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        radial-gradient(
            ellipse at 50% 120%,
            rgba(131, 56, 245, .22),
            transparent 65%
        ),
        var(--bg-light);
    text-align: center;
}
 
.closing-content h2 {
    font-size: clamp(25px, 4vw, 36px);
}
 
/* FOOTER */
 
.site-footer {
    padding: 35px 20px;
    border-top: 1px solid var(--border);
    background: #07050b;
    text-align: center;
}
 
.footer-brand {
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
}
 
.site-footer > p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
}
 
.site-footer .footer-disclaimer {
    max-width: 650px;
    margin: 12px auto 0;
    color: #887b99;
    font-size: 11px;
}
 
/* RESPONSIVE */
 
@media (max-width: 760px) {
    .header-container {
        min-height: 72px;
        padding: 12px 18px;
    }
 
    .brand {
        gap: 8px;
        font-size: 19px;
    }
 
    .brand img {
        width: 40px;
        height: 40px;
    }
 
    .header-badge {
        padding: 8px 10px;
        font-size: 8px;
        letter-spacing: 1px;
    }
 
    .hero {
        min-height: 620px;
        padding: 70px 20px;
    }
 
    .hero h1 {
        letter-spacing: -1.5px;
    }
 
    .hero-description {
        font-size: 14px;
    }
 
    .hero-logo {
        width: 155px;
        height: 155px;
    }
 
    .floating-symbol {
        font-size: 55px;
    }
 
    .symbol-one   { left: 5%;  }
    .symbol-two   { right: 5%; }
    .symbol-three { left: 8%;  }
    .symbol-four  { right: 8%; }
 
    .feature-grid {
        grid-template-columns: 1fr;
    }
 
    .universe {
        padding: 60px 20px 75px;
    }
 
    .closing-banner {
        margin: 0 15px 60px;
        padding: 40px 20px;
    }
}
 
@media (max-width: 400px) {
    .header-badge {
        font-size: 0;
        gap: 0;
    }
 
    .status-dot {
        width: 9px;
        height: 9px;
    }
 
    .hero-note {
        font-size: 7px;
        letter-spacing: 1px;
    }
}
 
/* ==========================================
   ÉLÉMENTS COMMUNS
========================================== */
 
[hidden] {
    display: none !important;
}
 
button {
    font: inherit;
    color: inherit;
    border: none;
    background: none;
    cursor: pointer;
}
 
button:disabled {
    cursor: not-allowed;
}
 
:focus-visible {
    outline: 2px solid var(--purple-light);
    outline-offset: 3px;
}
 
/* ==========================================
   MENU BURGER
========================================== */
 
.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
 
.burger {
    position: relative;
    z-index: 3;
    width: 46px;
    height: 46px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(151, 71, 255, .08);
    transition: background .25s, border-color .25s;
}
 
.burger:hover {
    background: rgba(151, 71, 255, .18);
    border-color: rgba(177, 119, 255, .5);
}
 
.burger-line {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    transition: transform .3s, opacity .2s;
}
 
/* Le burger se transforme en croix quand le menu est ouvert */
.burger[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
 
.burger[aria-expanded="true"] .burger-line:nth-child(2) {
    opacity: 0;
}
 
.burger[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
 
.site-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    padding: 110px 24px 30px;
    overflow-y: auto;
    border-left: 1px solid var(--border);
    background: linear-gradient(180deg, #140d22, #0a0711);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .5);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s ease, visibility 0s linear .35s;
}
 
.site-menu.is-open {
    transform: none;
    visibility: visible;
    transition: transform .35s ease, visibility 0s;
}
 
.menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}
 
.menu-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
    transition: background .2s, border-color .2s;
}
 
.menu-links a:hover {
    background: rgba(151, 71, 255, .1);
    border-color: var(--border);
}
 
.menu-links a[aria-current="page"] {
    background: rgba(151, 71, 255, .16);
    border-color: rgba(177, 119, 255, .45);
    color: var(--purple-light);
}
 
.menu-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(139, 74, 255, .14);
    color: var(--purple-light);
    font-size: 17px;
}
 
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(4, 2, 8, .6);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility 0s linear .3s;
}
 
.menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity .3s, visibility 0s;
}
 
body.menu-open {
    overflow: hidden;
}
 
/* ==========================================
   PAGES SECONDAIRES
========================================== */
 
.page-hero {
    min-height: 0;
    padding: 80px 24px 40px;
}
 
.page-hero h1 {
    font-size: clamp(34px, 5.5vw, 60px);
}
 
.content-section {
    max-width: 1150px;
    margin: auto;
    padding: 50px 25px 40px;
}
 
.closing-banner {
    margin-top: 50px;
}
 
.closing-content .hero-actions {
    margin-top: 26px;
}
 
.cta-note {
    max-width: 560px;
    margin: 14px auto 0;
    color: #887b99;
    font-size: 12px;
}
 
/* ==========================================
   PAGE PARTENAIRES
========================================== */
 
.partner-logo {
    width: 240px;
    max-width: 75%;
    margin: 35px auto 10px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 0%, rgba(151, 71, 255, .2), transparent 70%),
        rgba(16, 10, 27, .9);
}
 
.partner-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
 
.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
 
.offer-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin: auto;
}
 
.offer-card {
    padding: 28px 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(
        145deg,
        rgba(29, 18, 47, .95),
        rgba(16, 10, 27, .95)
    );
    text-align: center;
    transition: transform .25s, border-color .25s;
}
 
.offer-card:hover {
    transform: translateY(-5px);
    border-color: rgba(177, 119, 255, .5);
}
 
.offer-step {
    color: var(--purple-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}
 
.offer-percent {
    margin-top: 8px;
    background: linear-gradient(100deg, #ffffff 5%, #c5a0ff 50%, #9145ff 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
 
.offer-max {
    margin-top: 6px;
    color: var(--white);
    font-weight: 700;
}
 
.offer-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
 
.tag {
    padding: 5px 11px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: rgba(151, 71, 255, .1);
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 700;
}
 
.tag-muted {
    border-color: rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
}
 
.notice {
    max-width: 760px;
    margin: 28px auto 0;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid rgba(255, 190, 90, .3);
    border-radius: 14px;
    background: rgba(255, 170, 60, .06);
    color: #f0dcc0;
    font-size: 14px;
}
 
.notice-icon {
    color: #ffc266;
    font-size: 20px;
    line-height: 1.3;
}
 
.notice strong {
    color: #ffd08a;
}
 
.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
 
.perk {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(21, 16, 32, .9);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
}
 
.perk-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(139, 74, 255, .12);
    font-size: 20px;
}
 
/* ==========================================
   PAGE JEUX
========================================== */
 
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
 
.game-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 25px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(
        145deg,
        rgba(29, 18, 47, .95),
        rgba(16, 10, 27, .95)
    );
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
 
a.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(177, 119, 255, .5);
    box-shadow: 0 12px 40px rgba(133, 55, 240, .2);
}
 
.game-card.is-soon {
    opacity: .55;
}
 
.game-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: rgba(151, 71, 255, .14);
    color: var(--purple-light);
    font-size: 11px;
    font-weight: 700;
}
 
.game-visual {
    height: 120px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background:
        radial-gradient(circle, rgba(151, 71, 255, .25), transparent 70%),
        rgba(10, 7, 16, .6);
    color: var(--purple-light);
    font-size: 58px;
    font-weight: 800;
}
 
.game-card h3 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 19px;
}
 
.game-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}
 
.game-link {
    margin-top: auto;
    padding-top: 18px;
    color: var(--purple-light);
    font-size: 14px;
    font-weight: 700;
}
 
/* ==========================================
   PAGE BLACKJACK
========================================== */
 
.bj-hero {
    padding-bottom: 20px;
}
 
.bj-layout {
    max-width: 1150px;
    margin: auto;
    padding: 10px 25px 90px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}
 
.bj-table {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(118, 44, 255, .22), transparent 70%),
        linear-gradient(160deg, #1a1029, #0c0814);
    box-shadow: inset 0 0 60px rgba(0, 0, 0, .45);
}
 
.bj-status {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}
 
.bj-status strong {
    color: var(--white);
    font-size: 18px;
}
 
.bj-hand {
    padding: 22px 0;
}
 
.bj-hand-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}
 
.bj-hand-head h2 {
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}
 
.bj-score {
    min-width: 38px;
    padding: 2px 10px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: rgba(151, 71, 255, .18);
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}
 
.bj-score:empty {
    display: none;
}
 
.bj-cards {
    min-height: 112px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
 
.bj-placeholder,
.playing-card {
    width: 78px;
    height: 110px;
    border-radius: 9px;
}
 
.bj-placeholder {
    border: 1px dashed var(--border);
}
 
.playing-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fbf9ff;
    color: #17101f;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
    animation: card-in .3s ease-out;
}
 
.playing-card.is-red {
    color: #d1264a;
}
 
.card-corner {
    position: absolute;
    top: 6px;
    left: 8px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}
 
.card-corner-bottom {
    top: auto;
    left: auto;
    right: 8px;
    bottom: 6px;
    transform: rotate(180deg);
}
 
.card-center {
    font-size: 34px;
}
 
.playing-card.is-hidden {
    border: 3px solid #fbf9ff;
    background:
        repeating-linear-gradient(45deg, #7938dc 0 6px, #4d1f99 6px 12px);
}
 
@keyframes card-in {
    from {
        opacity: 0;
        transform: translateY(-14px) rotate(-4deg);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
 
.bj-message {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .28);
    color: var(--white);
    font-weight: 700;
    text-align: center;
}
 
.bj-message.is-win {
    background: rgba(40, 180, 100, .12);
    color: #8ff0b5;
}
 
.bj-message.is-lose {
    background: rgba(220, 40, 80, .12);
    color: #ff9aae;
}
 
.bj-message.is-push {
    color: var(--purple-light);
}
 
.bj-controls {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
 
.bj-chip-row,
.bj-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
 
.bj-chip {
    width: 56px;
    height: 56px;
    border: 3px dashed rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: radial-gradient(circle, #a04fff 55%, #6a2bd0 56%);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(118, 44, 255, .35);
    transition: transform .2s;
}
 
.bj-chip:hover:not(:disabled) {
    transform: translateY(-3px);
}
 
.bj-btn {
    padding: 13px 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(151, 71, 255, .1);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    transition: background .2s, border-color .2s;
}
 
.bj-btn:hover:not(:disabled) {
    background: rgba(151, 71, 255, .22);
    border-color: rgba(177, 119, 255, .5);
}
 
.bj-chip:disabled,
.bj-btn:disabled,
.primary-button:disabled {
    opacity: .35;
    transform: none;
    box-shadow: none;
}
 
.bj-link {
    color: var(--purple-light);
    font-size: 13px;
    text-decoration: underline;
}
 
.bj-rules {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(16, 10, 27, .9);
}
 
.bj-rules h2 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: 18px;
}
 
.bj-rules ul {
    display: grid;
    gap: 8px;
    padding-left: 18px;
    color: var(--muted);
    font-size: 14px;
}
 
.bj-rules strong {
    color: var(--white);
}
 
.bj-rules-note {
    margin-top: 16px;
    color: #887b99;
    font-size: 12px;
}
 
.bj-back {
    display: inline-block;
    margin-top: 16px;
    color: var(--purple-light);
    font-size: 14px;
    font-weight: 700;
}
 
/* ==========================================
   RESPONSIVE DES NOUVELLES PAGES
========================================== */
 
@media (max-width: 960px) {
    .offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
 
    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
 
    .bj-layout {
        grid-template-columns: 1fr;
    }
}
 
@media (max-width: 560px) {
    .header-badge {
        display: none;
    }
 
    .offer-grid,
    .offer-grid.two,
    .games-grid {
        grid-template-columns: 1fr;
    }
 
    .content-section {
        padding: 40px 20px 30px;
    }
 
    .bj-layout {
        padding: 10px 15px 60px;
    }
 
    .bj-table {
        padding: 20px 14px;
    }
 
    .bj-placeholder,
    .playing-card {
        width: 60px;
        height: 86px;
    }
 
    .card-center {
        font-size: 26px;
    }
 
    .card-corner {
        font-size: 12px;
    }
 
    .bj-cards {
        min-height: 88px;
        gap: 7px;
    }
}
 
/* ==========================================
   BLACKJACK — TAPIS, JETONS ET SIDE BETS
========================================== */
 
.bj-felt-text {
    margin: -4px 0 14px;
    color: rgba(197, 160, 255, .45);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-align: center;
    text-transform: uppercase;
}
 
.bj-spots {
    margin-top: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(14px, 4vw, 40px);
}
 
.bet-spot {
    position: relative;
    width: 108px;
    height: 108px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(197, 160, 255, .45);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(151, 71, 255, .14), rgba(151, 71, 255, .03) 70%);
    color: var(--purple-light);
    transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
 
.bet-spot-main {
    width: 132px;
    height: 132px;
    border-style: solid;
    border-color: rgba(255, 210, 130, .55);
}
 
.bet-spot:hover:not(:disabled),
.bet-spot.is-over {
    border-color: #ffd38a;
    background: radial-gradient(circle, rgba(255, 200, 110, .2), rgba(151, 71, 255, .05) 70%);
    box-shadow: 0 0 26px rgba(255, 200, 110, .35);
}
 
.bet-spot.is-over {
    transform: scale(1.07);
}
 
.bet-spot:disabled {
    cursor: default;
}
 
.bet-spot-name {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity .2s;
}
 
.bet-spot.has-bet .bet-spot-name {
    opacity: .4;
}
 
.bet-spot-stack {
    position: relative;
    width: 44px;
    height: 44px;
    margin-top: 6px;
}
 
.bet-spot-stack .casino-chip {
    position: absolute;
    left: 0;
    bottom: calc(var(--i) * 4px);
    width: 44px;
    height: 44px;
    font-size: 12px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .45), 0 4px 8px rgba(0, 0, 0, .35);
}
 
.bet-spot-amount {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1px 8px;
    border-radius: 50px;
    background: rgba(8, 4, 14, .85);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}
 
.bet-spot-amount:empty {
    display: none;
}
 
.bet-spot.chip-land .bet-spot-stack .casino-chip:last-child {
    animation: chip-drop .28s cubic-bezier(.3, 1.5, .5, 1);
}
 
@keyframes chip-drop {
    from { transform: translateY(-18px) scale(1.15); opacity: .4; }
}
 
.bet-spot-result {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 9px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}
 
.bet-spot-result:empty {
    display: none;
}
 
.bet-spot-result.is-win {
    background: rgba(40, 180, 100, .2);
    color: #8ff0b5;
}
 
.bet-spot-result.is-lose {
    background: rgba(220, 40, 80, .18);
    color: #ff9aae;
}
 
.bet-spot-result.is-push {
    background: rgba(151, 71, 255, .2);
    color: var(--purple-light);
}
 
/* Jetons de casino */
.casino-chip {
    --chip: #8a8a8a;
    --edge: #fff;
    position: relative;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--chip) 0 52%, var(--edge) 53% 56%, var(--chip) 57% 64%, transparent 65%),
        repeating-conic-gradient(var(--edge) 0 15deg, var(--chip) 15deg 45deg);
    color: var(--chip-text, #fff);
    font-size: 15px;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(0, 0, 0, .25);
    user-select: none;
    -webkit-user-select: none;
}
 
.chip-0-5 { --chip: #e874b4; --edge: #ffe1f1; }
.chip-1   { --chip: #f2eef8; --edge: #6d46c9; --chip-text: #3b1d7a; text-shadow: none; }
.chip-2   { --chip: #3fa6e8; --edge: #e4f4ff; }
.chip-5   { --chip: #d42a45; --edge: #ffe3e8; }
.chip-25  { --chip: #1f9a5c; --edge: #e2ffef; }
.chip-100 { --chip: #1b1622; --edge: #c9b5ff; }
.chip-500 { --chip: #7a2fe0; --edge: #ffd38a; }
 
.chip-tray {
    margin-top: 40px;
    padding: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: rgba(5, 2, 10, .55);
    box-shadow: inset 0 4px 14px rgba(0, 0, 0, .6);
}
 
.tray-chip {
    border: none;
    cursor: grab;
    touch-action: none;
    transition: transform .15s, box-shadow .15s, opacity .2s;
}
 
.tray-chip:hover:not(:disabled) {
    transform: translateY(-4px);
}
 
.tray-chip.is-selected {
    transform: translateY(-6px);
    box-shadow: 0 0 0 3px #ffd38a, 0 8px 18px rgba(0, 0, 0, .5);
}
 
.tray-chip:disabled {
    opacity: .3;
    cursor: not-allowed;
    transform: none;
}
 
.chip-ghost {
    position: fixed;
    z-index: 1000;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .6);
}
 
body.is-dragging-chip,
body.is-dragging-chip * {
    cursor: grabbing !important;
    user-select: none;
}
 
#bet-actions .primary-button {
    padding: 13px 26px;
}
 
.bj-rules-title {
    margin-top: 22px;
}
 
.bj-rules .rl-payouts {
    margin-top: 10px;
}
 
@media (max-width: 560px) {
    .bet-spot {
        width: 86px;
        height: 86px;
    }
 
    .bet-spot-main {
        width: 104px;
        height: 104px;
    }
 
    .bet-spot-name {
        top: 9px;
        font-size: 8.5px;
        letter-spacing: 1px;
    }
 
    .bet-spot-stack,
    .bet-spot-stack .casino-chip {
        width: 36px;
        height: 36px;
        font-size: 10px;
    }
 
    .bet-spot-amount {
        bottom: 6px;
        font-size: 11px;
    }
 
    .bet-spot-result {
        font-size: 9.5px;
    }
 
    .chip-tray {
        gap: 6px;
        padding: 10px;
        border-radius: 22px;
    }
 
    .casino-chip {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }
}
 
/* ==========================================
   PAGES DE JEU (commun)
========================================== */
 
.game-hero {
    padding-bottom: 24px;
}
 
/* ==========================================
   MACHINE À SOUS — JUMO ROYALE
========================================== */
 
.slot-layout {
    max-width: 1180px;
    margin: auto;
    padding: 10px 25px 90px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}
 
.slot-machine {
    --cell: 76px;
    --slot-gap: 6px;
    padding: 22px;
    border: 1px solid rgba(177, 119, 255, .35);
    border-radius: 26px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(118, 44, 255, .35), transparent 60%),
        linear-gradient(170deg, #1b0f2e, #09060f 70%);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, .55),
        0 0 0 1px rgba(255, 255, 255, .03) inset,
        0 0 60px rgba(118, 44, 255, .15);
    transition: box-shadow .4s;
}
 
.slot-machine.in-bonus {
    box-shadow:
        0 30px 80px rgba(0, 0, 0, .55),
        0 0 80px rgba(160, 79, 255, .45);
}
 
.slot-machine.mode-vip {
    border-color: rgba(255, 140, 90, .5);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, .55),
        0 0 80px rgba(255, 120, 70, .35);
}
 
.slot-machine.flash {
    animation: slot-flash .5s ease-in-out 2;
}
 
@keyframes slot-flash {
    50% { box-shadow: 0 0 120px rgba(255, 255, 255, .45); }
}
 
.slot-topbar {
    min-height: 42px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
 
.slot-title {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(100deg, #ffffff, #c5a0ff 50%, #ff8fd8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 3px;
}
 
.slot-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 14px rgba(160, 79, 255, .7);
}
 
.slot-bonus-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 200, 110, .4);
    border-radius: 50px;
    background: rgba(255, 170, 60, .1);
    color: #ffe2b0;
    font-size: 13px;
    font-weight: 700;
}
 
.slot-bonus-bar strong {
    color: #fff;
}
 
.slot-stage {
    position: relative;
    display: flex;
    justify-content: center;
}
 
.slot-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, var(--cell));
    gap: var(--slot-gap);
    padding: 10px;
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(80, 30, 150, .35), transparent 75%),
        #07040d;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(177, 119, 255, .25);
}
 
.slot-reel {
    position: relative;
    height: calc(var(--cell) * 5);
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .02));
    transition: box-shadow .3s, background .3s;
}
 
.slot-reel::after {
    /* ombre haut/bas pour l'effet tambour */
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 4, 13, .7), transparent 14%, transparent 86%, rgba(7, 4, 13, .7));
}
 
.slot-reel.is-anticipation {
    background: rgba(255, 190, 90, .08);
    box-shadow: 0 0 0 2px #ffc266, 0 0 30px rgba(255, 180, 80, .6);
}
 
.slot-reel.just-stopped .reel-strip {
    animation: reel-thud .25s ease-out;
}
 
@keyframes reel-thud {
    40% { transform: translateY(3px); }
}
 
.slot-reel.is-active-reel {
    box-shadow: 0 0 0 2px #ff9a6e, 0 0 26px rgba(255, 130, 80, .55);
}
 
.slot-reel.cascade-impact {
    animation: cascade-shake .3s;
}
 
@keyframes cascade-shake {
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-2px); }
}
 
.reel-strip {
    display: flex;
    flex-direction: column;
    will-change: transform;
}
 
.slot-cell {
    position: relative;
    z-index: 1;
    width: var(--cell);
    height: var(--cell);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: opacity .3s, filter .3s;
}
 
.sym {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    line-height: 1;
    user-select: none;
}
 
.sym-icon {
    font-size: calc(var(--cell) * .5);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5));
}
 
.sym-text {
    font-size: calc(var(--cell) * .42);
    font-weight: 900;
    letter-spacing: -1px;
}
 
/* Symboles forts : fond coloré */
.sym-diamond { background: radial-gradient(circle at 50% 35%, rgba(120, 220, 255, .32), rgba(20, 60, 110, .25)); box-shadow: inset 0 0 0 1px rgba(120, 220, 255, .45); }
.sym-crown   { background: radial-gradient(circle at 50% 35%, rgba(255, 210, 100, .35), rgba(120, 70, 10, .25)); box-shadow: inset 0 0 0 1px rgba(255, 210, 100, .45); }
.sym-bag     { background: radial-gradient(circle at 50% 35%, rgba(130, 230, 140, .28), rgba(20, 90, 40, .25)); box-shadow: inset 0 0 0 1px rgba(130, 230, 140, .35); }
.sym-dice    { background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .22), rgba(80, 60, 110, .25)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.sym-cherry  { background: radial-gradient(circle at 50% 35%, rgba(255, 110, 140, .3), rgba(110, 20, 50, .25)); box-shadow: inset 0 0 0 1px rgba(255, 110, 140, .4); }
 
/* As et couleurs de cartes */
.sym-ace .sym-text     { color: #ffd36e; text-shadow: 0 0 12px rgba(255, 200, 90, .6); }
.sym-spade .sym-text   { color: #c5a0ff; text-shadow: 0 0 12px rgba(180, 130, 255, .6); font-size: calc(var(--cell) * .5); }
.sym-heart .sym-text   { color: #ff5f86; text-shadow: 0 0 12px rgba(255, 90, 130, .6); font-size: calc(var(--cell) * .5); }
.sym-carreau .sym-text { color: #ff8fd8; text-shadow: 0 0 12px rgba(255, 120, 210, .6); font-size: calc(var(--cell) * .5); }
.sym-club .sym-text    { color: #7af0ff; text-shadow: 0 0 12px rgba(90, 220, 255, .55); font-size: calc(var(--cell) * .5); }
 
.sym-W {
    background: linear-gradient(150deg, #a04fff, #5b1ccc);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), 0 0 16px rgba(160, 79, 255, .6);
}
 
.sym-W .sym-text {
    color: #fff;
    font-size: calc(var(--cell) * .3);
    font-weight: 900;
    letter-spacing: .5px;
    text-shadow: 0 2px 0 #3b0f8c, 0 0 12px rgba(255, 255, 255, .5);
}
 
/* Scatter : l'As Bonus */
.sym-S {
    position: relative;
    margin: 0 auto;
    width: 76%;
    background: linear-gradient(160deg, #ffffff, #efe6ff);
    border-radius: 9px;
    box-shadow: inset 0 0 0 2px #ffc266, 0 0 16px rgba(255, 190, 90, .55);
    color: #1d1030;
}
 
.ace-corner {
    position: absolute;
    top: 4px;
    left: 5px;
    font-size: calc(var(--cell) * .16);
    font-weight: 900;
    line-height: 1;
}
 
.ace-suit {
    margin-top: -6%;
    font-size: calc(var(--cell) * .42);
    line-height: 1;
}
 
.sym-S .sym-label {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1px 4px;
    border-radius: 4px;
    background: linear-gradient(135deg, #7a2fe0, #a04fff);
    color: #fff;
    font-size: calc(var(--cell) * .11);
}
 
/* Logo Jumo qui tombe et s'étire */
.cascade-fx {
    position: absolute;
    left: 2px;
    right: 2px;
    z-index: 2;
    pointer-events: none;
}
 
.jumo-head,
.jumo-jaw {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    height: var(--cell);
    display: flex;
    justify-content: center;
}
 
.jumo-head { top: 0; }
.jumo-jaw  { bottom: 0; }
 
.jumo-head img,
.jumo-jaw img {
    width: var(--cell);
    height: var(--cell);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 18px rgba(160, 79, 255, .8);
    transition: transform .3s;
}
 
/* on coupe le logo en deux : le haut reste, la mâchoire descend */
.jumo-head img { clip-path: inset(0 0 50% 0); }
.jumo-jaw img  { clip-path: inset(50% 0 0 0); }
 
.cascade-fx.is-open .jumo-head img { transform: translateY(-3px); }
.cascade-fx.is-open .jumo-jaw img  { transform: translateY(3px); }
 
/* l'intérieur de la bouche, entre les deux moitiés */
.jumo-throat {
    position: absolute;
    top: calc(var(--cell) / 2);
    bottom: calc(var(--cell) / 2);
    left: 8%;
    right: 8%;
    z-index: 1;
    border-radius: 14px;
    background:
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0) 0 14px, rgba(197, 160, 255, .22) 15px 17px),
        linear-gradient(90deg, rgba(122, 47, 224, .75), rgba(30, 8, 60, .55) 30%, rgba(30, 8, 60, .55) 70%, rgba(122, 47, 224, .75));
    box-shadow:
        inset 0 0 0 2px rgba(197, 160, 255, .8),
        0 0 24px rgba(160, 79, 255, .8);
    opacity: 0;
    transition: opacity .2s;
}
 
.cascade-fx.is-open .jumo-throat {
    opacity: 1;
}
 
.slot-cell.is-cascade .sym {
    opacity: .55;
}
 
.slot-cell.is-cascade::after {
    content: "WILD";
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1px 6px;
    border-radius: 6px;
    background: rgba(20, 8, 30, .7);
    color: #ffe2b0;
    font-size: calc(var(--cell) * .13);
    font-weight: 900;
    letter-spacing: 1px;
}
 
.slot-cell.is-cascade .sym-W {
    opacity: 1;
}
 
.slot-cell.has-mult::after {
    display: none;
}
 
/* les multiplicateurs restent visibles au-dessus du logo */
.slot-cell.has-mult {
    z-index: 3;
}
 
.mult-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    padding: 3px 8px;
    border: 2px solid #fff;
    border-radius: 9px;
    background: linear-gradient(135deg, #ffb36b, #ff5fa2);
    color: #fff;
    font-size: calc(var(--cell) * .24);
    font-weight: 900;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 18px rgba(255, 130, 120, .8);
    animation: mult-pop .45s cubic-bezier(.3, 1.6, .5, 1);
}
 
.mult-badge.is-hot {
    background: linear-gradient(135deg, #fff2a8, #ff9a3c);
    color: #4a1600;
}
 
@keyframes mult-pop {
    from { transform: translate(-50%, -50%) scale(0); }
}
 
/* Gains */
.slot-grid.has-win .slot-cell {
    opacity: .3;
    filter: saturate(.4);
}
 
.slot-grid.has-win .slot-cell.is-win {
    opacity: 1;
    filter: none;
}
 
.slot-cell.is-win .sym {
    animation: win-bounce .6s ease-in-out infinite alternate;
}
 
@keyframes win-bounce {
    to { transform: scale(1.08); box-shadow: 0 0 22px rgba(197, 160, 255, .7); }
}
 
.slot-lines {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
 
.slot-lines polyline {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px currentColor);
    opacity: .9;
    stroke-dasharray: 2000;
    animation: line-draw .6s ease-out;
}
 
@keyframes line-draw {
    from { stroke-dashoffset: 2000; }
    to { stroke-dashoffset: 0; }
}
 
/* Écran d'annonce */
.slot-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 18px;
    background: rgba(6, 3, 12, .82);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: overlay-in .3s ease-out;
}
 
@keyframes overlay-in {
    from { opacity: 0; }
}
 
.slot-overlay-box {
    max-width: 380px;
    text-align: center;
    animation: overlay-box-in .5s cubic-bezier(.3, 1.5, .5, 1);
}
 
@keyframes overlay-box-in {
    from { transform: scale(.6); opacity: 0; }
}
 
.slot-overlay-kicker {
    color: #ffd38a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}
 
.slot-overlay-title {
    margin-top: 6px;
    background: linear-gradient(100deg, #ffffff, #c5a0ff 45%, #ff8fd8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(34px, 7vw, 52px);
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.05;
}
 
.slot-overlay.is-bigwin .slot-overlay-title {
    background: linear-gradient(100deg, #fff6c8, #ffc266 45%, #ff7a5c);
    -webkit-background-clip: text;
    background-clip: text;
    animation: bigwin-pulse .9s ease-in-out infinite alternate;
}
 
@keyframes bigwin-pulse {
    to { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(255, 190, 90, .7)); }
}
 
.slot-overlay-amount {
    margin-top: 10px;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}
 
.slot-overlay-amount:empty {
    display: none;
}
 
.slot-overlay-text {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
}
 
.slot-overlay-text:empty {
    display: none;
}
 
.slot-overlay .primary-button {
    margin-top: 20px;
}
 
.slot-message {
    min-height: 48px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .3);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}
 
.slot-panel {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
 
.slot-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(10, 6, 18, .7);
}
 
.slot-stat span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
 
.slot-stat strong {
    color: var(--white);
    font-size: 20px;
    font-weight: 900;
}
 
#slot-win {
    color: #ffd38a;
}
 
.slot-bet-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
 
.slot-round-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(151, 71, 255, .15);
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}
 
.slot-round-btn:hover:not(:disabled) {
    background: rgba(151, 71, 255, .35);
}
 
.slot-round-btn:disabled {
    opacity: .3;
}
 
.slot-controls {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}
 
.slot-side-btn {
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(151, 71, 255, .1);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    transition: background .2s, border-color .2s;
}
 
.slot-side-btn:hover:not(:disabled) {
    background: rgba(151, 71, 255, .25);
}
 
.slot-side-btn.is-on {
    border-color: #ffc266;
    background: rgba(255, 180, 80, .18);
    color: #ffe2b0;
}
 
.slot-side-btn:disabled {
    opacity: .35;
}
 
.slot-buy-btn {
    border-color: rgba(255, 190, 90, .45);
    background: linear-gradient(135deg, rgba(255, 170, 60, .2), rgba(255, 95, 162, .18));
}
 
.slot-auto {
    display: flex;
    gap: 6px;
}
 
.slot-auto select {
    min-height: 46px;
    padding: 0 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #140d22;
    color: var(--white);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
}
 
.slot-auto .slot-side-btn {
    flex: 1;
}
 
.slot-spin {
    width: 86px;
    height: 86px;
    border: 3px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #c98bff, #7a2fe0 60%, #4b12a8);
    color: #fff;
    font-size: 40px;
    font-weight: 900;
    box-shadow: 0 0 0 6px rgba(151, 71, 255, .2), 0 10px 30px rgba(118, 44, 255, .55);
    transition: transform .15s, box-shadow .2s;
}
 
.slot-spin:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(151, 71, 255, .25), 0 10px 40px rgba(118, 44, 255, .75);
}
 
.slot-spin:active:not(:disabled) {
    transform: scale(.95);
}
 
.slot-spin.is-spinning span {
    display: inline-block;
    animation: spin-icon .6s linear infinite;
}
 
@keyframes spin-icon {
    to { transform: rotate(360deg); }
}
 
.slot-spin:disabled {
    opacity: .4;
}
 
.slot-reset {
    display: block;
    margin: 14px auto 0;
}
 
/* Infos */
.slot-info {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(16, 10, 27, .9);
}
 
.slot-info h2 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 18px;
}
 
.slot-info h2 + .slot-info-note {
    margin-top: -6px;
}
 
.slot-rules {
    display: grid;
    gap: 9px;
    margin-bottom: 24px;
    padding-left: 18px;
    color: var(--muted);
    font-size: 13.5px;
}
 
.slot-rules strong {
    color: var(--white);
}
 
.mini-sym {
    padding: 1px 6px;
    border-radius: 5px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}
 
.slot-info-note {
    margin-bottom: 10px;
    color: #887b99;
    font-size: 12px;
}
 
.paytable {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
 
.paytable-row {
    --cell: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
}
 
.paytable-sym {
    padding: 2px;
}
 
.paytable-values {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 700;
}
 
.slot-facts {
    margin-top: 20px;
    display: grid;
    gap: 6px;
}
 
.slot-facts div {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    color: var(--muted);
    font-size: 13px;
}
 
.slot-facts strong {
    color: var(--white);
}
 
/* Achat de bonus */
.buy-dialog {
    width: min(520px, calc(100vw - 32px));
    margin: auto;
    padding: 26px;
    border: 1px solid rgba(255, 190, 90, .4);
    border-radius: 20px;
    background: linear-gradient(170deg, #1b0f2e, #0b0712);
    color: var(--white);
    text-align: center;
}
 
.buy-dialog::backdrop {
    background: rgba(4, 2, 8, .75);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
 
.buy-dialog h2 {
    font-size: 22px;
}
 
.buy-intro {
    margin: 8px 0 18px;
    color: var(--muted);
    font-size: 14px;
}
 
.buy-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
 
.buy-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(151, 71, 255, .08);
    color: var(--muted);
    font-size: 13px;
    transition: transform .2s, border-color .2s;
}
 
.buy-option:hover:not(:disabled) {
    transform: translateY(-3px);
    border-color: #ffc266;
}
 
.buy-option:disabled {
    opacity: .4;
}
 
.buy-option strong {
    color: var(--white);
    font-size: 18px;
}
 
.buy-icon {
    font-size: 34px;
}
 
.buy-price {
    margin-top: 4px;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(255, 180, 80, .18);
    color: #ffe2b0;
    font-weight: 800;
}
 
/* ==========================================
   ROULETTE
========================================== */
 
.rl-layout {
    max-width: 1180px;
    margin: auto;
    padding: 10px 25px 90px;
}
 
.rl-top {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}
 
.wheel-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    margin: auto;
}
 
.wheel-wrap svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6));
}
 
.rl-rotor,
.rl-ball-orbit {
    transform-origin: 0 0;
}
 
.rl-pointer {
    fill: #ffc266;
    filter: drop-shadow(0 0 6px rgba(255, 190, 90, .8));
}
 
.rl-result-zone {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
 
.rl-result {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(16, 10, 27, .9);
}
 
.rl-result-number {
    width: 74px;
    height: 74px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2a2236;
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25);
}
 
.rl-result-number.is-red { background: #c1123f; }
.rl-result-number.is-black { background: #17121f; }
.rl-result-number.is-green { background: #11845a; }
 
.rl-result-number.pop {
    animation: mult-pop-plain .5s cubic-bezier(.3, 1.6, .5, 1);
}
 
@keyframes mult-pop-plain {
    from { transform: scale(0); }
}
 
.rl-result-text {
    color: var(--muted);
    font-size: 14px;
}
 
.rl-result-text strong {
    display: block;
    color: var(--white);
    font-size: 18px;
}
 
.rl-history {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
 
.rl-history span {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}
 
.rl-history-label {
    color: #887b99;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}
 
.rl-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
 
.rl-board-wrap {
    margin-top: 28px;
    padding: 22px;
    overflow-x: auto;
    border: 1px solid rgba(177, 119, 255, .3);
    border-radius: 22px;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(118, 44, 255, .2), transparent 70%),
        linear-gradient(170deg, #1a1029, #0c0814);
}
 
.rl-board {
    min-width: 720px;
    display: grid;
    grid-template-columns: 56px repeat(12, minmax(0, 1fr)) 64px;
    grid-template-rows: repeat(3, 52px) 46px 46px;
    gap: 4px;
}
 
.rl-spot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    transition: transform .15s, box-shadow .2s, filter .2s;
}
 
.rl-spot:hover:not(:disabled) {
    filter: brightness(1.25);
    box-shadow: 0 0 0 2px var(--purple-light);
}
 
.rl-spot:disabled {
    cursor: default;
}
 
.rl-spot.is-red { background: #a50f37; }
.rl-spot.is-black { background: #1d1726; }
.rl-spot.is-green { background: #0f7550; }
.rl-spot.is-outside { background: rgba(151, 71, 255, .14); font-size: 13px; }
 
.rl-spot.is-zero {
    grid-column: 1;
    grid-row: 1 / 4;
    font-size: 20px;
}
 
.rl-spot.is-winner {
    z-index: 2;
    box-shadow: 0 0 0 3px #ffd38a, 0 0 22px rgba(255, 200, 110, .8);
    animation: win-bounce .6s ease-in-out infinite alternate;
}
 
.rl-diamond {
    width: 18px;
    height: 18px;
    transform: rotate(45deg);
    border-radius: 3px;
}
 
.rl-diamond.red { background: #e01a4f; }
.rl-diamond.black { background: #000; border: 1px solid #555; }
 
.rl-stack {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    min-width: 30px;
    height: 30px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px dashed rgba(255, 255, 255, .8);
    border-radius: 50px;
    background: radial-gradient(circle, #ffb36b 55%, #e2742a 56%);
    color: #2a0f00;
    font-size: 11px;
    font-weight: 900;
    transform: translate(-50%, -50%);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .5);
    pointer-events: none;
    animation: mult-pop .3s cubic-bezier(.3, 1.6, .5, 1);
}
 
.rl-controls {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
 
.rl-chip-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
 
.rl-chip-picker .bj-chip.is-selected {
    transform: translateY(-5px);
    border-color: #ffd38a;
    box-shadow: 0 0 0 3px rgba(255, 210, 130, .6), 0 6px 18px rgba(118, 44, 255, .5);
}
 
.rl-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
 
.rl-spin-row {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
 
.rl-spin-row .primary-button {
    min-width: 220px;
    font-size: 16px;
}
 
.rl-info {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
 
.rl-payouts {
    display: grid;
    gap: 6px;
}
 
.rl-payouts div {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    color: var(--muted);
    font-size: 13px;
}
 
.rl-payouts strong {
    color: var(--white);
}
 
/* ==========================================
   RESPONSIVE DES JEUX
========================================== */
 
@media (max-width: 1060px) {
    .slot-layout {
        grid-template-columns: 1fr;
    }
}
 
@media (max-width: 860px) {
    .rl-top,
    .rl-info {
        grid-template-columns: 1fr;
    }
}
 
@media (max-width: 560px) {
    .slot-layout,
    .rl-layout {
        padding: 10px 12px 60px;
    }
 
    .slot-machine {
        --cell: calc((100vw - 24px - 24px - 20px - 24px) / 5);
        --slot-gap: 6px;
        padding: 12px;
        border-radius: 20px;
    }
 
    .slot-title {
        font-size: 17px;
    }
 
    .slot-stat strong {
        font-size: 16px;
    }
 
    .slot-controls {
        grid-template-columns: 1fr auto 1fr;
    }
 
    .slot-controls .slot-auto {
        grid-column: 1;
        grid-row: 2;
    }
 
    .slot-controls .slot-buy-btn {
        grid-column: 2 / 4;
        grid-row: 2;
    }
 
    .slot-spin {
        width: 76px;
        height: 76px;
        font-size: 34px;
    }
 
    .buy-options {
        grid-template-columns: 1fr;
    }
 
    .rl-board-wrap {
        padding: 14px;
    }
 
    .rl-board {
        min-width: 600px;
        grid-template-columns: 44px repeat(12, minmax(0, 1fr)) 48px;
        grid-template-rows: repeat(3, 46px) 42px 42px;
    }
 
    .rl-spot {
        font-size: 13px;
    }
 
    .rl-stats .slot-stat strong {
        font-size: 15px;
    }
}
 
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
