/*
Theme Name: GamesBolt
Theme URI: https://gamesbolt.net
Author: Aura Games
Description: The GamesBolt website theme — free games and discounted development assets, matching the Android app.
Version: 1.4.0
Requires at least: 6.4
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: gamesbolt
*/

/* ==========================================================================
   Design tokens
   Green is reserved for the FREE pill. It has no second use anywhere.
   ========================================================================== */

:root {
	--bg:            #05070F;
	--panel:         #0E1424;
	--panel-2:       #141C31;
	--line:          #1E2740;

	--ink:           #EEF2FF;
	--ink-2:         #A8B3D0;
	--ink-3:         #6B769A;

	--accent:        #00E5FF;
	--accent-dim:    #00A6BC;
	--free:          #2BFF88;
	--urgent:        #FF3D6E;
	--highlight:     #FF2E97;

	--radius:        14px;
	--radius-sm:     8px;
	--radius-pill:   999px;

	--shadow:        0 2px 4px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.35);
	--shadow-lift:   0 4px 8px rgba(0,0,0,.45), 0 20px 48px rgba(0,0,0,.5);

	--wrap:          1220px;
	--gap:           clamp(14px, 2.2vw, 22px);

	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
	        "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	line-height: 1.18;
	font-weight: 700;
	letter-spacing: -.02em;
}
h1 { font-size: clamp(1.75rem, 4.2vw, 2.75rem); }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
h3 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: -9999px;
	background: var(--accent); color: #001018;
	padding: 10px 16px; border-radius: var(--radius-sm);
	font-weight: 700; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ==========================================================================
   Layout
   ========================================================================== */

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: clamp(14px, 3vw, 28px);
}

.section { padding-block: clamp(28px, 5vw, 52px); }
.section--tight { padding-block: clamp(18px, 3vw, 28px); }

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: var(--gap);
	flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head .more { font-size: .9rem; font-weight: 600; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-3);
	margin-bottom: 10px;
}
.eyebrow::before {
	content: "";
	width: 18px; height: 2px;
	background: var(--accent);
	border-radius: 2px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(5,7,15,.86);
	backdrop-filter: saturate(150%) blur(12px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: clamp(12px, 2vw, 28px);
	min-height: 62px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: -.03em;
	color: var(--ink);
	flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand .bolt { color: var(--accent); }

.brand-mark {
	width: 32px;
	height: 32px;
	object-fit: contain;
	flex-shrink: 0;
	filter: drop-shadow(0 0 12px rgba(0, 229, 255, .28));
}
.brand-word { white-space: nowrap; }

/* Below ~420px the wordmark is what gets dropped, not the mark. */
@media (max-width: 419px) {
	.brand-word { display: none; }
}

/* ==========================================================================
   Long-form legal pages
   ========================================================================== */

.prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.4em;
	font-size: .9rem;
	display: block;
	overflow-x: auto;
}
.prose th,
.prose td {
	border: 1px solid var(--line);
	padding: 9px 12px;
	text-align: left;
	vertical-align: top;
}
.prose th { background: var(--panel-2); color: var(--ink); font-weight: 700; }
.prose h2 { margin-top: 1.8em; padding-top: .4em; border-top: 1px solid var(--line); }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-bottom: .45em; }

.nav {
	display: none;
	gap: 4px;
	margin-left: auto;
}
.nav a {
	color: var(--ink-2);
	font-weight: 600;
	font-size: .92rem;
	padding: 8px 12px;
	border-radius: var(--radius-sm);
}
.nav a:hover,
.nav a[aria-current="page"] {
	color: var(--ink);
	background: var(--panel-2);
	text-decoration: none;
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav + .header-actions { margin-left: 0; }

@media (min-width: 860px) {
	.nav { display: flex; }
}

/* Mobile nav */
.nav-toggle {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--panel-2);
	border: 1px solid var(--line);
	color: var(--ink);
	border-radius: var(--radius-sm);
	padding: 8px 12px;
	font: inherit;
	font-size: .85rem;
	font-weight: 600;
	cursor: pointer;
}
@media (min-width: 860px) { .nav-toggle { display: none; } }

