@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Cinzel:wght@600;700&display=swap');

:root {
	--background: #07090b;
	--surface: rgba(17, 21, 26, 0.94);
	--surface-soft: rgba(17, 21, 26, 0.82);
	--surface-dark: rgba(6, 8, 10, 0.92);
	--border: rgba(255, 255, 255, 0.10);
	--border-strong: rgba(221, 177, 73, 0.30);
	--text: #f4f4f2;
	--muted: #9ea5af;
	--gold: #dfb64f;
	--gold-light: #f0cc72;
	--green: #26c96f;
	--danger: #ef5c5c;
	--shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
	--radius: 16px;
}

* {
	box-sizing: border-box;
}

html {
	background: var(--background);
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: 'Inter', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text);
	background:
		linear-gradient(rgba(7, 9, 11, 0.92), rgba(7, 9, 11, 0.98)),
		url("../img/demon-helmet-bg.jpg") center top / cover fixed no-repeat;
}

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

a:hover {
	color: #fff;
}

img {
	max-width: 100%;
	height: auto;
}

.site-shell {
	min-height: 100vh;
}

/* NAVIGATION */
.site-nav {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(5, 7, 9, 0.90);
	border-bottom: 1px solid var(--border);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.nav-inner {
	width: min(1220px, calc(100% - 40px));
	min-height: 76px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 42px;
}

.brand {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	letter-spacing: .16em;
	color: #fff;
	font-weight: 700;
	white-space: nowrap;
}

.brand strong {
	color: var(--gold);
}

.site-navigation {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.nav-links,
.nav-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-links a,
.nav-login {
	display: block;
	padding: 12px 14px;
	color: var(--muted);
	font-weight: 500;
}

.nav-links a:hover,
.nav-login:hover {
	color: #fff;
}

.nav-register {
	padding: 12px 19px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--gold-light), var(--gold));
	color: #0b0b0b;
	font-weight: 700;
	box-shadow: 0 10px 28px rgba(223, 182, 79, .16);
}

.nav-register:hover {
	color: #000;
	transform: translateY(-1px);
}

.menu-toggle {
	display: none;
	margin-left: auto;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: 9px;
	color: #fff;
	background: transparent;
	cursor: pointer;
}

/* HOME HERO */
.hero {
	position: relative;
	min-height: 660px;
	display: flex;
	align-items: center;
	background: url("../img/demon-helmet-bg.jpg") center center / cover no-repeat;
	border-bottom: 1px solid var(--border);
	overflow: hidden;
}

.hero-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(4, 5, 6, .97) 0%, rgba(4, 5, 6, .76) 42%, rgba(4, 5, 6, .34) 72%, rgba(4, 5, 6, .74) 100%),
		linear-gradient(0deg, rgba(7, 9, 11, .96) 0%, transparent 40%, rgba(0, 0, 0, .22) 100%);
}

.hero-content {
	position: relative;
	z-index: 2;
	width: min(1220px, calc(100% - 40px));
	margin: 0 auto;
	padding: 80px 0 100px;
}

.hero-kicker {
	margin: 0 0 15px;
	color: var(--gold-light);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .23em;
	text-transform: uppercase;
}

.hero h1 {
	margin: 0;
	font-family: 'Cinzel', Georgia, serif;
	font-size: clamp(58px, 8vw, 104px);
	line-height: .95;
	letter-spacing: .02em;
	color: #fff;
	text-shadow: 0 8px 30px rgba(0, 0, 0, .8);
}

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

.hero-description {
	max-width: 560px;
	margin: 24px 0 30px;
	color: #c9cdd2;
	font-size: 17px;
}

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

.button {
	min-width: 230px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 22px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
}

.button-primary {
	color: #080808;
	background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.button-primary:hover {
	color: #000;
	transform: translateY(-2px);
}

.button-secondary {
	color: #fff;
	background: rgba(7, 9, 11, .78);
	border: 1px solid rgba(255, 255, 255, .16);
	backdrop-filter: blur(10px);
}

.button-secondary:hover {
	border-color: var(--gold);
}

.hero-status {
	margin-top: 24px;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #d8dde2;
	font-weight: 600;
}

.status-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 16px rgba(38, 201, 111, .8);
}

/* INNER PAGE BANNER */
.page-banner {
	min-height: 185px;
	display: flex;
	align-items: end;
	background:
		linear-gradient(90deg, rgba(5, 7, 9, .92), rgba(5, 7, 9, .45), rgba(5, 7, 9, .90)),
		url("../img/demon-helmet-bg.jpg") center 46% / cover no-repeat;
	border-bottom: 1px solid var(--border);
}

.page-banner > div {
	width: min(1220px, calc(100% - 40px));
	margin: 0 auto;
	padding: 44px 0;
	display: flex;
	flex-direction: column;
}

.page-banner strong {
	font-family: 'Cinzel', Georgia, serif;
	font-size: 32px;
}

.page-banner span {
	color: var(--muted);
}

/* MAIN LAYOUT */
.content-wrap {
	width: min(1220px, calc(100% - 40px));
	margin: -52px auto 0;
	position: relative;
	z-index: 5;
	padding-bottom: 70px;
}

body:not(.is-home) .content-wrap {
	margin-top: 28px;
}

.feedContainer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 20px;
	background: transparent;
	border: 0;
	box-shadow: none;
	margin: 0;
	padding: 0;
}

