/* =========================================================
   FC HOME — extracted 1:1 from Astro homepage styling
   (homepage-only, bez Astro header/footer blokov)
========================================================= */

:root {
	--container: 1180px;

	--portal-bg: #070706;
	--portal-bg-2: #110f0b;
	--portal-surface: rgba(20, 18, 14, 0.92);
	--portal-surface-2: rgba(14, 12, 9, 0.98);
	--portal-line: rgba(255, 205, 110, 0.08);
	--portal-line-strong: rgba(255, 205, 110, 0.15);

	--portal-text: #f8f5ee;
	--portal-muted: rgba(214, 205, 190, 0.68);

	--portal-emerald: #c9962a;
	--portal-emerald-2: #f1cd7a;
	--portal-emerald-deep: #7a5817;

	--portal-cyan: #ffe2a6;
	--portal-green: #22c55e;
	--portal-orange: #f59e0b;
	--portal-red: #ef4444;

	--portal-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

html {
}

.portal-home {
	color: var(--portal-text);
	background:
		radial-gradient(circle at 20% 0%, rgba(201, 150, 42, 0.28), transparent 28%),
		radial-gradient(circle at 80% 10%, rgba(255, 215, 120, 0.12), transparent 30%),
		radial-gradient(circle at 50% 50%, rgba(201, 150, 42, 0.08), transparent 60%),
		radial-gradient(circle at 50% 100%, rgba(201, 150, 42, 0.12), transparent 40%),

		linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px),

		linear-gradient(180deg, #070706 0%, #0b0907 40%, #050403 100%);

	background-size:
		auto,
		auto,
		auto,
		auto,
		64px 64px,
		64px 64px,
		auto;

	background-attachment:
		scroll,
		scroll,
		scroll,
		scroll,
		fixed,
		fixed,
		scroll;
}

.portal-home .container {
	width: min(var(--container), calc(100% - 32px));
	margin: 0 auto;
}

.portal-hero-news-kicker,
.portal-hero-news-all,
.portal-section-head-link,
.portal-inline-stat span,
.portal-chip,
.portal-status-badge,
.portal-hero-news-badge,
.portal-news-badge {
	font-family: "Rajdhani", Inter, system-ui, sans-serif;
}

.portal-hero-copy h1,
.portal-section-head h2,
.portal-hero-news-card h3,
.portal-server-card h3,
.portal-news-card h3 {
	font-family: "Rajdhani", Inter, system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: -0.03em;
}

/* =========================================================
   HOMEPAGE
========================================================= */

.portal-hero {
	position: relative;
	padding: 42px 0 26px;
	overflow: hidden;
}

.portal-hero-bg {
	display: none;
}

.portal-hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) 380px;
	gap: 32px;
	align-items: start;
}

.portal-kicker,
.portal-section-kicker {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--portal-emerald-2);
	background: rgba(201, 150, 42, 0.1);
	border: 1px solid rgba(201, 150, 42, 0.18);
}

.portal-hero-copy {
	min-width: 0;
}

.portal-hero-copy h1 {
	margin: 16px 0 0;
	font-size: clamp(2.7rem, 4.4vw, 4.45rem);
	line-height: 0.93;
	letter-spacing: -0.05em;
	color: var(--portal-text);
	max-width: 12ch;
}

.portal-hero-copy h1 span {
	display: inline;
	color: rgba(212, 175, 55, 0.92);
}

.portal-hero-copy p {
	max-width: 640px;
	margin: 16px 0 0;
	font-size: 0.98rem;
	line-height: 1.7;
	color: var(--portal-muted);
}

.portal-hero-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 24px;
	margin-top: 24px;
}

.portal-inline-stats {
	display: flex;
	align-items: center;
	gap: 0;
	flex: 0 0 auto;
	min-width: 0;
}

.portal-inline-stat {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-width: 126px;
	padding: 0 20px;
	flex: 0 0 auto;
}

.portal-inline-stat:first-child {
	padding-left: 0px;
}

.portal-inline-stat:last-child {
	padding-right: 0;
}

.portal-inline-stat:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 1px;
	height: 44px;
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-50%);
}

.portal-inline-stat strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	font-family: "Rajdhani", Inter, system-ui, sans-serif;
	font-size: 1.18rem;
	line-height: 1;
	letter-spacing: -0.03em;
	font-weight: 700;
	color: var(--portal-text);
	white-space: nowrap;
}

.portal-inline-stat .stat-value {
	display: inline-block;
	font-family: "Rajdhani", Inter, system-ui, sans-serif;
	font-size: 1em;
	line-height: 1;
	font-weight: 700;
	color: var(--portal-text);
}

.portal-inline-stat > span {
	display: block;
	margin-top: 8px;
	font-family: "Rajdhani", Inter, system-ui, sans-serif;
	font-size: 0.68rem;
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(210, 226, 219, 0.5);
	white-space: nowrap;
}

.portal-inline-stat strong i {
	display: inline-block;
	font-size: 0.95em;
	line-height: 1;
	margin: 0 0 0 2px;
	color: var(--portal-emerald-2);
	transform: translateY(-1px);
}

.portal-hero-cta-row {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 20px;
	flex-wrap: nowrap;
}

.portal-hero-actions,
.portal-server-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.portal-hero-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
	margin-top: 0;
}

