﻿html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	background: #080D11;
}

body {
	min-height: 100vh;
}

.home-shell {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 32px 28px 40px;
	box-sizing: border-box;
	color: #e2e8f0;
	min-height: 100vh;
	background: radial-gradient(circle at top, rgba(37, 99, 235, 0.18), transparent 35%), #080D11;
}

.home-header {
	margin-bottom: 28px;
}

	.home-header h1 {
		font-size: clamp(2.2rem, 4vw, 4rem);
		line-height: 1.05;
		margin: 0 0 12px;
		font-weight: 800;
		color: #f8fafc;
	}

	.home-header p {
		max-width: 760px;
		margin: 0;
		font-size: 1.08rem;
		line-height: 1.7;
		color: #cbd5e1;
	}

.home-landing {
	display: grid;
	grid-template-columns: repeat(2, minmax(280px, 1fr));
	gap: 28px;
	margin-bottom: 36px;
}

.landing-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 340px;
	border-radius: 24px;
	padding: 28px 26px 22px;
	text-decoration: none;
	color: #ffffff;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,0.12);
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

	.landing-panel:hover {
		transform: translateY(-5px);
		box-shadow: 0 22px 52px rgba(15, 23, 42, 0.28);
		text-decoration: none;
	}

	.landing-panel::before {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
		pointer-events: none;
	}

.panel-content,
.panel-action,
.portal-meta {
	position: relative;
	z-index: 1;
}

.panel-kicker {
	display: inline-flex;
	align-self: flex-start;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.2);
	background: rgba(255,255,255,0.08);
	font-size: 0.72rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 700;
}

.landing-panel h2 {
	margin: 20px 0 12px;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.08;
	font-weight: 800;
}

.landing-panel > .panel-content > p {
	margin: 0;
	font-size: 1.06rem;
	line-height: 1.7;
	color: rgba(255,255,255,0.9);
	max-width: 36ch;
}

.portal-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.portal-tag {
	display: inline-flex;
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.18);
	border: 1px solid rgba(255,255,255,0.16);
	font-size: 0.72rem;
	font-weight: 600;
}

.panel-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	margin-top: 24px;
	padding: 14px 20px;
	border-radius: 14px;
	background: rgba(15, 23, 42, 0.2);
	border: 1px solid rgba(255,255,255,0.22);
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #ffffff;
}

	.panel-action span {
		display: inline-block;
		margin-left: 8px;
	}

.free-panel {
	background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
}

.explore-panel {
	background: linear-gradient(135deg, #8b5cf6 0%, #4f46e5 100%);
}

.stock-carousel-wrap {
	background: rgba(15, 23, 42, 0.72);
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 26px;
	padding: 24px;
	box-shadow: 0 12px 32px rgba(2, 6, 23, 0.25);
}

.stock-carousel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-bottom: 18px;
}

	.stock-carousel-header h3 {
		margin: 0;
		font-size: 1.2rem;
		font-weight: 700;
		color: #f8fafc;
	}

.carousel-controls {
	display: inline-flex;
	gap: 10px;
}

.carousel-btn {
	width: 38px;
	height: 38px;
	border: 1px solid rgba(148, 163, 184, 0.28);
	background: rgba(15, 23, 42, 0.8);
	color: #e2e8f0;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 1.15rem;
}

	.carousel-btn:hover {
		background: rgba(59, 130, 246, 0.18);
		border-color: rgba(96, 165, 250, 0.45);
	}

.carousel-track {
	position: relative;
	min-height: 220px;
}

.stock-slide {
	display: none;
	grid-template-columns: 1.2fr 1fr;
	gap: 18px;
	align-items: stretch;
	animation: fadeIn 0.4s ease;
}

	.stock-slide.active {
		display: grid;
	}

.stock-card {
	background: linear-gradient(180deg, rgba(30,41,59,0.8), rgba(15,23,42,0.92));
	border: 1px solid rgba(148,163,184,0.2);
	border-radius: 18px;
	padding: 22px;
}

	.stock-card h4 {
		margin: 0 0 8px;
		font-size: 2rem;
		color: #f8fafc;
	}

.stock-symbol {
	display: inline-flex;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(34, 197, 94, 0.12);
	border: 1px solid rgba(34, 197, 94, 0.4);
	color: #86efac;
	margin-bottom: 16px;
}

.price-row {
	display: flex;
	align-items: end;
	gap: 14px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

	.price-row strong {
		font-size: clamp(1.8rem, 3vw, 2.8rem);
		color: #f8fafc;
	}

.price-change {
	font-size: 1rem;
	font-weight: 700;
	color: #86efac;
}

.metrics {
	display: grid;
	grid-template-columns: repeat(2, minmax(120px, 1fr));
	gap: 12px;
}

.metric {
	padding: 12px 14px;
	background: rgba(15, 23, 42, 0.7);
	border-radius: 12px;
	border: 1px solid rgba(148,163,184,0.18);
}

.metric-label {
	display: block;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #94a3b8;
	margin-bottom: 7px;
}

.metric-value {
	font-size: 1.05rem;
	font-weight: 700;
	color: #f8fafc;
}

.mini-chart {
	display: flex;
	align-items: end;
	gap: 7px;
	height: 120px;
	padding: 10px 0 0;
}

.mini-bar {
	flex: 1;
	border-radius: 8px 8px 0 0;
	background: linear-gradient(180deg, #60a5fa, #1d4ed8);
	min-height: 20px;
	opacity: 0.9;
}

.theme-tag {
	display: inline-flex;
	align-self: flex-start;
	margin-top: 10px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(96, 165, 250, 0.14);
	border: 1px solid rgba(96, 165, 250, 0.3);
	color: #bfdbfe;
	font-size: 0.75rem;
	font-weight: 700;
}

@media (max-width: 768px) {
	.home-landing {
		grid-template-columns: 1fr;
	}

	.stock-slide {
		grid-template-columns: 1fr;
	}

	.stock-carousel-header {
		flex-direction: column;
		align-items: flex-start;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

.home-shell,
.home-shell * {
	font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
