/* RootHaktivity neon theme */
:root {
	--bg: #0b0710; /* deep purple-black */
	--surface: #120a1a; /* card/nav surface */
	--text: #f7eaff; /* near-white with lilac tint */
	--muted: #c7b6d9; /* muted lilac */
	--primary: #ff4ecd; /* neon pink */
	--accent: #b86bff; /* electric purple */
	--glow: 0 0 18px rgba(255, 78, 205, 0.45), 0 0 48px rgba(184, 107, 255, 0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	background: radial-gradient(1200px 600px at 10% 10%, rgba(255,78,205,.10), transparent),
		radial-gradient(1200px 600px at 90% 20%, rgba(184,107,255,.12), transparent),
		linear-gradient(180deg, #120a1a 0%, #0b0710 100%);
	color: var(--text);
	font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	line-height: 1.6;
}

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); }
.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	background: rgba(15,17,26,0.6);
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.brand { color: var(--accent); font-weight: 800; text-decoration: none; letter-spacing: 0.2px; }
.nav-links { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.nav a { color: var(--text); text-decoration: none; opacity: 0.9; }
.nav a:hover { opacity: 1; text-shadow: var(--glow); }
.nav .pill { border: 1px solid rgba(255,255,255,0.14); padding: 8px 14px; border-radius: 999px; }

/* Content wrapper */
.content { max-width: 1000px; margin: 0 auto; padding: 24px; }

/* Hero */
.hero { position: relative; padding: 120px 24px 80px; text-align: center; overflow: visible; }
.hero-inner { max-width: 1100px; margin: 0 auto; }
.hero-logo { width: clamp(88px, 18vw, 160px); height: auto; display: block; margin: 0 auto 10px; border-radius: 50%; box-shadow: var(--glow); border: 2px solid rgba(255,255,255,.08); }
.hero-title { font-size: clamp(48px, 9vw, 120px); font-weight: 800; letter-spacing: -1px; color: #ffd1ff; text-shadow: 0 0 2px #ff4ecd, 0 0 22px rgba(184,107,255,.6), 0 0 60px rgba(255,78,205,.35); margin: 0 0 12px; }
.hero-tagline { font-size: clamp(16px, 2.6vw, 28px); color: #fff; opacity: .95; margin: 8px 0 12px; }
.hero-terminal { font-family: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; color: #ff90ff; margin: 8px 0 28px; }
.hero-terminal .prompt { color: #ff4ecd; }
.hero-terminal .host { color: #b86bff; }
.hero-terminal .path { color: #ff90ff; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-block; padding: 14px 22px; border-radius: 14px; font-weight: 700; letter-spacing: 0.2px; text-decoration: none; transition: transform .15s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn-primary { background: linear-gradient(90deg, var(--primary), var(--accent)); color: #120a1a; }
.btn-outline { color: var(--primary); border: 2px solid rgba(255,78,205,.6); background: rgba(18,10,26,.35); }

/* Page */
.page .page-title { font-size: 40px; margin-top: 12px; }
.page .page-content img { max-width: 100%; height: auto; }

/* Tool logos */
.tool-logo { width: 260px; height: 120px; object-fit: cover; object-position: center; display: block; margin: 10px auto 6px; border-radius: 10px; border: 1px solid rgba(255,255,255,.10); box-shadow: 0 2px 18px rgba(255,78,205,.16), 0 6px 28px rgba(184,107,255,.14); background: rgba(18,10,26,.35); }

/* Blog list */
.post-list { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.post-card { background: rgba(15,17,26,0.7); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 16px; }
.post-card-title { margin: 0 0 6px; font-size: 20px; }
.post-card-meta { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.post-card-excerpt { margin: 0; color: #d8e2f2; }
.post-card-link { color: inherit; text-decoration: none; display: block; }
.post-card-link:hover .post-card-title { text-shadow: var(--glow); }

/* Post */
.post-hero { height: 240px; background-size: cover; background-position: center; border-radius: 18px; margin: 12px 0 18px; box-shadow: 0 8px 60px rgba(0,0,0,.35) inset; }
.post-title { font-size: 44px; margin-bottom: 6px; }
.post-meta { color: var(--muted); margin-top: 0; }
.post-content img { max-width: 100%; border-radius: 10px; }
.post-content pre { background: #0e0f14; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 12px; overflow: auto; }

/* Hacker ethos section */
.hacker-ethos { margin: 40px auto 0; max-width: 900px; text-align: left; background: rgba(15,17,26,.55); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 22px 24px; }
.hacker-ethos h2 { margin: 0 0 12px; font-size: 30px; color: #9bffe9; }
.hacker-ethos p { margin: 12px 0; font-size: 18px; line-height: 1.75; color: #e9f3ff; }
.hacker-ethos p + p { margin-top: 14px; }
.hacker-ethos blockquote { margin: 16px 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: rgba(255,78,205,.08); border-radius: 8px; color: #ffd7f3; }

/* About avatar */
.about-avatar { width: clamp(96px, 18vw, 160px); height: auto; display: block; margin: 6px auto 12px; border-radius: 50%; box-shadow: var(--glow); border: 2px solid rgba(255,255,255,.08); }

/* About page layout helpers */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 12px 0 8px; }
.code-block { background: #0f0a16; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 12px; overflow-x: auto; }

/* Footer */
.site-footer { text-align: center; padding: 32px; color: var(--muted); } 