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

    body {
    min-height: 100vh;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    background: #f7f2e8;
    color: #050505;
    overflow-x: hidden;
    }

    main { margin: 0; padding: 0; }

    .form-group input:focus,
    .form-group textarea:focus {
        background: #fff;
        border-color: #000;
        outline: none;
        box-shadow: 0 0 0 4px #ffd21a;
    }

    .mj-btn:focus-visible,
    .menu a:focus-visible,
    .footer a:focus-visible,
    .logo a:focus-visible {
        outline: 3px solid #ffd21a;
        outline-offset: 3px;
        border-radius: 14px;
    }

/* INTRO */

#intro-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #dd0000;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: opacity .6s ease, visibility .6s ease;
}

#intro-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.intro-content img {
    width: 340px;
    max-width: 80vw;
    display: block;
}

#enter-btn {
    background: #ffd21a;
    color: #000;
    border: 4px solid #000;
    border-radius: 14px;
    padding: 18px 34px;
    font-size: 24px;
    font-family: Impact, sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 0 #000;
    transition: .2s;
}
.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#enter-btn:hover {
    transform: translateY(-3px);
}

#enter-btn:active {
    transform: translateY(5px);
    box-shadow: 0 3px 0 #000;
}

    /* SIDEBAR */

    .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 300px;
    height: 100vh;
    background: #000;
    border-right: 7px solid #050505;
    z-index: 20;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    }

    .sidebar::-webkit-scrollbar {
    width: 0;
    }

    .sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0,0,0,.18) 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: .45;
    pointer-events: none;
    }

.sidebar-bottom {
    margin-top: auto;
    padding-top: 17px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: 30px;
    text-align: left;
}

.sidebar-bottom a,
.sidebar-bottom span {
    font-size: .8rem;
    font-family: Arial, sans-serif;
    font-weight: 900;
    color: rgba(218, 210, 210, 0.9);
    text-decoration: none;
    opacity: 1;
}

.sidebar-bottom a:hover {
    color: #ffd21a;
}

.copyright {
    font-weight: 500 !important;
    margin-top: 5px;
}

.contact-page {
    min-height: 100vh;
    padding: 40px 45px 90px;
    background: #f7f2e8;
    position: relative;
    overflow: hidden;
}

.contact-page::before {
    content: "";
    position: absolute;
    inset: -100px;
    background: conic-gradient(
        from 20deg,
        transparent 0deg,
        rgba(0,0,0,.06) 8deg,
        transparent 16deg,
        transparent 32deg
    );
    pointer-events: none;
}

