/* ==========================================================================
   Aurora Quantum — modern fantasy theme for Znote AAC
   Loaded after style.css / resp.css, only overrides the visual layer.
   ========================================================================== */

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

:root {
	--primary: rgba(20, 24, 36, .86);
	--secondary: rgba(12, 15, 24, .78);
	--third: #d9c08a;
	--border: rgba(212, 175, 55, .22);
	--font-color: #c9c3b4;
	--anchor: #e0b968;
	--anchor-hover: #ffe6a3;

	--gold: #d4af37;
	--gold-light: #f6e7bd;
	--gold-dark: #8a6420;
	--panel: linear-gradient(160deg, rgba(22, 26, 40, .88), rgba(9, 12, 20, .92));
	--shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

html { scroll-behavior: smooth; }

body {
	font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
	color: var(--font-color);
	background:
		linear-gradient(rgba(5, 7, 12, .80), rgba(5, 7, 12, .93)),
		url('../img/mainbg.jpg') center / cover fixed no-repeat;
	background-color: #06080d;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

/* Ambient gold / blue light and a vignette over the background */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 18% 8%, rgba(212, 175, 55, .12), transparent 42%),
		radial-gradient(circle at 82% 0%, rgba(86, 132, 196, .14), transparent 40%),
		radial-gradient(circle at 50% 100%, rgba(0, 0, 0, .85), transparent 65%);
}

.main {
	width: min(1240px, 94vw);
	margin: 2.4rem auto;
	position: relative;
	z-index: 1;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
nav {
	position: sticky;
	top: 12px;
	z-index: 100;
	margin: 0 0 28px;
	border: 1px solid var(--border) !important;
	border-radius: 16px;
	background: rgba(8, 10, 17, .86) !important;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .05);
}

nav .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	background: transparent !important;
	border: 0 !important;
	padding: 0 6px;
	overflow: visible;
}

nav .container > .pull-left,
nav .container > .pull-right { float: none; }

nav .container > div > ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

nav .container > div > ul > li { position: relative; }

nav .container > div > ul > li > a {
	padding: 16px 18px;
	font-size: .80rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #cbb98a;
}

nav .container > div > ul > li > a:hover {
	color: var(--gold-light);
	text-shadow: 0 0 18px rgba(212, 175, 55, .45);
}

nav .container > div > ul > li > ul {
	top: 100%;
	left: 0;
	min-width: 220px;
	display: none;
	background: rgba(9, 11, 19, .98) !important;
	border: 1px solid var(--border) !important;
	border-radius: 12px;
	padding: 8px 0;
	margin-top: 2px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .65);
}

nav .container > div > ul > li:hover > ul {
	display: block;
}

nav .container > div > ul > li > ul > li > a {
	padding: 10px 20px;
	font-size: .85rem;
	letter-spacing: .02em;
	text-transform: none;
	color: #bdb39d;
}

nav .container > div > ul > li > ul > li > a:hover {
	background: rgba(212, 175, 55, .10) !important;
	color: var(--gold-light);
}

/* Client Download as a call-to-action button */
nav a[href="/downloads/aurora.zip"] {
	display: inline-block;
	margin: 8px 8px 8px 0;
	padding: 11px 18px !important;
	border-radius: 10px;
	background: linear-gradient(135deg, #f0d27d, #c79a35) !important;
	color: #171006 !important;
	font-weight: 700;
	letter-spacing: .06em;
	box-shadow: 0 0 24px rgba(212, 175, 55, .28);
}

nav a[href="/downloads/aurora.zip"]:hover {
	filter: brightness(1.08);
	box-shadow: 0 0 32px rgba(212, 175, 55, .48);
}

/* --------------------------------------------------------------------------
   Hero banner
   -------------------------------------------------------------------------- */
.banner {
	position: relative;
	height: 340px;
	margin: 0 0 28px !important;
	padding: 0 !important;
	border: 1px solid var(--border) !important;
	border-radius: 20px;
	overflow: hidden;
	background: url('../img/header.png') center / cover no-repeat !important;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(5, 7, 13, .92) 0%, rgba(5, 7, 13, .45) 48%, rgba(5, 7, 13, .78) 100%),
		linear-gradient(0deg, rgba(5, 7, 13, .92), transparent 55%);
}

.banner-content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 14px;
	padding: 0 clamp(24px, 6vw, 72px);
}

.banner-kicker {
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .38em;
	text-transform: uppercase;
	color: #d9c28a;
}

.banner-content h1 {
	margin: 0;
	font-family: 'Cinzel', Georgia, serif;
	font-size: clamp(2.4rem, 5.4vw, 4.6rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gold-light);
	text-shadow: 0 0 38px rgba(212, 175, 55, .35), 0 6px 24px rgba(0, 0, 0, .85);
}