.portal-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 16px;
	border: 0;
	font-family: inherit;
	font-weight: 800;
	cursor: pointer;
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		border-color 0.18s ease,
		background 0.18s ease;
}

.portal-server-actions .portal-btn {
	position: relative;
	overflow: hidden;
	font-family: "Rajdhani", sans-serif;
	font-size: 0.97rem;
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		filter 0.18s ease;
}

.portal-server-actions .portal-btn-primary:hover {
	transform: translateY(-2px);

	box-shadow:
		0 10px 26px rgba(0, 0, 0, 0.45),
		0 0 18px rgba(201, 150, 42, 0.35);

	filter: brightness(1.08);
}

.portal-server-actions-secondary .portal-btn:hover {
	transform: translateY(-2px);

	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(212, 175, 55, 0.32);

	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.portal-server-actions .portal-btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -120%;
	width: 120%;
	height: 100%;

	background: linear-gradient(
		120deg,
		transparent,
		rgba(255, 255, 255, 0.25),
		transparent
	);

	opacity: 0;
	transition: all 0.5s ease;
}

.portal-server-actions .portal-btn i {
	font-size: 0.84em;
	line-height: 1;
	flex: 0 0 auto;
}

.portal-server-actions-primary .portal-btn {
	gap: 10px;
}

.portal-server-actions-secondary .portal-btn {
	gap: 8px;
}

.portal-hero-actions .portal-btn {
	gap: 10px;
}

/* =========================
   BUTTON SHAPES
========================= */

.portal-btn-shape-primary {
	clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
	border-radius: 0;
	background: linear-gradient(135deg, #c9962a, #e7c267);
}

/* Left button */
.portal-btn-shape-left {
	clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
	border-radius: 0;
}

/* Right button */
.portal-btn-shape-right {
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
	border-radius: 0;
}

/* ========================= */

.portal-btn:hover,
.portal-discord-btn:hover {
	transform: translateY(-2px);
}


.portal-btn.small {
	min-height: 44px;
	padding: 0 16px;
}

.portal-btn-primary {
	color: #1c1408;
	background: linear-gradient(
		135deg,
		var(--portal-emerald) 0%,
		var(--portal-emerald-2) 100%
	);
	box-shadow:
		0 14px 28px rgba(201, 150, 42, 0.24),
		0 0 0 1px rgba(241, 205, 122, 0.08) inset;
}

.portal-btn-secondary {
	color: var(--portal-text);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.portal-btn-secondary:hover {
	transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.32);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.portal-server-card,
.portal-news-card,
.portal-feature-card,
.portal-action-card {
	border: 1px solid var(--portal-line);
	background: linear-gradient(
		180deg,
		rgba(20, 17, 13, 0.94),
		rgba(12, 10, 8, 0.98)
	);
	box-shadow: var(--portal-shadow);
}

.portal-highlight-top,
.portal-server-top,
.portal-section-head-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.portal-chip {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 800;
	color: var(--portal-emerald-2);
	background: rgba(201, 150, 42, 0.08);
	border: 1px solid rgba(201, 150, 42, 0.14);
}

.portal-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
}

.portal-status-badge.online {
	color: #9cf7c9;
	background: rgba(34, 197, 94, 0.14);
	border: 1px solid rgba(34, 197, 94, 0.18);
}

.portal-status-badge.offline {
	color: #fca5a5;
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.16);
}

.portal-status-badge.soon {
	color: rgba(255, 180, 20, 1);
	background: rgba(212, 175, 55, 0.13);
	border: 1px solid rgba(212, 175, 55, 0.16);
}

.portal-status-badge.maintenance {
	color: rgba(255, 180, 20, 1);
	background: rgba(212, 175, 55, 0.13);
	border: 1px solid rgba(212, 175, 55, 0.16);
}

.portal-status-badge.loading {
	color: rgba(255, 255, 255, 0.72);
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.14);
}

.portal-status-badge.loading .portal-status-dot {
	background: rgba(255, 255, 255, 0.65);
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
	animation: fc-status-pulse 1.2s ease-in-out infinite;
}

.portal-player-count {
	color: #0cd7e8;
	font-weight: 800;
}

@keyframes fc-status-pulse {
	0%,
	100% {
		opacity: 0.45;
		transform: scale(0.9);
	}

	50% {
		opacity: 1;
		transform: scale(1);
	}
}

.portal-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: currentColor;
}

.portal-section {
	padding: 24px 0;
}

.portal-section-feature {
	border-top: 1px solid rgba(152, 65, 255, 0.1);
	background:
		radial-gradient(
			circle at 50% 0%,
			rgba(201, 150, 42, 0.38),
			transparent 55%
		),
		radial-gradient(
			circle at 20% 0%,
			rgba(201, 150, 42, 0.38),
			transparent 45%
		),
		radial-gradient(
			circle at 80% 0%,
			rgba(201, 150, 42, 0.38),
			transparent 45%
		),
		linear-gradient(
			180deg,
			#0b0907 0%,
			#050403 100%
		);
}

.portal-section-actions {
	border-top: 1px solid rgba(152, 65, 255, 0.1);
}

.portal-section-head {
	margin-bottom: 16px;
}

