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

body.no-scroll {
	overflow: hidden;
}

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

a {
	text-decoration: none;
	color: black;
}

h1 {
	font-size: 6rem;
}

h2 {
	font-size: 4rem;
}

/* Splash screen */

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

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

#splash-screen button {
	padding: 10px 20px;
	font-size: 18px;
	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 img {
	width: 1rem;
	height: 1rem;
}

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

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

.socials-list img {
	width: 48px;
}

.socials-list a:hover {
	color: orange;
}

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

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

.menu-toggle span:before,
.menu-toggle span:after {
	position: absolute;
	background: #222;
	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;
}

.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: darkgreen;
	cursor: pointer;
	transform: scale(1.1);
}

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

/* Marquee */

.marquee {
	flex-flow: column;
	justify-content: center;
	align-items: center;
	display: flex;
	padding: 3rem 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;
}

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

/* Game */

.game {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 4rem 1rem;
}

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

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

.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%;0%; */!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;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.3s ease-in;
}

/* Footer */

footer {
	padding: 6rem 4rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 3rem;
	position: relative;
}

footer p {
	max-width: 900px;
}

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

	.hero {
		padding: 8rem 1rem 6rem 1rem;
	}

	.hero-btn {
		font-size: 1rem;
		padding: 0.5rem 1rem;
	}

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

	.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 {
		padding: 6rem 1rem 8rem 1rem;
	}
}
