[hidden] { display: none !important; }
@font-face {
    font-family: 'Electrolize';
    src: url('../fonts/Electrolize-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Electrolize, Arial, sans-serif;
}

html, body {
    height: 100%;
}

body {
    background: #1a1a1a;
    color: white;
    min-height: 100vh;
}



a {
	color: #ffffff;
	text-decoration: none;
}

a:hover {
	color: #a29b78 !important;
	text-decoration: none;
}

.footer {
    position: absolute;
    bottom: 0px;
	left: 50%;
	transform: translate(-50%, -50%);
    width: -50%;
    height: 50px;
}

/* Utilitaires texte */
.txt-s05 { font-size: 5px; }
.txt-s10 { font-size: 10px; }
.txt-s12 { font-size: 12px; }
.txt-s15 { font-size: 15px; }
.txt-s20 { font-size: 20px; }
.txt-s22 { font-size: 22px; }
.txt-s25 { font-size: 25px; }
.txt-s40 { font-size: 40px; }
.padding5 { padding: 5px; }
.padding15 { padding: 15px; }
.padding25 { padding: 25px; }
.padding50 { padding: 50px; }
.padding-left50 { padding-left: 50px !important; }
.txt-bold { font-weight: bold; }
.txt-italic { font-style: italic; }
.txt-justify { text-align: justify; text-justify: inter-word; }
.txt-center { text-align: center !important; }
.txt-center input { display: inline-block !important; text-align: center !important; }
.txt-underline { text-decoration: underline; }
.float-right { float: right; }
.float-left { float: left; }
.txt-or { color: #a29b78; }
.txt-jaune { color: #fcba03; }
.v-hidden { visibility: hidden; }
.small-caps { font-variant-caps: small-caps; }

.ul-style {
	line-height: 30px;
	/* padding-left: 50px !important; */
	/* border-left:  4px solid #a29b78; */
}

/* Vidéo plein écran en arrière-plan */
.video-container {
    width: 100vw;
    height: 100vh;
    position: fixed;
    inset: 0;
    z-index: -5; /* derrière tout */
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none; /* la vidéo n’intercepte pas les clics */
}

/* Ajustements pour conserver le recadrage 16/9 sans bandes */
@media (min-aspect-ratio: 16/9) {
    .video-container iframe { height: 56.25vw; }
}
@media (max-aspect-ratio: 16/9) {
    .video-container iframe { width: 177.78vh; }
}

/* Voile noir par-dessus la vidéo */
.black-filter {
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* Conteneur principal (si besoin de couches au-dessus) */
.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 0; /* au-dessus de la vidéo */
}

/* Logos centrés */
.center-page-bops {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    z-index: 2;
    width: 600px;
    height: 600px;
}

.center-page-infos {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    z-index: 2;
    width: 600px;
    height: 200px;
}

.assets-div-menu {
    position: fixed;
    top: 25px;
    left: 25px;
    transform: translate(0px, 0px);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
	background-color: rgb(0 0 0 / 50%);
    z-index: 100;
    width: 300px;
	display: flex;          /* Active le mode Flexbox */
	flex-direction: column; /* Aligne les liens les uns sous les autres */
    align-items: center;    /* Centre verticalement */
	gap: 2px;
    justify-content: center;
	border: solid 3px rgb(155 145 60 / 25%);
	border-radius: 10px;
	padding: 5px 0px 5px 0px;
	text-align: center;
}

.connexion-div-menu {
    position: fixed;
    top: 25px;
    right: 25px;
    transform: translate(0px, 0px);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
	background-color: rgb(0 0 0 / 50%);
    z-index: 100;
    width: 300px;
    height: 35px;
    display: flex;          /* Active le mode Flexbox */
    align-items: center;    /* Centre verticalement */
    justify-content: center;
	border: solid 3px rgb(155 145 60 / 25%);
	border-radius: 10px;
    text-align: center;
}

.center-div-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    z-index: 3;
    width: 1050px;
    height: 80px;
    text-align: center;
}

.center-div-menu-flex {
    display: flex;          /* Active l'affichage en ligne */
    justify-content: center; /* Centre les items horizontalement */
    align-items: center;     /* Centre verticalement */
    gap: 10px;               /* Espace entre les divs (modifiable) */
}

.center-div-menu .menu-item {
    min-height: 40px;    /* hauteur de chaque div */
    /* background: #ccc; /* juste pour visualiser, tu peux retirer */
    /* border-radius: 5px; */
	padding: 5px;
}

.center-div-menu .menu-item:hover {
    min-height: 40px;    /* hauteur de chaque div */
    /* background: #ccc; /* juste pour visualiser, tu peux retirer */
    /* border-radius: 5px; */
	border-bottom: 4px solid #a29b78;
	padding: 5px;
}

.center-div-menu .menu-item:hover a {
	color: #a29b78 !important;
}

.menu-item-we {
    min-width: 20px;    /* largeur de chaque div (modifiable) */
    min-height: 40px;    /* hauteur de chaque div */
	padding: 5px;
}

.center-page-bops {
    background-image: url("../img/logo-org.png");
	z-index: 2;
    animation: spin-horizontal 5s linear infinite;
}

/* Animation de rotation horizontale infinie */
@keyframes spin-horizontal {
    0% 		{ transform: translate(-50%, -50%) rotateY(0deg); }
    50%		{ transform: translate(-50%, -50%) rotateY(0deg); }
    100%	{ transform: translate(-50%, -50%) rotateY(360deg); }
}

/* Contrôles audio en haut à droite */
.audio-controls {
    position: fixed;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 10px;
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

.audio-controls button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: white;
    line-height: 1;
}

.audio-controls input[type="range"] {
    width: 120px;
    cursor: pointer;
    accent-color: #fcba03; /* facultatif si supporté */
}

.vol-label {
    font-size: 12px;
    color: #fff;
    opacity: 0.85;
}

/* facultatif si supporté */
.connexion-champ {
	height: 30px;
	background-color: rgb(0 0 0 / 50%);
	border: solid 0px rgb(155 145 60 / 100%);
	border-radius: 5px;
	color: rgb(255 255 255 / 100%);
}

.connexion-bouton {
	height: 30px;
	background-color: rgb(0 0 0 / 50%);
	border-top: solid 0px rgb(155 145 60 / 100%);
	border-left: solid 3px rgb(155 145 60 / 100%);
	border-right: solid 3px rgb(155 145 60 / 100%);
	border-bottom: solid 0px rgb(155 145 60 / 100%);
	border-radius: 5px;
	color: rgb(255 255 255 / 100%);
	padding: 0px 10px 0px 10px;
}

.connexion-bouton:hover {
	background-color: rgb(0 0 0 / 20%);
	cursor: pointer;
}
/* Auth / admin helpers */
.connexion-div-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.connexion-div-menu #accountLabel {
    display: inline-block;
}

.connexion-div-menu.is-authenticated {
    cursor: default;
    height: auto;
    min-height: 78px;
    padding: 10px 14px;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.connexion-div-menu.is-authenticated #accountLabel {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #f7edcf;
}

.connexion-div-menu.md-trigger,
.connexion-div-menu.md-trigger #accountLabel {
    cursor: pointer;
    user-select: none;
}

