/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  ZENITH TERMINAL v2.0 - RETRO CYBERDECK INTERFACE                       ║
   ║  A tribute to 1980s computing aesthetics                                ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

/* ═══════════════════════════════════════════════════════════════════════════
   COMMAND BAR - Top Navigation Strip
   ═══════════════════════════════════════════════════════════════════════════ */

.utility {
	list-style-type: none;
	padding: 0;
	margin: 0;
	width: calc(100% - 2.5rem - 9px);
	height: 52px;
	background: 
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 2px,
			rgba(0, 255, 65, 0.03) 2px,
			rgba(0, 255, 65, 0.03) 4px
		),
		linear-gradient(180deg, #020502 0%, #000000 50%, #010301 100%);
	border-bottom: 1px solid #00ff41;
	border-left: 1px solid rgba(0, 255, 65, 0.5);
	position: fixed;
	left: calc(2.5rem + 9px);
	z-index: 2147483641;
	display: flex;
	align-items: center;
	padding-left: 15px;
	padding-right: 10px;
	box-shadow: 
		0 0 40px rgba(0, 255, 65, 0.08),
		inset 0 -20px 40px rgba(0, 0, 0, 0.5);
}

.utility::before {
	content: "▶ ZENITH";
	font-family: 'VT323', monospace;
	font-size: 16px;
	color: #00ff41;
	padding: 4px 12px;
	background: rgba(0, 255, 65, 0.1);
	border: 1px solid rgba(0, 255, 65, 0.4);
	margin-right: 15px;
	text-shadow: 0 0 10px #00ff41;
	letter-spacing: 3px;
	animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
	0%, 100% { border-color: rgba(0, 255, 65, 0.4); }
	50% { border-color: rgba(0, 255, 65, 0.8); }
}

.utility li {
	display: inline-flex;
	margin: 0 2px;
}

.utility hr {
	width: 2px;
	height: 30px;
	background: linear-gradient(180deg, 
		transparent 0%, 
		#00ff41 20%, 
		#00ff41 80%, 
		transparent 100%
	);
	border: none;
	margin: 0 12px;
	opacity: 0.4;
}

#utilityactive {
	background: linear-gradient(135deg, rgba(0, 255, 65, 0.3) 0%, rgba(0, 200, 50, 0.15) 100%);
	box-shadow: 
		0 0 20px rgba(0, 255, 65, 0.4),
		inset 0 0 15px rgba(0, 255, 65, 0.1);
}

.utility .utilityIcon {
	position: relative;
	padding: 8px;
	clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
	background: transparent;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.utility .utilityIcon:hover {
	background: linear-gradient(135deg, rgba(0, 255, 65, 0.2) 0%, transparent 100%);
	transform: translateY(-2px);
}

.utility .utilityIcon:active {
	transform: translateY(1px) scale(0.95);
}

.utility span.material-symbols-outlined {
	font-size: 20px;
	margin: 0;
	padding: 4px;
	color: #00ff41;
	text-shadow: 
		0 0 10px rgba(0, 255, 65, 0.8),
		0 0 20px rgba(0, 255, 65, 0.4);
	transition: all 0.2s ease;
}

.utility .utilityIcon:hover span.material-symbols-outlined {
	text-shadow: 
		0 0 15px rgba(0, 255, 65, 1),
		0 0 30px rgba(0, 255, 65, 0.6),
		0 0 45px rgba(0, 255, 65, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ADDRESS INPUT - Terminal Command Line
   ═══════════════════════════════════════════════════════════════════════════ */

.utility .search-header {
	flex: 1;
	margin: 0 15px;
	position: relative;
}

.utility .search-header__input {
	font-family: 'VT323', 'Courier New', monospace;
	font-size: 20px;
	letter-spacing: 1px;
	background: 
		linear-gradient(90deg, rgba(0, 255, 65, 0.02) 0%, transparent 50%, rgba(0, 255, 65, 0.02) 100%),
		#000000;
	border: none;
	border-bottom: 2px solid #00ff41;
	border-radius: 0;
	color: #00ff41;
	padding: 10px 20px;
	height: 24px;
	width: 100%;
	min-width: 200px;
	transition: all 0.3s ease;
	text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
	caret-color: #00ff41;
	box-shadow: none;
}

.utility .search-header__input::placeholder {
	color: rgba(0, 255, 65, 0.3);
	font-family: 'VT323', monospace;
	letter-spacing: 2px;
}

.utility .search-header__input:hover,
.utility .search-header__input:focus {
	background: 
		linear-gradient(90deg, rgba(0, 255, 65, 0.05) 0%, transparent 50%, rgba(0, 255, 65, 0.05) 100%),
		#000000;
	box-shadow: 
		0 4px 30px rgba(0, 255, 65, 0.15),
		inset 0 0 30px rgba(0, 255, 65, 0.02);
	border-bottom-color: #00ff41;
	outline: none;
	padding: 10px 20px;
}

#gointospace2 {
	font-family: 'VT323', monospace;
	font-size: 20px;
	color: #00ff41;
	text-overflow: ellipsis;
	padding: 10px 45px;
	text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
	transition: all 0.2s ease;
}

#gointospace2:hover {
	color: #00ff41;
	text-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
}

#gointospace2:focus {
	color: #00ff41;
	text-shadow: 0 0 20px rgba(0, 255, 65, 1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN SEARCH - Central Command Input
   ═══════════════════════════════════════════════════════════════════════════ */

#gointospace {
	font-family: 'VT323', monospace;
	font-size: 28px;
	letter-spacing: 3px;
	padding: 20px 55px;
	text-overflow: ellipsis;
	background: 
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 3px,
			rgba(0, 255, 65, 0.015) 3px,
			rgba(0, 255, 65, 0.015) 6px
		),
		#000000;
	border: none;
	border-left: 4px solid #00ff41;
	border-radius: 0;
	color: #00ff41;
	width: 500px;
	height: 35px;
	text-shadow: 0 0 15px rgba(0, 255, 65, 0.7);
	box-shadow: 
		-10px 0 60px rgba(0, 255, 65, 0.15),
		inset 0 0 60px rgba(0, 255, 65, 0.02);
	position: relative;
	transition: all 0.3s ease;
}

