html {
	scroll-behavior: smooth;
}

/* thin scrollbar for the sidebar nav */
.scrollbar-thin::-webkit-scrollbar {
	width: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
	background: transparent;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
	background-color: #33333e;
	border-radius: 9999px;
}

.scrollbar-thin {
	scrollbar-width: thin;
	scrollbar-color: #33333e transparent;
}

.category-list.collapsed {
	display: none;
}

.category-toggle .chevron.rotated {
	transform: rotate(90deg);
}

.team-btn.active[data-team="1"] {
	border-color: rgba(139, 92, 246, 0.6);
	background-color: rgba(139, 92, 246, 0.12);
	color: #c4b5fd;
}

.team-btn.active[data-team="2"] {
	border-color: rgba(245, 158, 11, 0.6);
	background-color: rgba(245, 158, 11, 0.12);
	color: #fcd34d;
}

.team-btn.active[data-team="3"] {
	border-color: rgba(14, 165, 233, 0.6);
	background-color: rgba(14, 165, 233, 0.12);
	color: #7dd3fc;
}

@keyframes modal-in {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.98);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

#configModal:not(.hidden) .relative {
	animation: modal-in 0.15s ease-out;
}

/* ---------- Toasts ---------- */
.toast {
	opacity: 0;
	transform: translateY(-16px) scale(0.97);
	transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.toast.toast-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.toast-progress {
	transform: scaleX(1);
}

.toast-progress.toast-progress-run {
	transition: transform 2.8s linear;
	transform: scaleX(0);
}

/* ---------- Skin / knife / glove cards & CS2 Aesthetics ---------- */
.skin-spotlight {
	background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08) 0%, rgba(18, 18, 25, 1) 70%);
	position: relative;
	border: 1px solid rgba(255, 255, 255, 0.03);
}

.skin-card, .overview-card {
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skin-card:hover, .overview-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px -3px rgba(59, 130, 246, 0.2);
}

.skin-card:active, .overview-card:active {
	transform: translateY(0) scale(0.98);
}

.skin-card.border-blue-500\/70 {
	box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35), 0 8px 24px -8px rgba(59, 130, 246, 0.4);
}

.weapon-nav-btn {
	transition: all 0.15s ease-out;
}

.weapon-nav-btn.active {
	background-color: rgba(59, 130, 246, 0.15) !important;
	color: #ffffff !important;
	font-weight: 600;
	border-left: 3px solid #3b82f6;
}

/* Glassmorphism containers */
.glass-panel {
	background: rgba(13, 13, 19, 0.85);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.08);
}
