/* Lenis scroll (for a smooth scroll) */

html.lenis {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

/* Global */

* {
	box-sizing: border-box;
}

@font-face {
	font-family: "Kitto";
	src: url(Fonts/Kitto-PersonalUse.otf);
}

body {
	font-family: "Kitto";
	text-transform: uppercase;
	font-size: 1.5rem;
	overflow-x: hidden;
	color: #ffffff;
}

body.no-scroll {
	overflow: hidden;
}

nav {
	position: fixed;
	width: 100%;
	padding: 1rem 2rem;
	display: flex;
	align-items: center;
	border-bottom: 5px solid #86efac;
	background-color: #1c2530;
	height: 90px;
	z-index: 1000;
}

@media (max-width: 767px) {
	nav {
		padding: 0.8rem 1rem;
		height: 80px;
	}
}

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

h1 {
	font-size: 6rem;
	color: #ffffff;
}

h2 {
	font-size: 4rem;
	color: #ffffff;
}

/* Splash screen */

#splash-screen {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	min-height: 100svh;
	background-color: #f8f8f8;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

#splash-screen img {
	position: absolute;
	width: 50%;
	/* Ajuste selon ton GIF */
	height: auto;
	margin-bottom: 2rem;
}

#splash-screen button {
	padding: 10px 20px;
	font-size: 18px;
	cursor: pointer;
	position: absolute;
	bottom: 15%;
}

#splash-screen #enter-site {
	padding: 0;
	border: none;
	background: none;
	max-width: 200px;
	height: auto;
	cursor: pointer;
	position: absolute;
	bottom: 15%;
}

/* Header */

.ca {
	display: flex;
	align-items: center;
	gap: 1rem;
	cursor: pointer;
	position: relative;
}

.ca-heading {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.ca-heading i {
	font-size: 1rem;
	color: #ffffff;
	transition: color 0.3s ease;
}

.ca-heading:hover i {
	color: #86efac;
}

.tooltip {
	visibility: hidden;
	background-color: #333;
	color: #fff;
	text-align: center;
	padding: 5px;
	border-radius: 4px;
	position: absolute;
	bottom: -45px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 12px;
	opacity: 0;
	transition: opacity 0.3s;
}

.copy-container:hover .tooltip {
	visibility: visible;
}

.show-tooltip {
	visibility: visible;
	opacity: 1;
}

.logo {
	font-size: 2.5rem;
	flex: 1;
}

.navbar-logo {
	width: 60px;
	height: auto;
	margin-left: 1rem;
	vertical-align: middle;
}

.socials-list {
	list-style: none;
	display: flex;
	gap: 1rem;
	flex: 1;
	justify-content: end;
	align-items: center;
}

.socials-list img {
	width: 48px;
	filter: brightness(0) invert(1);
}

.socials-list a:hover {
	color: #86efac;
}

.menu-toggle {
	cursor: pointer;
	padding: 12px 0;
	margin-left: 2rem;
	display: none;
}

.menu-toggle span {
	position: relative;
	display: block;
	width: 20px;
	height: 3px;
	background: #ffffff;
	transition: all 0.2s ease-in-out;
}

.menu-toggle span:before,
.menu-toggle span:after {
	position: absolute;
	background: #ffffff;
	content: "";
	width: 20px;
	height: 3px;
	transition: all 0.2s ease-in-out;
}

.menu-toggle span:before {
	top: -8px;
}

.menu-toggle span:after {
	top: 8px;
}

.menu-toggle.active span {
	background: transparent;
}

.menu-toggle.active span:before {
	transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:after {
	transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero */

.hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 6rem;
	padding-top: 9rem;
	position: relative;
	background-color: #15161b;
}

.hero_heading {
	max-width: 650px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4.5rem;
}

.hero_heading_title {
	position: relative;
	width: fit-content;
}

.hero_poki {
	width: 300px;
}

.hero_anvil {
	width: 200px;
	position: absolute;
	top: 80px;
	left: 5%;
}

.hero-btn {
	background-color: white;
	font-size: 2.5rem;
	padding: 1rem 2rem;
	will-change: scale;
	transition: transform 0.2s;
	font-family: inherit;
}

.hero-btn:hover {
	color: #ffae00;
	cursor: pointer;
	transform: scale(1.1);
}

.hero-btn img {
	max-width: 100%;
	height: auto;
	display: block;
}

.hero-btn {
	border: none;
	outline: none;
	background: none;
	padding: 0;
}

.fun-quote {
	position: absolute;
	bottom: -40px;
	right: 0;
	transform: rotate(-10deg) translate(50%, 50%);
	color: grey;
	font-size: 1.125rem;
}

/* 3D Rotating Cards Section */

.card-showcase {
	width: 100%;
	height: 120vh;
	position: relative;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 8rem 0;
	background-color: #15161b;
}

.card-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.card-inner {
	--w: 150px;
	--h: 225px;
	--translateZ: calc((var(--w) + var(--h)) + 0px);
	--rotateX: -15deg;
	--perspective: 1000px;
	position: absolute;
	width: var(--w);
	height: var(--h);
	top: 15%;
	left: calc(50% - (var(--w) / 2) - 2.5px);
	z-index: 2;
	transform-style: preserve-3d;
	transform: perspective(var(--perspective));
	animation: card-rotating 20s linear infinite;
}

@keyframes card-rotating {
	from {
		transform: perspective(var(--perspective)) rotateX(var(--rotateX)) rotateY(0);
	}

	to {
		transform: perspective(var(--perspective)) rotateX(var(--rotateX)) rotateY(1turn);
	}
}

.card-item {
	position: absolute;
	border: 2px solid #86efac;
	border-radius: 12px;
	overflow: hidden;
	inset: 0;
	transform: rotateY(calc((360deg / 12) * var(--index))) translateZ(var(--translateZ));
}

.card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #0000 radial-gradient(circle,
			rgba(0, 0, 0, 0.2) 0%,
			rgba(0, 0, 0, 0.6) 80%,
			rgba(0, 0, 0, 0.9) 100%);
}