.mobile-nav {
	border-top: 1px solid var(--line);
	background: var(--panel);
	padding: 10px clamp(14px, 3vw, 28px) 16px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
	display: block;
	padding: 11px 4px;
	color: var(--ink-2);
	font-weight: 600;
	border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-of-type { border-bottom: 0; }

/* ==========================================================================
   Search
   ========================================================================== */

.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	background: var(--panel-2);
	border: 1px solid var(--line);
	color: var(--ink);
	border-radius: var(--radius-pill);
	padding: 9px 16px;
	font: inherit;
	font-size: .92rem;
}
.search-form input::placeholder { color: var(--ink-3); }
.search-form input:focus { border-color: var(--accent-dim); outline: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	padding: 11px 22px;
	font: inherit;
	font-weight: 700;
	font-size: .95rem;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary {
	background: var(--accent);
	color: #00141A;
	box-shadow: 0 6px 20px rgba(0,229,255,.22);
}
.btn--primary:hover { box-shadow: 0 10px 28px rgba(0,229,255,.3); }

.btn--ghost {
	background: transparent;
	border-color: var(--line);
	color: var(--ink);
}
.btn--ghost:hover { border-color: var(--accent-dim); background: var(--panel-2); }

.btn--block { width: 100%; }
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }

/* ==========================================================================
   Pills and badges
   ========================================================================== */

.pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: var(--radius-pill);
	padding: 4px 11px;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1.6;
	white-space: nowrap;
}

/* Green exists only here. */
.pill--free { background: var(--free); color: #002B12; }

.pill--store {
	background: rgba(5,7,15,.82);
	color: var(--ink);
	border: 1px solid var(--line);
	backdrop-filter: blur(6px);
}
.pill--price { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); }
.pill--discount { background: var(--highlight); color: #2B0016; }
.pill--drm { background: transparent; color: var(--ink-3); border: 1px solid var(--line); }

.countdown {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .8rem;
	font-weight: 700;
	color: var(--ink-2);
}
.countdown::before {
	content: "";
	width: 6px; height: 6px;
	border-radius: 50%;
	background: currentColor;
	flex-shrink: 0;
}
.countdown--urgent { color: var(--urgent); }
.countdown--urgent::before { animation: pulse 1.8s ease-in-out infinite; }

@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:.25 } }
@media (prefers-reduced-motion: reduce) {
	.countdown--urgent::before { animation: none; }
	.btn:hover { transform: none; }
	html { scroll-behavior: auto; }
}

/* ==========================================================================
   Cards
   ========================================================================== */

.grid {
	display: grid;
	gap: var(--gap);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.card:hover {
	transform: translateY(-3px);
	border-color: var(--accent-dim);
	box-shadow: var(--shadow-lift);
}
.card--urgent { border-color: rgba(255,61,110,.4); }

.card-art {
	position: relative;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, var(--panel-2), #0A0F1C);
	overflow: hidden;
}
.card-art img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}
.card:hover .card-art img { transform: scale(1.04); }

/* Placeholder when a hot-linked CDN image is missing or fails to load. */
.card-art--empty {
	display: grid;
	place-items: center;
	color: var(--ink-3);
	font-weight: 800;
	font-size: .78rem;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.card-art-top {
	position: absolute;
	inset: 10px 10px auto;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	pointer-events: none;
}

.card-body {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding: 14px 15px 16px;
	flex: 1;
}

.card-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.32;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--accent); text-decoration: none; }

.card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 4px;
}

.price { display: inline-flex; align-items: baseline; gap: 8px; }
.price s { color: var(--ink-3); font-size: .85rem; }
.price .now { font-weight: 800; }

