.hover-effect {
	transition: background-color 0.25s ease;
	border-radius: 10px;
	padding: 0.35rem 0.5rem;
	margin-bottom: 1.25rem;
}

.hover-effect:hover {
	background: rgba(255, 255, 255, 0.04);
}

.hover-effect:hover > h2 {
	color: #00ced1;
}

.container {
	transition: box-shadow 0.6s ease, border-color 0.6s ease;
}

.container.strike {
	transition: box-shadow 0.05s ease, border-color 0.05s ease;
	border-color: rgba(120, 230, 255, 0.35);
	box-shadow: 0 0 22px rgba(90, 208, 255, 0.18);
}

/* Hero */

.hero {
	text-align: center;
	padding: 2.25rem 0.5rem 1.75rem;
	margin-bottom: 1.25rem;
	border-bottom: 1px solid #222;
}

.hero-kicker {
	font-family: "Share Tech Mono", monospace;
	color: #3d6a4a;
	font-size: 0.85rem;
	margin: 0 0 0.35rem;
}

.hero-title {
	font-family: "Orbitron", Courier, monospace;
	font-size: clamp(1.8rem, 6vw, 3rem);
	margin: 0;
	color: #00ff00;
	text-shadow: 0 0 10px rgba(0, 255, 0, 0.5), 0 0 26px rgba(0, 206, 209, 0.25);
	min-height: 1.3em;
}

.typewriter {
	border-right: 2px solid #00ced1;
	display: inline-block;
	padding-right: 0.15rem;
}

.tagline {
	color: #b8e0b8;
	font-size: 1.1rem;
	max-width: 40rem;
	margin: 0.85rem auto 1rem;
}

.hero-chips {
	justify-content: center;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.65rem;
	margin: 1.35rem 0 0;
}

.btn {
	display: inline-block;
	padding: 0.5rem 0.95rem;
	border-radius: 6px;
	border: 1px solid rgba(0, 255, 0, 0.55);
	background: rgba(0, 30, 0, 0.75);
	color: #00ff00;
	font-family: "Orbitron", Courier, monospace;
	font-size: 0.78rem;
	transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
	border-color: #5ad0ff;
	color: #5ad0ff;
	box-shadow: 0 0 12px rgba(90, 208, 255, 0.3);
}

.btn-ghost {
	background: transparent;
	border-color: rgba(0, 255, 0, 0.25);
}

/* Text */

.description {
	font-size: 1.05rem;
	text-align: justify;
	color: #b8e0b8;
}

.description p,
.section-lead {
	margin: 0 0 0.85rem;
	color: #b8e0b8;
}

.description strong,
.bullets strong {
	color: #00ff88;
}

.bullets {
	list-style: none;
	padding: 0;
	margin: 0.35rem 0 0;
}

.bullets li {
	margin-bottom: 0.5rem;
	padding-left: 1.1rem;
	position: relative;
	color: #b8e0b8;
}

.bullets li::before {
	content: "ϟ";
	position: absolute;
	left: 0;
	color: #00ced1;
}

/* Suite map */

.layers {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.layer {
	padding: 0.55rem 0.75rem;
	border: 1px dashed rgba(0, 255, 0, 0.18);
	border-radius: 8px;
	background: rgba(0, 12, 0, 0.35);
	position: relative;
}

.layer + .layer::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -0.6rem;
	height: 0.6rem;
	border-left: 1px solid rgba(0, 206, 209, 0.45);
}

.layer-label {
	position: absolute;
	left: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	font-family: "Share Tech Mono", monospace;
	font-size: 0.8rem;
	color: #6a8a6a;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.layer-nodes {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.node {
	font-family: "Orbitron", Courier, monospace;
	font-size: 0.8rem;
	padding: 0.4rem 0.9rem;
	border: 1px solid rgba(0, 255, 0, 0.45);
	border-radius: 6px;
	color: #00ff88;
	background: rgba(0, 30, 0, 0.6);
	transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.node:hover {
	color: #5ad0ff;
	border-color: #5ad0ff;
	box-shadow: 0 0 10px rgba(90, 208, 255, 0.35);
}

.node-core {
	padding: 0.5rem 2.5rem;
	border-color: rgba(0, 206, 209, 0.7);
	color: #00ced1;
}

/* Projects */

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 0.9rem;
}

.project {
	display: flex;
	flex-direction: column;
	padding: 0.75rem 0.85rem;
	border: 1px solid rgba(0, 255, 0, 0.18);
	border-radius: 10px;
	background: rgba(0, 12, 0, 0.35);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.project:hover,
.project:target {
	border-color: rgba(90, 208, 255, 0.55);
	box-shadow: 0 0 14px rgba(90, 208, 255, 0.15), inset 0 0 18px rgba(0, 206, 209, 0.05);
}

.project h3 {
	margin-top: 0;
}

.project p {
	margin: 0.4rem 0;
	color: #b8e0b8;
}

.project .project-links {
	margin-top: auto !important;
	padding-top: 0.4rem;
	font-size: 0.95rem;
}

.mod-tag {
	font-family: "Share Tech Mono", monospace;
	font-size: 0.75rem;
	font-weight: 400;
	color: #6a8a6a;
	margin-left: 0.3rem;
}

.project .deps {
	font-family: "Share Tech Mono", monospace;
	font-size: 0.82rem;
	color: #6a8a6a;
}

.deps em {
	font-style: normal;
	color: #3d6a4a;
}

.tech {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.chip {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	border: 1px solid rgba(0, 255, 0, 0.4);
	font-family: "Orbitron", Courier, monospace;
	font-size: 0.68rem;
	color: #00ff88;
	background: rgba(0, 40, 0, 0.4);
}

.code {
	margin: 0.6rem 0 0.85rem;
	padding: 0.85rem;
	overflow-x: auto;
	background: #050805;
	border: 1px solid rgba(0, 255, 0, 0.25);
	border-radius: 8px;
	font-size: 0.85rem;
	line-height: 1.45;
	tab-size: 4;
}

.code code {
	color: #8fdf8f;
}

@media (max-width: 768px) {
	.description {
		text-align: left;
	}
}

@media (max-width: 900px) {
	.layer {
		text-align: center;
	}

	.layer-label {
		position: static;
		transform: none;
		display: block;
		margin-bottom: 0.4rem;
	}
}
