/*
Theme Name: RTS Command
Theme URI: https://realtimestrategy.com.tr
Author: Real Time Strategy Community
Description: Real Time Strategy (RTS) Squad & RTS klanı için özel, modern, koyu/altın temalı tek sayfa WordPress teması. Canlı Discord sayaçları, YouTube akışı, Kadro ve Etkinlik yönetimi içerir.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rts-command
Tags: dark, one-column, custom-logo, custom-menu, featured-images
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--bg: #08080a;
	--bg-2: #0d0d10;
	--bg-3: #131317;
	--surface: rgba(255, 255, 255, 0.025);
	--surface-2: rgba(255, 255, 255, 0.05);
	--border: rgba(212, 185, 127, 0.12);
	--border-strong: rgba(212, 185, 127, 0.32);

	--gold: #d4b97f;
	--gold-light: #f2e0b3;
	--gold-dark: #9a7b43;
	--gold-grad: linear-gradient(135deg, #f6e7bf 0%, #d4b97f 45%, #9a7b43 100%);
	--gold-glow: 0 0 0 1px rgba(212, 185, 127, 0.35), 0 10px 40px -10px rgba(212, 185, 127, 0.45);

	--text: #ece8df;
	--text-2: #b9b4a8;
	--muted: #7f7a70;

	--discord: #5865f2;
	--discord-dark: #4752c4;
	--live: #3ddc84;
	--danger: #e5484d;

	--font-display: "Chakra Petch", "Rajdhani", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius-sm: 6px;
	--radius: 12px;
	--radius-lg: 20px;

	--container: 1240px;
	--header-h: 76px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--clip-corner: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 12px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

/* Global ambient background: tactical grid + noise */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -2;
	background-image:
		linear-gradient(rgba(212, 185, 127, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(212, 185, 127, 0.035) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
	pointer-events: none;
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
	opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-light); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 .5em;
	letter-spacing: -0.01em;
	color: #fff;
}

p { margin: 0 0 1em; }

::selection { background: var(--gold); color: #000; }

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text,
.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 10000;
	width: auto; height: auto; clip: auto;
	padding: 10px 16px; background: var(--gold); color: #000;
	border-radius: var(--radius-sm); font-weight: 600;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 40px);
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2720; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ==========================================================================
   3. Utilities & shared components
   ========================================================================== */
.text-gold {
	background: var(--gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 18px;
}
.eyebrow::before {
	content: "";
	width: 28px; height: 2px;
	background: var(--gold-grad);
}

.section {
	position: relative;
	padding-block: clamp(80px, 11vw, 140px);
}

.section-head {
	max-width: 720px;
	margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
	content: "";
	width: 28px; height: 2px;
	background: var(--gold-grad);
}
.section-title {
	font-size: clamp(34px, 5vw, 56px);
	text-transform: uppercase;
	letter-spacing: .01em;
}
.section-lead {
	font-size: clamp(16px, 1.6vw, 18px);
	color: var(--text-2);
	margin: 0;
}

.section-index {
	position: absolute;
	top: clamp(60px, 9vw, 110px);
	right: clamp(20px, 4vw, 40px);
	font-family: var(--font-display);
	font-size: clamp(80px, 14vw, 180px);
	font-weight: 700;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(212, 185, 127, 0.08);
	pointer-events: none;
	user-select: none;
}

/* Buttons */
.btn {
	--btn-bg: var(--surface-2);
	--btn-fg: var(--text);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--btn-fg);
	background: var(--btn-bg);
	border: 1px solid transparent;
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
	cursor: pointer;
	transition: transform .25s var(--ease), background .25s ease, color .25s ease, box-shadow .25s ease, filter .25s ease;
	isolation: isolate;
	overflow: hidden;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:hover::after { transform: translateX(120%); }

.btn--gold { --btn-bg: var(--gold-grad); --btn-fg: #15110a; }
.btn--gold:hover { filter: brightness(1.08); box-shadow: 0 12px 40px -12px rgba(212,185,127,.7); }

.btn--discord { --btn-bg: var(--discord); --btn-fg: #fff; }
.btn--discord:hover { --btn-bg: #6a76ff; box-shadow: 0 12px 40px -12px rgba(88,101,242,.8); }

.btn--ghost {
	--btn-bg: rgba(255,255,255,.04);
	--btn-fg: var(--text);
	backdrop-filter: blur(8px);
	box-shadow: inset 0 0 0 1px var(--border-strong);
}
.btn--ghost:hover { --btn-bg: rgba(212,185,127,.12); }

.btn--sm { min-height: 42px; padding: 0 18px; font-size: 13px; }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 16px; }

/* Chips */
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold-light);
	background: rgba(212, 185, 127, 0.1);
	border: 1px solid var(--border-strong);
	border-radius: 4px;
	line-height: 1.3;
}
.chip--solid { background: var(--gold); color: #15110a; border-color: var(--gold); }

/* Live dot */
.live-dot {
	position: relative;
	display: inline-block;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--live);
	box-shadow: 0 0 10px var(--live);
	flex: none;
}
.live-dot::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid var(--live);
	animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
	0% { transform: scale(.6); opacity: 1; }
	100% { transform: scale(1.8); opacity: 0; }
}

