/* Gift List Onboarding — Luxury Ventrella */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
	--gl-gold: #c9a84c;
	--gl-gold-light: #e8d9a0;
	--gl-gold-dark: #9a7d2e;
	--gl-black: #1a1a1a;
	--gl-cream: #f5f0e8;
	--gl-cream-dark: #e8dfd0;
	--gl-white: #ffffff;
	--gl-serif: 'Playfair Display', 'Georgia', serif;
}

/* ========== Page wrapper ========== */
.gl-onb--page { max-width: 100%; overflow: hidden; }

/* ========== HERO ========== */
.gl-onb-hero {
	background: linear-gradient(135deg, var(--gl-black) 0%, #2a2418 50%, var(--gl-black) 100%);
	color: var(--gl-white);
	text-align: center;
	padding: 100px 24px 80px;
	position: relative;
}
.gl-onb-hero::after {
	content: '';
	position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
	background: linear-gradient(to bottom, transparent, var(--gl-cream));
}
.gl-onb-hero-inner { max-width: 700px; margin: 0 auto; }
.gl-onb-eyebrow {
	font-family: var(--gl-serif);
	font-size: 15px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--gl-gold);
	margin-bottom: 24px;
}
.gl-onb-title {
	font-family: var(--gl-serif);
	font-size: clamp(36px, 6vw, 56px);
	font-weight: 400;
	line-height: 1.15;
	margin: 0 0 20px;
	color: var(--gl-white);
}
.gl-onb-subtitle {
	font-size: 19px;
	line-height: 1.7;
	color: rgba(255,255,255,.75);
	margin: 0;
}
.gl-onb-scroll-hint {
	margin-top: 48px;
	animation: glBounce 2s infinite;
}
.gl-onb-scroll-hint span {
	display: inline-block;
	font-size: 28px;
	color: var(--gl-gold);
	opacity: .6;
}
@keyframes glBounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(8px); }
}

/* ========== SECTIONS ========== */
.gl-onb-section {
	padding: 80px 24px;
	background: var(--gl-cream);
}
.gl-onb-section--dark {
	background: var(--gl-black);
	color: var(--gl-white);
}
.gl-onb-section-title {
	font-family: var(--gl-serif);
	font-size: clamp(32px, 5vw, 46px);
	font-weight: 400;
	text-align: center;
	margin: 0 0 48px;
	color: inherit;
}
.gl-onb-section--dark .gl-onb-section-title { color: var(--gl-gold-light); }

/* ========== 3 ACTOR CARDS ========== */
.gl-onb-actors {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	max-width: 1000px;
	margin: 0 auto;
}
.gl-onb-card {
	background: var(--gl-white);
	border: 1px solid var(--gl-gold-light);
	border-radius: 12px;
	padding: 40px 28px;
	text-align: center;
	transition: transform .3s, box-shadow .3s;
}
.gl-onb-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(201,168,76,.15);
}
.gl-onb-card-icon { font-size: 48px; margin-bottom: 18px; }
.gl-onb-card h3 {
	font-family: var(--gl-serif);
	font-size: 24px;
	font-weight: 600;
	color: var(--gl-black);
	margin: 0 0 12px;
}
.gl-onb-card p {
	font-size: 16px;
	line-height: 1.7;
	color: #555;
	margin: 0;
}

/* ========== TIMELINE ========== */
.gl-onb-timeline {
	max-width: 600px;
	margin: 0 auto;
	position: relative;
	padding-left: 60px;
}
.gl-onb-timeline::before {
	content: '';
	position: absolute;
	left: 22px; top: 0; bottom: 0;
	width: 2px;
	background: linear-gradient(to bottom, var(--gl-gold), var(--gl-gold-dark));
}
.gl-onb-step {
	position: relative;
	padding: 0 0 40px;
}
.gl-onb-step:last-child { padding-bottom: 0; }
.gl-onb-step-num {
	position: absolute;
	left: -60px; top: 0;
	width: 44px; height: 44px;
	background: var(--gl-gold);
	color: var(--gl-black);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--gl-serif);
	font-size: 18px;
	font-weight: 700;
	z-index: 1;
}
.gl-onb-step h4 {
	font-family: var(--gl-serif);
	font-size: 21px;
	font-weight: 600;
	color: var(--gl-gold-light);
	margin: 0 0 6px;
}
.gl-onb-step p {
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255,255,255,.65);
	margin: 0;
}