.card-decor-left {
	position: absolute;
	left: -500px;
	top: 80%;
	transform: translateY(-50%);
	width: 500px;
	height: auto;
	z-index: 1;
	opacity: 0;
	transition: all 1s ease-in-out;
}

.card-decor-right {
	position: absolute;
	right: -500px;
	top: 10%;
	transform: translateY(-50%);
	width: 500px;
	height: auto;
	z-index: 1;
	opacity: 0;
	transition: all 1s ease-in-out;
}

.card-decor-left.fade-in {
	left: 0;
	opacity: 1;
}

.card-decor-right.fade-in {
	right: 0;
	opacity: 1;
}



/* Marquee */

.marquee {
	flex-flow: column;
	justify-content: center;
	align-items: center;
	display: flex;
	padding: 3rem 0;
	background-color: #15161b;
}

.marquee-title {
	text-align: center;
	margin-bottom: 2rem;
}

.marquee-title h2 {
	font-size: 4rem;
	font-family: inherit;
	text-transform: uppercase;
	color: #ffffff;
	margin: 0;
}

.marquee-advanced {
	width: 100vw;
	position: relative;
	overflow: hidden;
}

.marquee-advanced__scroll {
	will-change: transform;
	width: 100%;
	display: flex;
	position: relative;
}

.marquee-advanced__collection {
	will-change: transform;
	display: flex;
	position: relative;
}

.marquee-advanced__item {
	justify-content: flex-start;
	align-items: center;
	display: flex;
}

.marquee-advanced__item-width {
	margin: 1rem;
	border: 2px solid #86efac;
	border-radius: 12px;
	padding: 0.5rem;
}

.marquee-advanced__item-width img {
	width: 200px;
}

/* Game */

.game {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 4rem 1rem;
	background-color: #15161b;
}

.game_header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.game_canva {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	align-items: center;
}

.game_main-img {
	width: 500px;
	height: 500px;
	background-image: url(Hamster_IP/Game/Hamster_game_Base.png);
	background-size: cover;
}

