/* Game Recovery page */

/* ---------- Hero ---------- */

.hero {
	min-height: 580px;
	background-position: 0% 0%, center;
}

/* ---------- Live "deer lost this season" counter in the hero ---------- */

.hero-counter {
	margin-top: 26px;
	padding: 18px 22px 20px;
	max-width: 470px;
	background: #000b;
	border: 1px solid var(--border-brown);
	border-left: 3px solid var(--gold);
	text-shadow: none;
}

.hero-counter .lost-kicker {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--gold);
}

.hero-counter [hidden] {
	display: none;
}

.hero-counter .live {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 2px;
	color: var(--red);
}

.hero-counter .live i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #ff3b30;
	animation: livePulse 1.6s ease-out infinite;
}

@keyframes livePulse {
	0% {
		box-shadow: 0 0 0 0 #ff3b30aa;
	}
	70% {
		box-shadow: 0 0 0 9px #ff3b3000;
	}
	100% {
		box-shadow: 0 0 0 0 #ff3b3000;
	}
}

.hero-counter .lost-num-wrap {
	position: relative;
	display: inline-block;
	margin: 10px 0 2px;
}

.hero-counter .lost-num {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 80px;
	line-height: 1;
	color: var(--gold);
	font-variant-numeric: lining-nums tabular-nums;
	text-shadow: 0 0 28px #c9a36a40;
}

.hero-counter .lost-num.tick {
	animation: numTick 0.9s ease-out;
}

@keyframes numTick {
	0% {
		color: #fff1d6;
		text-shadow: 0 0 34px #e8c88acc;
	}
	100% {
		color: var(--gold);
		text-shadow: 0 0 28px #c9a36a40;
	}
}

.hero-counter .lost-plus {
	position: absolute;
	left: 100%;
	top: 2px;
	margin-left: 10px;
	font-size: 20px;
	font-weight: 800;
	color: var(--red);
	pointer-events: none;
	animation: plusUp 1.4s ease-out forwards;
}

@keyframes plusUp {
	0% {
		opacity: 0;
		transform: translateY(8px);
	}
	15% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translateY(-30px);
	}
}

.hero-counter .lost-rate {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.4px;
	color: var(--text);
	margin: 0;
}

.hero-counter .lost-rate strong {
	color: var(--red);
}

@media (prefers-reduced-motion: reduce) {
	.hero-counter .live i,
	.hero-counter .lost-num.tick,
	.hero-counter .lost-plus {
		animation: none;
	}
	.hero-counter .lost-plus {
		display: none;
	}
}

.hero-counter .lost-bar {
	width: 100%;
	height: 4px;
	background: #2a2620;
	margin: 14px 0 0;
	overflow: hidden;
}

.hero-counter .lost-bar span {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--light-gold), var(--gold));
	transition: width 0.6s ease;
}

.hero-counter .lost-cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin-top: 18px;
}

.hero-counter .lost-cta {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 19px;
}

.hero-counter .btn {
	padding: 13px 22px;
}

@media (max-width: 1000px) {
	.hero-copy {
		max-width: 560px;
	}
}

@media (max-width: 760px) {
	.hero {
		min-height: 0;
		padding-top: 190px;
		background-image: linear-gradient(0deg, #000e 0%, #000c 55%, #0000 85%), var(--hero-img);
		background-position: center, 72% top;
		background-size: auto, auto 420px;
	}
	.hero-counter {
		max-width: none;
		padding: 16px 16px 18px;
	}
	.hero-counter .lost-num {
		font-size: 64px;
	}
	.hero-counter .lost-cta {
		font-size: 18px;
	}
}

/* ---------- Recovery log: photo links ---------- */

.log-list li.has-photo {
	cursor: pointer;
	transition: border-color 0.18s, background 0.18s;
	outline-offset: 3px;
}

.log-list li.has-photo:hover,
.log-list li.has-photo:focus-visible {
	border-color: #a98a5f;
	background: #19191a;
}

.log-view {
	margin-top: 4px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--gold);
}

body.light-mode .log-list li.has-photo:hover,
body.light-mode .log-list li.has-photo:focus-visible {
	background: var(--light-card);
	border-color: var(--light-gold-border);
}

body.light-mode .log-view {
	color: var(--light-gold);
}

/* ---------- Deer photo popup ---------- */

.deer-shade {
	position: fixed;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: #000c;
}

.deer-shade[hidden] {
	display: none;
}

.deer-modal {
	position: relative;
	width: min(460px, 100%);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: var(--panel);
	border: 1px solid var(--border-gold);
	border-top: 3px solid var(--gold);
	box-shadow: 0 20px 60px #000;
	text-align: left;
}

.deer-modal img {
	display: block;
	width: 100%;
	max-height: 60vh;
	object-fit: cover;
	background: var(--bg);
}

.deer-body {
	padding: 20px 24px 24px;
}

.deer-body .kicker {
	margin-bottom: 6px;
}

.deer-body h3 {
	margin: 0 0 8px;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 30px;
	font-weight: 500;
	color: var(--offwhite);
}

.deer-meta {
	margin: 0;
	font-size: 15px;
	color: var(--text);
}

.deer-meta b {
	color: var(--gold);
}

.deer-note {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-dim);
}

.deer-call {
	margin: 18px 0 0;
	padding-top: 14px;
	border-top: 1px solid #2a2b2e;
	font-size: 13px;
	color: var(--text-muted);
}

.deer-call a {
	color: var(--gold-light);
	font-weight: 700;
}

.deer-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 38px;
	height: 38px;
	border: 1px solid var(--border-gold);
	border-radius: 50%;
	background: #000b;
	color: var(--offwhite);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.deer-close:hover {
	border-color: var(--gold);
	color: var(--gold);
}
