/* =========================================================
   Orion - feuille de style unique (toutes les pages)
   ========================================================= */

@font-face {
    font-family: 'Exo 2';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('fonts/exo2-latin.woff2') format('woff2');
}

:root {
    --bg: #070a1f;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-2: rgba(255, 255, 255, 0.06);
    --border: rgba(170, 185, 255, 0.13);
    --border-strong: rgba(170, 185, 255, 0.32);
    --text: #e9ecff;
    --muted: #9ea7cc;
    --faint: #6d759c;
    --accent: #8090ff;
    --violet: #a17cf0;
    --pink: #f093fb;
    --gold: #f2c14e;
    --sky: #6ec3ff;
    --green: #5fe0a5;
    --red: #ff9393;
    --discord: #5865f2;
    --radius: 16px;
    --nav-h: 60px;
    --font-display: 'Exo 2', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: calc(var(--nav-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: var(--nav-h);
    display: flex;
    flex-direction: column;
}

/* Nébuleuse en fond (fixe) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(900px 520px at 88% -8%, rgba(118, 75, 190, 0.22), transparent 65%),
        radial-gradient(800px 600px at -12% 38%, rgba(50, 80, 200, 0.14), transparent 65%),
        radial-gradient(700px 500px at 60% 115%, rgba(200, 80, 180, 0.08), transparent 65%);
}

#sky {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

main,
.site-footer,
.navbar {
    position: relative;
    z-index: 1;
}

main {
    flex: 1;
    width: 100%;
    outline: none;
    transition: opacity 0.2s;
}

/* Changement de page sans rechargement */
.is-loading main {
    opacity: 0.4;
}

main.page-enter {
    animation: page-in 0.35s ease;
}

@keyframes page-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

strong {
    color: var(--text);
    font-weight: 600;
}

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.15;
    font-weight: 700;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.wrap {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 900;
    background: rgba(7, 10, 31, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.navbar-inner {
    max-width: 1160px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.22em;
}

.brand img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 7px 14px;
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover {
    color: var(--text);
    background: var(--surface-2);
}

/* Liens vers une autre page : encadrés */
.nav-link-page {
    border: 1px solid var(--border-strong);
}

.nav-sep {
    width: 1px;
    height: 24px;
    margin: 0 8px;
    background: var(--border-strong);
}

/* Bouton menu (mobile) */
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform 0.25s, opacity 0.25s;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-link.is-active {
    color: var(--text);
    background: rgba(128, 144, 255, 0.16);
    border-color: rgba(128, 144, 255, 0.5);
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 11px;
    border: 1px solid transparent;
    font: 600 0.95rem/1.2 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--accent);
    color: #0a0d26;
}

.btn-primary:hover {
    background: #96a3ff;
}

.btn-ghost {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}

.btn-ghost:hover {
    background: var(--surface-2);
    border-color: rgba(170, 185, 255, 0.5);
}

.btn-discord {
    background: var(--discord);
    color: #fff;
}

.btn-discord:hover {
    background: #4752c4;
}

/* ---------- Petits éléments communs ---------- */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
}

.kicker::before {
    content: '';
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid currentColor;
}

.status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-open {
    color: var(--green);
    border-color: rgba(95, 224, 165, 0.35);
    background: rgba(95, 224, 165, 0.08);
}

.status-soon {
    color: var(--gold);
    border-color: rgba(242, 193, 78, 0.35);
    background: rgba(242, 193, 78, 0.08);
}

.status-soon::before {
    animation: breathe 1.6s ease-in-out infinite;
}

.status-closed {
    color: var(--red);
    border-color: rgba(255, 147, 147, 0.3);
    background: rgba(255, 147, 147, 0.07);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.tags li {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 0.85rem;
    color: var(--text);
}

.tags-links li {
    padding: 0;
}

.tags-links a {
    display: block;
    padding: 5px 12px;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.tags-links a:hover {
    background: var(--surface-2);
}

.tags-links li:not(.tag-more):hover {
    border-color: var(--border-strong);
}

.tags .tag-more {
    border-style: dashed;
    background: transparent;
    color: var(--muted);
    font-style: italic;
}

/* ---------- Hero ---------- */
.hero {
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100svh - var(--nav-h));
    display: flex;
    align-items: center;
    padding: 48px 0 72px;
}

.hero .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: center;
    gap: 40px;
}

.hero-title {
    font-size: clamp(3.6rem, 10vw, 7.4rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 14px 0 10px -0.04em;
    background: linear-gradient(120deg, #7d93ff 0%, #a17cf0 55%, #f093fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 28px rgba(128, 144, 255, 0.35));
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
    max-width: 30ch;
}

.hero-intro {
    margin-top: 18px;
    color: var(--muted);
    max-width: 54ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-sky {
    display: flex;
    justify-content: center;
}

.constellation {
    width: 100%;
    max-width: 300px;
    height: auto;
    overflow: visible;
}

.constellation .lines line {
    stroke: rgba(170, 185, 255, 0.38);
    stroke-width: 1;
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
    animation: draw-line 2.4s ease-out forwards;
}

.constellation .lines line:nth-child(2) { animation-delay: 0.15s; }
.constellation .lines line:nth-child(3) { animation-delay: 0.3s; }
.constellation .lines line:nth-child(4) { animation-delay: 0.45s; }
.constellation .lines line:nth-child(5) { animation-delay: 0.6s; }
.constellation .lines line:nth-child(6) { animation-delay: 0.7s; }
.constellation .lines line:nth-child(7) { animation-delay: 0.85s; }
.constellation .lines line:nth-child(8) { animation-delay: 1s; }

@keyframes draw-line {
    to { stroke-dashoffset: 0; }
}

.constellation .star-light {
    transform-box: fill-box;
    transform-origin: center;
    animation: twinkle 5s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.constellation .star:nth-of-type(2n) .star-light { animation-duration: 6.5s; animation-delay: -2s; }
.constellation .star:nth-of-type(3n) .star-light { animation-duration: 4.2s; animation-delay: -1s; }

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Easter egg : nom de l'étoile au survol */
.constellation .hit {
    fill: transparent;
    pointer-events: all;
}

.constellation .star-name {
    fill: var(--text);
    font: 700 10px var(--font-display);
    letter-spacing: 0.04em;
    paint-order: stroke;
    stroke: var(--bg);
    stroke-width: 3px;
    stroke-linejoin: round;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.constellation .star-name.end {
    text-anchor: end;
}

.constellation .star-info {
    fill: var(--muted);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.constellation .star:hover .star-name {
    opacity: 1;
}

.constellation .star:hover .star-light {
    animation: none;
    transform: scale(1.35);
}

/* ---------- Sections ---------- */
.section {
    padding: 88px 0;
}

.section-head {
    margin-bottom: 40px;
    max-width: 680px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.5rem);
    margin-top: 10px;
}

.section-head p {
    color: var(--muted);
    margin-top: 12px;
}

/* ---------- Pôles ---------- */
.poles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.pole {
    --pole: var(--accent);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color 0.25s;
}

.pole::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 28px;
    right: 28px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--pole), transparent);
    opacity: 0.8;
}

.pole:hover {
    border-color: var(--border-strong);
}

.pole-mj { --pole: var(--sky); }
.pole-event { --pole: var(--gold); }
.pole-uhc { --pole: #8a93b8; }

.pole-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pole-logo {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.pole-head h3 {
    font-size: 1.6rem;
}

.pole-meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.pole-head .status {
    margin-left: auto;
    align-self: flex-start;
}

.pole > p {
    color: #c9cfe8;
    font-size: 0.97rem;
}

.pole-block {
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
}

.pole-block-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--pole);
    margin-bottom: 10px;
}

.event-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
}

.event-name span {
    color: var(--gold);
    font-weight: 600;
    margin-left: 4px;
}

.event-desc {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 2px 0 14px;
}

.pole-note {
    color: var(--gold) !important;
    font-weight: 600;
}

/* Carte "Dernier event" (lien vers la page Projet Arès) */
.last-event {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 12px;
    text-decoration: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.last-event:hover {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.045);
}

.last-event img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

.last-event-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.last-event .pole-block-title {
    margin-bottom: 2px;
}

.last-event .event-desc {
    margin: 0;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.link-arrow::after {
    content: '→';
    transition: transform 0.2s;
}

a.link-arrow:hover::after,
a:hover .link-arrow::after {
    transform: translateX(3px);
}

/* Prochain event : compte à rebours brouillé, la date est encore secrète */
.countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.countdown div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 4px 8px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
}

.countdown b {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 14px rgba(242, 193, 78, 0.35);
}

.countdown span {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
}

.next-event-note {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.88rem;
}

.pole-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 6px;
}

/* Carte UHC (archive) sur toute la largeur */
.pole-uhc {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
}

.pole-uhc-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pole-uhc-text > p {
    color: #c9cfe8;
    font-size: 0.97rem;
}

.pole-uhc .thanks {
    color: #f3b6e6;
    font-style: italic;
}

.pole-uhc .pole-logo {
    filter: saturate(0.6);
}

.pole-uhc-photo {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.pole-uhc-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    filter: saturate(0.55) brightness(0.85);
    transition: filter 0.5s, transform 0.6s;
}

.pole-uhc-photo:hover img {
    filter: none;
    transform: scale(1.02);
}

/* ---------- Vidéo YouTube (chargée seulement au clic) ---------- */
.yt {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border);
    cursor: pointer;
}

.yt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.yt:hover img {
    opacity: 1;
}

.yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 44px;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background: rgba(10, 12, 30, 0.8);
    transition: background-color 0.2s;
}