.portal-section-head h2 {
	margin: 0;
	font-size: 1.9rem;
	line-height: 1.02;
	letter-spacing: -0.04em;
	color: var(--portal-text);
}

.portal-showcase-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) 330px;
	gap: 24px;
	align-items: start;
}

.portal-servers-grid.compact,
.portal-news-grid.stacked {
	display: grid;
	gap: 18px;
}

.portal-servers-grid.compact {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}

.portal-showcase-left .portal-servers-grid {
	justify-items: start;
}

.portal-showcase-left,
.portal-showcase-right {
	min-width: 0;
}

.portal-server-card,
.portal-news-card,
.portal-action-card {
	overflow: hidden;
	border-radius: 12px;
}

.portal-server-card {
	transition:
		transform 0.4s ease,
		border-color 0.4s ease,
		box-shadow 0.4s ease;
	will-change: transform;
}

.portal-server-card:hover {
	transform: translateY(-6px);
	border-color: rgba(214, 169, 53, 0.34);
	box-shadow:
		0 18px 46px rgba(0, 0, 0, 0.36),
		0 0 26px rgba(214, 169, 53, 0.14);
}

.portal-server-card.compact {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
}

.portal-server-image-wrap {
	position: relative;
	overflow: hidden;
	background: #0b1222;
}

.portal-server-image-wrap.compact {
	aspect-ratio: 16 / 7.2;
	min-height: 0;
}

.portal-server-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease, filter 0.35s ease;
	will-change: transform;
}

.portal-server-card:hover .portal-server-image {
	transform: scale(1.045);
	filter: saturate(1.08) contrast(1.04);
}

.portal-server-card:hover .portal-server-image-overlay {
	opacity: 0.6;
}

.portal-server-image-overlay {
	position: absolute;
	transition: opacity 0.3s ease;
	inset: 0;
	background:
		linear-gradient(
			180deg,
			rgba(8, 6, 4, 0.02) 0%,
			rgba(8, 6, 4, 0.16) 46%,
			rgba(8, 6, 4, 0.66) 100%
		),
		linear-gradient(
			90deg,
			rgba(201, 150, 42, 0.06),
			transparent 45%,
			rgba(201, 150, 42, 0.04)
		);
}

.portal-server-map-placeholder {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	min-height: 190px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	
	background: 
		linear-gradient(
		180deg,
		rgba(20, 17, 13, 0.94),
		rgba(12, 10, 8, 0.98)
	);
		
	transition:
		transform 0.35s ease,
		filter 0.35s ease;
	will-change: transform;
}

.portal-server-map-placeholder i {
	font-size: 2.15rem;
	color: rgba(214, 169, 53, 0.9);
	filter: drop-shadow(0 0 12px rgba(214, 169, 53, 0.35));
}

.portal-server-map-placeholder span {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.portal-server-card:hover .portal-server-map-placeholder {
	transform: scale(1.025);
	filter: saturate(1.08) contrast(1.04);
}


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

.portal-hero-news {
	width: 100%;
	min-width: 0;
}

.portal-hero-news-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.portal-hero-news-title-row {
	display: flex;
	align-items: center;
	gap: 7px;
}

.portal-hero-news-kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.84rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--portal-text);
}

.portal-hero-news-kicker i,
.portal-hero-news-kicker svg {
	color: var(--portal-emerald-2);
	font-size: 0.92em;
	width: 0.92em;
	height: 0.92em;
	flex: 0 0 auto;
	transform: translateY(-1px);
}

.portal-hero-news-card {
	overflow: hidden;
	border-radius: 24px;
	border: 1px solid rgba(201, 150, 42, 0.12);
	background:
		radial-gradient(
			circle at top left,
			rgba(201, 150, 42, 0.08),
			transparent 42%
		),
		linear-gradient(
			180deg,
			rgba(15, 12, 8, 0.96),
			rgba(8, 6, 4, 0.985)
		);
	box-shadow: var(--portal-shadow);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.portal-hero-news-card:hover {
	transform: translateY(-4px);
	border-color: rgba(201, 150, 42, 0.28);
	box-shadow:
		0 30px 70px rgba(0, 0, 0, 0.6),
		0 0 22px rgba(201, 150, 42, 0.12);
}

.portal-hero-news-image-wrap {
	position: relative;
	aspect-ratio: 16 / 6.8;
	background: #15110c;
	overflow: hidden;
}

.portal-hero-news-image-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(
			180deg,
			rgba(5, 8, 14, 0.02) 0%,
			rgba(5, 8, 14, 0.12) 48%,
			rgba(5, 8, 14, 0.42) 100%
		);
}

.portal-hero-news-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.portal-hero-news-card:hover .portal-hero-news-image {
	transform: scale(1.04);
}

.portal-hero-news-body {
	padding: 18px 18px 20px;
}

.portal-hero-news-meta-top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.portal-hero-news-badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	border-radius: 8px;
	background: linear-gradient(
		135deg,
		#c9962a 0%,
		#e7c267 100%
	);
	color: #1b1408;
	border: 1px solid rgba(255, 220, 140, 0.18);
	box-shadow:
		0 6px 16px rgba(201, 150, 42, 0.24),
		0 0 0 1px rgba(255, 255, 255, 0.08) inset;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.portal-hero-news-date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(214, 205, 190, 0.68);
}

