:root {
	--glass-bg: rgba(255, 255, 255, 0.05);
	--glass-border: rgba(255, 255, 255, 0.1);
}

.animation {
	margin: 0;
	padding: 0;
	font-family: "Outfit", sans-serif;
	position: relative;
	width: 100%;
	height: 400px; /* Fixed height for the hero animation area */
	overflow: hidden;
}

/* Container for our physics divs */
#scene-container {
	position: absolute;
	top: -20%;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
}

/* The individual color "pills" */
.color-body {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
    gap: 8px; /* Space between icon and text */
	border-radius: 999px;
	/* Pill shape */
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	cursor: grab;
	user-select: none;
	will-change: transform;
	pointer-events: auto;
	/* Enable interaction */
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.15);
	transition: box-shadow 0.1s;
    padding-left: 4px; /* Slight optical adjustment */
    padding-right: 4px;
}

.crypto-icon {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
}

.color-body:active {
	cursor: grabbing;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
	transform: scale(1.05);
	/* Slight pop on grab */
}

/* UI Layer */
.ui-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 10;
	padding: 2rem;
	box-sizing: border-box;
	background: radial-gradient(
		circle at 50% 50%,
		transparent 80%,
		rgba(0, 0, 0, 0.4) 100%
	);
}

/* Canvas generated by Matter.js (hidden or debug) */
canvas {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	/* We hide the raw physics wireframes to show only our DOM elements */
	pointer-events: auto;
	/* Needs to catch mouse events for the physics engine */
}