/*
 * activateNovicesStyles.css
 * TNT | Activate Novices — page-specific styles
 * 2026-07-20
 *
 * Paths in url() are relative to this file's location:
 *   WSoldierPPTVids2026-07-20/styles/
 * so ../images/ resolves to WSoldierPPTVids2026-07-20/images/
 */

/* ── Design tokens ──────────────────────────────────────────── */
:root {
	--an-steel:        #4a9abb;
	--an-steel-light:  #7ec8e3;
	--an-ice:          #c2e8f5;
	--an-dark:         #060d15;
	--an-mid:          #0c1a26;
	--an-glow:         rgba(74, 154, 187, 0.55);
	--an-border:       rgba(74, 154, 187, 0.28);
}

/* ── Body — Memory Suppressing background ───────────────────── */
body {
	background:
		radial-gradient(circle at 14% 18%, rgba(74,154,187,0.09), transparent 36%),
		radial-gradient(circle at 84% 14%, rgba(124,196,224,0.06), transparent 32%),
		linear-gradient(180deg, rgba(6,13,21,0.68) 0%, rgba(10,22,34,0.73) 100%),
		url('../images/Memory_Suppressing_Machine_CW_1.webp') center / cover fixed;
	color: rgba(194,232,245,0.9);
}

/* Override base hero-eyebrow color for this page's palette */
#anHero .hero-eyebrow {
	color: var(--an-ice);
}

/* ── Sub-nav log bar ───────────────────────────────────────── */
.an-log-bar {
	background: rgba(6,13,21,0.72);
	border-bottom: 1px solid var(--an-border);
	padding: 0.30rem 1.25rem;
}

.an-log-bar a {
	color: var(--an-steel-light);
	font-size: 0.80rem;
	font-weight: 600;
	opacity: 0.78;
	transition: opacity 0.2s, color 0.2s;
}

.an-log-bar a:hover {
	color: var(--an-ice);
	opacity: 1;
	text-decoration: underline;
}

/* ── Hero — buckyActivation.jpg ─────────────────────────────── */
#anHero {
	background:
		linear-gradient(155deg, rgba(4,12,20,0.80), rgba(8,24,40,0.70)),
		url('../images/buckyActivation.jpg') center 30% / cover no-repeat;
	border-bottom: 1px solid rgba(255,255,255,0.08);
	min-height: 230px;
	display: flex;
	align-items: center;
}

#anHero .hero-title {
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	margin-bottom: 0.5rem;
	color: #fff;
	letter-spacing: 1px;
	text-shadow: 0 0 22px rgba(74,154,187,0.65), 0 2px 14px rgba(0,0,0,0.8);
}

#anHero .hero-subtitle {
	font-size: clamp(0.95rem, 2vw, 1.12rem);
	color: rgba(194,232,245,0.75);
}

/* Context link below hero subtitle */
.an-hero-context {
	font-size: 0.79rem;
	margin-top: 0.45rem;
	margin-bottom: 0;
}

.an-hero-context a {
	color: rgba(194,232,245,0.65);
	text-decoration: none;
	transition: color 0.2s;
}

.an-hero-context a:hover {
	color: var(--an-ice);
	text-decoration: underline;
}

/* ── Page shell ─────────────────────────────────────────────── */
.an-shell {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.5rem 1rem 3.5rem;
}

/* ── Movie selector bar ─────────────────────────────────────── */
.an-selector-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: 1rem;
	padding: 0.65rem 1rem;
	background: rgba(8,18,30,0.75);
	border: 1px solid var(--an-border);
	border-radius: 10px;
}

.an-selector-label {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.4px;
	color: var(--an-steel-light);
	white-space: nowrap;
	margin-right: 0.2rem;
}

.an-select-btn {
	border: 1px solid var(--an-border);
	border-radius: 999px;
	padding: 0.42rem 1.1rem;
	background: rgba(74,154,187,0.10);
	color: var(--an-ice);
	font-weight: 600;
	font-size: 0.88rem;
	letter-spacing: 0.2px;
	transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
	cursor: pointer;
}

.an-select-btn:hover {
	background: rgba(74,154,187,0.22);
	border-color: rgba(74,154,187,0.55);
}

.an-select-active {
	background: rgba(74,154,187,0.28);
	border-color: var(--an-steel);
	color: #fff;
	box-shadow: 0 0 10px var(--an-glow);
}