/* HUD corner brackets */
.hud { position: relative; }
.hud::before,
.hud::after {
	content: "";
	position: absolute;
	width: 22px; height: 22px;
	border: 2px solid var(--gold);
	pointer-events: none;
	transition: all .4s var(--ease);
	z-index: 3;
}
.hud::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hud::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* Card base */
.card {
	position: relative;
	background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: border-color .3s ease, transform .4s var(--ease), box-shadow .4s ease, background .3s ease;
}
.card:hover {
	border-color: var(--border-strong);
	box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(212,185,127,.08);
}

/* Reveal animation */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity .9s var(--ease), transform .9s var(--ease);
	transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--header-h);
	transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease, height .35s ease;
	border-bottom: 1px solid transparent;
}
.site-header .container {
	max-width: 100%;
	padding-inline: clamp(16px, 3vw, 48px);
}
.site-header.is-scrolled {
	background: rgba(8, 8, 10, 0.72);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	border-bottom-color: var(--border);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 100%;
	width: 100%;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	flex-shrink: 0;
}
.brand:hover { color: #fff; }
.brand img,
.brand .custom-logo {
	width: 40px;
	height: 40px;
	object-fit: contain;
	filter: drop-shadow(0 0 12px rgba(212,185,127,.35));
	transition: transform .4s var(--ease);
}
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
	font-family: var(--font-display);
}
.brand-text strong {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .14em;
	white-space: nowrap;
}
.brand-text small {
	margin-top: 4px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .28em;
	color: var(--gold);
	text-transform: uppercase;
	white-space: nowrap;
}

.main-nav { display: flex; align-items: center; margin-inline: auto; }
.main-nav ul {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-nav a {
	position: relative;
	display: block;
	padding: 6px 9px;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--text-2);
	white-space: nowrap;
	transition: color .2s ease;
}
.main-nav a::after {
	content: "";
	position: absolute;
	left: 9px; right: 9px; bottom: 0px;
	height: 2px;
	background: var(--gold-grad);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--ease);
}
.main-nav a:hover,
.main-nav a.is-active,
.main-nav .current-menu-item > a { color: #fff; }
.main-nav a:hover::after,
.main-nav a.is-active::after,
.main-nav .current-menu-item > a::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: 12px; }
.header-actions .btn--discord { flex-shrink: 0; white-space: nowrap; }

