/*
 * Urian Society — "Aurora" Edition
 * A premium dark community portal. Hand-crafted design system. No frameworks.
 */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
	/* Surfaces */
	--bg: #07070c;
	--bg-2: #0c0c15;
	--surface: rgba(255, 255, 255, 0.025);
	--surface-2: rgba(255, 255, 255, 0.045);
	--surface-3: rgba(255, 255, 255, 0.07);
	--border: rgba(255, 255, 255, 0.08);
	--border-strong: rgba(255, 255, 255, 0.15);

	/* Ink */
	--text: #f5f4ff;
	--muted: #a6a3c4;
	--faint: #6f6c8f;

	/* Accents */
	--violet: #7c5cff;
	--indigo: #5b74ff;
	--cyan: #28e0d8;
	--pink: #f471b5;
	--amber: #fbbf24;
	--brand: #8b7bff;

	/* Gradients */
	--grad: linear-gradient(135deg, #7c5cff 0%, #28e0d8 100%);
	--grad-soft: linear-gradient(135deg, #5b74ff 0%, #b06bff 100%);
	--grad-text: linear-gradient(110deg, #c4b5fd 0%, #67e8f9 50%, #f0abfc 100%);
	--grad-pink: linear-gradient(135deg, #b06bff 0%, #f471b5 100%);

	/* Typography */
	--font-display: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, sans-serif;

	/* Radius */
	--r-xs: 10px;
	--r-sm: 14px;
	--r: 20px;
	--r-lg: 28px;
	--r-xl: 36px;
	--r-full: 999px;

	/* Shadow */
	--shadow-1: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
	--shadow-2: 0 30px 70px -20px rgba(0, 0, 0, 0.65);
	--glow-violet: 0 0 0 1px rgba(124, 92, 255, 0.4), 0 18px 50px -12px rgba(124, 92, 255, 0.55);

	/* Motion */
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--t-fast: 0.2s;
	--t: 0.35s;
	--t-slow: 0.6s;

	/* Layout */
	--container: 1200px;
	--header-h: 76px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

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

body {
	font-family: var(--font-body);
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	font-size: 1rem;
	letter-spacing: 0.01em;
	overflow-x: hidden;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
}

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
	color: inherit;
}

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

::selection {
	background: rgba(124, 92, 255, 0.4);
	color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
	width: 11px;
}
::-webkit-scrollbar-track {
	background: var(--bg);
}
::-webkit-scrollbar-thumb {
	background: linear-gradient(var(--violet), var(--cyan));
	border-radius: 10px;
	border: 3px solid var(--bg);
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--brand);
	padding: 0.45rem 0.95rem;
	border: 1px solid var(--border-strong);
	border-radius: var(--r-full);
	background: var(--surface-2);
	backdrop-filter: blur(10px);
}

.text-gradient {
	background: var(--grad-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	background-size: 200% auto;
	animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
	to {
		background-position: 200% center;
	}
}

.section-title {
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	letter-spacing: -0.03em;
}

.section-lead {
	color: var(--muted);
	font-size: clamp(1rem, 1.6vw, 1.18rem);
	max-width: 56ch;
	margin-top: 1rem;
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

section {
	position: relative;
	padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-head {
	max-width: 720px;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head.center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.section-head.center .section-lead {
	margin-left: auto;
	margin-right: auto;
}

/* ============================================================
   5. BACKGROUND FX
   ============================================================ */
.bg-fx {
	position: fixed;
	inset: 0;
	z-index: -2;
	overflow: hidden;
	pointer-events: none;
}

.aurora {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.55;
	will-change: transform;
}

.aurora.a1 {
	width: 50vw;
	height: 50vw;
	top: -12%;
	left: -8%;
	background: radial-gradient(circle, rgba(124, 92, 255, 0.55), transparent 65%);
	animation: drift1 22s var(--ease) infinite alternate;
}

.aurora.a2 {
	width: 42vw;
	height: 42vw;
	top: 8%;
	right: -10%;
	background: radial-gradient(circle, rgba(40, 224, 216, 0.4), transparent 65%);
	animation: drift2 26s var(--ease) infinite alternate;
}

.aurora.a3 {
	width: 46vw;
	height: 46vw;
	bottom: -18%;
	left: 28%;
	background: radial-gradient(circle, rgba(244, 113, 181, 0.32), transparent 65%);
	animation: drift3 30s var(--ease) infinite alternate;
}

@keyframes drift1 {
	to {
		transform: translate(12%, 18%) scale(1.15);
	}
}
@keyframes drift2 {
	to {
		transform: translate(-14%, 22%) scale(1.1);
	}
}
@keyframes drift3 {
	to {
		transform: translate(10%, -16%) scale(1.2);
	}
}

/* Fine grid overlay */
.bg-grid {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
	-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}

/* Cursor glow (desktop only, positioned by JS) */
.cursor-glow {
	position: fixed;
	top: 0;
	left: 0;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	pointer-events: none;
	z-index: 1;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(124, 92, 255, 0.13), transparent 60%);
	mix-blend-mode: screen;
	opacity: 0;
	transition: opacity 0.4s ease;
}

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.98rem;
	padding: 0.95rem 1.7rem;
	border-radius: var(--r-full);
	transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
		background var(--t) var(--ease);
	white-space: nowrap;
	cursor: pointer;
	will-change: transform;
}

.btn i {
	font-size: 1.05em;
}

.btn-primary {
	color: #0a0a14;
	background: var(--grad);
	box-shadow: var(--glow-violet);
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.5), 0 26px 60px -14px rgba(124, 92, 255, 0.7);
}

.btn-ghost {
	color: var(--text);
	background: var(--surface-2);
	border: 1px solid var(--border-strong);
	backdrop-filter: blur(12px);
}

.btn-ghost:hover {
	transform: translateY(-3px);
	background: var(--surface-3);
	border-color: rgba(255, 255, 255, 0.28);
}

.btn-lg {
	padding: 1.1rem 2.2rem;
	font-size: 1.05rem;
}

.btn-block {
	width: 100%;
}

.btn-discord {
	background: #5865f2;
	color: #fff;
	box-shadow: 0 18px 50px -14px rgba(88, 101, 242, 0.8);
}

.btn-discord:hover {
	transform: translateY(-3px);
	background: #6b77f5;
}

/* ============================================================
   7. HEADER / NAV
   ============================================================ */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--header-h);
	display: flex;
	align-items: center;
	transition: transform var(--t) var(--ease), background var(--t) var(--ease),
		border-color var(--t) var(--ease);
	border-bottom: 1px solid transparent;
}

.site-header.scrolled {
	background: rgba(8, 8, 14, 0.7);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	border-bottom-color: var(--border);
}

.site-header.hidden {
	transform: translateY(-100%);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: -0.02em;
	transition: transform var(--t) var(--ease);
}

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

.brand img {
	height: 40px;
	width: 40px;
	border-radius: 11px;
	object-fit: cover;
	box-shadow: 0 0 0 1px var(--border-strong), 0 6px 20px -6px rgba(124, 92, 255, 0.6);
}

.brand .brand-text {
	background: linear-gradient(120deg, #fff, #c9c4ff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.nav-desktop {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	background: var(--surface);
	border: 1px solid var(--border);
	padding: 0.35rem;
	border-radius: var(--r-full);
	backdrop-filter: blur(12px);
}

.nav-desktop a {
	position: relative;
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--muted);
	padding: 0.55rem 1.1rem;
	border-radius: var(--r-full);
	transition: color var(--t) var(--ease), background var(--t) var(--ease);
}

.nav-desktop a:hover {
	color: var(--text);
}

.nav-desktop a.active {
	color: var(--text);
	background: var(--surface-3);
	box-shadow: inset 0 0 0 1px var(--border-strong);
}

.header-cta {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.header-cta .btn {
	padding: 0.7rem 1.4rem;
	font-size: 0.92rem;
}

/* Hamburger */
.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	border: 1px solid var(--border-strong);
	background: var(--surface-2);
	position: relative;
	z-index: 1200;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	transition: background var(--t) var(--ease);
}

.nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--text);
	transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}

