/**
 * WP Secure Presentation Viewer Stylesheet
 * Luxury Design System adapted from MC&Co. Gifting Experience Brief
 *
 * @package WPSecurePresentation
 */

/* ==========================================================================
   1. DESIGN TOKENS & ROOT VARIABLES (Light & Dark System)
   ========================================================================== */
:root {
	/* Palette Tokens */
	--bg: #F4F0E8;
	--text: #3D3B38;
	--text-rgb: 61, 59, 56;
	--muted: #6F6A60;
	--faint: #8C877D;
	--gold: #A9843F;
	--gold-rgb: 169, 132, 63;
	--teal: #005F73;
	--line: rgba(61, 59, 56, .2);
	--line-soft: rgba(61, 59, 56, .14);
	--chip-border: rgba(61, 59, 56, .2);
	--surface: rgba(251, 248, 242, .72);
	--btn-text: #FBF8F2;
	--motif-op: .3;
	--logo-filter: none;

	/* Cursor */
	--cursor: none;
	--cur-display: block;

	/* Layout & Spacing */
	--pad-x: 40px;
	--pad-top: 32px;
	--stage-pad: 96px 8vw 116px 8vw;
	--stage-max: 900px;
	--label-display: inline-flex;

	/* Fonts */
	--font-serif: 'Instrument Serif', Georgia, serif;
	--font-sans: 'Jost', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--font-arabic: 'Noto Naskh Arabic', Georgia, serif;
	--font-editorial: 'Cormorant Garamond', Georgia, serif;
}

/* Dark Luxury Mode */
[data-theme="dark"] {
	--bg: #17140F;
	--text: #ECE4D4;
	--text-rgb: 236, 228, 212;
	--muted: #A99F8C;
	--faint: #8C8372;
	--gold: #C6A15B;
	--gold-rgb: 198, 161, 91;
	--teal: #5BB4C7;
	--line: rgba(236, 228, 212, .16);
	--line-soft: rgba(236, 228, 212, .1);
	--chip-border: rgba(236, 228, 212, .2);
	--surface: rgba(28, 24, 18, .74);
	--btn-text: #17140F;
	--motif-op: .4;
	--logo-filter: invert(.92) brightness(1.15);
}

@media (hover: none), (pointer: coarse) {
	:root {
		--cursor: auto;
		--cur-display: none;
	}
}

@media (max-width: 820px) {
	:root {
		--label-display: none !important;
		--pad-x: 18px;
		--pad-top: 16px;
		--stage-pad: 78px 20px 100px 20px;
		--stage-max: 560px;
	}

	.wpsp-brand-sep,
	.wpsp-brand-tag,
	.wpsp-ambient-label {
		display: none !important;
	}
}

@media (max-width: 480px) {
	:root {
		--pad-x: 14px;
		--pad-top: 14px;
		--stage-pad: 72px 14px 80px 14px;
	}
}

/* ==========================================================================
   2. RESET & BASE LAYOUT
   ========================================================================== */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html, body {
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	cursor: var(--cursor);
	transition: background-color .5s ease, color .5s ease;
}

::selection {
	background: rgba(var(--gold-rgb), .26);
}

input, textarea, button {
	font-family: inherit;
}

input:focus {
	outline: none;
}

/* App Root Container */
#wpsp-app {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	background-color: var(--bg);
	color: var(--text);
	overflow: hidden;
	transition: background-color .5s ease, color .5s ease;
}
/* Heritage 3D Particle Formation Layer (Three.js Golden Dust) */
.wpsp-particles-box {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	overflow: hidden;
}

/* ==========================================================================
   3. CUSTOM LUXURY FOLLOWER CURSOR
   ========================================================================== */
#wpsp-cursor-ring {
	position: fixed;
	top: 0;
	left: 0;
	width: 32px;
	height: 32px;
	border: 1px solid var(--gold);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 10000;
	display: var(--cur-display);
	transition: width .28s ease, height .28s ease, background-color .28s ease, opacity .3s ease;
}

