@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');



:root {
	--bg-base: #c4e2f5;
	--bg-card: #ffffff;
	--accent: #48d1cc;
	--text-main: #00234f;
	--text-muted: #64748b;
	--border-color: #e2e8f0;
}


body {
	background-color: var(--bg-base);
	color: var(--text-main);
	font-family: 'Inter', sans-serif;
	overflow-x: hidden;
	opacity: 0;
	transition: opacity 0.15s ease-in;
}

body.fp-ready {
	opacity: 1;
}

.font-mono {
	font-family: 'JetBrains Mono', monospace;
}

.font-liberation {
	font-family: 'Liberation Serif', serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

::-webkit-scrollbar-track {
	background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
	background: #333;
	border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--accent);
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}

.no-scrollbar {
	-ms-overflow-style: none;
}

@supports (scrollbar-width: none) {
	.no-scrollbar {
		scrollbar-width: none;
	}
}

/* Neon Glow Effects */
.card-glow {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid transparent;
}

.card-glow:hover {
	box-shadow: 0 0 15px rgba(72, 209, 204, 0.3);
	transform: scale(1.03);
	border-color: rgba(72, 209, 204, 0.5);
	z-index: 10;
}

.btn-glow {
	transition: all 0.3s ease;
}

.btn-glow:hover {
	box-shadow: 0 0 20px rgba(72, 209, 204, 0.4);
}

/* Interactive Hover Search */
.search-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 36px;
	height: 36px;
	transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-container:hover,
.search-container:focus-within {
	width: 250px;
}

.search-input {
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	background-color: transparent;
	border-color: transparent;
	transition: opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.search-container:hover .search-input,
.search-container:focus-within .search-input {
	opacity: 1;
	cursor: text;
	background-color: var(--bg-card);
	border-color: #3f3f46;
}

.search-icon {
	position: absolute;
	right: 8px;
	pointer-events: none;
	color: var(--text-main);
	transition: color 0.3s ease;
}

.search-container:hover .search-icon,
.search-container:focus-within .search-icon {
	color: var(--accent);
}

/* Search Dropdown Results */
.search-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	width: 300px;
	background: var(--bg-card);
	border: 1px solid var(--accent);
	border-top: none;
	max-height: 400px;
	overflow-y: auto;
	z-index: 100;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
}

.search-dropdown.active {
	display: block;
}

.search-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border-bottom: 1px solid var(--border-color);
	color: var(--text-main);
	text-decoration: none;
	transition: background 0.2s;
}

.search-item:hover {
	background: #27272a;

	div.w-48 {
		color: #c4e2f5;
	}
}

.search-item img {
	width: 50px;
	height: 35px;
	object-fit: cover;
	border-radius: 2px;
}

/* Ad Slot Placeholders */
.ad-slot {
	background-color: var(--bg-card);
	border: 1px dashed #3f3f46;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #52525b;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	width: 100%;
}

.ad-leaderboard {
	height: 90px;
}

.ad-square {
	height: 250px;
}

.hide-element {
	display: none !important;
}

.swiper {
	padding: 20px 10px !important;
	margin: -20px -10px !important;
}

.game-card {
	position: relative;
	z-index: 1;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
	will-change: transform;
}

.game-card:hover {
	z-index: 50;
}

@media screen and (max-width: 400px) {
	.custom-main-hero {
		aspect-ratio: 3 / 4 !important;
	}
}

/* ==========================================
   SKELETON LOADER ANIMATION
   ========================================== */
@keyframes shimmer {
	0% {
		transform: translateX(-100%);
	}

	100% {
		transform: translateX(100%);
	}
}

.skeleton {
	position: relative;
	overflow: hidden;
	background-color: #27272a;
	/* Matches your border color */
}

.skeleton::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transform: translateX(-100%);
	background-image: linear-gradient(90deg,
			rgba(255, 255, 255, 0) 0,
			rgba(255, 255, 255, 0.04) 20%,
			rgba(255, 255, 255, 0.08) 60%,
			rgba(255, 255, 255, 0) 100%);
	animation: shimmer 1.5s infinite;
	z-index: 10;
}

