/* ==========================================================================
   COE - COELHO ENHANCED ROLEPLAY | OFFICIAL WEBSITE STYLESHEET
   Aesthetic: Tactical Cyber-Minimalist, Chamfered Surfaces, Strict Tokens
   ========================================================================== */

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

html {
	font-family: var(--coe-font);
	font-size: 16px;
	scroll-behavior: smooth;
	background-color: var(--coe-page);
	color: var(--coe-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	background-color: var(--coe-page);
	color: var(--coe-text);
	line-height: 1.6;
	overflow-x: hidden;
	position: relative;
	min-height: 100vh;
}

/* Background Atmosphere */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	background-image: 
		radial-gradient(circle at 50% 0%, var(--coe-accent-soft) 0%, transparent 60%),
		linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
	background-size: 100% 100%, 48px 48px, 48px 48px;
	background-position: 0 0, -1px -1px, -1px -1px;
	pointer-events: none;
	z-index: 0;
}

/* Scanline / Grain Subtle Effect */
.grain-overlay {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 9999;
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Selection */
::selection {
	background-color: var(--coe-accent);
	color: var(--coe-on-accent);
}

a {
	color: var(--coe-accent);
	text-decoration: none;
	transition: color var(--coe-dur) var(--coe-ease);
}

a:hover {
	color: #fff;
}

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

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--coe-text);
	line-height: 1.2;
}

.eyebrow {
	font-size: var(--coe-text-xs);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--coe-accent);
	display: inline-flex;
	align-items: center;
	gap: var(--coe-space-2);
}

.eyebrow::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	background-color: var(--coe-accent);
	border-radius: 1px;
}

.container {
	width: 100%;
	max-width: 1360px;
	margin: 0 auto;
	padding: 0 var(--coe-space-4);
	position: relative;
	z-index: 1;
}

/* --- COE UI COMPONENTS & SURFACES --- */

.coe-chamfer {
	clip-path: polygon(
		var(--coe-chamfer) 0, 100% 0, 100% calc(100% - var(--coe-chamfer)),
		calc(100% - var(--coe-chamfer)) 100%, 0 100%, 0 var(--coe-chamfer)
	);
}

.coe-glass {
	border: 1px solid var(--coe-line-strong);
	background:
		linear-gradient(160deg, rgba(var(--coe-ink-rgb), 0.06), rgba(var(--coe-ink-rgb), 0) 38%),
		rgba(var(--coe-panel-rgb), 0.82);
	color: var(--coe-text);
	box-shadow: var(--coe-shadow-depth);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.coe-card {
	background-color: var(--coe-panel);
	border: 1px solid var(--coe-line);
	border-radius: var(--coe-radius);
	padding: var(--coe-space-5);
	transition: border-color var(--coe-dur) var(--coe-ease), transform var(--coe-dur) var(--coe-ease), box-shadow var(--coe-dur) var(--coe-ease);
	position: relative;
}

.coe-card:hover {
	border-color: var(--coe-line-strong);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.coe-card--interactive:hover {
	border-color: rgba(var(--coe-accent-rgb), 0.5);
	transform: translateY(-2px);
}

/* Corner Bracket Accents */
.has-brackets {
	position: relative;
}
.has-brackets::before,
.has-brackets::after {
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	border-color: var(--coe-accent);
	pointer-events: none;
	opacity: 0.7;
	transition: opacity var(--coe-dur) var(--coe-ease), border-color var(--coe-dur) var(--coe-ease);
}
.has-brackets::before {
	top: -1px;
	left: -1px;
	border-top: 2px solid;
	border-left: 2px solid;
}
.has-brackets::after {
	bottom: -1px;
	right: -1px;
	border-bottom: 2px solid;
	border-right: 2px solid;
}
.has-brackets:hover::before,
.has-brackets:hover::after {
	opacity: 1;
}

/* Buttons */
.coe-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--coe-space-2);
	min-height: 38px;
	padding: 0 var(--coe-space-4);
	border: 1px solid var(--coe-line-strong);
	border-radius: var(--coe-radius);
	background: linear-gradient(100deg, rgba(var(--coe-ink-rgb), 0.08), rgba(var(--coe-ink-rgb), 0) 60%);
	color: var(--coe-text);
	font-family: var(--coe-font);
	font-size: var(--coe-text-sm);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all var(--coe-dur) var(--coe-ease);
	user-select: none;
	text-decoration: none;
}

.coe-button:hover:not(:disabled) {
	border-color: rgba(var(--coe-accent-rgb), 0.65);
	background: linear-gradient(100deg, rgba(var(--coe-accent-rgb), 0.22), rgba(var(--coe-accent-rgb), 0) 70%);
	transform: translateY(-1px);
	color: #fff;
}

.coe-button:active:not(:disabled) {
	transform: translateY(0);
}

.coe-button--primary {
	border-color: transparent;
	background: var(--coe-accent);
	color: var(--coe-on-accent);
	font-weight: 700;
	box-shadow: 0 0 16px var(--coe-accent-soft);
}

.coe-button--primary:hover:not(:disabled) {
	background: var(--coe-accent);
	filter: brightness(1.1);
	box-shadow: 0 0 24px var(--coe-accent-glow);
	color: var(--coe-on-accent);
}

.coe-button--outline {
	background: transparent;
	border-color: rgba(var(--coe-accent-rgb), 0.4);
	color: var(--coe-accent);
}

.coe-button--outline:hover:not(:disabled) {
	background: var(--coe-accent-soft);
	border-color: var(--coe-accent);
}

