/* ========== Reset et Variables ========== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* ----- html et body ----- */
html,
body {
	height: 100%;
	width: 100%;
	font-size: 45px;
	font-family: "Oxygen";
	color: #000000 !important;
	color-scheme: dark;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	scrollbar-width: none;
	-ms-overflow-style: none;
	background: none;
}

/* Fond */

.background-fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-image: url(./background.png);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: -1;
	pointer-events: none;
}

body::-webkit-scrollbar,
.main-content::-webkit-scrollbar {
	display: none;
}

/* ----- Fonts ----- */
/* Basic */
@font-face {
	font-family: 'Oxygen';
	src: url('./fonts/Font-Oxygen-Regular.ttf') format('truetype');
}

/* Citation */
@font-face {
	font-family: 'Lora';
	src: url('./fonts/Font-Lora-Regular.ttf') format('truetype');
}

/* ----- Variables ----- */
:root {
	/* Classic Colors */
	--color-classic-1: rgba(255, 255, 255, 0.04);
	--color-classic-2: rgba(30, 30, 30, 0.4);
	--color-classic-1-eco: rgba(10, 10, 10, 1);
	--color-classic-2-eco: rgba(20, 20, 20, 1);
	/* Pixy Colors */
	--color-pixypurple-light: rgb(180, 0, 255);
	--color-pixypurple-medium: rgb(120, 0, 160);
	--color-pixypurple-dark: rgb(75, 0, 100);
	--color-pixypurple-dark-transluscent: rgba(47, 27, 54, 0.4);
	/* Text Colors */
	--color-text-1: ;
	--color-text-2: ;
	/* Transparency */

	/* Animations */

    /* Nova Colors */
    --color-nova-purple: rgb(138, 21, 188);
    --color-nova-cyan: rgb(52, 172, 199);
    --color-nova-pink: rgb(186, 42, 186);
    --color-nova-purple-transluscent: rgba(138, 21, 188, 0.4);
    --color-nova-cyan-transluscent: rgba(52, 172, 199, 0.4);
    --color-nova-pink-transluscent: rgba(186, 42, 186, 0.4);
}

/* ========== Text ========== */
/* ----- Classic ----- */
h1 {
	margin: 0;
	font-weight: 800;
	font-size: 1rem;
	color: #fff;
	text-decoration: none;
}

h2 {
	margin: 0;
	font-weight: 600;
	font-size: 0.65rem;
	color: #fff;
	text-decoration: none;
}

h3 {
	margin: 0;
	font-weight: 500;
	font-size: 0.52rem;
	color: #fff;
	text-decoration: none;
}

p {
	margin: 0;
	font-weight: 400;
	font-size: 0.425rem;
	color: #fff;
	text-decoration: none;
}

.citation {
    margin: 0;
	color: #fff;
	text-decoration: none;
    font-family: "Lora" !important;
}

/* ----- special ----- */
/* Menu link */
.menu a {
	font-size: 28px;
	text-decoration: underline;
	text-decoration-color: #7c2bce;
	color: #fff;
	text-align: center;
	transition: 0.3s;
}

.menu a:hover {
	transform: translateY(-3px);
}

/* Footer Text */
footer p {
	font-style: normal;
	color: #FFFFFF;
	font-size: 0.4rem;
}

/* Links */
a:not(.button) {
	color: #FFFFFF;
	text-decoration: underline;
	text-decoration-color: #7c2bce;
}

/* ========== Header, Footer & Nav, Page Structure ========== */
/* ----- Header & Nav ----- */
/* Header */
header {
	width: 100%;
	height: 60px;
	z-index: 5;
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	background: rgba(80, 80, 80, 0.2);
}

header img {
	height: 50px;
	border-radius: 10px;
	z-index: 5;
}

/* Menu & Nav */
.menu {
	padding-top: 80px;
	height: 100%;
	width: 100%;
	z-index: 4;
	transition: 0.4s;
	position: fixed;
	top: 0;
	left: 0;
	opacity: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	pointer-events: none;
	padding-left: 20px;
	gap: 20px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	align-content: center;
}

