:root {
	--ocp-bg: #080712;
	--ocp-panel: rgba(21, 17, 38, .88);
	--ocp-text: #f8f4ff;
	--ocp-muted: #bdb4cc;
	--ocp-border: rgba(215, 181, 109, .24);
}

.ocp-wrap,
.ocp-wrap * {
	box-sizing: border-box;
}

.ocp-wrap {
	--ocp-accent: #d7b56d;
	--ocp-button: #8a5cf6;
	position: relative;
	overflow: hidden;
	width: 100%;
	min-height: 100vh;
	padding: 48px 18px;
	background:
		radial-gradient(circle at 18% 15%, rgba(114, 75, 190, .22), transparent 30%),
		radial-gradient(circle at 82% 72%, rgba(215, 181, 109, .13), transparent 28%),
		linear-gradient(145deg, #080712 0%, #120d22 48%, #07060d 100%);
	color: var(--ocp-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ocp-stars,
.ocp-stars::before,
.ocp-stars::after {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
	background-image:
		radial-gradient(circle, rgba(255,255,255,.55) 1px, transparent 1.2px),
		radial-gradient(circle, rgba(215,181,109,.45) 1px, transparent 1.3px);
	background-position: 0 0, 27px 47px;
	background-size: 74px 74px, 113px 113px;
	opacity: .25;
}

.ocp-stars::before {
	transform: rotate(17deg) scale(1.05);
	opacity: .18;
}

.ocp-shell {
	position: relative;
	z-index: 1;
	width: min(1120px, 100%);
	margin: 0 auto;
}

.ocp-hero {
	max-width: 780px;
	margin: 0 auto 34px;
	text-align: center;
}

.ocp-moon {
	display: grid;
	place-items: center;
	width: 74px;
	height: 74px;
	margin: 0 auto 16px;
	border: 1px solid var(--ocp-border);
	border-radius: 50%;
	background: rgba(255,255,255,.025);
	box-shadow: 0 0 36px rgba(215,181,109,.16), inset 0 0 24px rgba(215,181,109,.08);
	color: var(--ocp-accent);
	font-family: Georgia, serif;
	font-size: 46px;
	line-height: 1;
}

.ocp-kicker {
	margin: 0 0 8px;
	color: var(--ocp-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .24em;
	text-transform: uppercase;
}

.ocp-hero h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(36px, 6vw, 68px);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -.03em;
}

.ocp-hero > p:last-child {
	max-width: 660px;
	margin: 18px auto 0;
	color: var(--ocp-muted);
	font-size: 16px;
	line-height: 1.7;
}

.ocp-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 650px;
	margin: 0 auto 26px;
}

.ocp-progress-item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #8e869e;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	transition: .25s ease;
	white-space: nowrap;
}

.ocp-progress-item span {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 50%;
	background: #100d1d;
}

.ocp-progress-item.is-active,
.ocp-progress-item.is-complete {
	color: var(--ocp-accent);
}

.ocp-progress-item.is-active span,
.ocp-progress-item.is-complete span {
	border-color: var(--ocp-accent);
	box-shadow: 0 0 16px rgba(215,181,109,.16);
}

.ocp-progress-line {
	flex: 1;
	height: 1px;
	min-width: 34px;
	margin: 0 12px;
	background: rgba(255,255,255,.1);
}

.ocp-panel {
	padding: clamp(22px, 4vw, 46px);
	border: 1px solid var(--ocp-border);
	border-radius: 24px;
	background: var(--ocp-panel);
	box-shadow: 0 30px 90px rgba(0,0,0,.34);
	backdrop-filter: blur(18px);
}

.ocp-step {
	display: none;
}

.ocp-step.is-active {
	display: block;
	animation: ocpFade .35s ease both;
}

@keyframes ocpFade {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.ocp-section-heading {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin-bottom: 28px;
}

.ocp-section-heading > span {
	display: grid;
	place-items: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border: 1px solid var(--ocp-border);
	border-radius: 14px;
	color: var(--ocp-accent);
	font-family: Georgia, serif;
}

.ocp-section-heading h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(25px, 4vw, 38px);
	font-weight: 500;
}

.ocp-section-heading p {
	margin: 8px 0 0;
	color: var(--ocp-muted);
	line-height: 1.6;
}

.ocp-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.ocp-field {
	display: block;
	margin-bottom: 20px;
}

.ocp-field > span {
	display: block;
	margin-bottom: 8px;
	color: #eee9f8;
	font-size: 13px;
	font-weight: 700;
}

.ocp-field input,
.ocp-field textarea {
	width: 100%;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 13px;
	outline: none;
	background: rgba(4,3,9,.54);
	color: #fff;
	font: inherit;
	transition: .2s ease;
}

.ocp-field input {
	height: 52px;
	padding: 0 15px;
}

.ocp-field textarea {
	min-height: 132px;
	padding: 14px 15px;
	resize: vertical;
}

.ocp-field input:focus,
.ocp-field textarea:focus {
	border-color: var(--ocp-accent);
	box-shadow: 0 0 0 3px rgba(215,181,109,.1);
}

.ocp-field input::placeholder,
.ocp-field textarea::placeholder {
	color: #766e85;
}

.ocp-field small {
	display: block;
	margin-top: 6px;
	color: #888092;
	font-size: 11px;
	text-align: right;
}

.ocp-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 2px 0 24px;
	color: var(--ocp-muted);
	font-size: 13px;
	line-height: 1.5;
}

