* {
	box-sizing: border-box;
}

:root {
	color-scheme: dark;
	--bg: #111318;
	--panel: #1b1f27;
	--panel-soft: #222733;
	--panel-hover: #2a3140;
	--text: #f4f6f8;
	--muted: #99a3b3;
	--accent: #e66aa4;
	--accent-bright: #ff73b3;
	--accent-soft: rgba(230, 106, 164, .15);
	--bot: #80bfff;
	--bot-soft: rgba(128, 191, 255, .12);
	--green: #50d890;
	--line: rgba(255, 255, 255, .08);
	--radius: 20px;
}

html {
	scroll-behavior: smooth;
	background: #111318;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family:
		Inter,
		"Segoe UI",
		Arial,
		sans-serif;
	color: var(--text);
	background:
		radial-gradient(
			circle at 8% 8%,
			rgba(230, 106, 164, .11),
			transparent 28%
		),
		radial-gradient(
			circle at 92% 14%,
			rgba(128, 191, 255, .09),
			transparent 30%
		),
		var(--bg);
}

a {
	color: inherit;
}

.site-shell {
	width: 100%;
	max-width: 1152px;
	margin: 0 auto;
	padding: 18px 20px 0;
}

/* =========================================================
   HEADER
   ========================================================= */

.topbar {
	min-height: 72px;
	margin-top: 0;
	padding: 14px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: rgba(23, 27, 34, .94);
	box-shadow:
		0 18px 55px rgba(0, 0, 0, .24);
}

.brand {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.brand-icon {
	width: 44px;
	height: 44px;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: var(--accent-soft);
	font-size: 25px;
}

.brand-copy {
	min-width: 0;
}

.brand-title {
	display: block;
	font-size: 1.08rem;
	font-weight: 900;
}

.brand-subtitle {
	display: block;
	margin-top: 3px;
	color: var(--muted);
	font-size: .8rem;
}

.nav-links {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 7px;
	flex-wrap: wrap;
}

.nav-links a {
	padding: 9px 12px;
	border-radius: 10px;
	color: #cbd5df;
	text-decoration: none;
	font-size: .9rem;
	font-weight: 750;
	transition: .18s ease;
}

.nav-links a:hover {
	color: #fff;
	background: rgba(255, 255, 255, .055);
}

/* =========================================================
   PHPBB LOGIN BAR
   ========================================================= */

.login-bar {
	margin-top: 12px;
	padding: 13px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: rgba(27, 31, 39, .88);
}

.login-copy {
	min-width: 0;
}

.login-copy strong,
.login-copy span {
	display: block;
}

.login-copy span {
	margin-top: 3px;
	color: var(--muted);
	font-size: .86rem;
}

.login-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

/* =========================================================
   LIVE CHAT STATUS
   ========================================================= */

.chat-status-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;

	margin-top: 14px;
	padding: 18px 20px;

	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 16px;

	background:
		radial-gradient(
			circle at 5% 50%,
			rgba(128, 191, 255, .07),
			transparent 25%
		),
		rgba(27, 31, 39, .90);

	color: var(--text);
	text-decoration: none;

	transition:
		transform .18s ease,
		border-color .18s ease,
		background .18s ease;
}

.chat-status-card:hover {
	transform: translateY(-2px);
	border-color: rgba(230, 106, 164, .35);
	background:
		radial-gradient(
			circle at 5% 50%,
			rgba(230, 106, 164, .08),
			transparent 25%
		),
		rgba(34, 39, 51, .95);
}

.chat-status-card.online {
	border-color: rgba(80, 216, 144, .24);
}

.chat-status-icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 46px;
	height: 46px;

	border-radius: 14px;
	background: rgba(255, 255, 255, .045);

	font-size: 1.15rem;
}

.chat-status-card.online .chat-status-icon {
	background: rgba(80, 216, 144, .10);
}

.chat-status-copy {
	min-width: 0;
}

.chat-status-copy strong {
	display: block;
	margin-bottom: 4px;

	color: #f4f6f8;
	font-size: .95rem;
	font-weight: 900;
}

.chat-status-copy span {
	display: block;

	color: var(--muted);
	font-size: .82rem;
	line-height: 1.45;
}

.chat-status-action {
	white-space: nowrap;
	color: var(--accent-bright);
	font-size: .82rem;
	font-weight: 900;
}