.yt-play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent #fff;
}

.yt:hover .yt-play {
    background: #ff0033;
}

.yt iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- Owners ---------- */
.owners {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 900px;
}

.owner {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}

.owner-avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(128, 144, 255, 0.45);
    box-shadow: 0 0 0 5px rgba(128, 144, 255, 0.08);
}

.owner h3 {
    font-size: 1.4rem;
}

.owner-role {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 4px 0 10px;
}

.owner .tags li {
    font-size: 0.8rem;
    padding: 3px 10px;
}

.owner-link {
    margin-top: 16px;
    padding: 8px 14px;
    font-size: 0.88rem;
}

.owner-discord {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 7px 12px;
    border-radius: 10px;
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.35);
    color: #aab3ff;
    font-size: 0.88rem;
    font-weight: 500;
}

.owner-discord svg {
    width: 16px;
    height: 16px;
}

.owner-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.owner-links .owner-discord,
.owner-links .owner-link {
    margin: 0;
}

/* ---------- Soutenir / rejoindre ---------- */
.support {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.support-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}

.support-card h3 {
    font-size: 1.4rem;
}

.support-card > p {
    color: #c9cfe8;
}

.support-card .pole-actions {
    margin-top: auto;
}

.support-list {
    list-style: none;
    display: grid;
    gap: 8px;
}