/* ========== DUE MODALITÀ ========== */
.gl-onb-modes {
	display: flex;
	align-items: stretch;
	gap: 24px;
	max-width: 800px;
	margin: 0 auto;
}
.gl-onb-mode {
	flex: 1;
	background: var(--gl-white);
	border: 1px solid var(--gl-gold-light);
	border-radius: 12px;
	padding: 40px 28px;
	text-align: center;
}
.gl-onb-mode-icon { font-size: 48px; margin-bottom: 14px; }
.gl-onb-mode h3 {
	font-family: var(--gl-serif);
	font-size: 24px;
	font-weight: 600;
	color: var(--gl-black);
	margin: 0 0 12px;
}
.gl-onb-mode p { font-size: 16px; line-height: 1.7; color: #555; margin: 0; }
.gl-onb-mode-divider {
	display: flex; align-items: center;
	font-family: var(--gl-serif);
	font-style: italic;
	color: var(--gl-gold-dark);
	font-size: 16px;
}

/* ========== CTA ========== */
.gl-onb-cta {
	background: var(--gl-black);
	color: var(--gl-white);
	text-align: center;
}
.gl-onb-cta h2 {
	font-family: var(--gl-serif);
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 400;
	color: var(--gl-gold-light);
	margin: 0 0 12px;
}
.gl-onb-cta p { color: rgba(255,255,255,.65); margin: 0 0 32px; font-size: 18px; }
.gl-onb-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.gl-onb-btn {
	display: inline-block;
	padding: 16px 40px;
	border-radius: 6px;
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
	transition: all .2s;
	cursor: pointer;
	border: none;
	font-family: inherit;
}
.gl-onb-btn--primary {
	background: var(--gl-gold);
	color: var(--gl-black);
}
.gl-onb-btn--primary:hover {
	background: var(--gl-gold-dark);
	color: var(--gl-white);
}
.gl-onb-btn--secondary {
	background: transparent;
	color: var(--gl-gold-light);
	border: 1px solid var(--gl-gold);
}
.gl-onb-btn--secondary:hover {
	background: rgba(201,168,76,.1);
}

/* ========== SCROLL REVEAL ========== */
.gl-onb-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .6s ease, transform .6s ease;
}
.gl-onb-reveal.gl-visible {
	opacity: 1;
	transform: none;
}
/* Stagger */
.gl-onb-actors .gl-onb-card:nth-child(2) { transition-delay: .15s; }
.gl-onb-actors .gl-onb-card:nth-child(3) { transition-delay: .3s; }
.gl-onb-timeline .gl-onb-step:nth-child(2) { transition-delay: .1s; }
.gl-onb-timeline .gl-onb-step:nth-child(3) { transition-delay: .2s; }
.gl-onb-timeline .gl-onb-step:nth-child(4) { transition-delay: .3s; }
.gl-onb-timeline .gl-onb-step:nth-child(5) { transition-delay: .4s; }
.gl-onb-timeline .gl-onb-step:nth-child(6) { transition-delay: .5s; }

/* ========== OVERLAY ========== */
.gl-onb--overlay {
	position: fixed; inset: 0; z-index: 100000;
	display: flex; align-items: center; justify-content: center;
}
.gl-onb-backdrop {
	position: absolute; inset: 0;
	background: rgba(0,0,0,.7);
	backdrop-filter: blur(4px);
}
.gl-onb-modal {
	position: relative;
	background: var(--gl-cream);
	border-radius: 16px;
	max-width: 860px;
	width: 92vw;
	max-height: 88vh;
	overflow-y: auto;
	z-index: 1;
	box-shadow: 0 24px 80px rgba(0,0,0,.4);
}
.gl-onb-modal .gl-onb-hero { padding: 48px 24px 40px; border-radius: 16px 16px 0 0; }
.gl-onb-modal .gl-onb-hero::after { display: none; }
.gl-onb-modal .gl-onb-section { padding: 40px 24px; }
.gl-onb-modal .gl-onb-title { font-size: clamp(28px, 5vw, 38px); }
.gl-onb-close {
	position: absolute; top: 16px; right: 16px; z-index: 2;
	background: rgba(255,255,255,.15); border: none; color: #fff;
	width: 36px; height: 36px; border-radius: 50%;
	font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.gl-onb-close:hover { background: rgba(255,255,255,.3); }
.gl-onb-overlay-footer {
	position: sticky; bottom: 0;
	background: var(--gl-black);
	padding: 16px 24px;
	text-align: center;
	border-radius: 0 0 16px 16px;
	border-top: 1px solid var(--gl-gold);
}

/* Timeline on light bg */
.gl-onb-timeline--light .gl-onb-step h4 { color: var(--gl-black); }
.gl-onb-timeline--light .gl-onb-step p { color: #555; }
.gl-onb-timeline--light::before { background: linear-gradient(to bottom, var(--gl-gold-light), var(--gl-gold)); }

/* ========== ADMIN PANEL ========== */
.gl-onb-admin-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	max-width: 1000px;
	margin: 0 auto;
}
.gl-onb-admin-card {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(201,168,76,.25);
	border-radius: 12px;
	padding: 28px 24px;
	transition: transform .3s, border-color .3s;
}
.gl-onb-admin-card:hover {
	transform: translateY(-3px);
	border-color: var(--gl-gold);
}
.gl-onb-admin-card .gl-onb-card-icon { font-size: 32px; margin-bottom: 12px; }
.gl-onb-admin-card h4 {
	font-family: var(--gl-serif);
	font-size: 20px;
	font-weight: 600;
	color: var(--gl-gold-light);
	margin: 0 0 8px;
}
.gl-onb-admin-card p {
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255,255,255,.6);
	margin: 0 0 12px;
}
.gl-onb-admin-card code {
	display: block;
	font-size: 11px;
	color: var(--gl-gold);
	background: rgba(201,168,76,.1);
	padding: 6px 10px;
	border-radius: 4px;
	font-family: monospace;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
	.gl-onb-actors { grid-template-columns: 1fr; gap: 20px; }
	.gl-onb-admin-grid { grid-template-columns: 1fr; }
	.gl-onb-modes { flex-direction: column; }
	.gl-onb-mode-divider { justify-content: center; padding: 8px 0; }
	.gl-onb-hero { padding: 64px 20px 56px; }
	.gl-onb-modal { width: 96vw; max-height: 92vh; border-radius: 12px; }
	.gl-onb-modal .gl-onb-hero { border-radius: 12px 12px 0 0; }
	.gl-onb-overlay-footer { border-radius: 0 0 12px 12px; }
}