/* Whole card is clickable, but the real link stays keyboard-navigable. */
.card-link::after { content: ""; position: absolute; inset: 0; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
	position: relative;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--panel);
	display: grid;
}
@media (min-width: 820px) {
	.hero { grid-template-columns: 1.15fr 1fr; }
}

.hero-art {
	position: relative;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, var(--panel-2), #080C17);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(5,7,15,.75), transparent 55%);
}
@media (min-width: 820px) {
	.hero-art { aspect-ratio: auto; height: 100%; }
	.hero-art::after {
		background: linear-gradient(to right, transparent 40%, rgba(14,20,36,.9));
	}
}

.hero-body {
	padding: clamp(20px, 3.5vw, 40px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
}
.hero-body h1 { margin: 0; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ==========================================================================
   Store chips
   ========================================================================== */

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	padding: 8px 16px;
	color: var(--ink-2);
	font-weight: 600;
	font-size: .9rem;
}
.chip:hover { border-color: var(--accent-dim); color: var(--ink); text-decoration: none; }
.chip .count { color: var(--ink-3); font-size: .8rem; font-weight: 700; }

/* ==========================================================================
   Single offer
   ========================================================================== */

.offer { display: grid; gap: clamp(20px, 3vw, 36px); }
@media (min-width: 900px) {
	.offer { grid-template-columns: minmax(0,1.35fr) minmax(300px,.8fr); align-items: start; }
}

.offer-art {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--panel-2);
	aspect-ratio: 16/9;
}
.offer-art img { width: 100%; height: 100%; object-fit: cover; }

.offer-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }

.panel {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(18px, 2.5vw, 26px);
}
.panel + .panel { margin-top: var(--gap); }
.panel h2, .panel h3 { margin-top: 0; }

.claim-price {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding-bottom: 14px;
	margin-bottom: 14px;
	border-bottom: 1px solid var(--line);
}
.claim-price .now { font-size: 1.7rem; font-weight: 800; }
.claim-price .now--free { color: var(--free); }
.claim-price s { color: var(--ink-3); font-size: 1rem; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
	counter-increment: step;
	position: relative;
	padding-left: 38px;
	margin-bottom: 13px;
	color: var(--ink-2);
	font-size: .94rem;
}
.steps li::before {
	content: counter(step);
	position: absolute;
	left: 0; top: 1px;
	width: 25px; height: 25px;
	display: grid; place-items: center;
	background: var(--panel-2);
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--accent);
	font-size: .78rem;
	font-weight: 800;
}

.spec { display: grid; gap: 10px; }
.spec div { display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; }
.spec dt { color: var(--ink-3); }
.spec dd { margin: 0; color: var(--ink-2); text-align: right; font-weight: 600; }

.notice {
	border: 1px solid var(--line);
	border-left: 3px solid var(--ink-3);
	border-radius: var(--radius-sm);
	background: var(--panel-2);
	padding: 14px 16px;
	color: var(--ink-2);
	font-size: .92rem;
	margin-bottom: var(--gap);
}
.notice--past { border-left-color: var(--ink-3); }

.prose { color: var(--ink-2); font-size: .96rem; }
.prose h2, .prose h3 { color: var(--ink); }
.prose a { text-decoration: underline; }

/* ==========================================================================
   Empty states, pagination, footer
   ========================================================================== */

.empty {
	text-align: center;
	padding: clamp(40px, 8vw, 80px) 20px;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	color: var(--ink-2);
}
.empty h2 { color: var(--ink); }

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: clamp(24px, 4vw, 40px);
}
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 40px; height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--ink-2);
	font-weight: 700;
	font-size: .9rem;
}
.pagination .page-numbers:hover { border-color: var(--accent-dim); text-decoration: none; }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #00141A; }

.site-footer {
	margin-top: clamp(40px, 7vw, 84px);
	border-top: 1px solid var(--line);
	background: #03050B;
	padding-block: clamp(28px, 4vw, 44px);
	color: var(--ink-3);
	font-size: .9rem;
}
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { color: var(--ink); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--ink-2); }
.footer-legal {
	margin-top: 28px; padding-top: 20px;
	border-top: 1px solid var(--line);
	display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
	font-size: .84rem;
}


