﻿:root {
	--main-color: #ff4d6d;
	--pv-pink: #ff4d6d;
	--pv-orange: #ff8a3d;
	--pv-purple: #a78bfa;
	--pv-violet: #7c3aed;
	--pv-ink: #2d1b4e;
	--pv-muted: #8b7aa8;
	--card-radius: 22px;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	color: var(--pv-ink);
	font-family: "Nunito", "Segoe UI", sans-serif;
	font-size: 1em;
	background:
		radial-gradient(900px 480px at 10% -10%, rgba(255, 182, 193, 0.55), transparent 55%),
		radial-gradient(800px 520px at 100% 0%, rgba(196, 181, 253, 0.5), transparent 50%),
		linear-gradient(165deg, #ffe4ec 0%, #f3e8ff 48%, #ede9fe 100%);
}

a { text-decoration: none; color: var(--main-color); }

.content {
	padding: 48px 0 80px;
	float: none;
}
.container {
	width: min(560px, calc(100% - 28px));
	margin: 0 auto;
	float: none;
}

.box {
	padding: 22px;
	background: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 28px;
	box-shadow:
		0 24px 60px rgba(124, 58, 237, 0.12),
		0 2px 0 rgba(255, 255, 255, 0.8) inset;
	width: 100%;
	float: none;
	text-align: center;
}

.ads {
	width: 100%;
	float: none;
	overflow: hidden;
	border-radius: 16px;
}
.ads img,
.ads iframe {
	max-width: 100% !important;
	height: auto !important;
}
.ads.top { padding-bottom: 14px; margin-bottom: 6px; }
.ads.bottom { padding-top: 14px; margin-top: 6px; }
.ads--placeholder {
	color: var(--pv-muted);
	font-size: 0.85rem;
	line-height: 1.45;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.65);
	border: 1px dashed rgba(167, 139, 250, 0.45);
	border-radius: 16px;
}
.ads--placeholder code {
	display: inline-block;
	margin-top: 4px;
	font-size: 0.75rem;
	color: #6d28d9;
	word-break: break-all;
}

.inside {
	float: none;
	width: 100%;
	padding: 10px 6px 6px;
}

.pv-lab-badge {
	display: inline-flex;
	margin: 0 0 16px;
	padding: 5px 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #7c3aed;
	background: linear-gradient(90deg, rgba(255, 77, 109, 0.12), rgba(167, 139, 250, 0.18));
	border: 1px solid rgba(167, 139, 250, 0.35);
	border-radius: 999px;
}

/* â€”â€” Notice cards â€”â€” */
.pv-card {
	margin: 0 0 18px;
	padding: 22px 22px 20px;
	border-radius: var(--card-radius);
	text-align: left;
	position: relative;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(196, 181, 253, 0.55);
	box-shadow:
		0 16px 40px rgba(124, 58, 237, 0.1),
		0 1px 0 #fff inset;
}
.pv-card::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 4px;
	background: linear-gradient(90deg, #ff4d6d, #ff8a3d 45%, #a78bfa);
}
.pv-card[hidden] { display: none !important; }

.pv-card__line {
	margin: 0;
	font-size: clamp(1.05rem, 3vw, 1.22rem);
	font-weight: 700;
	line-height: 1.4;
	color: var(--pv-ink);
}
.pv-card__line + .pv-card__line {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(167, 139, 250, 0.25);
	color: var(--pv-muted);
	font-weight: 600;
	font-size: clamp(0.95rem, 2.6vw, 1.05rem);
}