#wpsp-cursor-dot {
	position: fixed;
	top: 0;
	left: 0;
	width: 8px;
	height: 8px;
	background-color: var(--teal);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 10000;
	display: var(--cur-display);
}

/* Hover expansion state when hovering interactive elements */
body.wpsp-cursor-hover #wpsp-cursor-ring {
	width: 54px;
	height: 54px;
	background-color: rgba(var(--gold-rgb), .14);
}

/* ==========================================================================
   4. PERSISTENT HEADER (TOP BAR)
   ========================================================================== */
.wpsp-persistent-header {
	position: absolute;
	top: var(--pad-top);
	left: var(--pad-x);
	right: var(--pad-x);
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	pointer-events: none;
}

.wpsp-brand-group {
	display: flex;
	align-items: center;
	gap: 14px;
	pointer-events: auto;
}

.wpsp-brand-logo {
	height: 22px;
	width: auto;
	display: block;
	filter: var(--logo-filter);
	transition: filter .5s ease;
}

.wpsp-brand-text {
	font-family: 'Georgia', serif;
	font-size: 18px;
	font-style: italic;
	letter-spacing: .08em;
	color: var(--text);
}

.wpsp-brand-sep {
	width: 1px;
	height: 20px;
	background: var(--line);
	display: var(--label-display);
}

.wpsp-brand-tag {
	font-size: 10px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--faint);
	display: var(--label-display);
}

.wpsp-header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	pointer-events: auto;
}

.wpsp-icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	background: none;
	box-shadow: none;
	color: var(--gold);
	cursor: var(--cursor);
	transition: transform .2s ease;
}

.wpsp-icon-btn:hover {
	transform: scale(1.1);
}

.wpsp-icon-btn:active {
	transform: scale(.9);
}

/* Ambient Audio Control (Header) */
.wpsp-ambient-control {
	display: flex;
	align-items: center;
	gap: 11px;
}

.wpsp-ambient-label {
	font-family: var(--font-sans);
	font-size: 10px;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--faint);
	display: var(--label-display);
	align-items: center;
	height: 40px;
	line-height: 40px;
	margin: 0;
	padding: 0;
	user-select: none;
}

.wpsp-sound-btn {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 3px;
	width: 40px;
	height: 40px;
	padding: 0 0 11px;
	border: none;
	background: none;
	box-shadow: none;
	cursor: var(--cursor);
	transition: transform .2s ease;
}

.wpsp-sound-btn:hover {
	transform: scale(1.1);
}

.wpsp-sound-btn:active {
	transform: scale(.9);
}

/* Equalizer Bars */
.wpsp-eq-bar {
	width: 3px;
	height: 18px;
	background: rgba(var(--text-rgb), .28);
	border-radius: 2px;
	transform-origin: bottom;
	transform: scaleY(.28);
	animation: wpsp-eq 820ms ease-in-out infinite;
	animation-play-state: paused;
	transition: background .3s ease;
}

.wpsp-eq-bar.wpsp-eq-1 { animation-duration: 820ms; transform: scaleY(.28); }
.wpsp-eq-bar.wpsp-eq-2 { animation-duration: 1120ms; transform: scaleY(.55); }
.wpsp-eq-bar.wpsp-eq-3 { animation-duration: 700ms; transform: scaleY(.40); }
.wpsp-eq-bar.wpsp-eq-4 { animation-duration: 980ms; transform: scaleY(.60); }

.wpsp-sound-btn.wpsp-sound-playing .wpsp-eq-bar {
	background: var(--gold);
	animation-play-state: running;
}

/* ==========================================================================
   5. KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes wpsp-eq {
	0%, 100% { transform: scaleY(.28); }
	50% { transform: scaleY(1); }
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes riseIn {
	from {
		opacity: 0;
		transform: translateY(26px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes growX {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@keyframes nudge {
	from { transform: translateY(0); }
	to { transform: translateY(5px); }
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* ==========================================================================
   6. PRESENTATION GATE STAGE CARDS (WELCOME & DISCLAIMER)
   ========================================================================== */
