@charset "UTF-8";

@font-face {
	font-family: PinOneSans;
	src: local("Segoe UI"), local("Helvetica Neue"), local("Arial");
	font-weight: 300 700;
	font-display: swap;
}

:root {
	--pinone-bg: #0a051d;
	--pinone-bg-panel: #12082a;
	--pinone-header: #2a004d;
	--pinone-accent: #39ff14;
	--pinone-accent-text: #0a051d;
	--pinone-text: #f4f4ff;
	--pinone-muted: #b8b0d0;
	--pinone-border: rgba(255,255,255,0.12);
	--pinone-radius: 18px;
	--pinone-radius-pill: 999px;
	--header_height: 72px;
	--paragraph_fontfamily: PinOneSans, system-ui, sans-serif;
}

html, body {
	margin: 0;
	padding: 0;
	background: var(--pinone-bg);
	color: var(--pinone-text);
	font-family: var(--paragraph_fontfamily);
	min-height: 100%;
}

body {
	background:
		linear-gradient(135deg, rgba(42,0,77,0.35) 0%, transparent 40%),
		linear-gradient(225deg, rgba(42,0,77,0.25) 0%, transparent 45%),
		var(--pinone-bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
	font: inherit;
	color: inherit;
}
button { cursor: pointer; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--pinone-header);
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.site-body { min-height: calc(100vh - var(--header_height) - 80px); }
.site-footer {
	padding: 32px 20px;
	text-align: center;
	color: var(--pinone-muted);
	font-size: 0.95rem;
}

.pagecover {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.45);
	z-index: 150;
}

.header-inner,
.page-wrap,
.stream-shell {
	width: min(1200px, calc(100% - 32px));
	margin: 0 auto;
}

.header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 16px;
	min-height: var(--header_height);
	padding: 10px 0;
}

.header-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}
.header-brand .logo {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	display: grid;
	place-items: center;
	overflow: hidden;
}
.header-brand .logo img { width: 100%; height: 100%; object-fit: cover; }
.menu-toggle {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 10px;
	background: var(--pinone-accent);
	color: var(--pinone-accent-text);
	font-weight: 700;
}

.header-search {
	display: flex;
	align-items: stretch;
	max-width: 560px;
	width: 100%;
	margin: 0 auto;
}
.header-search input {
	flex: 1;
	border: 0;
	border-radius: var(--pinone-radius-pill) 0 0 var(--pinone-radius-pill);
	padding: 0 18px;
	background: #fff;
	color: #111;
}
.header-search button {
	border: 0;
	border-radius: 0 var(--pinone-radius-pill) var(--pinone-radius-pill) 0;
	padding: 0 18px;
	background: var(--pinone-accent);
	color: var(--pinone-accent-text);
	font-weight: 700;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 20px;
	border-radius: var(--pinone-radius-pill);
	border: 0;
	font-weight: 600;
}
.btn-ghost { background: transparent; color: #fff; }
.btn-accent { background: var(--pinone-accent); color: var(--pinone-accent-text); }
.btn-white { background: #fff; color: #111; }

.skew-badge {
	display: inline-block;
	transform: skewX(-8deg);
	background: var(--pinone-accent);
	color: var(--pinone-accent-text);
	border-radius: 12px;
	padding: 14px 28px;
	margin: 0 auto 20px;
}
.skew-badge > * { display: inline-block; transform: skewX(8deg); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.4rem); }

.hero {
	text-align: center;
	padding: 48px 0 24px;
}
.hero p {
	max-width: 760px;
	margin: 0 auto;
	color: var(--pinone-muted);
	line-height: 1.6;
	font-size: 1.05rem;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	padding: 24px 0 40px;
}
.feature-card {
	background: rgba(255,255,255,0.03);
	border: 1px solid var(--pinone-border);
	border-radius: var(--pinone-radius);
	padding: 16px;
}
.feature-card .mock {
	aspect-ratio: 16/10;
	border-radius: 12px;
	background: #050510;
	border: 1px solid var(--pinone-border);
	margin-bottom: 12px;
	position: relative;
	overflow: hidden;
}
.feature-card p { color: var(--pinone-muted); font-size: 0.92rem; line-height: 1.45; }

.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; height: 100%; }
.mock-grid span {
	border: 1px dashed rgba(255,255,255,0.2);
	border-radius: 8px;
	display: grid;
	place-items: center;
	font-size: 0.7rem;
	color: var(--pinone-muted);
}
.mock-theater { padding: 8px; height: 100%; display: flex; flex-direction: column; gap: 6px; }
.mock-theater .tabs { display: flex; gap: 4px; }
.mock-theater .tabs span { flex: 1; height: 18px; border-radius: 6px; background: rgba(255,255,255,0.08); }
.mock-theater .main { flex: 1; border: 1px dashed rgba(255,255,255,0.2); border-radius: 8px; }

.page-panel {
	max-width: 720px;
	margin: 32px auto 48px;
	padding: 28px;
	background: rgba(18,8,42,0.85);
	border: 1px solid var(--pinone-border);
	border-radius: var(--pinone-radius);
}
.form-row {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 12px;
	align-items: center;
	margin-bottom: 14px;
}
.form-row input,
.form-row select,
.form-row textarea {
	width: 100%;
	min-height: 42px;
	border: 0;
	border-radius: 12px;
	padding: 10px 14px;
	background: #fff;
	color: #111;
}
.form-row textarea { min-height: 100px; resize: vertical; }
.form-hint {
	font-size: 0.82rem;
	color: #d8c8ff;
	background: rgba(255,255,255,0.08);
	border-radius: 10px;
	padding: 8px 10px;
}
.form-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.form-check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; color: var(--pinone-muted); }
.form-sep { text-align: center; color: var(--pinone-muted); margin: 18px 0; position: relative; }
.form-sep:before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 50%;
	height: 1px;
	background: var(--pinone-border);
}
.form-sep span { position: relative; background: rgba(18,8,42,1); padding: 0 12px; }

.stepper {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 24px;
}
.stepper span {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	border: 2px solid #fff;
	color: #fff;
}
.stepper span.active { background: #7b3fe4; border-color: #7b3fe4; }

.handle-status { font-size: 0.85rem; margin-top: 6px; }
.handle-status.ok { color: var(--pinone-accent); }
.handle-status.bad { color: #ff6b8a; }

.content-page { padding: 40px 0; }
.content-page h1 { margin-bottom: 12px; }
.content-page p { color: var(--pinone-muted); line-height: 1.6; }

.site-menu {
	position: fixed;
	top: var(--header_height);
	left: 16px;
	z-index: 120;
	background: #e8e0ff;
	color: #1a1030;
	border-radius: 12px;
	padding: 12px 0;
	min-width: 200px;
	box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.site-menu a {
	display: block;
	padding: 10px 18px;
}
.site-menu a:hover { background: rgba(0,0,0,0.06); }
.site-menu hr { border: 0; border-top: 1px solid rgba(0,0,0,0.12); margin: 8px 0; }

html[data-mnu="1"] .site-menu { display: block !important; }
html[data-mnu="0"] .site-menu { display: none !important; }

@media screen and (max-width: 1039px) {
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.header-inner { grid-template-columns: auto 1fr auto; }
}
@media screen and (max-width: 699px) {
	.feature-grid { grid-template-columns: 1fr; }
	.header-search { display: none; }
	.form-row { grid-template-columns: 1fr; }
	.header-actions .btn-ghost { display: none; }
}
@media screen and (max-width: 519px) {
	.header-inner { gap: 8px; }
	.btn { min-height: 38px; padding: 0 14px; font-size: 0.9rem; }
}