.nav-toggle.active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
	opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay nav */
.nav-mobile {
	position: fixed;
	inset: 0;
	z-index: 1100;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	background: radial-gradient(circle at 50% 12%, rgba(124, 92, 255, 0.18), transparent 60%),
		rgba(7, 7, 12, 0.96);
	backdrop-filter: blur(20px);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--t-slow) var(--ease-out), visibility var(--t-slow);
}

.nav-mobile.open {
	opacity: 1;
	visibility: visible;
}

.nav-mobile a {
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 9vw, 3.4rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.32);
	padding: 0.4rem 1rem;
	transform: translateY(28px);
	opacity: 0;
	transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out),
		color var(--t), -webkit-text-stroke var(--t);
}

.nav-mobile.open a {
	transform: translateY(0);
	opacity: 1;
}

.nav-mobile.open a:nth-child(1) {
	transition-delay: 0.08s;
}
.nav-mobile.open a:nth-child(2) {
	transition-delay: 0.14s;
}
.nav-mobile.open a:nth-child(3) {
	transition-delay: 0.2s;
}
.nav-mobile.open a:nth-child(4) {
	transition-delay: 0.26s;
}

.nav-mobile a:hover,
.nav-mobile a.active {
	color: #fff;
	-webkit-text-stroke: 0 transparent;
	text-shadow: 0 0 40px rgba(124, 92, 255, 0.7);
}