.support-list li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
}

.support-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-size: 0.85rem;
}

.btn-copy .icon-done,
.btn-copy.is-copied .icon-copy {
    display: none;
}

.btn-copy.is-copied .icon-done {
    display: block;
}

.btn-copy.is-copied {
    background: var(--green);
}

.ori-tag {
    display: inline-block;
    padding: 0 7px;
    border-radius: 6px;
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.45);
    color: #c3c9ff;
    font-size: 0.85em;
    letter-spacing: 0.08em;
}

/* ---------- Réseaux ---------- */
.socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 640px;
}

.social {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.social:hover {
    border-color: var(--border-strong);
    background: var(--surface-2);
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--surface-2);
    color: var(--text);
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.social-youtube .social-icon { color: #ff4e5f; }
.social-tiktok .social-icon { color: #69f0e8; }

.social-text strong {
    display: block;
    font-size: 0.98rem;
}

.social-text small {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
}

/* ---------- Footer ---------- */
.site-footer {
    text-align: center;
    padding: 32px 24px 40px;
    color: var(--faint);
    font-size: 0.88rem;
}

/* ---------- Écran d'accueil ---------- */
.welcome {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    background:
        radial-gradient(700px 480px at 80% 10%, rgba(118, 75, 190, 0.28), transparent 65%),
        radial-gradient(700px 520px at 10% 80%, rgba(50, 80, 200, 0.2), transparent 65%),
        radial-gradient(500px 360px at 50% 105%, rgba(240, 147, 251, 0.12), transparent 70%),
        var(--bg);
    transition: opacity 0.8s ease, visibility 0.8s;
}

.welcome-sky {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.entered .welcome {
    display: none;
}

.welcome.is-leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.welcome-inner {
    position: relative;
    z-index: 1;
    animation: rise 1.4s ease both;
}

.welcome-orion {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 13vw, 6.5rem);
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-right: -0.16em;
    background: linear-gradient(120deg, #7d93ff 0%, #a17cf0 55%, #f093fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 30px rgba(128, 144, 255, 0.5));
}

.welcome-text {
    margin: 22px 0 34px;
    color: var(--muted);
    font-size: clamp(1rem, 2.6vw, 1.35rem);
    font-weight: 300;
    letter-spacing: 0.12em;
    animation: breathe 2.6s ease-in-out infinite;
}

.welcome-orion,
.welcome-text {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Fusée */
.rocket-wrap {
    position: relative;
    width: 76px;
    margin: 0 auto;
}

.rocket {
    display: block;
    width: 76px;
    height: auto;
    overflow: visible;
    animation: hover 3s ease-in-out infinite;
}

@keyframes hover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.rocket .flame {
    transform-origin: 30px 88px;
    transform: scaleY(0.22) scaleX(0.7);
    opacity: 0.75;
    transition: transform 0.35s ease-out, opacity 0.2s;
}

.rocket .flame-flicker {
    transform-origin: 30px 88px;
    animation: flicker 0.12s ease-in-out infinite alternate;
}

.rocket-glow {
    position: absolute;
    left: 50%;
    top: 62%;
    width: 160px;
    height: 160px;
    transform: translate(-50%, -20%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 170, 80, 0.55), rgba(255, 90, 60, 0.15) 45%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

/* 1) Allumage : flammes + tremblements */
.welcome.is-igniting .rocket {
    animation: shake 0.07s linear infinite;
}

.welcome.is-igniting .rocket .flame {
    transform: scaleY(1) scaleX(1);
    opacity: 1;
}

.welcome.is-igniting .rocket-glow {
    opacity: 1;
}

.welcome.is-igniting .welcome-orion,
.welcome.is-igniting .welcome-text {
    animation: shake-soft 0.09s linear infinite;
}

/* 2) Décollage */
.welcome.is-launching .rocket-wrap {
    animation: launch 1.1s cubic-bezier(0.55, 0, 0.9, 0.35) forwards;
}

.welcome.is-launching .rocket .flame {
    transform: scaleY(1.5) scaleX(1.1);
}

.welcome.is-launching .welcome-orion,
.welcome.is-launching .welcome-text {
    opacity: 0;
    transform: translateY(24px);
    animation: none;
}

@keyframes flicker {
    from { transform: scaleY(0.88) scaleX(1.06); }
    to { transform: scaleY(1.1) scaleX(0.94); }
}

@keyframes shake {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-1.5px, 1px) rotate(-0.8deg); }
    50% { transform: translate(1.5px, -1px) rotate(0.8deg); }
    75% { transform: translate(-1px, -1px) rotate(-0.4deg); }
    100% { transform: translate(1px, 1px) rotate(0.4deg); }
}

@keyframes shake-soft {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-1px, 0.5px); }
    50% { transform: translate(1px, -0.5px); }
    75% { transform: translate(-0.5px, -0.5px); }
}

@keyframes launch {
    from { transform: translateY(0); }
    to { transform: translateY(-115vh); }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: none; }
}

@keyframes breathe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(14px); }
}