.contact-box-full {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-box-full .contact-form {
    width: 100%;
}

.contact-hero,
.contact-box {
    position: relative;
    z-index: 2;
}

.contact-kicker {
    display: inline-block;
    background: #ffd21a;
    color: #000;
    border: 4px solid #000;
    border-radius: 12px;
    padding: 8px 16px;
    font-family: Impact, sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    box-shadow: 5px 5px 0 #000;
    margin-bottom: 22px;
}

.contact-hero h1 {
    font-size: 72px;
    line-height: .88;
    color: #dd0000;
    text-transform: uppercase;
    text-shadow:
        5px 5px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000;
}

.contact-hero h1 span {
    color: #ffd21a;
}

.contact-hero p {
    margin-top: 28px;
    max-width: 620px;
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 21px;
    line-height: 1.45;
}

.contact-box {
    margin: 0;
    margin-top: 35px;
    display: grid;
    gap: 36px;
    align-items: start;
}

.contact-form {
    background: #fff;
    border: 6px solid #000;
    border-radius: 28px;
    box-shadow: 12px 12px 0 #000;
    padding: 32px;
    transform: rotate(-0.3deg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: Impact, sans-serif;
    font-size: 22px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 4px solid #000;
    border-radius: 14px;
    padding: 14px 16px;
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 16px;
    background: #f7f2e8;
    outline: none;
    transition:
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease,
        transform .3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 180px;
}

.form-group select {
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    background: #ffd21a;
    border-color: #000;
    box-shadow: 0 0 0 4px rgba(255,210,26,.45);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid,
.form-group select.is-invalid {
    border-color: #dd0000;
    box-shadow: 0 0 0 4px rgba(221,0,0,.18);
}

.form-group select.custom-select {
    appearance: none;
    -webkit-appearance: none;
    background:
        linear-gradient(45deg, transparent 50%, #000 50%),
        linear-gradient(135deg, #000 50%, transparent 50%),
        #f7f2e8;
    background-position:
        calc(100% - 22px) 22px,
        calc(100% - 14px) 22px,
        0 0;
    background-size:
        8px 8px,
        8px 8px,
        100% 100%;
    background-repeat: no-repeat;
    padding-right: 48px;
}
.custom-dropdown {
    position: relative;
}

.custom-dropdown-btn {
    width: 100%;
    border: 4px solid #000;
    border-radius: 14px;
    padding: 14px 16px;
    background: #f7f2e8;
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .3s ease;
}

.custom-dropdown.open .custom-dropdown-btn {
    background: #ffd21a;
    box-shadow: 0 0 0 4px rgba(255,210,26,.45);
}

.custom-dropdown-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 20;
    background: #fff;
    border: 4px solid #000;
    border-radius: 16px;
    box-shadow: 7px 7px 0 #000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .25s ease;
}

.custom-dropdown.open .custom-dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown-list button {
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-bottom: 3px solid #000;
    background: #fff;
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.custom-dropdown-list button:last-child {
    border-bottom: 0;
}

.custom-dropdown-list button:hover {
    background: #ffd21a;
}

.custom-dropdown.is-invalid .custom-dropdown-btn {
    border-color: #dd0000;
    box-shadow: 0 0 0 4px rgba(221,0,0,.18);
}

.form-group small,
.form-group .js-error {
    display: block;
    margin-top: 7px;
    color: #dd0000;
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 14px;
}

.form-group .js-error {
    display: none;
}

.success-message {
    margin-bottom: 20px;
    padding: 16px 20px;
    background: #78b93c;
    color: #fff;
    border: 4px solid #000;
    border-radius: 14px;
    font-family: Arial, sans-serif;
    font-weight: 900;
    box-shadow: 5px 5px 0 #000;
    margin:0;
}

.error-message {
    margin-bottom: 20px;
    padding: 16px 20px;
    background: #dd0000;
    color: #fff;
    border: 4px solid #000;
    border-radius: 14px;
    font-family: Arial, sans-serif;
    font-weight: 900;
    box-shadow: 5px 5px 0 #000;
}
.footer-socials a.reveal-pop.is-visible {
    transform: scale(1);
}

.footer-socials a.reveal-pop.is-visible:hover {
    transform: translateY(-4px) rotate(-4deg) scale(1.08) !important;
    filter: brightness(1.12);
    box-shadow: 4px 4px 0 #000;
}

.mj-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 4px 0 #000;
}

@media (max-width: 900px) {
    .contact-box {
        grid-template-columns: 1fr;
    }

    .contact-form {
        transform: none;
    }
}

@media (max-width: 700px) {

    .contact-hero h1 {
        font-size: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.universe-page {
    min-height: 100vh;
    padding: 40px 45px 90px;
    background: #f7f2e8;
    position: relative;
    overflow: hidden;
}

.universe-page::before {
    content: "";
    position: absolute;
    inset: -100px;
    background: conic-gradient(
        from 20deg,
        transparent 0deg,
        rgba(0,0,0,.06) 8deg,
        transparent 16deg,
        transparent 32deg
    );
    opacity: .9;
    pointer-events: none;
}

.universe-hero,
.universe-cards,
.universe-story {
    position: relative;
    z-index: 2;
}

.universe-kicker {
    display: inline-block;
    background: #ffd21a;
    color: #000;
    border: 4px solid #000;
    border-radius: 12px;
    padding: 8px 16px;
    font-family: Impact, sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    box-shadow: 5px 5px 0 #000;
    margin-bottom: 22px;
}

.universe-kicker.small {
    font-size: 18px;
}

.universe-hero h1 {
    font-size: 72px;
    line-height: .88;
    color: #dd0000;
    text-transform: uppercase;
    text-shadow:
        5px 5px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000;
}

.universe-hero h1 span {
    color: #ffd21a;
}

.universe-hero p {
    margin-top: 28px;
    max-width: 650px;
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 21px;
    line-height: 1.45;
}

.universe-cards {
    margin-top: 58px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    align-items: stretch;
}

.universe-card {
    border: 6px solid #000;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 11px 11px 0 #000;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.universe-card:nth-child(1) {
    transform: rotate(-1deg);
}

.universe-card:nth-child(2) {
    transform: rotate(1deg);
}

.universe-card:nth-child(3) {
    transform: rotate(-.7deg);
}

.red-card {
    background: #dd0000;
    color: #fff;
}

.blue-card {
    background: #1264d8;
    color: #fff;
}

.yellow-card {
    background: #ffd21a;
    color: #000;
}

.universe-icon {
    width: 72px;
    height: 72px;
    background: #fff;
    color: #000;
    border: 4px solid #000;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 34px;
    margin-bottom: 22px;
}

.universe-card h2 {
    font-size: 44px;
    text-transform: uppercase;
    text-shadow: 3px 3px 0 #000;
    margin-bottom: 14px;
}

.yellow-card h2 {
    text-shadow: 2px 2px 0 #fff;
}

.universe-card p {
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 17px;
    line-height: 1.45;
    flex: 1;
}

.universe-story {
    margin-top: 75px;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 44px;
    align-items: center;
}

.universe-story-text {
    background: #fff;
    border: 6px solid #000;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 12px 12px 0 #000;
}

.universe-story-text h2 {
    font-size: 62px;
    line-height: .88;
    color: #dd0000;
    text-transform: uppercase;
    text-shadow: 4px 4px 0 #000;
    margin-bottom: 24px;
}

.universe-story-text p {
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 28px;
}

.universe-btn {
    margin-top: 28px;
    width: fit-content;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    background: #ffd21a;
    color: #000;

    border: 4px solid #000;
    border-radius: 14px;

    padding: 15px 22px;

    font-family: Impact, sans-serif;
    font-size: 22px;
    line-height: 1;

    text-transform: uppercase;
    text-decoration: none;

    box-shadow: 0 7px 0 #000;
    transition: transform .18s ease;
}

.universe-btn i {
    font-size: 22px;
    line-height: 1;
}

.universe-btn:hover {
    transform: translateY(-3px);
}

.universe-story-box {
    position: relative;
    min-height: 430px;
    background: #dd0000;
    border: 6px solid #000;
    border-radius: 32px;
    box-shadow: 14px 14px 0 #000;
    overflow: hidden;
}

.fake-board {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%) rotate(-8deg);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 5px solid #000;
    box-shadow: 9px 9px 0 rgba(0,0,0,.25);
}

.square {
    border: 3px solid #000;
}

.square.red { background: #dd0000; }
.square.yellow { background: #ffd21a; }
.square.blue { background: #1264d8; }
.square.white { background: #fff; }
.square.green { background: #78b93c; }

.fake-dice {
    position: absolute;
    left: 65px;
    bottom: 60px;
    width: 90px;
    height: 90px;
    background: #fff;
    border: 5px solid #000;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 48px;
    color: #ffd21a;
    text-shadow: 2px 2px 0 #000;
    transform: rotate(9deg);
    box-shadow: 8px 8px 0 rgba(0,0,0,.28);
}

.fake-card {
    position: absolute;
    right: 45px;
    top: 55px;
    width: 135px;
    height: 90px;
    background: #ffd21a;
    border: 5px solid #000;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 42px;
    color: #dd0000;
    text-shadow: 2px 2px 0 #000;
    transform: rotate(12deg);
    box-shadow: 8px 8px 0 rgba(0,0,0,.28);
}

@media (max-width: 1200px) {
    .universe-cards,
    .universe-story {
        grid-template-columns: 1fr;
    }

    .universe-card,
    .universe-story-text {
        transform: none;
    }
}



@media (max-width: 700px) {
    .universe-page {
        padding: 40px 22px 70px;
    }

    .universe-hero h1,
    .universe-story-text h2 {
        font-size: 48px;
    }

    .universe-story-box {
        min-height: 340px;
    }

    .fake-board {
        width: 230px;
        height: 230px;
    }


}

@media (max-width: 700px) {
    .universe-cards {
        justify-items: center;
        gap: 28px;
    }

    .universe-card {
        width: 100%;
        padding: 24px;
        box-shadow: 7px 7px 0 #000;
    }

    .universe-card h2 {
        font-size: 38px;
    }

    .universe-icon {
        width: 62px;
        height: 62px;
        font-size: 28px;
    }

    .universe-story-text {
        width: 100%;
        margin: 0 auto;
        padding: 26px;
        box-shadow: 7px 7px 0 #000;
    }

    .universe-story-box {
        width: 100%;
        margin: 0 auto;
        box-shadow: 8px 8px 0 #000;
    }
}
@media (max-width: 700px) {


    .universe-story-text {
        text-align: center;
    }

    .universe-story-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .universe-story-text .mj-btn {
        margin-left: auto;
        margin-right: auto;
    }

}

    /* LOGO */

    .logo {
    position: relative;
    z-index: 2;
    background: #dd0000;
    overflow: visible;
}
.logo::before {
    content: "";
    position: absolute;
    left: -40px;
    top: 0;
    width: 121px;
    height: 100%;

    background-image: radial-gradient(circle, rgba(0,0,0,.20) 1.8px, transparent 2px);
    background-size: 10px 10px;

    mask-image: linear-gradient(135deg, #000 0%, #000 35%, transparent 85%);
    -webkit-mask-image: linear-gradient(135deg, #000 0%, #000 35%, transparent 85%);

    opacity: .55;
    transform: skewX(-12deg);
    transform-origin: center;
    pointer-events: none;
}

.logo img {
    max-width: 227px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 0;
}

    .logo img,
.menu a {
    position: relative;
    overflow: hidden;
}

.menu a::before {
    content: "";
    position: absolute;
    top: -20px;
    right: -25px;
    width: 120px;
    height: calc(100% + 40px);

    background-image: radial-gradient(circle, rgba(0,0,0,.20) 1.8px, transparent 2px);
    background-size: 10px 10px;

    mask-image: linear-gradient(315deg, #000 0%, #000 35%, transparent 85%);
    -webkit-mask-image: linear-gradient(315deg, #000 0%, #000 35%, transparent 85%);

    opacity: .45;
    transform: skewX(-12deg);
    transform-origin: center;
    pointer-events: none;
}

.menu a .icon,
.menu a span,
.logo img {
    position: relative;
    z-index: 2;
}
body.site-entered .logo img {
    animation: logoPop .7s ease-out forwards;
}

body.site-entered .menu a {
    animation: cardFlip .9s forwards;
    transform-origin: left center;
}

body.site-entered .menu a:nth-child(1){animation-delay:.1s;}
body.site-entered .menu a:nth-child(2){animation-delay:.25s;}
body.site-entered .menu a:nth-child(3){animation-delay:.4s;}
body.site-entered .menu a:nth-child(4){animation-delay:.55s;}

@keyframes logoPop {
    0% {
        opacity: 0;
        transform: scale(.3) rotate(-12deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.12) rotate(3deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes cardFlip {
    0% {
        opacity: 0;
        transform: perspective(800px) rotateY(-90deg);
    }

    70% {
        opacity: 1;
        transform: perspective(800px) rotateY(15deg);
    }

    100% {
        opacity: 1;
        transform: perspective(800px) rotateY(0);
    }
}
    /* MENU */

    .menu {
    position: relative;
    z-index: 1;
    background: #000;
    }

    .menu a {
    position: relative;
    height: 110px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 30px;
    color: #fff;
    text-decoration: none;
    font-size: 26px;
    line-height: 1.05;
    text-transform: uppercase;
    background: #dd0000;

    clip-path: polygon(
    0 7%,
    100% 0,
    97% 97%,
    0 100%
    );

    text-shadow:
        2px 2.5px 0 #000,
        0 2px 0 #000;

    transition: filter .18s ease;
    }

    .menu a:first-child .icon i {
            color: #fff;

        margin-left: 6px;
    }


    .menu a .icon,
    .menu a span {
    transition: transform .18s ease;
    }

    .menu a:hover .icon {
    transform: translateX(5px) scale(1.08) rotate(-3deg);
    }

    .menu a:hover > span:not(.icon) {
    transform: translateX(7px);
    }

    .menu a + a {
    margin-top: -2px;
    }

    .icon {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    border: 4px solid #000;
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    text-shadow: none;
    }

    .menu a:first-child .icon {
    background: #e00000;
    }

    .menu a:nth-child(2) .icon {
    background: #ffd21a;
    }

    .menu a:nth-child(3) .icon {
    background: #0055d6;
    color: #fff;
    }

    .menu a:nth-child(4) .icon {
    background: #78b93c;
    }

    .menu a:nth-child(5) .icon {
    background: #6a1fb7;
    color: #fff;
    }

.reveal {
    opacity: 1;
    transition:
        transform .75s cubic-bezier(.2, 1.3, .3, 1);
}

.reveal-left {
    transform: translateX(-45px) rotate(-2deg);
}

.reveal-right {
    transform: translateX(45px) rotate(1deg);
}

.reveal-pop {
    transform: scale(.75) rotate(-3deg);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(.5deg);
}

.reveal-pop.is-visible:nth-child(odd) {
    transform: scale(1) rotate(-0.7deg);
}

.reveal-pop.is-visible:nth-child(even) {
    transform: scale(1) rotate(0.5deg);
}

.reveal-delay-1 {
    transition-delay: .10s;
}

.reveal-delay-2 {
    transition-delay: .3s;
}

/* Spécial cartes jeux */
.game-card-mj.reveal-pop {
    transform: scale(.75) rotate(-3deg);
}

.game-card-mj.reveal-pop.is-visible {
    transform: scale(1) rotate(-1deg);
}

.game-card-mj.reveal-pop.is-visible:nth-of-type(even) {
    transform: scale(1) rotate(1deg);
}

.game-card-mj.reveal-pop.is-visible:hover {
    transform: translateY(-6px) rotate(0deg);
    box-shadow: 14px 14px 0 #000;
}
.game-card-full-link {
    position: absolute;
    inset: 0;
    z-index: 10;
    border-radius: 26px;
    text-decoration: none;
}

.game-card-full-link:focus-visible {
    outline: 4px solid #ffd21a;
    outline-offset: 6px;
}
.game-gallery__thumb.reveal-pop {
    transform: scale(.96);
}

.game-gallery__thumb.reveal-pop.is-visible {
    transform: scale(1);
}

.game-gallery__main.reveal-pop {
    transform: scale(.98);
}

.game-gallery__main.reveal-pop.is-visible {
    transform: scale(1);
}
.sidebar-bottom .reveal-pop {
    transform: scale(.96);
}

.sidebar-bottom .reveal-pop.is-visible {
    transform: scale(1);
}


    /* SOCIAL */

    .social {
    position: relative;
    z-index: 2;
    padding: 32px 45px 35px;
    background: #050505;
    color: #fff;
    }

    .social p {
    font-size: 18px;
    margin-bottom: 15px;
    }

    .social div {
    display: flex;
    gap: 25px;
    }

    .social span {
    width: 38px;
    height: 38px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px;
    }
.rules-box{
    margin-top:30px;
    background:#f7f2e8;
    border:4px solid #000;
    border-radius:20px;
    padding:20px;
}
    /* HERO */

    .hero {
        position: relative;
        margin-left: 0;
        width: 100%;
        height: 100vh;
        padding: 121px 25px 60px;
        background:
            url("../img/hero-montajeux.png")
            center center / cover no-repeat;
    }


    .hero::before {
    content: "";
    position: absolute;
    inset: -100px;
    background: conic-gradient(
        from 20deg,
        transparent 0deg,
        rgba(0,0,0,.05) 8deg,
        transparent 16deg,
        transparent 32deg
    );
    opacity: .9;
    }
    

    .hero-text {
        position: relative;
        z-index: 2;
        max-width: 520px;
    }
    .hero h1 {
    font-size: 64px;
    line-height: .88;
    color: #fff;
    letter-spacing: 1px;
    text-shadow:
        5px 5px 0 #000,
        -3px -3px 0 #000,
        3px -3px 0 #000,
        -3px 3px 0 #000;
    }

    .yellow {
    color: #ffd21a;
    }

    .blue {
    color: #1264d8;
    }

    .red {
    color: #e90000;
    }

    .hero-text p {
    margin-top: 42px;
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 22px;
    line-height: 1.45;
    }

    .hero-audit-btn{
  min-width: 340px;
  padding: 1.25rem 2.8rem;
  font-size: .78rem;
}

    mark {
    color: #fff;
    padding: 3px 7px;
    }

    .red-bg {
    background: #cf2728;
    }

    .blue-bg {
    background: #1264d8;
    }

    .yellow-bg {
    background: #ffd21a;
    color: #000;
    }

    .btn {
    margin-top: 48px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px 28px;
    background: #ffd21a;
    color: #000;
    border: 4px solid #000;
    border-radius: 15px;
    box-shadow: 0 8px 0 #000;
    text-decoration: none;
    font-size: 23px;
    transition:
    transform .18s ease,
    box-shadow .18s ease;
    }

    .btn i {
    font-size: 22px;
    line-height: 1;
    transition: transform .18s ease;
    }

    .btn:hover {
        transform: translateY(-4px) rotate(-1deg);
        box-shadow: 0 12px 0 #000;
    }

    .btn:hover i {
        transform: translateX(7px);
    }

    .btn:active {
        transform: translateY(4px);
        box-shadow: 0 4px 0 #000;
    }

    .btn span {
    font-size: 2rem;
    }
.mj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: fit-content;
    background: #ffd21a;
    color: #000;
    border: 4px solid #000;
    border-radius: 15px;
    padding: 18px 26px;
    font-family: Impact, sans-serif;
    font-size: 23px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 0 #000;
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.mj-btn i {
    font-size: 23px;
    line-height: 1;
    transition: transform .18s ease;
}

.mj-btn:hover:not(:disabled) {
    transform: translateY(-3px) rotate(-1deg) scale(1.02);
    box-shadow: 0 11px 0 #000;
}

.mj-btn:hover:not(:disabled) i {
    transform: translateX(4px) rotate(-4deg);
}

.mj-btn:active:not(:disabled) {
    transform: translateY(4px);
    box-shadow: 0 4px 0 #000;
}
    /* SCÈNE */

    .game-scene {
    position: absolute;
    right: 35px;
    top: 120px;
    width: 760px;
    height: 620px;
    z-index: 2;
    }

    .board {
    position: absolute;
    left: 65px;
    top: 215px;
    width: 620px;
    height: 310px;
    border: 34px solid transparent;
    border-radius: 50%;
    background: conic-gradient(
        #e30000 0 36deg,
        #ffd21a 36deg 72deg,
        #1264d8 72deg 108deg,
        #fff 108deg 144deg,
        #69a832 144deg 180deg,
        #ffd21a 180deg 216deg,
        #e30000 216deg 252deg,
        #1264d8 252deg 288deg,
        #fff 288deg 324deg,
        #69a832 324deg 360deg
    );
    box-shadow: 0 0 0 4px #000;
    transform: rotate(-12deg);
    }

    .box {
    position: absolute;
    right: 95px;
    top: 90px;
    width: 300px;
    height: 190px;
    background: #e00000;
    border: 4px solid #000;
    transform: skewY(8deg) rotate(5deg);
    box-shadow: 18px 20px 0 rgba(0,0,0,.25);
    }

    .box div {
    padding: 45px 30px;
    color: #ffd21a;
    font-size: 49px;
    line-height: .85;
    text-shadow:
        4px 4px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000;
    }

    .dice {
    position: absolute;
    left: 250px;
    top: 295px;
    width: 120px;
    height: 120px;
    background: #fff;
    border: 4px solid #000;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 85px;
    transform: rotate(-9deg);
    box-shadow: 10px 12px 0 rgba(0,0,0,.2);
    }

    .pawn {
    position: absolute;
    width: 65px;
    height: 105px;
    border: 4px solid #000;
    border-radius: 45px 45px 18px 18px;
    }

    .pawn::before {
    content: "";
    position: absolute;
    left: 9px;
    top: -43px;
    width: 42px;
    height: 42px;
    border: 4px solid #000;
    border-radius: 50%;
    }

    .red-pawn,
    .red-pawn::before {
    background: #e00000;
    }

    .red-pawn {
    left: 125px;
    top: 330px;
    }

    .blue-pawn,
    .blue-pawn::before {
    background: #1264d8;
    }

    .blue-pawn {
    right: 25px;
    top: 400px;
    }

    .yellow-pawn,
    .yellow-pawn::before {
    background: #ffd21a;
    }

    .yellow-pawn {
    right: 15px;
    top: 80px;
    transform: rotate(28deg);
    }

    .cards {
    position: absolute;
    background: #fff;
    border: 4px solid #000;
    border-radius: 18px;
    box-shadow: 10px 10px 0 rgba(0,0,0,.2);
    display: grid;
    place-items: center;
    font-size: 38px;
    }

    .top-card {
    left: 190px;
    top: 25px;
    width: 210px;
    height: 110px;
    color: #ffd21a;
    background: repeating-linear-gradient(#fff 0 12px, #ddd 12px 18px);
    }

    .right-card {
    right: 95px;
    top: 335px;
    width: 210px;
    height: 125px;
    background: #e00000;
    color: #ffd21a;
    }

    .bottom-card {
    left: 175px;
    top: 500px;
    width: 145px;
    height: 110px;
    transform: rotate(14deg);
    font-size: 31px;
    background: #fff;
    }

    .coin {
    position: absolute;
    width: 68px;
    height: 68px;
    border: 4px solid #000;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 28px;
    }

    .coin1 {
    left: 390px;
    top: 440px;
    background: #ffd21a;
    }

    .coin2 {
    left: 455px;
    top: 565px;
    background: #69a832;
    color: #fff;
    }

    .star {
    position: absolute;
    font-size: 34px;
    color: #ffd21a;
    text-shadow: 2px 2px 0 #000;
    }

    .s1 { left: 70px; top: 115px; }
    .s2 { left: 40px; top: 485px; }
    .s3 { left: 300px; top: 195px; color: #1264d8; }
    .s4 { right: 250px; top: 10px; color: #e00000; }
    .content {
        margin-left: 300px;
        width: calc(100% - 300px);

        display: flex;
        flex-direction: column;
    }

    .hero {
        margin-left: 0;
        width: 100%;
    }

    .legal-page {
    min-height: 100vh;
    padding: 70px 45px 90px;
    background: #f7f2e8;
    position: relative;
    overflow: hidden;
}

.legal-page::before {
    content: "";
    position: absolute;
    inset: -100px;
    background: conic-gradient(
        from 20deg,
        transparent 0deg,
        rgba(0,0,0,.06) 8deg,
        transparent 16deg,
        transparent 32deg
    );
    pointer-events: none;
}

.legal-hero,
.legal-container {
    position: relative;
    z-index: 2;
}

.legal-kicker {
    display: inline-block;
    background: #ffd21a;
    color: #000;
    border: 4px solid #000;
    border-radius: 12px;
    padding: 8px 16px;
    font-family: Impact, sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    box-shadow: 5px 5px 0 #000;
    margin-bottom: 22px;
}

.legal-hero h1 {
    font-size: 72px;
    line-height: .88;
    color: #dd0000;
    text-transform: uppercase;
    text-shadow:
        5px 5px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000;
}

.legal-hero h1 span {
    color: #ffd21a;
}

.legal-hero p {
    margin-top: 28px;
    max-width: 650px;
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 21px;
    line-height: 1.45;
}

.legal-container {
    margin-top: 55px;
    display: grid;
    gap: 24px;
    max-width: 900px;
}

.legal-card {
    background: #fff;
    border: 5px solid #000;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 9px 9px 0 #000;
}

.legal-card:nth-child(even) {
    transform: rotate(.5deg);
}

.legal-card:nth-child(odd) {
    transform: rotate(-.5deg);
}

.legal-card h2 {
    font-size: 32px;
    color: #dd0000;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 15px;
}

.legal-card p {
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 16px;
    line-height: 1.65;
}

.legal-card a {
    color: #1264d8;
    font-weight: 900;
}

@media (max-width: 700px) {
    .legal-page {
        padding: 40px 22px 70px;
    }

    .legal-hero h1 {
        font-size: 50px;
    }

    .legal-card {
        transform: none !important;
    }
}

.footer {
    position: relative;
    z-index: 5;
    background: #dd0000;
    color: #fff;
    margin-top: 0;
    padding: 40px 25px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    font-family: Arial, sans-serif;
}

.footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 21px;
    background: #000;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 15%,
        0 100%
    );
}

.footer-title {
    background: #ffd21a;
    color: #000;
    border: 3px solid #000;
    border-radius: 10px;
    padding: 6px 14px;
    font-family: Impact, sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    box-shadow: 4px 4px 0 #000;
    margin-bottom: 5px;
}

.footer-socials {
    display: flex;
    gap: 14px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border: 3px solid #000;
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 21px;
    text-decoration: none;

    transition:
        transform .12s ease,
        filter .12s ease;
}

/* Couleurs */
.footer-socials a:nth-child(1) { background: #f5e6c8; color: #000; } /* Instagram */
.footer-socials a:nth-child(2) { background: #1877f2; color: #fff; } /* Facebook */
.footer-socials a:nth-child(3) { background: #ff0000; color: #fff; } /* YouTube */
.footer-socials a:nth-child(4) { background: #e60023; color: #fff; } /* Pinterest */
.footer-socials a:nth-child(5) { background: #ffd21a; color: #000; } /* TikTok */
.footer-socials a:nth-child(6) { background: #000; color: #fff; } /* X */

.footer-socials a i {
    display: block;
    line-height: 1;
}

/* Correction reveal */
.footer-socials a.reveal-pop.is-visible {
    transform: scale(1);
}

/* Hover alterné */
.footer-socials a:nth-child(odd):hover {
    transform: translateY(-3px) rotate(-3deg) scale(1.08) !important;
    filter: brightness(1.08);
}

.footer-socials a:nth-child(even):hover {
    transform: translateY(-3px) rotate(3deg) scale(1.08) !important;
    filter: brightness(1.08);
}
    /* RESPONSIVE */

    @media (max-width: 1200px) {
    .sidebar {
        width: 240px;
    }

    .content {
        margin-left: 240px;
        width: calc(100% - 240px);
    }

    .hero {
        margin-left: 0;
        width: 100%;
        padding-left: 50px;
    }

    .logo img {
        max-width: 190px;
    }

    .menu a {
        font-size: 22px;
    }

    .game-scene {
        opacity: .45;
        right: -120px;
    }
}

/* MOBILE NAV */
.mobile-topbar,
.mobile-menu-btn,
.mobile-menu-overlay,
.mobile-close-btn {
    display: none;
}

.mobile-close-btn {
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.mobile-close-btn:hover {
    transform: translateY(-3px) rotate(-1deg);
    box-shadow: 0 11px 0 #000;
    filter: brightness(1.05);
}

.mobile-close-btn:hover i {
    transform: rotate(90deg);
}

.mobile-close-btn i {
    transition: transform .18s ease;
}

@media (max-width: 850px) {

    .contact-page,
    .universe-page,
    .games-page,
    .legal-page {
        padding-left: 20px;
        padding-right: 20px;
    }

        main[class$="-page"] {
        padding-left: 20px;
        padding-right: 20px;
    }

}

@media (max-width: 850px) {


    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body.menu-open {
        overflow: hidden;
        height: 100dvh;
        touch-action: none;
    }

    .content {
        margin-left: 0;
        width: 100%;
    }

    .mobile-topbar {
        position: sticky;
        top: 0;
        z-index: 1002;

        height: 121px;
        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 10px 18px;
        background: #dd0000;
        overflow: hidden;
    }

    .mobile-topbar::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 15px;
        background: #000;
        pointer-events: none;
        clip-path: polygon(0 80%, 100% 0, 100% 100%, 0 100%);
    }

    .mobile-logo img {
        width: 135px;
        display: block;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        background: #ffd21a;
        color: #000;
        border: 4px solid #000;
        border-radius: 15px;
        box-shadow: 5px 5px 0 #000;
        font-size: 25px;
        cursor: pointer;
        transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    }

    .mobile-menu-btn:hover {
        transform: translateY(-3px) rotate(-2deg);
        box-shadow: 0 10px 0 #000;
        filter: brightness(1.05);
    }

    .mobile-menu-btn:active {
        transform: translateY(4px);
        box-shadow: 0 4px 0 #000;
    }

    body.menu-open .mobile-menu-btn {
        pointer-events: none;
    }

    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 1004;
        display: block;
        background: rgba(0,0,0,.58);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .25s ease, visibility .25s ease;
    }

    body.menu-open .mobile-menu-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        max-width: 86vw;
        height: 100vh;
        z-index: 1005;
        background: #000;
        border-right: 7px solid #050505;
        padding-bottom: 100px;
        transform: translateX(-110%) scale(.96);
        transform-origin: left center;
        transition: transform .35s cubic-bezier(.2, 1.2, .3, 1);
    }

    body.menu-open .sidebar {
        transform: translateX(0) scale(1);
    }

    .sidebar .logo {
        display: block;
        margin: 0;
        padding: 0;
    }

    .sidebar .logo img {
        max-width: 190px;
        margin: 0 auto;
        opacity: 1 !important;
        animation: none !important;
    }

    .sidebar .menu a {
        height: 95px;
        font-size: 22px;
        opacity: 1 !important;
        animation: none !important;
    }

    .sidebar-bottom {
        display: flex;
        margin-left: 30px;
        padding-top: 18px;
        padding-bottom: 28px;
    }

    .sidebar-bottom a,
    .sidebar-bottom span {
        opacity: 1 !important;
    }

.mobile-close-btn {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: calc(env(safe-area-inset-bottom) + 85px);
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: #ffd21a;
    color: #000;
    border: 4px solid #000;
    border-radius: 15px;
    box-shadow: 0 8px 0 #000;

    font-family: Impact, sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    cursor: pointer;

    z-index: 1006;
}

    .mobile-close-btn:active {
        transform: translateY(4px);
        box-shadow: 0 4px 0 #000;
    }

    .hero {
        padding: 35px 25px 60px;
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
        transform: none !important;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text p {
        margin-top: 28px;
    }

    .game-scene {
        display: none;
    }

    .btn {
        padding: 14px 18px;
        gap: 8px;
        margin-top: 32px;
    }

    .btn span {
        font-size: 1.1rem;
    }

    .btn i {
        font-size: 1rem;
    }

    .reveal:not(.is-visible) {
        opacity: 0;
        transform: translateY(14px) scale(.98) !important;
    }

    .reveal.is-visible {
        opacity: 1 !important;
        transform: translateY(0) scale(1) !important;
    }
}
.legal-card.reveal-pop {
    transform: scale(.75);
}

.legal-card.reveal-pop.is-visible:nth-child(odd) {
    transform: scale(1) rotate(-.5deg);
}

.legal-card.reveal-pop.is-visible:nth-child(even) {
    transform: scale(1) rotate(.5deg);
}
.footer-socials a.reveal {
    transition:
        transform .12s ease,
        filter .12s ease !important;
}

.footer-socials a.reveal-pop.is-visible {
    transform: scale(1);
}

.footer-socials a:nth-child(odd):hover {
    transform: translateY(-3px) rotate(-3deg) scale(1.08) !important;
    filter: brightness(1.08);
}

.footer-socials a:nth-child(even):hover {
    transform: translateY(-3px) rotate(3deg) scale(1.08) !important;
    filter: brightness(1.08);
}
.menu a:hover {
    background: #c60000;
}

.menu a.active {
    background: #b70000;
    z-index: 5;
}

.menu a.active::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 100%;
    background: #ffd21a;
    border-left: 4px solid #000;
}

.menu a.active .icon {
    transform: scale(1.1) rotate(-4deg);
}

.menu a.active > span:not(.icon) {
    color: #fff;
}
body.sidebar-no-anim .logo img,
body.sidebar-no-anim .menu a {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
}