.nav-mobile .mobile-join {
	margin-top: 1.5rem;
	-webkit-text-stroke: 0;
	font-size: 1rem;
}

/* ============================================================
   8. HERO
   ============================================================ */
.hero {
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding-top: calc(var(--header-h) + 2rem);
	padding-bottom: 3rem;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
	width: 100%;
}

.badge-live {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--text);
	padding: 0.5rem 1rem 0.5rem 0.85rem;
	border: 1px solid var(--border-strong);
	border-radius: var(--r-full);
	background: var(--surface-2);
	backdrop-filter: blur(10px);
}

.pulse {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--cyan);
	box-shadow: 0 0 0 0 rgba(40, 224, 216, 0.7);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(40, 224, 216, 0.6);
	}
	70% {
		box-shadow: 0 0 0 12px rgba(40, 224, 216, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(40, 224, 216, 0);
	}
}

.hero-title {
	font-size: clamp(2.8rem, 7vw, 5.4rem);
	margin: 1.5rem 0 1.25rem;
	letter-spacing: -0.04em;
}

.hero-sub {
	font-size: clamp(1.05rem, 1.8vw, 1.3rem);
	color: var(--muted);
	max-width: 46ch;
	margin-bottom: 2.25rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.hero-trust {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	color: var(--faint);
	font-size: 0.9rem;
}

.hero-trust .avatars {
	display: flex;
}

.hero-trust .avatars span {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 2px solid var(--bg);
	margin-left: -10px;
	display: grid;
	place-items: center;
	font-size: 0.85rem;
	color: #fff;
	font-weight: 600;
}
.hero-trust .avatars span:first-child {
	margin-left: 0;
}
.hero-trust .avatars span:nth-child(1) {
	background: var(--grad);
}
.hero-trust .avatars span:nth-child(2) {
	background: var(--grad-pink);
}
.hero-trust .avatars span:nth-child(3) {
	background: linear-gradient(135deg, var(--cyan), var(--indigo));
}
.hero-trust .avatars span:nth-child(4) {
	background: linear-gradient(135deg, var(--amber), var(--pink));
	font-size: 0.75rem;
}

/* Hero visual — orbital portal */
.hero-visual {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
}

.portal-ring {
	position: absolute;
	inset: 4%;
	border-radius: 50%;
	background: conic-gradient(
		from 0deg,
		rgba(124, 92, 255, 0.7),
		rgba(40, 224, 216, 0.6),
		rgba(244, 113, 181, 0.6),
		rgba(124, 92, 255, 0.7)
	);
	filter: blur(2px);
	opacity: 0.55;
	mask: radial-gradient(circle, transparent 60%, #000 61%, #000 64%, transparent 65%);
	-webkit-mask: radial-gradient(circle, transparent 60%, #000 61%, #000 64%, transparent 65%);
	animation: spin 18s linear infinite;
}

.portal-ring.r2 {
	inset: 14%;
	animation-duration: 26s;
	animation-direction: reverse;
	opacity: 0.4;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.portal-card {
	position: relative;
	width: 76%;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--border-strong), var(--shadow-2),
		0 0 80px -10px rgba(124, 92, 255, 0.6);
	border: 1px solid var(--border-strong);
}

.portal-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.05);
	animation: slowzoom 16s ease-in-out infinite alternate;
}

@keyframes slowzoom {
	to {
		transform: scale(1.16);
	}
}

.float-chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.7rem 1.1rem;
	border-radius: var(--r-full);
	background: rgba(13, 13, 21, 0.75);
	border: 1px solid var(--border-strong);
	backdrop-filter: blur(14px);
	box-shadow: var(--shadow-1);
	animation: floaty 6s ease-in-out infinite;
}