/* ==========================================================================
   Hero slider — three slides: the app, how it works, what is free right now.
   Scroll-snap does the swiping, momentum and keyboard scrolling; JS only syncs
   the dots and runs autoplay, so with JS off this is still a usable strip.
   ========================================================================== */

.hero-slider {
	position: relative;
	overflow: hidden;
	background: #03050B;
	border-bottom: 1px solid var(--line);
}

.hs-track {
	position: relative;
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.hs-track::-webkit-scrollbar { display: none; }

.hs-slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 100%;
	scroll-snap-align: start;
	display: grid;
	isolation: isolate;
}

/* Ambient wash. Each slide gets its own hue so the three read as distinct
   places rather than one long band of identical dark. */
.hs-glow {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}
.hs-glow--cyan {
	background:
		radial-gradient(70% 90% at 78% 30%, rgba(0,229,255,.20), transparent 62%),
		radial-gradient(60% 80% at 12% 85%, rgba(0,166,188,.14), transparent 60%);
}
.hs-glow--magenta {
	background:
		radial-gradient(70% 90% at 80% 28%, rgba(255,46,151,.17), transparent 62%),
		radial-gradient(60% 80% at 10% 82%, rgba(0,229,255,.10), transparent 60%);
}
.hs-glow--green {
	background:
		radial-gradient(72% 92% at 76% 32%, rgba(43,255,136,.13), transparent 62%),
		radial-gradient(60% 80% at 12% 84%, rgba(0,229,255,.13), transparent 60%);
}

.hs-inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: clamp(22px, 3.5vw, 52px);
	align-items: center;
	padding-block: clamp(34px, 5vw, 64px);
	min-height: clamp(360px, 44vw, 480px);
}

.hs-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.hs-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.hs-eyebrow-dot {
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 12px var(--accent);
}

.hs-title {
	margin: 0;
	font-size: clamp(1.7rem, 4.4vw, 3.05rem);
	line-height: 1.06;
	letter-spacing: -.035em;
	text-wrap: balance;
	color: var(--ink);
}

.hs-lede {
	margin: 0;
	max-width: 52ch;
	color: var(--ink-2);
	font-size: clamp(.96rem, 1.4vw, 1.08rem);
}

.hs-note {
	margin: 0;
	max-width: 52ch;
	color: var(--ink-3);
	font-size: .88rem;
}

.hs-points {
	list-style: none;
	margin: 2px 0 0;
	padding: 0;
	display: grid;
	gap: 8px;
}
.hs-points li {
	position: relative;
	padding-left: 26px;
	color: var(--ink-2);
	font-size: .95rem;
}
.hs-points li::before {
	content: "";
	position: absolute;
	left: 4px; top: .55em;
	width: 8px; height: 8px;
	border-radius: 50%;
	border: 2px solid var(--accent);
}

.hs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* --- Slide visuals -------------------------------------------------------- */

.hs-visual { min-width: 0; display: grid; place-items: center; }

.hs-appmark {
	width: min(300px, 62%);
	height: auto;
	filter: drop-shadow(0 0 60px rgba(0,229,255,.4)) drop-shadow(0 20px 40px rgba(0,0,0,.6));
	animation: hsFloat 7s ease-in-out infinite alternate;
}
@keyframes hsFloat {
	from { transform: translateY(-8px) rotate(-1.5deg); }
	to   { transform: translateY(8px) rotate(1.5deg); }
}

.hs-storegrid {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr));
	gap: 8px;
}
.hs-storegrid a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 11px 13px;
	background: rgba(14,20,36,.72);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	backdrop-filter: blur(6px);
	color: var(--ink-2);
	font-size: .85rem;
	font-weight: 600;
	transition: border-color .14s ease, color .14s ease, transform .14s ease;
}
.hs-storegrid a:hover {
	border-color: var(--accent-dim);
	color: var(--ink);
	transform: translateY(-2px);
	text-decoration: none;
}
.hs-storegrid-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-storegrid-count {
	color: var(--ink-3);
	font-size: .78rem;
	font-variant-numeric: tabular-nums;
	flex-shrink: 0;
}