.portal-hero-news-date i {
	color: rgba(214, 205, 190, 0.68);
	font-size: 0.75rem;
}

.portal-hero-news-card h3 {
	margin: 0 0 10px;
	font-size: 1.22rem;
	line-height: 1.14;
	letter-spacing: -0.03em;
	color: var(--portal-text);
}

.portal-hero-news-card p {
	margin: 0;
	line-height: 1.7;
	color: var(--portal-muted);
	font-size: 0.95rem;
}

.portal-hero-news-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 14px;
}

.portal-hero-news-stats {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.75rem;
	color: rgba(214, 205, 190, 0.55);
	flex-wrap: wrap;
	justify-content: flex-end;
}

.portal-hero-news-stats span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.portal-hero-news-stats i {
	font-size: 0.85em;
	opacity: 0.8;
}

.portal-action-icon i {
	color: #fff !important;
	font-size: 30px;
	line-height: 1;
	text-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
}

.portal-text-link,
.portal-hero-news-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 0;
	font-size: 0.74rem;
	line-height: 1;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(214, 205, 190, 0.64);
	transition:
		color 0.18s ease,
		transform 0.18s ease,
		opacity 0.18s ease;
}

.portal-text-link::after,
.portal-hero-news-all::after {
	content: "→";
	font-size: 0.95em;
	line-height: 1;
	opacity: 0.82;
	transform: translateX(0);
	transition:
		transform 0.18s ease,
		opacity 0.18s ease;
}

.portal-text-link:hover,
.portal-hero-news-all:hover {
	color: var(--portal-text);
}

.portal-text-link:hover::after,
.portal-hero-news-all:hover::after {
	opacity: 1;
	transform: translateX(3px);
}

.portal-text-link-strong {
	color: var(--portal-emerald-2);
}

.portal-text-link-strong:hover {
	color: #fff;
	transform: translateX(2px);
}

/* =========================================================
   SERVERS / NEWS LIST
========================================================= */

.portal-server-body {
	padding: 22px;
}

.portal-server-body.compact {
	display: flex;
	flex-direction: column;
	padding: 15px 16px 14px;
}

.portal-server-top {
	align-items: flex-start;
}

.portal-server-heading {
	min-width: 0;
}

.portal-server-top h3 {
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.06;
	letter-spacing: -0.03em;
	color: var(--portal-text);
}

.portal-server-sub {
	margin: 5px 0 0;
	font-size: 0.82rem;
	color: var(--portal-muted);
}

.portal-server-meta.compact {
	display: grid;
	gap: 0;
	margin-top: 14px;
}

.portal-meta-row {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.portal-meta-row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.portal-meta-row span {
	font-size: 0.82rem;
}

.portal-meta-row span.label {
	color: rgba(214, 205, 190, 0.62);
	font-size: 0.82rem;
}

.portal-meta-row strong {
	word-break: normal;
	text-align: right;
}

.portal-server-ip {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.portal-server-actions {
	margin-top: 13px;
}

.portal-server-actions-primary {
	display: flex;
}

.portal-server-actions-primary .portal-btn {
	width: 100%;
}

.portal-server-actions-secondary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 8px;
}

.portal-server-actions-secondary .portal-btn {
	width: 100%;
}

.portal-vip-action-wrap {
	position: relative;
	display: inline-flex;
}

.portal-btn-vip {
	position: relative;
	overflow: visible;
}

.portal-vip-corner {
	position: absolute;
	top: 2px;
	right: 2px;
	z-index: 4;

	background: linear-gradient(135deg, #ffe08a, #d6a935);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;

	filter: drop-shadow(0 0 6px rgba(214, 169, 53, 0.45));

	font-size: 1rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;

	transform: rotate(10deg);
	pointer-events: none;
}

.portal-vip-denied {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	z-index: 20;
	width: max-content;
	max-width: 220px;
	padding: 8px 11px;
	border-radius: 12px;
	color: #fff;
	background: rgba(190, 24, 24, 0.95);
	border: 1px solid rgba(255, 120, 120, 0.45);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	transform: translateX(-50%) translateY(5px);
	opacity: 0;
	transition: opacity 0.18s ease, transform 0.18s ease;
	pointer-events: none;
}

.portal-vip-denied::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	width: 10px;
	height: 10px;
	background: rgba(190, 24, 24, 0.95);
	border-right: 1px solid rgba(255, 120, 120, 0.45);
	border-bottom: 1px solid rgba(255, 120, 120, 0.45);
	transform: translate(-50%, -5px) rotate(45deg);
}

.portal-vip-denied.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.portal-news-grid.stacked {
	grid-template-columns: 1fr;
	gap: 16px;
}

.portal-news-card {
	overflow: hidden;
	border-radius: 22px;
	border: 1px solid rgba(201, 150, 42, 0.1);
	background:
		radial-gradient(
			circle at top left,
			rgba(201, 150, 42, 0.06),
			transparent 42%
		),
		linear-gradient(
			180deg,
			rgba(15, 12, 8, 0.96),
			rgba(8, 6, 4, 0.985)
		);
	box-shadow: var(--portal-shadow);
	transition:
		transform 0.22s ease,
		border-color 0.22s ease,
		box-shadow 0.22s ease;
}

.portal-news-card:hover {
	transform: translateY(-4px);
	border-color: rgba(201, 150, 42, 0.22);
	box-shadow:
		0 28px 60px rgba(0, 0, 0, 0.52),
		0 0 18px rgba(201, 150, 42, 0.1);
}

.portal-news-image-wrap {
	position: relative;
	aspect-ratio: 16 / 7.2;
	overflow: hidden;
	background: #15110c;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.portal-news-image-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(
			180deg,
			rgba(5, 8, 14, 0.02) 0%,
			rgba(5, 8, 14, 0.1) 48%,
			rgba(5, 8, 14, 0.34) 100%
		);
}