.online-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 11px;
	font-size: 13px;
	font-weight: 600;
	color: var(--text-2);
	background: rgba(61,220,132,.08);
	border: 1px solid rgba(61,220,132,.25);
	border-radius: 999px;
	white-space: nowrap;
	flex-shrink: 0;
}
.online-pill b { color: #fff; font-variant-numeric: tabular-nums; }
.online-pill b { color: #fff; font-variant-numeric: tabular-nums; }

.nav-toggle {
	display: none;
	position: relative;
	width: 44px; height: 44px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	cursor: pointer;
	color: #fff;
	flex-shrink: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	position: absolute;
	left: 50%;
	width: 20px; height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .35s var(--ease), background .2s;
}
.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; transform: translateX(-50%); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

@media (max-width: 1320px) {
	.header-actions .online-pill { display: none; }
}

@media (max-width: 1180px) {
	.nav-toggle { display: block; }
	.header-actions .online-pill { display: none; }
	.main-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;

		flex-direction: column;
		align-items: stretch;
		padding: 24px clamp(20px, 4vw, 40px) 40px;
		background: rgba(8,8,10,.97);
		backdrop-filter: blur(20px);
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: all .35s var(--ease);
		overflow-y: auto;
	}
	.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav li { border-bottom: 1px solid var(--border); }
	.main-nav a { padding: 18px 4px; font-size: 20px; }
	.main-nav a::after { display: none; }
	.nav-open { overflow: hidden; }
}
@media (max-width: 520px) {
	.header-actions .btn { display: none; }
	.brand-text small { display: none; }
}

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: calc(var(--header-h) + 40px);
	padding-bottom: 0;
	overflow: hidden;
	isolation: isolate;
}
.hero-bg {
	position: absolute;
	inset: -40px 0 0 0;
	z-index: -2;
	background-size: cover;
	background-position: 65% center;
	transform: scale(1.08);
	will-change: transform;
}
.hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(8,8,10,.96) 0%, rgba(8,8,10,.82) 38%, rgba(8,8,10,.25) 75%, rgba(8,8,10,.55) 100%),
		linear-gradient(0deg, var(--bg) 0%, rgba(8,8,10,0) 40%),
		linear-gradient(180deg, rgba(8,8,10,.6) 0%, rgba(8,8,10,0) 25%);
}
.hero-scan {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px);
	pointer-events: none;
}
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
	align-items: center;
	gap: 40px;
	flex: 1;
}
.hero-content { max-width: 720px; }
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px 8px 10px;
	margin-bottom: 28px;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-2);
	background: rgba(255,255,255,.04);
	border: 1px solid var(--border);
	border-radius: 999px;
	backdrop-filter: blur(10px);
}
.hero-badge .chip { padding: 3px 8px; font-size: 10px; }
.hero-title {
	font-size: clamp(46px, 8.2vw, 104px);
	line-height: .95;
	text-transform: uppercase;
	letter-spacing: -0.015em;
	margin-bottom: 28px;
}
.hero-title span { display: block; }
.hero-title .line-outline {
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(255,255,255,.85);
}
.hero-text {
	max-width: 560px;
	font-size: clamp(16px, 1.5vw, 19px);
	color: var(--text-2);
	margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-emblem {
	position: relative;
	justify-self: center;
	width: min(100%, 380px);
	aspect-ratio: 1;
	display: grid;
	place-items: center;
}
.hero-emblem img {
	width: 62%;
	filter: drop-shadow(0 0 40px rgba(212,185,127,.35)) drop-shadow(0 20px 40px rgba(0,0,0,.6));
	animation: float 7s ease-in-out infinite;
	position: relative;
	z-index: 2;
}
.hero-emblem .ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px solid rgba(212,185,127,.18);
}
.hero-emblem .ring--2 { inset: 12%; border-style: dashed; border-color: rgba(212,185,127,.28); animation: spin 40s linear infinite; }
.hero-emblem .ring--3 {
	inset: -8%;
	border: 0;
	background: conic-gradient(from 0deg, transparent 0 70%, rgba(212,185,127,.5) 85%, transparent 100%);
	-webkit-mask: radial-gradient(circle, transparent 69.5%, #000 70%, #000 70.6%, transparent 71%);
	mask: radial-gradient(circle, transparent 69.5%, #000 70%, #000 70.6%, transparent 71%);
	animation: spin 6s linear infinite;
}
.hero-emblem .glow {
	position: absolute;
	inset: 20%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(212,185,127,.25), transparent 70%);
	filter: blur(30px);
}
.hero-emblem .tick {
	position: absolute;
	font-family: var(--font-display);
	font-size: 11px;
	letter-spacing: .2em;
	color: var(--gold);
	opacity: .7;
}
.hero-emblem .tick--n { top: -2px; left: 50%; transform: translateX(-50%); }
.hero-emblem .tick--s { bottom: -2px; left: 50%; transform: translateX(-50%); }
.hero-emblem .tick--e { right: -6px; top: 50%; transform: translateY(-50%); }
.hero-emblem .tick--w { left: -6px; top: 50%; transform: translateY(-50%); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-stats {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: clamp(50px, 7vw, 80px);
	border-top: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(8,8,10,.4), rgba(8,8,10,.85));
	backdrop-filter: blur(10px);
}
.stat {
	position: relative;
	padding: 26px 24px 30px;
	border-right: 1px solid var(--border);
}
.stat:last-child { border-right: 0; }
.stat::before {
	content: "";
	position: absolute;
	top: -1px; left: 0;
	width: 40px; height: 2px;
	background: var(--gold-grad);
}
.stat-value {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 700;
	line-height: 1;
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.stat-value .live-dot { width: 10px; height: 10px; }
.stat-label {
	margin-top: 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--muted);
}

.scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 150px;
	transform: translateX(-50%);
	display: none;
}

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-emblem { display: none; }
	.hero-stats { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* ==========================================================================
   6. Ticker
   ========================================================================== */
.ticker {
	position: relative;
	overflow: hidden;
	padding: 20px 0;
	background: var(--gold-grad);
	color: #15110a;
	transform: rotate(-1.2deg) scale(1.02);
	margin-block: 20px;
	box-shadow: 0 20px 60px -20px rgba(212,185,127,.4);
	z-index: 2;
}
.ticker-track {
	display: flex;
	width: max-content;
	animation: ticker 38s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
	display: inline-flex;
	align-items: center;
	gap: 28px;
	padding-right: 28px;
	font-family: var(--font-display);
	font-size: clamp(18px, 2.2vw, 26px);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}
.ticker-item svg { width: 18px; height: 18px; opacity: .6; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   7. About
   ========================================================================== */
.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: clamp(40px, 6vw, 90px);
	align-items: start;
}
.about-text p {
	font-size: clamp(16px, 1.4vw, 18px);
	color: var(--text-2);
}
.about-text p:first-of-type {
	font-size: clamp(18px, 1.8vw, 22px);
	color: var(--text);
	line-height: 1.55;
}
.about-quote {
	position: relative;
	margin: 36px 0 0;
	padding: 24px 28px;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(90deg, rgba(212,185,127,.1), transparent);
	border-left: 3px solid var(--gold);
}

.values-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 44px;
}
.value-card { padding: 24px; }
.value-card:hover { transform: translateY(-4px); }
.value-icon {
	display: grid;
	place-items: center;
	width: 48px; height: 48px;
	margin-bottom: 18px;
	color: var(--gold);
	background: rgba(212,185,127,.08);
	border: 1px solid var(--border-strong);
	clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.value-icon svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 19px; margin-bottom: 6px; }
