/* ==========================================================================
   SezonCraft — "Dört Mevsim" theme for LeaderOS Headless
   One night-sky base, four season palettes (html[data-season]).
   Layer order: tabler.min.css → extra.css → extra_black.css → this file.
   NOTE: #powered_by_leaderos is a license element: never targeted here.
   ========================================================================== */

/* ---------- 1. Season tokens ---------- */
:root,
html[data-season='kis'] {
	--sc-accent: #7dd3fc;
	--sc-accent-rgb: 125, 211, 252;
	--sc-accent-2: #a5b4fc;
	--sc-accent-strong: #0ea5e9;
	--sc-on-accent: #04121c;
	--sc-glow: rgba(56, 189, 248, 0.22);
	--sc-block-top: #eef6ff;
	--sc-block-top-2: #d6e8fa;
	--sc-dirt: #6d4f3b;
	--sc-dirt-2: #5a412f;
	--sc-leaves: #e3f1f8;
	--sc-leaves-2: #b9d7c4;
}
html[data-season='ilkbahar'] {
	--sc-accent: #4ade80;
	--sc-accent-rgb: 74, 222, 128;
	--sc-accent-2: #f9a8d4;
	--sc-accent-strong: #16a34a;
	--sc-on-accent: #04170b;
	--sc-glow: rgba(74, 222, 128, 0.2);
	--sc-block-top: #62c554;
	--sc-block-top-2: #4fae43;
	--sc-dirt: #7a5537;
	--sc-dirt-2: #66462c;
	--sc-leaves: #f9a8d4;
	--sc-leaves-2: #ec7fb8;
}
html[data-season='yaz'] {
	--sc-accent: #fbbf24;
	--sc-accent-rgb: 251, 191, 36;
	--sc-accent-2: #fb923c;
	--sc-accent-strong: #d97706;
	--sc-on-accent: #1c1202;
	--sc-glow: rgba(251, 191, 36, 0.2);
	--sc-block-top: #86d03c;
	--sc-block-top-2: #72b930;
	--sc-dirt: #8a6239;
	--sc-dirt-2: #74512e;
	--sc-leaves: #3fae49;
	--sc-leaves-2: #2f8f3a;
}
html[data-season='sonbahar'] {
	--sc-accent: #fb923c;
	--sc-accent-rgb: 251, 146, 60;
	--sc-accent-2: #f43f5e;
	--sc-accent-strong: #ea580c;
	--sc-on-accent: #1c0b02;
	--sc-glow: rgba(249, 115, 22, 0.22);
	--sc-block-top: #c9862f;
	--sc-block-top-2: #b37228;
	--sc-dirt: #6f4a31;
	--sc-dirt-2: #5c3d28;
	--sc-leaves: #e8741f;
	--sc-leaves-2: #c2410c;
}

:root {
	--sc-bg: #070a12;
	--sc-bg-2: #0b1020;
	--sc-surface: #0f1526;
	--sc-surface-2: #141b30;
	--sc-surface-3: #1a2340;
	--sc-line: rgba(148, 163, 255, 0.1);
	--sc-line-strong: rgba(148, 163, 255, 0.18);
	--sc-text: #e6e9f2;
	--sc-muted: #8d95ad;
	--sc-radius: 14px;
	--sc-radius-sm: 10px;
	--sc-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--sc-display: 'Bricolage Grotesque', 'Inter', sans-serif;
	--sc-pixel: 'Pixelify Sans', 'Inter', monospace;
	--sc-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	/* pixel-notched corners (Minecraft UI feel) */
	--sc-notch: polygon(0 6px, 6px 6px, 6px 0, calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px));
}

/* ---------- 2. Tabler / flat retheme (affects every page) ---------- */
[data-bs-theme='dark'],
html[data-bs-theme='dark'] body {
	--tblr-primary: var(--sc-accent);
	--tblr-primary-rgb: var(--sc-accent-rgb);
	--tblr-primary-fg: var(--sc-on-accent);
	--tblr-primary-text-emphasis: var(--sc-accent);
	--tblr-primary-lt: rgba(var(--sc-accent-rgb), 0.12);
	--tblr-primary-lt-rgb: var(--sc-accent-rgb);
	--tblr-body-bg: var(--sc-bg);
	--tblr-body-bg-rgb: 7, 10, 18;
	--tblr-body-color: #b9c0d4;
	--tblr-heading-color: #fff;
	--tblr-muted: var(--sc-muted);
	--tblr-secondary: var(--sc-muted);
	--tblr-secondary-color: var(--sc-muted);
	--tblr-bg-surface: var(--sc-surface);
	--tblr-bg-surface-secondary: var(--sc-surface-2);
	--tblr-bg-surface-tertiary: var(--sc-bg-2);
	--tblr-bg-forms: var(--sc-bg-2);
	--tblr-active-bg: var(--sc-surface-3);
	--tblr-border-color: var(--sc-line);
	--tblr-border-color-translucent: var(--sc-line);
	--tblr-border-dark-color: var(--sc-line-strong);
	--tblr-link-color: var(--sc-accent);
	--tblr-link-color-rgb: var(--sc-accent-rgb);
	--tblr-link-hover-color: #fff;
	--tblr-font-sans-serif: var(--sc-font);
	--tblr-body-font-family: var(--sc-font);
	--tblr-border-radius: var(--sc-radius-sm);
	--tblr-card-border-radius: var(--sc-radius);
}

html {
	background: var(--sc-bg);
	scroll-padding-top: 90px;
}
/* clip (not hidden) keeps the sticky header working while stopping 3D/glow layers from widening the page */
html,
body {
	overflow-x: clip;
}
body {
	font-family: var(--sc-font) !important;
	background:
		radial-gradient(1200px 600px at 85% -10%, var(--sc-glow), transparent 60%),
		radial-gradient(900px 500px at -10% 30%, rgba(99, 102, 241, 0.08), transparent 60%),
		var(--sc-bg) !important;
	background-attachment: fixed !important;
	color: var(--tblr-body-color);
	transition: background 0.6s var(--sc-ease);
}
::selection {
	background: rgba(var(--sc-accent-rgb), 0.35);
	color: #fff;
}
h1, h2, h3, .h1, .h2, .h3, .page-title {
	font-family: var(--sc-display);
	letter-spacing: -0.01em;
}
a {
	transition: color 0.2s;
}
:focus-visible {
	outline: 2px solid var(--sc-accent) !important;
	outline-offset: 2px;
}

/* page shell from flat */
.page {
	background: transparent !important;
}
.page-wrapper {
	min-height: 60vh;
}
.section {
	padding-top: 2.5rem !important;
	padding-bottom: 3rem !important;
}

/* cards */
.card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%), var(--sc-surface) !important;
	border: 1px solid var(--sc-line) !important;
	border-radius: var(--sc-radius) !important;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 30px -18px rgba(0, 0, 0, 0.6) !important;
	overflow: hidden;
}
.card-header {
	background: transparent !important;
	border-bottom: 1px solid var(--sc-line) !important;
}
.card-title {
	font-family: var(--sc-display);
	color: #fff;
}
a.card,
.card-hover {
	transition: transform 0.3s var(--sc-ease), border-color 0.3s, box-shadow 0.3s !important;
}
a.card:hover,
.card-hover:hover {
	transform: translateY(-3px);
	border-color: rgba(var(--sc-accent-rgb), 0.45) !important;
	box-shadow: 0 18px 40px -20px rgba(var(--sc-accent-rgb), 0.45) !important;
}
.card-img-top {
	transition: transform 0.5s var(--sc-ease);
}
a.card:hover .card-img-top,
.card-hover:hover .card-img-top {
	transform: scale(1.04);
}

/* buttons */
.btn {
	font-weight: 600;
	border-radius: var(--sc-radius-sm);
	transition: transform 0.15s, background 0.2s, box-shadow 0.2s, color 0.2s !important;
}
.btn:active {
	transform: translateY(1px);
}
.btn-primary,
.btn-primary:focus {
	--tblr-btn-color: var(--sc-on-accent);
	--tblr-btn-hover-color: var(--sc-on-accent);
	--tblr-btn-active-color: var(--sc-on-accent);
	--tblr-btn-bg: var(--sc-accent);
	--tblr-btn-hover-bg: var(--sc-accent);
	--tblr-btn-active-bg: var(--sc-accent-strong);
	--tblr-btn-border-color: transparent;
	--tblr-btn-hover-border-color: transparent;
	background: var(--sc-accent) !important;
	color: var(--sc-on-accent) !important;
	border-color: transparent !important;
	box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.25) inset, 0 8px 22px -10px rgba(var(--sc-accent-rgb), 0.8) !important;
}
.btn-primary:hover {
	filter: brightness(1.08);
	box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.25) inset, 0 12px 28px -10px rgba(var(--sc-accent-rgb), 0.95) !important;
}
.btn-outline-primary {
	--tblr-btn-color: var(--sc-accent);
	--tblr-btn-border-color: rgba(var(--sc-accent-rgb), 0.5);
	--tblr-btn-hover-bg: var(--sc-accent);
	--tblr-btn-hover-color: var(--sc-on-accent);
}
.btn-light,
.btn-white,
.btn-secondary,
.btn-transparent {
	background: var(--sc-surface-2) !important;
	border-color: var(--sc-line-strong) !important;
	color: var(--sc-text) !important;
}
.btn-light:hover,
.btn-white:hover,
.btn-secondary:hover {
	background: var(--sc-surface-3) !important;
}

/* forms */
.form-control,
.form-select,
.select2-container--bootstrap4 .select2-selection {
	background-color: var(--sc-bg-2) !important;
	border-color: var(--sc-line-strong) !important;
	color: var(--sc-text) !important;
	border-radius: var(--sc-radius-sm) !important;
}
.form-control:focus,
.form-select:focus {
	border-color: var(--sc-accent) !important;
	box-shadow: 0 0 0 3px rgba(var(--sc-accent-rgb), 0.18) !important;
}
.form-check-input:checked {
	background-color: var(--sc-accent);
	border-color: var(--sc-accent);
}

/* breadcrumb + titles */
.breadcrumb {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.breadcrumb-item a {
	color: var(--sc-muted) !important;
}
.breadcrumb-item a:hover {
	color: var(--sc-accent) !important;
}
.breadcrumb-item.active {
	color: var(--sc-accent) !important;
}
.page-title {
	color: #fff;
	font-size: 1.9rem;
}

/* tables, lists, tabs */
.table {
	--tblr-table-bg: transparent;
	--tblr-table-hover-bg: rgba(var(--sc-accent-rgb), 0.06);
	color: var(--tblr-body-color);
}
.table thead th {
	background: var(--sc-surface-2) !important;
	color: var(--sc-muted) !important;
	font-family: var(--sc-pixel);
	letter-spacing: 0.05em;
}
.nav-tabs {
	border-color: var(--sc-line) !important;
}
.nav-tabs .nav-link.active {
	color: var(--sc-accent) !important;
	border-color: var(--sc-accent) !important;
	background: rgba(var(--sc-accent-rgb), 0.08) !important;
}
.list-group-item {
	background: transparent;
	border-color: var(--sc-line);
}
.list-group-item.active {
	background: rgba(var(--sc-accent-rgb), 0.12);
	border-color: rgba(var(--sc-accent-rgb), 0.35);
	color: var(--sc-accent);
}
.page-link {
	background: var(--sc-surface) !important;
	border-color: var(--sc-line) !important;
	color: var(--sc-text) !important;
}
.page-item.active .page-link {
	background: var(--sc-accent) !important;
	color: var(--sc-on-accent) !important;
	border-color: transparent !important;
}
.badge.bg-primary,
.bg-primary {
	background: var(--sc-accent) !important;
	color: var(--sc-on-accent) !important;
}
.text-primary {
	color: var(--sc-accent) !important;
}
.dropdown-menu,
.sc-dropdown {
	background: rgba(15, 21, 38, 0.96) !important;
	backdrop-filter: blur(14px);
	border: 1px solid var(--sc-line-strong) !important;
	border-radius: var(--sc-radius) !important;
	box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8) !important;
	padding: 0.4rem !important;
}
.dropdown-item {
	border-radius: 8px;
	color: var(--sc-text) !important;
	gap: 0.6rem;
	display: flex !important;
	align-items: center;
	padding: 0.55rem 0.75rem !important;
}
.dropdown-item .ti {
	font-size: 1.15rem;
	color: var(--sc-muted);
}
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
	background: rgba(var(--sc-accent-rgb), 0.12) !important;
	color: #fff !important;
}
.dropdown-item:hover .ti {
	color: var(--sc-accent);
}
.dropdown-divider {
	border-color: var(--sc-line) !important;
}
.modal-content {
	background: var(--sc-surface) !important;
	border: 1px solid var(--sc-line-strong) !important;
	border-radius: var(--sc-radius) !important;
}
.alert {
	border-radius: var(--sc-radius-sm) !important;
	border: 1px solid var(--sc-line-strong) !important;
	background: var(--sc-surface-2) !important;
}