.wpsp-stage-card {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: var(--stage-pad);
	overflow-y: auto;
	overflow-x: hidden;
	z-index: 10;
	transition: opacity .4s ease, visibility .4s ease;
}

.wpsp-stage-card.wpsp-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	display: none;
}

.wpsp-stage-card.wpsp-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	display: flex;
}

.wpsp-stage-inner {
	width: 100%;
	max-width: var(--stage-max);
	text-align: center;
	margin: auto 0;
	padding: 20px 10px 40px;
}

.wpsp-stage-card-wide .wpsp-stage-inner {
	max-width: 920px;
}

/* Confidentiality Gate layout & typography */
#wpsp-gate-disclaimer {
	justify-content: flex-start;
	padding-top: calc(var(--pad-top) + 32px);
	padding-bottom: 26px;
	box-sizing: border-box;
}

#wpsp-gate-disclaimer .wpsp-stage-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 920px;
	height: 100%;
	max-height: 100%;
	margin: 0 auto;
	padding: 0 10px;
	box-sizing: border-box;
}

#wpsp-gate-disclaimer .wpsp-kicker-en,
#wpsp-gate-disclaimer .wpsp-kicker-deck,
#wpsp-gate-disclaimer .wpsp-hairline-grow,
#wpsp-gate-disclaimer .wpsp-hero-title {
	flex-shrink: 0;
}

#wpsp-gate-disclaimer .wpsp-kicker-deck {
	font-size: clamp(19px, 2.8vw, 25px);
	line-height: 1.22;
	margin-top: 6px;
}

#wpsp-gate-disclaimer .wpsp-hairline-grow {
	margin: 10px auto;
}

#wpsp-gate-disclaimer .wpsp-hero-title {
	padding-top: 10px;
	font-size: clamp(26px, 5vw, 54px);
	line-height: 1.06;
}

#wpsp-gate-disclaimer .wpsp-notice-scrollbox {
	flex: 1 1 auto;
	min-height: 80px;
	max-height: 100%;
	margin: 12px auto 0;
}

#wpsp-gate-disclaimer .wpsp-btn-container {
	flex-shrink: 0;
	margin-top: 14px;
	margin-bottom: 0;
}

/* Arabic Kicker Phrase */
.wpsp-kicker-ar {
	font-family: var(--font-arabic);
	font-size: 18px;
	line-height: 1.4;
	color: var(--gold);
	animation: fadeIn 1s ease both;
	direction: rtl;
}

/* English Uppercase Kicker */
.wpsp-kicker-en {
	font-size: 11px;
	letter-spacing: .4em;
	color: var(--gold);
	text-transform: uppercase;
	margin-top: 8px;
	animation: fadeIn 1s ease both;
}

.wpsp-kicker-en:first-child {
	margin-top: 0;
}

.wpsp-kicker-deck {
	font-family: var(--font-serif);
	font-size: clamp(17px, 2.4vw, 22px);
	font-style: italic;
	font-weight: 400;
	color: var(--teal);
	margin-top: 6px;
	line-height: 1.25;
	letter-spacing: -0.01em;
	animation: fadeIn 1s ease both;
	animation-delay: .1s;
}

/* Golden Growing Hairline */
.wpsp-hairline-grow {
	width: 40px;
	height: 1px;
	background: var(--gold);
	margin: 18px auto;
	transform-origin: center;
	animation: growX 1.1s cubic-bezier(.22, .61, .36, 1) both;
	animation-delay: .15s;
}

/* Hero Heading */
.wpsp-hero-title {
	font-family: var(--font-serif);
	font-weight: 400;
	font-size: clamp(34px, 7vw, 70px);
	line-height: 1.04;
	margin: 0;
	color: var(--text);
	animation: riseIn 1.1s cubic-bezier(.22, .61, .36, 1) both;
	animation-delay: .2s;
	letter-spacing: -0.01em;
}