.coe-button--danger {
	border-color: rgba(var(--coe-danger-rgb), 0.5);
	color: var(--coe-danger);
}

.coe-button--danger:hover:not(:disabled) {
	background: var(--coe-danger-soft);
	border-color: var(--coe-danger);
}

.coe-button--sm {
	min-height: 28px;
	padding: 0 var(--coe-space-3);
	font-size: var(--coe-text-xs);
}

.coe-button--lg {
	min-height: 46px;
	padding: 0 var(--coe-space-5);
	font-size: var(--coe-text-md);
}

/* Badges */
.coe-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 8px;
	border-radius: var(--coe-radius);
	border: 1px solid var(--coe-line);
	background: rgba(var(--coe-ink-rgb), 0.05);
	color: var(--coe-muted);
	font-size: var(--coe-text-xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.coe-badge--accent {
	border-color: rgba(var(--coe-accent-rgb), 0.35);
	background: var(--coe-accent-soft);
	color: var(--coe-accent);
}

.coe-badge--success {
	border-color: rgba(var(--coe-success-rgb), 0.35);
	background: rgba(var(--coe-success-rgb), 0.12);
	color: var(--coe-success);
}

.coe-badge--warning {
	border-color: rgba(var(--coe-warning-rgb), 0.35);
	background: rgba(var(--coe-warning-rgb), 0.12);
	color: var(--coe-warning);
}

.coe-badge--pulse::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--coe-success);
	box-shadow: 0 0 8px var(--coe-success);
	animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.85); }
}

/* Fields & Inputs */
.coe-field {
	width: 100%;
	min-height: 40px;
	padding: 0 var(--coe-space-3);
	border: 1px solid var(--coe-line-strong);
	border-radius: var(--coe-radius);
	background-color: var(--coe-panel-raised);
	color: var(--coe-text);
	font-family: var(--coe-font);
	font-size: var(--coe-text-sm);
	transition: border-color var(--coe-dur) var(--coe-ease), box-shadow var(--coe-dur) var(--coe-ease);
}

.coe-field:focus {
	outline: none;
	border-color: var(--coe-accent);
	box-shadow: 0 0 0 2px var(--coe-accent-soft);
}

textarea.coe-field {
	padding: var(--coe-space-3);
	min-height: 90px;
	resize: vertical;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 70px;
	z-index: 1000;
	background: rgba(var(--coe-panel-rgb), 0.9);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--coe-line);
	transition: background var(--coe-dur) var(--coe-ease), border-color var(--coe-dur) var(--coe-ease);
}

.site-header .container {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--coe-space-3);
}

.brand-wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	flex-shrink: 0;
}

.brand-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--coe-font-mono);
	font-size: var(--coe-text-sm);
	font-weight: 800;
	color: var(--coe-on-accent);
	background: var(--coe-accent);
	padding: 4px 8px;
	letter-spacing: 0.1em;
	clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

.brand-text {
	display: flex;
	flex-direction: column;
}

.brand-title {
	font-size: var(--coe-text-md);
	font-weight: 800;
	letter-spacing: 0.06em;
	color: var(--coe-text);
	line-height: 1.1;
	white-space: nowrap;
}

.brand-sub {
	font-size: 10px;
	color: var(--coe-muted);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 1;
}

.nav-link {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--coe-muted);
	padding: 4px 2px;
	position: relative;
	white-space: nowrap;
	transition: color var(--coe-dur) var(--coe-ease);
}

.nav-link:hover,
.nav-link.active {
	color: var(--coe-text);
}

.nav-link.active::after,
.nav-link:hover::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: var(--coe-accent);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

/* Theme Selector Pill */
.theme-picker {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.theme-picker-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	background: var(--coe-panel-raised);
	border: 1px solid var(--coe-line);
	border-radius: var(--coe-radius);
	color: var(--coe-muted);
	font-size: var(--coe-text-xs);
	cursor: pointer;
	text-transform: uppercase;
	font-family: inherit;
}

.theme-picker-btn:hover {
	border-color: var(--coe-line-strong);
	color: var(--coe-text);
}

.theme-color-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: var(--coe-accent);
	box-shadow: 0 0 6px var(--coe-accent-soft);
}

.theme-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	background: var(--coe-panel);
	border: 1px solid var(--coe-line-strong);
	border-radius: var(--coe-radius);
	padding: 6px;
	display: none;
	flex-direction: column;
	gap: 4px;
	width: 140px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
	z-index: 100;
}

.theme-dropdown.show {
	display: flex;
}

.theme-option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	background: transparent;
	border: none;
	color: var(--coe-text);
	font-family: inherit;
	font-size: var(--coe-text-xs);
	text-align: left;
	cursor: pointer;
	border-radius: 2px;
	transition: background var(--coe-dur) var(--coe-ease);
}

.theme-option:hover {
	background: rgba(var(--coe-ink-rgb), 0.08);
}

