/* Group container styling */
.link-group {
	margin-bottom: 2.5rem;
	width: 100%;
	max-width: 480px;
	border: 2px solid #23293a;
	border-radius: 1.2em;
	background: #23293a;
	box-shadow: 0 4px 24px rgba(0,0,0,0.18);
	padding: 1.5rem 1.2rem 1.2rem 1.2rem;
	transition: box-shadow 0.2s;
}

.link-group h2 {
	margin-bottom: 1rem;
	font-size: 1.2em;
	font-weight: 600;
	color: #7da6ff;
	letter-spacing: 0.02em;
	text-align: center;
	text-shadow: 0 2px 8px #181c24;

}

body {
    min-height: 100vh;
    margin: 0;
    background: #000000;
    color: #e5e7eb;
}

header {
	text-align: center;
	margin: 1.2rem 0 0.6rem 0;
}

header h1 {
	font-size: 2rem;
	margin: 0 0 0.6rem 0;
	padding: 0.45rem 0.9rem;
	background: linear-gradient(90deg, rgba(125,166,255,0.08), rgba(125,166,255,0.02));
	color: #eaf1ff;
	font-weight: 700;
	border-radius: 0.6rem;
	border: 1px solid rgba(125,166,255,0.08);
	letter-spacing: 0.02em;
	box-shadow: 0 6px 20px rgba(0,0,0,0.45);
	display: inline-block;
}

@media (min-width: 768px) {
	header h1 {
		font-size: 2.4rem;
	}
}

.link-group ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
}

.groups-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 3.5rem;
	justify-items: center;
	align-items: start;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 3rem 0;
}

.link-group ul li a {
	display: inline-block;
	padding: 0.6em 1.5em;
	border-radius: 2em;
	background: #2d3a5a;
	color: #e5e7eb;
	text-decoration: none;
	font-size: 1.08em;
	font-weight: 500;
	box-shadow: 0 2px 8px rgba(0,0,0,0.13);
	border: 1.5px solid #3b4252;
	transition: background 0.2s, box-shadow 0.2s, transform 0.1s, border 0.2s;
}

.link-group ul li a:hover, .link-group ul li a:focus {
	background: #3b4252;
	color: #fff;
	box-shadow: 0 4px 16px rgba(0,0,0,0.22);
	border: 1.5px solid #7da6ff;
	transform: translateY(-2px) scale(1.04);
}

nav {
    display: grid;
}