/* ==========================================================================
   Cuddling Launch Premiere & Countdown - Premium Fullscreen Aesthetics
   ========================================================================== */

:root {
	--c-bg: #070709;
	--c-bg-card: rgba(18, 18, 22, 0.7);
	--c-bg-card-hover: rgba(28, 28, 34, 0.85);
	--c-gold: #d4af37;
	--c-gold-light: #f3e5ab;
	--c-gold-glow: rgba(212, 175, 55, 0.25);
	--c-gold-border: rgba(212, 175, 55, 0.35);
	--c-text-main: #f5f5f7;
	--c-text-muted: #a1a1aa;
	--c-text-sub: #71717a;
	--c-red-live: #ef4444;
	
	--font-serif: 'Playfair Display', Georgia, serif;
	--font-editorial: 'Cormorant Garamond', Georgia, serif;
	--font-script: 'Dancing Script', cursive;
	--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html.cuddling-launch-html,
body.cuddling-launch-body {
	width: 100%;
	height: 100vh;
	height: 100dvh;
	background-color: var(--c-bg);
	color: var(--c-text-main);
	font-family: var(--font-sans);
	overflow: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Ambient Background & Grain Layers
   ========================================================================== */
.cuddling-launch-bg-layer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: 1;
	overflow: hidden;
}

.cuddling-launch-bg-image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.15;
	filter: blur(10px) brightness(0.7);
	transform: scale(1.05);
	transition: opacity 1.5s ease;
}

.cuddling-ambient-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(120px);
	opacity: 0.35;
	animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
	top: -15%;
	left: 20%;
	width: 550px;
	height: 550px;
	background: radial-gradient(circle, rgba(212, 175, 55, 0.45), transparent 70%);
}

.orb-2 {
	bottom: -20%;
	right: 15%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(160, 110, 40, 0.35), transparent 75%);
	animation-duration: 25s;
}

@keyframes floatOrb {
	0% { transform: translate(0, 0) scale(1); }
	100% { transform: translate(40px, 60px) scale(1.15); }
}

.cuddling-noise-overlay {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
	background-size: 24px 24px;
	opacity: 0.6;
}

/* Theme Variations */
body.theme-light {
	--c-bg: #fafafa;
	--c-bg-card: rgba(255, 255, 255, 0.85);
	--c-text-main: #18181b;
	--c-text-muted: #52525b;
	--c-text-sub: #71717a;
	--c-gold-border: rgba(212, 175, 55, 0.5);
}

body.theme-light .cuddling-ambient-orb {
	opacity: 0.15;
}

/* ==========================================================================
   Stage Visibility & Transitions
   ========================================================================== */
.cuddling-stage {
	position: relative;
	z-index: 5;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
	display: none;
	opacity: 0;
	transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.cuddling-stage.active {
	display: flex;
	opacity: 1;
}

/* ==========================================================================
   STAGE 1: FULL-PAGE COUNTDOWN & CAPTION
   ========================================================================== */
.stage-countdown {
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding: clamp(30px, 5vw, 60px) clamp(20px, 4vw, 40px);
}

.cuddling-launch-container {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	text-align: center;
}

/* Brand Header */
.cuddling-brand-header {
	padding-bottom: 20px;
}

.cuddling-wordmark {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.3s ease;
}

.cuddling-wordmark:hover {
	opacity: 0.85;
}

.wordmark-main {
	font-family: var(--font-script);
	font-size: clamp(30px, 4.5vw, 42px);
	font-weight: 700;
	color: var(--c-gold-light);
	letter-spacing: 0.02em;
	text-shadow: 0 0 25px var(--c-gold-glow);
}

.wordmark-sub {
	font-size: 11px;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: var(--c-text-sub);
	margin-top: -4px;
	font-weight: 500;
}

/* Hero Section */
.cuddling-countdown-hero {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: auto 0;
	padding: 10px 0;
	gap: clamp(10px, 2vw, 20px);
}

/* Eyebrow with gold lines */
.cuddling-eyebrow-wrap {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
}

.eyebrow-wing {
	width: 40px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--c-gold));
}

.wing-right {
	background: linear-gradient(90deg, var(--c-gold), transparent);
}

.cuddling-eyebrow-text {
	font-size: clamp(11px, 1.2vw, 13px);
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--c-gold);
}

/* Main Headline */
.cuddling-main-title {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: clamp(15px, 2.4vw, 26px);
	font-weight: 500;
	line-height: 1.4;
	color: var(--c-text-main);
	max-width: 620px;
	margin: 0 auto 20px;
	text-wrap: balance;
}