#gointospace::before {
	content: ">";
	position: absolute;
	left: 20px;
	color: #00ff41;
}

#gointospace::placeholder {
	color: rgba(0, 255, 65, 0.35);
	text-shadow: none;
	letter-spacing: 2px;
}

#gointospace:focus {
	outline: none;
	border-left-width: 6px;
	padding-left: 53px;
	box-shadow: 
		-15px 0 80px rgba(0, 255, 65, 0.25),
		0 0 100px rgba(0, 255, 65, 0.1),
		inset 0 0 80px rgba(0, 255, 65, 0.03);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION CONTROLS
   ═══════════════════════════════════════════════════════════════════════════ */

.refreshButton,
.backButton,
.forwardButton,
.homeButton,
.fullscreenButton,
.erudaButton {
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.backButton,
.forwardButton {
	opacity: 0.35;
}

.refreshButton:hover {
	animation: rotate-glow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes rotate-glow {
	0% { 
		transform: rotate(0deg); 
	}
	100% { 
		transform: rotate(360deg);
	}
}

@keyframes rotateReload {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECURITY INDICATOR
   ═══════════════════════════════════════════════════════════════════════════ */

.webSecurityIcon {
	position: absolute !important;
	top: 17px !important;
	left: 15px !important;
	color: #00ff41;
	height: 18px !important;
	width: 18px !important;
	font-size: 18px !important;
	text-shadow: 0 0 12px #00ff41;
	animation: security-pulse 3s ease-in-out infinite;
}

@keyframes security-pulse {
	0%, 100% { opacity: 0.7; }
	50% { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHORTCUTS GRID - Program Matrix
   ═══════════════════════════════════════════════════════════════════════════ */

.shortcuts {
	width: 650px;
	display: grid;
	grid-template-columns: repeat(auto-fit, 65px);
	gap: 20px;
	justify-content: center;
	margin-top: 90px;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.shortcut {
	width: 65px;
	height: 65px;
	background: 
		linear-gradient(135deg, rgba(0, 255, 65, 0.08) 0%, transparent 50%),
		#000000;
	border: 1px solid rgba(0, 255, 65, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	animation: matrix-load 0.6s ease-out backwards;
	position: relative;
	overflow: hidden;
	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)
	);
}

.shortcut::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		45deg,
		transparent 40%,
		rgba(0, 255, 65, 0.1) 50%,
		transparent 60%
	);
	transform: translateX(-100%);
	transition: transform 0.5s ease;
}

.shortcut:hover::before {
	transform: translateX(100%);
}

.shortcut::after {
	content: "";
	position: absolute;
	inset: 2px;
	border: 1px solid transparent;
	transition: border-color 0.3s ease;
}

.shortcut:hover::after {
	border-color: rgba(0, 255, 65, 0.3);
}

.shortcut:hover {
	transform: translateY(-5px) scale(1.05);
	border-color: #00ff41;
	box-shadow: 
		0 10px 40px rgba(0, 255, 65, 0.3),
		0 0 60px rgba(0, 255, 65, 0.15),
		inset 0 0 30px rgba(0, 255, 65, 0.05);
	cursor: pointer;
}

.shortcut img {
	width: 35px;
	height: 35px;
	padding: 0;
	object-fit: contain;
	filter: 
		drop-shadow(0 0 3px rgba(0, 255, 65, 0.4))
		brightness(1.1);
	transition: all 0.25s ease;
}

.shortcut:hover img {
	filter: 
		drop-shadow(0 0 10px rgba(0, 255, 65, 0.8))
		drop-shadow(0 0 20px rgba(0, 255, 65, 0.4))
		brightness(1.2);
	transform: scale(1.1);
}

@keyframes matrix-load {
	0% {
		opacity: 0;
		transform: scale(0.3) rotateY(90deg);
		border-color: transparent;
	}
	60% {
		border-color: #00ff41;
	}
	100% {
		opacity: 1;
		transform: scale(1) rotateY(0deg);
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   BIG SHORTCUTS - Featured Applications
   ═══════════════════════════════════════════════════════════════════════════ */

.shortcutsBig {
	width: 1150px;
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
	margin-top: -50px;
	position: absolute;
	left: 50vw;
	transform: translateX(-50%);
}

.shortcutBig {
	background: transparent;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.shortcutBigimg {
	animation: slide-up 0.7s ease-out backwards;
}

@keyframes slide-up {
	0% {
		opacity: 0;
		transform: translateY(40px) scale(0.95);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.shortcutBig img {
	width: 200px;
	height: 110px;
	border: 2px solid rgba(0, 255, 65, 0.4);
	background: #000000;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	filter: grayscale(0.4) brightness(0.9);
	clip-path: polygon(
		0 15px, 15px 0,
		calc(100% - 15px) 0, 100% 15px,
		100% calc(100% - 15px), calc(100% - 15px) 100%,
		15px 100%, 0 calc(100% - 15px)
	);
}

.shortcutBig img:hover {
	transform: translateY(-10px) scale(1.03);
	border-color: #00ff41;
	border-width: 2px;
	filter: grayscale(0) brightness(1.1);
	box-shadow: 
		0 20px 50px rgba(0, 255, 65, 0.25),
		0 0 80px rgba(0, 255, 65, 0.1);
	cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOADING ANIMATION - Boot Sequence
   ═══════════════════════════════════════════════════════════════════════════ */

.spinner {
	width: 70px;
	height: 70px;
	border: 3px solid transparent;
	border-top: 3px solid #00ff41;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin: 0 auto 30px;
	position: relative;
	box-shadow: 
		0 0 30px rgba(0, 255, 65, 0.3),
		inset 0 0 20px rgba(0, 255, 65, 0.1);
}

.spinner::before {
	content: "";
	position: absolute;
	inset: 8px;
	border: 2px solid transparent;
	border-right: 2px solid rgba(0, 255, 65, 0.5);
	border-radius: 50%;
	animation: spin 1.2s linear infinite reverse;
}

.spinner1 {
	display: none;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.spinnerParent {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.spinnerParent::after {
	content: "INITIALIZING...";
	font-family: 'VT323', monospace;
	font-size: 18px;
	color: #00ff41;
	text-shadow: 0 0 10px #00ff41;
	letter-spacing: 4px;
	animation: blink 0.5s step-end infinite;
	margin-top: 20px;
}

@keyframes blink {
	50% { opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   DECORATIVE SVG ELEMENTS
   ═══════════════════════════════════════════════════════════════════════════ */

.utilityBar svg path {
	fill: #000000 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   IFRAME VIEWPORT
   ═══════════════════════════════════════════════════════════════════════════ */

#intospace {
	background: #000000 !important;
	border-left: 2px solid rgba(0, 255, 65, 0.5) !important;
	box-shadow: inset 5px 0 30px rgba(0, 255, 65, 0.05);
}
