/* List Component Styles */

.list-section {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Size Variants */
.list-size-small {
	padding: 50px 30px;
}

.list-size-medium {
	padding: 80px 30px;
}

.list-size-large {
	padding: 120px 30px;
}

/* Background Styles */
.list-bg-gradient {
	background: linear-gradient(
		135deg,
		var(--carbon-dark) 0%,
		var(--carbon-medium) 50%,
		var(--carbon-dark) 100%
	);
	border-top: 1px solid var(--metal-dark);
	border-bottom: 1px solid var(--metal-dark);
}

.list-bg-gradient::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse at center,
		rgba(153, 69, 255, 0.15) 0%,
		transparent 70%
	);
	pointer-events: none;
}

.list-bg-dark {
	background: var(--primary-black);
	border-top: 1px solid var(--metal-dark);
	border-bottom: 1px solid var(--metal-dark);
}

.list-bg-pattern {
	background: transparent;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.list-bg-dots {
	background: linear-gradient(180deg,
			var(--primary-black) 0%,
			var(--carbon-dark) 50%,
			var(--primary-black) 100%);
	border-top: 1px solid var(--metal-dark);
	border-bottom: 1px solid var(--metal-dark);
}

/* Container */
.list-container {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
	width: 100%;
}

.list-size-large .list-container {
	max-width: 1200px;
}

/* Header */
.list-header {
	text-align: center;
	margin-bottom: 40px;
}

.list-title {
	font-size: 42px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 15px;
	line-height: 1.2;
	background: linear-gradient(
		135deg,
		var(--text-primary) 0%,
		var(--accent-purple) 50%,
		var(--accent-cyan) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.list-subtitle {
	font-size: 18px;
	color: var(--text-secondary);
	line-height: 1.6;
	max-width: 700px;
	margin: 0 auto;
}

/* List Box */
.list-box {
	background: linear-gradient(
		135deg,
		rgba(18, 18, 18, 0.75),
		rgba(26, 26, 26, 0.35)
	);
	border: 1px solid var(--metal-dark);
	border-radius: 16px;
	padding: 40px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(10px);
}

/* List Items */
.list-items {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.list-item {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 18px;
	color: var(--text-primary);
	line-height: 1.6;
	padding: 16px 20px;
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.03),
		rgba(255, 255, 255, 0.01)
	);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	transition: all 0.3s ease;
	opacity: 0;
	animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.list-item:hover {
	background: linear-gradient(
		135deg,
		rgba(153, 69, 255, 0.1),
		rgba(41, 98, 255, 0.05)
	);
	border-color: var(--accent-purple);
	transform: translateX(5px);
}

/* Icons */
.list-item-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
}

.list-item-emoji {
	font-size: 24px;
}

.list-item-mdi {
	width: 28px;
	height: 28px;
}

.list-item-mdi img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: brightness(0) saturate(100%) invert(67%) sepia(53%) saturate(4076%) hue-rotate(226deg) brightness(101%) contrast(101%);
}

.list-item:hover .list-item-mdi img {
	filter: brightness(0) saturate(100%) invert(50%) sepia(98%) saturate(2270%) hue-rotate(259deg) brightness(101%) contrast(101%);
}

/* Text */
.list-item-text {
	flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
	.list-size-small {
		padding: 40px 20px;
	}

	.list-size-medium {
		padding: 60px 20px;
	}

	.list-size-large {
		padding: 80px 20px;
	}

	.list-title {
		font-size: 28px;
	}

	.list-subtitle {
		font-size: 16px;
	}

	.list-header {
		margin-bottom: 30px;
	}

	.list-box {
		padding: 25px;
	}

	.list-items {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.list-item {
		font-size: 16px;
		padding: 12px 16px;
	}

	.list-item-icon {
		width: 28px;
		height: 28px;
	}

	.list-item-emoji {
		font-size: 20px;
	}

	.list-item-mdi {
		width: 24px;
		height: 24px;
	}
}

/* Particles for dots background */
.list-particles {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	overflow: hidden;
	pointer-events: none;
}

.list-particles .particle {
	position: absolute;
	width: 4px;
	height: 4px;
	background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
	border-radius: 50%;
	opacity: 0;
	animation: float-particle 20s infinite linear;
}

@keyframes float-particle {
	0% {
		transform: translateY(100vh) translateX(0);
		opacity: 0;
	}
	5% {
		opacity: 0.8;
	}
	95% {
		opacity: 0.8;
	}
	100% {
		transform: translateY(-100vh) translateX(100px);
		opacity: 0;
	}
}