.wpsp-italic-accent {
	font-style: italic;
	color: var(--teal);
}

.wpsp-hero-title-black {
	color: var(--text) !important;
	text-transform: none !important;
}

.wpsp-deck-subtitle {
	display: block;
	font-family: var(--font-serif);
	font-size: clamp(20px, 4.2vw, 34px);
	font-style: italic;
	font-weight: 400;
	color: var(--teal) !important;
	margin-top: 10px;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

/* Hero Description */
.wpsp-hero-desc {
	font-size: 15px;
	line-height: 1.7;
	color: var(--muted);
	font-weight: 300;
	max-width: 520px;
	margin: 20px auto 0;
	animation: riseIn 1.1s cubic-bezier(.22, .61, .36, 1) both;
	animation-delay: .4s;
}

/* ==========================================================================
   7. MINIMALIST PASSWORD INPUT & FORM
   ========================================================================== */
.wpsp-hero-form {
	width: 100%;
	max-width: 420px;
	margin: 28px auto 0;
	animation: riseIn 1.1s cubic-bezier(.22, .61, .36, 1) both;
	animation-delay: .5s;
}

.wpsp-input-wrapper {
	position: relative;
	width: 100%;
	max-width: 360px;
	margin: 0 auto;
}

.wpsp-input-wrapper input {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--line);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 20px;
	text-align: center;
	letter-spacing: 0.25em;
	padding: 10px 36px 10px 10px;
	caret-color: var(--gold);
	cursor: text;
	transition: border-color .3s ease;
}

.wpsp-input-wrapper input:focus {
	outline: none;
	border-bottom-color: var(--gold);
}

.wpsp-input-wrapper input::placeholder {
	color: var(--faint);
	font-style: italic;
	opacity: .75;
	letter-spacing: .12em;
	font-size: 15px;
}

.wpsp-pwd-eye {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: var(--gold);
	cursor: var(--cursor);
	padding: 6px;
	opacity: 0.6;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.25s ease;
}

.wpsp-pwd-eye:hover {
	opacity: 1;
}

.wpsp-error-msg {
	margin-top: 14px;
	font-size: 11.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #d63638;
	animation: riseIn .35s ease both;
}

[data-theme="dark"] .wpsp-error-msg {
	color: #ff8a80;
}

.wpsp-btn-container {
	margin-top: 32px;
	display: flex;
	justify-content: center;
}

/* ==========================================================================
   8. LIQUID GLASS BUTTON (ADAPTED FROM GIFTING BRIEF)
   ========================================================================== */
.wpsp-liquid-btn {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	background: color-mix(in srgb, rgba(var(--gold-rgb), 1) 8%, transparent);
	color: var(--gold);
	border: none;
	padding: 22px 48px;
	font-family: var(--font-sans);
	font-weight: 400;
	font-size: 11px;
	letter-spacing: .28em;
	text-transform: uppercase;
	cursor: var(--cursor);
	border-radius: 99em;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10),
				inset 1.8px 3px 0 -2px rgba(255, 255, 255, .9),
				inset -2px -2px 0 -2px rgba(255, 255, 255, .8),
				inset -3px -8px 1px -6px rgba(255, 255, 255, .6),
				inset -.3px -1px 4px 0 rgba(0, 0, 0, .12),
				inset -1.5px 2.5px 0 -2px rgba(0, 0, 0, .2),
				inset 0 3px 4px -2px rgba(0, 0, 0, .2),
				inset 2px -6.5px 1px -4px rgba(0, 0, 0, .1),
				0 1px 5px 0 rgba(0, 0, 0, .1),
				0 6px 16px 0 rgba(0, 0, 0, .08);
	transition: transform .2s ease-out, box-shadow .3s ease;
	text-decoration: none;
}

.wpsp-liquid-btn:hover {
	transform: translateY(-1px);
}

.wpsp-liquid-btn:active {
	transform: scale(.96);
}

.wpsp-liquid-btn:disabled {
	opacity: 0.55;
	pointer-events: none;
}