/* ==========================================================================
   The Countdown Board
   ========================================================================== */
.cuddling-countdown-board {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(10px, 2.5vw, 24px);
	margin: 10px auto 44px;
	user-select: none;
}

.countdown-unit-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.countdown-card {
	position: relative;
	width: clamp(72px, 13vw, 130px);
	height: clamp(84px, 15vw, 140px);
	background: var(--c-bg-card);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--c-gold-border);
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	overflow: hidden;
}

.countdown-card:hover {
	transform: translateY(-4px);
	border-color: var(--c-gold);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px var(--c-gold-glow);
}

.card-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.card-digit {
	font-family: var(--font-sans);
	font-size: clamp(34px, 6.5vw, 68px);
	font-weight: 700;
	color: var(--c-text-main);
	letter-spacing: -0.02em;
	line-height: 1;
	background: linear-gradient(180deg, #ffffff 40%, #c4c4cc 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.countdown-card.active-pulse {
	border-color: var(--c-gold);
}

.countdown-card.active-pulse .card-digit {
	background: linear-gradient(180deg, #fff 30%, var(--c-gold-light) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.countdown-label {
	font-size: clamp(10px, 1.1vw, 13px);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--c-text-muted);
	font-weight: 600;
}

.countdown-separator {
	font-size: clamp(28px, 4vw, 48px);
	font-weight: 300;
	color: var(--c-gold);
	margin-top: -24px;
	opacity: 0.6;
	animation: blinkSeparator 1.5s infinite ease-in-out;
}

@keyframes blinkSeparator {
	0%, 100% { opacity: 0.8; transform: scale(1); }
	50% { opacity: 0.3; transform: scale(0.95); }
}

/* ==========================================================================
   Rich Narrative Caption & Story Box
   ========================================================================== */
.cuddling-caption-card {
	position: relative;
	max-width: 720px;
	margin: 0 auto 36px;
	padding: clamp(24px, 3.5vw, 34px) clamp(24px, 4vw, 42px);
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(12px);
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.brush-accent-top {
	width: 60px;
	height: 2px;
	background: var(--c-gold);
	margin: 0 auto 16px;
	border-radius: 2px;
}

.cuddling-caption-text {
	font-family: var(--font-editorial);
	font-size: clamp(18px, 2.2vw, 23px);
	line-height: 1.6;
	color: #e4e4e7;
	font-weight: 400;
	margin-bottom: 14px;
	letter-spacing: 0.01em;
}

.cuddling-signature-line {
	font-family: var(--font-script);
	font-size: clamp(18px, 2vw, 22px);
	color: var(--c-gold-light);
	font-weight: 600;
	letter-spacing: 0.03em;
}

/* ==========================================================================
   VIP Early Access Notification Box
   ========================================================================== */
.cuddling-notify-wrap {
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
}

.cuddling-vip-form .input-group {
	display: flex;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(212, 175, 55, 0.3);
	border-radius: 50px;
	padding: 5px 6px 5px 22px;
	backdrop-filter: blur(10px);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cuddling-vip-form .input-group:focus-within {
	border-color: var(--c-gold);
	box-shadow: 0 0 25px var(--c-gold-glow);
}

.cuddling-vip-form input[type="email"] {
	flex: 1;
	min-width: 0;
	background: transparent;
	border: none;
	outline: none;
	color: var(--c-text-main);
	font-family: var(--font-sans);
	font-size: 16px;
}

.cuddling-vip-form input[type="email"]::placeholder {
	color: var(--c-text-sub);
}

.cuddling-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--c-gold), #b89028);
	color: #000000;
	border: none;
	outline: none;
	border-radius: 40px;
	padding: 12px 26px;
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cuddling-submit-btn:hover {
	transform: scale(1.03);
	box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.cuddling-notify-msg {
	margin-top: 12px;
	font-size: 13px;
	color: var(--c-gold-light);
	min-height: 20px;
	transition: all 0.3s ease;
}

.cuddling-notify-msg.success {
	color: #4ade80;
}

.cuddling-notify-msg.error {
	color: #f87171;
}

/* Footer Note */
.cuddling-launch-footer {
	padding-top: 24px;
}

.footer-note {
	font-size: 12px;
	color: var(--c-text-sub);
	letter-spacing: 0.05em;
}

/* ==========================================================================
   STAGE 2: FULLSCREEN PREMIERE VIDEO
   ========================================================================== */
.stage-video {
	position: fixed;
	inset: 0;
	z-index: 100;
	background-color: #000000;
	display: none;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.stage-video.active {
	display: flex;
}

.cuddling-video-wrapper {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#cuddling-premiere-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Top HUD Bar */
.cuddling-video-hud-top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: clamp(20px, 4vw, 36px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 10;
	background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, transparent 100%);
	pointer-events: auto;
}

.premiere-live-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(10px);
	padding: 8px 18px;
	border-radius: 40px;
	border: 1px solid rgba(239, 68, 68, 0.4);
}

.live-dot {
	width: 9px;
	height: 9px;
	background-color: var(--c-red-live);
	border-radius: 50%;
	box-shadow: 0 0 10px var(--c-red-live);
	animation: liveBlink 1.2s infinite ease-in-out;
}

@keyframes liveBlink {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.8); }
}

.live-text {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	color: #ffffff;
}

.hud-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.cuddling-hud-btn {
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 40px;
	padding: 9px 20px;
	color: #ffffff;
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.25s ease;
}

.cuddling-hud-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: #ffffff;
	transform: scale(1.04);
}

