* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', sans-serif;
	background: #0b0b0b;
	color: #f5f5f5;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow-x: hidden;
	position: relative;
	scrollbar-width: thin;
	scrollbar-color: #3a3a3a #121212;
	--primary-bg: #0f0f0f;
	--secondary-bg: #1a1a1a;
	--navbar-bg: rgba(18,18,18,0.8);
	--accent: #e92b5a;
	--accent-hover: #ff4c78;
	--text-gray: #aaa;
	--text-dim: #666;
	--border-color: #2a2a2a;
	--glow: 0 0 25px rgba(233,43,90,0.4);
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	background: radial-gradient(circle at 20% 20%, rgba(233,43,90,0.05), transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(89,122,255,0.05), transparent 50%);
	z-index: -1;
}

#loading-screen {
	position: fixed;
	inset: 0;
	background: rgba(10,10,10,0.8);
	backdrop-filter: blur(25px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	transition: opacity 0.6s ease;
}

.loader-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 220px;
}

#logo {
	width: 180px;
	height: 180px;
	filter: drop-shadow(0 0 20px rgba(233,43,90,0.6));
}

#loading-bar-container {
	width: 100%;
	height: 6px;
	background: #222;
	border-radius: 3px;
	margin-top: 20px;
	overflow: hidden;
}

#loading-bar {
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, #e92b5a, #ff89b2);
	border-radius: 3px;
	transition: width 0.6s ease;
}

.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 30px;
	background: var(--navbar-bg);
	backdrop-filter: blur(20px);
	box-shadow: 0 4px 30px rgba(0,0,0,0.4);
	z-index: 1000;
	border-bottom: 1px solid var(--border-color);
}

.navbar h1 {
	font-size: 1.8rem;
	font-weight: 600;
	color: #fff;
	letter-spacing: 0.5px;
}

.navbar-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.navbar-right a {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	color: #f5f5f5;
	text-decoration: none;
	font-size: 1.2rem;
	background: transparent;
	transition: all 0.25s ease;
	position: relative;
}

.navbar-right a:hover {
	background: rgba(233,43,90,0.15);
	color: var(--accent-hover);
	transform: translateY(-1px);
}

.navbar-right img {
	width: 24px;
	height: 24px;
	filter: brightness(0) invert(1);
	transition: all 0.25s ease;
}

.navbar-right a:hover img {
	filter: brightness(0) invert(0.7);
	transform: scale(1.1);
}

.index-page .content {
	margin-top: 120px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.index-page h1 {
	font-size: 3.5rem;
	font-weight: 700;
	color: #fff;
}

.index-page p {
	color: #b0b0b0;
	font-size: 1.2rem;
}

.index-page .search-bar {
	width: 400px;
	padding: 12px 20px;
	border-radius: 25px;
	background: #1b1b1b;
	border: 1px solid #2c2c2c;
	color: #fff;
	outline: none;
	text-align: center;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.index-page .search-bar:focus {
	border-color: var(--accent);
	box-shadow: var(--glow);
	transform: scale(1.02);
}

.game-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	justify-content: center;
	margin: 60px auto;
}

.game {
	position: relative;
	transition: transform 0.3s ease;
}

.game-thumbnail {
	width: 200px;
	height: 200px;
	border-radius: 18px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	border: 2px solid #1a1a1a;
}

.game-thumbnail:hover {
	transform: scale(1.08);
	box-shadow: 0 0 25px rgba(233,43,90,0.3);
	border-color: var(--accent);
}

#roddyrichhesbox {
	width: 90%;
	max-width: 1500px;
	margin: 150px auto;
	padding: 40px;
	border-radius: 20px;
	background: #111;
	box-shadow: 0 0 50px rgba(233,43,90,0.15);
	text-align: center;
}

.grid-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 25px;
	justify-items: center;
}

.featured-game img {
	width: 150px;
	height: 150px;
	border-radius: 15px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-game img:hover {
	transform: scale(1.1);
	box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

#featured {
	width: 90%;
	max-width: 1500px;
	margin: 120px auto;
	padding: 40px;
	border-radius: 18px;
	background: rgba(25,25,25,0.85);
	backdrop-filter: blur(12px);
	text-align: center;
	box-shadow: 0 0 30px rgba(0,0,0,0.4);
}

#featured h2 {
	font-size: 2.2rem;
	color: #fff;
	margin-bottom: 25px;
}

.featured-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	justify-content: center;
}

.search-input {
	width: 100%;
	padding: 16px 22px;
	border-radius: 25px;
	background: #171717;
	border: 1px solid #2b2b2b;
	color: #fff;
	outline: none;
	font-size: 1rem;
	text-align: center;
	transition: all 0.25s ease;
}

.search-input:focus {
	border-color: var(--accent);
	box-shadow: var(--glow);
}

::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-thumb {
	background: #2b2b2b;
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
	background: #3a3a3a;
}

::selection {
	background: var(--accent);
	color: #fff;
}