.float-chip i {
	color: var(--brand);
}

.float-chip.c1 {
	top: 8%;
	left: -4%;
}
.float-chip.c2 {
	bottom: 16%;
	right: -6%;
	animation-delay: 1.5s;
}
.float-chip.c2 i {
	color: var(--cyan);
}
.float-chip.c3 {
	bottom: -2%;
	left: 18%;
	animation-delay: 3s;
}
.float-chip.c3 i {
	color: var(--pink);
}

@keyframes floaty {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-14px);
	}
}

.scroll-cue {
	position: absolute;
	bottom: 1.8rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	color: var(--faint);
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.scroll-cue .mouse {
	width: 24px;
	height: 38px;
	border: 2px solid var(--border-strong);
	border-radius: 14px;
	position: relative;
}

.scroll-cue .mouse::before {
	content: "";
	position: absolute;
	top: 7px;
	left: 50%;
	transform: translateX(-50%);
	width: 4px;
	height: 7px;
	border-radius: 4px;
	background: var(--brand);
	animation: scrolldot 1.8s var(--ease) infinite;
}

@keyframes scrolldot {
	0% {
		opacity: 0;
		transform: translate(-50%, 0);
	}
	40% {
		opacity: 1;
	}
	80%,
	100% {
		opacity: 0;
		transform: translate(-50%, 12px);
	}
}

/* ============================================================
   9. MARQUEE
   ============================================================ */
.marquee {
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 1.4rem 0;
	overflow: hidden;
	background: var(--surface);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
	display: flex;
	width: max-content;
	animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track {
	animation-play-state: paused;
}

.marquee-track span {
	font-family: var(--font-display);
	font-size: clamp(1.1rem, 2vw, 1.6rem);
	font-weight: 600;
	color: var(--muted);
	display: inline-flex;
	align-items: center;
	gap: 2.5rem;
	padding-left: 2.5rem;
	white-space: nowrap;
}

.marquee-track span i {
	color: var(--brand);
	font-size: 0.5em;
}

@keyframes marquee {
	to {
		transform: translateX(-50%);
	}
}

/* ============================================================
   10. STATS
   ============================================================ */
.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.stat {
	text-align: center;
	padding: 2rem 1rem;
	border-radius: var(--r-lg);
	background: var(--surface);
	border: 1px solid var(--border);
	transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}

.stat:hover {
	transform: translateY(-6px);
	border-color: var(--border-strong);
}

.stat-num {
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	background: var(--grad-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.stat-label {
	margin-top: 0.6rem;
	color: var(--muted);
	font-size: 0.92rem;
	font-weight: 500;
}

/* ============================================================
   11. BENTO / CARDS
   ============================================================ */
.bento {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: minmax(190px, auto);
	gap: 1.25rem;
}

.card {
	position: relative;
	padding: 2rem;
	border-radius: var(--r-lg);
	background: var(--surface);
	border: 1px solid var(--border);
	overflow: hidden;
	transition: transform var(--t) var(--ease), border-color var(--t) var(--ease),
		background var(--t) var(--ease);
}

/* Spotlight follows cursor (vars set in JS) */
.card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	opacity: 0;
	transition: opacity var(--t) var(--ease);
	background: radial-gradient(
		340px circle at var(--mx, 50%) var(--my, 50%),
		rgba(124, 92, 255, 0.14),
		transparent 65%
	);
	pointer-events: none;
}

.card:hover {
	transform: translateY(-6px);
	border-color: var(--border-strong);
	background: var(--surface-2);
}

.card:hover::before {
	opacity: 1;
}

.bento .span-3 {
	grid-column: span 3;
}
.bento .span-2 {
	grid-column: span 2;
}
.bento .span-6 {
	grid-column: 1 / -1;
}
.bento .row-2 {
	grid-row: span 2;
}

.card-content {
	position: relative;
	z-index: 1;
}

.card-icon {
	width: 56px;
	height: 56px;
	border-radius: var(--r-sm);
	display: grid;
	place-items: center;
	font-size: 1.5rem;
	margin-bottom: 1.4rem;
	background: var(--surface-3);
	border: 1px solid var(--border-strong);
	color: var(--brand);
}

.card h3 {
	font-size: 1.5rem;
	margin-bottom: 0.7rem;
}

.card p {
	color: var(--muted);
	font-size: 0.98rem;
}

.card.feature {
	background: linear-gradient(160deg, rgba(124, 92, 255, 0.14), rgba(40, 224, 216, 0.06)),
		var(--surface);
}

.card.feature .card-icon {
	background: var(--grad);
	color: #0a0a14;
	border-color: transparent;
}

.card .card-big-icon {
	position: absolute;
	right: -12px;
	bottom: -18px;
	font-size: 8rem;
	color: rgba(255, 255, 255, 0.035);
	transform: rotate(-8deg);
	pointer-events: none;
	z-index: 0;
}

/* Tracks grid */
.tracks {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.track {
	padding: 2rem;
	border-radius: var(--r-lg);
	background: var(--surface);
	border: 1px solid var(--border);
	transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}

.track:hover {
	transform: translateY(-6px);
	border-color: var(--border-strong);
}

.track .num {
	font-family: var(--font-display);
	font-size: 0.85rem;
	color: var(--faint);
	letter-spacing: 0.15em;
}

.track h3 {
	font-size: 1.3rem;
	margin: 1rem 0 0.5rem;
}

.track p {
	color: var(--muted);
	font-size: 0.92rem;
}

.track .track-icon {
	font-size: 1.6rem;
	margin-bottom: 0.5rem;
	background: var(--grad-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ============================================================
   12. CTA BAND
   ============================================================ */
.cta-band {
	position: relative;
	padding: clamp(2.5rem, 5vw, 4rem);
	border-radius: var(--r-xl);
	overflow: hidden;
	text-align: center;
	border: 1px solid var(--border-strong);
	background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(40, 224, 216, 0.1)),
		var(--bg-2);
}

.cta-band::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 120%, rgba(124, 92, 255, 0.4), transparent 60%);
	pointer-events: none;
}

.cta-band > * {
	position: relative;
	z-index: 1;
}

.cta-band h2 {
	font-size: clamp(1.9rem, 4.5vw, 3rem);
	margin-bottom: 1rem;
}

.cta-band p {
	color: var(--muted);
	font-size: 1.1rem;
	max-width: 48ch;
	margin: 0 auto 2rem;
}

/* ============================================================
   13. FAQ
   ============================================================ */
.faq-list {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.faq-item {
	border: 1px solid var(--border);
	border-radius: var(--r);
	background: var(--surface);
	overflow: hidden;
	transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}

.faq-item.open {
	border-color: var(--border-strong);
	background: var(--surface-2);
}

.faq-q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.5rem 1.75rem;
	text-align: left;
	font-family: var(--font-display);
	font-size: 1.12rem;
	font-weight: 600;
	color: var(--text);
}

.faq-q .icon {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	border: 1px solid var(--border-strong);
	transition: transform var(--t) var(--ease), background var(--t) var(--ease),
		color var(--t) var(--ease);
}

.faq-item.open .faq-q .icon {
	transform: rotate(135deg);
	background: var(--grad);
	color: #0a0a14;
	border-color: transparent;
}

.faq-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s var(--ease);
}

.faq-a p {
	padding: 0 1.75rem 1.6rem;
	color: var(--muted);
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.site-footer {
	border-top: 1px solid var(--border);
	padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
	background: var(--bg-2);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 3.5rem;
}

.footer-brand .brand {
	font-size: 1.3rem;
	margin-bottom: 1.1rem;
}

.footer-brand p {
	color: var(--muted);
	max-width: 34ch;
}

.footer-col h4 {
	font-family: var(--font-display);
	font-size: 0.82rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--faint);
	margin-bottom: 1.25rem;
}

.footer-col ul {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.footer-col a {
	color: var(--muted);
	transition: color var(--t) var(--ease), padding var(--t) var(--ease);
}

.footer-col a:hover {
	color: var(--text);
	padding-left: 5px;
}

.socials {
	display: flex;
	gap: 0.7rem;
	margin-top: 0.4rem;
}

.socials a {
	width: 44px;
	height: 44px;
	border-radius: 13px;
	display: grid;
	place-items: center;
	font-size: 1.1rem;
	color: var(--muted);
	background: var(--surface-2);
	border: 1px solid var(--border);
	transition: all var(--t) var(--ease);
}

.socials a:hover {
	color: #fff;
	transform: translateY(-4px);
	border-color: transparent;
	background: var(--grad);
	box-shadow: var(--glow-violet);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border);
	color: var(--faint);
	font-size: 0.88rem;
}

.footer-bottom .made {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.footer-bottom .made i {
	color: var(--pink);
}

/* ============================================================
   15. SUBPAGE HEADER
   ============================================================ */
.page-hero {
	padding: calc(var(--header-h) + 5rem) 0 3rem;
	text-align: center;
}

.page-hero h1 {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	margin: 1.5rem 0 1.25rem;
	letter-spacing: -0.04em;
}

.page-hero p {
	color: var(--muted);
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	max-width: 60ch;
	margin: 0 auto;
}

/* ============================================================
   16. ABOUT
   ============================================================ */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.prose h2 {
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	margin-bottom: 1.25rem;
}

.prose p {
	color: var(--muted);
	margin-bottom: 1.1rem;
	font-size: 1.05rem;
}

.prose p:last-child {
	margin-bottom: 0;
}

.about-visual {
	display: grid;
	gap: 1.25rem;
}

.about-visual .mini {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.4rem 1.6rem;
	border-radius: var(--r-lg);
	background: var(--surface);
	border: 1px solid var(--border);
	transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}

.about-visual .mini:hover {
	transform: translateX(8px);
	border-color: var(--border-strong);
}

.about-visual .mini i {
	font-size: 1.6rem;
	width: 54px;
	height: 54px;
	flex-shrink: 0;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: var(--surface-3);
	color: var(--brand);
	border: 1px solid var(--border-strong);
}

.about-visual .mini h4 {
	font-size: 1.1rem;
	margin-bottom: 0.15rem;
}

.about-visual .mini p {
	color: var(--muted);
	font-size: 0.9rem;
}

.highlight {
	margin-top: 1.5rem;
	padding: 1.4rem 1.6rem;
	border-radius: var(--r);
	background: var(--surface-2);
	border-left: 3px solid var(--brand);
}

.highlight h4 {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1.1rem;
	margin-bottom: 0.4rem;
	color: var(--text);
}

.highlight h4 i {
	color: var(--brand);
}

.highlight p {
	color: var(--muted);
	font-size: 0.95rem;
	margin: 0;
}

.guidelines {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.guideline {
	padding: 2rem;
	border-radius: var(--r-lg);
	background: var(--surface);
	border: 1px solid var(--border);
	text-align: center;
	transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}

.guideline:hover {
	transform: translateY(-6px);
	border-color: var(--border-strong);
}

.guideline .g-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 1.25rem;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 1.5rem;
	background: var(--surface-3);
	border: 1px solid var(--border-strong);
	color: var(--brand);
	transition: all var(--t) var(--ease);
}

.guideline:hover .g-icon {
	background: var(--grad);
	color: #0a0a14;
	border-color: transparent;
	transform: scale(1.08);
}

.guideline h4 {
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
}

.guideline p {
	color: var(--muted);
	font-size: 0.92rem;
}

/* University showcase */
.university {
	position: relative;
	text-align: center;
	padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
	border-radius: var(--r-xl);
	border: 1px solid var(--border-strong);
	overflow: hidden;
	background: linear-gradient(160deg, rgba(251, 191, 36, 0.08), transparent 60%), var(--bg-2);
}

.university::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--amber), #d97706);
}

.university .crest {
	font-size: 3rem;
	color: var(--amber);
	margin-bottom: 1.25rem;
}

.university h2 {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	margin-bottom: 1rem;
}

.university > p {
	color: var(--muted);
	max-width: 70ch;
	margin: 0 auto 2.5rem;
	font-size: 1.05rem;
}

.uni-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-bottom: 2.5rem;
	text-align: left;
}

