/* KOVA : menu et pied de page de la v3, pour les pages du site qui gardent leur contenu d'origine.
   Généré depuis v3.css et cine/low.css de l'aperçu : modifier là-bas, puis node /var/www/kova-src/src/build.mjs --v3.
   Les couleurs et polices sont posées sur .nv et .fo seulement : le contenu des pages n'est pas touché. */
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

.nv,
.fo {
    --bg: #070707; --bg-2: #0c0c0d; --card: #121213; --card-2: #18181a; --line: #232325; --line-2: #303033;
    --ink: #f5f5f6; --ink-2: #b4b4ba; --ink-3: #7d7d85; --btn: #f5f5f6; --btn-ink: #0a0a0a;
    --f-display: 'Sora', 'Inter', system-ui, sans-serif; --f-text: 'Inter', system-ui, sans-serif; --f-mono: 'JetBrains Mono', ui-monospace, monospace;
    --ease: cubic-bezier(0.22, 1, 0.36, 1); --nav-h: 72px;
    --serif: 'Instrument Serif', Georgia, serif; --l1: #1c1c21; --l2: #2a2a30; --i1: #fafafa; --i2: #a1a1aa; --i3: #6b6b74; --i4: #44444b; --silver: #c9c9d1;
    font-family: var(--f-text); -webkit-font-smoothing: antialiased;
}
:where(.nv, .fo) * { box-sizing: border-box; }
:where(.nv, .fo) a { color: inherit; text-decoration: none; }
:where(.nv, .fo) button { font: inherit; }
.fo h3 { letter-spacing: normal; }
.fo__say em { padding-right: 0.05em; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; line-height: 0.9; letter-spacing: -0.01em; color: var(--silver); }
/* the original header, phone menu and footer of these pages stay in the page for their scripts, but are not shown */
body.kv3 > header.nav,
body.kv3 > .menu,
body.kv3 > footer.footer { display: none !important; }

/* ------------------------------------------------------------------ navigation */