.banner-content p {
	margin: 0;
	max-width: 520px;
	font-size: 1rem;
	color: #c6bda8;
}

.banner-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	padding: 12px 22px;
	border-radius: 10px;
	background: linear-gradient(135deg, #f0d27d, #c79a35);
	color: #171006 !important;
	font-weight: 700;
	letter-spacing: .05em;
	box-shadow: 0 0 28px rgba(212, 175, 55, .30);
}

.banner-cta:hover {
	filter: brightness(1.07);
	box-shadow: 0 0 38px rgba(212, 175, 55, .50);
}

/* --------------------------------------------------------------------------
   Panels, widgets and content
   -------------------------------------------------------------------------- */
.well { border-radius: 16px; }

.feedContainer {
	background: rgba(8, 11, 18, .74) !important;
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 18px !important;
	box-shadow: var(--shadow);
}

.leftPane,
.rightPane {
	background: transparent !important;
}

.rightPane .well,
.postHolder .well,
footer.well {
	background: var(--panel) !important;
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .30);
}

.rightPane .well { margin-bottom: 18px; }

.postHolder { margin-bottom: 18px; }

.postHolder .well {
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.postHolder .well:hover {
	transform: translateY(-2px);
	border-color: rgba(212, 175, 55, .45);
	box-shadow: 0 18px 46px rgba(0, 0, 0, .40);
}

/* Section headings */
.header {
	margin: 0 0 12px;
	padding-bottom: 10px !important;
	font-family: 'Cinzel', Georgia, serif;
	font-size: 1.02rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	background: linear-gradient(90deg, #f6e7bd, #d4af37 55%, #f6e7bd);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	border-bottom: 1px solid rgba(212, 175, 55, .18);
}

h1,
h2,
h3,
h4 {
	font-family: 'Cinzel', Georgia, serif;
	font-weight: 600;
	letter-spacing: .02em;
	color: #f2dfae;
}

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
table {
	border-collapse: separate;
	border-spacing: 0;
	background: rgba(9, 12, 19, .58) !important;
	border: 1px solid rgba(212, 175, 55, .14);
	border-radius: 12px;
	overflow: hidden;
}

th {
	padding: 12px 10px;
	font-family: 'Cinzel', Georgia, serif;
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: #e8d5a2;
	background: rgba(212, 175, 55, .08);
}

td {
	padding: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, .045);
}

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

tr:nth-child(2n+1) { background: rgba(255, 255, 255, .025) !important; }

tr:hover td { background: rgba(212, 175, 55, .05); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
input,
select,
textarea,
.searchForm input {
	height: auto;
	min-height: 40px;
	padding: 10px 12px;
	background: rgba(5, 8, 14, .86) !important;
	border: 1px solid rgba(212, 175, 55, .22) !important;
	border-radius: 10px !important;
	color: #e9e4d6 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: rgba(212, 175, 55, .65) !important;
	box-shadow: 0 0 0 3px rgba(212, 175, 55, .14), inset 0 1px 0 rgba(255, 255, 255, .04);
}

input[type="submit"],
button {
	padding: 10px 18px;
	background: linear-gradient(135deg, #f0d27d, #c79a35) !important;
	border: 0 !important;
	border-radius: 10px !important;
	color: #171006 !important;
	font-weight: 700;
	letter-spacing: .04em;
}

input[type="submit"]:hover,
button:hover {
	filter: brightness(1.08);
	box-shadow: 0 0 24px rgba(212, 175, 55, .35);
}

/* --------------------------------------------------------------------------
   Footer, alerts and small details
   -------------------------------------------------------------------------- */
footer.well {
	padding: 16px 20px !important;
	background: rgba(7, 9, 15, .82) !important;
	color: #9a927f;
	font-size: .82rem;
}

footer a { color: #d9c18a; }

.alert-box { border-radius: 12px; }

.smedia a { color: var(--gold); }

::selection {
	background: rgba(212, 175, 55, .35);
	color: #fff;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #080b12; }
::-webkit-scrollbar-thumb {
	background: linear-gradient(#b8862e, #6d4d14);
	border-radius: 10px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
	.main { width: 95vw; }

	.leftPane,
	.rightPane {
		width: 100% !important;
		float: none !important;
	}

	.rightPane { margin-top: 18px; }

	.banner { height: 260px; }
}

@media (max-width: 760px) {
	nav {
		position: static;
		top: auto;
	}

	nav .container {
		justify-content: center;
	}

	nav .container > div > ul { justify-content: center; }

	nav .container > div > ul > li > a {
		padding: 12px 10px;
		font-size: .72rem;
		letter-spacing: .04em;
	}

	.banner { height: 220px; }

	.banner-kicker { letter-spacing: .24em; }

	.banner-content h1 { font-size: 2rem; }

	.banner-content p { font-size: .85rem; }

	.feedContainer { padding: 12px !important; }
}
