:root {
	--bg-main: #080b15;
	--bg-panel: #111526;
	--bg-soft: #171c32;
	--bg-card: #121832;
	--text-main: #f7f8ff;
	--text-muted: #98a0bd;
	--line: rgba(255, 255, 255, 0.08);
	--accent: #ff3b30;
	--accent-2: #00d4c4;
	--radius-lg: 18px;
	--radius-md: 12px;
	--radius-sm: 9px;
	--shadow: 0 18px 30px rgba(0, 0, 0, 0.38);
}

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

body {
	font-family: "Sora", sans-serif;
	background:
		radial-gradient(1400px 700px at 100% -5%, rgba(255, 59, 48, 0.15), transparent 70%),
		radial-gradient(900px 500px at -20% 100%, rgba(0, 212, 196, 0.12), transparent 70%),
		var(--bg-main);
	color: var(--text-main);
	min-height: 100vh;
}

.page-shell {
	display: grid;
	grid-template-columns: 270px 1fr;
	min-height: 100vh;
}

.sidebar {
	position: sticky;
	top: 0;
	height: 100vh;
	padding: 22px 16px;
	border-right: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(15, 19, 35, 0.95), rgba(10, 12, 22, 0.95));
}

.logo-box {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 24px;
}

.logo-mark {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--accent), #ff914d);
	display: grid;
	place-items: center;
	font-family: "Rajdhani", sans-serif;
	font-weight: 700;
	letter-spacing: 1px;
}

.logo-box h1,
.brand-name {
	font-family: "Rajdhani", sans-serif;
	letter-spacing: 0.4px;
}

.logo-box h1 {
	font-size: 1.15rem;
}

.logo-box p {
	font-size: 0.78rem;
	color: var(--text-muted);
}

.menu-title {
	color: var(--text-muted);
	font-size: 0.82rem;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.9px;
}

.category-list {
	display: grid;
	gap: 9px;
}

.category-btn {
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	padding: 11px 12px;
	text-align: left;
	background: transparent;
	color: var(--text-main);
	font: inherit;
	cursor: pointer;
	transition: 0.2s ease;
}

.category-btn:hover {
	background: rgba(255, 255, 255, 0.06);
}

.category-btn.active {
	border-color: rgba(255, 59, 48, 0.55);
	background: linear-gradient(90deg, rgba(255, 59, 48, 0.2), transparent);
}

.content {
	padding: 20px;
}

.topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.brand-inline {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	text-decoration: none;
	color: var(--text-main);
}

.brand-mark {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--accent), #ff914d);
	display: grid;
	place-items: center;
	font-family: "Rajdhani", sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
}

.brand-name {
	font-size: 1.2rem;
	font-weight: 700;
}

.search-wrap {
	flex: 1;
	max-width: 620px;
}

.search-wrap input {
	width: 100%;
	background: var(--bg-panel);
	color: var(--text-main);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 12px 16px;
	font: inherit;
}

.search-wrap input:focus {
	outline: none;
	border-color: rgba(255, 59, 48, 0.7);
}

.hero {
	position: relative;
	min-height: 330px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	padding: 24px;
	display: flex;
	align-items: end;
	background-size: cover;
	background-position: center;
	box-shadow: var(--shadow);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(4, 5, 11, 0.92) 20%, rgba(4, 5, 11, 0.2) 100%);
}

.hero-content {
	position: relative;
	max-width: 560px;
	animation: riseIn 0.5s ease-out;
}

.hero-tag {
	font-size: 0.84rem;
	color: #ffd7d2;
	margin-bottom: 8px;
	letter-spacing: 0.7px;
}

.hero h2 {
	font-family: "Rajdhani", sans-serif;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	line-height: 1.1;
	margin-bottom: 8px;
}

.hero-meta {
	color: var(--text-muted);
	margin-bottom: 8px;
}

.hero-price {
	margin-bottom: 16px;
	color: #fff;
	font-weight: 700;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	padding: 10px 18px;
	text-decoration: none;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
	transform: translateY(-1px);
	filter: brightness(1.06);
}

.btn-primary {
	background: linear-gradient(135deg, var(--accent), #ff764d);
	color: #fff;
}

.btn-secondary {
	background: linear-gradient(135deg, var(--accent-2), #00a99f);
	color: #001514;
}

.games-section {
	margin-top: 24px;
}

.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}

.section-head h3 {
	font-family: "Rajdhani", sans-serif;
	font-size: 1.5rem;
}

.section-head p {
	color: var(--text-muted);
	font-size: 0.85rem;
}

.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 14px;
}

.game-card {
	background: linear-gradient(170deg, rgba(27, 35, 67, 0.9), rgba(17, 21, 38, 0.96));
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	overflow: hidden;
	display: grid;
	grid-template-rows: 150px auto;
	min-height: 300px;
	animation: riseIn 0.45s ease-out;
}

.card-image {
	background-size: cover;
	background-position: center;
}

.card-body {
	padding: 12px;
	display: grid;
	gap: 8px;
}

.card-body h4 {
	font-size: 0.93rem;
	line-height: 1.35;
	min-height: 2.4em;
}

.card-meta {
	display: flex;
	justify-content: space-between;
	font-size: 0.78rem;
	color: var(--text-muted);
}

.price {
	font-weight: 700;
	color: #fdf4f2;
}

.card-btn {
	width: 100%;
	font-size: 0.84rem;
	padding: 8px 12px;
}

.share-actions {
	display: grid;
	grid-template-columns: repeat(2, 38px);
	justify-content: end;
	gap: 8px;
}

.share-btn {
	width: 38px;
	height: 36px;
	padding: 0;
	border-radius: 10px;
	display: grid;
	place-items: center;
}

.share-btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.share-instagram {
	color: #fff;
	background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af);
}

.share-whatsapp {
	color: #fff;
	background: linear-gradient(135deg, #22c55e, #0b8f44);
}

.empty-state {
	border: 1px dashed var(--line);
	border-radius: var(--radius-md);
	padding: 20px;
	text-align: center;
	color: var(--text-muted);
}

.footer {
	margin-top: 36px;
	border-top: 1px solid var(--line);
	padding: 28px 0 12px;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr 1fr;
	gap: 20px;
}

.footer-col h4 {
	margin-bottom: 12px;
	font-family: "Rajdhani", sans-serif;
	font-size: 1.08rem;
}

.contact-form {
	display: grid;
	gap: 10px;
}

.contact-form input,
.contact-form textarea {
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--bg-soft);
	color: var(--text-main);
	padding: 10px 12px;
	font: inherit;
}

.social-list {
	list-style: none;
	display: grid;
	gap: 9px;
}

.social-list a {
	color: #d7e2ff;
	text-decoration: none;
}

.social-list a:hover {
	color: var(--accent-2);
}

.footer-col p {
	color: var(--text-muted);
	margin-bottom: 8px;
	font-size: 0.9rem;
}

@keyframes riseIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (min-width: 1400px) {
	.games-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (max-width: 1080px) {
	.page-shell {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: static;
		height: auto;
		border-right: none;
		border-bottom: 1px solid var(--line);
	}

	.category-list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

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

@media (max-width: 760px) {
	.content {
		padding: 14px;
	}

	.topbar {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.brand-inline {
		justify-content: center;
	}

	.sidebar {
		padding: 16px 12px;
	}

	.category-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero {
		min-height: 280px;
		padding: 16px;
	}

	.games-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.footer {
		grid-template-columns: 1fr;
	}
}
