html {
    overflow: hidden !important;
    overflow-y: scroll !important;
    height: auto !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

#page-wrapper {
    width: 100%;
    min-height: 100vh;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    overflow-x: hidden !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
#page-wrapper::-webkit-scrollbar {
    display: none;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loader {
    border: 8px solid #333;
    border-top: 8px solid #ff0077;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

.loaded {
    visibility: hidden;
    opacity: 0 !important;
    pointer-events: none !important;
    position: static !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@font-face {
    font-family: 'Old London';
    src: url('chemins/vers/Old_London.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
*, *::before, *::after {
    box-sizing: border-box;
}

.instagram-feed-wrapper {
    margin-top: 180px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.instagram-feed-wrapper:first-child {
    margin-top: 180px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Special Elite', monospace;
    background: #181818;
    color: #fff;
    opacity: 0;
    transition: opacity 0.5s;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    width: 100vw !important;
    height: auto !important;
    min-height: 100vh !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
body::-webkit-scrollbar {
    display: none;
}


header {
    text-align: center;
    padding: 0px 20px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 200px;
    box-sizing: border-box;
}

.logo-circle {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

header h1 {
    font-size: 42px;
    margin: 20px auto 0 auto;
    max-width: fit-content;
}

nav {
    margin-top: 20px;
    font-size: 16px;
    font-weight: normal;
    display: block;
    text-align: center;
    width: 100%;
}

#main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 0;
    margin: 0;
}

.social-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 13px;
}

.social-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.nav-toggle {
    display: none;
}

@media (max-width: 800px) {
    header {
        height: 80px;
        padding: 0 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header h1 {
        display: none;
    }

    .logo-circle {
        top: 10px;
        left: 10px;
    }

    .social-vertical {
        top: 10px;
        right: 10px;
        z-index: 10002;
    }

    .nav-toggle {
        display: block;
        position: fixed;
        top: 20px;
        right: 65px;
        background: rgba(0, 0, 0, 0.7);
        color: #A61F38;
        border: 1px solid #9c4dff;
        padding: 5px 10px;
        z-index: 10003;
        cursor: pointer;
        font-size: 20px;
        line-height: 1;
        font-family: Arial, sans-serif;
    }

    @media (min-width: 801px) {
        .nav-toggle {
            display: none !important;
        }
    }

    #main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        padding-top: 100px;
        z-index: 10000;
        text-align: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-out;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    #main-nav a {
        display: block;
        font-size: 28px;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    #main-nav.active {
        transform: translateX(0);
    }
}

main {
    margin-top: 200px;
    position:relative;
    z-index: 100;
    color: #ffffff;
    text-align: center;
    width: 100%;
    padding: 0px 0px 0px 0px;
    background-color: transparent;
}

footer {
    background: linear-gradient(to bottom, hsla(167, 100%, 81%, 0.048), #a61f3848);
    padding: 20px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-out;
    pointer-events: none;
}

.footer-revealed {
    opacity: 1;
    pointer-events: auto;
}


.notes p {
    font-size: 11px;
    margin: 5px 0;
    align-content: center;
}

.notes p:nth-child(3) {
    font-size: 15px;
}

.content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.gradient-box {
    width: 200px;
    height: 200px;
    background-image: none;
}

.text-block {
    max-width: 400px;
    text-align: left;
    font-size: 11px;
}

.text-block .p1 {
    font-size: 15px;
}

.wrapper-bottom-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 50px auto;
    max-width: 1200px;
}

a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:link {
    color: rgb(255, 255, 255);
}

a:visited {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(239, 58, 255, 0.503);
}

a:hover {
    color:#A61F38;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.859);
}

a:active {
    color: rgb(255, 255, 255);
}

.marquee-container {
    width: 50%;
    height: 2.5em;
    overflow: hidden;
    background: #A61F38;
    color: #ffffff;
    font-size: small;
    white-space: nowrap;
    margin: 15px auto 0 auto;
}

.marquee-text {
    display: flex;
    animation: marquee-scroll 25s linear infinite;
    padding-left: 100%;
    align-items: center;
    justify-content: center;
}

.marquee-container:hover .marquee-text {
    animation-play-state: paused;
    cursor: default;
}

@keyframes marquee-scroll {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

.twitch-embed-container {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    height: 600px;
    padding: 0 15px;
}

.twitch-embed-container iframe {
    flex: 1;
    border: 1px solid #7D49FF;
    border-radius: 5px;
    height: 100%;
}

@media (max-width: 900px) {
    .twitch-embed-container {
        flex-direction: column;
        height: auto;
    }

    .twitch-embed-container iframe {
        width: 100%;
        height: 350px;
    }

    #twitch-chat-embed {
        margin-top: 15px;
        height: 250px !important;
    }
}

img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

img:hover {
    filter: grayscale(0%);
}

.video-hero {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    z-index: 90;
    filter: blur(5px);
    opacity: 0.3;
    filter: grayscale(100%);
    touch-action: pan-y;
    pointer-events: none;
}

.hero-media-wrapper {
    position: relative;
    width: 110vw;
    height: 200%;
    left: -5vw;
    transform: none;
    touch-action: pan-y;
    pointer-events: none;
}

#heroVideo {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transform: none;
}

.main-art-section {
    margin-top:8em;
    width: 90%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.card-grid-container {
    margin-top: 0px;
    margin-bottom: 0px;
    max-width: 1200px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.card {
    width: 300px;
    height: 300px;
}

@media (max-width: 768px) {
    .card-grid-container {
        justify-content: center;
        gap: 15px;
    }

    .card {
        width: 95%;
        height: auto;
    }
}


.card-layout-wrapper {
    max-width: 1200px;
    margin: 10px auto;
    padding: 20px;
}

.card-layout-item {
    display: flex;
    flex-direction: row;
    gap: 40px;
    perspective: 1000px;
    align-items: center;
    max-width: 100%;
    width: 100%;
    margin-bottom: 80px;
    position:relative;
    z-index: 120;
    overflow:hidden;
}

.card-layout-item.inverse {
    flex-direction: row-reverse;
}

.card-description {
    flex-grow: 1;
    font-family: "UnifrakturMaguntia", cursive;
    font-weight: 400;
    color: #f7f7f7;
    font-size: large;
    text-shadow: 1px 1px 0 #000;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.card-description p {
    font-family: 'Special Elite', monospace;
    font-weight: normal;
    text-shadow: none;
}


@media (max-width: 800px) {
    .card-layout-item, .card-layout-item.inverse {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        margin-bottom: 40px;
    }
}

.container-3d {
    perspective: 1200px;
    position: relative;
}

.card {
    width: 320px;
    height: 420px;
    border-radius: 24px;
    overflow:hidden;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: box-shadow 0.5s ease, transform 0.8s ease;
    z-index: 9999;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.light {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 70%);
}

.shine {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    border-radius: 50%;
    z-index: 10;
    background: linear-gradient(
        135deg,
        #ff00f0 40%,
        #00aaff 50%,
        #a7ffe9 60%,
        #ffff00 85%,
        #af1aff 100%
    );
    background-size: 200% 200%;
    mix-blend-mode: overlay;
    filter: blur(150px);
    opacity: 0.8;
    transform: translate(-50%, -50%);
}

.card-description.revealed {
    opacity: 1;
}

.card-layout-item.unfocused .card-description {
    opacity: 0.5 !important;
    transition: opacity 0.5s ease-out;
}

.pixel-star {
    position: absolute;
    width: 1px;
    height: 1px;
    background-color: currentColor;
    pointer-events: none;
    z-index: 9999;
    font-size: 1em;
    line-height: 1;
    box-shadow:
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 currentColor,
        -1px 0 currentColor,
        1px 0 currentColor,
        0 -1px currentColor,
        0 1px currentColor;
    animation: pixelFade 0.8s forwards;
}

.pixel-spark {
    position: absolute;
    width: 1px;
    height: 1px;
    background-color: currentColor;
    pointer-events: none;
    z-index: 9999;
    font-size: 0.5em;
    box-shadow:
        -1px 0 currentColor,
        1px 0 currentColor,
        0 -1px currentColor,
        0 1px currentColor;
    animation: sparkMove 0.5s forwards;
}

.blur-star {
    font-size: 1.8em;
    filter: blur(2px);
    text-shadow:
        0 0 10px currentColor,
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 30px currentColor;
}

.pulse-star {
    animation: pulseTravel 2s cubic-bezier(0.2, 0.8, 0.6, 1) forwards;
    z-index: 9998;
}

@keyframes pixelFade {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes sparkMove {
    to {
        transform: translate(var(--dx), var(--dy)) scale(0.2);
        opacity: 0;
    }
}

@keyframes pulseTravel {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(var(--target-x), var(--target-y)) scale(0.1);
        opacity: 0;
    }
}

.carousel-info-box {
    width: 100%;
    max-width: 800px;
    margin: 10px auto 10px auto;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #9c4dff;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 0 15px #9c4dff55;
}

.carousel-info-box p {
    margin: 0;
    line-height: 1.5;
}

#cookie-banner-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 30px;
    background-color: rgba(10, 10, 10, 0.95);
    color: #e0e0e0;
    font-family: 'Special Elite', monospace;
    font-size: 13px;
    text-align: center;
    box-shadow: 0 -5px 15px rgba(156, 77, 255, 0.2);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#cookie-banner-footer p {
    margin: 0;
}

#cookie-banner-footer a {
    color: #9c4dff;
    text-decoration: underline;
    cursor: pointer;
}

#accept-all-cookies {
    background-color: #9c4dff;
    color: #000;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-family: 'Special Elite', monospace;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

#accept-all-cookies:hover {
    background-color: #7a3be0;
    transform: translateY(-1px);
}

#cookie-preferences-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10005;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#cookie-preferences-modal.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(156, 77, 255, 0.5);
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    text-align: left;
    font-family: 'Special Elite', monospace;
    position: relative;
}

.modal-content h2 {
    color: #fff;
    border-bottom: 2px solid #9c4dff;
    padding-bottom: 10px;
    margin-top: 0;
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100;
    transition: color 0.2s ease;
    font-family: sans-serif;
}

.close-modal-btn:hover {
    color: #ff4d4d;
}

.modal-content h3 {
    margin-bottom: 5px;
    font-size: 16px;
    color: #9c4dff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-content p {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 5px;
}

.cookie-group {
    border: 1px solid #333;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 3px;
}

.intro-text {
    margin-bottom: 20px !important;
    font-size: 14px !important;
}

.status-tag {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 3px;
    background-color: #3e3e3e;
    color: #ccc;
    font-weight: bold;
}

.status-tag.required {
    background-color: #ff4d4d;
    color: #000;
}

.button-primary {
    background-color: #9c4dff;
    color: #000;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-family: 'Special Elite', monospace;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    margin-top: 20px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-left: auto;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #555;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #9c4dff;
}

input:focus + .slider {
    box-shadow: 0 0 1px #9c4dff;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 20px;
}

.slider.round:before {
    border-radius: 50%;
}

.fade-out {
    opacity: 0 !important;
}
.le-conteneur-de-votre-contenu-principal {
    -webkit-overflow-scrolling: touch;
}