/* Filter Buttons */
.filter-btn {
	background: transparent;
	border: 3px solid #ffffff;
	color: #ffffff;
	padding: 12px 24px;
	font-family: 'Space Mono', monospace;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 2px;
	cursor: none;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
}

.filter-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: #ff7043;
	transition: left 0.3s ease;
	z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
	left: 0;
}

.filter-btn:hover,
.filter-btn.active {
	color: #1e1e1e;
	border-color: #ff7043;
	transform: translate(-2px, -2px);
	box-shadow: 4px 4px 0px #ff7043;
}

.filter-btn.digital.active::before,
.filter-btn.digital:hover::before {
	background: #00d4ff;
}

.filter-btn.digital:hover,
.filter-btn.digital.active {
	border-color: #00d4ff;
	box-shadow: 4px 4px 0px #00d4ff;
}

.filter-btn.physical.active::before,
.filter-btn.physical:hover::before {
	background: #ff7043;
}

.filter-btn.research.active::before,
.filter-btn.research:hover::before {
	background: #7e57c2;
}

.filter-btn.research:hover,
.filter-btn.research.active {
	color: #ffffff;
}

/* Search Input */
.search-container {
	position: relative;
	border: 3px solid #ffffff;
	background: #1e1e1e;
	transition: all 0.3s ease;
}

.search-container:focus-within {
	border-color: #ff7043;
	box-shadow: 4px 4px 0px #ff7043;
	transform: translate(-2px, -2px);
}

.search-input {
	background: transparent;
	border: none;
	color: #ffffff;
	font-family: 'Space Mono', monospace;
	font-size: 14px;
	padding: 16px 48px 16px 16px;
	width: 100%;
	outline: none;
}

.search-input::placeholder {
	color: #666;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.search-icon {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #ff7043;
	font-weight: bold;
}

/* Sort Dropdown */
.sort-select {
	background: #1e1e1e;
	border: 3px solid #ffffff;
	color: #ffffff;
	padding: 12px 40px 12px 16px;
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	appearance: none;
	cursor: none;
	transition: all 0.2s ease;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}

.sort-select:hover,
.sort-select:focus {
	border-color: #7e57c2;
	box-shadow: 4px 4px 0px #7e57c2;
	transform: translate(-2px, -2px);
	outline: none;
}

/* Pagination */
.page-btn {
	width: 48px;
	height: 48px;
	border: 3px solid #ffffff;
	background: transparent;
	color: #ffffff;
	font-family: 'Space Mono', monospace;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	cursor: none;
}

.page-btn:hover,
.page-btn.active {
	background: #ff7043;
	border-color: #ff7043;
	color: #1e1e1e;
	transform: translate(-2px, -2px);
	box-shadow: 4px 4px 0px #ff7043;
}

.page-btn.purple:hover {
	background: #7e57c2;
	border-color: #7e57c2;
	color: #ffffff;
	box-shadow: 4px 4px 0px #7e57c2;
}

/* Empty State */
.empty-state {
	border: 4px dashed #ffffff;
	padding: 60px;
	text-align: center;
	opacity: 0.5;
}

/* Loading State */
.skeleton {
	background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
	background-size: 200% 100%;
	animation: loading 1.5s infinite;
}

@keyframes loading {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}