body, html {
	margin: 0;
	padding: 0;
	height: 100%;
	background-color: #050816;
	overflow: hidden;
	color: white;
	font-family: "Roboto", system-ui, sans-serif;
}

#fondo {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
}

#fondo::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(4, 10, 26, 0.30) 0%, rgba(4, 10, 26, 0.10) 30%, rgba(4, 10, 26, 0.18) 58%, rgba(4, 10, 26, 0.80) 100%),
		linear-gradient(90deg, rgba(8, 18, 36, 0.46) 0%, rgba(8, 18, 36, 0.10) 45%, rgba(8, 18, 36, 0.30) 100%);
	pointer-events: none;
}

.visor-branding {
	position: absolute;
	top: 28px;
	left: 28px;
	z-index: 2;
}

.visor-branding-link {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	padding: 14px 18px;
	border-radius: 24px;
	background: rgba(8, 18, 36, 0.42);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(14px);
	text-decoration: none;
	color: #f8fafc;
}

#logo {
	height: 44px;
	width: auto;
}

.visor-branding-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.visor-branding-title {
	font-size: 24px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.visor-branding-slogan {
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(226, 232, 240, 0.82);
}

#info-container {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 24px 28px 28px;
}

.visor-bottom-bar {
	display: flex;
	align-items: flex-end;
	gap: 22px;
	padding: 16px 18px;
	border-radius: 24px;
	background: rgba(8, 18, 36, 0.38);
	box-shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(16px);
}

.weather-widget {
	display: flex;
	align-items: center;
	min-width: 230px;
	flex-shrink: 0;
}

.current {
	display: flex;
	align-items: center;
	gap: 14px;
}

.icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.06);
	flex-shrink: 0;
}

.icon img {
	width: 60px;
	height: 60px;
	display: block;
}

.details {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.temperature {
	font-size: 38px;
	line-height: 0.92;
	font-weight: 700;
	color: #f8fafc;
}

.precipitation {
	font-size: 15px;
	line-height: 1.2;
	color: #dbeafe;
	min-height: 0;
}

.visor-scene {
	display: flex;
	align-items: flex-end;
	min-width: 0;
	flex: 1;
}

#info {
	font-size: clamp(34px, 4vw, 58px);
	line-height: 0.95;
	font-weight: 700;
	color: #ffffff;
	text-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
	min-width: 0;
	flex: 1;
}

.visor-mode {
	display: flex;
	justify-content: flex-end;
	flex-shrink: 0;
}

.visor-mode-chip {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	padding: 10px 12px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	min-width: 132px;
}

.visor-mode-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #e0f2fe;
}

.visor-mode-detail {
	font-size: 14px;
	color: rgba(226, 232, 240, 0.82);
	text-align: right;
	min-height: 0;
}

audio {
	display: none;
}

@media (max-width: 1100px) {
	.visor-bottom-bar {
		align-items: stretch;
		flex-wrap: wrap;
	}

	.visor-scene {
		order: -1;
		width: 100%;
	}

	#info {
		width: 100%;
	}

	.visor-mode {
		margin-left: auto;
	}
}

@media (max-width: 680px) {
	.visor-branding {
		top: 16px;
		left: 16px;
		right: 16px;
	}

	.visor-branding-link {
		width: 100%;
		padding: 12px 14px;
		border-radius: 18px;
	}

	#logo {
		height: 34px;
	}

	.visor-branding-title {
		font-size: 18px;
	}

	.visor-branding-slogan {
		font-size: 10px;
	}

	#info-container {
		padding: 16px;
	}

	.visor-bottom-bar {
		gap: 16px;
		padding: 14px;
		border-radius: 20px;
	}

	.weather-widget,
	.visor-mode {
		width: 100%;
	}

	.visor-mode {
		justify-content: flex-start;
	}

	.visor-mode-chip {
		align-items: flex-start;
		text-align: left;
		min-width: 0;
		width: 100%;
	}

	.temperature {
		font-size: 32px;
	}

	#info {
		font-size: clamp(28px, 8vw, 42px);
	}
}