/* Optional: Hides text if we apply it to a text block */
.skeleton-text {
	color: transparent !important;
	border-radius: 4px;
}

.skeleton-text * {
	visibility: hidden;
}

/* Interactive Luxury Background */
.interactive-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: -10;
	overflow: hidden;
	background-color: var(--bg-base);
	pointer-events: none;
}

/* Geometric Minimal Grid */
.interactive-bg::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background-image:
		linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
	background-size: 60px 60px;
	transform: perspective(600px) rotateX(60deg) translateY(-100px) translateZ(-200px);
	animation: bgGridMove 30s linear infinite;
	opacity: 0.6;
}

@keyframes bgGridMove {
	0% {
		transform: perspective(600px) rotateX(60deg) translateY(0) translateZ(-200px);
	}

	100% {
		transform: perspective(600px) rotateX(60deg) translateY(60px) translateZ(-200px);
	}
}

/* Geometric 3D Interactive Shapes */
.geom-shape {
	position: absolute;
	border: 1px solid rgba(0, 0, 0, 0.04);
	background: rgba(0, 0, 0, 0.02);
	transition: transform 0.2s ease-out, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
	backdrop-filter: blur(2px);
	/* Base variables updated by JS */
	--rx: 0deg;
	--ry: 0deg;
	--tz: 0px;
	--scale: 1;
}

.geom-shape-0 {
	width: 120px;
	height: 120px;
	top: 15%;
	left: 10%;
	border-radius: 12px;
	transform: perspective(500px) rotate(15deg) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz)) scale(var(--scale));
}

.geom-shape-1 {
	width: 150px;
	height: 150px;
	top: 60%;
	left: 8%;
	border-radius: 50%;
	transform: perspective(500px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz)) scale(var(--scale));
}

.geom-shape-2 {
	width: 100px;
	height: 100px;
	top: 20%;
	right: 12%;
	transform: perspective(500px) rotate(45deg) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz)) scale(var(--scale));
}

.geom-shape-3 {
	width: 80px;
	height: 80px;
	bottom: 20%;
	right: 20%;
	border-radius: 20px;
	transform: perspective(500px) rotate(-20deg) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz)) scale(var(--scale));
}

.geom-shape-4 {
	width: 180px;
	height: 180px;
	top: 40%;
	left: 50%;
	border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
	transform: perspective(500px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz)) scale(var(--scale));
	border-color: rgba(72, 209, 204, 0.03);
}

.geom-shape-5 {
	width: 90px;
	height: 90px;
	bottom: 30%;
	left: 30%;
	transform: perspective(500px) rotate(35deg) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz)) scale(var(--scale));
}

/* 3D Hover State triggered by JS proximity */
.geom-shape.is-hovered {
	border-color: rgba(72, 209, 204, 0.4);
	background: rgba(72, 209, 204, 0.05);
	box-shadow: 0 10px 30px rgba(72, 209, 204, 0.15);
}

/* Mouse gradient tracker */
.interactive-bg-gradient {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle 800px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(72, 209, 204, 0.06), transparent 50%);
	opacity: 1;
	transition: background 0.15s ease;
}

/* Mobile fallback for gradient (no hover) */
@media (hover: none) and (pointer: coarse) {
	.interactive-bg-gradient {
		background: radial-gradient(circle 800px at 50% 50%, rgba(72, 209, 204, 0.05), transparent 60%);
		animation: pulseGradient 10s ease-in-out infinite alternate;
	}
}

@keyframes pulseGradient {
	0% {
		background: radial-gradient(circle 800px at 20% 30%, rgba(72, 209, 204, 0.05), transparent 60%);
	}

	100% {
		background: radial-gradient(circle 800px at 80% 70%, rgba(72, 209, 204, 0.05), transparent 60%);
	}
}