.uni-grid .uni-item {
	padding: 1.5rem;
	border-radius: var(--r);
	background: var(--surface);
	border: 1px solid var(--border);
	border-left: 2px solid var(--amber);
}

.uni-grid .uni-item h4 {
	font-size: 1.1rem;
	margin-bottom: 0.4rem;
}

.uni-grid .uni-item p {
	color: var(--muted);
	font-size: 0.92rem;
}

/* ============================================================
   17. EVENTS
   ============================================================ */
.brewing {
	position: relative;
	text-align: center;
	padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem);
	border-radius: var(--r-xl);
	border: 1px solid var(--border-strong);
	overflow: hidden;
	background: linear-gradient(160deg, rgba(124, 92, 255, 0.12), rgba(40, 224, 216, 0.06)),
		var(--bg-2);
}

.brewing .flask {
	display: inline-grid;
	place-items: center;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	font-size: 3rem;
	margin-bottom: 2rem;
	color: var(--cyan);
	background: var(--surface-3);
	border: 1px solid var(--border-strong);
	animation: floaty 5s ease-in-out infinite;
}

.brewing h2 {
	font-size: clamp(2rem, 5vw, 3.4rem);
	margin-bottom: 1.25rem;
}

.brewing p {
	color: var(--muted);
	font-size: 1.15rem;
	max-width: 56ch;
	margin: 0 auto 2.5rem;
}