.value-card p { font-size: 14.5px; color: var(--text-2); margin: 0; }

/* Dossier */
.dossier {
	position: sticky;
	top: calc(var(--header-h) + 30px);
	padding: 0;
	overflow: hidden;
	background: linear-gradient(180deg, #121215, #0b0b0d);
}
.dossier-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 22px;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--gold);
	border-bottom: 1px solid var(--border);
	background: rgba(212,185,127,.04);
}
.dossier-head span:last-child { color: var(--muted); }
.dossier-emblem {
	position: relative;
	display: grid;
	place-items: center;
	padding: 40px 20px;
	background:
		radial-gradient(circle at 50% 50%, rgba(212,185,127,.14), transparent 60%),
		repeating-linear-gradient(45deg, rgba(212,185,127,.03) 0 2px, transparent 2px 12px);
	border-bottom: 1px solid var(--border);
}
.dossier-emblem img { width: 120px; filter: drop-shadow(0 0 30px rgba(212,185,127,.3)); }
.dossier-list { margin: 0; padding: 8px 22px 22px; }
.dossier-list div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px dashed var(--border);
}
.dossier-list div:last-child { border-bottom: 0; }
.dossier-list dt {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
}
.dossier-list dd {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	color: #fff;
	text-align: right;
}

/* Rules */
.rules {
	margin-top: 70px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}
.rule {
	position: relative;
	padding: 28px 26px;
	border-right: 1px solid var(--border);
	background: var(--surface);
	transition: background .3s ease;
}
.rule:last-child { border-right: 0; }
.rule:hover { background: rgba(212,185,127,.05); }
.rule-num {
	display: block;
	font-family: var(--font-display);
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 14px;
}
.rule h4 { font-size: 17px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.rule p { font-size: 14px; color: var(--text-2); margin: 0; }

@media (max-width: 900px) {
	.about-grid { grid-template-columns: 1fr; }
	.dossier { position: relative; top: 0; }
	.rule { border-right: 0; border-bottom: 1px solid var(--border); }
	.rule:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
	.values-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   8. Games
   ========================================================================== */
.section--games { background: linear-gradient(180deg, transparent, rgba(212,185,127,.025) 50%, transparent); }
.games-grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr;
	grid-template-rows: repeat(2, minmax(260px, auto));
	gap: 18px;
}
.game-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 300px;
	padding: 26px;
	overflow: hidden;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	color: #fff;
	isolation: isolate;
	transition: border-color .35s ease, transform .5s var(--ease), box-shadow .5s ease;
}
.game-card:first-child { grid-row: span 2; padding: 36px; }
.game-card img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	z-index: -2;
	transition: transform 1.2s var(--ease), filter .6s ease;
	filter: saturate(.8) brightness(.85);
}
.game-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(8,8,10,.97) 0%, rgba(8,8,10,.6) 45%, rgba(8,8,10,.1) 100%);
	transition: opacity .4s ease;
}
.game-card:hover {
	border-color: var(--border-strong);
	transform: translateY(-6px);
	box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(212,185,127,.15);
	color: #fff;
}
.game-card:hover img { transform: scale(1.08); filter: saturate(1) brightness(.95); }
.game-card .chip { align-self: flex-start; margin-bottom: auto; }
.game-card h3 {
	margin: 18px 0 8px;
	font-size: clamp(24px, 2.4vw, 30px);
	text-transform: uppercase;
	letter-spacing: .02em;
}
.game-card:first-child h3 { font-size: clamp(34px, 4vw, 52px); }
.game-card p {
	max-width: 460px;
	font-size: 15px;
	color: var(--text-2);
	margin: 0;
}
.game-card .game-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid rgba(255,255,255,.1);
	font-size: 13px;
	color: var(--text-2);
}
.game-card .game-meta b { color: var(--gold); font-family: var(--font-display); }
.game-arrow {
	position: absolute;
	top: 22px; right: 22px;
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,.2);
	background: rgba(0,0,0,.3);
	backdrop-filter: blur(6px);
	transition: all .4s var(--ease);
}
.game-arrow svg { width: 18px; height: 18px; }
.game-card:hover .game-arrow { background: var(--gold); color: #000; border-color: var(--gold); transform: rotate(-45deg); }

@media (max-width: 1000px) {
	.games-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
	.game-card:first-child { grid-column: span 2; grid-row: auto; min-height: 420px; }
}
@media (max-width: 620px) {
	.games-grid { grid-template-columns: 1fr; }
	.game-card:first-child { grid-column: auto; min-height: 320px; }
}

/* ==========================================================================
   9. Events
   ========================================================================== */
.events-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 24px;
	align-items: stretch;
}
.next-event {
	display: flex;
	flex-direction: column;
	padding: 34px;
	overflow: hidden;
	background:
		radial-gradient(circle at 100% 0%, rgba(212,185,127,.18), transparent 50%),
		linear-gradient(180deg, #141418, #0c0c0f);
	border-color: var(--border-strong);
}
.next-event .chip { align-self: flex-start; }
.next-event h3 { font-size: clamp(26px, 3vw, 36px); margin: 22px 0 10px; text-transform: uppercase; }
.next-event p { color: var(--text-2); }
.next-event-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-bottom: 28px;
	font-size: 14px;
	color: var(--text-2);
}
.next-event-meta span { display: inline-flex; align-items: center; gap: 8px; }
.next-event-meta svg { width: 16px; height: 16px; color: var(--gold); }
.countdown {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: auto;
	margin-bottom: 26px;
}
.countdown div {
	padding: 16px 8px 12px;
	text-align: center;
	background: rgba(0,0,0,.35);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}