.mobile-menu-btn {
	display: none;
	background: transparent;
	border: 1px solid var(--coe-line);
	color: var(--coe-text);
	padding: 6px 10px;
	font-size: var(--coe-text-md);
	cursor: pointer;
	border-radius: var(--coe-radius);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
	position: relative;
	min-height: 94vh;
	padding-top: 130px;
	padding-bottom: var(--coe-space-10);
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hero-bg-wrapper {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.hero-bg-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
	filter: brightness(0.38) contrast(1.15) saturate(0.9);
	transform: scale(1.04);
	animation: bg-drift 24s ease-in-out infinite alternate;
}

@keyframes bg-drift {
	0% { transform: scale(1.04) translateY(0); }
	100% { transform: scale(1.08) translateY(-12px); }
}

.hero-bg-overlay {
	position: absolute;
	inset: 0;
	background: 
		linear-gradient(to bottom, rgba(12, 17, 16, 0.6) 0%, transparent 40%, rgba(12, 17, 16, 0.95) 90%, var(--coe-page) 100%),
		radial-gradient(ellipse at center, transparent 30%, rgba(12, 17, 16, 0.75) 100%);
}

.hero-coords {
	font-family: var(--coe-font-mono);
	font-size: var(--coe-text-xs);
	color: var(--coe-subtle);
	letter-spacing: 0.1em;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: var(--coe-space-3);
}

.hero-content {
	max-width: 780px;
	position: relative;
	z-index: 2;
}

.hero-title {
	font-size: clamp(2.4rem, 5vw, 4.2rem);
	font-weight: 800;
	line-height: 1.05;
	margin: var(--coe-space-3) 0 var(--coe-space-4);
	letter-spacing: -0.01em;
}

.hero-title .accent-text {
	color: var(--coe-accent);
	text-shadow: 0 0 28px var(--coe-accent-soft);
}

.hero-description {
	font-size: var(--coe-text-lg);
	color: var(--coe-muted);
	max-width: 680px;
	margin-bottom: var(--coe-space-6);
	line-height: 1.6;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--coe-space-3);
	margin-bottom: var(--coe-space-8);
}

/* Live Server Status Bar */
.server-status-card {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--coe-space-5);
	padding: var(--coe-space-3) var(--coe-space-5);
	background: rgba(var(--coe-panel-rgb), 0.75);
	border: 1px solid var(--coe-line-strong);
	border-radius: var(--coe-radius);
	backdrop-filter: blur(12px);
}

.status-item {
	display: flex;
	flex-direction: column;
}

.status-label {
	font-size: var(--coe-text-xs);
	color: var(--coe-subtle);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.status-value {
	font-size: var(--coe-text-sm);
	font-weight: 700;
	color: var(--coe-text);
	display: flex;
	align-items: center;
	gap: 6px;
}

/* ==========================================================================
   METRICS / HIGHLIGHTS STRIP
   ========================================================================== */

.metrics-section {
	padding: var(--coe-space-8) 0;
	border-top: 1px solid var(--coe-line);
	border-bottom: 1px solid var(--coe-line);
	background: var(--coe-sidebar);
	position: relative;
	z-index: 1;
}

.metrics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--coe-space-5);
}

.metric-box {
	display: flex;
	gap: var(--coe-space-3);
	align-items: flex-start;
}

.metric-icon {
	width: 44px;
	height: 44px;
	background: var(--coe-panel);
	border: 1px solid var(--coe-line);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--coe-accent);
	font-size: 20px;
	flex-shrink: 0;
}

.metric-info h3 {
	font-size: var(--coe-text-md);
	margin-bottom: 4px;
	letter-spacing: 0.03em;
}

.metric-info p {
	font-size: var(--coe-text-sm);
	color: var(--coe-muted);
	line-height: 1.4;
}

/* ==========================================================================
   SYSTEMS & SHOWCASE (INTERACTIVE TABS)
   ========================================================================== */

.section-padding {
	padding: var(--coe-space-10) 0;
	position: relative;
}

.section-header {
	margin-bottom: var(--coe-space-8);
	max-width: 720px;
}

.section-header h2 {
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	margin-top: var(--coe-space-2);
	margin-bottom: var(--coe-space-3);
}

.section-header p {
	color: var(--coe-muted);
	font-size: var(--coe-text-md);
}

/* Showcase Navigation Tabs */
.showcase-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--coe-space-2);
	margin-bottom: var(--coe-space-6);
	border-bottom: 1px solid var(--coe-line);
	padding-bottom: var(--coe-space-3);
}