/* ── Video container ────────────────────────────────────────── */
.an-video-wrap {
	position: relative;
	background: #000;
	border: 1px solid var(--an-border);
	border-radius: 12px;
	box-shadow:
		0 22px 55px rgba(0,0,0,0.75),
		0 0 32px rgba(74,154,187,0.10);
	overflow: hidden;
	cursor: pointer;
}

.an-video-wrap video {
	display: block;
	width: 100%;
	height: auto;
	max-height: 72vh;
	object-fit: contain;
}

/* Centred play/pause icon overlay */
.an-video-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(6,13,21,0.42);
	transition: opacity 0.25s;
	pointer-events: none;
}

.an-video-overlay.an-hidden {
	opacity: 0;
}

.an-play-icon {
	font-size: 4.2rem;
	color: rgba(255,255,255,0.82);
	text-shadow: 0 0 28px var(--an-glow);
	transition: transform 0.2s;
}

.an-video-wrap:hover .an-play-icon {
	transform: scale(1.10);
}

/* ── Controls bar ───────────────────────────────────────────── */
.an-controls-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 0.85rem;
	padding: 0.7rem 1rem;
	background: rgba(8,18,30,0.80);
	border: 1px solid var(--an-border);
	border-radius: 10px;
}

.an-controls-left { flex-shrink: 0; }

/* Play / Pause button */
.an-ctrl-btn {
	border-radius: 999px;
	padding: 0.45rem 1.25rem;
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.3px;
	transition: background 0.2s, box-shadow 0.2s;
	cursor: pointer;
}

.an-play-btn {
	background: rgba(74,154,187,0.20);
	color: var(--an-ice);
	border: 1px solid rgba(74,154,187,0.50);
	min-width: 98px;
}

.an-play-btn:hover {
	background: rgba(74,154,187,0.34);
	box-shadow: 0 0 14px var(--an-glow);
}

/* Loop button */
.an-loop-btn {
	background: rgba(74,154,187,0.10);
	color: rgba(194,232,245,0.75);
	border: 1px solid var(--an-border);
}

.an-loop-btn:hover {
	background: rgba(74,154,187,0.22);
	border-color: rgba(74,154,187,0.52);
}

.an-loop-active {
	background: rgba(74,154,187,0.30) !important;
	border-color: var(--an-steel) !important;
	color: #fff !important;
	box-shadow: 0 0 12px var(--an-glow) !important;
}

/* Progress track & fill */
.an-controls-center {
	flex: 1 1 200px;
	min-width: 120px;
}

.an-progress-wrap {
	width: 100%;
	height: 7px;
	background: rgba(74,154,187,0.16);
	border-radius: 999px;
	cursor: pointer;
	overflow: hidden;
	margin-bottom: 0.3rem;
}

.an-progress-wrap:hover {
	background: rgba(74,154,187,0.26);
}

.an-progress-bar {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, var(--an-steel), var(--an-ice));
	border-radius: 999px;
	transition: width 0.15s linear;
}

.an-time-display {
	font-size: 0.77rem;
	color: rgba(194,232,245,0.60);
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.an-time-sep { opacity: 0.45; }

/* Speed controls */
.an-controls-right {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex-wrap: wrap;
	flex-shrink: 0;
}

.an-speed-label {
	font-size: 0.80rem;
	font-weight: 700;
	color: var(--an-steel-light);
	white-space: nowrap;
}

.an-speed-group {
	display: flex;
	gap: 0.25rem;
}

.an-speed-btn {
	border: 1px solid var(--an-border);
	border-radius: 6px;
	padding: 0.26rem 0.58rem;
	background: rgba(74,154,187,0.10);
	color: rgba(194,232,245,0.80);
	font-size: 0.80rem;
	font-weight: 600;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
	cursor: pointer;
}

.an-speed-btn:hover {
	background: rgba(74,154,187,0.22);
	border-color: rgba(74,154,187,0.52);
}

.an-speed-active {
	background: rgba(74,154,187,0.32);
	border-color: var(--an-steel);
	color: #fff;
	box-shadow: 0 0 8px rgba(74,154,187,0.40);
}

/* ── Usage note ─────────────────────────────────────────────── */
.an-note {
	margin-top: 0.65rem;
	font-size: 0.82rem;
	color: rgba(194,232,245,0.50);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
	.an-controls-bar    { flex-direction: column; align-items: flex-start; }
	.an-controls-center { width: 100%; }
	.an-controls-right  { width: 100%; justify-content: flex-start; }
}