.pv-card--thanks {
	border-color: rgba(52, 211, 153, 0.45);
}
.pv-card--thanks::before {
	background: linear-gradient(90deg, #34d399, #2dd4bf, #a78bfa);
}
.pv-card--thanks .pv-card__line { color: #065f46; }
.pv-card--thanks .pv-card__line + .pv-card__line { color: #047857; }

.pv-card--fail {
	border-color: rgba(255, 77, 109, 0.4);
}
.pv-card--fail::before {
	background: linear-gradient(90deg, #ff4d6d, #e11d48);
}
.pv-card--fail .pv-card__line { color: #9f1239; }
.pv-card--fail .pv-card__line + .pv-card__line { color: #be123c; }

.pv-card__btn {
	appearance: none;
	border: 0;
	border-radius: 14px;
	padding: 14px 18px;
	margin-top: 16px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	color: #fff;
	width: 100%;
	background: linear-gradient(90deg, #ff4d6d 0%, #ff8a3d 100%);
	box-shadow: 0 12px 28px rgba(255, 77, 109, 0.35);
}
.pv-card__btn:hover {
	filter: brightness(1.05);
}
.pv-card__btn:disabled {
	opacity: 0.65;
	cursor: wait;
}

/* â€”â€” Duration + progress (inspired bar) â€”â€” */
.pv-duration {
	margin: 0 0 14px;
	padding: 14px 16px 16px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(196, 181, 253, 0.45);
	box-shadow: 0 10px 28px rgba(124, 58, 237, 0.08);
	text-align: left;
}
.pv-duration[hidden] { display: none !important; }

.pv-duration__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--pv-ink);
}
.pv-duration__label {
	color: var(--pv-muted);
	font-weight: 600;
}
.pv-duration__time {
	font-variant-numeric: tabular-nums;
	font-size: 14px;
	color: var(--pv-ink);
}
.pv-duration__remain { color: #ff4d6d; }

.pv-progress {
	position: relative;
	height: 14px;
	border-radius: 999px;
	background: #efe7ff;
	overflow: hidden;
}
.pv-progress__fill {
	height: 100%;
	width: 0%;
	border-radius: inherit;
	background: linear-gradient(90deg, #7c3aed 0%, #ff4d6d 55%, #ff8a3d 100%);
	box-shadow: 0 0 12px rgba(255, 77, 109, 0.35);
	transition: width 0.2s linear;
}
.pv-progress__dash {
	position: absolute;
	inset: 6px 8px;
	border-top: 2px dashed rgba(255, 255, 255, 0.55);
	pointer-events: none;
	opacity: 0.9;
}

.pv-player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 0 0 12px;
	background: #1a1030;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(167, 139, 250, 0.35);
	box-shadow: 0 18px 40px rgba(45, 27, 78, 0.22);
}

.pv-player video,
#pv-ad-container {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}
#pv-ad-container { z-index: 3; }
.pv-player video { z-index: 2; }

.pv-loading {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: rgba(26, 16, 48, 0.75);
	color: #fff;
}
.pv-loading[hidden] { display: none !important; }
.pv-loading__spin {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.2);
	border-top-color: #ff8a3d;
	animation: pvspin 0.8s linear infinite;
}
.pv-loading__text { margin: 0; font-size: 14px; color: #fce7f3; font-weight: 600; }
@keyframes pvspin { to { transform: rotate(360deg); } }

.pv-skip {
	position: absolute;
	z-index: 8;
	right: 12px;
	top: 12px;
	border-radius: 10px;
	padding: 9px 14px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.92);
	color: var(--pv-ink);
	border: 0;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.pv-skip:hover { background: #fff; }
.pv-skip[hidden] { display: none !important; }

.pv-unmute {
	position: absolute;
	z-index: 7;
	left: 12px;
	bottom: 12px;
	border: 0;
	border-radius: 10px;
	padding: 9px 14px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	background: linear-gradient(90deg, #ff4d6d, #ff8a3d);
	color: #fff;
	box-shadow: 0 8px 18px rgba(255, 77, 109, 0.35);
}
.pv-unmute[hidden] { display: none !important; }

.pv-status {
	margin: 8px 0 12px;
	min-height: 1.2em;
	font-size: 13px;
	font-weight: 600;
	color: var(--pv-muted);
}
.pv-status.is-ok { color: #059669; }
.pv-status.is-err { color: #e11d48; }
.pv-status.is-warn { color: #d97706; }

.counter {
	float: none;
	width: 100%;
	text-align: center;
	margin: 8px 0 14px;
}
.counter[hidden] { display: none !important; }
.counter span {
	color: #fff;
	width: 96px;
	height: 96px;
	line-height: 96px;
	display: block;
	margin: 0 auto;
	font-size: 34px;
	font-weight: 800;
	border-radius: 50%;
	background: linear-gradient(135deg, #ff4d6d, #a78bfa);
	box-shadow: 0 14px 32px rgba(124, 58, 237, 0.28);
	text-align: center;
}
.counter small {
	display: block;
	float: none;
	line-height: 1.4;
	margin-top: 12px;
	width: 100%;
	font-size: 14px;
	font-weight: 600;
	color: var(--pv-muted);
}

a.btn {
	display: none;
	padding: 14px 16px;
	border: 0;
	border-radius: 16px;
	color: #fff;
	width: 100%;
	float: none;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	text-align: center;
	background: linear-gradient(90deg, #ff4d6d 0%, #ff8a3d 100%);
	box-shadow: 0 14px 32px rgba(255, 77, 109, 0.32);
}
a.btn.is-ready {
	display: block !important;
	color: #fff !important;
	float: none;
	width: 100%;
	margin-top: 4px;
}
a.btn.is-locked { display: none; }
a.btn:hover {
	color: #fff;
	filter: brightness(1.05);
}

small.text {
	display: block;
	font-size: 13px;
	margin-top: 14px;
	float: none;
	width: 100%;
	color: #b0a0c4;
	font-weight: 600;
}
small.text.is-on { color: var(--pv-muted); }

small.footer {
	display: block;
	width: 100%;
	float: none;
	padding: 22px 0 0;
	text-align: center;
	font-size: 14px;
	line-height: 1.5;
	color: var(--pv-muted);
	font-weight: 600;
}

@media only screen and (max-width: 850px) {
	.content { width: 100%; padding: 16px 0 40px; }
	.container { width: calc(100% - 20px); }
	.box { padding: 14px; border-radius: 22px; }
	.inside { padding: 8px 2px; }
	a.btn { font-size: 15px; }
	.counter span {
		width: 84px;
		height: 84px;
		line-height: 84px;
		font-size: 28px;
	}
}


/* —— Unlock mode —— */
/* Extra UI for Unlock lab (on top of VAST-style base) */

.pv-unlock-zone {
	margin: 8px 0 18px;
	padding: 8px 4px 4px;
}

.pv-unlock-btn {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	min-height: 112px;
	padding: 22px 20px;
	border: 0;
	border-radius: 20px;
	cursor: pointer;
	overflow: hidden;
	font-family: inherit;
	color: #fff;
	background: linear-gradient(110deg, #ff4d6d 0%, #ff8a3d 48%, #a78bfa 100%);
	background-size: 200% 200%;
	box-shadow:
		0 16px 36px rgba(255, 77, 109, 0.35),
		0 0 0 1px rgba(255, 255, 255, 0.25) inset;
	animation: pvUnlockGradient 4.5s ease infinite, pvUnlockPulse 2.4s ease-in-out infinite;
	transition: transform 0.15s ease, filter 0.15s ease;
}
.pv-unlock-btn:hover {
	filter: brightness(1.06);
	transform: translateY(-2px);
}
.pv-unlock-btn:active { transform: translateY(1px) scale(0.99); }
.pv-unlock-btn:disabled {
	opacity: 0.7;
	cursor: wait;
	animation: none;
}

.pv-unlock-btn__glow {
	position: absolute;
	inset: -40%;
	background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), transparent 55%);
	pointer-events: none;
	animation: pvUnlockShine 3s ease-in-out infinite;
}

.pv-unlock-btn__icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.pv-unlock-btn__shackle {
	transform-origin: 12px 11px;
	animation: pvUnlockShackle 2.8s ease-in-out infinite;
}

.pv-unlock-btn__label {
	position: relative;
	z-index: 1;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.pv-unlock-btn__sub {
	position: relative;
	z-index: 1;
	font-size: 0.85rem;
	font-weight: 700;
	opacity: 0.9;
}

.pv-unlock-hint {
	margin: 12px 0 0;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--pv-muted);
	line-height: 1.4;
}

.pv-loading-unlock {
	margin: 10px 0 16px;
	padding: 22px 18px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(196, 181, 253, 0.45);
	box-shadow: 0 12px 28px rgba(124, 58, 237, 0.08);
}
.pv-loading-unlock[hidden] { display: none !important; }
.pv-loading-unlock .pv-loading__spin {
	margin: 0 auto 12px;
}
.pv-loading-unlock .pv-loading__text {
	color: var(--pv-ink);
	font-weight: 700;
	margin: 0 0 14px;
}

.pv-loading-bar {
	height: 10px;
	border-radius: 999px;
	background: #efe7ff;
	overflow: hidden;
}
.pv-loading-bar span {
	display: block;
	height: 100%;
	width: 0%;
	border-radius: inherit;
	background: linear-gradient(90deg, #7c3aed, #ff4d6d, #ff8a3d);
	transition: width 0.2s linear;
}

.pv-unlock-zone.is-busy { display: none; }

@keyframes pvUnlockGradient {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}
@keyframes pvUnlockPulse {
	0%, 100% { box-shadow: 0 16px 36px rgba(255, 77, 109, 0.35), 0 0 0 0 rgba(255, 77, 109, 0.35); }
	50% { box-shadow: 0 18px 40px rgba(167, 139, 250, 0.4), 0 0 0 10px rgba(255, 77, 109, 0); }
}
@keyframes pvUnlockShine {
	0%, 100% { transform: translateX(-8%) rotate(0deg); opacity: 0.55; }
	50% { transform: translateX(8%) rotate(8deg); opacity: 0.9; }
}
@keyframes pvUnlockShackle {
	0%, 70%, 100% { transform: rotate(0deg); }
	80% { transform: rotate(-28deg); }
	90% { transform: rotate(-28deg); }
}

@media (max-width: 850px) {
	.pv-unlock-btn {
		min-height: 100px;
		padding: 18px 16px;
	}
	.pv-unlock-btn__label { font-size: 1.2rem; }
}

