*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--bg: #1a0e3e;
	--bg-deep: #120a30;
	--bg-panel: #150c35;
	--bg-card: #1f1250;
	--bg-bar: #0f0926;
	--gold: #f5a623;
	--gold-hover: #ffb83a;
	--gold-dim: rgba(245, 166, 35, 0.1);
	--gold-glow: rgba(245, 166, 35, 0.2);
	--violet: #7c3aed;
	--violet-bright: #9b5de5;
	--violet-dim: rgba(124, 58, 237, 0.15);
	--white: #eae7f2;
	--muted: #9590b8;
	--dim: #5e587a;
	--edge: rgba(255, 255, 255, 0.06);
	--edge-lt: rgba(255, 255, 255, 0.1);
	--font: 'Inter', sans-serif;
	--panel-w: 180px;
	--bar-h: 56px;
	--rnd: 12px;
	--rnd-sm: 8px;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--white);
	min-height: 100vh;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: inherit;
}

ul,
ol {
	list-style: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* ── CTA Buttons ── */

.cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	font-family: var(--font);
	font-size: 13px;
	font-weight: 700;
	border-radius: var(--rnd-sm);
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
	border: none;
	letter-spacing: 0.3px;
}

.cta-primary {
	background: linear-gradient(135deg, #ffb83a 0%, #f5a623 50%, #e6951a 100%);
	color: #1a0e3e;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.25),
		0 3px 14px rgba(245, 166, 35, 0.3);
}

.cta-primary:hover {
	transform: translateY(-1px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.25),
		0 6px 22px rgba(245, 166, 35, 0.45);
}

.cta-ghost {
	background: transparent;
	color: var(--white);
	border: 1.5px solid var(--edge-lt);
}

.cta-ghost:hover {
	border-color: var(--gold);
	color: var(--gold);
}

.cta-violet {
	background: linear-gradient(135deg, #9b5de5 0%, #7c3aed 50%, #6d28d9 100%);
	color: #fff;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.2),
		0 3px 14px rgba(124, 58, 237, 0.35);
}

.cta-violet:hover {
	transform: translateY(-1px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.2),
		0 6px 22px rgba(124, 58, 237, 0.5);
}

.cta-sm {
	padding: 8px 16px;
	font-size: 12px;
}

.cta-full {
	width: 100%;
	justify-content: center;
}

.cta:active {
	transform: translateY(0);
}

/* ── Shade Overlay ── */

.shade-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(10, 6, 24, 0.75);
	z-index: 1100;
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.3s;
}

.shade-overlay.is-open {
	display: block;
	opacity: 1;
}

/* ── Sheet Menu (Drawer - slides from right) ── */

.sheet-menu {
	position: fixed;
	top: 0;
	right: -320px;
	width: 300px;
	height: 100%;
	background: linear-gradient(180deg, #1e1050 0%, #150c38 100%);
	z-index: 1200;
	display: none;
	flex-direction: column;
	transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
	overflow-y: auto;
	box-shadow: -6px 0 30px rgba(0, 0, 0, 0.5);
}

.sheet-menu.is-open {
	right: 0;
}

.sheet-menu-close {
	position: absolute;
	top: 14px;
	left: 14px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--edge-lt);
	border-radius: 50%;
	cursor: pointer;
	z-index: 2;
	transition: all 0.2s;
}

.sheet-menu-close:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--gold);
}

.sheet-menu-search {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 60px 16px 0;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--edge-lt);
	border-radius: var(--rnd);
	color: var(--muted);
}

.sheet-menu-search input {
	background: none;
	border: none;
	outline: none;
	font-family: var(--font);
	font-size: 14px;
	color: var(--white);
	width: 100%;
}

.sheet-menu-search input::placeholder {
	color: var(--dim);
}

.sheet-menu-auth {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px 0;
}

.sheet-menu-nav ul {
	display: flex;
	flex-direction: column;
	padding: 16px 12px;
	gap: 2px;
}

.sheet-menu-nav ul li a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 15px 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--muted);
	border-bottom: 1px solid var(--edge);
	transition: all 0.2s;
}

.sheet-menu-nav ul li a svg {
	flex-shrink: 0;
	color: var(--dim);
	transition: color 0.2s;
}

.sheet-menu-nav ul li a:hover {
	color: var(--white);
	background: rgba(255, 255, 255, 0.04);
}

.sheet-menu-nav ul li a:hover svg {
	color: var(--gold);
}

.sheet-menu-nav ul li a[aria-current="page"] {
	color: var(--gold);
	background: var(--gold-dim);
}