.menu.lowperf {
	background: rgba(0, 0, 0, 0.95);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.menu.open {
	opacity: 1;
	pointer-events: auto;
}

.menu-btn {
	width: 35px;
	height: 26px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
	z-index: 5;
}

.menu-btn span {
	display: block;
	height: 4px;
    border-radius: 2px;
	background: #7c2bce;
	transition: 0.15s;
}

.menu-btn.open span:nth-child(1) {
	transform: translateY(11px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
	opacity: 0;
	visibility: hidden;
	transition-delay: 0.03s;
}

.menu-btn.open span:nth-child(3) {
	transform: translateY(-11px) rotate(-45deg);
}

/* ----- Footer ----- */
footer {
	flex-shrink: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 6px 0;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	background: rgba(80, 80, 80, 0.2);
}

/* ----- Main ----- */
main {
	flex: 1;
	padding-top: 60px;
	overflow-y: none;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.main-content::-webkit-scrollbar {
	display: none;
}

/* ========== Components ========== */
/* ----- Main Container ----- */
.content-list {
	max-width: 1000px;
	width: 95%;
	margin: 20px auto;
	padding: 20px;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	background: var(--color-classic-1);
	border-radius: 38px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.content-list.lowperf {
	background: var(--color-classic-1-eco);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.content-list.ultrawide {
	max-width: 2000px;
}

/* ----- Sub Container ----- */
.content-block {
	background: var(--color-classic-2);
	padding: 20px;
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	transition: 0.3s;
	justify-content: space-between;
}

.content-block.lowperf {
	background: var(--color-classic-2-eco);
}

.content-block:hover {
	transform: translateY(-3px);
	box-shadow: 0px 7px 11px rgba(0, 0, 0, 0.5);
    border-radius: 40px;
}

.content-block.clickable:hover {
	transform: translateY(-3px);
	box-shadow:
		0px 7px 10px rgba(0, 0, 0, 0.4),
		inset 0 0 0 2px var(--color-pixypurple-medium);
	cursor: pointer;
    background-color: var(--color-pixypurple-dark-transluscent);
}

.content-block.collumn {
	display: flex;
	flex-direction: row;
	gap: 8px;
}

.classic-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.classic-row img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	border-radius: 5px;
}

/* surrounding container (text 4 example) */
.surround-block {
    width: fit-content;
    height: fit-content;
	background: var(--color-classic-2);
	padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 18px;
    padding-right: 18px;
	border-radius: 18px;
	gap: 10px;
	justify-content: space-between;
    transition: 0.3s;
    align-self: center;
}

.surround-block:hover {
	transform: translateY(-3px);
	box-shadow: 0px 7px 11px rgba(0, 0, 0, 0.5);
    border-radius: 40px;
}

/* ----- Button (omg i love button omg omg uwu owo ----- */
.btn {
	padding: 10px 22px;
	width: auto;
	height: auto;
	background: rgba(90, 90, 90, 0.2);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border-radius: 50px;
	border: 2px solid rgba(150, 150, 150, 0.2);
	transition: 0.3s;
	cursor: pointer;
	font-size: 20px;
	color: #fff;
	text-decoration: none !important;
	text-align: center;
}

.btn:hover {
	border: 2px solid var(--color-pixypurple-medium);
	transform: translateY(-3px);
	box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.4);
    background-color: var(--color-pixypurple-dark-transluscent);
}

.btn:active {
	transform: scale(98%);
}

.btn.on {
	border: 2px solid var(--color-pixypurple-light);
	background: var(--color-pixypurple-dark-transluscent);
}

.iframepage {
	width: 100%;
	height: 100%;
	border: 0;
	overflow: hidden;
}

.horizontal-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 15px;
}

.img-icon {
	width: 40px;
	height: 40px;
	object-fit: contain;
	border-radius: 5px;
}

.S10 {
	padding-bottom: 10px;
}

.grid-list {
	height: fit-content;
	display: flex;
}

.grid-block {
	width: calc(33.333% - 8px);
	padding: 8px;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	background: var(--color-classic-2);
	border-radius: 12px;
	margin: 6px;
}

/* ----- Horiscroll Component ----- */

.horiscroll {
    display: flex;
    flex-direction: row;
    gap: 15px;
    overflow-x: auto; /* Permet le scroll horizontal */
    overflow-y: hidden;
    padding: 10px 5px;
    width: 100%;
    
    /* Scroll Snapping pour un effet fluide sur mobile */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    
    /* Cacher la barre de scroll par dÃ©faut (ton style) */
    scrollbar-width: none; 
    -ms-overflow-style: none;
}

.horiscroll::-webkit-scrollbar {
    display: none; /* Cache la barre sur Chrome/Safari */
}

/* Les enfants de la section scrollable */
.horiscroll > * {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: start;
    background: var(--color-classic-2);
    padding: 15px;
    border-radius: 18px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Gestion des images Ã  l'intÃ©rieur */
.horiscroll img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

.scroll-item {
    transition: 0.3s;
}

.scroll-item.lowperf {
	background: var(--color-classic-2-eco);
}

.scroll-item:hover {
	transform: translateY(-3px);
	box-shadow: 0px 7px 11px rgba(0, 0, 0, 0.5);
    border-radius: 35px;
}

.scroll-item.clickable:hover {
	transform: translateY(-3px);
	box-shadow:
		0px 7px 10px rgba(0, 0, 0, 0.4),
		inset 0 0 0 2px var(--color-pixypurple-medium);
	cursor: pointer;
    background-color: var(--color-pixypurple-dark-transluscent);
}

/* ----- Collapsible ----- */

.droppable-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Bouton principal */

.droppable {

	width: 100%;
	padding: 20px;

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

	background: var(--color-classic-2);

	border: none;
	border-radius: 18px;

	cursor: pointer;

	color: white;

	transition:
		transform 0.3s,
		box-shadow 0.3s,
		border-radius 0.3s,
		background-color 0.3s;

	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

/* Hover cohÃ©rent avec les autres composants */

.droppable:hover {

	transform: translateY(-3px);
    border-radius: 40px;
	box-shadow:
		0px 7px 10px rgba(0, 0, 0, 0.4),
		inset 0 0 0 2px var(--color-pixypurple-medium);

	background-color: var(--color-pixypurple-dark-transluscent);
}

/* Ouvert */

.droppable.active {

	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

/* IcÃ´ne */

.icon {

	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(255,255,255,0.06);
	font-size: 18px;
	line-height: 1;
	transition:
		transform 0.3s,
		background-color 0.3s;

}

.icon .material-symbols-rounded,

.icon .material-icons {

	font-size: 18px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;

}

.droppable.active .icon {

	transform: rotate(180deg);

	background: var(--color-pixypurple-dark-transluscent);
}

/* Content */

.content {

	max-height: 0;

	overflow: hidden;

	opacity: 0;

	background: var(--color-classic-2);

    border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 18px;
	border-bottom-right-radius: 18px;

	transition:
		max-height 0.4s ease,
		opacity 0.25s ease,
		padding 0.3s ease;

	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

/* Ouvert */

.content.open {

	opacity: 1;

	padding: 20px;

	max-height: 1000px;
}

/* IntÃ©rieur */

.content-inner {

	display: flex;
	flex-direction: column;
	gap: 15px;
}

/* ========== Nova Components ========== */

.novaffect {
	position: relative;
	overflow: hidden;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease,
		background 0.5s ease,
		border-radius 0.3s ease;
}

/* border interne gradient */
.novaffect::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 2px;

	background: linear-gradient(
		135deg,
		var(--color-nova-cyan),
		var(--color-nova-pink),
		var(--color-nova-purple)
	);

	opacity: 0;
	transition: opacity 0.3s ease;

	/* magie pour faire une vraie border interne */
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
        mask-composite: xor;
	mask-composite: exclude;

	pointer-events: none;
}

/* fond gradient */
.novaffect:hover {
	transform: translateY(-3px);

	background:
		linear-gradient(
			135deg,
			var(--color-nova-purple-transluscent) 0%,
			var(--color-nova-pink-transluscent) 45%,
			var(--color-nova-cyan-transluscent) 100%
		);

	box-shadow:
		0px 7px 10px rgba(0, 0, 0, 0.4);
}

/* apparition smooth de la border */
.novaffect:hover::before {
	opacity: 1;
}

/* ----- AI Loader ----- */
.orion-loader {
	position: relative;
	width: 90px;
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;

	filter:
		drop-shadow(0 0 8px rgba(0, 255, 0, 0.45))
		drop-shadow(0 0 18px rgba(0, 255, 0, 0.25));

	animation: loaderPulse 2s ease-in-out infinite;
}

.orbit {
	position: absolute;
	
	border-radius: 999px;
	opacity: 0.95;
}

.orbit-horizontal {
	width: 100%;
	height: 42%;
    border: 4px solid var(--color-nova-pink);
	animation: spinHorizontal 3s linear infinite;
}

.orbit-vertical {
	width: 42%;
	height: 100%;
    border: 4px solid var(--color-nova-cyan);
	animation: spinVertical 4s linear infinite reverse;
}

.core {
	width: 20px;
	height: 20px;
	border: 6px var(--color-nova-purple);
	border-radius: 50%;

	background: var(--color-nova-purple);
    

	animation:
		corePulse 1.5s ease-in-out infinite;
}

/* animations */

@keyframes spinHorizontal {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@keyframes spinVertical {
	from {
		transform: rotate(90deg);
	}
	to {
		transform: rotate(450deg);
	}
}

@keyframes corePulse {
	0%,
	100% {
		transform: scale(1);
		opacity: 0.9;
	}

	50% {
		transform: scale(0.82);
		opacity: 1;
	}
}

@keyframes loaderPulse {
	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.03);
	}
}

/* ========== Responsive System ========== */
@media (max-width: 768px) {
	.content-list {
		width: 100%;
		padding: 15px;
	}

	.content-block {
		border-radius: 23px;
	}

	.img-icon {
		width: 35px;
		height: 35px;
	}
}

@media (max-width: 480px) {
	.content-list {
		width: 100%;
		padding: 10px;
	}

	.content-block {
		border-radius: 28px;
	}

	.img-icon {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ----- Responsive Horiscroll ----- */
@media (max-width: 768px) {
    .horiscroll > * {
        width: 85%;
    }
}