.tab-btn {
	background: transparent;
	border: 1px solid var(--coe-line);
	padding: 8px 16px;
	border-radius: var(--coe-radius);
	color: var(--coe-muted);
	font-family: inherit;
	font-size: var(--coe-text-sm);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: all var(--coe-dur) var(--coe-ease);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.tab-btn:hover {
	border-color: var(--coe-line-strong);
	color: var(--coe-text);
}

.tab-btn.active {
	background: var(--coe-panel-raised);
	border-color: var(--coe-accent);
	color: var(--coe-accent);
	box-shadow: 0 2px 8px var(--coe-accent-soft);
}

/* Tab Panels */
.tab-content {
	display: none;
	animation: fadeIn 0.3s var(--coe-ease);
}

.tab-content.active {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: var(--coe-space-6);
	align-items: center;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.showcase-preview {
	position: relative;
	border: 1px solid var(--coe-line-strong);
	border-radius: var(--coe-radius);
	overflow: hidden;
	background: var(--coe-panel);
	box-shadow: var(--coe-shadow-depth);
	cursor: pointer;
}

.showcase-preview img {
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: transform var(--coe-dur-slow) var(--coe-ease);
}

.showcase-preview:hover img {
	transform: scale(1.02);
}

.showcase-badge-bar {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	gap: 8px;
	z-index: 2;
}

.showcase-details {
	display: flex;
	flex-direction: column;
	gap: var(--coe-space-4);
}

.showcase-details h3 {
	font-size: var(--coe-text-2xl);
	letter-spacing: 0.02em;
}

.showcase-details p {
	color: var(--coe-muted);
	font-size: var(--coe-text-md);
	line-height: 1.6;
}

.feature-bullets {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: var(--coe-space-3);
}

.feature-bullet {
	display: flex;
	gap: var(--coe-space-3);
	font-size: var(--coe-text-sm);
	color: var(--coe-text);
}

.bullet-dot {
	color: var(--coe-accent);
	font-weight: 800;
	font-family: var(--coe-font-mono);
}

/* ==========================================================================
   INTERACTIVE KEYBINDINGS MATRIX
   ========================================================================== */

.keybinds-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: var(--coe-space-4);
}

.keybind-card {
	display: flex;
	align-items: center;
	gap: var(--coe-space-4);
	padding: var(--coe-space-4);
	background: var(--coe-panel);
	border: 1px solid var(--coe-line);
	border-radius: var(--coe-radius);
	transition: all var(--coe-dur) var(--coe-ease);
	cursor: pointer;
}

.keybind-card:hover {
	border-color: rgba(var(--coe-accent-rgb), 0.5);
	background: var(--coe-panel-raised);
	transform: translateX(3px);
}

.keybind-kbd {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 38px;
	padding: 0 8px;
	background: var(--coe-page);
	border: 1px solid var(--coe-line-strong);
	border-bottom-width: 3px;
	border-radius: var(--coe-radius);
	font-family: var(--coe-font-mono);
	font-size: var(--coe-text-sm);
	font-weight: 700;
	color: var(--coe-accent);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.keybind-meta h4 {
	font-size: var(--coe-text-sm);
	margin-bottom: 2px;
	letter-spacing: 0.02em;
}

.keybind-meta p {
	font-size: var(--coe-text-xs);
	color: var(--coe-muted);
}

/* ==========================================================================
   STATE-ID CITIZEN CARD SIMULATOR
   ========================================================================== */

.simulator-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--coe-space-8);
	align-items: center;
}

.citizen-card-preview {
	background: linear-gradient(135deg, var(--coe-panel-raised), var(--coe-sidebar));
	border: 1px solid var(--coe-line-strong);
	border-radius: 8px;
	padding: var(--coe-space-6);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
	position: relative;
	overflow: hidden;
}

.citizen-card-preview::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, var(--coe-accent-soft) 0%, transparent 60%);
	pointer-events: none;
}

.card-header-line {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	border-bottom: 1px solid var(--coe-line);
	padding-bottom: var(--coe-space-3);
	margin-bottom: var(--coe-space-4);
}

.card-san-andreas {
	font-size: var(--coe-text-xs);
	font-weight: 800;
	letter-spacing: 0.15em;
	color: var(--coe-accent);
}

.card-id-highlight {
	font-family: var(--coe-font-mono);
	font-size: var(--coe-text-lg);
	font-weight: 800;
	letter-spacing: 0.12em;
	color: #fff;
	background: rgba(var(--coe-accent-rgb), 0.15);
	padding: 2px 8px;
	border: 1px solid var(--coe-accent);
	border-radius: 2px;
}

.card-body-grid {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: var(--coe-space-4);
	margin-bottom: var(--coe-space-4);
}

.card-photo-box {
	height: 120px;
	background: var(--coe-page);
	border: 1px solid var(--coe-line-strong);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--coe-subtle);
	font-size: var(--coe-text-xs);
	gap: 6px;
}

.card-info-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--coe-space-2) var(--coe-space-3);
}

.card-field-block {
	display: flex;
	flex-direction: column;
}

.card-field-label {
	font-size: 10px;
	text-transform: uppercase;
	color: var(--coe-subtle);
	letter-spacing: 0.08em;
}

.card-field-val {
	font-size: var(--coe-text-sm);
	font-weight: 600;
	color: var(--coe-text);
}

.card-footer-barcode {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--coe-line);
	padding-top: var(--coe-space-3);
}

.fake-barcode {
	height: 24px;
	width: 160px;
	background: repeating-linear-gradient(
		90deg,
		var(--coe-text) 0,
		var(--coe-text) 2px,
		transparent 2px,
		transparent 4px,
		var(--coe-text) 4px,
		var(--coe-text) 7px,
		transparent 7px,
		transparent 9px
	);
	opacity: 0.75;
}

/* ==========================================================================
   RULES & RP CODEX (ACCORDION)
   ========================================================================== */

.codex-list {
	display: flex;
	flex-direction: column;
	gap: var(--coe-space-3);
}

.codex-item {
	background: var(--coe-panel);
	border: 1px solid var(--coe-line);
	border-radius: var(--coe-radius);
	overflow: hidden;
	transition: border-color var(--coe-dur) var(--coe-ease);
}

.codex-item:hover {
	border-color: var(--coe-line-strong);
}

.codex-item.open {
	border-color: rgba(var(--coe-accent-rgb), 0.4);
}

.codex-summary {
	padding: var(--coe-space-4) var(--coe-space-5);
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	user-select: none;
}

.codex-summary-left {
	display: flex;
	align-items: center;
	gap: var(--coe-space-3);
}

.codex-num {
	font-family: var(--coe-font-mono);
	font-size: var(--coe-text-xs);
	color: var(--coe-accent);
	font-weight: 700;
}