.sheet-menu-nav ul li a[aria-current="page"] svg {
	color: var(--gold);
}

/* ── Top Bar (Header) ── */

.top-bar {
	background: var(--bg-bar);
	border-bottom: 1px solid var(--edge);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.top-bar-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 0 20px;
	height: var(--bar-h);
}

.top-bar-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.top-bar-logo-text {
	font-size: 18px;
	font-weight: 900;
	color: var(--white);
	letter-spacing: 1.5px;
}

.top-bar-clock,
.top-bar-clock-m {
	font-size: 11px;
	font-weight: 600;
	color: var(--dim);
	font-variant-numeric: tabular-nums;
}

.top-bar-search {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--edge-lt);
	border-radius: 50px;
	padding: 8px 18px;
	flex: 1;
	max-width: 340px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.top-bar-search:focus-within {
	border-color: var(--violet);
	box-shadow: 0 0 0 2px var(--violet-dim);
}

.top-bar-search svg {
	color: var(--dim);
	flex-shrink: 0;
}

.top-bar-search input {
	background: none;
	border: none;
	outline: none;
	font-family: var(--font);
	font-size: 13px;
	color: var(--white);
	width: 100%;
}

.top-bar-search input::placeholder {
	color: var(--dim);
}

.top-bar-actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
	margin-left: auto;
}

.top-bar-mobile {
	display: none;
}

/* ── Cosmo Layout ── */

.cosmo-layout {
	display: flex;
	min-height: calc(100vh - var(--bar-h));
}

/* ── Panel Nav (Sidebar) ── */

.panel-nav {
	width: var(--panel-w);
	flex-shrink: 0;
	background: var(--bg-panel);
	border-right: 1px solid var(--edge);
	padding: 12px 0;
	position: sticky;
	top: var(--bar-h);
	height: calc(100vh - var(--bar-h));
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--edge-lt) transparent;
}

.panel-nav ul {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 0 8px;
}

.panel-nav ul li {
	display: contents;
}

.panel-nav ul li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--rnd-sm);
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
	transition: all 0.2s;
}

.panel-nav ul li a svg {
	flex-shrink: 0;
	color: var(--dim);
	transition: color 0.2s;
}

.panel-nav ul li a:hover {
	color: var(--white);
	background: rgba(255, 255, 255, 0.04);
}

.panel-nav ul li a:hover svg {
	color: var(--gold);
}

.panel-nav ul li a[aria-current="page"],
.panel-link-on {
	color: var(--gold);
	background: var(--gold-dim);
}

.panel-nav ul li a[aria-current="page"] svg,
.panel-link-on svg {
	color: var(--gold);
}

/* ── Cosmo Main ── */

.cosmo-main {
	flex: 1;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 22px;
	min-width: 0;
}

/* ── Hero Slider ── */

.cosmo-hero {
	position: relative;
	border-radius: var(--rnd);
	overflow: hidden;
}

.cosmo-hero-track {
	display: flex;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cosmo-hero-slide {
	flex-shrink: 0;
	width: 100%;
	aspect-ratio: 3 / 1;
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
}

.cosmo-hero-slide::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(26, 14, 62, 0.85) 0%, rgba(26, 14, 62, 0.3) 50%, transparent 100%);
	z-index: 1;
	pointer-events: none;
}

.cosmo-hero-slide-1 {
	background-color: #1f1250;
}

.cosmo-hero-slide-2 {
	background-image: url('/assets/img/slide-2.webp');
	background-color: #251560;
}

.cosmo-hero-slide-3 {
	background-image: url('/assets/img/slide-3.webp');
	background-color: #1a1050;
}

.cosmo-hero-overlay {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	z-index: 2;
	padding: 0 40px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.cosmo-hero-label {
	font-size: 12px;
	font-weight: 700;
	color: var(--gold);
	letter-spacing: 2px;
	text-transform: uppercase;
}

.cosmo-hero-title {
	font-size: 28px;
	font-weight: 900;
	color: var(--white);
	line-height: 1.2;
}

.cosmo-hero-title em {
	font-style: normal;
	color: var(--gold);
}

.cosmo-hero-cta {
	display: inline-block;
	padding: 12px 32px;
	border-radius: var(--rnd-sm);
	background: linear-gradient(135deg, #9b5de5 0%, #7c3aed 50%, #6d28d9 100%);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	margin-top: 4px;
	box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
	transition: box-shadow 0.2s, transform 0.2s;
}

.cosmo-hero-slide:hover .cosmo-hero-cta {
	transform: translateY(-1px);
	box-shadow: 0 6px 24px rgba(124, 58, 237, 0.55);
}

.cosmo-hero-dots {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
	z-index: 3;
}

.cosmo-hero-dot {
	width: 24px;
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.25);
	cursor: pointer;
	transition: all 0.25s;
	border: none;
}

.cosmo-hero-dot.is-on {
	background: var(--gold);
	width: 36px;
}

/* ── Filter Bar ── */

.filter-bar {
	display: flex;
	align-items: center;
	gap: 8px;
}

.filter-bar-search {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--violet);
	border-radius: 50%;
	color: #fff;
	flex-shrink: 0;
}