.countdown b {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1;
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.countdown small {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--muted);
}

.event-list { display: flex; flex-direction: column; gap: 12px; }
.event-item {
	display: grid;
	grid-template-columns: 78px 1fr auto;
	align-items: center;
	gap: 20px;
	padding: 16px 20px 16px 16px;
}
.event-item:hover { transform: translateX(6px); }
.event-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 74px;
	font-family: var(--font-display);
	line-height: 1;
	background: rgba(212,185,127,.07);
	border: 1px solid var(--border-strong);
	clip-path: var(--clip-corner);
}
.event-date b { font-size: 28px; color: #fff; }
.event-date small { margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; }
.event-info h4 { font-size: 18px; margin: 0 0 6px; }
.event-info .event-sub {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	font-size: 13px;
	color: var(--muted);
}
.event-info .event-sub span { display: inline-flex; align-items: center; gap: 6px; }
.event-info svg { width: 14px; height: 14px; color: var(--gold); }

.empty-note {
	padding: 22px;
	font-size: 14px;
	color: var(--text-2);
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius);
}

@media (max-width: 900px) {
	.events-layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.event-item { grid-template-columns: 64px 1fr; }
	.event-item .chip { display: none; }
	.event-date { height: 64px; }
}

/* ==========================================================================
   10. Roster & Command Manifest
   ========================================================================== */
.roster-board {
	position: relative;
	background: linear-gradient(180deg, #131317 0%, #0a0a0c 100%);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-lg);
	padding: 0;
	overflow: hidden;
	box-shadow: 0 30px 60px -25px rgba(0,0,0,.85);
}
.roster-board-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 28px;
	background: rgba(212, 185, 127, 0.05);
	border-bottom: 1px solid var(--border);
}
.roster-board-title {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.roster-board-title strong {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .12em;
	color: #fff;
	text-transform: uppercase;
}
.roster-board-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	color: var(--live);
	text-transform: uppercase;
}

.roster-image-wrap {
	position: relative;
	width: 100%;
	padding: 24px;
	background: #000;
	display: grid;
	place-items: center;
	overflow: hidden;
}
.roster-image {
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	box-shadow: 0 20px 40px rgba(0,0,0,.8);
	transition: transform .4s var(--ease);
}
.roster-image:hover { transform: scale(1.01); }

.roster-structure {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	padding: 28px;
}
.roster-wing {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px 22px;
	transition: all .3s ease;
}
.roster-wing:hover {
	background: rgba(212, 185, 127, 0.04);
	border-color: var(--border-strong);
	transform: translateY(-2px);
}
.roster-wing-head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 16px;
}
.roster-wing-icon {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	border-radius: var(--radius-sm);
	background: rgba(212,185,127,.08);
	border: 1px solid var(--border-strong);
	color: var(--gold);
	flex-shrink: 0;
}
.roster-wing-icon svg { width: 22px; height: 22px; }
.roster-wing-head h4 {
	font-size: 16px;
	margin: 0 0 4px;
	letter-spacing: .06em;
	color: #fff;
}
.roster-wing-head p {
	font-size: 13.5px;
	color: var(--text-2);
	margin: 0;
	line-height: 1.45;
}
.roster-wing-meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	font-size: 12.5px;
	color: var(--text-2);
}
.roster-wing-meta b { color: var(--gold); font-family: var(--font-display); }

.roster-frame-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 0 28px 28px;
	padding: 24px;
	border: 1px dashed rgba(212, 185, 127, 0.25);
	border-radius: var(--radius);
	background: rgba(0, 0, 0, 0.25);
	color: var(--text-2);
}
.roster-frame-placeholder svg { width: 32px; height: 32px; color: var(--gold); opacity: .7; flex-shrink: 0; }
.roster-frame-placeholder strong { display: block; font-family: var(--font-display); font-size: 14px; color: #fff; text-transform: uppercase; letter-spacing: .08em; }
.roster-frame-placeholder span { font-size: 13px; color: var(--muted); }

.roster-board-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 24px 28px;
	background: rgba(0, 0, 0, 0.4);
	border-top: 1px solid var(--border);
	flex-wrap: wrap;
}
.roster-board-foot-text strong {
	display: block;
	font-family: var(--font-display);
	font-size: 18px;
	color: #fff;
	margin-bottom: 4px;
}
.roster-board-foot-text p {
	font-size: 14px;
	color: var(--text-2);
	margin: 0;
}