@media (max-width: 650px) {
	.chat-status-card {
		grid-template-columns: auto minmax(0, 1fr);
		padding: 16px;
	}

	.chat-status-action {
		grid-column: 2;
	}
}

.button {
	min-height: 42px;
	padding: 0 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: 12px;
	text-decoration: none;
	font: inherit;
	font-weight: 850;
	cursor: pointer;
	transition:
		transform .18s ease,
		background .18s ease,
		border-color .18s ease;
}

.button:hover {
	transform: translateY(-1px);
}

.button.primary {
	background: var(--accent);
	color: white;
}

.button.primary:hover {
	background: var(--accent-bright);
}

.button.secondary {
	color: #dbe5ee;
	border-color: var(--line);
	background: rgba(255, 255, 255, .035);
}

.button.secondary:hover {
	background: rgba(255, 255, 255, .075);
}

.login-error-inline {
	margin: 8px 0 0;
	color: #ff8585;
	font-size: .88rem;
}

/* =========================================================
   MAIN
   ========================================================= */

main {
	margin: 18px auto 26px;
	display: grid;
	gap: 18px;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
	position: relative;
	min-height: 420px;
	overflow: hidden;
	padding: clamp(30px, 5vw, 60px);
	display: grid;
	grid-template-columns:
		minmax(0, 1.35fr)
		minmax(300px, .65fr);
	align-items: center;
	gap: 38px;
	border-radius: 26px;
	border: 1px solid rgba(230, 106, 164, .25);
	background:
		radial-gradient(
			circle at 84% 22%,
			rgba(128, 191, 255, .14),
			transparent 29%
		),
		linear-gradient(
			145deg,
			rgba(27, 31, 39, .98),
			rgba(17, 19, 24, .97)
		);
	box-shadow:
		0 25px 80px rgba(0, 0, 0, .30);
}

.hero::before {
	content: "";
	position: absolute;
	right: -140px;
	bottom: -180px;
	width: 390px;
	height: 390px;
	border-radius: 50%;
	background: rgba(230, 106, 164, .09);
	filter: blur(8px);
	pointer-events: none;
}