.game_weapons {
	display: flex;
	gap: 1rem;
}

.game_weapon {
	cursor: pointer;
}

.game_weapon img {
	width: 150px;
}

.game_weapon:hover img {
	will-change: scale;
	transition: transform 0.1s;
	transform: scale(1.1);
}

#custom-cursor {
	position: fixed;
	left: var(--pos-x);
	top: var(--pos-y);
	transform: translate(-50%, -50%);
	pointer-events: none;
	display: none;
	width: 64px;
	height: 64px;
	z-index: 1000;
}

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

	50% {
		transform: scale(1.1, 0.8);
	}

	/* Effet écrasé */
	100% {
		transform: scale(1, 1);
	}
}

.squeeze {
	animation: squeeze 0.1s ease-in-out;
}

/* Exchanges */

.exchanges {
	display: flex;
	gap: 1rem;
	padding: 4rem;
	position: relative;
	background-color: #15161b;
}

.exchanges_content {
	display: flex;
	flex-direction: column;
	gap: 5rem;
	width: 60%;
}

.exchanges_heading {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	z-index: 3;
}

.exchanges_list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.exchanges_list li {
	padding-bottom: 1rem;
}

.phantom {
	width: 234px;
	position: absolute;
	left: 45%;
	top: 32px;
}

.exchanges_terminal {
	position: relative;
	padding-left: 200px;
}

.exchanges_terminal-img {
	position: absolute;
	bottom: 0;
	left: 213px;
	transform: translateX(-100%);
	width: 200px;
}

#integrated-terminal {
	border: 10px solid black;
	padding: 1rem;
	border-radius: 1rem;
	background-color: black;
	/* width: 400px; */
	/* height: 568px; */
}

/* PFP Generator */

.pfp_generator {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 6rem;
	align-items: center;
	background-color: #15161b;
}

.pfp_generator_heading {
	display: flex;
	text-align: center;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.pfp_generator_btn {
	background-color: white;
	font-size: 1rem;
	padding: 0.5rem 1rem;
	font-family: inherit;
	cursor: pointer;
	width: 100%;
}

.pfp_generator_canva {
	width: 400px;
	height: 400px;
	border: 5px solid black;
	border-radius: 1rem;
	position: relative;
	background: white;
	overflow: hidden;
}

.pfp_generator_canva img {
	position: absolute;
	width: 100%;
	height: 100%;
}

.pfp_generator_controls {
	min-width: 30%;
	max-width: 40%;
	display: flex;
	flex-direction: column;
	font-size: 1rem;
	align-items: stretch;
}

.pfp_generator_row {
	display: flex;
	width: 100%;
	gap: 1rem;
}

.pfp_generator_controls_item {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.pfp_generator_controls_item button {
	background-color: white;
	cursor: pointer;
	border: none;
	padding: 0.5rem 0.5rem;
}

.pfp_generator_controls_item button:nth-child(3) {
	transform: rotate(180deg);
}

.pfp_generator_content {
	width: 100%;
	display: flex;
	gap: 1rem;
	align-content: space-between;
	justify-content: center;
	align-items: center;
}

/* Falling anvil */

.falling-anvil {
	position: absolute;
	left: 10%;
	/* Position sur la gauche */
	bottom: 0;
	width: 100px;
	height: 100svh;
}

.falling-anvil img {
	width: 150px;
}

#anvil {
	position: absolute;
	top: -125.33px;
	/* Cache l'enclume en haut de l'écran */
	left: 0;
	height: auto;
	transition: transform 0.5s ease-in, opacity 0.01s ease-in;
	opacity: 0;
}

#squished-hamster {
	position: absolute;
	bottom: 0px;
	left: 0;
	height: auto;
	transition: opacity 0.5s ease-in;
}

/* Footer */

footer {
	padding: 6rem 4rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 3rem;
	position: relative;
	margin-bottom: 0;
	background-color: #15161b;
}

