/* TLS Coming Soon Page — frontend */

.tls-pcs-body {
	margin: 0;
	padding: 0;
}

.tls-pcs {
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	background: var(--tls-pcs-bg, #0f172a);
	color: var(--tls-pcs-text, #fff);
	font-family: var(--tls-pcs-font, system-ui, sans-serif);
	line-height: 1.6;
}

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

.tls-pcs--standalone {
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(24px, 6vw, 72px) clamp(18px, 5vw, 60px);
}

.tls-pcs--inline {
	border-radius: 20px;
	padding: clamp(28px, 5vw, 64px);
	margin: 24px 0;
}

.tls-pcs__overlay {
	position: absolute;
	inset: 0;
	background: #000;
	opacity: var(--tls-pcs-overlay, 0);
	pointer-events: none;
}

.tls-pcs__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(16px, 3vw, 28px);
	animation: tls-pcs-in 0.7s ease both;
}

.tls-pcs__logo img {
	display: block;
	height: auto;
	max-width: min(240px, 60vw);
	margin: 0 auto;
}

.tls-pcs__title {
	margin: 0;
	font-size: clamp(2rem, 6vw, 4rem);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: inherit;
}

.tls-pcs__subtitle {
	margin: 0;
	max-width: 54ch;
	font-size: clamp(1rem, 2.2vw, 1.2rem);
	opacity: 0.85;
}

.tls-pcs__subtitle p {
	margin: 0 0 0.6em;
}

.tls-pcs__subtitle p:last-child {
	margin-bottom: 0;
}

/* Countdown */

.tls-pcs__countdown {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(8px, 2vw, 16px);
}

.tls-pcs__unit {
	min-width: 88px;
	padding: 14px 12px;
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.tls-pcs__num {
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--tls-pcs-accent, #38bdf8);
}

.tls-pcs__label {
	font-size: 0.8rem;
	letter-spacing: 0.03em;
	opacity: 0.75;
}

/* Button */

.tls-pcs__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 34px;
	border-radius: 999px;
	background: var(--tls-pcs-accent, #38bdf8);
	color: #0b1220;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.tls-pcs__button:hover,
.tls-pcs__button:focus {
	transform: translateY(-2px);
	filter: brightness(1.07);
	color: #0b1220;
}

/* Socials */

.tls-pcs__socials {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.tls-pcs__social {
	padding: 9px 18px;
	border-radius: 999px;
	border: 1px solid currentColor;
	color: inherit;
	text-decoration: none;
	font-size: 0.9rem;
	opacity: 0.8;
	transition: opacity 0.2s ease, background 0.2s ease;
}

.tls-pcs__social:hover,
.tls-pcs__social:focus {
	opacity: 1;
	background: rgba(255, 255, 255, 0.14);
	color: inherit;
}

.tls-pcs__footer {
	font-size: 0.85rem;
	opacity: 0.6;
}

/* Split template */

.tls-pcs--split .tls-pcs__inner {
	max-width: 1140px;
	flex-direction: row;
	align-items: center;
	text-align: start;
	gap: clamp(24px, 5vw, 64px);
}

.tls-pcs--split .tls-pcs__media {
	flex: 1 1 45%;
	align-self: stretch;
	min-height: min(70vh, 520px);
	border-radius: 24px;
	background: var(--tls-pcs-media, #1d4ed8);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.tls-pcs--split .tls-pcs__content {
	flex: 1 1 55%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(14px, 2.4vw, 26px);
}

.tls-pcs--split .tls-pcs__countdown,
.tls-pcs--split .tls-pcs__socials {
	justify-content: flex-start;
}

.tls-pcs--split .tls-pcs__logo img {
	margin: 0;
}

@media (max-width: 860px) {
	.tls-pcs--split .tls-pcs__inner {
		flex-direction: column;
		text-align: center;
	}

	.tls-pcs--split .tls-pcs__content {
		align-items: center;
	}

	.tls-pcs--split .tls-pcs__media {
		width: 100%;
		min-height: 220px;
	}

	.tls-pcs--split .tls-pcs__countdown,
	.tls-pcs--split .tls-pcs__socials {
		justify-content: center;
	}

	.tls-pcs--split .tls-pcs__logo img {
		margin: 0 auto;
	}
}

/* Cover template */

.tls-pcs--cover .tls-pcs__inner {
	max-width: 820px;
}

.tls-pcs--cover .tls-pcs__card {
	width: 100%;
	padding: clamp(28px, 5vw, 56px);
	border-radius: 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(16px, 3vw, 26px);
	background: rgba(15, 23, 42, 0.42);
	border: 1px solid rgba(255, 255, 255, 0.16);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.tls-pcs--cover .tls-pcs__title {
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

@keyframes tls-pcs-in {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tls-pcs__inner {
		animation: none;
	}

	.tls-pcs__button:hover {
		transform: none;
	}
}
