/* Reset some default styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
:root {
	color-scheme: dark;
	--bg: #0b0b10;
	--accent: #5865f2;
	--accent-hover: #6b77f6;
	--accent-soft: rgba(88, 101, 242, 0.14);
	--text-light: #ededf0;
	--muted-light: #a1a1aa;
	--subtle: #71717a;
	--card-bg: #131319;
	--card-border: rgba(255, 255, 255, 0.08);
	--border-strong: rgba(255, 255, 255, 0.14);
	--panel-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 48px -24px rgba(0, 0, 0, 0.6);
	--nav-height: 64px;
	--radius: 16px;
	--mono: ui-monospace, Menlo, Consolas, "Ubuntu Mono", monospace;
}
a {
	color: var(--accent-hover);
	text-decoration: none;
}
body {
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
	line-height: 1.6;
	color: var(--text-light);
	background-color: var(--bg);
	/* A single soft glow at the top, no photo */
	background-image: radial-gradient(1100px 560px at 50% -12%, rgba(88, 101, 242, 0.2), transparent 70%);
	background-repeat: no-repeat;
	min-height: 100vh;
	overflow-y: scroll;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
::selection {
	background-color: rgba(88, 101, 242, 0.45);
	color: #fff;
}
.container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}
.container_wide {
	max-width: 1280px !important;
}
@media (max-width: 768px) {
	.container_wide {
		max-width: 100% !important;
	}
}
/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 36px;
	padding: 0 14px;
	border: 1px solid transparent;
	border-radius: 10px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	text-decoration: none !important;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.btn:focus-visible {
	outline: 2px solid var(--accent-hover);
	outline-offset: 2px;
}
.btn-primary {
	background-color: var(--accent);
	color: #fff;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 6px 20px -8px rgba(88, 101, 242, 0.8);
}
.btn-primary:hover {
	background-color: var(--accent-hover);
}
.btn-ghost {
	background-color: rgba(255, 255, 255, 0.04);
	border-color: var(--card-border);
	color: var(--text-light);
}
.btn-ghost:hover {
	background-color: rgba(255, 255, 255, 0.08);
	border-color: var(--border-strong);
}
.btn-icon {
	width: 36px;
	padding: 0;
	font-size: 20px;
	font-weight: 400;
}
.btn-lg {
	height: 46px;
	padding: 0 22px;
	border-radius: 12px;
	font-size: 15px;
}
/* Navigation Bar */
.navbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	margin-bottom: 24px;
	background-color: rgba(11, 11, 16, 0.72);
	border-bottom: 1px solid var(--card-border);
	-webkit-backdrop-filter: blur(16px) saturate(1.6);
	backdrop-filter: blur(16px) saturate(1.6);
}
.navbar .nav-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 28px;
	max-width: 1280px;
	min-height: var(--nav-height);
	margin: 0 auto;
	padding: 8px 24px;
}
.navbar .logo {
	display: flex;
	align-items: center;
	gap: 9px;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
}
.navbar .logo-icon {
	width: 24px;
	height: 24px;
}
.navbar .beta {
	padding: 1px 7px;
	border-radius: 999px;
	border: 1px solid rgba(88, 101, 242, 0.45);
	background-color: var(--accent-soft);
	color: #aab2ff;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
}
.navbar .nav-links {
	display: flex;
	gap: 2px;
}
.navbar .nav-links a {
	padding: 6px 12px;
	border-radius: 8px;
	color: var(--muted-light);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.15s, background-color 0.15s;
}
.navbar .nav-links a:hover {
	color: #fff;
}
.navbar .nav-links a.active {
	color: #fff;
	background-color: rgba(255, 255, 255, 0.07);
}
.navbar .nav-right {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}
.navbar .auth-buttons {
	display: flex;
	align-items: center;
	gap: 8px;
}
.navbar .nav-user {
	color: var(--muted-light);
	font-weight: 500;
}
.navbar .social-icons {
	display: flex;
	align-items: center;
	gap: 14px;
}
.navbar .social-icons a {
	display: flex;
}
.navbar .social-icons a svg {
	width: 18px;
	height: 18px;
	fill: var(--subtle);
	transition: fill 0.15s;
}
.navbar .social-icons a:hover svg {
	fill: #fff;
}
.lang_select select {
	height: 32px;
	padding: 0 28px 0 10px;
	border: 1px solid var(--card-border);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' stroke-opacity='.6' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center;
	color: var(--muted-light);
	font: inherit;
	font-size: 13px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.15s, color 0.15s;
}
.lang_select select:hover {
	border-color: var(--border-strong);
	color: #fff;
}
.lang_select option {
	color: #1e1f22;
}
/* Content panel (compare, apps, admin) */
.hero {
	display: block;
	padding: 40px;
	margin-bottom: 48px;
	background-color: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: var(--radius);
	box-shadow: var(--panel-shadow);
	color: var(--text-light);
}
.hero a:hover {
	text-decoration: underline;
}
.hero img {
	max-width: 100%;
}
.hero h3 {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: #fff;
	margin-bottom: 8px;
}
.hero pre {
	max-width: 100%;
	margin-bottom: 32px;
	color: var(--muted-light);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.7;
}
.hero-apps p {
	margin-top: 16px;
	color: var(--muted-light);
	line-height: 1.7;
}
.hero-apps .app-shot {
	display: inline-block;
	margin-top: 16px;
}
.hero-apps .app-shot img {
	display: block;
	height: auto;
	border: 1px solid var(--card-border);
	border-radius: 12px;
}
.hero table {
	width: 100%;
	margin-top: 12px;
	font-size: 13px;
}
.hero table,
.hero th,
.hero td {
	border-color: var(--card-border) !important;
}
.hero th {
	color: #fff;
	text-align: left;
	padding: 6px;
	background-color: rgba(255, 255, 255, 0.03);
}
.hero td {
	color: var(--muted-light);
}
.hero .view-toggle a {
	display: inline-block;
	margin-bottom: 6px;
	border-color: var(--card-border);
	border-radius: 8px;
	color: var(--muted-light);
}
.hero .view-toggle a.active {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}
/* Landing hero: no panel, copy on the left, screenshot on the right */
.hero.hero-landing {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: center;
	gap: 56px;
	padding: 56px 0 32px;
	margin-bottom: 0;
	background: none;
	border: 0;
	box-shadow: none;
}
.hero .hero-text {
	max-width: 520px;
}
.hero .hero-text h1 {
	font-size: 56px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.035em;
	margin-bottom: 20px;
	color: #fff;
}
.hero .hero-text p {
	font-size: 17px;
	line-height: 1.65;
	margin-bottom: 16px;
	color: var(--muted-light);
}
.hero .hero-text p b {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 12px;
	border: 1px solid var(--card-border);
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.03);
	color: var(--text-light);
	font-size: 13px;
	font-weight: 500;
}
.hero .hero-text p b::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #3dd68c;
	box-shadow: 0 0 0 3px rgba(61, 214, 140, 0.18);
}
.hero .hero-image {
	text-align: center;
}
.hero .hero-image img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--border-strong);
	border-radius: 14px;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 6px rgba(255, 255, 255, 0.02);
}
.hero .community-cards {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding-top: 8px;
	color: var(--subtle);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
}
.community-cards .card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 6px;
	background-color: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--card-border);
	border-radius: 999px;
	color: var(--text-light);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	text-decoration: none !important;
	transition: background-color 0.15s, border-color 0.15s;
}
.community-cards .card:hover {
	background-color: rgba(255, 255, 255, 0.06);
	border-color: var(--border-strong);
}
.community-cards .card img {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	object-fit: cover;
}
.community-cards .card .letter_logo {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: #4b55c8;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}
/* Explore page */
.page-hero {
	max-width: 720px;
	margin: 0 auto;
	padding: 48px 0 48px;
	text-align: center;
	color: #fff;
}
.page-hero h1 {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.035em;
	margin-bottom: 14px;
}
.page-hero p {
	margin-bottom: 28px;
	color: var(--muted-light);
	font-size: 18px;
}
.explore_cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 16px;
	margin-bottom: 72px;
}
.explore_cards .card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--card-border);
	border-radius: var(--radius);
	overflow: hidden;
	background-color: var(--card-bg);
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.explore_cards .card:hover {
	transform: translateY(-2px);
	border-color: var(--border-strong);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.explore_cards .card-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	color: inherit;
}
/* Banner is the logo blown up and blurred, so every card gets its own colours */
.explore_cards .card-banner {
	height: 88px;
	overflow: hidden;
	background-color: #1c1c24;
}
.explore_cards .card-banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(22px) saturate(1.4) brightness(0.75);
	transform: scale(1.6);
}
.explore_cards .card-banner .letter_logo_big {
	font-size: 0;
	opacity: 0.8;
}
.explore_cards .card-icon {
	width: 64px;
	height: 64px;
	margin: -32px 0 0 16px;
	border: 4px solid var(--card-bg);
	border-radius: 18px;
	overflow: hidden;
	background-color: var(--card-bg);
	position: relative;
}
.explore_cards .card-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.explore_cards .card-icon .letter_logo {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 26px;
	font-weight: 600;
	background: linear-gradient(135deg, hsl(var(--hue, 235) 58% 58%) 0%, hsl(calc(var(--hue, 235) + 40) 55% 42%) 100%);
}
.explore_cards .card-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 10px 16px 16px;
}
.explore_cards .card-content h3 {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	margin-bottom: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.explore_cards .card-content .description {
	flex: 1;
	margin-bottom: 12px;
	color: var(--muted-light);
	font-size: 14px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.explore_cards .card-content .members {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--subtle);
	font-size: 13px;
}
.explore_cards .card-content .members::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: #23a55a;
}
.explore_cards .card-footer {
	padding: 0 16px 16px;
}
.explore_cards .card-footer .btn,
.explore_cards .joined-badge {
	width: 100%;
	height: 38px;
}
.explore_cards .card-footer .btn-primary {
	box-shadow: none;
}
.explore_cards .joined-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(35, 165, 90, 0.3);
	border-radius: 10px;
	background-color: rgba(35, 165, 90, 0.08);
	color: #3dd68c;
	font-size: 14px;
	font-weight: 600;
}
.explore_cards .card-footer .btn:disabled {
	opacity: 0.6;
	cursor: default;
}
/* Letter logo for servers without images */
.letter_logo_big {
	font-size: 72px;
	font-weight: 600;
	color: #fff;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, hsl(var(--hue, 235) 58% 58%) 0%, hsl(calc(var(--hue, 235) + 40) 55% 42%) 100%);
}
/* Features Section */
.features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	padding: 64px 0 80px;
}
.feature {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 32px;
	background-color: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: var(--radius);
	transition: border-color 0.2s;
}
.feature:hover {
	border-color: var(--border-strong);
}
/* Full-width cards: screenshot or code sample under the text */
.feature.feature-span {
	grid-column: 1 / -1;
}
.feature.feature-span .feature-text {
	max-width: 760px;
}
.feature .feature-image img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--card-border);
	border-radius: 12px;
}
.feature .feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(88, 101, 242, 0.3);
	border-radius: 12px;
	background-color: var(--accent-soft);
	color: #aab2ff;
}
.feature .feature-icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.feature .feature-text {
	flex: 1 1 0;
	min-width: 0;
}
.feature .feature-text h2 {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.015em;
	margin-bottom: 10px;
	color: #fff;
}
.feature .feature-text p {
	font-size: 15px;
	line-height: 1.7;
	color: var(--muted-light);
}
.feature .feature-text p + p {
	margin-top: 12px;
}
.feature pre {
	max-width: 100%;
	margin-top: 20px;
	padding: 18px 20px;
	border: 1px solid var(--card-border);
	border-radius: 12px;
	background-color: rgba(0, 0, 0, 0.35);
	color: #c4c4cc;
	font-family: var(--mono);
	font-size: 13px;
	line-height: 1.7;
}
/* Footer */
.site-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 28px 24px 40px;
	border-top: 1px solid var(--card-border);
	color: var(--subtle);
	font-size: 13px;
}
.site-footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.site-footer a {
	color: var(--subtle);
	transition: color 0.15s;
}
.site-footer a:hover {
	color: #fff;
}
/* Responsive */
@media (max-width: 1100px) {
	.navbar .social-icons {
		display: none;
	}
}
@media (max-width: 900px) {
	.navbar .nav-inner {
		padding: 8px 16px;
		gap: 8px 16px;
	}
	.navbar .nav-links {
		order: 3;
		width: 100%;
		overflow-x: auto;
		padding-bottom: 2px;
	}
	.navbar .nav-links a {
		white-space: nowrap;
	}
	.hero.hero-landing {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
		padding-top: 32px;
	}
	.hero .hero-text {
		max-width: 640px;
	}
}
@media (max-width: 600px) {
	.navbar .nav-right {
		gap: 8px;
	}
	.navbar .nav-user {
		display: none;
	}
	.page-hero {
		padding: 24px 0 32px;
	}
	.page-hero h1 {
		font-size: 34px;
	}
	.page-hero p {
		font-size: 16px;
	}
	.explore_cards {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 12px;
	}
}
@media (max-width: 768px) {
	.container {
		padding: 0 16px;
	}
	.hero {
		padding: 24px;
	}
	.hero .hero-text h1 {
		font-size: 40px;
	}
	.features {
		grid-template-columns: minmax(0, 1fr);
		padding: 40px 0 56px;
	}
	.feature {
		padding: 24px;
	}
	.site-footer {
		justify-content: center;
		text-align: center;
	}
}
pre {
	text-align: left;
	color: #adadaf;
	white-space: pre-wrap;
	word-wrap: break-word;
	word-break: break-word;
}
code {
	background-color: rgba(255, 255, 255, 0.06);
	padding: 2px 5px;
	border-radius: 4px;
	color: #c4c4cc;
	font-family: var(--mono);
	font-size: 0.9em;
}
/* Admin*/
.admin_menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--card-border);
}
.admin_menu a {
	padding: 6px 12px;
	border-radius: 8px;
	color: var(--muted-light);
	font-size: 14px;
	font-weight: 500;
}
.hero .admin_menu a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	text-decoration: none;
}
.admin_menu a.active {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}
.kekw {
	display: none;
}
@media (max-width: 768px) {
	.kekw {
		display: block;
	}
}