.hero-kicker {
	position: relative;
	z-index: 1;
	margin-bottom: 6px;
	color: var(--bot);
	font-size: .78rem;
	font-weight: 950;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.hero-online-status {
	margin-top: 0;
	margin-bottom: 16px;
}

.hero h1 {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 0;
	font-size:
		clamp(
			2rem,
			4vw,
			3.6rem
	);
	line-height: .96;
	letter-spacing: -.045em;
}

.hero h1 span {
	color: var(--accent-bright);
}

.hero-text {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 22px 0 0;
	color: #b5c0cc;
	font-size: 1.05rem;
	line-height: 1.72;
}

.hero-actions {
	position: relative;
	z-index: 1;
	margin-top: 28px;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.bot-card {
	position: relative;
	z-index: 1;
	padding: 24px;
	border-radius: 22px;
	border: 1px solid rgba(128, 191, 255, .20);
	background:
		linear-gradient(
			145deg,
			rgba(18, 23, 31, .90),
			rgba(10, 14, 21, .78)
		);
}

.bot-header {
	display: flex;
	align-items: center;
	gap: 13px;
}

.bot-avatar {
	width: 52px;
	height: 52px;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--bot-soft);
	font-size: 28px;
}

.bot-name {
	color: var(--bot);
	font-size: 1.12rem;
	font-weight: 950;
}

.bot-status {
	margin-top: 3px;
	color: var(--muted);
	font-size: .82rem;
}

.bot-features {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.bot-features li {
	padding: 11px 12px;
	border-radius: 12px;
	color: #cbd5df;
	background: rgba(255, 255, 255, .026);
	font-size: .9rem;
}

/* =========================================================
   TRIVIA & CHAT
   ========================================================= */

.room-grid {
	display: grid;
	gap: 14px;
}

.room-card {
	position: relative;
	overflow: hidden;
	padding: 28px;
	border-radius: 21px;
	border: 1px solid rgba(230, 106, 164, .25);
	background:
		radial-gradient(
			circle at 92% 20%,
			rgba(128, 191, 255, .06),
			transparent 28%
		),
		radial-gradient(
			circle at 8% 80%,
			rgba(230, 106, 164, .05),
			transparent 30%
		),
		rgba(27, 31, 39, .90);
	text-decoration: none;
	transition:
		transform .18s ease,
		border-color .18s ease,
		background .18s ease;
}

.room-card:hover {
	transform: translateY(-2px);
	border-color: rgba(230, 106, 164, .50);
	background:
		radial-gradient(
			circle at 92% 20%,
			rgba(128, 191, 255, .09),
			transparent 28%
		),
		radial-gradient(
			circle at 8% 80%,
			rgba(230, 106, 164, .08),
			transparent 30%
		),
		rgba(34, 39, 51, .95);
}

.room-card.trivia-chat {
	grid-column: 1 / -1;
}

.room-card-head {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.room-card-head .room-icon {
	flex: 0 0 auto;
	margin-top: 1px;
	font-size: 2rem;
	line-height: 1;
}

.room-card-head h2 {
	margin: 0 0 7px;
	font-size: 1.55rem;
}

.room-card-head p {
	max-width: 760px;
	margin: 0;
	color: var(--muted);
	font-size: .95rem;
	line-height: 1.6;
}

.room-options {
	margin-top: 22px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.room-option {
	min-width: 0;
	padding: 17px 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .025);
	transition:
		border-color .18s ease,
		background .18s ease;
}

.room-option strong {
	display: block;
	margin-bottom: 6px;
	color: #f4f6f8;
	font-size: 1rem;
	font-weight: 900;
}

.room-option span {
	display: block;
	color: var(--muted);
	font-size: .86rem;
	line-height: 1.5;
}

.trivia-option {
	border: 1px solid rgba(230, 106, 164, .24);
}

.lobby-option {
	border: 1px solid rgba(128, 191, 255, .20);
}

.room-card:hover .trivia-option {
	border-color: rgba(230, 106, 164, .38);
	background: rgba(230, 106, 164, .035);
}

.room-card:hover .lobby-option {
	border-color: rgba(128, 191, 255, .34);
	background: rgba(128, 191, 255, .035);
}

.room-arrow {
	position: static;
	display: block;
	margin-top: 18px;
	color: var(--accent);
	text-align: right;
	font-size: .9rem;
	font-weight: 900;
}

@media (max-width: 700px) {
	.room-card {
		padding: 22px 18px;
	}

	.room-card-head {
		gap: 13px;
	}

	.room-options {
		grid-template-columns: 1fr;
	}

	.room-arrow {
		text-align: left;
	}
}

@media (max-width: 480px) {
	.room-card-head {
		flex-direction: column;
	}

	.room-card-head p {
		font-size: .88rem;
	}

	.room-option {
		padding: 15px;
	}
}

/* =========================================================
   HOW TO PLAY
   ========================================================= */

.how-card {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 21px;
	background: rgba(27, 31, 39, .84);
}

.section-head {
	margin-bottom: 18px;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
}

.section-head h2 {
	margin: 0;
	font-size: 1.4rem;
}

.section-head p {
	margin: 6px 0 0;
	color: var(--muted);
	font-size: .9rem;
}

.how-grid {
	display: grid;
	grid-template-columns:
		repeat(3, minmax(0, 1fr));
	gap: 11px;
}

.how-step {
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: 15px;
	background: rgba(255, 255, 255, .023);
}

.how-number {
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--accent-soft);
	color: var(--accent-bright);
	font-weight: 950;
}

.how-step strong {
	display: block;
	margin-top: 13px;
}

.how-step p {
	margin: 7px 0 0;
	color: var(--muted);
	font-size: .88rem;
	line-height: 1.55;
}

.homepage-ranking {
	display: grid;
	gap: 9px;
}

.ranking-row {
	min-height: 68px;
	padding: 11px 14px;
	display: grid;
	grid-template-columns:
		42px
		minmax(0, 1fr)
		auto;
	align-items: center;
	gap: 12px;
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: 14px;
	background:
		rgba(255, 255, 255, .023);
}

.ranking-row:first-child {
	border-color:
		rgba(255, 193, 7, .20);
	background:
		rgba(255, 193, 7, .055);
}

.ranking-position {
	text-align: center;
	font-size: 1.35rem;
	font-weight: 900;
}

.ranking-player {
	min-width: 0;
}

.ranking-player strong {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #f1f5f7;
	font-size: .95rem;
}

.ranking-player span {
	display: block;
	margin-top: 3px;
	color: var(--muted);
	font-size: .76rem;
}

.ranking-score {
	min-width: 58px;
	text-align: right;
	color: var(--accent-bright);
	font-size: 1.08rem;
	font-weight: 950;
}

.ranking-score span {
	color: var(--muted);
	font-size: .72rem;
	font-weight: 700;
}

.ranking-empty {
	padding: 26px;
	text-align: center;
	color: var(--muted);
	border: 1px dashed
		rgba(255, 255, 255, .08);
	border-radius: 14px;
}

@media (max-width: 600px) {
	.ranking-row {
		grid-template-columns:
			34px
			minmax(0, 1fr)
			auto;
		padding: 10px 11px;
	}
	.ranking-player span {
		font-size: .7rem;
	}
}

/* =========================================================
   TRIVIA STATISTIEKEN PROMO
   ========================================================= */

.stats-promo {
	padding: 26px;
	display: grid;
	grid-template-columns:
		auto
		minmax(0, 1fr)
		auto;
	align-items: center;
	gap: 18px;
	border: 1px solid rgba(128, 191, 255, .18);
	border-radius: 21px;
	background:
		linear-gradient(
			145deg,
			rgba(128, 191, 255, .055),
			rgba(230, 106, 164, .035)
		);
}

.stats-promo-icon {
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	border-radius: 16px;
	background: var(--bot-soft);
	font-size: 1.7rem;
}

.stats-promo-copy {
	min-width: 0;
}

.stats-promo-copy h2 {
	margin: 0;
	font-size: 1.25rem;
}

.stats-promo-copy p {
	max-width: 720px;
	margin: 7px 0 0;
	color: var(--muted);
	font-size: .88rem;
	line-height: 1.55;
}

.stats-promo-features {
	margin-top: 12px;
	display: flex;
	gap: 7px;
	flex-wrap: wrap;
}

.stats-promo-feature {
	padding: 6px 9px;
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: 999px;
	color: #b9c5d0;
	background: rgba(255, 255, 255, .025);
	font-size: .74rem;
	font-weight: 750;
}

@media (max-width: 820px) {
	.stats-promo {
		grid-template-columns:
			auto
			minmax(0, 1fr);
	}
	.stats-promo .button {
		grid-column: 1 / -1;
		width: 100%;
	}
}

@media (max-width: 560px) {
	.stats-promo {
		padding: 20px 16px;
		grid-template-columns: 1fr;
	}
	.stats-promo-icon {
		width: 48px;
		height: 48px;
	}
}

/* =========================================================
   SPIDERBOT COMMANDO'S
   ========================================================= */

.command-card {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 21px;
	background: rgba(27, 31, 39, .84);
}

.command-layout {
	display: grid;
	grid-template-columns:
		minmax(0, 1.2fr)
		minmax(260px, .8fr);
	gap: 14px;
}

.command-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.command-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: rgba(255, 255, 255, .02);
}

.command-code {
	display: inline-block;
	width: fit-content;
	padding: 5px 8px;
	border-radius: 8px;
	background: rgba(230, 106, 164, .12);
	color: var(--accent-bright);
	font-family:
		Consolas,
		"Courier New",
		monospace;
	font-size: .82rem;
	font-weight: 900;
	line-height: 1.3;
}

.command-copy {
	display: block;
	min-width: 0;
	width: 100%;
}

.command-copy strong {
	display: block;
	font-size: .9rem;
	line-height: 1.3;
}

.command-copy span {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: .8rem;
	line-height: 1.4;
}

.trivia-info {
	padding: 20px;
	border: 1px solid rgba(128, 191, 255, .15);
	border-radius: 16px;
	background:
		linear-gradient(
			145deg,
			rgba(128, 191, 255, .055),
			rgba(255, 255, 255, .018)
		);
}

.trivia-info-title {
	color: var(--bot);
	font-weight: 900;
}

.trivia-info ul {
	margin: 15px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
	list-style: none;
}

.trivia-info li {
	color: #b9c5d0;
	font-size: .86rem;
	line-height: 1.5;
}

@media (max-width: 850px) {
	.command-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 650px) {
	.command-card {
		padding: 20px 16px;
	}
}

/* =========================================================
   FORUM TOPICS
   ========================================================= */

.content-card {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 21px;
	background: rgba(27, 31, 39, .84);
}

.section-link {
	color: var(--accent);
	text-decoration: none;
	font-size: .88rem;
	font-weight: 850;
}

.topic-grid {
	display: grid;
	grid-template-columns:
		repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.topic-card {
	min-height: 78px;
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 8px;
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: 14px;
	background: rgba(255, 255, 255, .022);
	text-decoration: none;
	transition:
		transform .18s ease,
		border-color .18s ease,
		background .18s ease;
}

.topic-card:hover {
	transform: translateY(-1px);
	border-color: rgba(230, 106, 164, .34);
	background: rgba(230, 106, 164, .038);
}

.topic-title {
	color: #edf2f6;
	font-size: .95rem;
	font-weight: 750;
}

.topic-meta {
	color: #748394;
	font-size: .77rem;
}

/* =========================================================
   ONLINE
   ========================================================= */

.online-grid {
	display: grid;
	grid-template-columns:
		repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.online-link {
	min-height: 60px;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: 14px;
	background: rgba(255, 255, 255, .022);
	text-decoration: none;
	font-weight: 800;
	transition: .18s ease;
}

.online-link:hover {
	border-color: rgba(128, 191, 255, .32);
	background: rgba(128, 191, 255, .045);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
	margin-bottom: 20px;
	padding: 18px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: rgba(23, 27, 34, .72);
	color: #718090;
	font-size: .85rem;
}

.footer-support {
	margin-top: 6px;
}

.footer-support a {
	color: var(--accent-bright);
	font-weight: 700;
	text-decoration: none;
}

.footer-support a:hover {
	text-decoration: underline;
}

/* =========================================================
   LOGIN MODAL
   ========================================================= */

.login-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, .78);
	backdrop-filter: blur(8px);
}

.login-overlay.active {
	display: flex;
}

.login-popup {
	position: relative;
	width: min(100%, 420px);
	padding: 28px;
	border: 1px solid rgba(230, 106, 164, .25);
	border-radius: 20px;
	background: #171b22;
	box-shadow:
		0 28px 90px rgba(0, 0, 0, .58);
}

.login-popup h3 {
	margin: 0 0 22px;
	color: var(--accent-bright);
	text-align: center;
}

.close-login {
	position: absolute;
	top: 12px;
	right: 16px;
	color: #c9d2dc;
	font-size: 22px;
	cursor: pointer;
}

.login-error {
	margin-bottom: 12px;
	color: #ff8585;
	text-align: center;
}

.mini-login {
	display: grid;
	gap: 12px;
}

.mini-login input[type="text"],
.mini-login input[type="password"] {
	width: 100%;
	height: 46px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 12px;
	background: #10141b;
	color: white;
	font: inherit;
	outline: none;
}

.mini-login input:focus {
	border-color: rgba(230, 106, 164, .55);
}

.remember-me {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font-size: .88rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {
	.hero {
		grid-template-columns: 1fr;
	}
	.how-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.topbar,
	.login-bar,
	.site-footer {
		align-items: flex-start;
		flex-direction: column;
	}
	.nav-links {
		width: 100%;
		justify-content: flex-start;
	}
	.room-grid,
	.topic-grid,
	.online-grid {
		grid-template-columns: 1fr;
	}
	.hero {
		min-height: auto;
		padding: 30px 20px;
	}
	.how-card,
	.content-card {
		padding: 20px 16px;
	}
	.section-head {
		align-items: flex-start;
		flex-direction: column;
	}
	.command-list {
		grid-template-columns: 1fr;
	}

	.command-item {
		padding: 14px;
	}	
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
	}
}

/* =========================================================
   STACKED HEADER NAVIGATION
   Brand bovenaan, navigatie eronder
   ========================================================= */

.topbar {
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	row-gap: 8px;
}

.topbar .brand {
	flex: 0 0 100%;
}

.topbar .nav-links {
	width: 100%;
	padding-left: 56px;
	justify-content: flex-start;
	gap: 6px 10px;
}

.topbar .nav-links a {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

@media (max-width: 700px) {
	.topbar .nav-links {
		padding-left: 0;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.topbar .nav-links a {
		width: 100%;
		justify-content: center;
		text-align: center;
		padding: 9px 8px;
		border: 1px solid var(--line);
		background: rgba(255, 255, 255, .025);
	}
}

@media (max-width: 420px) {
	.topbar .nav-links {
		grid-template-columns: 1fr;
	}
}

.forum-center {
    position: relative;
    z-index: 30;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    padding: 0 14px;
}

.forum-center-link,
.forum-notification-menu > summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    color: #cdd4df;
    text-decoration: none;
    font-size: .84rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.forum-center-link:hover,
.forum-notification-menu > summary:hover,
.forum-notification-menu[open] > summary {
    border-color: rgba(230, 97, 158, .55);
    background: rgba(230, 97, 158, .09);
    color: #fff;
}

.forum-notification-menu {
    position: relative;
}

.forum-notification-menu > summary {
    list-style: none;
}

.forum-notification-menu > summary::-webkit-details-marker {
    display: none;
}

.forum-center-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    color: #aeb8c6;
    font-size: .72rem;
    font-weight: 900;
}

.forum-center-link.has-unread .forum-center-badge,
.forum-notification-menu.has-unread .forum-center-badge {
    background: #e6619e;
    color: #fff;
}

.forum-notification-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(430px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: #181d26;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .42);
}

.forum-notification-head,
.forum-notification-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
}

.forum-notification-head {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(230, 97, 158, .12);
}

.forum-notification-head strong {
    color: #fff;
    font-size: .9rem;
}

.forum-notification-head a,
.forum-notification-footer a {
    color: #f074ae;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 800;
}

.forum-notification-list {
    max-height: 330px;
    overflow-y: auto;
}

.forum-notification-item {
    display: block;
    padding: 11px 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
    color: #d7dde7;
    text-decoration: none;
    transition: background .15s ease;
}

.forum-notification-item:hover {
    background: rgba(255, 255, 255, .045);
}

.forum-notification-item.unread {
    background: rgba(230, 97, 158, .075);
}

.forum-notification-title {
    display: block;
    color: #f4f6f9;
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.35;
}

.forum-notification-meta,
.forum-notification-time {
    display: block;
    margin-top: 3px;
    color: #929eae;
    font-size: .74rem;
    line-height: 1.3;
}

.forum-notification-empty {
    padding: 18px 13px;
    color: #9ca7b6;
    text-align: center;
    font-size: .84rem;
}

.forum-notification-footer {
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

@media (max-width: 700px) {
    .forum-center {
        justify-content: center;
        margin: 7px 0;
        padding: 0 8px;
    }

    .forum-center-link,
    .forum-notification-menu > summary {
        min-height: 30px;
        padding: 4px 8px;
        font-size: .78rem;
    }

    .forum-center-label {
        display: none;
    }

    .forum-notification-dropdown {
        position: fixed;
        top: auto;
        left: 16px;
        right: 16px;
        width: auto;
    }
}

.forum-tools-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 18px;
}

.forum-quicklinks,
.forum-center {
    display: flex;
    align-items: center;
    gap: 8px;
}

.forum-mini-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 700px) {

	.forum-tools-row {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
		width: 100%;
	}

	.forum-quicklinks,
	.forum-center {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.forum-mini-button,
	.forum-center-link,
	.forum-notification-menu > summary {
		width: 100%;
		min-width: 0;
		min-height: 42px;
		justify-content: center;
		padding: 9px 8px;
		text-align: center;
		font-size: .82rem;
	}

	.forum-mini-button span,
	.forum-center-label {
		display: inline;
	}
}

.mobile-action-text {
    display: none;
}

@media (max-width: 700px) {
    .login-bar {
        display: block;
    }

    .login-actions {
        display: grid;
        grid-template-columns: minmax(0, 1.6fr) minmax(0, .75fr) minmax(0, 1fr);
        gap: 8px;
        width: 100%;
        margin-top: 18px;
    }

    .login-actions .button {
        width: 100%;
        min-width: 0;
        padding: 12px 8px;
        font-size: .9rem;
        white-space: nowrap;
        text-align: center;
    }

    .desktop-action-text {
        display: none;
    }

    .mobile-action-text {
        display: inline;
    }
}