.portal-news-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.portal-news-card:hover .portal-news-image {
	transform: scale(1.04);
}

.portal-news-body {
	padding: 12px 14px 14px;
}

.portal-news-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	row-gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.portal-news-badge {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 9px;
	border-radius: 8px;
	background: linear-gradient(
		135deg,
		#c9962a 0%,
		#e7c267 100%
	);
	color: #1b1408;
	border: 1px solid rgba(255, 220, 140, 0.18);
	box-shadow:
		0 6px 16px rgba(201, 150, 42, 0.2),
		0 0 0 1px rgba(255, 255, 255, 0.06) inset;
	font-size: 0.66rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.portal-news-date,
.portal-news-stat {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(214, 205, 190, 0.62);
}

.portal-news-date i,
.portal-news-stat i {

	color: #d7ae52;
}

.portal-news-card h3 {
	margin: 0 0 7px;
	font-size: 0.96rem;
	line-height: 1.22;
	letter-spacing: -0.02em;
	color: var(--portal-text);
}

.portal-news-card p {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.56;
	color: var(--portal-muted);
}

.portal-news-card .portal-text-link {
	margin-top: 14px;
}


/* =========================================================
   CARD LINK (full clickable card)
========================================================= */

.portal-hero-news-card,
.portal-news-card {
	position: relative;
}

.portal-card-link {
	position: absolute;
	inset: 0;
	z-index: 5;
	border-radius: inherit;
	text-indent: -9999px;
}

/* content musí byť nad overlay linkom */
.portal-hero-news-body,
.portal-news-body {
	position: relative;
	z-index: 6;
}

/* hover efekt cez celú kartu */
.portal-hero-news-card:hover,
.portal-news-card:hover {
	cursor: pointer;
}

/* =========================================================
   FEATURES / ACTIONS
========================================================= */

.portal-feature-strip,
.portal-actions-grid {
	display: grid;
	gap: 16px;
}

.portal-feature-strip {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-actions-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 22px;
}

.portal-feature-card {
	position: relative;
	display: flex;
	gap: 14px;
	align-items: flex-start;

	padding: 16px 16px 15px;
	min-height: 122px;

	border-radius: 24px;
	background:
		radial-gradient(
			circle at top left,
			rgba(201, 150, 42, 0.16),
			transparent 55%
		),
		radial-gradient(
			circle at bottom right,
			rgba(201, 150, 42, 0.08),
			transparent 60%
		),
		linear-gradient(
			180deg,
			rgba(18, 14, 10, 0.96),
			rgba(8, 6, 4, 0.98)
		);

	border: 1px solid rgba(201, 150, 42, 0.12);

	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease,
		background 0.25s ease;
}

.portal-feature-card:hover {
	transform: translateY(-6px);
	border-color: rgba(201, 150, 42, 0.22);
}

.portal-feature-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;

	background:
		linear-gradient(
			120deg,
			rgba(201, 150, 42, 0.08),
			transparent 40%,
			rgba(201, 150, 42, 0.06)
		);

	opacity: 0;
	transition: opacity 0.25s ease;
}

.portal-feature-card:hover::before {
	opacity: 1;
}

.portal-feature-content {
	min-width: 0;
	flex: 1 1 auto;
}

.portal-feature-icon {
	margin-top: 2px;
}

.portal-feature-icon,
.portal-action-icon {
	position: relative;
	isolation: isolate;
	overflow: visible;
	width: 48px;
	height: 48px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	font-size: 1.35rem;
	flex: 0 0 auto;
	color: white;
	transition:
		transform 0.22s ease,
		border-color 0.22s ease,
		box-shadow 0.22s ease,
		background 0.22s ease,
		color 0.22s ease;
}

.portal-feature-icon::before,
.portal-action-icon::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 120%;
	height: 120%;
	border-radius: 22px;
	transform: translate(-50%, -50%) scale(0.9);
	filter: blur(18px);
	opacity: 0;
	z-index: -1;
	transition:
		opacity 0.22s ease,
		transform 0.22s ease,
		filter 0.22s ease;
}

.portal-feature-card h3,
.portal-action-card h3 {
	margin: 0 0 6px;
	font-size: 1.08rem;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--portal-text);
}

.portal-feature-card p,
.portal-action-card p {
	margin: 0;
	max-width: 22ch;
	font-size: 0.86rem;
	line-height: 1.5;
	color: var(--portal-muted);
}