/* ---------- Lecteur de musique ---------- */
.player {
    position: fixed;
    z-index: 950;
    width: 252px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(10, 14, 38, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-strong);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.player[data-corner="top-right"] { top: calc(var(--nav-h) + 14px); right: 16px; }
.player[data-corner="top-left"] { top: calc(var(--nav-h) + 14px); left: 16px; }
.player[data-corner="bottom-right"] { bottom: 16px; right: 16px; }
.player[data-corner="bottom-left"] { bottom: 16px; left: 16px; }

.player.is-dragging {
    cursor: grabbing;
    transition: none;
}

.player.is-snapping {
    transition: transform 0.3s ease;
}

.player-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-btn {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text);
    cursor: pointer;
    transition: background-color 0.2s;
}

.player-btn:hover {
    background: rgba(255, 255, 255, 0.14);
}

.player-btn svg {
    width: 15px;
    height: 15px;
}

.player-play {
    background: var(--accent);
    color: #0a0d26;
}

.player-play:hover {
    background: #96a3ff;
}

.player-play .icon-pause,
.player.is-playing .player-play .icon-play {
    display: none;
}

.player.is-playing .player-play .icon-pause {
    display: block;
}

.player-btn-ghost {
    background: transparent;
    color: var(--muted);
    width: 24px;
    height: 24px;
}