.cuddling-hud-btn.skip-btn {
	background: rgba(212, 175, 55, 0.25);
	border-color: var(--c-gold);
	color: var(--c-gold-light);
}

.cuddling-hud-btn.skip-btn:hover {
	background: var(--c-gold);
	color: #000000;
}

/* Bottom Progress HUD */
.cuddling-video-hud-bottom {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: clamp(20px, 4vw, 36px);
	z-index: 10;
	background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.video-progress-container {
	width: 100%;
	height: 4px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	overflow: hidden;
	cursor: pointer;
	margin-bottom: 12px;
}

.video-progress-bar {
	width: 0%;
	height: 100%;
	background: linear-gradient(90deg, var(--c-gold), #fff);
	transition: width 0.1s linear;
}

.video-hud-meta {
	display: flex;
	flex-wrap: wrap;
	row-gap: 4px;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	letter-spacing: 0.05em;
}

/* Unmute Prompt Overlay */
.cuddling-unmute-prompt {
	position: absolute;
	bottom: 100px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 15;
	display: none;
	animation: bouncePrompt 2s infinite ease-in-out;
	cursor: pointer;
}

.cuddling-unmute-prompt.visible {
	display: block;
}

.unmute-prompt-inner {
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(14px);
	border: 1px solid var(--c-gold);
	padding: 12px 28px;
	border-radius: 40px;
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--c-gold-light);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px var(--c-gold-glow);
}

@keyframes bouncePrompt {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, -8px); }
}

/* ==========================================================================
   STAGE 3: CINEMATIC FLASH / TRANSITION OVERLAY
   ========================================================================== */
.cuddling-transition-overlay {
	position: fixed;
	inset: 0;
	z-index: 999;
	background-color: #070709;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 1.2s ease;
}

.cuddling-transition-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

.transition-spinner-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.transition-spinner-wrap {
	padding: 0 24px;
}

.transition-wordmark {
	font-family: var(--font-script);
	font-size: clamp(28px, 8vw, 40px);
	color: var(--c-gold-light);
	text-shadow: 0 0 30px var(--c-gold-glow);
}

.transition-sub {
	display: block;
	max-width: min(90vw, 480px);
	margin: 0 auto;
	font-size: clamp(11px, 2.5vw, 13px);
	line-height: 1.6;
	letter-spacing: 0.15em;
	text-align: center;
	text-transform: uppercase;
	color: var(--c-text-muted);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 680px) {
	.cuddling-countdown-board {
		gap: 6px;
	}

	.countdown-card {
		border-radius: 12px;
	}

	.countdown-separator {
		font-size: 22px;
		margin-top: -14px;
	}

	.cuddling-caption-card {
		padding: 20px 16px;
	}

	.hud-actions .hud-label {
		display: none;
	}
}

@media (max-width: 480px) {
	.stage-countdown {
		padding: clamp(16px, 4vw, 30px) clamp(12px, 3vw, 24px);
	}

	.cuddling-countdown-board {
		gap: 4px;
		flex-wrap: wrap;
		row-gap: 10px;
		margin: 8px auto 28px;
	}

	.countdown-card {
		width: clamp(56px, 18vw, 76px);
		height: clamp(66px, 20vw, 88px);
	}

	.card-digit {
		font-size: clamp(24px, 8vw, 38px);
	}

	.countdown-separator {
		font-size: 16px;
		margin-top: -8px;
	}

	.countdown-label {
		font-size: 9px;
	}

	.cuddling-notify-wrap .input-group {
		padding-left: 16px;
	}
}
