#cc-splash {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #070d24;
	transition:
		opacity 800ms ease,
		visibility 800ms ease;
}

#cc-splash.cc-splash--hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.cc-splash__glow {
	position: absolute;
	inset: -25%;
	background: radial-gradient(
		circle at center,
		rgba(0, 229, 255, 0.16) 0%,
		rgba(10, 24, 61, 0.3) 32%,
		rgba(7, 13, 36, 0) 62%
	);
	animation: cc-glow-pulse 3.6s ease-in-out infinite;
}

.cc-splash__rings {
	position: absolute;
	top: 49.5%;
	left: 50%;
	width: 0;
	height: 0;
}

.cc-splash__ring {
	position: absolute;
	top: 0;
	left: 0;
	width: 48px;
	height: 48px;
	margin: -24px 0 0 -24px;
	border-radius: 50%;
	border: 5px solid rgba(0, 229, 255, 0.55);
	filter: blur(3px);
	opacity: 0;
	animation: cc-shockwave 3.6s ease-out infinite;
	animation-delay: 2.8s;
}

.cc-splash__logo {
	position: relative;
	width: min(42vw, 320px);
	transition:
		opacity 800ms ease,
		transform 800ms ease;
}

.cc-splash__logo-pulse {
	filter: drop-shadow(0 0 28px rgba(0, 229, 255, 0.4));
	animation: cc-logo-pulse 3.6s ease-in-out infinite;
}

.cc-splash__logo img {
	display: block;
	width: 100%;
	height: auto;
}

#cc-splash.cc-splash--hidden .cc-splash__logo {
	opacity: 0;
	transform: scale(0.85);
}

@keyframes cc-glow-pulse {
	0%,
	100% {
		opacity: 0.7;
		transform: scale(1);
	}
	50% {
		opacity: 1;
		transform: scale(1.08);
	}
}

@keyframes cc-shockwave {
	0% {
		opacity: 0.5;
		transform: scale(1);
	}
	70% {
		opacity: 0;
	}
	100% {
		opacity: 0;
		transform: scale(9);
	}
}

@keyframes cc-logo-pulse {
	0%,
	100% {
		opacity: 0.8;
		transform: scale(0.9) translateY(6px);
	}
	50% {
		opacity: 1;
		transform: scale(1.14) translateY(-10px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cc-splash__glow,
	.cc-splash__ring,
	.cc-splash__logo {
		animation: none;
	}
}