.ocp-consent input {
	width: 17px;
	height: 17px;
	margin-top: 2px;
	accent-color: var(--ocp-button);
}

.ocp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: .2s ease;
}

.ocp-btn-primary {
	margin-left: auto;
	background: var(--ocp-button);
	box-shadow: 0 12px 30px rgba(100,65,195,.28);
	color: #fff;
}

.ocp-btn-primary:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
}

.ocp-btn-primary:disabled {
	cursor: not-allowed;
	opacity: .42;
	transform: none;
	filter: none;
}

.ocp-btn-ghost {
	border-color: rgba(255,255,255,.14);
	background: transparent;
	color: #ded8e9;
}

.ocp-btn-ghost:hover {
	border-color: var(--ocp-accent);
	color: var(--ocp-accent);
}

.ocp-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 30px;
}

.ocp-counter {
	width: fit-content;
	margin: -6px auto 22px;
	padding: 9px 15px;
	border: 1px solid var(--ocp-border);
	border-radius: 999px;
	background: rgba(215,181,109,.05);
	color: var(--ocp-muted);
	font-size: 13px;
}

.ocp-counter strong {
	color: var(--ocp-accent);
}

.ocp-deck {
	display: grid;
	grid-template-columns: repeat(11, minmax(64px, 1fr));
	gap: 10px;
}

.ocp-card {
	position: relative;
	min-width: 0;
	aspect-ratio: 2 / 3.25;
	padding: 0;
	border: 0;
	outline: none;
	background: transparent;
	cursor: pointer;
	perspective: 900px;
}

.ocp-card:focus-visible {
	border-radius: 10px;
	box-shadow: 0 0 0 3px var(--ocp-accent);
}

.ocp-card-inner {
	position: absolute;
	inset: 0;
	display: block;
	transform-style: preserve-3d;
	transition: transform .55s cubic-bezier(.2,.75,.25,1);
}

.ocp-card.is-selected .ocp-card-inner {
	transform: rotateY(180deg) translateY(-4px);
}

.ocp-card-back,
.ocp-card-front {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 1px solid rgba(215,181,109,.48);
	border-radius: 10px;
	backface-visibility: hidden;
}

