/* Jersey 25 (SIL Open Font License, voir assets/fonts/OFL.txt), hébergée sur le site */
@font-face {
    font-family: "Jersey 25";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/jersey25-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;
}
@font-face {
    font-family: "Jersey 25";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/jersey25-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;
}

/* Palette tirée des assets de Trust The System */
:root {
    --bg: #000000;
    --bg-dark: #111111;
    --text: #ffffff;
    --blue: #5665a1;
    --coral: #ff5a5a;
    --pink: #ff9d9d;
    --cream: #ffffff;

    /* Rôles */
    --ui: var(--blue);
    --ui-text: #ffffff;
    --ui-active: var(--cream);
    --accent: var(--coral);
    --accent-soft: var(--coral);
    --frame: #ffffff;

    --pixel: "Jersey 25", "Courier New", monospace;
    --label: var(--pixel);
    --body: Tahoma, Verdana, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.6;
}

a { color: var(--text); }
a:hover { color: var(--accent); }

/* Transition douce sur tous les survols */
a,
button {
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

h1, h2, h3 {
    font-family: var(--pixel);
    font-weight: 400;
    color: var(--text);
    line-height: 1;
}

.icon {
    width: 1.1em;
    height: 1.1em;
    fill: currentColor;
    flex-shrink: 0;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
}
.logo {
    font-family: var(--pixel);
    font-size: 2.6em;
    line-height: 1;
    color: var(--text);
    text-decoration: none;
}
.header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
.header nav a {
    font-family: var(--label);
    font-size: 1.3em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 4px 14px;
    background: var(--ui);
    color: var(--ui-text);
}
.header nav a:hover,
.header nav a[aria-current="page"] {
    background: var(--ui-active);
    color: #000000;
}
.header nav a.lang {
    background: transparent;
    color: var(--text);
    outline: 2px solid var(--ui);
    outline-offset: -2px;
}
.menu-toggle {
    display: none;
    width: 44px;
    height: 40px;
    padding: 0;
    border: 0;
    background: var(--ui);
    cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 22px;
    height: 3px;
    margin: 0 auto;
    background: #ffffff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before,
.menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
.header nav a.lang:hover {
    background: var(--ui);
    color: var(--ui-text);
}

/* Accueil */
.intro {
    max-width: 1100px;
    margin: 0 auto;
    max-width: 900px;
    padding: 72px 24px 56px;
    text-align: center;
}
.intro p {
    margin: 0;
    text-wrap: balance;
}
.intro h1 {
    margin: 0;
    text-wrap: balance;
}
.intro .studio {
    font-family: var(--pixel);
    font-size: clamp(1.8em, 3.4vw, 2.8em);
    line-height: 1.1;
}
.intro .studio strong {
    color: var(--coral);
    font-weight: inherit;
}
.intro .founder {
    display: block;
    color: #c7c7c7;
    margin-top: 6px;
    font-size: 0.65em;
}
.intro .discover a { font-weight: 700; }
.intro .discover {
    margin-top: 16px;
    color: #c7c7c7;
    font-size: 1em;
}
.intro a {
    color: var(--accent);
    text-decoration-thickness: 2px;
}
.intro a:hover { color: var(--accent-soft); }

.cards {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.game-card {
    position: relative;
    display: block;
    border: 4px solid var(--frame);
}
.game-card img {
    display: block;
    width: 100%;
    height: auto;
}
.game-card .capsule-alt {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.game-card:hover .capsule-alt { opacity: 1; }
.card-caption {
    margin: 28px 0 0;
    text-align: center;
    font-family: var(--label);
    text-transform: uppercase;
    color: var(--accent-soft);
    font-size: 1.3em;
}

/* Page du jeu */
.hero {
    padding: 72px 24px 88px;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), var(--bg)), url("assets/web/hero-floor3.webp") center / cover no-repeat;
}
.hero h1 { margin: 0; }
.hero-logo {
    width: min(640px, 85vw);
    height: auto;
}
.notice {
    max-width: 700px;
    margin: 24px auto 8px;
    color: var(--coral);
    font-family: var(--label);
    font-size: 1.5em;
    line-height: 1.2;
    text-transform: uppercase;
}
.hero-text {
    max-width: 640px;
    margin: 0 auto 20px;
    font-size: 1em;
}
.buy-label {
    margin: 0 0 10px;
    font-family: var(--label);
    font-size: 1.3em;
    text-transform: uppercase;
    color: var(--accent-soft);
}
.stores,
.stores-more {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.stores a,
.stores-more a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--label);
    text-transform: uppercase;
    text-decoration: none;
}
.stores a {
    padding: 10px 28px 10px 24px;
    background: #ffffff;
    color: #000000;
    font-size: 1.6em;
}
.stores a:hover {
    background: var(--coral);
    color: #000000;
}
.stores-more { margin-top: 10px; }
.stores-more a {
    padding: 6px 14px;
    background: var(--blue);
    color: #ffffff;
    font-size: 1.15em;
}
.stores-more a:hover {
    background: #ffffff;
    color: #000000;
}

.block {
    max-width: 1000px;
    margin: 0 auto;
    padding: 56px 24px;
}
.block h2 {
    font-size: 2.6em;
    margin: 0 0 24px;
}
.block h2::before {
    content: "> ";
    color: var(--accent);
}
.lead {
    font-weight: 700;
    color: var(--accent-soft);
}
.trailer {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--bg-dark);
}
.trailer-play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.trailer-play img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trailer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Liseuse de captures */
.screens-section {
    background: url("assets/web/bg-wide.webp") center / cover no-repeat;
    image-rendering: pixelated;
}
.viewer-main {
    position: relative;
    background: var(--bg-dark);
}
.viewer-main img {
    display: block;
    width: 100%;
    height: auto;
}
.viewer-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-family: var(--pixel);
    font-size: 2.6em;
    line-height: 1;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
    cursor: pointer;
}
.viewer-arrow:hover { color: var(--coral); }
.viewer-arrow.prev { left: 12px; }
.viewer-arrow.next { right: 12px; }
.viewer-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 2px 10px;
    background: rgba(0, 0, 0, 0.7);
    font-family: var(--label);
    font-size: 1.1em;
}
.viewer-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 8px;
}
.viewer-thumbs button {
    padding: 0;
    border: 3px solid transparent;
    background: none;
    cursor: pointer;
    opacity: 0.55;
}
.viewer-thumbs button:hover { opacity: 1; }
.viewer-thumbs button[aria-current="true"] {
    border-color: var(--accent);
    opacity: 1;
}
.viewer-thumbs img {
    display: block;
    width: 100%;
    height: auto;
}