@media (max-width: 820px) {
	.roster-structure { grid-template-columns: 1fr; }
	.roster-board-head { flex-direction: column; align-items: flex-start; }
	.roster-board-foot { flex-direction: column; align-items: stretch; text-align: center; }
	.roster-board-foot .btn { width: 100%; }
}
.roster-cta:hover .plus { transform: rotate(90deg); background: rgba(212,185,127,.1); }
.roster-cta h3 { font-size: 20px; margin: 0; }
.roster-cta p { margin: 0; font-size: 14px; color: var(--text-2); }

/* ==========================================================================
   11. Media / YouTube
   ========================================================================== */
.media-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 18px;
}
.media-side { display: grid; gap: 18px; grid-template-rows: repeat(3, 1fr); }
.yt {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: #000;
	cursor: pointer;
	padding: 0;
	color: #fff;
	text-align: left;
	font: inherit;
	isolation: isolate;
}
.media-side .yt { aspect-ratio: auto; min-height: 120px; }
.yt img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .8s var(--ease), filter .4s;
	filter: brightness(.75);
	z-index: -2;
}
.yt::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,0) 60%);
}
.yt:hover img { transform: scale(1.06); filter: brightness(.9); }
.yt:hover { border-color: var(--border-strong); }
.yt-play {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	width: 76px; height: 76px;
	border-radius: 50%;
	background: rgba(212,185,127,.92);
	color: #15110a;
	box-shadow: 0 0 0 10px rgba(212,185,127,.18);
	transition: transform .4s var(--ease), box-shadow .4s ease;
}
.yt-play svg { width: 28px; height: 28px; margin-left: 4px; }
.yt:hover .yt-play { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 16px rgba(212,185,127,.12); }
.media-side .yt-play { width: 48px; height: 48px; box-shadow: 0 0 0 6px rgba(212,185,127,.18); }
.media-side .yt-play svg { width: 18px; height: 18px; margin-left: 3px; }
.yt-caption {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 22px 24px;
}
.yt-caption strong {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(18px, 2vw, 24px);
	line-height: 1.2;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.media-side .yt-caption { padding: 12px 16px; }
.media-side .yt-caption strong { font-size: 15px; }
.yt-caption small { display: block; margin-top: 4px; font-size: 12px; color: var(--text-2); }
.yt-direct-link {
	position: absolute;
	top: 12px; right: 12px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	transition: all .25s ease;
}
.yt-direct-link:hover {
	background: var(--gold);
	color: #000;
	border-color: var(--gold);
	transform: translateY(-1px);
}
.media-side .yt-direct-link {
	font-size: 10px;
	padding: 3px 8px;
	top: 8px; right: 8px;
}
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.is-playing::after, .yt.is-playing .yt-caption, .yt.is-playing .yt-play, .yt.is-playing .yt-direct-link { display: none; }

.media-foot {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

@media (max-width: 900px) {
	.media-grid { grid-template-columns: 1fr; }
	.media-side { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
	.media-side .yt { aspect-ratio: 16/9; min-height: 0; }
	.media-side .yt-caption { display: none; }
}
@media (max-width: 560px) {
	.media-side { grid-template-columns: 1fr; }
	.media-side .yt-caption { display: block; }
}

/* ==========================================================================
   12. News (blog posts)
   ========================================================================== */
.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 18px;
}
.news-card { overflow: hidden; display: flex; flex-direction: column; color: var(--text); }
.news-card:hover { transform: translateY(-6px); color: var(--text); }
.news-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-3); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-body time { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.news-body h3 { font-size: 21px; margin: 10px 0 10px; line-height: 1.25; }
.news-body p { font-size: 14.5px; color: var(--text-2); margin: 0 0 18px; }
.news-more {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gold);
}
.news-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.news-card:hover .news-more svg { transform: translateX(5px); }

/* ==========================================================================
   13. Discord
   ========================================================================== */
.discord-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: clamp(30px, 5vw, 70px);
	align-items: center;
	padding: clamp(30px, 5vw, 64px);
	overflow: hidden;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(88,101,242,.35);
	background:
		radial-gradient(circle at 0% 0%, rgba(88,101,242,.25), transparent 50%),
		radial-gradient(circle at 100% 100%, rgba(212,185,127,.12), transparent 50%),
		linear-gradient(180deg, #111222, #0b0b10);
}
.discord-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(88,101,242,.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(88,101,242,.08) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: radial-gradient(ellipse at 20% 20%, #000, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 20% 20%, #000, transparent 70%);
	pointer-events: none;
}
.discord-panel > * { position: relative; }
.discord-panel .eyebrow { color: #9aa3ff; }
.discord-panel .eyebrow::before { background: var(--discord); }
.discord-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px 24px;
	margin: 30px 0 36px;
	padding: 0;
	list-style: none;
}
.discord-features li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px;
	color: var(--text-2);
}
.discord-features svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #9aa3ff; }
.discord-features strong { display: block; color: #fff; font-family: var(--font-display); font-size: 16px; }

.discord-widget {
	overflow: hidden;
	border-radius: var(--radius);
	background: #1e1f22;
	border: 1px solid rgba(255,255,255,.06);
	box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(88,101,242,.15);
	transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
	transition: transform .7s var(--ease);
}
.discord-widget:hover { transform: none; }
.dw-banner {
	height: 120px;
	background: linear-gradient(135deg, #2b2d31, #111) center/cover no-repeat;
}
.dw-body { position: relative; padding: 0 22px 22px; }
.dw-icon {
	width: 84px; height: 84px;
	margin-top: -42px;
	border-radius: 24px;
	border: 6px solid #1e1f22;
	background: #2b2d31;
	object-fit: cover;
}
.dw-name {
	margin: 12px 0 4px;
	font-family: var(--font-body);
	font-size: 22px;
	font-weight: 800;
	color: #fff;
	letter-spacing: 0;
}
.dw-counts {
	display: flex;
	gap: 18px;
	margin-bottom: 20px;
	font-size: 14px;
	color: #b5bac1;
}
.dw-counts span { display: inline-flex; align-items: center; gap: 7px; }
.dw-counts i {
	width: 9px; height: 9px;
	border-radius: 50%;
	background: #80848e;
	display: inline-block;
}
.dw-counts i.on { background: #23a55a; }
.dw-counts b { color: #fff; font-variant-numeric: tabular-nums; }
.dw-channels {
	margin: 0 0 20px;
	padding: 12px;
	list-style: none;
	background: #2b2d31;
	border-radius: 8px;
	font-size: 14px;
	color: #949ba4;
}
.dw-channels li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	border-radius: 4px;
}
.dw-channels li:hover { background: #35373c; color: #dbdee1; }
.dw-channels svg { width: 18px; height: 18px; flex: none; }
.dw-channels .cat {
	padding: 10px 8px 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #949ba4;
}
.dw-channels .cat:hover { background: none; color: #949ba4; }
.dw-join {
	display: flex;
	width: 100%;
	justify-content: center;
	padding: 12px;
	font-weight: 600;
	color: #fff;
	background: #248046;
	border-radius: 6px;
	transition: background .2s;
}
.dw-join:hover { background: #1a6334; color: #fff; }

@media (max-width: 900px) {
	.discord-panel { grid-template-columns: 1fr; }
	.discord-widget { transform: none; }
}
@media (max-width: 520px) {
	.discord-features { grid-template-columns: 1fr; }
}

/* ==========================================================================
   14. Join
   ========================================================================== */
.steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	counter-reset: step;
}
.steps::before {
	content: "";
	position: absolute;
	top: 44px;
	left: 16%; right: 16%;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px);
	opacity: .35;
}
.step { padding: 0 20px 30px; text-align: center; background: transparent; border: 0; }
.step-num {
	position: relative;
	display: grid;
	place-items: center;
	width: 88px; height: 88px;
	margin: 0 auto 26px;
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 700;
	color: var(--gold);
	background: var(--bg);
	border: 1px solid var(--border-strong);
	clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
	transition: all .4s var(--ease);
}
.step:hover .step-num { background: var(--gold); color: #15110a; transform: scale(1.06); }
.step h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .03em; }
.step p { max-width: 320px; margin: 0 auto; font-size: 15px; color: var(--text-2); }

.cta-band {
	position: relative;
	margin-top: clamp(50px, 7vw, 80px);
	padding: clamp(40px, 6vw, 70px);
	overflow: hidden;
	text-align: center;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border-strong);
	background:
		radial-gradient(circle at 50% 120%, rgba(212,185,127,.3), transparent 60%),
		linear-gradient(180deg, #121215, #0a0a0c);
	isolation: isolate;
}
.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: url("assets/img/hero.jpg") center/cover;
	opacity: .12;
	filter: grayscale(1);
}
.cta-band img.cta-logo {
	width: 72px;
	margin: 0 auto 24px;
	filter: drop-shadow(0 0 24px rgba(212,185,127,.45));
}
.cta-band h2 {
	font-size: clamp(32px, 5vw, 60px);
	text-transform: uppercase;
	margin-bottom: 14px;
}
.cta-band p { max-width: 560px; margin: 0 auto 32px; color: var(--text-2); font-size: 17px; }
.cta-band .hero-actions { justify-content: center; }

@media (max-width: 820px) {
	.steps { grid-template-columns: 1fr; gap: 10px; }
	.steps::before { display: none; }
}

/* ==========================================================================
   15. Footer
   ========================================================================== */
.site-footer {
	position: relative;
	margin-top: clamp(40px, 6vw, 80px);
	padding-top: 70px;
	border-top: 1px solid var(--border);
	background: linear-gradient(180deg, var(--bg-2), #050506);
}
.site-footer::before {
	content: "";
	position: absolute;
	top: -1px; left: 50%;
	width: 240px; height: 2px;
	transform: translateX(-50%);
	background: var(--gold-grad);
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 50px;
}
.footer-about p { max-width: 360px; margin-top: 18px; font-size: 14.5px; color: var(--text-2); }
.footer-col h4 {
	font-size: 13px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-2); font-size: 15px; }
.footer-col a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.social {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	color: var(--text-2);
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	transition: all .3s var(--ease);
}
.social svg { width: 20px; height: 20px; }
.social:hover { transform: translateY(-3px); color: #fff; }
.social--discord:hover { background: var(--discord); border-color: var(--discord); }
.social--youtube:hover { background: #ff0033; border-color: #ff0033; }
.social--steam:hover { background: #1b2838; border-color: #66c0f4; }
.social--instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); border-color: transparent; }
.social--twitch:hover { background: #9146ff; border-color: #9146ff; }
.social--tiktok:hover { background: #000; border-color: #fff; }
.social--x:hover { background: #000; border-color: #fff; }

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 0;
	font-size: 13px;
	color: var(--muted);
	border-top: 1px solid var(--border);
}
.footer-watermark {
	overflow: hidden;
	font-family: var(--font-display);
	font-size: clamp(60px, 15vw, 220px);
	font-weight: 700;
	line-height: .8;
	text-align: center;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1px rgba(212,185,127,.1);
	user-select: none;
	margin-bottom: -0.12em;
}

.to-top {
	position: fixed;
	right: 22px; bottom: 22px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 48px; height: 48px;
	color: #15110a;
	background: var(--gold-grad);
	border: 0;
	cursor: pointer;
	clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none;
	transition: all .4s var(--ease);
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

@media (max-width: 820px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-about { grid-column: span 2; }
}

/* ==========================================================================
   16. Inner pages (page.php, single.php, index.php)
   ========================================================================== */
.page-hero {
	position: relative;
	padding: calc(var(--header-h) + 80px) 0 70px;
	overflow: hidden;
	border-bottom: 1px solid var(--border);
	background:
		radial-gradient(ellipse at 50% 0%, rgba(212,185,127,.14), transparent 60%),
		linear-gradient(180deg, #0f0f12, var(--bg));
}
.page-hero h1 {
	font-size: clamp(36px, 6vw, 72px);
	text-transform: uppercase;
	margin: 0;
}
.page-hero .meta { margin-top: 16px; color: var(--muted); font-size: 14px; }
.breadcrumb { margin-bottom: 18px; font-size: 13px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.breadcrumb a { color: var(--gold); }

.entry {
	max-width: 780px;
	margin-inline: auto;
	padding-block: 70px 40px;
	font-size: 18px;
	color: var(--text-2);
}
.entry > * + * { margin-top: 1.2em; }
.entry h2, .entry h3, .entry h4 { margin-top: 1.8em; color: #fff; }
.entry h2 { font-size: 34px; }
.entry h3 { font-size: 26px; }
.entry a { text-decoration: underline; text-underline-offset: 3px; }
.entry img, .entry figure { border-radius: var(--radius); }
.entry figure { margin-inline: 0; }
.entry blockquote {
	margin: 1.6em 0;
	padding: 20px 26px;
	border-left: 3px solid var(--gold);
	background: rgba(212,185,127,.06);
	color: #fff;
	font-family: var(--font-display);
	font-size: 21px;
}
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li::marker { color: var(--gold); }
.entry code { padding: 2px 6px; background: var(--surface-2); border-radius: 4px; font-size: .9em; }
.entry pre { padding: 20px; background: #0f0f12; border: 1px solid var(--border); border-radius: var(--radius); overflow: auto; }
.entry hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; }
.entry .wp-block-button__link {
	display: inline-flex;
	padding: 14px 26px;
	color: #15110a;
	background: var(--gold-grad);
	border-radius: 0;
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-inline: auto; }

.posts-wrap { padding-block: 70px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	color: var(--text-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-family: var(--font-display); font-weight: 600;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { color: #15110a; background: var(--gold); border-color: var(--gold); }

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	max-width: 780px;
	margin: 0 auto 70px;
	padding-top: 30px;
	border-top: 1px solid var(--border);
}

.error-404 {
	min-height: 80vh;
	display: grid;
	place-items: center;
	text-align: center;
	padding: calc(var(--header-h) + 40px) 20px 60px;
}
.error-404 .code {
	font-family: var(--font-display);
	font-size: clamp(120px, 25vw, 260px);
	font-weight: 700;
	line-height: .9;
}
.error-404 p { color: var(--text-2); margin-bottom: 30px; }

/* Comments */
.comments-area { max-width: 780px; margin: 0 auto 80px; }
.comments-area .comment-list { list-style: none; padding: 0; }
.comments-area .comment-body { padding: 20px; margin-bottom: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.comments-area input[type="text"], .comments-area input[type="email"], .comments-area input[type="url"], .comments-area textarea {
	width: 100%; padding: 12px 14px; color: var(--text); background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit;
}
.comments-area input[type="submit"] {
	padding: 14px 26px; border: 0; cursor: pointer; color: #15110a; background: var(--gold-grad);
	font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