.ocp-card-back {
	padding: 5px;
	background:
		radial-gradient(circle at center, rgba(215,181,109,.14), transparent 35%),
		linear-gradient(145deg, #2a1745, #0e0a18 58%, #26173e);
	box-shadow: 0 8px 18px rgba(0,0,0,.26);
}

.ocp-card-frame {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	width: 100%;
	height: 100%;
	border: 1px solid rgba(215,181,109,.33);
	border-radius: 7px;
	color: var(--ocp-accent);
}

.ocp-card-star {
	font-size: 9px;
}

.ocp-card-orbit {
	font-family: Georgia, serif;
	font-size: clamp(18px, 2.4vw, 31px);
	text-shadow: 0 0 15px rgba(215,181,109,.32);
}

.ocp-card-front {
	flex-direction: column;
	gap: 6px;
	padding: 8px 5px;
	transform: rotateY(180deg);
	background:
		radial-gradient(circle at 50% 28%, rgba(215,181,109,.2), transparent 30%),
		linear-gradient(160deg, #f0e4c5, #bda86f);
	color: #21172c;
	text-align: center;
}

.ocp-card-front small {
	font-family: Georgia, serif;
	font-size: 9px;
}

.ocp-card-front strong {
	font-family: Georgia, serif;
	font-size: clamp(9px, 1.05vw, 13px);
	line-height: 1.05;
}

.ocp-card-front span {
	display: none;
	font-size: 8px;
	line-height: 1.25;
}

.ocp-payment {
	display: grid;
	gap: 18px;
	max-width: 690px;
	margin: 0 auto;
}

.ocp-payment-value {
	padding: 20px;
	border: 1px solid var(--ocp-border);
	border-radius: 18px;
	background: rgba(215,181,109,.055);
	text-align: center;
}

.ocp-payment-value small {
	display: block;
	margin-bottom: 4px;
	color: var(--ocp-muted);
}

.ocp-payment-value strong {
	color: var(--ocp-accent);
	font-family: Georgia, serif;
	font-size: 36px;
	font-weight: 500;
}

.ocp-qr {
	display: grid;
	place-items: center;
}

.ocp-qr img {
	width: min(240px, 80%);
	height: auto;
	padding: 12px;
	border-radius: 14px;
	background: #fff;
}

.ocp-pix-box {
	padding: 16px;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 14px;
	background: rgba(4,3,9,.42);
}

.ocp-pix-box > span {
	display: block;
	margin-bottom: 9px;
	color: var(--ocp-muted);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.ocp-pix-box > div {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ocp-pix-box code,
.ocp-pix-box textarea {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	border: 0;
	border-radius: 8px;
	background: rgba(255,255,255,.06);
	color: #fff;
	font-size: 12px;
	word-break: break-all;
}

.ocp-pix-box textarea {
	min-height: 76px;
	resize: none;
}

.ocp-copy {
	flex: 0 0 auto;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--ocp-accent);
	border-radius: 999px;
	background: transparent;
	color: var(--ocp-accent);
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
}

.ocp-receiver {
	margin: 0;
	color: var(--ocp-muted);
	font-size: 13px;
	text-align: center;
}

.ocp-alert {
	padding: 14px 16px;
	border: 1px solid rgba(255,190,100,.3);
	border-radius: 12px;
	background: rgba(255,190,100,.08);
	color: #f7d9a9;
	font-size: 14px;
}

.ocp-alert-success {
	max-width: 760px;
	margin: 0 auto 18px;
	border-color: rgba(88,214,146,.34);
	background: rgba(88,214,146,.09);
	color: #baf2d2;
	text-align: center;
}

.ocp-footer {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 10px;
	max-width: 760px;
	margin: 22px auto 0;
	color: #8e869e;
	font-size: 12px;
	line-height: 1.55;
	text-align: center;
}

.ocp-footer p {
	margin: 0;
}

.ocp-footer span {
	color: var(--ocp-accent);
}

.ocp-hp {
	position: absolute !important;
	left: -99999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

@media (max-width: 960px) {
	.ocp-deck {
		grid-template-columns: repeat(7, minmax(62px, 1fr));
	}
}

@media (max-width: 700px) {
	.ocp-wrap {
		padding: 30px 12px;
	}

	.ocp-grid-2 {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.ocp-progress-item {
		font-size: 0;
	}

	.ocp-progress-item span {
		font-size: 12px;
	}

	.ocp-progress-line {
		margin: 0 7px;
	}

	.ocp-deck {
		grid-template-columns: repeat(4, minmax(55px, 1fr));
		gap: 8px;
	}

	.ocp-card-front span {
		display: none;
	}

	.ocp-actions {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.ocp-btn,
	.ocp-btn-primary {
		width: 100%;
		margin-left: 0;
	}

	.ocp-pix-box > div {
		align-items: stretch;
		flex-direction: column;
	}

	.ocp-copy {
		width: 100%;
	}

	.ocp-section-heading {
		gap: 12px;
	}

	.ocp-section-heading > span {
		flex-basis: 38px;
		width: 38px;
		height: 38px;
	}

	.ocp-panel {
		border-radius: 18px;
	}
}

@media (max-width: 390px) {
	.ocp-deck {
		grid-template-columns: repeat(3, minmax(58px, 1fr));
	}
}
