/* =========================
   Root + Theme
========================= */

:root {
	--bg-main: #0b0617;
	--bg-panel: rgba(255, 255, 255, 0.04);
	--bg-panel-hover: rgba(255, 255, 255, 0.07);

	--text-main: #f3f2f7;
	--text-muted: #b7b3c6;

	--accent-teal: #2ee8d8;
	--accent-orange: #ff9f43;

	--border-soft: rgba(255, 255, 255, 0.12);
	--shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* =========================
   Reset + Base
========================= */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family:
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		Oxygen,
		Ubuntu,
		Cantarell,
		"Helvetica Neue",
		Arial,
		sans-serif;

	background:
		radial-gradient(circle at top left, #1a0c33, transparent 60%),
		radial-gradient(circle at bottom right, #061f2a, transparent 60%),
		var(--bg-main);

	color: var(--text-main);
	line-height: 1.65;
}

/* =========================
   Typography
========================= */

h1,
h2,
h3 {
	font-weight: 600;
	line-height: 1.25;
}

h1 {
	font-size: 2.4rem;
	margin-bottom: 1rem;
}

h2 {
	font-size: 1.4rem;
	margin: 2.5rem 0 0.75rem;
}

p {
	margin-bottom: 1rem;
	color: var(--text-muted);
}

.subtitle {
	max-width: 700px;
	font-size: 1rem;
	margin-bottom: 2rem;
}

a {
	color: var(--accent-teal);
	text-decoration: none;
}

a:hover {
	color: var(--accent-orange);
}

/* =========================
   Layout
========================= */

.container {
	max-width: 960px;
	margin: 0 auto;
	padding: 3rem 2rem;
}

.article {
	max-width: 820px;
}

/* =========================
   Navbar
========================= */

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;

	padding: 1.2rem 2rem;
	border-bottom: 1px solid var(--border-soft);
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.4),
		rgba(0, 0, 0, 0.15)
	);
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.logo {
	width: 88px;
	height: 88px;
	object-fit: contain;
}

.site-title {
	font-size: 2.2rem;
	font-weight: 600;
	color: white;
}

.nav-links a {
	margin-left: 1.5rem;
	font-weight: 500;
}

/* =========================
   Cards (Contributions)
========================= */

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.6rem;
	margin-top: 2.5rem;
}

.card {
	display: block;
	padding: 1.6rem;

	background: var(--bg-panel);
	border-radius: 12px;
	border-left: 4px solid var(--accent-teal);

	box-shadow: var(--shadow-soft);
	transition: all 0.25s ease;

	color: var(--text-main);
}

.card h2 {
	margin-top: 0;
	margin-bottom: 0.6rem;
	font-size: 1.15rem;
}

.card p {
	font-size: 0.95rem;
}

.card .meta {
	display: block;
	margin-top: 0.8rem;
	font-size: 0.8rem;
	opacity: 0.75;
}

.card:hover {
	background: var(--bg-panel-hover);
	border-left-color: var(--accent-orange);
	transform: translateY(-2px);
}

/* =========================
   Article Page
========================= */

.article h1 {
	margin-bottom: 0.5rem;
}

.article .meta {
	font-size: 0.85rem;
	margin-bottom: 2rem;
	opacity: 0.75;
}

.article section {
	margin-bottom: 2.2rem;
}

.article section p {
	max-width: 700px;
}

/* =========================
   Info Panels / Callouts
========================= */

.panel {
	background: var(--bg-panel);
	border-left: 4px solid var(--accent-teal);
	border-radius: 10px;

	padding: 1.5rem;
	margin: 2rem 0;
}

.panel strong {
	color: var(--text-main);
}

/* =========================
   Footer (optional later)
========================= */

footer {
	text-align: center;
	padding: 2rem;
	font-size: 0.8rem;
	opacity: 0.6;
}
