/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  ZENITH OS - CYBERDECK INTERFACE SYSTEM                                 ║
   ║  Retro-futuristic 1980s Terminal Aesthetic                              ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

@import url('https://fonts.googleapis.com/css2?family=VT323&family=Share+Tech+Mono&family=Orbitron:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

/* ═══════════════════════════════════════════════════════════════════════════
   CSS VARIABLES - System Color Palette
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
	/* Core Colors */
	--terminal-green: #00ff41;
	--terminal-green-dim: rgba(0, 255, 65, 0.7);
	--terminal-green-glow: rgba(0, 255, 65, 0.4);
	--terminal-dark: #000000;
	--terminal-darker: #020502;
	
	/* Variable Mappings */
	--background-color: #000000;
	--header-active-background-color: rgba(0, 255, 65, 0.25);
	--header-hover-background-color: rgba(0, 255, 65, 0.1);
	--input-background-color: #000000;
	--border-color: #00ff41;
	--text-color: #00ff41;
	--hover-text-color: rgba(0, 255, 65, 0.7);
	--active-text-color: #00ff41;
	--utility-background-color: #000000;
	--utility-shadow-color: rgba(0, 255, 65, 0.2);
	--hr-background: rgba(0, 255, 65, 0.3);
	--navbar-background-color: #000000;
	--page-text-color: rgba(0, 255, 65, 0.6);
	--shortcut-background-color: #000000;
	--shortcut-box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
	--image-outline-color: #00ff41;
	--button-background-color: transparent;
	--button-gradient-color: linear-gradient(135deg, rgba(0, 255, 65, 0.2) 0%, transparent 100%);
	--link-hover-color: #00ff41;
	--dshadow1: rgba(0, 255, 65, 0.3);
	--dshadow2: rgba(0, 255, 65, 0.2);
	--dshadow3: rgba(0, 255, 65, 0.4);
	--dshadow4: rgba(0, 255, 65, 0.15);
	
	/* UI Colors */
	--scrolltop-background-color: rgba(0, 10, 5, 0.9);
	--random-btn-background-color: #000000;
	--random-btn-hover-background-color: rgba(0, 255, 65, 0.1);
	--settingsection-background-color: #020502;
	--settingsection-background-color-hover: rgba(0, 255, 65, 0.05);
	--dropdown-background-color: #000000;
	--dropdown-hover-background-color: rgba(0, 255, 65, 0.1);
	--toast-background: rgba(0, 255, 65, 0.9);
	--failtoast-background: rgba(255, 0, 60, 0.9);
	--password-background-color: #050505;
	--panic-key-successful-color: #00ff41;
	--panic-key-failed-color: #ff003c;
	--slider-background-color: #00ff41;
	--checkbox-background-color: #00ff41;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CRT MONITOR EFFECTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Scanlines Overlay */
body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 99999;
	background: 
		repeating-linear-gradient(
			0deg,
			rgba(0, 0, 0, 0.1) 0px,
			rgba(0, 0, 0, 0.1) 1px,
			transparent 1px,
			transparent 3px
		);
	mix-blend-mode: overlay;
}

/* Screen Glow Effect */
body::after {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 99998;
	background: radial-gradient(
		ellipse at center,
		transparent 0%,
		transparent 60%,
		rgba(0, 0, 0, 0.4) 100%
	);
}

