/* ==========================================================================
   Lidbit Ltd - site styles
   Brand: deep navy ink + pink/coral → blue gradient (from the LIDBIT logo)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap");

:root {
	--ink:        #0a0a22;
	--ink-2:      #11112f;
	--card:       rgba(255, 255, 255, 0.04);
	--card-brd:   rgba(255, 255, 255, 0.09);
	--white:      #ffffff;
	--text:       #b9bad6;
	--text-dim:   #82839e;
	--pink:       #e2608a;
	--coral:      #e0655a;
	--blue:       #4079d6;
	--violet:     #6f6bd6;
	--brand:      linear-gradient(115deg, #e2608a 0%, #e0655a 32%, #6f6bd6 68%, #4079d6 100%);
	--radius:     16px;
	--maxw:       1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

a { color: var(--white); text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
a:hover { opacity: 0.85; }

h1, h2, h3 {
	font-family: "Sora", "Inter", sans-serif;
	color: var(--white);
	line-height: 1.15;
	margin: 0;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad-text {
	background: var(--brand);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* Top brand bar ---------------------------------------------------------- */

.brandbar {
	height: 4px;
	background: var(--brand);
}

/* Nav -------------------------------------------------------------------- */

.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(10, 10, 34, 0.72);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
}

.nav__brand { display: flex; align-items: center; gap: 12px; font-family: "Sora", sans-serif; font-weight: 700; color: var(--white); letter-spacing: 0.02em; }
.nav__brand img { width: 38px; height: 38px; }

/* The logo's letters are dark navy, so place it on a light tile to stay legible on dark. */
.logo-tile {
	background: #fff;
	border-radius: 24%;
	padding: 5px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav__links a:hover { color: var(--white); opacity: 1; }

/* Buttons ---------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-weight: 600;
	font-size: 0.97rem;
	padding: 13px 26px;
	border-radius: 999px;
	transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
	cursor: pointer;
	border: 0;
}
.btn--primary {
	background: var(--brand);
	color: var(--white);
	box-shadow: 0 10px 30px -10px rgba(226, 96, 138, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); opacity: 1; box-shadow: 0 16px 36px -10px rgba(226, 96, 138, 0.7); }
.btn--ghost {
	background: transparent;
	color: var(--white);
	border: 1px solid var(--card-brd);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.3); opacity: 1; }

/* Hero ------------------------------------------------------------------- */

.hero {
	position: relative;
	text-align: center;
	padding: 110px 0 130px;
	overflow: hidden;
}
.hero::before,
.hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(120px);
	opacity: 0.4;
	z-index: 0;
}
.hero::before { width: 520px; height: 520px; background: var(--pink);  top: -160px; left: -120px; }
.hero::after  { width: 560px; height: 560px; background: var(--blue);  top: -100px; right: -160px; }

.hero .wrap { position: relative; z-index: 1; }

.hero__logo {
	display: block;
	width: 104px;
	height: 104px;
	padding: 14px;
	margin: 0 auto 28px;
	background: #fff;
	border-radius: 26%;
	box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.55);
}

.eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--text-dim);
	border: 1px solid var(--card-brd);
	border-radius: 999px;
	padding: 7px 16px;
	margin-bottom: 26px;
}

.hero h1 {
	font-size: clamp(2.3rem, 6vw, 4.1rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 22px;
}

.hero p {
	max-width: 620px;
	margin: 0 auto 38px;
	font-size: clamp(1.05rem, 2.2vw, 1.3rem);
	color: var(--text);
}

.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Section scaffolding ---------------------------------------------------- */

.section { padding: 92px 0; position: relative; }
.section--alt { background: var(--ink-2); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 16px; }
.section__head p { margin: 0; color: var(--text-dim); font-size: 1.08rem; }

/* Cards ------------------------------------------------------------------ */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
	background: var(--card);
	border: 1px solid var(--card-brd);
	border-radius: var(--radius);
	padding: 36px 30px;
	transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); }

.card__icon {
	width: 54px; height: 54px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 14px;
	background: var(--brand);
	margin-bottom: 22px;
}
.card__icon svg { width: 28px; height: 28px; stroke: var(--white); fill: none; stroke-width: 1.8; }

.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { margin: 0; color: var(--text-dim); font-size: 0.98rem; }

/* Work / showcase -------------------------------------------------------- */

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.project {
	display: flex;
	flex-direction: column;
	background: var(--card);
	border: 1px solid var(--card-brd);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.project:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); }