/* store product cards from flat */
.card-product .price {
	color: var(--sc-accent) !important;
	font-family: var(--sc-pixel);
	font-size: 1.15rem;
}
.card-product .discount {
	background: var(--sc-accent-2) !important;
	color: #13070c !important;
	clip-path: var(--sc-notch);
}
.card-product .card-img-top {
	background: radial-gradient(circle at 50% 60%, rgba(var(--sc-accent-rgb), 0.18), transparent 70%);
}

/* SweetAlert2 */
.swal2-popup {
	background: var(--sc-surface) !important;
	border: 1px solid var(--sc-line-strong);
	border-radius: var(--sc-radius) !important;
	color: var(--sc-text) !important;
}
.swal2-title {
	color: #fff !important;
	font-family: var(--sc-display);
}
.swal2-content {
	color: var(--sc-muted) !important;
}

/* announcements ticker */
.broadcast {
	background: linear-gradient(90deg, var(--sc-accent-strong), var(--sc-accent)) !important;
	margin: 0;
}
.broadcast-link {
	color: var(--sc-on-accent) !important;
	font-weight: 700;
}

/* ---------- 3. Reusable SezonCraft atoms ---------- */
.sc-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
	animation: sc-pulse 2s infinite;
	display: inline-block;
	flex: none;
}
@keyframes sc-pulse {
	0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
	70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
	100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.sc-btn {
	--pad-y: 0.6rem;
	--pad-x: 1.1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: var(--pad-y) var(--pad-x);
	font-weight: 700;
	font-size: 0.92rem;
	line-height: 1;
	text-decoration: none !important;
	border: 0;
	cursor: pointer;
	clip-path: var(--sc-notch);
	transition: transform 0.15s var(--sc-ease), filter 0.2s, background 0.2s, color 0.2s;
	white-space: nowrap;
}
.sc-btn .ti {
	font-size: 1.15rem;
}
.sc-btn:hover {
	transform: translateY(-2px);
}
.sc-btn:active {
	transform: translateY(1px);
}
.sc-btn--lg {
	--pad-y: 0.95rem;
	--pad-x: 1.5rem;
	font-size: 1rem;
}
.sc-btn--primary {
	background: var(--sc-accent);
	color: var(--sc-on-accent) !important;
	box-shadow: 0 -4px 0 rgba(0, 0, 0, 0.25) inset;
}
.sc-btn--primary:hover {
	filter: brightness(1.1);
}
.sc-btn--ghost {
	background: rgba(255, 255, 255, 0.06);
	color: var(--sc-text) !important;
	box-shadow: 0 0 0 1px var(--sc-line-strong) inset, 0 -4px 0 rgba(0, 0, 0, 0.25) inset;
}
.sc-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
}
.sc-btn--light {
	background: #fff;
	color: #0b1020 !important;
	box-shadow: 0 -4px 0 rgba(0, 0, 0, 0.18) inset;
}

.sc-eyebrow {
	font-family: var(--sc-pixel);
	color: var(--sc-accent);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.78rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.sc-eyebrow::before {
	content: '';
	width: 10px;
	height: 10px;
	background: var(--sc-accent);
	box-shadow: 4px 4px 0 rgba(var(--sc-accent-rgb), 0.35);
}
.sc-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 700;
	color: var(--sc-accent) !important;
	text-decoration: none !important;
}
.sc-link-arrow .ti {
	transition: transform 0.2s var(--sc-ease);
}
.sc-link-arrow:hover .ti {
	transform: translateX(4px);
}
.sc-tag {
	font-family: var(--sc-pixel);
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sc-on-accent) !important;
	background: var(--sc-accent);
	padding: 0.25rem 0.5rem;
	text-decoration: none !important;
	clip-path: polygon(0 3px, 3px 3px, 3px 0, calc(100% - 3px) 0, calc(100% - 3px) 3px, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 3px calc(100% - 3px), 0 calc(100% - 3px));
}

/* IP pill */
.sc-ip {
	display: inline-flex;
	align-items: stretch;
	border: 0;
	padding: 0;
	cursor: pointer;
	background: rgba(8, 12, 24, 0.75);
	box-shadow: 0 0 0 1px var(--sc-line-strong) inset;
	border-radius: 12px;
	overflow: hidden;
	color: var(--sc-text);
	font: inherit;
	transition: box-shadow 0.2s, transform 0.15s;
	max-width: 100%;
}
.sc-ip:hover {
	box-shadow: 0 0 0 1px rgba(var(--sc-accent-rgb), 0.6) inset, 0 10px 30px -12px rgba(var(--sc-accent-rgb), 0.6);
}
.sc-ip:active {
	transform: scale(0.98);
}
.sc-ip > span {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}
.sc-ip__online {
	padding: 0 0.85rem;
	font-weight: 700;
	color: #fff;
	border-right: 1px solid var(--sc-line-strong);
	font-size: 0.85rem;
}
.sc-ip__label {
	color: var(--sc-muted);
	font-weight: 500;
}
.sc-ip__addr {
	font-family: var(--sc-pixel);
	color: #fff;
	letter-spacing: 0.03em;
	padding: 0 1rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.sc-ip__action {
	background: var(--sc-accent);
	color: var(--sc-on-accent);
	font-weight: 800;
	padding: 0 1rem;
	font-size: 0.85rem;
	transition: background 0.2s;
}
.sc-ip.is-copied .sc-ip__action {
	background: #22c55e;
	color: #03140a;
}
.sc-ip--lg {
	min-height: 58px;
	font-size: 1.1rem;
}
.sc-ip--lg .sc-ip__addr {
	font-size: 1.25rem;
	padding: 0 1.25rem;
}
.sc-ip--lg .sc-ip__action {
	padding: 0 1.25rem;
	font-size: 0.95rem;
}
.sc-ip--sm {
	min-height: 38px;
	font-size: 0.85rem;
}

/* season switcher */
.sc-seasons {
	display: inline-flex;
	gap: 0.4rem;
	flex-wrap: wrap;
}
.sc-season-chip {
	--chip: #fff;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	border: 0;
	background: rgba(255, 255, 255, 0.04);
	box-shadow: 0 0 0 1px var(--sc-line-strong) inset;
	color: var(--sc-muted);
	padding: 0.45rem 0.7rem;
	font-weight: 600;
	font-size: 0.82rem;
	cursor: pointer;
	clip-path: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.sc-season-chip .ti {
	color: var(--chip);
	font-size: 1rem;
}
.sc-season-chip--kis { --chip: #7dd3fc; }
.sc-season-chip--ilkbahar { --chip: #4ade80; }
.sc-season-chip--yaz { --chip: #fbbf24; }
.sc-season-chip--sonbahar { --chip: #fb923c; }
.sc-season-chip:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}
.sc-season-chip.is-active {
	background: var(--chip);
	color: #0b1020;
	box-shadow: none;
}
.sc-season-chip.is-active .ti {
	color: #0b1020;
}
.sc-seasons--compact .sc-season-chip {
	padding: 0.5rem;
}

/* ---------- 4. Header ---------- */
.sc-header.navbar {
	position: sticky;
	top: 0;
	z-index: 1030;
	padding: 0 !important;
	min-height: 72px;
	background: rgba(7, 10, 18, 0.72) !important;
	backdrop-filter: saturate(160%) blur(16px);
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	border-bottom: 1px solid var(--sc-line) !important;
	box-shadow: none !important;
}
.sc-header.navbar::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(var(--sc-accent-rgb), 0.6), transparent);
}
.sc-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 72px;
	flex-wrap: wrap;
}
.sc-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none !important;
	margin-right: 0.5rem;
}
.sc-brand__logo {
	height: 40px;
	width: auto;
	image-rendering: auto;
	filter: drop-shadow(0 4px 12px rgba(var(--sc-accent-rgb), 0.35));
	transition: transform 0.3s var(--sc-ease);
}
.sc-brand:hover .sc-brand__logo {
	transform: rotate(-4deg) scale(1.06);
}
.sc-brand__mark {
	width: 34px;
	height: 34px;
	background:
		linear-gradient(var(--sc-block-top) 0 40%, var(--sc-dirt) 40%);
	box-shadow: inset -6px -6px 0 rgba(0, 0, 0, 0.2);
}
.sc-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}
.sc-brand__name {
	font-family: var(--sc-display);
	font-weight: 800;
	font-size: 1.2rem;
	color: #fff;
	letter-spacing: -0.01em;
}
.sc-brand__slogan {
	font-size: 0.72rem;
	color: var(--sc-muted);
	max-width: 180px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sc-nav {
	flex: 1 1 auto;
}
.sc-nav__list {
	gap: 0.15rem;
}
.sc-header .nav-link {
	display: flex !important;
	align-items: center;
	gap: 0.45rem;
	color: var(--sc-muted) !important;
	font-weight: 600;
	font-size: 0.92rem;
	padding: 0.55rem 0.75rem !important;
	border-radius: 10px;
	position: relative;
	white-space: nowrap;
}
@media (min-width: 992px) and (max-width: 1279.98px) {
	.sc-nav__icon {
		display: none;
	}
	.sc-header .nav-link {
		padding: 0.5rem 0.55rem !important;
	}
}
.sc-header .nav-link:hover,
.sc-header .nav-item.active > .nav-link,
.sc-header .nav-item.show > .nav-link {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.05);
}
.sc-header .nav-item.active > .nav-link::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -15px;
	width: 18px;
	height: 4px;
	transform: translateX(-50%);
	background: var(--sc-accent);
	box-shadow: 0 0 14px var(--sc-accent);
}
.sc-header .nav-item:hover::after {
	display: none !important;
}
.sc-nav__icon {
	font-size: 1rem;
	color: var(--sc-accent);
	opacity: 0.85;
}
.sc-header .dropdown-toggle::after {
	border: 0 !important;
	content: '\ea5f';
	font-family: 'tabler-icons' !important;
	transform: none !important;
	width: auto;
	height: auto;
	margin-left: 0.2rem;
	font-size: 0.85rem;
	opacity: 0.7;
}
.sc-header__right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-left: auto;
}
.sc-auth {
	display: flex;
	gap: 0.5rem;
}
.sc-user__toggle {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.3rem 0.65rem 0.3rem 0.3rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	box-shadow: 0 0 0 1px var(--sc-line-strong) inset;
	text-decoration: none !important;
	color: var(--sc-text) !important;
}
.sc-user__toggle:hover {
	background: rgba(255, 255, 255, 0.08);
}
.sc-user__avatar {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	image-rendering: pixelated;
	background: var(--sc-surface-3);
}
.sc-user__meta {
	flex-direction: column;
	line-height: 1.15;
}
.sc-user__name {
	font-weight: 700;
	color: #fff;
	font-size: 0.88rem;
}
.sc-user__credits,
.sc-user__role {
	font-size: 0.76rem;
	color: var(--sc-accent);
	font-family: var(--sc-pixel);
}
.sc-user__caret {
	color: var(--sc-muted);
}
.sc-count {
	margin-left: auto;
	font-family: var(--sc-pixel);
	background: var(--sc-accent);
	color: var(--sc-on-accent);
	padding: 0 0.4rem;
	border-radius: 4px;
	font-size: 0.75rem;
}
.sc-badge-plus {
	margin-left: auto;
	color: #22c55e;
	font-weight: 800;
}
.sc-burger {
	display: none;
	border: 0 !important;
	background: rgba(255, 255, 255, 0.06) !important;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	padding: 0 !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	order: 3;
	box-shadow: none !important;
}
.sc-burger span {
	display: block;
	width: 18px;
	height: 2px;
	background: #fff;
	transition: transform 0.25s, opacity 0.25s;
}
.sc-burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sc-burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.sc-burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sc-nav__mobile-extra {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 0.75rem 0 1rem;
}