.filter-bar-scroll {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	flex: 1;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	cursor: grab;
	user-select: none;
}

.filter-bar-scroll::-webkit-scrollbar {
	display: none;
}

.filter-pill {
	display: inline-flex;
	align-items: center;
	padding: 9px 18px;
	border-radius: var(--rnd-sm);
	background: rgba(124, 58, 237, 0.15);
	border: 1px solid rgba(124, 58, 237, 0.25);
	font-family: var(--font);
	font-size: 12px;
	font-weight: 600;
	color: var(--muted);
	white-space: nowrap;
	flex-shrink: 0;
	transition: all 0.2s;
	scroll-snap-align: start;
}

.filter-pill:hover {
	background: rgba(124, 58, 237, 0.25);
	border-color: var(--violet);
	color: var(--white);
}

.filter-pill-on {
	background: var(--violet);
	border-color: var(--violet);
	color: #fff;
}

/* ── Game Shelf ── */

.game-shelf {
	display: flex;
	flex-direction: column;
	gap: 14px;
	content-visibility: auto;
	contain-intrinsic-size: auto 600px;
}

.game-shelf-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}

.game-shelf-label {
	font-size: 20px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.game-shelf-more {
	font-size: 13px;
	font-weight: 600;
	color: var(--violet-bright);
	font-style: italic;
	transition: color 0.2s;
}

.game-shelf-more:hover {
	color: var(--gold);
}

.game-shelf-grid {
	display: grid;
	grid-template-rows: repeat(2, 1fr);
	grid-auto-flow: column;
	grid-auto-columns: 150px;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--violet-dim) transparent;
	padding-bottom: 6px;
}

.game-shelf-grid::-webkit-scrollbar {
	height: 4px;
}

.game-shelf-grid::-webkit-scrollbar-track {
	background: transparent;
}

.game-shelf-grid::-webkit-scrollbar-thumb {
	background: rgba(124, 58, 237, 0.3);
	border-radius: 2px;
}

.game-tile {
	display: flex;
	flex-direction: column;
	border-radius: var(--rnd);
	overflow: hidden;
	background: var(--bg-card);
	cursor: pointer;
	transition: transform 0.2s;
	scroll-snap-align: start;
}

.game-tile:hover {
	transform: translateY(-4px);
}

.game-tile-thumb {
	position: relative;
	overflow: hidden;
}

.game-tile-thumb img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	background: var(--bg-deep);
	transition: transform 0.3s;
}

.game-tile:hover .game-tile-thumb img {
	transform: scale(1.06);
}

.game-tile-hover {
	position: absolute;
	inset: 0;
	background: rgba(26, 14, 62, 0.75);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	opacity: 0;
	transition: opacity 0.25s;
}

.game-tile:hover .game-tile-hover {
	opacity: 1;
}

.game-tile-play {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80%;
	padding: 10px;
	border-radius: var(--rnd-sm);
	background: linear-gradient(135deg, #ffb83a 0%, #f5a623 50%, #e6951a 100%);
	color: #1a0e3e;
	font-family: var(--font);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
	transform: translateY(6px);
	transition: transform 0.25s;
}

.game-tile:hover .game-tile-play {
	transform: translateY(0);
}

.game-tile-demo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80%;
	padding: 8px;
	border-radius: var(--rnd-sm);
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--white);
	font-family: var(--font);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	transform: translateY(6px);
	transition: transform 0.25s, border-color 0.2s;
}

.game-tile:hover .game-tile-demo {
	transform: translateY(0);
}

.game-tile-demo:hover {
	border-color: var(--gold);
	color: var(--gold);
}

.game-tile-name {
	display: block;
	padding: 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--muted);
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ── Text Block (Content) ── */