.project__top { display: flex; align-items: center; gap: 16px; padding: 26px 28px; border-bottom: 1px solid var(--card-brd); }
.project__mono {
	width: 56px; height: 56px;
	flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	border-radius: 15px;
	font-family: "Sora", sans-serif;
	font-weight: 800;
	font-size: 1.5rem;
	color: #fff;
}
.project__cat { display: block; font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 3px; }
.project__top h3 { font-size: 1.3rem; }

.project__body { display: flex; flex-direction: column; flex: 1; padding: 22px 28px 26px; }
.project__body p { margin: 0 0 18px; color: var(--text-dim); font-size: 0.97rem; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag {
	font-size: 0.76rem; font-weight: 600;
	color: var(--text);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--card-brd);
	border-radius: 999px;
	padding: 4px 12px;
}

.project__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.project__links a {
	font-weight: 600; font-size: 0.92rem; color: #fff;
	display: inline-flex; align-items: center; gap: 6px;
}
.project__links a:hover { opacity: 1; }
.project__links a span { color: var(--pink); transition: transform 0.18s ease; }
.project__links a:hover span { transform: translateX(3px); }
.badge-soon {
	font-size: 0.78rem; font-weight: 600;
	color: var(--text-dim);
	border: 1px dashed var(--card-brd);
	border-radius: 999px;
	padding: 4px 12px;
}

/* Store buttons ---------------------------------------------------------- */

.store-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.store-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 11px 22px;
	border-radius: 13px;
	background: #000;
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	transition: transform 0.18s ease, border-color 0.18s ease;
}
.store-btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.45); opacity: 1; }
.store-btn svg { width: 26px; height: 26px; fill: #fff; flex-shrink: 0; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn__sub { font-size: 0.7rem; color: rgba(255, 255, 255, 0.7); }
.store-btn__main { font-family: "Sora", sans-serif; font-size: 1.05rem; font-weight: 600; }
.store-btn--soon { opacity: 0.55; cursor: default; }
.store-btn--soon:hover { transform: none; border-color: rgba(255, 255, 255, 0.18); }

/* Games list (NextSeat) -------------------------------------------------- */

.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.game-row {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: var(--card);
	border: 1px solid var(--card-brd);
	border-radius: 14px;
	padding: 20px 22px;
}
.game-row__emoji { font-size: 1.7rem; line-height: 1; flex-shrink: 0; }
.game-row h4 { margin: 0 0 4px; color: var(--white); font-family: "Sora", sans-serif; font-size: 1.05rem; font-weight: 600; }
.game-row p { margin: 0; color: var(--text-dim); font-size: 0.92rem; line-height: 1.55; }

/* Contact / CTA ---------------------------------------------------------- */

.cta { text-align: center; }
.cta__email {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: "Sora", sans-serif;
	font-size: clamp(1.4rem, 4vw, 2.2rem);
	font-weight: 700;
	margin-top: 10px;
}

/* Generic content (privacy policy) -------------------------------------- */

.doc { padding: 80px 0; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.doc h2 { font-size: 1.4rem; font-weight: 700; color: var(--white); margin: 44px 0 14px; }
.doc h3 { font-size: 1.1rem; font-weight: 600; color: var(--white); margin: 28px 0 10px; }
.doc__lead { color: var(--text-dim); margin: 0 0 16px; }
.doc__meta { color: var(--text-dim); font-size: 0.9rem; margin: 0 0 36px; }
.doc p { margin: 0 0 22px; }
.doc a { color: var(--pink); word-break: break-word; }
.doc a:hover { color: var(--white); opacity: 1; }
.doc strong { color: var(--text); }
.doc ul { margin: 0 0 22px; padding-left: 1.25em; color: var(--text-dim); }
.doc li { margin-bottom: 9px; }
.doc li::marker { color: var(--violet); }
.doc code {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--card-brd);
	border-radius: 6px;
	padding: 1px 6px;
	font-size: 0.88em;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border: 1px solid var(--card-brd); vertical-align: top; }
.doc th { color: var(--white); font-weight: 600; background: rgba(255, 255, 255, 0.04); }
.doc td { color: var(--text-dim); }

/* Footer ----------------------------------------------------------------- */

.footer { background: var(--ink-2); border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 54px 0; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer__brand { display: flex; align-items: center; gap: 12px; font-family: "Sora", sans-serif; font-weight: 700; color: var(--white); }
.footer__brand img { width: 34px; height: 34px; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { color: var(--text-dim); font-size: 0.95rem; }
.footer__links a:hover { color: var(--white); opacity: 1; }
.footer__legal { width: 100%; margin-top: 10px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.06); color: var(--text-dim); font-size: 0.85rem; line-height: 1.6; }

/* Device frames + showcase (NextSeat) ----------------------------------- */

/* A phone bezel wrapped around a full-screen screenshot. The screenshots
   already include the status bar / dynamic island, so the frame is just a
   rounded metal edge - no notch drawn here. */
.phone {
	position: relative;
	width: 100%;
	padding: 2.4%;
	border-radius: 12% / 5.5%;
	background: linear-gradient(155deg, #34343c 0%, #15151a 45%, #08080a 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.16),
		inset 0 0 0 1px rgba(0, 0, 0, 0.5),
		0 38px 70px -28px rgba(0, 0, 0, 0.85);
}
.phone img {
	display: block;
	width: 100%;
	aspect-ratio: 1320 / 2868;
	object-fit: cover;
	object-position: top;
	border-radius: 9.5% / 4.4%;
	background: #1d160f;
}
.phone--android img { aspect-ratio: 1080 / 2400; }

/* Hero showcase - staggered trio of phones */
.showcase { position: relative; padding: 0 0 96px; overflow: hidden; }
.showcase::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -40px;
	width: 680px;
	height: 420px;
	transform: translateX(-50%);
	background: var(--violet);
	filter: blur(150px);
	opacity: 0.22;
	z-index: 0;
}
.showcase .wrap { position: relative; z-index: 1; }
.showcase__phones {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: clamp(14px, 3vw, 40px);
}
.showcase__phones .phone { flex: 0 0 auto; }
.phone--main { width: clamp(210px, 30vw, 300px); z-index: 2; }
.phone--side { width: clamp(160px, 23vw, 235px); }
.phone--l { transform: translateY(34px) rotate(-5deg); transform-origin: bottom right; }
.phone--r { transform: translateY(34px) rotate(5deg); transform-origin: bottom left; }

/* Split feature spotlight (lobby / chat) */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 6vw, 84px);
	align-items: center;
}
.split + .split { margin-top: clamp(56px, 9vw, 104px); }
.split__media { display: flex; justify-content: center; }
.split__media .phone { width: min(74%, 290px); }
.split__text h3 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 14px; }
.split__text p { color: var(--text-dim); font-size: 1.05rem; margin: 0; }
.split__text .eyebrow { margin-bottom: 18px; }
.split--rev .split__media { order: 2; }