.player-song {
    flex: 1;
    min-width: 0;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    margin: 12px 0 8px;
    border-radius: 4px;
    background: linear-gradient(var(--accent), var(--accent)) 0 / var(--fill, 0%) 100% no-repeat, rgba(255, 255, 255, 0.14);
    cursor: pointer;
    outline-offset: 4px;
}

.player-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    border: 0;
}

.player-range::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    border: 0;
}

.player-meta {
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 6px;
}

.player-volume svg {
    width: 14px;
    height: 14px;
}

.player-volume .player-range {
    width: 70px;
    height: 3px;
    margin: 0;
}

.player-mini {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    place-items: center;
}

.player.is-min {
    width: auto;
    padding: 4px;
    border-radius: 50%;
}

.player.is-min .player-full {
    display: none;
}

.player.is-min .player-mini {
    display: grid;
}

.bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
}

.bars i {
    width: 3px;
    height: 5px;
    border-radius: 2px;
    background: var(--accent);
}

.player.is-playing .bars i {
    animation: eq 1s ease-in-out infinite;
}

.player.is-playing .bars i:nth-child(2) { animation-delay: -0.4s; }
.player.is-playing .bars i:nth-child(3) { animation-delay: -0.7s; }

@keyframes eq {
    0%, 100% { height: 4px; }
    50% { height: 16px; }
}

/* ---------- Galerie : choix ---------- */
.page-head {
    padding: 64px 0 36px;
}

.page-head h1 {
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    margin-top: 12px;
    letter-spacing: 0.04em;
}

.page-head p {
    color: var(--muted);
    margin-top: 10px;
    max-width: 60ch;
}

.back-link {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--text);
}

.back-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
}

.back-link:hover svg {
    transform: translateX(-3px);
}

.albums {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding-bottom: 88px;
}

.album {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: border-color 0.25s;
}

.album:hover {
    border-color: var(--border-strong);
}

.album-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0b0f2a;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.album:hover .album-cover img {
    transform: scale(1.04);
}

.album-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 10, 31, 0.85), transparent 55%);
}

.album-body {
    padding: 20px 20px 22px;
}

.album-body h2 {
    font-size: 1.4rem;
}

.album-body p {
    color: var(--muted);
    font-size: 0.92rem;
    margin-top: 6px;
}

.album-count {
    display: block;
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--faint);
    letter-spacing: 0.04em;
}

.album-archive .album-cover img {
    filter: saturate(0.6);
}

/* ---------- Galerie : photos ---------- */
.videos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.video figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.92rem;
}

.photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 14px;
    list-style: none;
    padding-bottom: 88px;
}

.photo {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #0b0f2a;
    border: 1px solid var(--border);
    aspect-ratio: 16 / 9;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.3s;
}

.photo:hover img {
    transform: scale(1.04);
    filter: brightness(1.08);
}

.empty {
    color: var(--muted);
    padding-bottom: 88px;
}