@media (max-width: 991.98px) {
	.sc-burger {
		display: inline-flex;
	}
	.sc-header__right {
		order: 2;
	}
	.sc-header.navbar:has(.sc-nav.show),
	.sc-header.navbar:has(.sc-nav.collapsing) {
		background: var(--sc-bg) !important;
	}
	.sc-nav {
		order: 4;
		flex-basis: 100%;
		max-height: calc(100vh - 80px);
		overflow-y: auto;
	}
	.sc-nav__mobile-extra .sc-ip {
		width: 100%;
	}
	.sc-nav__mobile-extra .sc-ip__online {
		display: none;
	}
	.sc-nav__mobile-extra .sc-ip__addr {
		flex: 1;
		justify-content: flex-start;
	}
	.sc-nav__list {
		padding: 0.5rem 0;
		border-top: 1px solid var(--sc-line);
	}
	.sc-header .nav-item.active > .nav-link::after {
		display: none;
	}
	.sc-brand__slogan {
		display: none;
	}
}

/* ---------- 5. Hero ---------- */
.sc-hero {
	position: relative;
	overflow: clip;
	padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
	isolation: isolate;
}
.sc-particles {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
}
.sc-hero__glow {
	position: absolute;
	z-index: -2;
	width: 70vw;
	max-width: 900px;
	aspect-ratio: 1;
	right: -15%;
	top: -30%;
	background: radial-gradient(circle, rgba(var(--sc-accent-rgb), 0.28), transparent 62%);
	filter: blur(10px);
	transition: background 0.8s;
}
.sc-hero::before {
	/* faint block grid */
	content: '';
	position: absolute;
	inset: 0;
	z-index: -3;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
}
.sc-hero__fade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 120px;
	background: linear-gradient(transparent, var(--sc-bg));
	z-index: -1;
}
.sc-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
	gap: 2rem;
}
.sc-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	background: rgba(34, 197, 94, 0.08);
	box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.25) inset;
	color: #bbf7d0;
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: 1.25rem;
}
.sc-hero__title {
	margin: 0 0 1rem;
	line-height: 0.95;
	font-weight: 800;
}
.sc-hero__title-top {
	display: block;
	font-size: clamp(1.4rem, 3vw, 2.1rem);
	color: var(--sc-muted);
	font-weight: 600;
	margin-bottom: 0.35rem;
}
.sc-hero__title-main {
	display: block;
	font-size: clamp(3rem, 8.5vw, 6.2rem);
	letter-spacing: -0.035em;
	background: linear-gradient(100deg, #fff 10%, var(--sc-accent) 55%, var(--sc-accent-2) 95%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 10px 40px rgba(var(--sc-accent-rgb), 0.25));
	word-break: break-word;
}
.sc-hero__lead {
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	color: #c9cfdf;
	max-width: 34rem;
	margin-bottom: 1.75rem;
	min-height: 1.6em;
}
.sc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}
.sc-hero__season {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}
.sc-hero__season-label {
	font-family: var(--sc-pixel);
	font-size: 0.8rem;
	color: var(--sc-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
.sc-hero__art {
	display: flex;
	justify-content: center;
}

/* voxel island (pure CSS 3D) */
.sc-voxel {
	--s: clamp(44px, 5.2vw, 72px);
	--u: calc(var(--s) * 0.42);
	position: relative;
	width: calc(var(--s) * 6.4);
	height: calc(var(--s) * 6.6);
	display: grid;
	place-items: center;
}
.sc-voxel__float {
	animation: sc-float 7s ease-in-out infinite;
	padding-top: calc(var(--s) * 1.6);
}
.sc-voxel__scene {
	position: relative;
	width: calc(var(--s) * 4);
	height: calc(var(--s) * 4);
	transform-style: preserve-3d;
	transform: rotateX(calc(57deg - var(--my, 0) * 4deg)) rotateZ(calc(45deg + var(--mx, 0) * 9deg));
	transition: transform 0.5s var(--sc-ease);
}
.sc-cube {
	/* material defaults (grass) */
	--top: var(--sc-block-top);
	--side: var(--sc-dirt);
	--side2: var(--sc-dirt-2);
	--strip: var(--sc-block-top-2);
	--hh: calc(var(--u) * var(--h));
	position: absolute;
	left: calc(var(--s) * var(--x));
	top: calc(var(--s) * var(--y));
	width: var(--s);
	height: var(--s);
	transform-style: preserve-3d;
	translate: 0 0 calc(var(--u) * var(--z));
	animation: sc-pop 0.8s var(--sc-ease) both;
	animation-delay: calc(var(--i) * 45ms);
}
.sc-cube > span {
	position: absolute;
	display: block;
	transition: background-color 0.6s, background 0.6s;
}
.sc-cube__top {
	inset: 0;
	transform: translateZ(var(--hh));
	background-color: var(--top);
	background-image:
		linear-gradient(45deg, rgba(0, 0, 0, 0.07) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.07) 75%),
		linear-gradient(45deg, rgba(0, 0, 0, 0.07) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.07) 75%);
	background-size: calc(var(--s) / 4) calc(var(--s) / 4);
	background-position: 0 0, calc(var(--s) / 8) calc(var(--s) / 8);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
}
/* +y face (front-left on screen): local top edge = block base */
.sc-cube__sy {
	left: 0;
	top: 100%;
	width: var(--s);
	height: var(--hh);
	transform-origin: top;
	transform: rotateX(90deg);
	background:
		linear-gradient(to top, var(--strip) 0 calc(var(--u) * 0.35), transparent calc(var(--u) * 0.35)),
		repeating-linear-gradient(to top, var(--side) 0 calc(var(--s) / 8), var(--side2) calc(var(--s) / 8) calc(var(--s) / 4));
	filter: brightness(0.8);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
/* +x face (front-right on screen) */
.sc-cube__sx {
	left: 100%;
	top: 0;
	width: var(--hh);
	height: var(--s);
	transform-origin: left;
	transform: rotateY(-90deg);
	background:
		linear-gradient(to left, var(--strip) 0 calc(var(--u) * 0.35), transparent calc(var(--u) * 0.35)),
		repeating-linear-gradient(to left, var(--side) 0 calc(var(--s) / 8), var(--side2) calc(var(--s) / 8) calc(var(--s) / 4));
	filter: brightness(0.62);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
/* materials */
.sc-cube--stone,
.sc-cube--ore {
	--top: #8d95a3;
	--side: #6f7785;
	--side2: #646b78;
	--strip: transparent;
}
.sc-cube--ore .sc-cube__top,
.sc-cube--ore .sc-cube__sy,
.sc-cube--ore .sc-cube__sx {
	background-image:
		radial-gradient(circle at 25% 30%, #5eead4 0 9%, transparent 10%),
		radial-gradient(circle at 70% 60%, #5eead4 0 8%, transparent 9%),
		radial-gradient(circle at 40% 78%, #a7f3d0 0 6%, transparent 7%);
	background-color: var(--top);
}
.sc-cube--ore .sc-cube__sy,
.sc-cube--ore .sc-cube__sx {
	background-color: var(--side);
}
.sc-cube--ore .sc-cube__top {
	animation: sc-glint 3.2s ease-in-out infinite;
}
.sc-cube--sand {
	--top: #e6d29a;
	--side: #d4bd80;
	--side2: #cbb375;
	--strip: transparent;
}
.sc-cube--water {
	--top: rgba(56, 189, 248, 0.78);
	--side: rgba(14, 116, 144, 0.75);
	--side2: rgba(14, 116, 144, 0.65);
	--strip: transparent;
}
.sc-cube--water .sc-cube__top {
	background-image: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 45%, transparent 60%);
	background-size: 300% 100%;
	animation: sc-water 4s linear infinite;
}
html[data-season='kis'] .sc-cube--water {
	--top: #cdeefe;
	--side: #9fd6ef;
	--side2: #93cde8;
}
.sc-cube--log {
	--top: #b58552;
	--side: #6b4a2b;
	--side2: #5c3f24;
	--strip: transparent;
}
.sc-cube--log .sc-cube__top {
	background-image: radial-gradient(circle, #d4a373 0 18%, #b58552 19% 38%, #9a6c3f 39% 46%, #b58552 47%);
	background-size: 100% 100%;
}
.sc-cube--log .sc-cube__sy,
.sc-cube--log .sc-cube__sx {
	background: repeating-linear-gradient(90deg, var(--side) 0 calc(var(--s) / 6), var(--side2) calc(var(--s) / 6) calc(var(--s) / 3));
}
.sc-cube--leaves {
	--top: var(--sc-leaves);
	--side: var(--sc-leaves-2);
	--side2: var(--sc-leaves);
	--strip: transparent;
}
.sc-cube--leaves > span {
	background-image:
		radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.25) 0 8%, transparent 9%),
		radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.15) 0 10%, transparent 11%) !important;
	background-color: var(--top);
}
.sc-cube--leaves .sc-cube__sy,
.sc-cube--leaves .sc-cube__sx {
	background-color: var(--side);
}
.sc-voxel__shadow {
	position: absolute;
	bottom: 2%;
	left: 50%;
	width: 62%;
	height: 30px;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), transparent);
	animation: sc-shadow 7s ease-in-out infinite;
}
@keyframes sc-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-16px); }
}
@keyframes sc-shadow {
	0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
	50% { transform: translateX(-50%) scale(0.85); opacity: 0.7; }
}
/* transform only: animating opacity would flatten the 3D context */
@keyframes sc-pop {
	from { transform: translateZ(220px); }
	to { transform: translateZ(0); }
}
@keyframes sc-water {
	from { background-position: 100% 0; }
	to { background-position: -200% 0; }
}
@keyframes sc-glint {
	0%, 100% { filter: brightness(1); }
	50% { filter: brightness(1.35); }
}

@media (max-width: 991.98px) {
	.sc-hero__inner {
		grid-template-columns: 1fr;
		text-align: left;
	}
	.sc-hero__art {
		padding-top: 1.5rem;
	}
	.sc-voxel {
		--s: 40px;
	}
}

/* live counter */
.sc-live {
	display: inline-block;
	font-variant-numeric: tabular-nums;
	transition: transform 0.3s var(--sc-ease), color 0.3s;
}
.sc-live.is-bump {
	transform: translateY(-2px) scale(1.15);
	color: #fff;
}

/* season countdown */
.sc-countdown {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	max-width: 100%;
	margin: -0.5rem 0 1.5rem;
	padding: 0.5rem 0.85rem;
	font-size: 0.86rem;
	color: var(--sc-muted);
	background: rgba(255, 255, 255, 0.03);
	box-shadow: 0 0 0 1px var(--sc-line) inset;
	border-radius: 999px;
}
.sc-countdown strong {
	color: #fff;
}
.sc-countdown__icon {
	color: var(--chip);
	font-size: 1.05rem;
}
.sc-countdown .sc-countdown__next {
	color: var(--chip);
}
.sc-countdown--placeholder {
	height: 38px;
	width: 22rem;
}
.sc-countdown__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.86rem;
	color: var(--sc-muted);
	margin-bottom: 0.45rem;
}
.sc-countdown__row strong {
	color: #fff;
}
.sc-countdown__pct {
	font-family: var(--sc-pixel);
	color: var(--sc-accent);
}
.sc-countdown__bar {
	height: 8px;
	background: rgba(255, 255, 255, 0.06);
	/* pixel segments */
	background-image: repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), rgba(7, 10, 18, 0.9) calc(10% - 2px) 10%);
	overflow: hidden;
	position: relative;
}
.sc-countdown__bar span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--sc-accent-strong), var(--sc-accent));
	box-shadow: 0 0 12px rgba(var(--sc-accent-rgb), 0.7);
	transition: width 1s var(--sc-ease);
}