.nv { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); pointer-events: none; }
.nv__bar {
    position: absolute;
    inset: 12px 16px auto;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px 0 22px;
    border: 1px solid transparent;
    border-radius: 18px;
    pointer-events: auto;
    transition: background-color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.nv.is-solid .nv__bar {
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    border-color: var(--line);
    box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
}
.nv__logo { display: flex; align-items: center; height: 40px; flex: none; margin-right: 18px; }
.nv__logo svg { height: 22px; width: auto; fill: var(--ink); }
.nv__menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nv__item > button,
.nv__item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: none;
    font: 500 15px/1 var(--f-text);
    color: var(--ink-2);
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
}
.nv__item > button svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }
.nv__item > button:hover,
.nv__item > a:hover,
.nv__item.is-open > button { color: var(--ink); background: var(--card-2); }
.nv__item.is-open > button svg { transform: rotate(180deg); }
.nv__right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nv__lang {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: none;
    font: 600 13px/1 var(--f-mono);
    color: var(--ink-2);
    cursor: pointer;
}
.nv__lang svg { width: 16px; height: 16px; }
.nv__client { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 14px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(255, 255, 255, 0.05); font: 500 14.5px/1 var(--f-text); color: #f4f4f5; white-space: nowrap; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.nv__client:hover { color: #fff; border-color: rgba(255, 255, 255, 0.42); background: rgba(255, 255, 255, 0.1); }
.nv__client svg { width: 16px; height: 16px; opacity: 0.85; }
.nv__burger { display: none; }

/* compact state: only the KOVA logo, in a small pill at the top centre */
.nv__pill {
    position: absolute;
    top: 14px;
    left: 50%;
    height: 52px;
    width: 132px;
    margin-left: -66px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    cursor: pointer;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}
.nv__pill svg { height: 20px; width: auto; fill: #fff; filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.6)); }
.nv__pill i { display: none !important; }
.nv.is-shrink .nv__bar { background-color: transparent !important; border-color: transparent !important; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.nv__pill i {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent);
    animation: v3-ping 2.4s ease-out infinite;
}
@keyframes v3-ping { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.nv.is-compact .nv__pill { pointer-events: auto; }

/* mega menu */
.mm {
    position: absolute;
    top: 78px;
    left: 16px;
    width: max-content;
    max-width: calc(100vw - 32px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--bg-2);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
}
.mm__panel { display: none; padding: 22px; }
.mm__panel.is-on { display: block; }
.mm__grid { display: grid; gap: 10px; }
.mm__grid--4 { grid-auto-flow: column; grid-auto-columns: minmax(220px, 250px); }
.mm__grid--games { grid-template-columns: repeat(4, 190px); }
.mm__link {
    display: flex;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    transition: background-color 0.2s;
}
.mm__link:hover { background: var(--card-2); }
.mm__ic {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
}
.mm__ic img { width: 24px; height: 24px; }
.mm__ic svg { width: 22px; height: 22px; stroke: var(--ink); }
.mm__t { display: block; font: 600 15px/1.3 var(--f-text); color: var(--ink); }
.mm__d { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.mm__p { display: block; margin-top: 8px; font: 600 12.5px/1 var(--f-mono); color: var(--ink-2); }
.mm__game { position: relative; display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 9; }
.mm__game img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.mm__game:hover img { transform: scale(1.05); }
.mm__game::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.82)); }
.mm__game span { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; display: flex; justify-content: space-between; font: 600 13.5px/1.2 var(--f-text); color: #fff; }
.mm__game em { font-style: normal; font-family: var(--f-mono); font-size: 12px; color: #d4d4d8; }
.mm__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.mm__foot a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.mm__foot a svg { width: 16px; height: 16px; }

@media (max-width: 1080px) {
    .nv__menu, .nv__client, .nv__lang { display: none; }
    .nv__burger { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: none; color: var(--ink); }
    .nv__burger svg { width: 20px; height: 20px; }
}

/* nav button + phone menu */
.nv__cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px 0 20px; border-radius: 999px; background: #fff; color: #0a0a0a; font: 600 14.5px/1 var(--f-text); white-space: nowrap; transition: background-color 0.2s; }
.nv__cta svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.nv__cta:hover svg { transform: translateX(3px); }
.nv__cta:hover { background: #e4e4e7; }
.nv__sheet { position: fixed; top: 84px; left: 16px; right: 16px; max-height: calc(100svh - 100px); overflow: auto; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); pointer-events: auto; }
.nv__sheet[hidden] { display: none; }
.nv__sheet a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 12px; font: 600 16px/1.2 var(--f-text); color: var(--ink); }
.nv__sheet a:hover { background: var(--card-2); }
.nv__sheet small { font: 500 12.5px/1 var(--f-mono); color: var(--ink-3); }
.nv__sheet hr { margin: 6px 10px; border: 0; border-top: 1px solid var(--line); }
@media (min-width: 1081px) { .nv__sheet { display: none !important; } }

/* ------------------------------------------------------------------ footer: classic and black (brand + live status, four columns, legal lines, giant KOVA cut by the bottom edge) */
.fo { position: relative; overflow: hidden; border-top: 1px solid var(--l1); background: #050506; }
.fo__w { width: min(calc(1320px * var(--s, 1)), 100% - 7vw); margin: 0 auto; padding-top: calc(76px * var(--s, 1)); }
.fo__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2.7fr); gap: calc(56px * var(--s, 1)); align-items: start; }
.fo__logo { display: inline-block; }
.fo__logo svg { display: block; width: auto; height: calc(26px * var(--s, 1)); fill: var(--i1); }
.fo__tag { max-width: calc(330px * var(--s, 1)); margin: calc(18px * var(--s, 1)) 0 0; font-size: calc(14.5px * var(--s, 1)); line-height: 1.6; color: var(--i2); }
.fo__status { display: inline-flex; align-items: center; gap: calc(10px * var(--s, 1)); height: calc(36px * var(--s, 1)); margin-top: calc(22px * var(--s, 1)); padding: 0 calc(15px * var(--s, 1)) 0 calc(13px * var(--s, 1)); border: 1px solid var(--l2); border-radius: calc(999px * var(--s, 1)); font: 500 calc(13.5px * var(--s, 1))/1 var(--f-text); color: #d4d4d8; white-space: nowrap; transition: border-color 0.2s, color 0.2s; }
.fo__status:hover { border-color: #3c3c44; color: var(--i1); }
.fo__status i { position: relative; flex: none; width: calc(7px * var(--s, 1)); height: calc(7px * var(--s, 1)); border-radius: 50%; background: var(--i3); }
.fo__status[data-state='ok'] i { background: #46d369; }
.fo__status[data-state='warn'] i { background: #f5a524; }
.fo__status[data-state='bad'] i { background: #ef4444; }
.fo__status[data-state='info'] i { background: #60a5fa; }
.fo__status[data-state] i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: fo-led 2.6s ease-out infinite; }
@keyframes fo-led { 0% { transform: scale(1); opacity: 0.55; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.fo__social { display: flex; flex-wrap: wrap; gap: calc(10px * var(--s, 1)); margin-top: calc(14px * var(--s, 1)); }
.fo__ib,
.fo__btn { display: inline-flex; align-items: center; justify-content: center; gap: calc(9px * var(--s, 1)); height: calc(40px * var(--s, 1)); border: 1px solid var(--l2); border-radius: calc(11px * var(--s, 1)); background: #0b0b0d; color: #d4d4d8; transition: border-color 0.2s, color 0.2s, background-color 0.2s; }
.fo__ib { width: calc(40px * var(--s, 1)); }
.fo__btn { padding: 0 calc(15px * var(--s, 1)); font: 500 calc(14px * var(--s, 1))/1 var(--f-text); }
.fo__ib:hover,
.fo__btn:hover { border-color: #3c3c44; background: #111114; color: var(--i1); }
.fo__ib svg,
.fo__btn svg { width: calc(18px * var(--s, 1)); height: calc(18px * var(--s, 1)); }
.fo__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(28px * var(--s, 1)); }
.fo__col h3 { margin: 0 0 calc(18px * var(--s, 1)); font: 600 calc(14px * var(--s, 1))/1.2 var(--f-text); color: var(--i1); }
.fo__col ul { display: grid; gap: calc(12px * var(--s, 1)); margin: 0; padding: 0; list-style: none; }
.fo__col a { font-size: calc(14px * var(--s, 1)); line-height: 1.35; color: var(--i2); transition: color 0.2s; }
.fo__col a:hover { color: var(--i1); }
.fo__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: calc(14px * var(--s, 1)) calc(24px * var(--s, 1)); margin-top: calc(64px * var(--s, 1)); padding-top: calc(26px * var(--s, 1)); border-top: 1px solid var(--l1); }
.fo__copy { font-size: calc(13px * var(--s, 1)); color: #a1a1aa; }
.fo__pay { display: flex; flex-wrap: wrap; gap: calc(8px * var(--s, 1)); }
.fo__chip { display: inline-flex; align-items: center; gap: calc(7px * var(--s, 1)); height: calc(28px * var(--s, 1)); padding: 0 calc(10px * var(--s, 1)); border: 1px solid var(--l2); border-radius: calc(7px * var(--s, 1)); font: 600 calc(12px * var(--s, 1))/1 var(--f-text); color: #d4d4d8; }
.fo__chip svg { width: calc(14px * var(--s, 1)); height: calc(14px * var(--s, 1)); color: var(--i2); }
.fo__bar2 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: calc(10px * var(--s, 1)) calc(24px * var(--s, 1)); margin-top: calc(16px * var(--s, 1)); font-size: calc(13px * var(--s, 1)); color: var(--i3); }
.fo__legal { display: flex; flex-wrap: wrap; align-items: center; }
.fo__legal a { color: var(--i3); transition: color 0.2s; }
.fo__legal a:hover { color: var(--i1); }
.fo__legal a + a::before { content: '·'; display: inline-block; margin: 0 calc(9px * var(--s, 1)); color: var(--i4); }
.fo__giant { width: min(calc(1320px * var(--s, 1)), 100% - 7vw); margin: calc(44px * var(--s, 1)) auto 0; aspect-ratio: 968 / 168; overflow: hidden; }
.fo__giant svg { display: block; width: 100%; height: auto; }


@media (max-width: 900px) {
    .fo__top { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .fo__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; }
}
@media (max-width: 640px) {
    .fo__w { width: calc(100% - 32px); padding-top: 56px; }
    .fo__col a { font-size: 15px; }
    .fo__bar,
    .fo__bar2 { flex-direction: column; align-items: flex-start; }
    .fo__giant { width: calc(100% - 32px); margin-top: 36px; }
}