.footer-image {
	width: 200px;
	height: auto;
	margin-bottom: 2rem;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

footer p {
	max-width: 900px;
	color: #ffffff;
}

/* Responsive tablet */

@media (max-width: 992px) {
	.hero_anvil {
		width: 150px;
		left: 0%;
	}

	.ca-data {
		display: none;
	}

	.marquee-advanced__item-width img {
		width: 150px;
	}

	.game_weapon img {
		width: 100px;
	}

	.exchanges {
		flex-direction: column;
		padding: 3rem;
	}

	.exchanges_content {
		width: 100%;
	}

	.phantom {
		right: 0;
		left: auto;
	}

	footer {
		padding: 6rem 3rem 8rem 3rem;
	}
}

/* Responsive mobile */

@media (max-width: 767px) {
	body {
		font-size: 1rem;
	}

	.pfp_generator_controls {
		width: 100%;
		max-width: 100%;
		margin-top: 1rem;
		display: flex;
		flex-direction: column;
		gap: 1rem;
		font-size: 1rem;
	}

	.pfp_generator_content {
		display: block;

	}

	h1 {
		font-size: 4rem;
	}

	h2 {
		font-size: 3rem;
		text-align: center;
	}

	.marquee-title h2 {
		font-size: 2.5rem;
	}

	.marquee {
		border: none;
		outline: none;
	}

	.game {
		border: none;
		outline: none;
	}

	.exchanges {
		border: none;
		outline: none;
	}

	.pfp_generator {
		border: none;
		outline: none;
	}

	main {
		border: none;
		outline: none;
	}

	section {
		border: none;
		outline: none;
	}

	body {
		border: none;
		outline: none;
	}

	section {
		border: none;
		outline: none;
		box-shadow: none;
	}



	.hero {
		padding: 8rem 1rem 6rem 1rem;
		border: none;
		outline: none;
	}

	.hero-btn {
		font-size: 1rem;
		padding: 0;
		border: none;
		outline: none;
		background: none;
	}

	.hero-btn img {
		max-width: 100%;
		height: auto;
	}

	.card-inner {
		--w: 120px;
		--h: 180px;
	}

	.card-showcase {
		height: 100vh;
		padding: 6rem 0;
		border: none;
		outline: none;
	}

	.card-decor-left {
		left: -200px;
		width: 200px;
	}

	.card-decor-right {
		right: -200px;
		top: 10%;
		width: 200px;
	}

	.card-decor-left.fade-in {
		left: 0;
		margin-bottom: 100px;
	}

	.card-decor-right.fade-in {
		right: 0;
	}

	.fun-quote {
		font-size: 1rem;
	}

	.menu-toggle {
		display: block;
	}

	.socials-list {
		display: none;
		flex-direction: column;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background: #1c2530;
		justify-content: center;
		align-items: center;
		gap: 2rem;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
		margin-top: 90px;
	}

	.socials-list.active {
		display: flex;
	}

	.navbar-logo {
		width: 25px;
		margin-left: 0.3rem;
	}

	.logo {
		font-size: 1.8rem;
	}

	.hero_anvil {
		width: 100px;
	}

	.ca-data {
		display: none;
	}

	.marquee-advanced__item-width img {
		width: 100px;
	}

	.game_main-img {
		width: 100%;
		aspect-ratio: 1 / 1;
		height: auto;
	}

	.game_weapons {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 1rem;
	}

	.game_weapon img {
		width: 75px;
	}

	.exchanges_terminal {
		padding-left: 0;
	}

	.exchanges_terminal-img {
		display: none;
	}

	.phantom {
		display: none;
	}

	.pfp_generator {
		padding: 4rem 1rem;
	}

	.pfp_generator_content {
		width: 100%;
	}

	.pfp_generator_canva {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
	}

	.pfp_generator_row {
		flex-wrap: wrap;
	}

	footer {
		margin-bottom: 0;
		padding: 6rem 1rem 8rem 1rem;
	}

	.footer-image {
		width: 150px;
		margin-bottom: 1.5rem;
	}

	.socials-list img {
		filter: brightness(0) invert(1);
	}

	.ca-heading i {
		font-size: 0.9rem;
	}

	.ca-heading p {
		font-size: 0.8rem;
	}


}