/* Recess in Varanasi — UI polish overrides (keeps existing interaction model) */
:root {
	--rv-earth: #292723;
	--rv-amber: #bd8c22;
	--rv-amber-bright: #d4a028;
	--rv-cream: #ffebb9;
	--rv-ink: #1c1916;
	--rv-muted: rgba(255, 255, 255, 0.72);
	--rv-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--rv-font-logo: amerigo_btbold, Georgia, "Times New Roman", serif;
	--rv-font-ui: brandon_grotesquebold, "Segoe UI", sans-serif;
	--rv-font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

html {
	scroll-behavior: smooth;
}

body,
html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-color: var(--rv-earth);
}

/* —— Brand logo stays Amerigo —— */
.logo_cont .logo,
.logo_cont .logo span {
	font-family: var(--rv-font-logo) !important;
}

.logo_cont .logo span:nth-child(2) {
	border-bottom-color: var(--rv-amber);
}

.logo_cont .author {
	font-family: var(--rv-font-body) !important;
	font-style: italic;
	font-weight: 400;
	text-transform: none !important;
	letter-spacing: 0.02em;
	font-size: 13px;
	opacity: 0.9;
	margin-top: 6px;
}

/* —— Body / about narrative —— */
.about_container,
.about_container p,
.cd-modal-content,
.cd-modal-content p,
.game_info p,
.copyright {
	font-family: var(--rv-font-body) !important;
}

.game_info h1,
.game_name_place,
.video_name h1,
.ghat_name {
	font-family: var(--rv-font-logo) !important;
	letter-spacing: 0.01em;
}

.boat_ride_btn_text,
.boat_types li,
.social ul li,
.play_btn,
.menu,
.xp_text {
	font-family: var(--rv-font-ui) !important;
	letter-spacing: 0.12em;
}

/* —— Begin gate —— */
.play_btn {
	border: 2px solid rgba(189, 140, 34, 0.85);
	background: rgba(41, 39, 35, 0.92);
	color: var(--rv-cream);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-size: 15px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
	transition: transform 0.35s var(--rv-ease), border-color 0.25s ease, box-shadow 0.35s var(--rv-ease);
}

.play_btn:hover {
	transform: scale(0.92);
	border-color: var(--rv-amber-bright);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* —— Logo / chrome —— */
.logo_cont {
	filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.35));
}

.boat_ride_btn {
	border-color: var(--rv-amber);
	transition: transform 0.3s var(--rv-ease), box-shadow 0.3s var(--rv-ease);
}

.boat_ride_btn_text {
	color: var(--rv-amber);
}

.menu-bar {
	background-color: var(--rv-amber);
}

.panorama_gradient {
	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 0.5) 0%,
		rgba(0, 0, 0, 0) 35%,
		rgba(0, 0, 0, 0) 100%
	);
}

.panorama_gradient_2 {
	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0) 65%,
		rgba(0, 0, 0, 0.5) 100%
	);
}

/* —— Game / video —— */
.video_gif {
	transition: transform 0.4s var(--rv-ease);
}

.videos li:hover .video_gif {
	transform: translateY(-2px);
}

.game_info p {
	line-height: 1.6;
	font-size: 1rem;
}

.game_info h1 {
	letter-spacing: -0.01em;
}

/* —— Modal / about —— */
.cd-modal-content p {
	line-height: 1.55;
}

.copyright {
	font-style: normal !important;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--rv-earth) !important;
	opacity: 0.85;
	text-transform: none;
}

.xp_text {
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.modal-close {
	transition: opacity 0.25s ease;
}

/* —— Focus —— */
.play_btn:focus-visible,
.boat_ride_btn:focus-visible,
.menu:focus-visible,
.videos li:focus-visible,
.social ul li:focus-visible,
.modal-close:focus-visible {
	outline: 2px solid var(--rv-amber);
	outline-offset: 3px;
}

/* —— First-run hint (desktop + mobile) —— */
.ride_hint {
	position: fixed;
	left: 50%;
	bottom: clamp(28px, 6vh, 56px);
	transform: translateX(-50%);
	z-index: 120;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.5s var(--rv-ease), transform 0.5s var(--rv-ease);
}

.ride_hint.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.ride_hint.is-leaving {
	opacity: 0;
	transform: translateX(-50%) translateY(8px);
}

.ride_hint_text {
	display: inline-block;
	padding: 10px 18px;
	font-family: var(--rv-font-body);
	font-size: clamp(0.8rem, 1.6vw, 0.95rem);
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--rv-cream);
	background: rgba(41, 39, 35, 0.82);
	border: 1px solid rgba(189, 140, 34, 0.45);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.panorama_cont.boat_ride,
	.panorama_cont.motor_ride,
	.mouse_cont .arrow_pulse,
	.play_btn,
	.video_gif,
	.project_thumb,
	.ride_hint {
		animation: none !important;
		transition: none !important;
	}
}

@media screen and (max-width: 768px) {
	.logo_cont .author {
		font-size: 12px;
	}

	.game_info p {
		font-size: 0.95rem;
		line-height: 1.55;
	}
}

@media screen and (max-width: 600px) {
	.ride_hint_text {
		white-space: normal;
		text-align: center;
		max-width: min(88vw, 320px);
		line-height: 1.35;
	}
}

/* —— Author social (LinkedIn + Medium) —— */
.social_links {
	height: auto;
	overflow: visible;
}

.social_links ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: auto;
}

.social_links .linkedin,
.social_links .medium {
	transform: none;
	opacity: 1;
	position: relative;
	float: none;
	margin-left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.social_links .linkedin a,
.social_links .medium a {
	display: flex;
	align-items: center;
	justify-content: center;
	float: none;
	width: 100%;
	height: 100%;
}

/* Beat .cd-modal svg>path { fill: #f1ebdf } — match LinkedIn gold */
.social_links .linkedin a svg,
.social_links .medium a svg {
	display: block;
	width: 22px;
	height: 22px;
	margin: 0 auto;
}

.social_links .linkedin a svg path,
.social_links .medium a svg path {
	fill: #bc8c22;
	transition: fill 0.3s ease;
}

.social_links .linkedin:hover a svg path,
.social_links .medium:hover a svg path {
	fill: #292723;
}

/* Share bar icons (no Font Awesome) */
.social ul li svg {
	display: inline-block;
	width: 14px;
	height: 14px;
	vertical-align: middle;
}

.social ul li svg path {
	fill: currentColor;
}