/* logged-in player card (hero) */
.sc-hero__art {
	position: relative;
	flex-direction: column;
	align-items: center;
}
.sc-player {
	display: flex;
	align-items: flex-end;
	gap: 0.9rem;
	margin-top: -2.5rem;
	padding: 0.9rem 1.1rem 0.9rem 0.6rem;
	background: rgba(15, 21, 38, 0.82);
	backdrop-filter: blur(12px);
	box-shadow: 0 0 0 1px var(--sc-line-strong) inset, 0 24px 50px -24px rgba(0, 0, 0, 0.8);
	border-radius: var(--sc-radius);
	position: relative;
	z-index: 2;
	max-width: 100%;
}
.sc-player__skin {
	width: 64px;
	height: auto;
	margin-top: -3.2rem;
	filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.6));
	image-rendering: pixelated;
	flex: none;
	animation: sc-wave 4s ease-in-out infinite;
	transform-origin: bottom center;
}
@keyframes sc-wave {
	0%, 100% { transform: rotate(0deg); }
	50% { transform: rotate(-3deg); }
}
.sc-player__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.sc-player__hello {
	font-size: 0.78rem;
	color: var(--sc-muted);
}
.sc-player__name {
	font-family: var(--sc-display);
	color: #fff;
	font-size: 1.15rem;
	line-height: 1.2;
}
.sc-player__credits {
	font-family: var(--sc-pixel);
	color: var(--sc-accent);
	font-size: 0.9rem;
}
.sc-player__actions {
	display: flex;
	gap: 0.35rem;
	margin-top: 0.55rem;
	flex-wrap: wrap;
}
.sc-mini {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.35rem 0.55rem;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--sc-text) !important;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 8px;
	text-decoration: none !important;
	transition: background 0.2s, color 0.2s;
}
.sc-mini:hover {
	background: var(--sc-accent);
	color: var(--sc-on-accent) !important;
}

/* vote */
.sc-vote {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2rem;
	align-items: center;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background:
		radial-gradient(500px 220px at 0% 0%, rgba(var(--sc-accent-rgb), 0.14), transparent 70%),
		var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: calc(var(--sc-radius) + 4px);
}
.sc-vote__copy p {
	color: var(--sc-muted);
	margin: 0.75rem 0 0;
	max-width: 32rem;
}
.sc-vote__links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.sc-vote__link {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.75rem 1rem;
	background: rgba(255, 255, 255, 0.03);
	box-shadow: 0 0 0 1px var(--sc-line-strong) inset;
	border-radius: 12px;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
	transition: transform 0.2s var(--sc-ease), background 0.2s, box-shadow 0.2s;
}
.sc-vote__link:hover {
	transform: translateX(4px);
	background: rgba(var(--sc-accent-rgb), 0.1);
	box-shadow: 0 0 0 1px rgba(var(--sc-accent-rgb), 0.5) inset;
}
.sc-vote__link .ti {
	margin-left: auto;
	color: var(--sc-muted);
}
.sc-vote__num {
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	font-family: var(--sc-pixel);
	background: var(--sc-accent);
	color: var(--sc-on-accent);
	clip-path: var(--sc-notch);
	flex: none;
}
@media (max-width: 767.98px) {
	.sc-vote {
		grid-template-columns: 1fr;
	}
}

/* ---------- 6. Home sections ---------- */
.sc-home {
	padding-bottom: 3rem;
}
.sc-section {
	margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.sc-section__head {
	margin-bottom: 1.5rem;
}
.sc-section__head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.sc-section__title {
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	color: #fff;
	margin: 0.5rem 0 0;
	font-weight: 800;
}

/* slider → horizontal rail */
.sc-rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(85%, 560px);
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 0.5rem;
	scrollbar-width: thin;
}
.sc-rail__item {
	position: relative;
	scroll-snap-align: start;
	border-radius: var(--sc-radius);
	overflow: hidden;
	border: 1px solid var(--sc-line);
	aspect-ratio: 16 / 7;
	background: var(--sc-surface);
}
.sc-rail__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--sc-ease);
}
.sc-rail__item:hover img {
	transform: scale(1.04);
}
.sc-rail__title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 2rem 1.25rem 1rem;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	color: #fff;
	font-family: var(--sc-display);
	font-weight: 700;
	font-size: 1.15rem;
}

/* steps */
.sc-steps {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	counter-reset: step;
}
.sc-step {
	position: relative;
	padding: 1.5rem;
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-radius);
	overflow: hidden;
}
.sc-step::after {
	content: '';
	position: absolute;
	right: -30px;
	top: -30px;
	width: 110px;
	height: 110px;
	background: radial-gradient(circle, rgba(var(--sc-accent-rgb), 0.18), transparent 70%);
}
.sc-step__num {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	font-family: var(--sc-pixel);
	font-size: 1.3rem;
	font-weight: 700;
	background: var(--sc-accent);
	color: var(--sc-on-accent);
	clip-path: var(--sc-notch);
	margin-bottom: 1rem;
}
.sc-step h3 {
	color: #fff;
	font-size: 1.15rem;
	margin-bottom: 0.4rem;
}
.sc-step p {
	margin: 0;
	color: var(--sc-muted);
}
.sc-step code {
	background: rgba(var(--sc-accent-rgb), 0.12);
	color: var(--sc-accent);
	padding: 0.1rem 0.4rem;
	border-radius: 6px;
	font-family: var(--sc-pixel);
}

/* store categories */
.sc-cats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}
.sc-cat {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-radius);
	text-decoration: none !important;
	overflow: hidden;
	transition: transform 0.3s var(--sc-ease), border-color 0.3s, box-shadow 0.3s;
}
.sc-cat::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(var(--sc-accent-rgb), 0.12), transparent 50%);
	opacity: 0;
	transition: opacity 0.3s;
}
.sc-cat:hover {
	border-color: rgba(var(--sc-accent-rgb), 0.45);
	box-shadow: 0 18px 40px -22px rgba(var(--sc-accent-rgb), 0.7);
}
.sc-cat:hover::before {
	opacity: 1;
}
.sc-cat__img {
	position: relative;
	flex: none;
	width: 64px;
	height: 64px;
	display: grid;
	place-items: center;
	background: rgba(var(--sc-accent-rgb), 0.08);
	border-radius: 12px;
	overflow: hidden;
	color: var(--sc-accent);
	font-size: 1.8rem;
}
.sc-cat__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.4s var(--sc-ease);
}
.sc-cat:hover .sc-cat__img img {
	transform: scale(1.12) rotate(-4deg);
}
.sc-cat__name {
	position: relative;
	font-family: var(--sc-display);
	font-weight: 700;
	font-size: 1.1rem;
	color: #fff;
}
.sc-cat__go {
	position: relative;
	margin-left: auto;
	color: var(--sc-muted);
	font-size: 1.3rem;
	transition: color 0.2s, transform 0.3s var(--sc-ease);
}
.sc-cat:hover .sc-cat__go {
	color: var(--sc-accent);
	transform: translate(3px, -3px);
}

/* news */
.sc-news {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}
.sc-post {
	display: flex;
	flex-direction: column;
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-radius);
	overflow: hidden;
	transition: transform 0.3s var(--sc-ease), border-color 0.3s;
}
.sc-post:hover {
	transform: translateY(-3px);
	border-color: rgba(var(--sc-accent-rgb), 0.4);
}
.sc-post__img {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--sc-surface-2);
}
.sc-post__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--sc-ease);
}
.sc-post:hover .sc-post__img img {
	transform: scale(1.05);
}
.sc-post__body {
	padding: 1.1rem 1.25rem 1.3rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	flex: 1;
}
.sc-post__meta {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	font-size: 0.8rem;
	color: var(--sc-muted);
}
.sc-post__title {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.3;
}
.sc-post__title a {
	color: #fff !important;
	text-decoration: none !important;
}
.sc-post__title a:hover {
	color: var(--sc-accent) !important;
}
.sc-post__summary {
	color: #aeb5c8;
	margin: 0;
}
.sc-post--lead {
	grid-column: span 3;
	flex-direction: row;
}
.sc-post--lead .sc-post__img {
	flex: 0 0 58%;
	aspect-ratio: auto;
	min-height: 320px;
}
.sc-post--lead .sc-post__body {
	padding: 2rem;
	justify-content: center;
	gap: 0.9rem;
}
.sc-post--lead .sc-post__title {
	font-size: clamp(1.5rem, 2.6vw, 2.1rem);
	line-height: 1.15;
}
.sc-pagination {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}
.sc-empty {
	text-align: center;
	padding: 3rem 1rem;
	background: var(--sc-surface);
	border: 1px dashed var(--sc-line-strong);
	border-radius: var(--sc-radius);
	color: var(--sc-muted);
}
.sc-empty .ti {
	font-size: 2.5rem;
	color: var(--sc-accent);
}

/* community */
.sc-community {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}
.sc-panel {
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-radius);
	padding: 1.35rem;
}
.sc-panel__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #fff;
	font-size: 1.1rem;
	margin-bottom: 1rem;
}
.sc-panel__title .ti {
	color: var(--sc-accent);
}
.sc-podium,
.sc-feed {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.sc-podium__row {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.55rem 0.75rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.025);
}
.sc-podium__rank {
	width: 30px;
	height: 30px;
	flex: none;
	display: grid;
	place-items: center;
	font-family: var(--sc-pixel);
	font-weight: 700;
	color: var(--sc-muted);
	background: var(--sc-surface-3);
	clip-path: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
}
.sc-podium__row--1 .sc-podium__rank { background: #facc15; color: #1c1402; }
.sc-podium__row--2 .sc-podium__rank { background: #cbd5e1; color: #0f172a; }
.sc-podium__row--3 .sc-podium__rank { background: #d97706; color: #1c0d02; }
.sc-podium__row--1 {
	background: linear-gradient(90deg, rgba(250, 204, 21, 0.12), transparent);
}
.sc-podium__user {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: #fff !important;
	font-weight: 600;
	text-decoration: none !important;
	min-width: 0;
}
.sc-podium__avatar,
.sc-feed__avatar {
	width: 32px;
	height: 32px;
	border-radius: 6px;
	image-rendering: pixelated;
	flex: none;
}
.sc-podium__total {
	margin-left: auto;
	font-family: var(--sc-pixel);
	color: var(--sc-accent);
}
.sc-feed__row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--sc-line);
}
.sc-feed__row:last-child {
	border-bottom: 0;
}
.sc-feed__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.25;
}
.sc-feed__text a {
	color: #fff !important;
	font-weight: 600;
}
.sc-feed__product {
	color: var(--sc-muted);
	font-size: 0.85rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* CTA */
.sc-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	border-radius: calc(var(--sc-radius) + 6px);
	overflow: hidden;
	background:
		radial-gradient(600px 200px at 90% 0%, rgba(255, 255, 255, 0.18), transparent 70%),
		linear-gradient(120deg, #4f46e5, #5865f2 55%, var(--sc-accent-strong));
	box-shadow: 0 30px 60px -30px rgba(88, 101, 242, 0.7);
}
.sc-cta::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 32px 32px;
	pointer-events: none;
}
.sc-cta__copy {
	position: relative;
	z-index: 1;
}
.sc-cta h2 {
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	margin: 0 0 0.35rem;
}
.sc-cta p {
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
	font-size: 1.05rem;
}
.sc-cta .sc-btn {
	position: relative;
	z-index: 1;
}

