html, body {
	height: 100%;
	margin: 0;
	overflow-x: hidden;
	overflow-y: auto;
}

body {
	background-color: #1a1a1a;
	color: white;
	font-family: 'Ubuntu', sans-serif !important;
	position: relative;
	transition: background-color 0.3s, color 0.3s;
	background-image: url('pc-guru-background.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	min-height: 100%;
	user-select: none;
}

.container {
	width: 100%;
	margin: 0 auto;
	padding: 0px;
	user-select: none;
}

@media screen and (max-width: 768px) {
	html {
		overflow-x: auto;
	}
}

h3, .text-xl {
	color: #ffffff;
	transition: color 0.3s ease;
}

.text-sm.text-orange-400.mt-2 {
	transition: color 0.3s ease;
}

.text-sm.text-orange-400.mt-2:hover {
	color: darkgray;
}

.markable {
  user-select: text;
}

body.no-scroll {
	overflow: hidden;
}

@keyframes pulseGlow {
  0%, 100% {
	text-shadow: 0 0 5px #f5deb3, 0 0 10px #f5deb3, 0 0 15px #f5deb3;
  }
  50% {
	text-shadow: 0 0 2px #f5deb3, 0 0 4px #f5deb3, 0 0 8px #f5deb3;
  }
}

.pulsating-glow {
  color: #ffffff;
  animation: pulseGlow 20s infinite ease-in-out;
}

.grid > a {
	background: rgba(30, 30, 30, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border: 1px solid orange;
	box-shadow: 0 0 8px rgba(245, 245, 220, 0.4), 0 0 12px rgba(245, 245, 220, 0.4);
	transition: box-shadow 0.3s ease;
}

.grid > a:hover {
	box-shadow: 0 0 12px rgba(245, 245, 220, 0.6), 0 0 16px rgba(245, 245, 220, 0.7);
	transform: scale(1.02);
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.popup-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.popup {
  background-color: #2a2a2a;
  padding: 24px 30px;
  border-radius: 12px;
  max-width: 640px;
  width: 90%;
  text-align: left;
  color: #f0f0f0;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  position: relative;
  transform: translateX(50px);
  opacity: 0;
  animation: slideInRight 0.4s forwards;
  font-size: 1rem;
  line-height: 1.5;
  user-select: none;
	
  border: 1px solid orange;
  box-shadow: 0 0 8px rgba(245, 245, 220, 0.4), 0 0 12px rgba(245, 245, 220, 0.4);
  
  max-height: 80vh;
  overflow-y: auto;
}

@keyframes slideInRight {
  to {
	transform: translateX(0);
	opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
	transform: translateX(0);
	opacity: 1;
  }
  to {
	transform: translateX(50px);
	opacity: 0;
  }
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  color: orange;
  cursor: pointer;
  transition: color 0.2s ease;
}
.close-btn:hover {
  color: darkgray;
}

.fixed-menu {
	position: fixed;
	top: 0;
	left: 50.5%;
	transform: translateX(-50%);
	z-index: 50;
	padding: 0px !important;
	display: flex;
	gap: 4px !important;
	justify-content: center;
	color: white;
	font-size: 0.95rem !important;
}

@media (max-width: 768px) {
	.fixed-menu {
		font-size: 0.85rem !important;
		gap: 10px;
	}
}

.fixed-menu a {
	text-decoration: none;
	color: white;
	padding: 1px 21px;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 3px;
	transition: background-color 0.3s ease;
	
	box-shadow: 0 0 8px rgba(245, 245, 220, 0.4);
}

.fixed-menu a:hover {
	background-color: rgba(0, 0, 0, 0.6);
	box-shadow: 0 0 6px rgba(245, 245, 220, 0.6), 0 0 12px rgba(245, 245, 220, 0.7);
	transform: scale(1.03);
}

/* Orange scrollbar for modern browsers */
.scrollbox::-webkit-scrollbar {
width: 10px;
}

.scrollbox::-webkit-scrollbar-track {
background: #1f2937; /* Matches bg-gray-800 */
}

.scrollbox::-webkit-scrollbar-thumb {
background-color: #FFA500;
border-radius: 6px;
border: 2px solid #1f2937;
}

/* Firefox */
.scrollbox {
scrollbar-width: thin;
scrollbar-color: #FFA500 #1f2937;
}