.portal-feature-card.purple .portal-feature-icon,
.portal-action-card.purple .portal-action-icon {
	background: linear-gradient(
		135deg,
		rgba(152, 65, 255, 0.2),
		rgba(152, 65, 255, 0.05)
	);
	border: 1px solid rgba(152, 65, 255, 0.3);
	color: #9841ff;
}

.portal-feature-card.cyan .portal-feature-icon,
.portal-action-card.cyan .portal-action-icon {
	background: rgba(34, 211, 238, 0.14);
	border: 1px solid rgba(34, 211, 238, 0.24);
	color: #67e8f9;
}

.portal-feature-card.green .portal-feature-icon {
	background: rgba(34, 197, 94, 0.14);
	border: 1px solid rgba(34, 197, 94, 0.22);
	color: #9cf7c9;
}

.portal-feature-card.orange .portal-feature-icon,
.portal-action-card.orange .portal-action-icon {
	background: rgba(245, 158, 11, 0.14);
	border: 1px solid rgba(245, 158, 11, 0.24);
	color: #fcd34d;
}

.portal-feature-card.purple .portal-feature-icon::before,
.portal-action-card.purple .portal-action-icon::before {
	background: radial-gradient(
		circle,
		rgba(152, 65, 255, 0.42),
		transparent 70%
	);
}

.portal-feature-card.cyan .portal-feature-icon::before,
.portal-action-card.cyan .portal-action-icon::before {
	background: radial-gradient(
		circle,
		rgba(34, 211, 238, 0.38),
		transparent 70%
	);
}

.portal-feature-card.green .portal-feature-icon::before {
	background: radial-gradient(circle, rgba(34, 197, 94, 0.36), transparent 70%);
}

.portal-feature-card.orange .portal-feature-icon::before,
.portal-action-card.orange .portal-action-icon::before {
	background: radial-gradient(circle, rgba(245, 158, 11, 0.4), transparent 70%);
}

.portal-feature-card:hover .portal-feature-icon,
.portal-action-card:hover .portal-action-icon {
	transform: translateY(-2px) scale(1.04);
}

.portal-feature-card:hover .portal-feature-icon::before,
.portal-action-card:hover .portal-action-icon::before {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.portal-feature-card:hover .portal-feature-icon i,
.portal-action-card:hover .portal-action-icon i {
	filter: drop-shadow(0 0 8px currentColor);
}

.portal-action-card {
	position: relative;
	padding: 28px;
	overflow: hidden;
	border-radius: 28px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: var(--portal-shadow);
	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease;
}

.portal-action-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.portal-action-card::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(
		1200px circle at 0% 0%,
		rgba(255, 255, 255, 0.08),
		transparent 40%
	);
}

.portal-action-card.purple {
	background: linear-gradient(
		145deg,
		rgba(73, 23, 123, 0.95) 0%,
		rgba(30, 9, 62, 0.98) 100%
	);
	border-color: rgba(168, 85, 247, 0.35);
}

.portal-action-card.orange {
	background: linear-gradient(
		145deg,
		rgba(104, 57, 14, 0.95) 0%,
		rgba(48, 23, 8, 0.98) 100%
	);
	border-color: rgba(245, 158, 11, 0.32);
}

.portal-action-card.cyan {
	background: linear-gradient(
		145deg,
		rgba(11, 82, 97, 0.95) 0%,
		rgba(6, 40, 50, 0.98) 100%
	);
	border-color: rgba(34, 211, 238, 0.32);
}

.portal-action-icon {
	width: 60px;
	height: 60px;
	border-radius: 18px;
	display: grid;
	place-items: center;
	margin-bottom: 20px;
	font-size: 24px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.portal-action-card.purple .portal-action-icon {
	background: linear-gradient(135deg, #a855f7, #7c3aed);
	box-shadow: 0 16px 32px rgba(168, 85, 247, 0.28);
}

.portal-action-card.orange .portal-action-icon {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	box-shadow: 0 16px 32px rgba(245, 158, 11, 0.28);
}

.portal-action-card.cyan .portal-action-icon {
	background: linear-gradient(135deg, #22d3ee, #06b6d4);
	box-shadow: 0 16px 32px rgba(34, 211, 238, 0.28);
}

.portal-action-card h3 {
	margin: 0 0 10px;
	font-size: 1.22rem;
	line-height: 1.14;
	letter-spacing: -0.02em;
	color: #ffffff;
}

.portal-action-card p {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.58;
	color: rgba(230, 236, 255, 0.78);
	max-width: 24ch;
}

.portal-action-card span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffffff;
}

.portal-action-card span::after {
	content: "→";
	font-size: 1.5rem;
	line-height: 1;
	transform: translateY(-1px);
}

/* =========================================================
   DISCORD BAND
========================================================= */

.portal-discord-section {
	padding: 40px 0 0;
}

.portal-discord-band {
	width: 100%;
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at top, rgba(168, 85, 247, 0.22), transparent 30%),
		linear-gradient(180deg, rgba(99, 102, 241, 0.98), rgba(88, 78, 220, 0.98));
}

.portal-discord-band::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.08;
	background: linear-gradient(
		45deg,
		rgba(255, 255, 255, 0.35) 25%,
		transparent 25%,
		transparent 50%,
		rgba(255, 255, 255, 0.35) 50%,
		rgba(255, 255, 255, 0.35) 75%,
		transparent 75%,
		transparent
	);
	background-size: 96px 96px;
}