@media (max-width: 991.98px) {
	.sc-cats,
	.sc-news {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.sc-post--lead {
		grid-column: span 2;
		flex-direction: column;
	}
	.sc-post--lead .sc-post__img {
		flex: none;
		min-height: 0;
		aspect-ratio: 16 / 9;
	}
	.sc-post--lead .sc-post__body {
		padding: 1.25rem;
	}
}
@media (max-width: 767.98px) {
	.sc-steps,
	.sc-cats,
	.sc-news,
	.sc-community {
		grid-template-columns: 1fr;
	}
	.sc-post--lead {
		grid-column: auto;
	}
	.sc-ip--lg {
		width: 100%;
	}
	.sc-ip--lg .sc-ip__addr {
		flex: 1;
		font-size: 1.05rem;
	}
	.sc-hero__actions .sc-btn {
		flex: 1;
		justify-content: center;
	}
}

/* ---------- 7. Footer ---------- */
.sc-footer {
	position: relative;
	margin-top: 4rem;
	padding: 3.5rem 0 1.5rem;
	background: linear-gradient(180deg, #0a0e1a, #05070d);
	border-top: 1px solid var(--sc-line);
}
.sc-footer__grass {
	/* pixel grass edge in the season color */
	position: absolute;
	left: 0;
	right: 0;
	top: -12px;
	height: 12px;
	background:
		linear-gradient(90deg, var(--sc-block-top) 0 50%, var(--sc-block-top-2) 50% 100%) 0 6px / 24px 6px repeat-x,
		linear-gradient(90deg, transparent 0 25%, var(--sc-block-top) 25% 50%, transparent 50% 75%, var(--sc-block-top-2) 75%) 0 0 / 48px 6px repeat-x;
	opacity: 0.9;
}
.sc-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(auto-fit, minmax(150px, 1fr));
	gap: 2rem;
}
.sc-footer__about {
	max-width: 360px;
}
.sc-brand--footer {
	margin-bottom: 1rem;
}
.sc-footer__text {
	color: var(--sc-muted);
	font-size: 0.92rem;
}
.sc-footer__text p:last-child {
	margin-bottom: 0;
}
.sc-footer__socials {
	display: flex;
	gap: 0.5rem;
	margin-top: 1.25rem;
}
.sc-social {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 0 0 1px var(--sc-line-strong) inset;
	color: var(--sc-text) !important;
	font-size: 1.25rem;
	clip-path: var(--sc-notch);
	transition: background 0.2s, color 0.2s, transform 0.2s;
}
.sc-social:hover {
	background: var(--sc-accent);
	color: var(--sc-on-accent) !important;
	transform: translateY(-2px);
}
.sc-footer__title {
	font-family: var(--sc-pixel);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.8rem;
	color: #fff;
	margin-bottom: 1rem;
}
.sc-footer__col ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}
.sc-footer__link {
	color: var(--sc-muted) !important;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.92rem;
	transition: color 0.2s, transform 0.2s;
}
.sc-footer__link:hover {
	color: var(--sc-accent) !important;
	transform: translateX(3px);
}
.sc-locale {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}
.sc-select {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0 0.6rem;
	background: rgba(255, 255, 255, 0.04);
	box-shadow: 0 0 0 1px var(--sc-line-strong) inset;
	border-radius: 8px;
	color: var(--sc-muted);
}
.sc-select select {
	background: transparent;
	border: 0;
	color: var(--sc-text);
	padding: 0.45rem 0.2rem;
	font: inherit;
	font-size: 0.85rem;
	outline: none;
}
.sc-select option {
	background: var(--sc-surface);
}
.sc-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--sc-line);
	font-size: 0.85rem;
	color: var(--sc-muted);
}
.sc-footer__disclaimer {
	opacity: 0.7;
}
.sc-footer__powered {
	margin-left: auto;
}
@media (max-width: 767.98px) {
	.sc-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
	.sc-footer__about {
		grid-column: 1 / -1;
	}
	.sc-footer__powered {
		margin-left: 0;
	}
}

/* ---------- 8. Auth layout (login / register) ---------- */
.auth-layout {
	background:
		radial-gradient(700px 400px at 50% 0%, var(--sc-glow), transparent 70%),
		var(--sc-bg) !important;
}
.auth-layout .card {
	border-top: 3px solid var(--sc-accent) !important;
}

/* ==========================================================================
   10. 2027 layer: motion, light, bento, sky, command palette, inner pages
   ========================================================================== */

/* scroll reveal (hidden only when JS runs: html.sc-js) */
html.sc-js [data-reveal] {
	opacity: 0;
	transform: translateY(26px) scale(0.985);
	transition: opacity 0.8s var(--sc-ease), transform 0.8s var(--sc-ease);
	transition-delay: var(--d, 0ms);
}
html.sc-js [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

/* pointer spotlight */
.sc-spot {
	position: relative;
	isolation: isolate;
}
.sc-spot::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	z-index: 0;
	opacity: 0;
	transition: opacity 0.35s;
	background: radial-gradient(420px circle at var(--px, 50%) var(--py, 50%), rgba(var(--sc-accent-rgb), 0.16), transparent 45%);
}
.sc-spot:hover::after {
	opacity: 1;
}
.sc-spot > * {
	position: relative;
	z-index: 1;
}

/* 3D tilt */
[data-tilt] {
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
	transition: transform 0.25s var(--sc-ease), border-color 0.3s, box-shadow 0.3s !important;
	transform-style: preserve-3d;
}
[data-tilt]:hover {
	--lift: -4px;
}

/* section head variants */
.sc-section__head--center {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.sc-section__sub {
	color: var(--sc-muted);
	max-width: 38rem;
	margin: 0.75rem auto 0;
	font-size: 1.05rem;
}

/* hero title shine */
.sc-hero__title-main {
	background-size: 220% 100% !important;
	animation: sc-shine 7s ease-in-out infinite;
}
@keyframes sc-shine {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

/* season sky: aurora in winter, warm sun in summer, soft haze otherwise */
.sc-hero__sky {
	position: absolute;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	overflow: hidden;
}
.sc-aurora {
	position: absolute;
	left: -10%;
	width: 120%;
	height: 46%;
	filter: blur(42px);
	opacity: 0;
	transition: opacity 1s;
	mix-blend-mode: screen;
}
.sc-aurora--1 {
	top: -6%;
	background: linear-gradient(100deg, transparent 10%, rgba(45, 212, 191, 0.55) 30%, rgba(99, 102, 241, 0.45) 55%, transparent 80%);
	animation: sc-aurora 14s ease-in-out infinite alternate;
}
.sc-aurora--2 {
	top: 8%;
	background: linear-gradient(80deg, transparent 20%, rgba(167, 139, 250, 0.4) 45%, rgba(56, 189, 248, 0.45) 65%, transparent 85%);
	animation: sc-aurora 18s ease-in-out infinite alternate-reverse;
}
@keyframes sc-aurora {
	from { transform: translateX(-6%) skewY(-4deg) scaleY(0.9); }
	to { transform: translateX(6%) skewY(3deg) scaleY(1.15); }
}
html[data-season='kis'] .sc-aurora { opacity: 0.75; }
html[data-season='ilkbahar'] .sc-aurora--2 { opacity: 0.3; filter: blur(60px) hue-rotate(80deg); }
.sc-sun {
	position: absolute;
	right: 8%;
	top: 6%;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	opacity: 0;
	transition: opacity 1s;
	background: radial-gradient(circle, rgba(253, 224, 71, 0.85), rgba(251, 146, 60, 0.35) 45%, transparent 70%);
	filter: blur(6px);
	box-shadow: 0 0 120px 40px rgba(251, 191, 36, 0.25);
	animation: sc-sun 9s ease-in-out infinite;
}
html[data-season='yaz'] .sc-sun { opacity: 0.9; }
html[data-season='sonbahar'] .sc-sun {
	opacity: 0.55;
	background: radial-gradient(circle, rgba(251, 146, 60, 0.8), rgba(244, 63, 94, 0.3) 45%, transparent 70%);
	top: 30%;
}
@keyframes sc-sun {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.08); }
}

/* bento features */
.sc-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: minmax(190px, auto);
	grid-auto-flow: row dense;
	gap: 1rem;
}
.sc-feature {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.5rem;
	border-radius: calc(var(--sc-radius) + 4px);
	background:
		linear-gradient(160deg, rgba(255, 255, 255, 0.045), transparent 40%),
		var(--sc-surface);
	border: 1px solid var(--sc-line);
	overflow: hidden;
	transition: border-color 0.3s, transform 0.4s var(--sc-ease);
}
.sc-feature:hover {
	border-color: color-mix(in srgb, var(--chip) 55%, transparent);
	transform: translateY(-3px);
}
.sc-feature--wide { grid-column: span 2; }
.sc-feature--tall { grid-row: span 2; }
.sc-feature__icon {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	font-size: 1.6rem;
	color: #0b1020;
	background: var(--chip);
	clip-path: var(--sc-notch);
	box-shadow: 0 -4px 0 rgba(0, 0, 0, 0.22) inset;
	margin-bottom: 0.4rem;
}
.sc-feature__tag {
	position: absolute !important;
	top: 1.25rem;
	right: 1.25rem;
	font-family: var(--sc-pixel);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--chip);
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--chip) 45%, transparent) inset;
}
.sc-feature__title {
	color: #fff;
	font-size: 1.25rem;
	margin: 0;
}
.sc-feature--wide .sc-feature__title,
.sc-feature--tall .sc-feature__title {
	font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}
.sc-feature__text {
	color: var(--sc-muted);
	margin: 0;
	max-width: 34rem;
}
.sc-feature__deco {
	position: absolute !important;
	right: -40px;
	bottom: -40px;
	width: 170px;
	height: 170px;
	z-index: 0 !important;
	opacity: 0.5;
	background:
		linear-gradient(var(--chip) 0 0) 0 0 / 34px 34px no-repeat,
		linear-gradient(var(--chip) 0 0) 34px 34px / 34px 34px no-repeat,
		linear-gradient(var(--chip) 0 0) 68px 0 / 34px 34px no-repeat,
		linear-gradient(var(--chip) 0 0) 102px 68px / 34px 34px no-repeat,
		linear-gradient(var(--chip) 0 0) 34px 102px / 34px 34px no-repeat;
	filter: blur(0.5px);
	mask-image: radial-gradient(circle at 70% 70%, #000, transparent 70%);
	-webkit-mask-image: radial-gradient(circle at 70% 70%, #000, transparent 70%);
	transform: rotate(12deg);
	transition: transform 0.6s var(--sc-ease), opacity 0.4s;
}
.sc-feature:hover .sc-feature__deco {
	transform: rotate(0deg) scale(1.08);
	opacity: 0.8;
}
.sc-feature--tall {
	justify-content: flex-end;
	background:
		radial-gradient(260px 260px at 50% 25%, color-mix(in srgb, var(--chip) 22%, transparent), transparent 70%),
		var(--sc-surface);
}
.sc-feature--tall .sc-feature__icon {
	width: 72px;
	height: 72px;
	font-size: 2.2rem;
	margin-bottom: auto;
}
@media (max-width: 991.98px) {
	.sc-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sc-feature--tall { grid-row: span 1; }
}
@media (max-width: 575.98px) {
	.sc-bento { grid-template-columns: 1fr; }
	.sc-feature--wide { grid-column: auto; }
}

/* command palette */
.sc-cmd-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	height: 38px;
	padding: 0 0.5rem 0 0.75rem;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 0 0 1px var(--sc-line-strong) inset;
	color: var(--sc-muted);
	font: inherit;
	font-size: 0.85rem;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.sc-cmd-btn:hover {
	background: rgba(255, 255, 255, 0.09);
	color: #fff;
}
kbd,
.sc-cmd-btn kbd {
	font-family: var(--sc-pixel);
	font-size: 0.7rem;
	padding: 0.1rem 0.4rem;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--sc-muted);
	box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.3) inset;
	border: 0;
}
@media (max-width: 1199.98px) {
	.sc-cmd-btn__text,
	.sc-cmd-btn kbd { display: none; }
	.sc-cmd-btn { width: 38px; justify-content: center; padding: 0; }
}
html.sc-lock { overflow: hidden; }
.sc-cmd {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 12vh 1rem 1rem;
	background: rgba(3, 5, 10, 0.6);
	backdrop-filter: blur(6px);
	animation: sc-fade 0.18s ease-out;
}
.sc-cmd__box {
	width: min(640px, 100%);
	max-height: 70vh;
	display: flex;
	flex-direction: column;
	background: rgba(13, 18, 33, 0.97);
	border: 1px solid var(--sc-line-strong);
	border-radius: 18px;
	box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(var(--sc-accent-rgb), 0.15);
	overflow: hidden;
	animation: sc-rise 0.22s var(--sc-ease);
}
.sc-cmd__search {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.9rem 1.1rem;
	border-bottom: 1px solid var(--sc-line);
}
.sc-cmd__search .ti {
	font-size: 1.3rem;
	color: var(--sc-accent);
}
.sc-cmd__search input {
	flex: 1;
	background: transparent;
	border: 0;
	outline: none !important;
	color: #fff;
	font: inherit;
	font-size: 1.05rem;
}
.sc-cmd__search input::placeholder { color: var(--sc-muted); }
.sc-cmd__list {
	list-style: none;
	margin: 0;
	padding: 0.4rem;
	overflow-y: auto;
}
.sc-cmd__group {
	font-family: var(--sc-pixel);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--sc-muted);
	padding: 0.7rem 0.7rem 0.3rem;
}
.sc-cmd__item {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 0.75rem;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--sc-text);
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.sc-cmd__item > .ti:first-child {
	color: var(--sc-muted);
	font-size: 1.15rem;
	width: 1.2rem;
	text-align: center;
}
.sc-cmd__item.is-sel {
	background: rgba(var(--sc-accent-rgb), 0.14);
	color: #fff;
}
.sc-cmd__item.is-sel > .ti:first-child { color: var(--sc-accent); }
.sc-cmd__title { flex: 1; }
.sc-cmd__hint {
	font-family: var(--sc-pixel);
	font-size: 0.8rem;
	color: var(--sc-muted);
}
.sc-cmd__enter {
	opacity: 0;
	color: var(--sc-accent);
}
.sc-cmd__item.is-sel .sc-cmd__enter { opacity: 1; }
.sc-cmd__empty {
	padding: 1.5rem;
	text-align: center;
	color: var(--sc-muted);
}
.sc-cmd__foot {
	display: flex;
	gap: 1.25rem;
	padding: 0.6rem 1.1rem;
	border-top: 1px solid var(--sc-line);
	font-size: 0.78rem;
	color: var(--sc-muted);
}
.sc-cmd__foot kbd { margin-right: 0.2rem; }
@media (max-width: 575.98px) {
	.sc-cmd__foot { display: none; }
	.sc-cmd { padding-top: 5vh; }
}
@keyframes sc-fade { from { opacity: 0; } }
@keyframes sc-rise { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

.sc-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	z-index: 2100;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.1rem;
	background: #22c55e;
	color: #03140a;
	font-weight: 700;
	border-radius: 12px;
	box-shadow: 0 20px 40px -12px rgba(34, 197, 94, 0.6);
	animation: sc-rise 0.25s var(--sc-ease);
}