.text-block {
	width: 100%;
	color: var(--muted);
	line-height: 1.7;
	font-size: 15px;
	content-visibility: auto;
	contain-intrinsic-size: auto 900px;
}

.text-block h1 {
	font-size: 26px;
	font-weight: 800;
	color: var(--white);
	line-height: 1.2;
	margin-bottom: 18px;
}

.text-block h2 {
	font-size: 21px;
	font-weight: 700;
	color: var(--white);
	margin-top: 28px;
	margin-bottom: 12px;
}

.text-block h3 {
	font-size: 17px;
	font-weight: 700;
	color: var(--white);
	margin-top: 22px;
	margin-bottom: 10px;
}

.text-block p {
	margin-bottom: 14px;
}

.text-block img {
	display: block;
	max-width: 100%;
	margin: 0 auto 18px;
	border-radius: var(--rnd);
	border: 1px solid var(--edge-lt);
}

.text-block blockquote {
	border-left: 3px solid var(--gold);
	padding: 12px 20px;
	margin: 18px 0;
	background: var(--gold-dim);
	border-radius: 0 var(--rnd-sm) var(--rnd-sm) 0;
	font-style: italic;
}

.text-block table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0;
}

.text-block th,
.text-block td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--edge);
	font-size: 14px;
}

.text-block th {
	font-weight: 700;
	color: var(--white);
	background: var(--violet-dim);
}

.text-block tbody tr:hover {
	background: rgba(124, 58, 237, 0.04);
}

.text-block ul {
	margin: 14px 0;
	padding-left: 22px;
	list-style: disc;
}

.text-block ul li {
	margin-bottom: 6px;
}

.text-block ol {
	margin: 14px 0;
	padding-left: 22px;
	list-style: decimal;
}

.text-block ol li {
	margin-bottom: 6px;
}

/* ── Footer ── */

.cosmo-footer {
	background: linear-gradient(180deg, #0f0926 0%, #0a0618 100%);
	border-top: 1px solid var(--edge-lt);
	padding: 36px 20px 22px;
	content-visibility: auto;
	contain-intrinsic-size: auto 400px;
}

.cosmo-footer-inner {
	max-width: 1100px;
	margin: 0 auto;
}

.cosmo-footer-brand {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 28px;
}

.cosmo-footer-logo {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cosmo-footer-logo span {
	font-size: 16px;
	font-weight: 900;
	color: var(--white);
	letter-spacing: 1.5px;
}

.cosmo-footer-tagline {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.5;
}

.cosmo-footer-cols {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--edge);
}

.cosmo-footer-col strong {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 12px;
}

.cosmo-footer-col ul {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.cosmo-footer-col ul li a {
	font-size: 12px;
	color: var(--muted);
	transition: color 0.2s;
}

.cosmo-footer-col ul li a:hover {
	color: var(--gold);
}

.cosmo-footer-apps {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-top: 24px;
	margin-top: 24px;
	border-top: 1px solid var(--edge);
}

.cosmo-footer-apps-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
	flex-shrink: 0;
}

.cosmo-footer-apps-row {
	display: flex;
	gap: 10px;
}

.cosmo-app-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: var(--rnd-sm);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--edge-lt);
	transition: all 0.2s;
}

.cosmo-app-badge:hover {
	border-color: var(--gold);
	background: var(--gold-dim);
}

.cosmo-app-badge div {
	display: flex;
	flex-direction: column;
}

.cosmo-app-badge div span {
	font-size: 9px;
	color: var(--muted);
	line-height: 1.2;
}

.cosmo-app-badge div strong {
	font-size: 13px;
	font-weight: 700;
	color: var(--white);
	line-height: 1.2;
}

.cosmo-footer-legal {
	max-width: 1100px;
	margin: 0 auto;
	text-align: center;
	padding-top: 20px;
}

.cosmo-footer-legal p {
	font-size: 10px;
	color: var(--muted);
	line-height: 1.7;
	margin-bottom: 6px;
}

.cosmo-footer-legal p:last-child {
	margin-bottom: 0;
	font-weight: 600;
	color: var(--white);
}

/* ── Tab Bar (Bottom Nav) ── */

.tab-bar {
	display: none;
}

/* ── Responsive 1024 ── */

@media (max-width: 1024px) {
	.panel-nav {
		width: 160px;
	}

	.panel-link {
		font-size: 12px;
		padding: 9px 10px;
	}

	.top-bar-search {
		max-width: 260px;
	}

	.cosmo-hero-title {
		font-size: 24px;
	}

	.game-shelf-grid {
		grid-auto-columns: 135px;
	}
}

