    * {
    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;
}

.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);
}
.contact-form {
    background: #fff;
    border: 6px solid #000;
    border-radius: 28px;
    box-shadow: 12px 12px 0 #000;
    padding: 32px;
}

.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 {
    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;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    background: #ffd21a;
}

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

    .contact-form{
        transform: none;
    }
}

@media (max-width: 700px) {
    .contact-page {
        padding: 4cm 22px 70px;
    }

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

.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, 1fr);
    gap: 34px;
}

.universe-card {
    border: 6px solid #000;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 11px 11px 0 #000;
    min-height: 280px;
}

.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;
}

.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: 1000px) {
    .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;
    }
}


    /* LOGO */

    .logo {
    position: relative;
    z-index: 2;
    background: #dd0000;
    overflow: visible;
}

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

    .logo img,
.menu a {
    opacity: 0;
}

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:hover {
    filter: brightness(0.9) saturate(1.1);
    }
    .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;
    }



    /* 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%;
        min-height: 900px;

        padding: 70px 45px 70px 85px;

        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;
    }

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

    .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;
}

.mj-btn i {
    font-size: 23px;
    line-height: 1;
}

.mj-btn:hover {
    transform: translateY(-3px);
}
    /* 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;
    }

    .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:#0a66c2; color:#fff; } /* LinkedIn */
    .footer-socials a:nth-child(7) { background:#000; color:#fff; } /* X */

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

    .footer-socials a:hover {
    transform: translateY(-3px) rotate(-3deg);
    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-menu-btn,
.mobile-menu-overlay {
    display: none;
}

@media (max-width: 850px) {

.mobile-menu-btn {
    position: fixed;
    top: 40px;
    right: 40px;

    z-index: 1000;

    width: 58px;
    height: 58px;

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

    background: #ffd21a;
    color: #000;

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

    box-shadow: 6px 6px 0 #000;

    font-size: 26px;
    cursor: pointer;
}

    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 998;

        display: block;
        background: rgba(0,0,0,.55);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: .25s ease;
    }

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

    .sidebar {
        position: fixed;
        left: 0;
        top: 0;

        width: 300px;
        max-width: 86vw;
        height: 100vh;

        z-index: 999;

        transform: translateX(-105%);
        transition: transform .3s ease;

        border-right: 7px solid #050505;
    }

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

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

    .hero {
        margin-left: 0;
        width: 100%;
        min-height: 100vh;
        padding: 70px 25px 230px;
    }

    .game-scene {
        display: none;
    }

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

    .sidebar-bottom {
        padding-bottom: 30px;
    }
}
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.page,
.content,
main,
.hero {
    max-width: 100%;
    overflow-x: hidden;
}

.hero {
    overflow: hidden;
}

#intro-screen {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

body.loader-active {
    overflow: hidden !important;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
}