.wpsp-liquid-btn canvas[data-lens="1"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	pointer-events: none;
	z-index: 0;
}

/* Glass Inner Shimmer */
.wpsp-liquid-shimmer {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .07) 42%, rgba(255, 255, 255, 0) 62%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10),
				inset 1.8px 3px 0 -2px rgba(255, 255, 255, .9),
				inset -2px -2px 0 -2px rgba(255, 255, 255, .8),
				inset -3px -8px 1px -6px rgba(255, 255, 255, .6),
				inset -.3px -1px 4px 0 rgba(0, 0, 0, .12),
				inset -1.5px 2.5px 0 -2px rgba(0, 0, 0, .2),
				inset 0 3px 4px -2px rgba(0, 0, 0, .2),
				inset 2px -6.5px 1px -4px rgba(0, 0, 0, .1);
	z-index: 2;
}

/* Gold Gradient Clipped Text */
.wpsp-liquid-text {
	position: relative;
	z-index: 3;
	background: linear-gradient(180deg, rgba(255, 255, 255, .35) 0%, var(--gold) 40%, var(--gold) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	display: inline-block;
	font-weight: 400;
	letter-spacing: .28em;
	text-transform: uppercase;
}

/* ==========================================================================
   9. CONFIDENTIALITY & COPYRIGHT NOTICE SCROLLBOX
   ========================================================================== */
.wpsp-disclaimer-header {
	margin-bottom: 24px;
}

.wpsp-notice-scrollbox {
	width: 100%;
	max-width: 760px;
	margin: 14px auto 0;
	max-height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 12px 18px 16px;
	text-align: left;
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
	animation: riseIn 1.1s cubic-bezier(.22, .61, .36, 1) both;
	animation-delay: .35s;
	-webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0, #000 12px, #000 calc(100% - 14px), rgba(0,0,0,0) 100%);
	mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0, #000 12px, #000 calc(100% - 14px), rgba(0,0,0,0) 100%);
}

.wpsp-notice-scrollbox::-webkit-scrollbar {
	width: 4px;
}

.wpsp-notice-scrollbox::-webkit-scrollbar-thumb {
	background: rgba(var(--gold-rgb), .45);
	border-radius: 4px;
}

.wpsp-notice-text p {
	font-family: var(--font-editorial);
	font-size: 16.5px;
	line-height: 1.68;
	color: var(--text);
	margin-bottom: 16px;
	font-weight: 400;
	letter-spacing: .01em;
}

.wpsp-notice-confirm {
	font-family: var(--font-sans) !important;
	font-size: 13.5px !important;
	line-height: 1.6 !important;
	font-weight: 400 !important;
	color: var(--gold) !important;
	border-top: 1px solid var(--line-soft);
	padding-top: 16px;
	margin-top: 20px !important;
}

.wpsp-notice-copyright {
	font-family: var(--font-sans);
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--faint);
	margin-top: 14px;
	font-weight: 400;
}

/* ==========================================================================
   10. PRESENTATION THEATER & FULLSCREEN ENGINE
   ========================================================================== */
.wpsp-theater-container {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	background-color: #000000;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	cursor: default;
}

.wpsp-theater-container.wpsp-active {
	display: flex;
}

.wpsp-viewport {
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #000000;
	overflow: hidden;
	padding: 0;
	margin: 0;
	position: relative;
}

.wpsp-canvas-stage {
	position: relative;
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wpsp-canvas {
	position: absolute;
	margin: auto;
	inset: 0;
	display: block;
	max-width: 100vw;
	max-height: 100vh;
	object-fit: contain;
	image-rendering: auto;
	transition: opacity 0.22s cubic-bezier(0.25, 1, 0.5, 1);
	will-change: opacity;
}

.wpsp-canvas.wpsp-canvas-visible {
	opacity: 1;
	z-index: 12;
	pointer-events: auto;
}

.wpsp-canvas.wpsp-canvas-hidden {
	opacity: 0;
	z-index: 11;
	pointer-events: none;
}

/* Top Hairline Luxury Progress Bar (non-blocking rapid navigation indicator) */
.wpsp-nav-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 2px;
	z-index: 2000;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease;
	background: linear-gradient(90deg, transparent, var(--gold), #5BB4C7, var(--gold), transparent);
	background-size: 200% 100%;
}

.wpsp-nav-progress.wpsp-active {
	opacity: 1;
	animation: wpspProgressPulse 1.2s linear infinite;
}

@keyframes wpspProgressPulse {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: -100% 0;
	}
}