/* ── Responsive 768 ── */

@media (max-width: 768px) {
	.panel-nav {
		display: none;
	}

	.top-bar-search {
		display: none;
	}

	.top-bar-actions {
		display: none;
	}

	.top-bar-logo {
		display: none;
	}

	.sheet-menu {
		display: flex;
	}

	.top-bar-mobile {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}

	.top-bar-mobile-logo {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.top-bar-mobile-logo svg {
		width: 32px;
		height: 32px;
	}

	.top-bar-mobile-btns {
		display: flex;
		gap: 8px;
	}

	.top-bar-mobile-btns .cta-sm {
		padding: 10px 20px;
		font-size: 13px;
	}

	.top-bar-inner {
		padding: 0 14px;
		height: 58px;
	}

	.cosmo-layout {
		flex-direction: column;
	}

	.cosmo-main {
		padding: 14px 12px 80px;
		gap: 16px;
	}

	.tab-bar {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background: linear-gradient(180deg, #1e1050 0%, #150c38 100%);
		border-top: 1px solid var(--edge-lt);
		z-index: 900;
		box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
		padding-bottom: env(safe-area-inset-bottom, 0);
	}

	.tab-bar ul {
		display: flex;
		justify-content: space-around;
		align-items: center;
		height: 58px;
		padding: 0 6px;
	}

	.tab-bar ul li {
		flex: 1;
		display: flex;
		justify-content: center;
	}

	.tab-bar ul li a {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 3px;
		font-size: 10px;
		font-weight: 600;
		color: var(--muted);
		transition: color 0.2s;
		padding: 6px 0 4px;
	}

	.tab-bar ul li a svg {
		flex-shrink: 0;
	}

	.tab-bar ul li a:hover {
		color: var(--gold);
	}

	.tab-bar-on {
		color: var(--gold) !important;
	}

	.tab-bar-on svg {
		color: var(--gold);
	}

	body {
		padding-bottom: 58px;
	}

	.cosmo-hero-slide {
		aspect-ratio: 2.5 / 1;
	}

	.cosmo-hero-overlay {
		padding: 0 24px;
	}

	.cosmo-hero-title {
		font-size: 20px;
	}

	.cosmo-hero-label {
		font-size: 10px;
	}

	.cosmo-hero-cta {
		padding: 10px 24px;
		font-size: 12px;
	}

	.game-shelf-grid {
		grid-auto-columns: 120px;
		gap: 10px;
	}

	.game-shelf-label {
		font-size: 17px;
	}

	.filter-bar-search {
		width: 36px;
		height: 36px;
	}

	.filter-pill {
		padding: 8px 14px;
		font-size: 11px;
	}

	.text-block h1 {
		font-size: 22px;
	}

	.text-block table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.cosmo-footer {
		padding: 28px 14px 20px;
	}

	.cosmo-footer-cols {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		text-align: center;
	}

	.cosmo-footer-col ul {
		align-items: center;
	}

	.cosmo-footer-brand {
		align-items: center;
		text-align: center;
	}

	.cosmo-footer-apps {
		flex-direction: column;
		gap: 12px;
	}

	.cosmo-footer-apps-row {
		width: 100%;
		justify-content: center;
	}
}

/* ── Responsive 480 ── */

@media (max-width: 480px) {
	.top-bar-inner {
		padding: 0 10px;
		height: 54px;
	}

	.cta-sm {
		padding: 8px 16px;
		font-size: 12px;
	}

	.top-bar-mobile-logo svg {
		width: 28px;
		height: 28px;
	}

	.cosmo-hero-slide {
		aspect-ratio: 2 / 1;
	}

	.cosmo-hero-title {
		font-size: 17px;
	}

	.cosmo-hero-cta {
		padding: 8px 20px;
		font-size: 11px;
	}

	.cosmo-hero-overlay {
		padding: 0 16px;
		gap: 6px;
	}

	.game-shelf-grid {
		grid-auto-columns: 105px;
		gap: 8px;
	}

	.game-tile-name {
		font-size: 10px;
		padding: 8px 4px;
	}

	.game-tile-play {
		padding: 8px;
		font-size: 10px;
	}

	.game-tile-demo {
		padding: 6px;
		font-size: 9px;
	}

	.text-block h1 {
		font-size: 20px;
	}

	.cosmo-footer-cols {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.cosmo-footer-apps-row {
		flex-direction: column;
	}

	.cosmo-app-badge {
		justify-content: center;
	}
}

.cosmo-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}