.timeline {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.tl-item {
	position: relative;
	padding: 2rem;
	border-radius: var(--r-lg);
	background: var(--surface);
	border: 1px solid var(--border);
	transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}

.tl-item:hover {
	transform: translateY(-6px);
	border-color: var(--border-strong);
}

.tl-item .tl-icon {
	width: 56px;
	height: 56px;
	border-radius: var(--r-sm);
	display: grid;
	place-items: center;
	font-size: 1.4rem;
	margin-bottom: 1.25rem;
	background: var(--surface-3);
	border: 1px solid var(--border-strong);
	color: var(--brand);
}

.tl-item .tag {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.3rem 0.7rem;
	border-radius: var(--r-full);
	color: var(--cyan);
	background: rgba(40, 224, 216, 0.1);
	border: 1px solid rgba(40, 224, 216, 0.25);
}

.tl-item h3 {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

.tl-item p {
	color: var(--muted);
	font-size: 0.92rem;
}

/* ============================================================
   18. CONTACT
   ============================================================ */
.discord-hero {
	position: relative;
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
	padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 4vw, 3rem);
	border-radius: var(--r-xl);
	overflow: hidden;
	color: #fff;
	background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
	box-shadow: 0 30px 80px -25px rgba(88, 101, 242, 0.7);
}

.discord-hero::after {
	content: "\f392";
	font-family: "Font Awesome 6 Brands";
	position: absolute;
	right: -20px;
	bottom: -30px;
	font-size: 12rem;
	opacity: 0.12;
	pointer-events: none;
}

.discord-hero > * {
	position: relative;
	z-index: 1;
}

.discord-hero .d-icon {
	font-size: 4rem;
	margin-bottom: 1.5rem;
}

.discord-hero h2 {
	font-size: clamp(1.8rem, 4.5vw, 2.8rem);
	margin-bottom: 1rem;
}

.discord-hero p {
	font-size: 1.1rem;
	opacity: 0.92;
	max-width: 50ch;
	margin: 0 auto 2.5rem;
}

.discord-hero .btn {
	background: #fff;
	color: #4752c4;
}

.discord-hero .btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.4);
}