/* ---------- inner pages (flat markup) ---------- */
/* every flat page starts with .section > .container > breadcrumb: give it a soft banner */
.page-wrapper > .section:first-child,
.page-wrapper > section.section:first-of-type {
	position: relative;
}
.page-wrapper > .section:first-child::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 260px;
	z-index: -1;
	background:
		radial-gradient(600px 220px at 15% 0%, rgba(var(--sc-accent-rgb), 0.16), transparent 70%),
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 40px 40px;
	mask-image: linear-gradient(#000, transparent);
	-webkit-mask-image: linear-gradient(#000, transparent);
	pointer-events: none;
}
.page-title,
.section .card-title.fs-100,
.section h2.page-title {
	letter-spacing: -0.02em;
}

/* store product cards */
.card-product {
	border-radius: calc(var(--sc-radius) + 2px) !important;
	transition: transform 0.35s var(--sc-ease), border-color 0.3s, box-shadow 0.35s !important;
}
.card-product:hover {
	transform: translateY(-5px);
	border-color: rgba(var(--sc-accent-rgb), 0.5) !important;
	box-shadow: 0 26px 50px -24px rgba(var(--sc-accent-rgb), 0.55) !important;
}
.card-product .card-img-top {
	padding: 1.25rem;
	object-fit: contain;
	aspect-ratio: 1 / 1;
	background:
		radial-gradient(circle at 50% 62%, rgba(var(--sc-accent-rgb), 0.22), transparent 62%),
		linear-gradient(180deg, var(--sc-surface-2), var(--sc-surface)) !important;
	filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45));
	transition: transform 0.5s var(--sc-ease) !important;
}
.card-product:hover .card-img-top {
	transform: translateY(-6px) scale(1.05) rotate(-2deg) !important;
}
.card-product h3 {
	color: #fff;
	font-family: var(--sc-display);
}
.card-product .old-price {
	color: var(--sc-muted) !important;
}
.card-product .stock {
	font-family: var(--sc-pixel);
	letter-spacing: 0.04em;
}

/* store category tiles (flat store index) */
.store-section a.card {
	border-radius: calc(var(--sc-radius) + 2px) !important;
}
.store-section a.card .card-img-top {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.store-section a.card .card-title {
	font-size: 1.2rem;
}

/* forms in auth pages */
.auth-layout .card {
	backdrop-filter: blur(10px);
	background: rgba(15, 21, 38, 0.85) !important;
}
.sc-brand--auth {
	justify-content: center;
}

/* scrollbar */
* {
	scrollbar-color: rgba(var(--sc-accent-rgb), 0.45) transparent;
	scrollbar-width: thin;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
	background: rgba(var(--sc-accent-rgb), 0.35);
	border-radius: 10px;
	border: 2px solid var(--sc-bg);
}
::-webkit-scrollbar-track { background: transparent; }

/* header: the server address pill only where there is room for it (the hero shows it too) */
.sc-header__ip {
	display: none;
}
@media (min-width: 1600px) {
	.sc-header__ip {
		display: block;
	}
}
.sc-cmd-btn kbd,
kbd {
	white-space: nowrap;
}

/* ==========================================================================
   11. Hub tiles, hero artwork + emblem, credit section, header v2
   ========================================================================== */

/* ---- hero with the site's own artwork (Dashboard → Theme → Header Background) ---- */
.sc-hero__art-bg {
	position: absolute;
	inset: -40px;
	z-index: -4;
	overflow: hidden;
}
.sc-hero__art-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -10px), 0) scale(1.06);
	transition: transform 0.6s var(--sc-ease);
	filter: saturate(1.15) contrast(1.05);
	opacity: 0.55;
}
.sc-hero__art-bg::after {
	/* season color grade + vignette into the night background */
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, var(--sc-bg) 0%, rgba(7, 10, 18, 0.88) 32%, rgba(7, 10, 18, 0.35) 65%, rgba(7, 10, 18, 0.6) 100%),
		linear-gradient(180deg, rgba(7, 10, 18, 0.2) 0%, transparent 40%, var(--sc-bg) 96%),
		linear-gradient(0deg, rgba(var(--sc-accent-rgb), 0.18), rgba(var(--sc-accent-rgb), 0.18));
	mix-blend-mode: normal;
}
.sc-hero--art .sc-hero::before {
	opacity: 0.5;
}

/* emblem: the gold SC logo floating over the voxel world */
.sc-hero__art {
	isolation: isolate;
}
.sc-emblem {
	position: absolute;
	top: 0;
	left: 50%;
	width: clamp(120px, 13vw, 190px);
	aspect-ratio: 1;
	transform: translateX(-50%) translate3d(calc(var(--mx, 0) * 10px), calc(var(--my, 0) * 8px), 0);
	transition: transform 0.6s var(--sc-ease);
	z-index: 3;
	display: grid;
	place-items: center;
	animation: sc-emblem-in 1s var(--sc-ease) 0.4s both;
}
.sc-emblem__logo {
	position: relative;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 0 22px rgba(255, 196, 0, 0.45)) drop-shadow(0 16px 28px rgba(0, 0, 0, 0.6));
	animation: sc-float 6s ease-in-out infinite;
}
.sc-emblem__ring {
	position: absolute;
	inset: -14%;
	border-radius: 50%;
	border: 2px dashed rgba(var(--sc-accent-rgb), 0.35);
	animation: sc-spin 30s linear infinite;
}
.sc-emblem__ring--2 {
	inset: -28%;
	border: 1px solid rgba(255, 255, 255, 0.07);
	animation-duration: 50s;
	animation-direction: reverse;
	background: radial-gradient(circle, rgba(var(--sc-accent-rgb), 0.16), transparent 60%);
}
@keyframes sc-spin {
	to { transform: rotate(360deg); }
}
@keyframes sc-emblem-in {
	from { opacity: 0; transform: translateX(-50%) translateY(-30px) scale(0.8); }
}
.sc-hero__art:has(.sc-emblem) .sc-voxel {
	margin-top: clamp(90px, 9vw, 140px);
}

/* ---- hub tiles ---- */
.sc-hub {
	position: relative;
	z-index: 2;
	margin-top: -3.5rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-areas:
		'credit center launcher'
		'discord online support'
		'apply help help';
	grid-auto-rows: minmax(200px, auto);
	gap: 1rem;
}
.sc-tile {
	--t1: rgba(255, 255, 255, 0.06);
	--t2: transparent;
	--tc: var(--sc-accent);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 200px;
	padding: 1.4rem 1.5rem;
	border-radius: 22px;
	overflow: hidden;
	text-decoration: none !important;
	color: #fff !important;
	background:
		radial-gradient(120% 120% at 0% 0%, var(--t1), var(--t2) 60%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
		var(--sc-surface);
	border: 1px solid var(--sc-line);
	box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9);
	transition: border-color 0.3s, box-shadow 0.4s;
}
.sc-tile:hover {
	border-color: color-mix(in srgb, var(--tc) 55%, transparent);
	box-shadow: 0 30px 70px -36px color-mix(in srgb, var(--tc) 60%, transparent);
}
.sc-tile--yaz { --t1: rgba(251, 191, 36, 0.28); --tc: #fbbf24; }
.sc-tile--kis { --t1: rgba(56, 189, 248, 0.26); --tc: #7dd3fc; }
.sc-tile--ilkbahar { --t1: rgba(74, 222, 128, 0.24); --tc: #4ade80; }
.sc-tile--sonbahar { --t1: rgba(249, 115, 22, 0.26); --tc: #fb923c; }
.sc-tile--discord { --t1: rgba(88, 101, 242, 0.45); --tc: #8b95ff; }
.sc-tile--red { --t1: rgba(239, 68, 68, 0.26); --tc: #f87171; }
.sc-tile__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
}
.sc-tile__title {
	font-family: var(--sc-display);
	font-weight: 800;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	letter-spacing: -0.02em;
	line-height: 1.1;
}
.sc-tile__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: var(--sc-pixel);
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--tc) 22%, rgba(0, 0, 0, 0.4));
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--tc) 50%, transparent) inset, 0 0 22px color-mix(in srgb, var(--tc) 40%, transparent);
	white-space: nowrap;
}
.sc-tile__big {
	font-size: 2.4rem;
	color: var(--tc);
	line-height: 1;
	margin-top: 0.5rem;
	filter: drop-shadow(0 0 18px color-mix(in srgb, var(--tc) 60%, transparent));
}
.sc-tile__art {
	position: absolute !important;
	right: -18px;
	bottom: -22px;
	z-index: 0 !important;
	opacity: 0.95;
	transform: rotate(-8deg);
	filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.55));
	transition: transform 0.5s var(--sc-ease);
	image-rendering: pixelated;
}
.sc-tile__art svg {
	width: clamp(110px, 11vw, 150px);
	height: auto;
}
.sc-tile:hover .sc-tile__art {
	transform: rotate(0deg) translate(-6px, -10px) scale(1.06);
}
.sc-tile__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.5rem;
}
.sc-tile__sub {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.72);
	max-width: 70%;
}
.sc-tile__go {
	flex: none;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(6px);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
	font-size: 1.15rem;
	transition: background 0.25s, color 0.25s, transform 0.3s var(--sc-ease);
}
.sc-tile:hover .sc-tile__go {
	background: var(--tc);
	color: #0b1020;
	transform: rotate(-45deg);
}
.sc-tile--discord:hover .sc-tile__go,
.sc-tile[href^='http']:hover .sc-tile__go {
	transform: none;
}
.sc-tile__shine {
	position: absolute !important;
	inset: 0;
	z-index: 0 !important;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.08) 45%, transparent 60%);
	background-size: 250% 100%;
	background-position: 120% 0;
	transition: background-position 0.9s var(--sc-ease);
	pointer-events: none;
}
.sc-tile:hover .sc-tile__shine {
	background-position: -40% 0;
}
.sc-tile--center {
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	background:
		radial-gradient(circle at 50% 40%, rgba(var(--sc-accent-rgb), 0.22), transparent 65%),
		var(--sc-surface);
}
.sc-tile__center-art {
	position: relative;
	display: grid;
	place-items: center;
}
.sc-tile__logo {
	width: clamp(110px, 11vw, 150px);
	height: auto;
	position: relative;
	z-index: 1;
	filter: drop-shadow(0 0 20px rgba(255, 196, 0, 0.35));
	animation: sc-float 6s ease-in-out infinite;
}
.sc-tile__halo {
	position: absolute;
	inset: -30%;
	border-radius: 50%;
	border: 2px dashed rgba(var(--sc-accent-rgb), 0.3);
	animation: sc-spin 40s linear infinite;
}
.sc-tile--center .sc-ip {
	width: 100%;
	justify-content: space-between;
}
.sc-tile--online {
	align-items: center;
	justify-content: center;
	text-align: center;
	background:
		radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.14), transparent 60%),
		var(--sc-surface);
}
.sc-tile__count {
	font-family: var(--sc-display);
	font-weight: 800;
	font-size: clamp(3rem, 6vw, 4.6rem);
	line-height: 1;
	background: linear-gradient(180deg, #fff, var(--sc-accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	letter-spacing: -0.04em;
}
.sc-tile__count-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.6rem;
	color: var(--sc-muted);
	font-size: 0.9rem;
}
@media (max-width: 991.98px) {
	.sc-hub {
		margin-top: -2rem;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-areas:
			'center center'
			'credit launcher'
			'discord online'
			'support apply'
			'help help';
	}
}
@media (max-width: 575.98px) {
	.sc-hub {
		grid-template-columns: 1fr;
		grid-template-areas: 'center' 'credit' 'online' 'discord' 'launcher' 'support' 'apply' 'help';
		grid-auto-rows: auto;
	}
	.sc-tile {
		min-height: 160px;
	}
}