/* ---------- Visionneuse ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 5, 16, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: min(92vw, 1600px);
    max-height: 84vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox button {
    position: absolute;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    background: rgba(10, 14, 38, 0.7);
    color: var(--text);
    cursor: pointer;
    transition: background-color 0.2s;
}

.lightbox button:hover {
    background: rgba(128, 144, 255, 0.3);
}

.lightbox button svg {
    width: 22px;
    height: 22px;
}

.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

.lightbox .lb-count {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
}

/* ---------- Sections des pages secondaires ---------- */
.page-section {
    padding: 44px 0 0;
}

.page-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 8px 0 18px;
}

.page-section-lead {
    color: var(--muted);
    margin: -8px 0 20px;
}

.page-section .photos {
    padding-bottom: 0;
}

/* ---------- Mini-jeux ---------- */
.notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    padding: 18px 20px;
    margin-bottom: 28px;
    border-radius: var(--radius);
    background: rgba(242, 193, 78, 0.06);
    border: 1px solid rgba(242, 193, 78, 0.25);
}

.notice p {
    flex: 1;
    min-width: 220px;
    font-weight: 500;
}

.games {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 880px;
}

.game {
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color 0.25s, background-color 0.25s;
}

.game:hover,
.game[open] {
    border-color: var(--border-strong);
}

.game[open] {
    background: rgba(255, 255, 255, 0.05);
}

.game summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.game summary::-webkit-details-marker {
    display: none;
}

.game-title {
    flex: 1;
    min-width: 0;
}

.game-title strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
}

.game-title small {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 2px;
}

.game-tag {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.game-original .game-tag {
    color: var(--pink);
    border-color: rgba(240, 147, 251, 0.45);
    background: rgba(240, 147, 251, 0.08);
}

.game-chevron {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--muted);
    transition: transform 0.3s ease;
}

.game[open] .game-chevron {
    transform: rotate(180deg);
}

.game-body {
    padding: 0 22px 22px;
    color: #c9cfe8;
    animation: unfold 0.35s ease;
}

.game-points {
    margin-top: 14px;
    list-style: none;
    display: grid;
    gap: 8px;
}

.game-points li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
    font-size: 0.95rem;
}

.game-points li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sky);
    box-shadow: 0 0 8px var(--sky);
}

.game-body .link-arrow {
    margin-top: 12px;
}

.game-credits {
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--faint);
}

@keyframes unfold {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

.games-more {
    max-width: 880px;
    margin: 28px 0 88px;
    padding: 22px;
    border-radius: var(--radius);
    border: 1px dashed var(--border-strong);
}

.games-more h2 {
    font-size: 1.3rem;
    font-style: italic;
}

.games-more p {
    color: var(--muted);
    margin-top: 6px;
}

/* ---------- Projet Arès ---------- */
.ares-trailer {
    max-width: 960px;
    border-radius: var(--radius);
}

.winners {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    list-style: none;
    max-width: 960px;
}

.winner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 22px 12px 16px;
    border-radius: 14px;
    background:
        radial-gradient(120px 60px at 50% 72%, rgba(242, 193, 78, 0.18), transparent 70%),
        linear-gradient(180deg, rgba(242, 193, 78, 0.08), rgba(242, 193, 78, 0.02));
    border: 1px solid rgba(242, 193, 78, 0.3);
    text-align: center;
}

.winner img {
    width: 92px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.45));
    transition: transform 0.3s ease;
}

.winner:hover img {
    transform: translateY(-6px) rotate(-2deg);
}

.winner-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.winner-name svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--gold);
    filter: drop-shadow(0 0 8px rgba(242, 193, 78, 0.5));
}


.classified {
    position: relative;
    max-width: 960px;
    padding: 28px;
    border-radius: var(--radius);
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 12px, transparent 12px 24px),
        var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
}

.classified > p {
    color: #c9cfe8;
    max-width: 62ch;
}

.stamp {
    position: absolute;
    top: 26px;
    right: 24px;
    padding: 6px 14px;
    border: 2px solid var(--red);
    border-radius: 6px;
    color: var(--red);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transform: rotate(8deg);
    opacity: 0.8;
}

.redacted-list {
    list-style: none;
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

.redacted-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    color: var(--muted);
    font-size: 0.95rem;
}

.redacted-list li > span:first-child {
    min-width: 230px;
}

