body.pillar-page {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #000000;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.bg-cycle {
    position: fixed;
    inset: 0;
    z-index: -1;
}

.bg-cycle > div {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    animation: bgfade 25s infinite;
    animation-delay: calc(var(--i) * 5s);
}

/* Fade animation */
@keyframes bgfade {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    25%  { opacity: 1; }
    30%  { opacity: 0; }
    100% { opacity: 0; }
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

.navbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(12, 16, 22, 0.95);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0.6rem 1rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.navbar-logo a {
	font-weight: 700;
	font-size: 1.1rem;
	text-decoration: none;
	color: #f9fafb;
	letter-spacing: 0.03em;
}

.navbar-links {
	margin-left: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.navbar-links a {
	text-decoration: none;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-size: 0.9rem;
	color: #d1d5db;
	border: 1px solid transparent;
	transition:
		background-color 120ms ease,
		color 120ms ease,
		border-color 120ms ease,
		transform 80ms ease;
}

.navbar-links a:hover {
	background: rgba(37, 99, 235, 0.15);
	border-color: rgba(59, 130, 246, 0.7);
	color: #e5edff;
	transform: translateY(-1px);
}

.navbar-links a:active {
	transform: translateY(0);
}

.menu-toggle {
	display: none;
	margin-left: auto;
	font-size: 1.6rem;
	color: #f9fafb;
	cursor: pointer;
	user-select: none;
}

@media (max-width: 640px) {
	.navbar-inner {
		position: relative;
		padding: 0.6rem 1rem;
	}

	.menu-toggle {
		display: block;
	}

	.navbar-links {
		display: flex;
		flex-direction: column;

		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		margin-left: 0;
		padding: 0 1rem 0.4rem;

		background: rgba(12, 16, 22, 0.98);
		border-bottom: 1px solid rgba(255, 255, 255, 0.06);
		gap: 0.4rem;

		max-height: 0;
		overflow: hidden;
		opacity: 0;
		transform: translateY(-8px);
		pointer-events: none;
		transition:
			max-height 0.25s ease,
			opacity 0.2s ease,
			transform 0.25s ease;
	}

	.navbar-links.open {
		max-height: 300px;
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
		padding-top: 0.5rem;
		padding-bottom: 0.8rem;
	}

	.navbar-links a {
		width: 100%;
		padding: 0.45rem 0;
	}
}

.pillar {
	width: min(900px, 95vw);

	margin: 1.5rem auto 2rem auto;
	padding: 1.5rem 1.25rem;

	background: radial-gradient(
		circle at top,
		rgba(27, 37, 51, 0.75) 0%,
		rgba(16, 20, 27, 0.75) 50%,
		rgba(11, 15, 20, 0.75) 100%
	);
	border-radius: 16px;
	box-shadow:
		0 18px 45px rgba(0, 0, 0, 0.7),
		0 0 0 1px rgba(255, 255, 255, 0.03);
	text-align: center;
}

@media (min-width: 768px) {
	.pillar {
		margin-top: 2rem;
		padding: 2rem 2.25rem;
	}
}

@media (max-width: 640px) {
	.pillar {
		margin: 1rem auto 1.5rem auto;
		padding: 1.25rem 1rem;
	}
}

.pillar h1,
.pillar h2,
.pillar h3 {
	margin-top: 0;
	color: #f9fafb;
}

.pillar h1 {
	font-size: 1.6rem;
	margin-bottom: 0.75rem;
}

.pillar p {
	margin: 0.25rem 0 0.75rem;
	color: #d1d5db;
}

.pillar a {
	color: #60a5fa;
	text-decoration: none;
}

.pillar a:hover {
	text-decoration: underline;
}

.pillar-footer {
	width: 75%;
	max-width: 900px;
	margin: 0 auto 1.5rem auto;
	font-size: 0.8rem;
	color: #6b7280;
	text-align: center;
}

@media (max-width: 640px) {
	.pillar-footer {
		width: 95%;
	}
}

.rounded-container {
	background: rgba(15, 20, 30, 0.55);
	padding: 0.4rem 0.6rem;
	border-radius: 16px;

	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow:
		0 2px 12px rgba(0, 0, 0, 0.4),
		0 0 0 1px rgba(255, 255, 255, 0.03);

	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	margin: 1rem auto;
	width: 50%;
	transition: 
		box-shadow 0.35s ease,
		border-color 0.35s ease;
}


.rounded-container:hover {
	border-color: rgba(255, 255, 255, 0.15);
	box-shadow:
		0 0 12px rgba(255, 255, 255, 0.25),
		0 0 22px rgba(163, 168, 175, 0.35),
		0 0 0 1px rgba(255, 255, 255, 0.15);
}

@media (max-width: 640px) {
	.rounded-container {
		width: 100%;
	}
}

.rounded-container input[type="text"],
.rounded-container input[type="number"],
.rounded-container input[type="email"],
.rounded-container input[type="password"],
.rounded-container input[type="submit"] {
	width: 100%;
	box-sizing: border-box;
}

.rounded-container label {
	margin-bottom: 0.6rem;
}

.motd-editor-container {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 12px;
}

.rounded-container ul {
	text-align: left !important;
	margin-left: 20px;
}