.codex-title {
	font-size: var(--coe-text-md);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.codex-icon {
	color: var(--coe-muted);
	transition: transform var(--coe-dur) var(--coe-ease);
}

.codex-item.open .codex-icon {
	transform: rotate(180deg);
	color: var(--coe-accent);
}

.codex-details {
	display: none;
	padding: 0 var(--coe-space-5) var(--coe-space-5);
	font-size: var(--coe-text-sm);
	color: var(--coe-muted);
	line-height: 1.6;
	border-top: 1px solid rgba(var(--coe-ink-rgb), 0.04);
	margin-top: 4px;
	padding-top: var(--coe-space-3);
}

.codex-item.open .codex-details {
	display: block;
}

/* ==========================================================================
   JOIN STEPS SECTION
   ========================================================================== */

.join-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: var(--coe-space-5);
	position: relative;
}

.join-card {
	background: var(--coe-panel);
	border: 1px solid var(--coe-line);
	border-radius: var(--coe-radius);
	padding: var(--coe-space-5);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 220px;
}

.join-step-num {
	font-family: var(--coe-font-mono);
	font-size: var(--coe-text-3xl);
	font-weight: 800;
	color: rgba(var(--coe-ink-rgb), 0.12);
	position: absolute;
	top: 12px;
	right: 16px;
	line-height: 1;
}

.join-card h3 {
	font-size: var(--coe-text-md);
	margin-bottom: var(--coe-space-2);
}

.join-card p {
	font-size: var(--coe-text-sm);
	color: var(--coe-muted);
	line-height: 1.5;
	margin-bottom: var(--coe-space-4);
}

/* ==========================================================================
   MODAL DIALOG (WHITELIST & CONNECT INFO)
   ========================================================================== */

.modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(6, 9, 8, 0.85);
	backdrop-filter: blur(8px);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	padding: var(--coe-space-4);
	opacity: 0;
	transition: opacity var(--coe-dur-slow) var(--coe-ease);
}

.modal-backdrop.show {
	display: flex;
	opacity: 1;
}

.modal-dialog {
	background: var(--coe-panel);
	border: 1px solid var(--coe-line-strong);
	border-radius: var(--coe-radius);
	width: 100%;
	max-width: 580px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
	position: relative;
	transform: translateY(12px) scale(0.98);
	transition: transform var(--coe-dur-slow) var(--coe-ease);
}

.modal-backdrop.show .modal-dialog {
	transform: translateY(0) scale(1);
}

.modal-header {
	padding: var(--coe-space-4) var(--coe-space-5);
	border-bottom: 1px solid var(--coe-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.modal-close-btn {
	background: transparent;
	border: none;
	color: var(--coe-muted);
	font-size: 20px;
	cursor: pointer;
	padding: 4px;
	line-height: 1;
}

.modal-close-btn:hover {
	color: #fff;
}

.modal-body {
	padding: var(--coe-space-5);
}

.form-group {
	margin-bottom: var(--coe-space-4);
}

.form-group label {
	display: block;
	font-size: var(--coe-text-xs);
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--coe-muted);
	margin-bottom: 6px;
}

.form-help {
	font-size: var(--coe-text-xs);
	color: var(--coe-subtle);
	margin-top: 4px;
}

.modal-footer {
	padding: var(--coe-space-4) var(--coe-space-5);
	border-top: 1px solid var(--coe-line);
	display: flex;
	justify-content: flex-end;
	gap: var(--coe-space-3);
	background: var(--coe-panel-raised);
}

/* Lightbox Modal for Images */
.lightbox-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	backdrop-filter: blur(12px);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 10001;
	padding: var(--coe-space-5);
	cursor: zoom-out;
}

.lightbox-modal.show {
	display: flex;
}