/* Subtle Flicker */
@keyframes crt-flicker {
	0%, 100% { opacity: 1; }
	92% { opacity: 1; }
	93% { opacity: 0.95; }
	94% { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BASE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

* {
	box-sizing: border-box;
}

body {
	padding: 0;
	margin: 0;
	background: 
		radial-gradient(ellipse at 50% 0%, rgba(0, 255, 65, 0.03) 0%, transparent 50%),
		linear-gradient(180deg, #020502 0%, #000000 30%, #000000 100%);
	background-attachment: fixed;
	font-family: 'VT323', 'Share Tech Mono', monospace;
	color: var(--text-color);
	min-height: 100vh;
	animation: crt-flicker 8s linear infinite;
	overflow-x: hidden;
}

body img {
	-webkit-user-drag: none;
	user-select: none;
}

::-webkit-scrollbar {
	width: 8px;
	background: #000000;
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #00ff41 0%, rgba(0, 255, 65, 0.5) 100%);
	border: 1px solid rgba(0, 255, 65, 0.3);
}

::-webkit-scrollbar-track {
	background: rgba(0, 255, 65, 0.05);
}

::selection {
	background: rgba(0, 255, 65, 0.3);
	color: #00ff41;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

h1 {
	font-family: 'Orbitron', 'VT323', monospace;
	font-size: 48px;
	font-weight: 700;
	color: #00ff41;
	text-shadow: 
		0 0 10px rgba(0, 255, 65, 0.8),
		0 0 30px rgba(0, 255, 65, 0.4),
		0 0 60px rgba(0, 255, 65, 0.2);
	letter-spacing: 4px;
	text-transform: uppercase;
}

p {
	font-family: 'VT323', monospace;
	font-size: 20px;
	color: rgba(0, 255, 65, 0.8);
	line-height: 1.6;
	text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
}

a {
	color: #00ff41;
	text-decoration: none;
	transition: all 0.2s ease;
}

a:hover {
	text-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION SIDEBAR
   ═══════════════════════════════════════════════════════════════════════════ */

.navbar {
	list-style-type: none;
	padding: 8px 5px;
	margin: 0;
	width: 2.5em;
	height: 100%;
	background: 
		linear-gradient(90deg, rgba(0, 255, 65, 0.03) 0%, transparent 100%),
		#000000;
	border-right: 1px solid rgba(0, 255, 65, 0.3);
	position: fixed;
	left: 0;
	top: 0;
	text-align: center;
	z-index: 2147483640;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: 
		2px 0 30px rgba(0, 255, 65, 0.1),
		inset -10px 0 30px rgba(0, 0, 0, 0.5);
}

.navbar::before {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	width: 1px;
	height: 100%;
	background: linear-gradient(
		180deg,
		transparent 0%,
		#00ff41 10%,
		#00ff41 90%,
		transparent 100%
	);
	opacity: 0.5;
}

.navbar li {
	margin: 3px 0;
}

.navbar hr {
	width: 35px;
	height: 1px;
	background: linear-gradient(90deg, transparent, #00ff41, transparent);
	border: none;
	margin: 10px 0;
	opacity: 0.4;
}

.navbar span,
.navbar div:not(.navHover) {
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.navbar span:hover,
.navbar div:not(.navHover):hover {
	background: linear-gradient(135deg, rgba(0, 255, 65, 0.15) 0%, transparent 100%);
	transform: scale(1.1);
	cursor: pointer;
}

.navbar span.material-symbols-outlined {
	font-size: 22px;
	margin: 8px 0;
	padding: 8px;
	color: #00ff41;
	text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
	display: block;
}

#navactive {
	background: linear-gradient(135deg, rgba(0, 255, 65, 0.2) 0%, transparent 100%);
	box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
	border-left: 2px solid #00ff41;
}

.fa-brands {
	font-size: 18px;
	color: #00ff41;
	text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
	transition: all 0.2s ease;
}

.fa-brands:hover {
	text-shadow: 0 0 20px rgba(0, 255, 65, 0.8);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOGO
   ═══════════════════════════════════════════════════════════════════════════ */

.logo {
	width: 38px;
	height: 38px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	user-select: none;
	filter: drop-shadow(0 0 8px rgba(0, 255, 65, 0.5));
}

.logo:hover {
	transform: scale(1.15) rotate(5deg);
	filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.8));
	cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.header {
	position: absolute;
	transform: translate(-50%, -50%);
	left: 50%;
	top: 50%;
	justify-content: center;
	z-index: 10;
}

.header > h1 p {
	font-size: 18px;
	margin: 10px 0;
	font-weight: 400;
	letter-spacing: 3px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEARCH INPUT
   ═══════════════════════════════════════════════════════════════════════════ */

.search-header {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.search-header__input {
	font-family: 'VT323', monospace;
	font-size: 22px;
	letter-spacing: 2px;
	background: 
		linear-gradient(90deg, rgba(0, 255, 65, 0.02) 0%, transparent 50%, rgba(0, 255, 65, 0.02) 100%),
		#000000;
	border: 2px solid rgba(0, 255, 65, 0.5);
	border-radius: 0;
	color: #00ff41;
	padding: 16px 24px;
	width: 400px;
	height: 30px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
	caret-color: #00ff41;
}

.search-header__input:hover {
	border-color: #00ff41;
	box-shadow: 
		0 0 40px rgba(0, 255, 65, 0.2),
		inset 0 0 30px rgba(0, 255, 65, 0.02);
}

.search-header__input:focus {
	outline: none;
	border-color: #00ff41;
	box-shadow: 
		0 0 60px rgba(0, 255, 65, 0.3),
		0 0 100px rgba(0, 255, 65, 0.1),
		inset 0 0 40px rgba(0, 255, 65, 0.03);
	padding-left: 30px;
	padding-right: 30px;
}

.search-header__input::-webkit-input-placeholder {
	color: rgba(0, 255, 65, 0.35);
	font-family: 'VT323', monospace;
	letter-spacing: 3px;
}

.search-header__button {
	position: absolute;
	right: 15px;
	border: none;
	background: transparent;
	cursor: pointer;
	padding: 5px;
}

.search-header__icon {
	height: 20px;
	width: 20px;
	fill: rgba(0, 255, 65, 0.5);
	transition: all 0.2s ease;
}

.search-header__button:hover .search-header__icon {
	fill: #00ff41;
	filter: drop-shadow(0 0 8px rgba(0, 255, 65, 0.8));
}

.searchEngineIcon {
	width: 24px;
	height: 24px;
	border-radius: 0;
	object-fit: cover;
	position: absolute;
	left: -40px;
	z-index: 999;
	filter: drop-shadow(0 0 5px rgba(0, 255, 65, 0.5));
	border: 1px solid rgba(0, 255, 65, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
	position: relative;
	padding: 12px 30px;
	border: 2px solid #00ff41;
	border-radius: 0;
	background: transparent;
	color: #00ff41;
	font-family: 'VT323', monospace;
	font-size: 20px;
	letter-spacing: 3px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-transform: uppercase;
	overflow: hidden;
	clip-path: polygon(
		0 5px, 5px 0,
		calc(100% - 5px) 0, 100% 5px,
		100% calc(100% - 5px), calc(100% - 5px) 100%,
		5px 100%, 0 calc(100% - 5px)
	);
}

.btn::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0, 255, 65, 0.1) 0%, transparent 50%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.btn:hover::before {
	opacity: 1;
}

.btn:hover {
	box-shadow: 
		0 0 30px rgba(0, 255, 65, 0.4),
		inset 0 0 20px rgba(0, 255, 65, 0.1);
	text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
	transform: translateY(-2px);
}

.btn:active {
	transform: translateY(1px) scale(0.98);
	box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}

.btn a,
.btn p,
.btn span,
.btn i {
	color: #00ff41 !important;
	text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
}

.btn:hover a,
.btn:hover p,
.btn:hover span,
.btn:hover i {
	color: #00ff41 !important;
	text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MATERIAL ICONS
   ═══════════════════════════════════════════════════════════════════════════ */

.material-symbols-outlined {
	user-select: none;
	cursor: pointer;
	font-variation-settings: 'FILL' 0, 'wght' 300;
}

span.material-symbols-outlined {
	font-size: 22px;
	color: #00ff41;
	text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PARTICLES BACKGROUND
   ═══════════════════════════════════════════════════════════════════════════ */

#particles-js {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DECORATIVE BLOBS - Converted to Grid Lines
   ═══════════════════════════════════════════════════════════════════════════ */

.blob,
.blobsmall,
.blobtop {
	display: none;
}

.blobbig {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -2;
	background: 
		linear-gradient(90deg, rgba(0, 255, 65, 0.02) 1px, transparent 1px),
		linear-gradient(rgba(0, 255, 65, 0.02) 1px, transparent 1px);
	background-size: 50px 50px;
	opacity: 0.5;
	box-shadow: none;
	filter: none;
	border-radius: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

@keyframes fade-in-top {
	0% {
		transform: translateY(-30px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes fade-in-bottom {
	0% {
		transform: translateY(30px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes fade-in-left {
	0% {
		transform: translateX(-30px);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

.fade-in-top {
	animation: fade-in-top 0.6s ease-out;
}

.typewrite {
	color: #00ff41;
	text-shadow: 
		0 0 10px rgba(0, 255, 65, 0.8),
		0 0 30px rgba(0, 255, 65, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

.toast,
.failtoast {
	position: fixed;
	top: 25px;
	right: 30px;
	padding: 20px 30px;
	background: #000000;
	border: 2px solid;
	z-index: 9999999999;
	transform: translateX(calc(100% + 50px));
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	clip-path: polygon(
		0 10px, 10px 0,
		calc(100% - 10px) 0, 100% 10px,
		100% calc(100% - 10px), calc(100% - 10px) 100%,
		10px 100%, 0 calc(100% - 10px)
	);
}

.toast {
	border-color: #00ff41;
	box-shadow: 0 0 40px rgba(0, 255, 65, 0.3);
}

.failtoast {
	border-color: #ff003c;
	box-shadow: 0 0 40px rgba(255, 0, 60, 0.3);
}

.toast.active,
.failtoast.active {
	transform: translateX(0);
}

.toast-content,
.failtoast-content {
	display: flex;
	align-items: center;
	gap: 15px;
}

.toast-content .check,
.failtoast-content .fail {
	font-size: 28px;
}

.toast-content .check {
	color: #00ff41;
}

.failtoast-content .fail {
	color: #ff003c;
}

.message .text,
.failmessage .failtext {
	font-family: 'VT323', monospace;
	font-size: 18px;
	color: rgba(0, 255, 65, 0.8);
}

.failmessage .failtext {
	color: rgba(255, 0, 60, 0.8);
}

.message .text.text-1,
.failmessage .failtext.text-1 {
	font-weight: 600;
	color: #00ff41;
	font-size: 20px;
}

.failmessage .failtext.text-1 {
	color: #ff003c;
}

.toast .close,
.failtoast .failclose {
	position: absolute;
	top: 10px;
	right: 15px;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

.toast .close:hover,
.failtoast .failclose:hover {
	opacity: 1;
}

.toast .progress,
.failtoast .failprogress {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 3px;
	width: 100%;
	background: rgba(0, 255, 65, 0.2);
}

.failtoast .failprogress {
	background: rgba(255, 0, 60, 0.2);
}

.progress.active::before,
.failprogress.active::before {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	animation: progress 5s linear forwards;
}

.progress.active::before {
	background: #00ff41;
}

.failprogress.active::before {
	background: #ff003c;
}

@keyframes progress {
	0% { width: 100%; }
	100% { width: 0%; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PASSWORD INPUT
   ═══════════════════════════════════════════════════════════════════════════ */

.password {
	width: 100%;
	height: 50px;
	padding: 0 20px 0 50px;
	border: 2px solid rgba(0, 255, 65, 0.4);
	border-radius: 0;
	background: #000000;
	color: #00ff41;
	font-family: 'VT323', monospace;
	font-size: 20px;
	transition: all 0.3s ease;
}

.password:focus {
	outline: none;
	border-color: #00ff41;
	box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

.password::placeholder {
	color: rgba(0, 255, 65, 0.4);
}

.pgroup {
	display: flex;
	align-items: center;
	position: relative;
	max-width: 350px;
}

.picon {
	position: absolute;
	left: 18px;
	width: 20px;
	height: 20px;
	color: rgba(0, 255, 65, 0.6);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PANIC KEY STATES
   ═══════════════════════════════════════════════════════════════════════════ */

.panicKey {
	background: rgba(0, 255, 65, 0.05);
	transition: all 0.3s ease;
}

.panicKeyFailed {
	background: rgba(255, 0, 60, 0.1) !important;
	border-color: #ff003c !important;
	box-shadow: 0 0 40px rgba(255, 0, 60, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════════════ */

.no-animation {
	animation: none !important;
	transition: none !important;
}

.no-animation2 {
	animation: none !important;
	transition: none !important;
	opacity: 1 !important;
}

.rounded {
	border-radius: 0 !important;
}

.sparkles {
	stroke-width: 1.5px;
	color: #00ff41;
	width: 24px;
	height: 24px;
	position: absolute;
	right: 0.5em;
	top: 0.5em;
	filter: drop-shadow(0 0 5px rgba(0, 255, 65, 0.5));
}

.sparkles:hover {
	animation: pulse-glow 0.3s ease infinite;
}

@keyframes pulse-glow {
	0%, 100% { filter: drop-shadow(0 0 5px rgba(0, 255, 65, 0.5)); }
	50% { filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.8)); }
}

.content {
	position: absolute;
	transform: translate(-50%, -50%);
	left: 50%;
	top: 50%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CHANGELOG LAUNCHER
   ═══════════════════════════════════════════════════════════════════════════ */

#changelogfy-launcher {
	background: rgba(0, 255, 65, 0.1) !important;
	border: 1px solid rgba(0, 255, 65, 0.3) !important;
	backdrop-filter: blur(10px);
}

.flex.flex-1.justify-between.relative.z-10.px-5.py-5.sm\:px-8 {
	background: rgba(0, 255, 65, 0.1) !important;
	backdrop-filter: blur(10px) !important;
}