.connexion-actions[hidden] { display: none !important; }
.connexion-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.connexion-action-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f4e3b2;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(244, 227, 178, 0.35);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.connexion-action-btn:hover {
    color: #ffffff;
    background: rgba(155, 145, 60, 0.28);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
}

.connexion-action-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 2px;
}

.connexion-action-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
}

.connexion-action-icon svg {
    width: 100%;
    height: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.login-status {
    min-height: 18px;
}

.login-status.is-error {
    color: #ff8080;
}

.login-status.is-success {
    color: #9fe29f;
}

.assets-div-menu a,
.connexion-div-menu a,
.connexion-div-menu #accountLabel {
    max-width: 100%;
    word-break: break-word;
}

@media (max-width: 1200px) {
    .center-page-bops {
        width: min(48vw, 480px);
        height: min(48vw, 480px);
        top: 32%;
    }

    .center-div-menu {
        width: min(1050px, calc(100vw - 40px));
    }
}

@media (max-width: 900px) {
    .assets-div-menu,
    .connexion-div-menu {
        width: auto;
        max-width: none;
        left: 16px;
        right: 16px;
    }

    .assets-div-menu {
        top: 16px;
    }

    .connexion-div-menu {
        top: auto;
        bottom: 16px;
        justify-content: center;
        min-height: 44px;
    }

    .center-page-bops {
        width: min(62vw, 340px);
        height: min(62vw, 340px);
        top: 28%;
    }

    .center-div-menu {
        width: calc(100vw - 32px);
        top: 56%;
    }

    .center-div-menu .padding50 {
        padding: 24px !important;
    }
}

@media (max-width: 640px) {
    .assets-div-menu {
        gap: 6px;
        padding: 10px 12px;
    }

    .connexion-div-menu {
        gap: 8px;
        padding: 8px 12px;
    }

    .connexion-div-menu.is-authenticated {
        min-height: 84px;
        padding: 10px 12px;
    }

    .connexion-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .center-page-bops {
        top: 170px;
        width: min(68vw, 280px);
        height: min(68vw, 280px);
    }

    .center-div-menu {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 230px auto 100px;
        width: calc(100vw - 24px);
    }

    .center-div-menu .padding50 {
        padding: 18px !important;
    }

    .txt-s40 {
        font-size: clamp(28px, 7vw, 40px);
    }

    .txt-s22 {
        font-size: clamp(18px, 4.6vw, 22px);
    }
}

@media (max-width: 480px) {
    .assets-div-menu,
    .connexion-div-menu {
        left: 12px;
        right: 12px;
    }

    .center-div-menu {
        width: calc(100vw - 16px);
        margin-top: 210px;
    }
}