.portal-discord-band-inner {
	position: relative;
	z-index: 1;
	padding: 88px 0 92px;
	text-align: center;
}

.portal-discord-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 24px;
	border-radius: 18px;
	display: grid;
	place-items: center;
	font-size: 2.25rem;
	color: #fff;
	background: rgba(255, 255, 255, 0.15);
}

.portal-discord-band h2 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.04;
	letter-spacing: -0.05em;
	color: #fff;
}

.portal-discord-band p {
	max-width: 820px;
	margin: 18px auto 0;
	font-size: 1.05rem;
	line-height: 1.85;
	color: rgba(255, 255, 255, 0.84);
}

.portal-discord-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 58px;
	margin-top: 26px;
	padding: 14px 32px;
	border-radius: 10px;
	font-size: 1rem;
	font-weight: 700;
	font-family: 'Rajdhani', sans-serif;
	letter-spacing: 0.063em;
	text-transform: uppercase;
	color: #5865F2;
	background: #ffffff;
	transition: all 0.3s;
}

.portal-discord-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}


/* =========================================================
   MODAL Players
========================================================= */

.portal-players-modal[hidden] {
	display: none;
}

.portal-players-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	padding: 20px;
}

.portal-players-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.portal-players-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 520px);
	border-radius: 24px;
	border: 1px solid rgba(201, 150, 42, 0.14);
	background:
		radial-gradient(
			circle at top left,
			rgba(201, 150, 42, 0.08),
			transparent 55%
		),
		linear-gradient(
			180deg,
			rgba(17, 14, 10, 0.96),
			rgba(9, 7, 5, 0.985)
		);
	box-shadow:
		0 24px 60px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(255, 255, 255, 0.02) inset;
	overflow: hidden;
}

.portal-players-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 18px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.portal-players-modal-head h3 {
	margin: 0;
	font-size: 1.3rem;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--portal-text);
	font-family: "Rajdhani", Inter, system-ui, sans-serif;
}

.portal-players-modal-close {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	color: var(--portal-text);
	cursor: pointer;
	border-radius: 14px;
	transition:
		transform 0.18s ease,
		background 0.18s ease,
		border-color 0.18s ease;
}

.portal-players-modal-close:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.12);
}

.portal-players-modal-body {
	padding: 14px 18px 18px;
}

.portal-players-list {
	display: grid;
	gap: 10px;
}

.portal-player-item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 0 14px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.portal-player-item i {
	color: var(--portal-emerald-2);
	font-size: 0.95rem;
	flex: 0 0 auto;
}

.portal-player-item span {
	font-weight: 700;
	color: var(--portal-text);
}

.portal-players-empty {
	padding: 14px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
	color: var(--portal-muted);
	line-height: 1.6;
}

@media (max-width: 640px) {
	.portal-players-modal {
		padding: 14px;
	}

	.portal-players-modal-dialog {
		width: 100%;
		border-radius: 20px;
	}

	.portal-players-modal-head {
		padding: 16px 16px 14px;
	}

	.portal-players-modal-body {
		padding: 12px 16px 16px;
	}
}

/* =========================================================
   RESPONSIVE — clean layout system
========================================================= */