/* --- Hero figure and KPI tiles -------------------------------------------- */

/* The one number the banner leads with. Cyan, not green — green is the FREE
   pill's alone, and reusing it here would dilute the one signal that matters
   on every card. */
.hs-figure {
	margin: 2px 0 0;
	font-size: clamp(3rem, 8.5vw, 5.4rem);
	line-height: 1;
	font-weight: 800;
	letter-spacing: -.045em;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
	text-shadow: 0 0 44px rgba(0,229,255,.34);
}
.hs-figure-label {
	margin: 0;
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	font-weight: 600;
	color: var(--ink);
	max-width: 24ch;
}

.hs-kpis {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
}
.hs-kpi {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: clamp(14px, 2vw, 20px);
	background: rgba(14,20,36,.72);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	backdrop-filter: blur(6px);
}
.hs-kpi-value {
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}
.hs-kpi-label {
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.hs-kpi-more {
	display: inline-block;
	margin-top: 12px;
	font-size: .86rem;
	font-weight: 600;
}

@media (min-width: 900px) {
	.hs-inner { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); }
	.hs-copy { padding-right: 12px; }
}
@media (max-width: 899px) {
	.hs-inner { grid-template-columns: 1fr; }
	.hs-visual--app { order: -1; }
	.hs-appmark { width: min(180px, 46%); }
	.hs-kpis { gap: 8px; }
}

/* --- Arrows --------------------------------------------------------------- */

.hs-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: none;
	place-items: center;
	width: 46px; height: 46px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: rgba(5,7,15,.72);
	backdrop-filter: blur(8px);
	color: var(--ink);
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
}
.hs-nav:hover { background: var(--accent); border-color: var(--accent); color: #00141A; }
.hs-nav svg { width: 22px; height: 22px; }
.hs-prev { left: 14px; }
.hs-next { right: 14px; }

@media (min-width: 1080px) { .hs-nav { display: grid; } }

/* --- Dots and counter ----------------------------------------------------- */

.hs-controls {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: clamp(14px, 2vw, 22px);
	pointer-events: none;
}
.hs-dots { display: flex; gap: 8px; pointer-events: auto; }

.hs-dot {
	position: relative;
	width: 40px; height: 4px;
	padding: 10px 0;
	border: 0;
	background: none;
	cursor: pointer;
	overflow: visible;
}
.hs-dot::before {
	content: "";
	position: absolute; inset: 10px 0;
	background: rgba(255,255,255,.22);
	border-radius: 2px;
}
.hs-dot-fill {
	position: absolute; inset: 10px auto 10px 0;
	width: 0;
	background: var(--accent);
	border-radius: 2px;
	box-shadow: 0 0 10px rgba(0,229,255,.5);
}
.hs-dot.is-active .hs-dot-fill { width: 100%; }
.hs-dot:hover::before { background: rgba(255,255,255,.4); }

/* Autoplay progress: the active dot fills over the slide's duration. */
.hero-slider.is-playing .hs-dot.is-active .hs-dot-fill {
	animation: hsFill var(--hs-duration, 7000ms) linear forwards;
}
@keyframes hsFill { from { width: 0; } to { width: 100%; } }

.hs-counter {
	margin: 0;
	pointer-events: none;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .1em;
	color: var(--ink-3);
	font-variant-numeric: tabular-nums;
}
.hs-counter-now { color: var(--ink); }
.hs-counter-sep { margin: 0 4px; }

@media (prefers-reduced-motion: reduce) {
	.hs-track { scroll-behavior: auto; }
	.hs-appmark { animation: none; }
	.hero-slider.is-playing .hs-dot.is-active .hs-dot-fill { animation: none; width: 100%; }
}