.lightbox-content {
	max-width: 90vw;
	max-height: 85vh;
	border: 1px solid var(--coe-line-strong);
	border-radius: 4px;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.toast-container {
	position: fixed;
	bottom: 24px;
	right: 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	z-index: 11000;
	pointer-events: none;
}

.toast {
	padding: 10px 16px;
	background: var(--coe-panel-raised);
	border: 1px solid var(--coe-accent);
	color: var(--coe-text);
	font-size: var(--coe-text-sm);
	font-weight: 600;
	border-radius: var(--coe-radius);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	gap: 10px;
	animation: toastIn 0.25s var(--coe-ease);
	pointer-events: auto;
}

.toast::before {
	content: "✓";
	color: var(--coe-accent);
	font-weight: 800;
}

@keyframes toastIn {
	from { transform: translateX(30px); opacity: 0; }
	to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
	background: var(--coe-sidebar);
	border-top: 1px solid var(--coe-line);
	padding: var(--coe-space-10) 0 var(--coe-space-6);
	position: relative;
	z-index: 1;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: var(--coe-space-8);
	margin-bottom: var(--coe-space-8);
}

.footer-brand p {
	color: var(--coe-muted);
	font-size: var(--coe-text-sm);
	margin-top: var(--coe-space-3);
	max-width: 320px;
}

.footer-col h4 {
	font-size: var(--coe-text-sm);
	margin-bottom: var(--coe-space-4);
	color: var(--coe-text);
}

.footer-links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-links a {
	color: var(--coe-muted);
	font-size: var(--coe-text-sm);
	transition: color var(--coe-dur) var(--coe-ease);
}

.footer-links a:hover {
	color: var(--coe-accent);
}

.footer-bottom {
	border-top: 1px solid var(--coe-line);
	padding-top: var(--coe-space-5);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: var(--coe-space-4);
	color: var(--coe-subtle);
	font-size: var(--coe-text-xs);
}

/* ==========================================================================
   INVENTORY HOTBAR & SLOTS (coe_inventory & coe_ui panel.css)
   ========================================================================== */

.inventory-showcase-box {
	background: var(--coe-sidebar);
	border: 1px solid var(--coe-line);
	border-radius: var(--coe-radius);
	padding: var(--coe-space-5);
	margin-top: var(--coe-space-8);
}

.inventory-hotbar {
	display: flex;
	flex-wrap: wrap;
	gap: var(--coe-space-3);
	justify-content: center;
	margin: var(--coe-space-4) 0 var(--coe-space-3);
}

.coe-slot {
	width: 72px;
	height: 72px;
	border: 1px solid var(--coe-line);
	background:
		linear-gradient(150deg, rgba(var(--coe-ink-rgb), 0.06), rgba(var(--coe-ink-rgb), 0) 55%),
		rgba(var(--coe-ink-rgb), 0.025);
	clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	cursor: pointer;
	transition: all var(--coe-dur) var(--coe-ease);
	user-select: none;
}

.coe-slot:hover {
	border-color: rgba(var(--coe-accent-rgb), 0.5);
	transform: translateY(-2px);
}

.coe-slot.is-filled {
	border-color: rgba(var(--coe-accent-rgb), 0.35);
	background:
		linear-gradient(150deg, rgba(var(--coe-accent-rgb), 0.16), rgba(var(--coe-accent-rgb), 0.03) 70%),
		rgba(var(--coe-panel-rgb), 0.7);
}

.coe-slot.is-active {
	border-color: var(--coe-accent);
	box-shadow: 0 0 16px var(--coe-accent-soft);
	background:
		linear-gradient(150deg, rgba(var(--coe-accent-rgb), 0.28), rgba(var(--coe-accent-rgb), 0.08) 70%),
		rgba(var(--coe-panel-rgb), 0.9);
}

.slot-index {
	position: absolute;
	top: 3px;
	left: 5px;
	font-family: var(--coe-font-mono);
	font-size: 10px;
	color: var(--coe-subtle);
	font-weight: 700;
}

.coe-slot.is-active .slot-index {
	color: var(--coe-accent);
}

.slot-icon {
	width: 44px;
	height: 44px;
	object-fit: contain;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.slot-tooltip-preview {
	background: var(--coe-panel-raised);
	border: 1px solid var(--coe-line-strong);
	border-radius: var(--coe-radius);
	padding: var(--coe-space-3) var(--coe-space-4);
	max-width: 500px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: var(--coe-space-4);
}

.slot-tooltip-icon {
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.slot-tooltip-info h4 {
	font-size: var(--coe-text-sm);
	color: var(--coe-accent);
	margin-bottom: 2px;
}

.slot-tooltip-info p {
	font-size: var(--coe-text-xs);
	color: var(--coe-muted);
	line-height: 1.4;
}

/* ==========================================================================
   PROPRIETARY ARCHITECTURE & LORE CALLOUTS
   ========================================================================== */

.pioneer-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(90deg, rgba(var(--coe-accent-rgb), 0.18), rgba(var(--coe-accent-rgb), 0.03));
	border: 1px solid var(--coe-accent);
	padding: 6px 14px;
	border-radius: var(--coe-radius);
	color: var(--coe-accent);
	font-size: var(--coe-text-xs);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: var(--coe-space-3);
}

.beta-notice-pill {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: linear-gradient(90deg, rgba(230, 182, 92, 0.15), rgba(20, 26, 22, 0.7));
	border: 1px solid rgba(230, 182, 92, 0.4);
	padding: 8px 16px;
	border-radius: var(--coe-radius);
	font-size: var(--coe-text-xs);
	color: var(--coe-text);
	margin-bottom: var(--coe-space-4);
	backdrop-filter: blur(8px);
}

.beta-notice-pill strong {
	color: var(--coe-warning);
}

/* FiveM Enhanced Early Access Requirement Callout */
.enhanced-req-box {
	background: linear-gradient(135deg, rgba(16, 24, 30, 0.95), rgba(12, 17, 20, 0.98));
	border: 1px solid rgba(141, 182, 216, 0.35);
	border-radius: var(--coe-radius);
	padding: var(--coe-space-6);
	margin-top: var(--coe-space-8);
	display: grid;
	grid-template-columns: 1fr auto;
	gap: var(--coe-space-6);
	align-items: center;
}

.enhanced-req-content h3 {
	font-size: var(--coe-text-lg);
	color: #fff;
	margin-bottom: 8px;
	letter-spacing: 0.04em;
}

.enhanced-req-content p {
	font-size: var(--coe-text-sm);
	color: var(--coe-muted);
	line-height: 1.6;
	margin-bottom: 12px;
}

.enhanced-req-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.enhanced-req-action {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-start;
}

@media (max-width: 768px) {
	.enhanced-req-box {
		grid-template-columns: 1fr;
	}
}

.cinematic-quote {
	position: relative;
	border-left: 3px solid var(--coe-accent);
	padding: var(--coe-space-4) var(--coe-space-6);
	background: linear-gradient(90deg, rgba(var(--coe-accent-rgb), 0.08), transparent);
	margin: var(--coe-space-6) 0;
	font-style: italic;
	font-size: clamp(1.1rem, 2vw, 1.45rem);
	color: #fff;
	line-height: 1.5;
	border-radius: 0 var(--coe-radius) var(--coe-radius) 0;
}

.cinematic-quote strong {
	color: var(--coe-accent);
	font-style: normal;
}

.cinematic-quote .quote-author {
	display: block;
	font-size: var(--coe-text-xs);
	font-style: normal;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--coe-muted);
	margin-top: 8px;
}

/* Arch Cards */
.arch-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: var(--coe-space-5);
	margin-top: var(--coe-space-6);
}

