/* ════════════════════════════════════════════════════════════════
   TODAY'S RECOMMENDATION — page styles
   Inherits: style.css (base variables, nav, footer, dark mode)
   ════════════════════════════════════════════════════════════════ */

/* ── ACTIVE NAV STATE — normally lives in how-aroa-works.css, which
   this page doesn't load; redefined here so it's not dependent on
   another page's stylesheet ── */
.nav-link--active {
	color: var(--text) !important;
	border-bottom: 1.5px solid var(--text);
	padding-bottom: 1px;
}

.rec-page {
	min-height: calc(100vh - 200px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 24px;
}

.rec {
	width: 100%;
	max-width: 420px;
	text-align: center;
}

.rec-title {
	font-family: "Gilroy", sans-serif;
	font-size: clamp(24px, 4vw, 30px);
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--text);
	margin: 0 0 48px;
	transition: color 0.3s ease;
}

/* ── LOCKED STATE ── */
.rec-locked {
	display: flex;
	flex-direction: column;
	align-items: center;
	/* The unlock gesture IS a long-press, so mobile browsers' native
	   long-press behavior (text selection, iOS's copy/lookup callout)
	   has to be disabled here or every hold attempt triggers it instead
	   of/alongside the fill animation. Scoped to the locked state only —
	   the unlocked name/description stay normally selectable. */
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

.rec-lock-icon {
	width: 56px;
	height: 56px;
	margin-bottom: 32px;
	color: var(--text-light);
	transition: color 0.3s ease;
}

.rec-hold {
	position: relative;
	width: 100%;
	max-width: 260px;
	height: 56px;
	border-radius: 50px;
	border: 1px solid var(--border);
	background: var(--surface);
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: none;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	outline-offset: 3px;
	transition: transform 0.15s ease, background 0.3s ease, border-color 0.3s ease;
}

.rec-hold-fill {
	position: absolute;
	inset: 0;
	width: 0%;
	background: var(--teal);
	transition: width 0.05s linear;
}

.rec-hold-label {
	position: relative;
	z-index: 1;
	font-family: "Gilroy", sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: var(--text);
	transition: color 0.15s ease;
	pointer-events: none;
}

.rec-hold.is-pressing .rec-hold-label { color: var(--white); }
.rec-hold.is-pressing { transform: scale(0.98); }
.rec-hold:focus-visible { outline: 2px solid var(--teal-dark); }

@media (prefers-reduced-motion: reduce) {
	.rec-hold-fill { transition: none; }
	.rec-hold { transition: none; }
}

/* ── UNLOCKED STATE ── */
.rec-unlocked {
	display: none;
	flex-direction: column;
	align-items: center;
}

.rec-unlocked.is-visible { display: flex; }

.rec-cover-frame {
	width: 100%;
	max-width: 260px;
	aspect-ratio: 4 / 5;
	border-radius: 20px;
	overflow: hidden;
	background: var(--surface);
	margin-bottom: 24px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.rec-cover-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rec-category {
	font-family: "Gilroy", sans-serif;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--teal);
	margin: 0 0 10px;
	transition: color 0.3s ease;
}

.rec-name {
	font-family: "Gilroy", sans-serif;
	font-size: 19px;
	font-weight: 500;
	color: var(--text);
	margin: 0 0 10px;
	line-height: 1.3;
	transition: color 0.3s ease;
}

.rec-description {
	font-family: "Gilroy", sans-serif;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.6;
	color: var(--text-light);
	margin: 0;
	transition: color 0.3s ease;
}

@media (max-width: 639px) {
	.rec-page { padding: 40px 20px 64px; }
	.rec-title { margin-bottom: 40px; }
}