.channels {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin-top: 3rem;
}

.channel {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.8rem;
	padding: 2rem 1.5rem;
	border-radius: var(--r-lg);
	background: var(--surface);
	border: 1px solid var(--border);
	transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}

.channel:hover {
	transform: translateY(-6px);
	border-color: var(--border-strong);
}

.channel i {
	font-size: 1.8rem;
	width: 60px;
	height: 60px;
	display: grid;
	place-items: center;
	border-radius: 16px;
	background: var(--surface-3);
	border: 1px solid var(--border-strong);
	color: var(--brand);
	transition: transform var(--t) var(--ease);
}

.channel:hover i {
	transform: scale(1.08);
}

.channel h4 {
	font-size: 1.1rem;
}

.channel span {
	color: var(--faint);
	font-size: 0.85rem;
}

/* ============================================================
   19. SCROLL REVEAL
   ============================================================ */
.reveal {
	opacity: 0;
	transform: translateY(34px);
	transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
	will-change: opacity, transform;
}

.reveal.in {
	opacity: 1;
	transform: none;
}

.reveal.d1 {
	transition-delay: 0.08s;
}
.reveal.d2 {
	transition-delay: 0.16s;
}
.reveal.d3 {
	transition-delay: 0.24s;
}
.reveal.d4 {
	transition-delay: 0.32s;
}