/* =========================
   <= 1200px
   - hero news sa vypne
   - showcase ide do jedného hlavného flow
   - servery ostávajú 2 vedľa seba
   - novinky idú 3 vedľa seba
========================= */
@media (max-width: 1200px) {
	.portal-hero {
		padding: 36px 0 24px;
	}

	.portal-hero-inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.portal-hero-copy h1 {
		max-width: 14ch;
		font-size: clamp(2.55rem, 5vw, 3.8rem);
	}

	.portal-hero-copy p {
		max-width: 720px;
	}

	.portal-hero-news {
		display: none;
	}

	.portal-hero-cta-row {
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 16px;
	}

	.portal-inline-stats {
		width: 100%;
	}

	.portal-showcase-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.portal-showcase-left,
	.portal-showcase-right {
		width: 100%;
	}

	.portal-showcase-right {
		margin-top: 20px;
		padding-top: 22px;
		border-top: 1px solid rgba(201, 150, 42, 0.1);
	}

	.portal-news-grid.stacked {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
	}

	.portal-feature-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.portal-actions-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* =========================
   <= 900px
   - stále držíme dobrý tablet layout
   - servery stále 2 vedľa seba
   - novinky 2 vedľa seba
   - action cards 2 vedľa seba
========================= */
@media (max-width: 900px) {
	.portal-section {
		padding: 22px 0;
	}

	.portal-hero {
		padding: 30px 0 22px;
	}

	.portal-hero-copy h1 {
		font-size: clamp(2.3rem, 7vw, 3.3rem);
		line-height: 0.98;
	}

	.portal-hero-copy p {
		font-size: 0.94rem;
		line-height: 1.62;
	}

	.portal-hero-cta-row {
		gap: 14px;
	}

	.portal-hero-actions {
		width: auto;
		flex-wrap: nowrap;
	}

	.portal-inline-stat {
		min-width: 108px;
		padding: 0 14px;
	}

	.portal-inline-stat strong {
		font-size: 1.02rem;
	}

	.portal-inline-stat > span {
		margin-top: 6px;
		font-size: 0.56rem;
		letter-spacing: 0.16em;
	}

	.portal-news-grid.stacked {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.portal-feature-card {
		padding: 15px;
		min-height: 112px;
	}

	.portal-action-card {
		padding: 22px;
	}

	.portal-action-card p {
		max-width: none;
	}
}

/* =========================
   <= 770px
   - server karty až tu idú pod seba
========================= */
@media (max-width: 660px) {
	.portal-servers-grid.compact {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.portal-server-card.compact {
		width: min(100%, 440px);
		max-width: 440px;
	}
}

/* =========================
   <= 700px
   - action cards už pod seba
========================= */
@media (max-width: 700px) {
	.portal-actions-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================
   <= 640px
   - mobilný layout
========================= */
@media (max-width: 640px) {
	.portal-home .container {
		width: min(var(--container), calc(100% - 22px));
	}

	.portal-section {
		padding: 20px 0;
	}

	.portal-hero {
		padding: 26px 0 20px;
	}

	.portal-hero-copy h1 {
		font-size: clamp(2.05rem, 10vw, 2.8rem);
		line-height: 1.02;
		letter-spacing: -0.04em;
	}

	.portal-hero-copy p {
		margin-top: 14px;
		font-size: 0.9rem;
		line-height: 1.58;
	}

	.portal-hero-actions,
	.portal-server-actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.portal-btn,
	.portal-discord-btn {
		width: 100%;
	}

	.portal-inline-stats {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
		width: 100%;
	}

	.portal-inline-stat {
		min-width: 0;
		width: 100%;
		padding: 12px 10px;
		background: rgba(255, 255, 255, 0.03);
		border: 1px solid rgba(255, 255, 255, 0.06);
		box-shadow:
			0 10px 24px rgba(0, 0, 0, 0.35),
			0 0 0 1px rgba(255, 255, 255, 0.02) inset;
		clip-path: polygon(
			0 0,
			calc(100% - 12px) 0,
			100% 12px,
			100% 100%,
			12px 100%,
			0 calc(100% - 12px)
		);
		border-radius: 0;
	}

	.portal-inline-stat:first-child,
	.portal-inline-stat:last-child {
		padding-left: 10px;
		padding-right: 10px;
	}

	.portal-inline-stat:not(:last-child)::after {
		display: none;
	}

	.portal-inline-stat strong {
		font-size: 1rem;
	}

	.portal-inline-stat > span {
		margin-top: 5px;
		font-size: 0.54rem;
		letter-spacing: 0.14em;
	}

	.portal-section-head h2 {
		font-size: 1.55rem;
	}

	.portal-news-grid.stacked,
	.portal-feature-strip {
		grid-template-columns: 1fr;
	}

	.portal-server-card,
	.portal-news-card,
	.portal-feature-card,
	.portal-action-card,
	.portal-hero-news-card {
		border-radius: 18px;
	}
	
	.portal-servers-grid.compact {
		grid-template-columns: 1fr;
		justify-items: center;
	}
	
	.portal-server-card.compact {
		width: 100%;
		box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
	}

	.portal-server-body.compact {
		padding: 14px;
	}

	.portal-meta-row {
		grid-template-columns: 68px 1fr;
		gap: 8px;
	}

	.portal-feature-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 14px;
		padding: 22px 18px;
		min-height: 150px;
	}

	.portal-feature-card p {
		max-width: 54ch;
		margin: 0 auto;
	}

	.portal-feature-icon {
		width: 46px;
		height: 46px;
		border-radius: 14px;
		font-size: 1.1rem;
	}

	.portal-feature-card h3,
	.portal-action-card h3 {
		font-size: 1rem;
	}

	.portal-feature-card p,
	.portal-action-card p {
		font-size: 0.86rem;
		line-height: 1.55;
	}

	.portal-actions-grid {
		gap: 14px;
		margin-top: 18px;
	}

	.portal-action-card {
		padding: 20px;
		border-radius: 20px;
	}

	.portal-action-icon {
		width: 54px;
		height: 54px;
		margin-bottom: 16px;
		border-radius: 16px;
		font-size: 22px;
	}

	.portal-action-card h3 {
		font-size: 1.08rem;
	}

	.portal-action-card span {
		margin-top: 18px;
		font-size: 0.8rem;
		gap: 8px;
	}

	.portal-discord-section {
		padding: 28px 0 0;
	}

	.portal-discord-band-inner {
		padding: 52px 0 54px;
	}

	.portal-discord-icon {
		width: 58px;
		height: 58px;
		margin-bottom: 16px;
		border-radius: 18px;
		font-size: 1.9rem;
	}

	.portal-discord-band h2 {
		font-size: clamp(1.8rem, 9vw, 2.55rem);
	}

	.portal-discord-band p {
		font-size: 0.92rem;
		line-height: 1.62;
	}

	.portal-discord-btn {
		min-height: 48px;
		padding: 0 20px;
		margin-top: 20px;
	}

	.portal-news-body {
		padding: 12px 13px 14px;
	}

	.portal-news-meta {
		gap: 8px;
	}

	.portal-news-card h3 {
		font-size: 0.96rem;
	}

	.portal-news-card p {
		font-size: 0.84rem;
		line-height: 1.55;
	}
}