.leftPane,
.rightPane {
	width: auto !important;
	float: none !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
}

.leftPane > *,
.rightPane > *,
.well,
.topPane {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.leftPane > * {
	margin-bottom: 18px;
}

.rightPane > * {
	margin-bottom: 16px;
}

.well {
	padding: 0;
}

.topPane {
	padding: 18px;
	margin-bottom: 18px;
}

/* PANELS */
.header,
.well .header,
thead,
table thead {
	background: rgba(255, 255, 255, .025);
	color: #fff;
	border-bottom: 1px solid var(--border);
}

.header {
	padding: 16px 18px;
	font-size: 14px;
	font-weight: 700;
}

.body {
	padding: 18px;
	max-height: none;
	overflow: visible;
}

h1, h2, h3, h4 {
	color: #fff;
	line-height: 1.25;
}

h1 {
	font-size: 26px;
}

h2 {
	font-size: 21px;
}

h3 {
	font-size: 17px;
}

/* TABLES */
table {
	width: 100%;
	border-collapse: collapse;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

th,
td {
	padding: 13px 14px;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

th {
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}

tr:last-child td {
	border-bottom: 0;
}

tr:hover td {
	background: rgba(255, 255, 255, .018);
}

.yellow,
tr.yellow {
	color: #fff;
	background: rgba(255, 255, 255, .025);
}

/* FORMS */
input,
select,
textarea,
button {
	font: inherit;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea {
	width: 100%;
	padding: 12px 13px;
	color: #fff;
	background: rgba(5, 7, 9, .78);
	border: 1px solid var(--border);
	border-radius: 9px;
	outline: none;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(223, 182, 79, .10);
}

button,
input[type="submit"],
input[type="button"],
.btn {
	padding: 11px 16px;
	border: 0;
	border-radius: 9px;
	color: #0a0a0a;
	background: linear-gradient(135deg, var(--gold-light), var(--gold));
	font-weight: 700;
	cursor: pointer;
	box-shadow: none;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:hover {
	filter: brightness(1.06);
}

/* LINK BUTTONS */
ul.linkbuttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}

ul.linkbuttons li {
	width: auto;
	float: none;
	margin: 0;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: rgba(255, 255, 255, .025);
	box-shadow: none;
}

ul.linkbuttons li a {
	display: block;
	padding: 13px;
	text-align: center;
	color: #fff;
}

ul.linkbuttons li:hover {
	border-color: var(--border-strong);
}

/* STATUS AND ALERTS */
.status_online,
.online {
	color: var(--green);
}

.status_offline,
.offline {
	color: var(--muted);
}

.alert-box {
	padding: 14px;
	margin-bottom: 14px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--surface);
	text-align: center;
}

.alert-danger {
	color: var(--danger);
	border-color: rgba(239, 92, 92, .4);
}

/* FOOTER */
.site-footer {
	border-top: 1px solid var(--border);
	background: rgba(5, 7, 9, .92);
}

.footer-inner {
	width: min(1220px, calc(100% - 40px));
	min-height: 92px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	color: var(--muted);
}

.footer-inner > div:first-child {
	display: flex;
	gap: 12px;
	align-items: center;
}

.footer-inner strong {
	color: #fff;
}

.footer-links {
	display: flex;
	gap: 20px;
}

.footer-links a {
	color: var(--muted);
}

.footer-links a:hover {
	color: #fff;
}

/* LEGACY FLOAT HELPERS */
.pull-left {
	float: none;
}

.pull-right {
	float: none;
}

.preventCollapse::after {
	content: "";
	display: table;
	clear: both;
}

/* SCROLLBAR */
::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-thumb {
	background: #343940;
	border-radius: 10px;
}

::-webkit-scrollbar-track {
	background: #090b0e;
}

/* MOBILE */
@media (max-width: 900px) {
	.nav-inner {
		min-height: 68px;
		flex-wrap: wrap;
		gap: 0;
	}

	.menu-toggle {
		display: block;
	}

	.site-navigation {
		display: none;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		padding: 10px 0 18px;
	}

	.site-navigation.is-open {
		display: flex;
	}

	.nav-links,
	.nav-actions {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}

	.nav-links a,
	.nav-login,
	.nav-register {
		text-align: center;
	}

	.feedContainer {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: 600px;
	}

	.hero-shade {
		background: linear-gradient(90deg, rgba(4, 5, 6, .93), rgba(4, 5, 6, .68));
	}

	.content-wrap {
		margin-top: -32px;
	}

	.footer-inner {
		padding: 25px 0;
		flex-direction: column;
		text-align: center;
	}

	.footer-inner > div:first-child,
	.footer-links {
		flex-direction: column;
		gap: 8px;
	}
}

@media (max-width: 560px) {
	.nav-inner,
	.hero-content,
	.content-wrap,
	.footer-inner,
	.page-banner > div {
		width: min(100% - 24px, 1220px);
	}

	.hero {
		min-height: 560px;
	}

	.hero h1 {
		font-size: 52px;
	}

	.hero-actions {
		flex-direction: column;
	}

	.button {
		width: 100%;
		min-width: 0;
	}

	ul.linkbuttons {
		grid-template-columns: 1fr;
	}

	th,
	td {
		padding: 11px 10px;
		font-size: 12px;
	}
}
