:root {
	--bg: #0a0e1a;
	--bg-soft: #121a2b;
	--ink: #f2f4f8;
	--ink-dim: #bac4d9;
	--accent: #00e5b0;
	--accent-2: #ff7a18;
	--stroke: rgba(255, 255, 255, 0.12);
	--shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	font-family: "Space Grotesk", sans-serif;
	background:
		radial-gradient(circle at 20% 10%, rgba(0, 229, 176, 0.16), transparent 35%),
		radial-gradient(circle at 80% 20%, rgba(255, 122, 24, 0.14), transparent 32%),
		linear-gradient(165deg, #070b15 0%, #0a1020 40%, #080d18 100%);
	min-height: 100vh;
}

body.modal-open {
	overflow: hidden;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 44px 44px;
	pointer-events: none;
	z-index: -1;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(10px);
	background: rgba(6, 10, 18, 0.72);
	border-bottom: 1px solid var(--stroke);
}

.nav-bar {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0.9rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: "Bebas Neue", sans-serif;
	letter-spacing: 1.5px;
	font-size: 1.8rem;
	color: var(--ink);
	text-decoration: none;
}

.brand-logo {
	width: 42px;
	height: 42px;
	object-fit: contain;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 229, 176, 0.28);
}

.nav-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.35rem;
	align-items: center;
}

.nav-links a {
	text-decoration: none;
	color: var(--ink-dim);
	font-weight: 600;
	font-size: 0.96rem;
	padding: 0.55rem 0.8rem;
	border-radius: 999px;
	transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
	color: var(--ink);
	background: rgba(0, 229, 176, 0.16);
	transform: translateY(-1px);
}

.menu-toggle {
	display: none;
	border: 0;
	background: transparent;
	width: 44px;
	height: 38px;
	padding: 0;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	margin: 5px auto;
	background: var(--ink);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

main {
	max-width: 1140px;
	margin: 0 auto;
	padding: 1.5rem 1rem 4rem;
}

.section {
	margin-top: 2rem;
	padding: 2rem;
	border-radius: 22px;
	border: 1px solid var(--stroke);
	background: linear-gradient(150deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
	box-shadow: var(--shadow);
	animation: sectionReveal 0.7s ease both;
}

.hero {
	margin-top: 0.5rem;
}

.section-headline {
	max-width: 740px;
}

.eyebrow {
	margin: 0;
	font-family: "Bebas Neue", sans-serif;
	letter-spacing: 1.9px;
	color: var(--accent);
	font-size: 1rem;
}

h1,
h2,
h3 {
	margin-top: 0.4rem;
	margin-bottom: 0.65rem;
	line-height: 1.1;
}

h1,
h2 {
	font-family: "Bebas Neue", sans-serif;
	letter-spacing: 0.7px;
}

h1 {
	font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
	font-size: clamp(1.7rem, 3.6vw, 2.7rem);
}

p {
	color: var(--ink-dim);
	line-height: 1.65;
}

.image-grid,
.gallery-grid {
	margin-top: 1.2rem;
	display: grid;
	gap: 1rem;
}

.image-grid.two-col {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.image-grid img,
.gallery-grid img {
	width: 100%;
	display: block;
	border-radius: 16px;
	border: 1px solid var(--stroke);
	object-fit: cover;
	min-height: 230px;
}

.card-grid {
	margin-top: 1.2rem;
	display: grid;
	gap: 0.9rem;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.game-card {
	border: 1px solid var(--stroke);
	border-radius: 14px;
	padding: 1rem;
	background: linear-gradient(145deg, rgba(18, 26, 43, 0.8), rgba(12, 20, 35, 0.8));
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.game-card:hover {
	transform: translateY(-3px);
	border-color: rgba(0, 229, 176, 0.55);
}

.video-grid {
	margin-top: 1.2rem;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.video-card {
	border: 1px solid var(--stroke);
	border-radius: 16px;
	padding: 0.8rem;
	background: rgba(10, 16, 30, 0.88);
}

.video-card iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 12px;
}

.music-player-wrap {
	margin-top: 1.2rem;
	border: 1px solid var(--stroke);
	border-radius: 16px;
	padding: 1rem;
	background: rgba(10, 16, 30, 0.88);
}

#musicPlayer {
	width: 100%;
	accent-color: var(--accent);
}

.now-playing {
	margin-top: 0.9rem;
	margin-bottom: 0.8rem;
	font-weight: 700;
	color: var(--ink);
}

.music-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.55rem;
}

.music-item-btn {
	width: 100%;
	text-align: left;
	padding: 0.75rem 0.85rem;
	border-radius: 12px;
	border: 1px solid var(--stroke);
	background: linear-gradient(145deg, rgba(18, 26, 43, 0.8), rgba(12, 20, 35, 0.8));
	color: var(--ink);
	font: inherit;
	cursor: pointer;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.music-item-btn:hover {
	transform: translateY(-2px);
	border-color: rgba(0, 229, 176, 0.55);
}

.music-item-btn.active {
	border-color: rgba(0, 229, 176, 0.85);
	background: linear-gradient(145deg, rgba(0, 229, 176, 0.2), rgba(10, 16, 30, 0.9));
}

.gallery-grid {
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery-grid img {
	cursor: zoom-in;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid img:hover {
	transform: scale(1.03);
	box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4);
}

.image-modal {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background: rgba(2, 6, 12, 0.88);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
	z-index: 60;
}

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

.image-modal-content {
	width: min(960px, 100%);
	max-height: min(82vh, 880px);
	object-fit: contain;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
	background: #0b1220;
}

.image-modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	font-size: 1.7rem;
	line-height: 1;
	color: #fff;
	background: rgba(10, 16, 30, 0.8);
	cursor: pointer;
}

.back-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	border: 0;
	border-radius: 999px;
	padding: 0.65rem 1rem;
	font-weight: 700;
	cursor: pointer;
	color: #061220;
	background: linear-gradient(120deg, var(--accent), #37ffd5);
	box-shadow: 0 10px 30px rgba(0, 229, 176, 0.35);
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-top.show {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.site-footer {
	text-align: center;
	padding: 2rem 1rem 2.4rem;
}

@keyframes sectionReveal {
	from {
		opacity: 0;
		transform: translateY(15px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 850px) {
	.menu-toggle {
		display: block;
	}

	.nav-links {
		position: absolute;
		top: 64px;
		right: 1rem;
		left: 1rem;
		flex-direction: column;
		padding: 0.7rem;
		border-radius: 14px;
		border: 1px solid var(--stroke);
		background: rgba(7, 11, 21, 0.95);
		transform: scaleY(0);
		transform-origin: top;
		opacity: 0;
		pointer-events: none;
		transition: transform 0.25s ease, opacity 0.25s ease;
	}

	.nav-links.open {
		transform: scaleY(1);
		opacity: 1;
		pointer-events: auto;
	}

	.nav-links a {
		display: block;
		width: 100%;
	}

	.section {
		padding: 1.4rem;
	}

	.image-grid.two-col {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	main {
		padding: 1rem 0.7rem 3.5rem;
	}

	.section {
		border-radius: 16px;
	}
}