/* ============================================================
   20. RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
	.hero-grid {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 3rem;
	}
	.hero-sub {
		margin-left: auto;
		margin-right: auto;
	}
	.hero-actions,
	.hero-trust {
		justify-content: center;
	}
	.hero-visual {
		max-width: 440px;
		margin: 0 auto;
		order: -1;
	}
	.stats {
		grid-template-columns: repeat(2, 1fr);
	}
	.bento {
		grid-template-columns: repeat(2, 1fr);
	}
	.bento .span-3,
	.bento .span-2 {
		grid-column: span 1;
	}
	.bento .row-2 {
		grid-row: span 1;
	}
	.tracks,
	.guidelines,
	.timeline,
	.channels {
		grid-template-columns: repeat(2, 1fr);
	}
	.split {
		grid-template-columns: 1fr;
	}
	.split .about-visual {
		order: -1;
	}
	.uni-grid {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}
	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	.nav-desktop,
	.header-cta .btn {
		display: none;
	}
	.nav-toggle {
		display: flex;
	}
	.hero {
		min-height: auto;
	}
	.scroll-cue {
		display: none;
	}
}

@media (max-width: 560px) {
	.stats,
	.tracks,
	.guidelines,
	.timeline,
	.channels {
		grid-template-columns: 1fr;
	}
	.bento {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.float-chip {
		font-size: 0.8rem;
		padding: 0.55rem 0.85rem;
	}
	.btn {
		width: 100%;
	}
	.hero-actions {
		flex-direction: column;
	}
}

/* ============================================================
   21. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.reveal {
		opacity: 1;
		transform: none;
	}
	.cursor-glow {
		display: none;
	}
}
