
:root {
	--bg-dark: #0A192F;
	--text-dark: #E0F7FA;
	--accent: #64FFDA;
	--glow: #A7FFEB;

	--dropdown-bg: #0F2A44;
  --dropdown-fg: #E5E7EB;
}

body {
	background-color: #0f172a;
	/* Page background */
	color: #e5e7eb;
	/* Default text color */
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	padding: 2rem;
	/* Padding around body content */
}

h1,
h2 {
	color: var(--accent);
	/* Accent-colored headers */
}

.container {
	max-width: 900px;
	margin: auto;
	/* Center the content horizontally */
}

.summary {
	color: #94a3b8;
	/* Muted, gray-blue text */
	font-style: italic;
	margin-bottom: 2rem;
}

section {
	margin-bottom: 3rem;
	/* Spacing between sections */
}

ul {
	padding-left: 1.5rem;
	/* Indent list items */
}

li {
	margin-bottom: 0.5rem;
}

.carousel-wrapper {
	position: relative;
	width: 100%;
	overflow: visible;
	/* So buttons below aren't clipped */
	margin-bottom: 3rem;
}

.carousel {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	/* Snap scrolling for clean alignment */
	scroll-behavior: smooth;
	scrollbar-width: none;
	/* Hide scrollbar on Firefox */
	-ms-overflow-style: none;
	/* Hide scrollbar on Edge/IE */
}

.carousel::-webkit-scrollbar {
	display: none;
	/* Hide scrollbar on Chrome/Safari */
}

.screenshot-wrapper {
	flex: 0 0 100%;
	/* Take full width for each image */
	scroll-snap-align: start;
	text-align: center;
	padding: 0 1rem;
	box-sizing: border-box;
	position: relative;
}

.screenshot {
	width: 100%;
	max-height: 400px;
	object-fit: contain;
	/* Keeps image aspect ratio */
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 255, 128, 0.1);
	/* Subtle glow effect */
}

.screenshot-caption {
	margin-top: 0.5rem;
	font-size: 0.9rem;
	color: #94a3b8;
	/* Muted caption */
}

/* Carousel navigation buttons placed underneath the carousel */
.carousel-controls-bottom {
	position: absolute;
	bottom: -1.5rem;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-between;
	padding: 0 1rem;
	z-index: 10;
}

.carousel-btn {
	background-color: rgba(15, 23, 42, 0.7);
	border: 1px solid var(--glow);
	color: var(--accent);
	font-size: 1.5rem;
	padding: 0.5rem 1rem;
	cursor: pointer;
	border-radius: 50%;
	transition: background 0.3s;
}

.carousel-btn:hover {
	background-color: rgba(56, 189, 248, 0.2);
}

.link-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.link-card {
	background: rgba(255, 255, 255, 0.05);
	padding: 1rem 1.5rem;
	border-radius: 8px;
	color: var(--text-dark);
	text-decoration: none;
	border: 1px solid var(--accent);
	transition: background 0.3s;
}

.link-card:hover {
	background: rgba(56, 189, 248, 0.1);
	/* Hover highlight */
}

#notification-container {
	position: fixed;
	top: 1rem;
	right: 1rem;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.notification {
	position: relative;
	background-color: rgba(15, 23, 42, 0.9);
	color: var(--text-dark);
	padding: 1rem 2.5rem 1rem 1rem;
	border: 1px solid var(--glow, var(--accent));
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	max-width: 300px;
	font-size: 0.95rem;
	word-wrap: break-word;
}

/* Notification when visible */
.notification.show {
	opacity: 1;
	transform: translateY(0);
}

/* Notification close button */
.notification button {
	position: absolute;
	top: 6px;
	right: 10px;
	background: none;
	border: none;
	color: inherit;
	font-size: 1rem;
	cursor: pointer;
	padding: 0;
	line-height: 1;
}


/* Dropdown toggle button */
.dropdown-toggle {
	position: fixed;
	top: 1rem;
	left: 1rem;
	font-size: 1.8rem;
	background: none;
	border: none;
	color: var(--accent);
	cursor: pointer;
	z-index: 1001;
}

/* Dropdown container styling */
.dropdown-menu {
	position: fixed;
	top: 3.5rem;
	left: 1rem;
	display: none;
	/* Hidden by default */
	flex-direction: column;
	background-color: var(--dropdown-bg);
	color: var(--dropdown-fg);
	border: 1px solid var(--glow);
	border-radius: 0.25rem;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	min-width: 150px;
	z-index: 1000;
}

/* Links/buttons inside dropdown */
.dropdown-menu a,
.dropdown-menu button {
	padding: 0.75rem 1rem;
	text-align: left;
	background: none;
	border: none;
	cursor: pointer;
	color: inherit;
	width: 100%;
	text-decoration: none;
	box-sizing: border-box;
}

/* Hover effect for dropdown items */
.dropdown-menu a:hover,
.dropdown-menu button:hover {
	background-color: rgba(100, 255, 218, 0.1);
	text-decoration: none;
}