.arch-card {
	background: var(--coe-panel);
	border: 1px solid var(--coe-line);
	border-radius: var(--coe-radius);
	padding: var(--coe-space-5);
	transition: all var(--coe-dur) var(--coe-ease);
	position: relative;
	overflow: hidden;
}

.arch-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--coe-accent), transparent);
	opacity: 0;
	transition: opacity var(--coe-dur) var(--coe-ease);
}

.arch-card:hover {
	border-color: rgba(var(--coe-accent-rgb), 0.5);
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

.arch-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--coe-space-3);
}

.arch-card-title {
	font-size: var(--coe-text-md);
	font-weight: 700;
	color: var(--coe-text);
}

.arch-card-desc {
	font-size: var(--coe-text-sm);
	color: var(--coe-muted);
	line-height: 1.6;
}

/* ==========================================================================
   CYBER SUBWORLD & CRIME SYSTEM
   ========================================================================== */

.cyber-panel {
	background: 
		linear-gradient(135deg, rgba(15, 22, 20, 0.95), rgba(10, 14, 13, 0.98)),
		radial-gradient(circle at top right, rgba(var(--coe-accent-rgb), 0.15), transparent 70%);
	border: 1px solid var(--coe-line-strong);
	border-radius: var(--coe-radius);
	padding: var(--coe-space-6);
	margin-bottom: var(--coe-space-8);
	position: relative;
	overflow: hidden;
}

.cyber-panel::after {
	content: "01000011 01001111 01000101";
	position: absolute;
	bottom: 8px;
	right: 16px;
	font-family: var(--coe-font-mono);
	font-size: 11px;
	color: rgba(var(--coe-ink-rgb), 0.05);
	letter-spacing: 0.15em;
	pointer-events: none;
}

.underworld-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--coe-space-5);
	margin-top: var(--coe-space-6);
}

.underworld-card {
	background: var(--coe-panel);
	border: 1px solid var(--coe-line);
	border-radius: var(--coe-radius);
	padding: var(--coe-space-5);
	transition: all var(--coe-dur) var(--coe-ease);
	position: relative;
}

.underworld-card:hover {
	border-color: rgba(var(--coe-accent-rgb), 0.45);
	transform: translateY(-2px);
}

.underworld-tag {
	font-family: var(--coe-font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--coe-accent);
	margin-bottom: 6px;
	display: block;
}

.underworld-card h3 {
	font-size: var(--coe-text-md);
	margin-bottom: 8px;
}

.underworld-card p {
	font-size: var(--coe-text-sm);
	color: var(--coe-muted);
	line-height: 1.5;
}

/* Money Laundering Callout */
.laundry-box {
	background: linear-gradient(135deg, rgba(230, 182, 92, 0.08), rgba(20, 26, 22, 0.7));
	border: 1px solid rgba(230, 182, 92, 0.3);
	border-radius: var(--coe-radius);
	padding: var(--coe-space-5);
	margin-top: var(--coe-space-6);
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--coe-space-4);
	align-items: center;
}

.laundry-icon {
	width: 52px;
	height: 52px;
	background: rgba(230, 182, 92, 0.15);
	border: 1px solid rgba(230, 182, 92, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	border-radius: var(--coe-radius);
	color: #e6b65c;
}

/* ==========================================================================
   GARAGE & MOTORSPORTS WORKSHOP
   ========================================================================== */

.garage-feature-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--coe-space-8);
	align-items: center;
	margin-top: var(--coe-space-6);
}

.parts-list-table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--coe-text-sm);
	margin-top: var(--coe-space-4);
}

.parts-list-table th,
.parts-list-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid var(--coe-line);
}

.parts-list-table th {
	font-size: var(--coe-text-xs);
	text-transform: uppercase;
	color: var(--coe-subtle);
	letter-spacing: 0.08em;
	background: rgba(var(--coe-ink-rgb), 0.03);
}

.parts-list-table tr:hover td {
	background: rgba(var(--coe-accent-rgb), 0.04);
}

/* ==========================================================================
   ALL JOBS DIRECTORY
   ========================================================================== */

.jobs-showcase-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: var(--coe-space-4);
	margin-top: var(--coe-space-6);
}

.job-card {
	background: var(--coe-panel);
	border: 1px solid var(--coe-line);
	border-radius: var(--coe-radius);
	padding: var(--coe-space-4);
	display: flex;
	gap: var(--coe-space-3);
	align-items: flex-start;
	transition: all var(--coe-dur) var(--coe-ease);
}

.job-card:hover {
	border-color: rgba(var(--coe-accent-rgb), 0.4);
	background: var(--coe-panel-raised);
	transform: translateY(-2px);
}

.job-badge-icon {
	width: 44px;
	height: 44px;
	background: var(--coe-page);
	border: 1px solid var(--coe-line-strong);
	border-radius: var(--coe-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.job-meta h4 {
	font-size: var(--coe-text-sm);
	margin-bottom: 3px;
	color: var(--coe-text);
}

.job-meta p {
	font-size: var(--coe-text-xs);
	color: var(--coe-muted);
	line-height: 1.4;
}

.job-type-tag {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 2px 6px;
	border-radius: 2px;
	margin-top: 6px;
	letter-spacing: 0.06em;
}

.job-type-tag--free {
	background: rgba(var(--coe-accent-rgb), 0.12);
	color: var(--coe-accent);
}

.job-type-tag--business {
	background: rgba(230, 182, 92, 0.15);
	color: #e6b65c;
}

.job-type-tag--public {
	background: rgba(141, 182, 216, 0.15);
	color: #8db6d8;
}

/* ==========================================================================
   POLICE TO FBI CAREER PROGRESSION
   ========================================================================== */

.fbi-career-section {
	margin-top: var(--coe-space-8);
}

.career-ladder-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--coe-space-4);
	margin-top: var(--coe-space-6);
}