.features {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}
.features li {
    position: relative;
    padding: 6px 0 6px 24px;
}
.features li::before {
    content: ">";
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--accent);
    font-weight: 700;
}

.presskit {
    max-width: 520px;
    margin: 48px auto 0;
    padding: 24px;
    background: var(--bg-dark);
    text-align: center;
}
.presskit h3 {
    margin: 0;
    font-size: 2em;
    color: var(--coral);
}
.presskit p { margin: 8px 0 20px; }
.presskit a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #ffffff;
    color: #000000;
    font-family: var(--label);
    font-size: 1.3em;
    text-transform: uppercase;
    text-decoration: none;
}
.presskit a:hover { background: var(--coral); color: #000000; }

/* Footer */
.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 96px;
    margin-top: 80px;
    padding: 48px 24px 32px;
    background: var(--bg-dark);
}
.footer h3 {
    font-size: 1.8em;
    margin: 0 0 12px;
}
.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer li { margin-bottom: 8px; }
.footer li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.copyright {
    flex-basis: 100%;
    text-align: center;
    font-family: var(--label);
    font-size: 1.2em;
    color: #c7c7c7;
    margin: 16px 0 0;
}


/* Politique de confidentialité */
.page {
    max-width: 800px;
    margin: 32px auto 0;
    padding: 0 24px;
}
.page h1 { font-size: 3em; }
.page h2 {
    font-size: 2em;
    color: var(--accent);
    margin-top: 40px;
}
.page h3 { font-size: 1.6em; }
.todo {
    background: var(--coral);
    color: #000000;
    padding: 0 4px;
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .header { position: relative; flex-wrap: wrap; padding: 16px; }
    .logo { font-size: 2.2em; }
    .menu-toggle { display: block; }
    .header nav {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        gap: 6px;
        margin-top: 16px;
    }
    .menu-open .header nav { display: flex; }
    .header nav a {
        padding: 8px 14px;
        font-size: 1.4em;
        text-align: left;
    }
    .notice { font-size: 1.15em; }
    .stores a { font-size: 1.4em; }
    .intro { padding: 40px 16px 48px; }
    .cards { padding: 0 16px; }
    .hero { padding: 48px 16px 56px; }
    .block { padding: 40px 16px; }
    .viewer-arrow { width: 36px; height: 36px; font-size: 1.5em; }
    .viewer-thumbs { grid-template-columns: repeat(3, 1fr); }
    .footer { gap: 24px; }
}