/* ---- credit section ---- */
.sc-credit {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
	padding: clamp(1.5rem, 4vw, 3rem);
	border-radius: 26px;
	background:
		radial-gradient(600px 300px at 100% 0%, rgba(251, 191, 36, 0.14), transparent 70%),
		radial-gradient(500px 260px at 0% 100%, rgba(var(--sc-accent-rgb), 0.12), transparent 70%),
		var(--sc-surface);
	border: 1px solid var(--sc-line);
	overflow: hidden;
	position: relative;
}
.sc-section__sub--left {
	margin-left: 0;
	text-align: left;
}
.sc-flow {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	position: relative;
}
.sc-flow::before {
	content: '';
	position: absolute;
	left: 25px;
	top: 26px;
	bottom: 26px;
	width: 2px;
	background: repeating-linear-gradient(to bottom, rgba(var(--sc-accent-rgb), 0.5) 0 6px, transparent 6px 12px);
}
.sc-flow li {
	display: flex;
	align-items: center;
	gap: 1rem;
	position: relative;
}
.sc-flow__icon {
	width: 52px;
	height: 52px;
	flex: none;
	display: grid;
	place-items: center;
	background: var(--sc-surface-3);
	clip-path: var(--sc-notch);
	box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.3) inset;
}
.sc-flow strong {
	display: block;
	color: #fff;
}
.sc-flow small {
	color: var(--sc-muted);
}
.sc-credit__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}
.sc-credit__balance {
	color: var(--sc-muted);
}
.sc-credit__balance strong {
	color: var(--sc-accent);
	font-family: var(--sc-pixel);
}
.sc-packs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
}
.sc-pack {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.25rem;
	padding: 1.2rem 1rem 1.1rem;
	border-radius: 18px;
	background: linear-gradient(180deg, var(--sc-surface-2), var(--sc-surface));
	border: 1px solid var(--sc-line-strong);
	color: #fff !important;
	text-decoration: none !important;
	overflow: hidden;
}
.sc-pack.is-best {
	border-color: rgba(251, 191, 36, 0.6);
	box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.35) inset, 0 20px 50px -24px rgba(251, 191, 36, 0.6);
}
.sc-pack__ribbon {
	position: absolute !important;
	top: 12px;
	right: -34px;
	transform: rotate(35deg);
	background: linear-gradient(90deg, #fbbf24, #f59e0b);
	color: #1c1202;
	font-family: var(--sc-pixel);
	font-size: 0.68rem;
	padding: 0.2rem 2.4rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.sc-pack__img {
	width: 84px;
	height: 84px;
	object-fit: contain;
	margin-bottom: 0.35rem;
	filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.45));
	transition: transform 0.4s var(--sc-ease);
}
.sc-pack:hover .sc-pack__img {
	transform: translateY(-6px) rotate(-4deg) scale(1.06);
}
.sc-pack__name {
	font-weight: 700;
}
.sc-pack__amount {
	font-family: var(--sc-pixel);
	color: var(--sc-accent);
	font-size: 1.1rem;
}
.sc-pack__amount em {
	display: block;
	font-style: normal;
	font-size: 0.75rem;
	color: #4ade80;
}
.sc-pack__price {
	margin-top: 0.4rem;
	font-weight: 800;
	font-size: 1.05rem;
}
.sc-pack__price s {
	color: var(--sc-muted);
	font-weight: 500;
	margin-right: 0.35rem;
	font-size: 0.85rem;
}
.sc-credit__art {
	display: grid;
	place-items: center;
	min-height: 260px;
}
.sc-coin-stack {
	position: relative;
	display: grid;
	place-items: center;
}
.sc-coin-stack__gem {
	position: relative;
	z-index: 1;
	animation: sc-float 5s ease-in-out infinite;
	filter: drop-shadow(0 0 30px rgba(62, 232, 165, 0.5)) drop-shadow(0 24px 24px rgba(0, 0, 0, 0.5));
	width: clamp(140px, 16vw, 220px);
	height: auto;
}
.sc-coin-stack__glow {
	position: absolute;
	inset: -40%;
	background: radial-gradient(circle, rgba(62, 232, 165, 0.25), transparent 60%);
	animation: sc-sun 5s ease-in-out infinite;
}
@media (max-width: 991.98px) {
	.sc-credit {
		grid-template-columns: 1fr;
	}
}

/* empty states with pixel art */
.sc-empty svg {
	margin-bottom: 0.75rem;
	opacity: 0.85;
}