.career-stage-card {
	background: var(--coe-panel);
	border: 1px solid var(--coe-line);
	border-radius: var(--coe-radius);
	padding: var(--coe-space-5);
	position: relative;
	transition: all var(--coe-dur) var(--coe-ease);
}

.career-stage-card:hover {
	border-color: rgba(var(--coe-accent-rgb), 0.5);
	transform: translateY(-2px);
}

.stage-badge-level {
	font-family: var(--coe-font-mono);
	font-size: 11px;
	font-weight: 700;
	color: var(--coe-accent);
	letter-spacing: 0.1em;
	display: block;
	margin-bottom: 6px;
}

.career-stage-card h3 {
	font-size: var(--coe-text-md);
	margin-bottom: 8px;
}

.career-stage-card p {
	font-size: var(--coe-text-sm);
	color: var(--coe-muted);
	line-height: 1.5;
	margin-bottom: 12px;
}

.stage-perks {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
	border-top: 1px solid var(--coe-line);
	padding-top: 10px;
}

.stage-perks li {
	font-size: var(--coe-text-xs);
	color: var(--coe-text);
	display: flex;
	gap: 6px;
}

.stage-perks li span {
	color: var(--coe-accent);
}

.fbi-spotlight {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: var(--coe-space-6);
	align-items: center;
	background: linear-gradient(135deg, rgba(16, 24, 34, 0.95), rgba(12, 17, 24, 0.98));
	border: 1px solid rgba(141, 182, 216, 0.3);
	border-radius: var(--coe-radius);
	padding: var(--coe-space-6);
	margin-top: var(--coe-space-8);
}

.fbi-spotlight img {
	width: 100%;
	border-radius: var(--coe-radius);
	border: 1px solid var(--coe-line-strong);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
	cursor: pointer;
}

/* ==========================================================================
   MAZE BANK & BLINDAGEM PATRIMONIAL
   ========================================================================== */

.maze-bank-box {
	background: linear-gradient(135deg, rgba(28, 24, 16, 0.95), rgba(18, 16, 12, 0.98));
	border: 1px solid rgba(230, 182, 92, 0.35);
	border-radius: var(--coe-radius);
	padding: var(--coe-space-6);
	margin-top: var(--coe-space-8);
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: var(--coe-space-6);
	align-items: center;
}

.maze-bank-box img {
	width: 100%;
	border-radius: var(--coe-radius);
	border: 1px solid rgba(230, 182, 92, 0.3);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
	cursor: pointer;
}

.maze-features-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--coe-space-3);
	margin-top: var(--coe-space-4);
}

.maze-feature-item {
	background: rgba(var(--coe-ink-rgb), 0.03);
	border: 1px solid rgba(230, 182, 92, 0.2);
	border-radius: var(--coe-radius);
	padding: var(--coe-space-3);
}

.maze-feature-item h4 {
	font-size: var(--coe-text-xs);
	color: #e6b65c;
	margin-bottom: 4px;
	letter-spacing: 0.06em;
}

.maze-feature-item p {
	font-size: 11px;
	color: var(--coe-muted);
	line-height: 1.4;
}

/* ==========================================================================
   JOB DETAILS MODAL
   ========================================================================== */

.job-modal-dialog {
	max-width: 640px;
}

.job-modal-banner {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: var(--coe-radius);
	border: 1px solid var(--coe-line-strong);
	margin-bottom: var(--coe-space-4);
}

.job-detail-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--coe-space-3);
	background: var(--coe-panel-raised);
	border: 1px solid var(--coe-line);
	border-radius: var(--coe-radius);
	padding: var(--coe-space-3);
	margin-bottom: var(--coe-space-4);
}

.job-stat-box {
	text-align: center;
}

.job-stat-label {
	font-size: 10px;
	text-transform: uppercase;
	color: var(--coe-subtle);
	letter-spacing: 0.08em;
	display: block;
}

.job-stat-val {
	font-size: var(--coe-text-sm);
	font-weight: 700;
	color: var(--coe-accent);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 1140px) {
	.main-nav {
		display: none;
	}

	.main-nav.mobile-active {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 70px;
		left: 0;
		right: 0;
		background: var(--coe-panel);
		border-bottom: 1px solid var(--coe-line);
		padding: var(--coe-space-5);
		gap: var(--coe-space-4);
		box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
	}

	.mobile-menu-btn {
		display: block;
	}

	.fbi-spotlight,
	.maze-bank-box {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 992px) {
	.tab-content.active {
		grid-template-columns: 1fr;
	}

	.simulator-wrap {
		grid-template-columns: 1fr;
	}

	.garage-feature-wrap {
		grid-template-columns: 1fr;
	}

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

@media (max-width: 600px) {
	.hero-actions {
		flex-direction: column;
	}

	.hero-actions .coe-button {
		width: 100%;
	}

	.server-status-card {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--coe-space-3);
		width: 100%;
	}

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

	.card-info-fields {
		grid-template-columns: 1fr;
	}

	.maze-features-grid {
		grid-template-columns: 1fr;
	}

	.job-detail-stats {
		grid-template-columns: 1fr;
	}
}