.wpsp-canvas-shield {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1100;
	background: transparent;
	pointer-events: auto;
}

/* Interactive PDF Link Overlays (Dual-Buffer Synchronized) */
.wpsp-link-layer {
	position: absolute;
	margin: auto;
	inset: 0;
	display: block;
	max-width: 100vw;
	max-height: 100vh;
	pointer-events: none;
	transition: opacity 0.22s cubic-bezier(0.25, 1, 0.5, 1);
	will-change: opacity;
	z-index: 1150;
}

.wpsp-link-layer.wpsp-link-layer-visible {
	opacity: 1;
	pointer-events: none;
}

.wpsp-link-layer.wpsp-link-layer-hidden {
	opacity: 0;
	pointer-events: none;
}

.wpsp-pdf-link {
	position: absolute;
	display: block;
	pointer-events: auto;
	cursor: pointer;
	text-decoration: none;
	background: transparent;
	border-radius: 4px;
	transition: background-color 0.2s ease, outline-color 0.2s ease, box-shadow 0.2s ease;
	outline: 1px dashed transparent;
	z-index: 1152;
}

.wpsp-pdf-link:hover {
	background-color: rgba(198, 161, 91, 0.12);
	outline-color: rgba(198, 161, 91, 0.5);
	box-shadow: 0 0 14px rgba(198, 161, 91, 0.25);
}

[data-theme="dark"] .wpsp-pdf-link:hover {
	background-color: rgba(198, 161, 91, 0.18);
	outline-color: rgba(198, 161, 91, 0.65);
	box-shadow: 0 0 16px rgba(198, 161, 91, 0.35);
}