/* ---- header v2: glass dock navigation ---- */
.sc-header.navbar {
	min-height: 78px;
	background:
		linear-gradient(180deg, rgba(7, 10, 18, 0.92), rgba(7, 10, 18, 0.7)) !important;
}
.sc-header.navbar::after {
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, var(--sc-accent) 20%, var(--sc-accent-2) 50%, var(--sc-accent) 80%, transparent 100%);
	background-size: 200% 100%;
	animation: sc-ribbon 8s linear infinite;
	opacity: 0.7;
}
@keyframes sc-ribbon {
	to { background-position: -200% 0; }
}
.sc-header__inner {
	min-height: 78px;
}
.sc-brand__logo {
	height: 46px;
	filter: drop-shadow(0 0 14px rgba(255, 196, 0, 0.35));
}
.sc-brand__name {
	background: linear-gradient(90deg, #fff, var(--sc-accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: 1.3rem;
}
.sc-brand__slogan {
	font-family: var(--sc-pixel);
	letter-spacing: 0.04em;
}
.sc-brand__mark {
	width: 40px;
	height: 40px;
	background:
		linear-gradient(var(--sc-block-top) 0 38%, var(--sc-block-top-2) 38% 46%, var(--sc-dirt) 46%);
	box-shadow: inset -7px -7px 0 rgba(0, 0, 0, 0.22), 0 0 22px rgba(var(--sc-accent-rgb), 0.35);
	clip-path: var(--sc-notch);
}
@media (min-width: 992px) {
	.sc-nav {
		display: flex !important;
		justify-content: center;
	}
	.sc-nav__list {
		padding: 5px !important;
		border-radius: 16px;
		background: rgba(255, 255, 255, 0.035);
		box-shadow: 0 0 0 1px var(--sc-line) inset, 0 10px 30px -18px rgba(0, 0, 0, 0.8);
		gap: 2px !important;
	}
	.sc-header .nav-link {
		border-radius: 12px !important;
		padding: 0.5rem 0.9rem !important;
		color: #aab2c8 !important;
		transition: color 0.2s, background 0.25s;
	}
	.sc-header .nav-link:hover {
		background: rgba(255, 255, 255, 0.06) !important;
	}
	.sc-header .nav-item.active > .nav-link {
		color: #fff !important;
		background:
			linear-gradient(180deg, rgba(var(--sc-accent-rgb), 0.22), rgba(var(--sc-accent-rgb), 0.08)) !important;
		box-shadow: 0 0 0 1px rgba(var(--sc-accent-rgb), 0.4) inset, 0 8px 24px -10px rgba(var(--sc-accent-rgb), 0.7);
	}
	.sc-header .nav-item.active > .nav-link::after {
		bottom: -6px;
		width: 22px;
		height: 3px;
		border-radius: 3px;
	}
	.sc-header .nav-item.active .sc-nav__icon {
		color: #fff;
		opacity: 1;
	}
}
.sc-auth .sc-btn--primary {
	background: linear-gradient(180deg, color-mix(in srgb, var(--sc-accent) 85%, #fff), var(--sc-accent));
}
.sc-auth .sc-btn {
	--pad-y: 0.7rem;
}

/* hub fixes: art sits above the arrow, center pill fits, big icons really big */
.sc-tile__art {
	right: 14px !important;
	bottom: 58px !important;
	transform: rotate(-8deg);
}
.sc-tile__art svg {
	width: clamp(84px, 8vw, 112px) !important;
}
.sc-tile:hover .sc-tile__art {
	transform: rotate(0deg) translateY(-8px) scale(1.08);
}
.sc-tile__big .ti {
	font-size: 2.6rem !important;
	line-height: 1;
}
.sc-tile__foot {
	position: relative;
	z-index: 2;
}
.sc-tile--center .sc-ip {
	max-width: 100%;
}
.sc-tile--center .sc-ip__addr {
	font-size: 0.82rem;
	padding: 0 0.7rem;
	min-width: 0;
}
.sc-tile--center .sc-ip__action {
	padding: 0 0.75rem;
}
.sc-user__credits,
.sc-user__name {
	white-space: nowrap;
}
@media (max-width: 1199.98px) {
	.sc-tile--center .sc-ip__action {
		font-size: 0;
		gap: 0;
	}
	.sc-tile--center .sc-ip__action .ti {
		font-size: 1.1rem;
	}
}

/* phones: header on one row (brand · search · account · menu) */
@media (max-width: 575.98px) {
	.sc-header__inner {
		gap: 0.5rem;
		flex-wrap: wrap;
	}
	.sc-brand {
		flex: 1 1 auto;
		min-width: 0;
		margin-right: 0;
	}
	.sc-brand__logo {
		height: 38px;
	}
	.sc-brand__name {
		font-size: 1.1rem;
	}
	.sc-header__right {
		gap: 0.4rem;
	}
	.sc-auth .sc-btn span,
	.sc-user__meta {
		display: none !important;
	}
	.sc-auth .sc-btn {
		--pad-x: 0.7rem;
	}
	.sc-burger {
		width: 40px;
		height: 40px;
	}
}

/* ---- maintenance screen ---- */
.sc-maint {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 3rem 1.25rem;
	overflow: clip;
	isolation: isolate;
	text-align: center;
}
.sc-maint .sc-particles {
	z-index: -1;
}
.sc-maint__bg {
	position: fixed !important;
}
.sc-maint__bg::after {
	background:
		radial-gradient(ellipse at center, rgba(7, 10, 18, 0.55) 0%, rgba(7, 10, 18, 0.92) 70%),
		linear-gradient(0deg, rgba(var(--sc-accent-rgb), 0.15), rgba(var(--sc-accent-rgb), 0.15)) !important;
}
.sc-maint__box {
	max-width: 620px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: clamp(1.75rem, 5vw, 3rem);
	border-radius: 28px;
	background: rgba(12, 17, 31, 0.72);
	backdrop-filter: blur(16px);
	border: 1px solid var(--sc-line-strong);
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
	animation: sc-rise 0.6s var(--sc-ease);
}
.sc-maint__logo {
	width: clamp(110px, 18vw, 160px);
	height: auto;
	filter: drop-shadow(0 0 26px rgba(255, 196, 0, 0.45));
	animation: sc-float 6s ease-in-out infinite;
}
.sc-maint__title {
	margin: 0;
	font-size: clamp(1.9rem, 5vw, 3rem);
	font-weight: 800;
	background: linear-gradient(100deg, #fff 20%, var(--sc-accent) 70%, var(--sc-accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.sc-maint__text {
	color: #b9c0d4;
	margin: 0 0 0.5rem;
	max-width: 32rem;
}
.sc-maint__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 0.5rem;
}
.sc-maint__powered {
	margin-top: 2rem;
	font-size: 0.85rem;
	color: var(--sc-muted);
}

/* real-data fixes: idle server (0 online) and the countdown on its own line */
.sc-kicker--idle {
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 0 0 1px var(--sc-line-strong) inset;
	color: var(--sc-text);
}
.sc-kicker--idle .ti {
	color: var(--sc-accent);
}
.sc-tile__version {
	margin-top: 0.6rem;
	font-family: var(--sc-display);
	font-weight: 800;
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	color: #fff;
	letter-spacing: -0.02em;
}
.sc-countdown {
	display: flex;
	width: max-content;
}

/* ---- credit top-up page ---- */
.sc-page-head {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	margin: 1.25rem 0 1.75rem;
}
.sc-page-head__icon {
	width: 76px;
	height: 76px;
	flex: none;
	display: grid;
	place-items: center;
	background: radial-gradient(circle, rgba(62, 232, 165, 0.22), transparent 70%), var(--sc-surface-2);
	clip-path: var(--sc-notch);
}
.sc-page-head__title {
	margin: 0;
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	font-weight: 800;
	color: #fff;
}
.sc-page-head__sub {
	margin: 0.25rem 0 0;
	color: var(--sc-muted);
}
.sc-credit-page__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 1.25rem;
	align-items: start;
}
@media (max-width: 991.98px) {
	.sc-credit-page__grid {
		grid-template-columns: 1fr;
	}
}
.sc-banner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1.1rem;
	margin-bottom: 1rem;
	border-radius: 14px;
	background: linear-gradient(90deg, rgba(251, 191, 36, 0.18), rgba(251, 191, 36, 0.05));
	box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.35) inset;
	color: #fde68a;
}
.sc-banner .ti {
	font-size: 1.4rem;
}
.sc-charge {
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: 22px;
	background:
		radial-gradient(500px 220px at 100% 0%, rgba(var(--sc-accent-rgb), 0.12), transparent 70%),
		var(--sc-surface);
	border: 1px solid var(--sc-line);
}
.sc-charge__step {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0.5rem 0 0.85rem;
}
.sc-charge__step:not(:first-child) {
	margin-top: 1.6rem;
}
.sc-charge__num {
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	font-family: var(--sc-pixel);
	background: var(--sc-accent);
	color: var(--sc-on-accent);
	clip-path: var(--sc-notch);
	flex: none;
}
.sc-charge__label {
	font-family: var(--sc-display);
	font-weight: 700;
	font-size: 1.15rem;
	color: #fff;
	margin: 0;
}
.sc-charge__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}
.sc-chip {
	border: 0;
	padding: 0.55rem 0.95rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 0 0 1px var(--sc-line-strong) inset;
	color: var(--sc-text);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.sc-chip:hover {
	background: rgba(255, 255, 255, 0.09);
	transform: translateY(-1px);
}
.sc-chip.is-on {
	background: var(--sc-accent);
	color: var(--sc-on-accent);
	box-shadow: 0 8px 20px -8px rgba(var(--sc-accent-rgb), 0.8);
}
.sc-charge__amount {
	position: relative;
	display: flex;
	align-items: center;
	border-radius: 14px;
	background: var(--sc-bg-2);
	box-shadow: 0 0 0 1px var(--sc-line-strong) inset;
	transition: box-shadow 0.2s;
}
.sc-charge__amount:focus-within {
	box-shadow: 0 0 0 2px var(--sc-accent) inset, 0 0 0 5px rgba(var(--sc-accent-rgb), 0.15);
}
.sc-charge__amount input {
	flex: 1;
	min-width: 0;
	background: transparent;
	border: 0;
	outline: none !important;
	color: #fff;
	font-family: var(--sc-display);
	font-weight: 800;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	padding: 0.75rem 1.1rem;
}
.sc-charge__amount input::placeholder {
	font-family: var(--sc-font);
	font-weight: 500;
	font-size: 1rem;
	color: var(--sc-muted);
}
.sc-charge__amount input::-webkit-outer-spin-button,
.sc-charge__amount input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.sc-charge__cur {
	padding: 0 1.1rem;
	font-family: var(--sc-pixel);
	color: var(--sc-accent);
	font-size: 1.2rem;
}
.sc-charge__hint {
	margin: 0.5rem 0 0;
	font-size: 0.82rem;
	color: var(--sc-muted);
}
.sc-pay {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 0.6rem;
}
.sc-pay__opt {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	box-shadow: 0 0 0 1px var(--sc-line-strong) inset;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s;
	margin: 0;
}
.sc-pay__opt input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.sc-pay__opt .ti {
	font-size: 1.3rem;
	color: var(--sc-muted);
}
.sc-pay__opt.is-on {
	background: rgba(var(--sc-accent-rgb), 0.1);
	box-shadow: 0 0 0 2px var(--sc-accent) inset;
}
.sc-pay__opt.is-on .ti {
	color: var(--sc-accent);
}
.sc-pay__opt:focus-within {
	outline: 2px solid var(--sc-accent);
	outline-offset: 2px;
}
.sc-pay__title {
	font-weight: 700;
	color: #fff;
}
.sc-pay__fee {
	margin-left: auto;
	font-size: 0.75rem;
	color: var(--sc-muted);
}
.sc-charge__empty {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	padding: 1rem 1.1rem;
	border-radius: 14px;
	background: rgba(251, 146, 60, 0.08);
	box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.3) inset;
}
.sc-charge__empty .ti {
	font-size: 1.5rem;
	color: #fb923c;
}
.sc-charge__empty strong {
	display: block;
	color: #fff;
}
.sc-charge__empty span {
	color: var(--sc-muted);
	font-size: 0.9rem;
}
.sc-charge__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px dashed var(--sc-line-strong);
}
.sc-charge__get-label {
	display: block;
	font-size: 0.82rem;
	color: var(--sc-muted);
}
.sc-charge__get {
	font-family: var(--sc-display);
	font-weight: 800;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	color: #fff;
	line-height: 1.1;
}
.sc-charge__get small {
	font-size: 0.9rem;
	color: var(--sc-accent);
	font-family: var(--sc-pixel);
}
.sc-charge__bonus {
	display: block;
	font-size: 0.8rem;
	color: #4ade80;
}
.sc-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	transform: none !important;
	filter: grayscale(0.4);
}
.sc-credit-page__side {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.sc-balance {
	position: relative;
	padding: 1.4rem;
	border-radius: 22px;
	overflow: hidden;
	background:
		radial-gradient(300px 160px at 100% 0%, rgba(62, 232, 165, 0.25), transparent 70%),
		linear-gradient(135deg, #0f2a24, var(--sc-surface));
	border: 1px solid rgba(62, 232, 165, 0.3);
}
.sc-balance__label {
	display: block;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.85rem;
}
.sc-balance__value {
	display: block;
	font-family: var(--sc-display);
	font-weight: 800;
	font-size: 2.2rem;
	color: #fff;
	margin: 0.2rem 0 0.8rem;
}
.sc-balance__user {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	color: #d1fae5;
}
.sc-balance__user img {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	image-rendering: pixelated;
}
.sc-side-card {
	padding: 1.25rem;
	border-radius: 18px;
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
}
.sc-side-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
}
.sc-side-card__title {
	font-size: 1.05rem;
	color: #fff;
	margin: 0 0 0.75rem;
}
.sc-side-card__head .sc-side-card__title {
	margin: 0;
}
.sc-side-card__empty {
	margin: 0;
	color: var(--sc-muted);
	font-size: 0.9rem;
}
.sc-flow--compact {
	margin: 0;
}
.sc-flow--compact .sc-flow__icon {
	width: 42px;
	height: 42px;
}
.sc-flow--compact::before {
	left: 20px;
}
.sc-history {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
.sc-history li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #4ade80;
	font-family: var(--sc-pixel);
}

/* header: never let the brand shrink under the menu dock; drop extras before anything collides */
.sc-brand {
	flex-shrink: 0;
}
.sc-nav {
	min-width: 0;
}
.sc-brand__slogan {
	max-width: 160px;
}
@media (max-width: 1899.98px) {
	.sc-header__ip {
		display: none !important;
	}
}
@media (min-width: 992px) and (max-width: 1499.98px) {
	.sc-brand__slogan {
		display: none;
	}
	.sc-nav__icon {
		display: none;
	}
	.sc-header .nav-link {
		padding: 0.5rem 0.65rem !important;
	}
}
@media (min-width: 992px) and (max-width: 1199.98px) {
	.sc-brand__name {
		display: none;
	}
}

/* "coming soon" tile (launcher not released yet): not a link, calmer look */
.sc-tile--soon {
	cursor: default;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 14px, transparent 14px 28px),
		radial-gradient(120% 120% at 0% 0%, var(--t1), var(--t2) 60%),
		var(--sc-surface) !important;
}
.sc-tile--soon .sc-tile__art {
	filter: grayscale(0.6) drop-shadow(0 20px 24px rgba(0, 0, 0, 0.55));
	opacity: 0.6;
}
.sc-tile--soon:hover .sc-tile__art {
	transform: rotate(-8deg);
}
.sc-tile--soon .sc-tile__sub {
	max-width: 85%;
}
.sc-tile--soon .sc-tile__badge .ti {
	font-size: 0.9rem;
}

/* ==========================================================================
   12. Hero + hub polish: emblem in flow, hero facts, textured tiles
   ========================================================================== */
/* emblem sits above the island (was absolute and got clipped under the header) */
.sc-emblem {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	margin: 0 auto calc(var(--emblem-pull, -34px));
	transform: translate3d(calc(var(--mx, 0) * 10px), calc(var(--my, 0) * 8px), 0) !important;
	width: clamp(110px, 10vw, 160px) !important;
	animation: sc-emblem-in2 1s var(--sc-ease) 0.3s both !important;
}
@keyframes sc-emblem-in2 {
	from { opacity: 0; translate: 0 -24px; scale: 0.85; }
}
.sc-hero__art:has(.sc-emblem) .sc-voxel {
	margin-top: 0 !important;
}
.sc-hero__art:has(.sc-emblem) .sc-voxel__float {
	padding-top: calc(var(--s) * 0.9);
}
.sc-hero {
	padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

/* hero facts row */
.sc-hero__facts {
	list-style: none;
	padding: 0;
	margin: 1.4rem 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.1rem;
}
.sc-hero__facts li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.88rem;
	color: #c9cfdf;
}
.sc-hero__facts svg {
	flex: none;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

/* tiles: own color texture, accent line, art that jumps out */
.sc-tile__big {
	display: none !important;
}
.sc-tile {
	background:
		linear-gradient(90deg, transparent, color-mix(in srgb, var(--tc) 70%, transparent), transparent) top / 100% 2px no-repeat,
		radial-gradient(120% 120% at 0% 0%, var(--t1), var(--t2) 60%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
		var(--sc-surface);
}
.sc-tile::before {
	/* pixel grid texture in the tile color, fading toward the art corner */
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(color-mix(in srgb, var(--tc) 14%, transparent) 1px, transparent 1px),
		linear-gradient(90deg, color-mix(in srgb, var(--tc) 14%, transparent) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: radial-gradient(circle at 85% 80%, #000 0%, transparent 60%);
	-webkit-mask-image: radial-gradient(circle at 85% 80%, #000 0%, transparent 60%);
	opacity: 0.8;
	transition: opacity 0.4s;
}
.sc-tile:hover::before {
	opacity: 1;
}
.sc-tile > * {
	position: relative;
	z-index: 1;
}
.sc-tile__art {
	right: 76px !important;
	bottom: 58% !important;
	transform: translateY(50%) rotate(-10deg) !important;
	transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s !important;
}
.sc-tile__art svg {
	width: clamp(84px, 8vw, 112px) !important;
}
.sc-tile:not(.sc-tile--soon):hover .sc-tile__art {
	transform: translateY(42%) rotate(0deg) scale(1.16) !important;
	filter: drop-shadow(0 0 24px color-mix(in srgb, var(--tc) 55%, transparent)) drop-shadow(0 22px 22px rgba(0, 0, 0, 0.5));
}
.sc-tile__art::after {
	/* soft glow puddle under the item */
	content: '';
	position: absolute;
	left: 10%;
	right: 10%;
	bottom: -14px;
	height: 18px;
	border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--tc) 45%, transparent), transparent);
	z-index: -1;
}
.sc-tile__title {
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.sc-tile__sub {
	max-width: 58%;
}
.sc-tile--center::before,
.sc-tile--online::before {
	mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 65%);
	-webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 65%);
}
.sc-tile--center,
.sc-tile--online {
	--tc: var(--sc-accent);
}
.sc-tile--online svg {
	animation: sc-float 5s ease-in-out infinite;
	filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.5));
}
@media (max-width: 575.98px) {
	.sc-tile__art svg {
		width: 84px !important;
	}
	.sc-tile__sub {
		max-width: 62%;
	}
}

.sc-tile:has(.sc-tile__badge) .sc-tile__art {
	bottom: 48% !important;
}
@media (max-width: 575.98px) {
	.sc-tile__art {
		right: 64px !important;
	}
}

/* ---------- 9. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
