:root {
	--bg: #0b0c10;
	--card: #111218;
	--muted: #b3b7c0;
	--text: #e8ecf1;
	--brand: #7c5cff;
	--ring: rgba(124, 92, 255, 0.45);
}

body {
	margin: 0;
	padding: 20px;
	color: var(--text);
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
		Arial, "Apple Color Emoji", "Segoe UI Emoji";
	background: radial-gradient(
			900px 520px at 70% -10%,
			rgba(124, 92, 255, 0.12),
			transparent 60%
		),
		var(--bg);

	display: grid;
	place-items: center;
	min-height: 100vh;
}

.weather-card {
	background: var(--card);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 16px;
	padding: 24px 32px;
	width: 100%;
	max-width: 400px;
	text-align: center;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.weather-card h1 {
	margin-top: 0;
	font-size: 24px;
	color: var(--brand);
}

.location {
	font-size: 18px;
	font-weight: 600;
	color: var(--muted);
}

.weather-display {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 16px 0;
}

.weather-icon {
	width: 80px;
	height: 80px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 50%;
}

.temperature {
	font-size: 48px;
	font-weight: 700;
	margin: 0;
}

.description {
	text-transform: capitalize;
	font-size: 16px;
	color: var(--muted);
}

.toggle-btn {
	background: #0e0e0e;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.16);
	height: 44px;
	padding: 0 16px;
	border-radius: 12px;
	font-weight: 700;
	cursor: pointer;
	margin-top: 16px;
	transition: box-shadow 0.15s ease;
}

.toggle-btn:hover {
	box-shadow: 0 0 0 6px var(--ring);
}

.status {
	font-size: 14px;
	color: #ff6b6b;
}