/* Barre noire "censurée" ; au survol, un petit message */
.redacted {
    position: relative;
    width: min(260px, 100%);
    height: 1.15em;
    border-radius: 3px;
    background: #000;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.redacted::after {
    content: attr(data-tease);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-style: italic;
    color: var(--faint);
    opacity: 0;
    transition: opacity 0.3s;
}

.redacted:hover::after {
    opacity: 1;
}

.ares-cta {
    margin: 44px 0 88px;
    max-width: 960px;
}

.ares-cta p {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 14px;
}

/* ---------- Easter egg : étoile filante attrapée ---------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 9000;
    max-width: calc(100vw - 32px);
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(10, 14, 38, 0.92);
    border: 1px solid rgba(242, 193, 78, 0.45);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(242, 193, 78, 0.15);
    color: var(--text);
    font-size: 0.95rem;
    text-align: center;
    transform: translate(-50%, 20px);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.toast strong {
    color: var(--gold);
}

/* ---------- 404 ---------- */
.lost {
    min-height: calc(100vh - var(--nav-h) - 120px);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 64px 0;
}

.lost h1 {
    font-size: clamp(4rem, 16vw, 8rem);
    letter-spacing: 0.1em;
    color: var(--accent);
    opacity: 0.85;
}

.lost p {
    color: var(--muted);
    margin: 8px 0 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero .wrap {
        grid-template-columns: 1fr;
        position: relative;
    }

    .hero-sky {
        position: absolute;
        top: -20px;
        right: 0;
        width: 46%;
        opacity: 0.35;
        pointer-events: none;
        z-index: -1;
    }

    .poles,
    .owners,
    .support {
        grid-template-columns: 1fr;
    }

    .pole-uhc {
        grid-template-columns: 1fr;
    }

    .albums {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    /* Menu repliable */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: calc(var(--nav-h) + 8px);
        right: 16px;
        left: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 8px;
        border-radius: 14px;
        background: #0b0f2c;
        border: 1px solid var(--border-strong);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    }

    .nav-open .nav-links {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-link {
        padding: 12px 14px;
        font-size: 1rem;
    }

    .nav-sep {
        width: auto;
        height: 1px;
        margin: 6px 4px;
    }

    .nav-links li + li .nav-link-page {
        margin-top: 4px;
    }
}

@media (max-width: 600px) {
    :root {
        --nav-h: 56px;
    }

    .wrap,
    .navbar-inner {
        padding: 0 16px;
    }

    .last-event {
        grid-template-columns: 1fr;
    }

    .countdown b {
        font-size: 1.35rem;
    }

    .game summary {
        flex-wrap: wrap;
        padding: 18px;
    }

    .game-title {
        flex-basis: calc(100% - 40px);
    }

    .game-tag {
        order: 3;
    }

    .game-chevron {
        order: 2;
    }

    .game-body {
        padding: 0 18px 18px;
    }

    .redacted-list li > span:first-child {
        min-width: 0;
    }

    .stamp {
        top: 16px;
        right: 12px;
        font-size: 0.75rem;
    }

    .hero {
        padding: 32px 0 56px;
    }

    .section {
        padding: 64px 0;
    }

    .pole,
    .owner {
        padding: 22px 18px;
    }

    .pole::before {
        left: 18px;
        right: 18px;
    }

    .pole-head {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 12px;
    }

    .pole-head .status {
        grid-column: 1 / -1;
        justify-self: start;
        margin-left: 0;
    }

    .owner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .owner .tags,
    .owner-links {
        justify-content: center;
    }

    .support-card {
        padding: 22px 18px;
    }

    .socials {
        grid-template-columns: 1fr;
    }

    .player {
        width: 228px;
    }

    .player[data-corner="top-right"],
    .player[data-corner="bottom-right"] { right: 10px; }

    .player[data-corner="top-left"],
    .player[data-corner="bottom-left"] { left: 10px; }

    .lightbox .lb-prev,
    .lightbox .lb-next {
        top: auto;
        bottom: 12px;
        transform: none;
    }

    .lightbox .lb-count {
        bottom: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Barre de défilement */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #262d5c;
    border-radius: 10px;
    border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
    background: #343d78;
}