/* Loader Overlay */
.wpsp-loader-overlay {
	position: absolute;
	inset: 0;
	z-index: 1500;
	background: rgba(18, 15, 12, 0.78);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.wpsp-loader-overlay.wpsp-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.wpsp-spinner {
	width: 36px;
	height: 36px;
	border: 2px solid rgba(var(--gold-rgb), .3);
	border-top-color: var(--gold);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

.wpsp-loader-text {
	color: var(--gold);
	font-family: var(--font-sans);
	font-size: 13px;
	letter-spacing: .15em;
	text-transform: uppercase;
}

/* ==========================================================================
   11. FLOATING LUXURY THEATER TOOLBAR
   ========================================================================== */
.wpsp-toolbar {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1200;
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(28, 24, 18, 0.82);
	backdrop-filter: blur(28px) saturate(1.8);
	-webkit-backdrop-filter: blur(28px) saturate(1.8);
	border: 1px solid rgba(var(--gold-rgb), 0.3);
	border-radius: 100px;
	padding: 8px 18px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.wpsp-toolbar.wpsp-toolbar-autohide {
	opacity: 0;
	transform: translate(-50%, 14px);
	pointer-events: none;
}

.wpsp-toolbar:hover,
.wpsp-toolbar:focus-within {
	opacity: 1 !important;
	transform: translateX(-50%) !important;
	pointer-events: auto !important;
}

.wpsp-tool-btn {
	background: transparent;
	border: none;
	color: var(--gold);
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	padding: 6px 10px;
	border-radius: 20px;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.wpsp-tool-btn:hover:not(:disabled) {
	background: rgba(var(--gold-rgb), 0.18);
	transform: scale(1.05);
}

.wpsp-tool-btn:active:not(:disabled) {
	transform: scale(0.95);
}

.wpsp-tool-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.wpsp-tool-btn.wpsp-icon-only {
	padding: 6px;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	justify-content: center;
}

.wpsp-counter {
	font-family: var(--font-sans);
	font-size: 11px;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.7);
	padding: 0 8px;
	white-space: nowrap;
}

.wpsp-counter strong {
	color: var(--gold);
	font-weight: 600;
}

.wpsp-toolbar-divider {
	width: 1px;
	height: 18px;
	background: rgba(255, 255, 255, 0.18);
	margin: 0 4px;
}

/* ==========================================================================
   12. ANTI-PRINT & SECURITY FRICTION
   ========================================================================== */
@media print {
	html, body, #wpsp-app, .wpsp-stage-card, .wpsp-theater-container {
		display: none !important;
		visibility: hidden !important;
	}
}

/* ==========================================================================
   13. COMPREHENSIVE RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 820px) {
	.wpsp-persistent-header {
		top: var(--pad-top);
		left: var(--pad-x);
		right: var(--pad-x);
	}

	.wpsp-brand-sep,
	.wpsp-brand-tag,
	.wpsp-ambient-label {
		display: none !important;
	}

	.wpsp-header-actions {
		gap: 10px;
	}

	.wpsp-stage-card-wide .wpsp-stage-inner {
		max-width: 100%;
	}

	#wpsp-gate-disclaimer {
		padding-top: calc(var(--pad-top) + 36px);
		padding-bottom: 20px;
	}

	#wpsp-gate-disclaimer .wpsp-stage-inner {
		padding-top: 0;
	}

	#wpsp-gate-disclaimer .wpsp-kicker-deck {
		font-size: clamp(17px, 3.8vw, 22px);
	}

	#wpsp-gate-disclaimer .wpsp-hero-title {
		font-size: clamp(24px, 6vw, 44px);
	}

	.wpsp-hero-title {
		font-size: clamp(32px, 7.5vw, 56px);
		line-height: 1.08;
	}

	.wpsp-hero-desc {
		font-size: 14px;
		line-height: 1.65;
		margin: 16px auto 0;
		padding: 0 10px;
	}

	#wpsp-gate-disclaimer .wpsp-notice-scrollbox {
		min-height: 90px;
		padding: 10px 14px 14px;
	}

	.wpsp-notice-text p {
		font-size: 15px;
		line-height: 1.6;
	}
}

@media (max-width: 480px) {
	.wpsp-kicker-ar {
		font-size: 16px;
	}

	.wpsp-kicker-en {
		font-size: 10px;
		letter-spacing: .3em;
	}

	.wpsp-kicker-deck {
		font-size: clamp(14px, 4.2vw, 17px);
		margin-top: 4px;
	}

	.wpsp-hero-title {
		font-size: clamp(28px, 8.5vw, 42px);
	}

	#wpsp-gate-disclaimer .wpsp-kicker-deck {
		font-size: clamp(15px, 4.4vw, 19px);
	}

	#wpsp-gate-disclaimer .wpsp-hero-title {
		font-size: clamp(22px, 7.2vw, 34px);
	}

	.wpsp-deck-subtitle {
		font-size: clamp(18px, 5.2vw, 24px);
		margin-top: 6px;
	}

	.wpsp-hero-desc {
		font-size: 13px;
		line-height: 1.55;
	}

	.wpsp-liquid-btn {
		padding: 18px 28px;
		font-size: 10px;
		letter-spacing: .22em;
		width: 100%;
		max-width: 290px;
	}

	.wpsp-input-wrapper input {
		font-size: 18px;
		letter-spacing: 0.16em;
	}

	.wpsp-notice-text p {
		font-size: 15px;
		line-height: 1.6;
		margin-bottom: 12px;
	}

	.wpsp-notice-confirm {
		font-size: 12.5px !important;
	}

	.wpsp-toolbar {
		bottom: 16px;
		padding: 6px 12px;
		gap: 6px;
	}

	.wpsp-tool-btn {
		font-size: 10px;
		padding: 4px 8px;
	}
}