/* Games gallery - phone-framed screenshots */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 46px); }
.gallery__item { text-align: center; }
.gallery__item .phone { width: min(80%, 250px); margin: 0 auto 22px; transition: transform 0.25s ease; }
.gallery__item:hover .phone { transform: translateY(-7px); }
.gallery__item h4 {
	display: flex; align-items: center; justify-content: center; gap: 9px;
	font-family: "Sora", sans-serif; color: var(--white);
	font-size: 1.18rem; font-weight: 600; margin: 0 0 7px;
}
.gallery__item h4 span { font-size: 1.3rem; line-height: 1; }
.gallery__item p { color: var(--text-dim); font-size: 0.93rem; line-height: 1.55; margin: 0 auto; max-width: 30ch; }

/* Cross-platform strip */
.platforms__phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(20px, 5vw, 56px); }
.platforms__phones .phone { width: min(44%, 250px); }
.platforms__os { display: block; margin-top: 16px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); text-align: center; }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 900px) {
	.gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
	.cards, .work-grid { grid-template-columns: 1fr; }
	.nav__links a:not(.btn) { display: none; }
	.hero { padding: 80px 0 60px; }
	.section { padding: 70px 0; }
	.split { grid-template-columns: 1fr; gap: 32px; }
	.split--rev .split__media { order: 0; }
	.split__media .phone { width: min(62%, 250px); }
}

@media (max-width: 680px) {
	.showcase__phones { gap: 0; }
	.phone--side { display: none; }
	.phone--main { width: min(66vw, 290px); }
}

@media (max-width: 520px) {
	.footer .wrap { flex-direction: column; align-items: flex-start; }
	.gallery { grid-template-columns: 1fr; }
	.gallery__item .phone { width: min(62%, 240px); }
}
