body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #0a0a0a;
	color: #e0e0e0;
	font-family: 'Montserrat', sans-serif;
	overflow-x: hidden;
}

.logo-fullscreen {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 250px;
	height: 250px;
	z-index: 100;
	opacity: 0;
	animation: moveLogoUp 2.5s ease-in-out forwards;
}

.logo-animation-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #0a0a0a;
	z-index: 99;
	pointer-events: none;
	animation: fadeOutBackground 1.5s ease-out 2s forwards;
}

.container {
	width: 90%;
	max-width: 400px;
	padding: 30px 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInContent 1s ease-out 2.5s forwards;
}

.background-particles {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: -100;
}

.particle {
	position: absolute;
	background-color: #ff3333;
	bottom: -20px;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}

@keyframes floatUp {
	0% {
		transform: translateY(0) translateX(0);
		opacity: 0.5;
	}
	50% {
		opacity: 0.2;
	}
	100% {
		transform: translateY(-100vh) translateX(var(--x-dest, 0));
		opacity: 0;
	}
}

@keyframes moveLogoUp {
	0% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.8);
	}
	20% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
	80% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, -150%) scale(0.8);
	}
}

@keyframes fadeOutBackground {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@keyframes fadeInContent {
	from {
		opacity: 0;
		transform: translateY(50px);
	}
	to {
		opacity: 1;
		transform: translateY(20px);
	}
}

.logo-img {
	width: 160px;
	height: 160px;
	margin-bottom: 20px;
	transition: transform 0.5s ease-out;
}
h1 {
	font-size: 2.2rem;
	font-weight: 700;
	color: #ff3333;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow: 0 0 8px rgba(255, 51, 51, 0.4);
	margin-bottom: 25px;
}
.input-wrapper {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
}
input {
	width: 100%;
	height: 50px;
	padding: 12px;
	margin: 12px 0;
	border: 1px solid #333;
	border-radius: 6px;
	background: #1c1c1c;
	color: #e0e0e0;
	font-size: 1rem;
	box-sizing: border-box;
	transition:
		border-color 0.3s,
		box-shadow 0.3s;
}
input:focus {
	outline: none;
	border-color: #ff3333;
	box-shadow: 0 0 6px rgba(255, 51, 51, 0.5);
}
#songTitle {
	border-radius: 25px;
}
button {
	width: min-content;
	padding: 12px;
	margin: 15px auto;
	border: none;
	border-radius: 6px;
	background: #cc0000;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	transition:
		background 0.3s,
		box-shadow 0.3s,
		transform 0.2s;
}
button:disabled {
	opacity: 0;
}
button:hover:not(:disabled) {
	background: #ff3333;
	box-shadow: 0 0 10px rgba(255, 51, 51, 0.6);
	transform: translateY(-2px);
}
button:active:not(:disabled) {
	transform: translateY(0);
	box-shadow: none;
}
#message {
	min-height: 24px;
	font-size: 0.9rem;
	margin-top: 15px;
	transition: opacity 0.5s ease-in-out;
}
#message p {
	margin: 0;
}
#message p[style*='color:green'] {
	color: #00cc66;
	text-shadow: 0 0 4px rgba(0, 204, 102, 0.4);
	animation: flashGreen 0.5s ease-in-out;
}
#message p[style*='color:red'] {
	color: #ff4d4d;
	text-shadow: 0 0 4px rgba(255, 77, 77, 0.4);
	animation: shake 0.5s;
}
#message p[style*='color:orange'] {
	color: #ffcc00;
	text-shadow: 0 0 4px rgba(255, 204, 0, 0.4);
}
#overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 10;
	display: flex;
	justify-content: center;
	align-items: center;
}
#countdown-text {
	color: #ffcc00;
	font-size: 2rem;
	font-weight: bold;
	position: absolute;
	top: 30vh;
}
.input-wrapper.disabled input,
.input-wrapper.disabled button {
	pointer-events: none;
	opacity: 0.5;
}
#playlist-container {
	width: 100%;
	margin-top: 20px;
	max-height: 400px;
	overflow-y: auto;
	z-index: 11;
}
iframe {
	width: 100%;
	height: 380px;
	border: none;
	border-radius: 8px;
}
#suggestions {
	list-style: none;
	padding: 0;
	margin: 0;
	top: 72px;
	background: #1c1c1c;
	border: 1px solid #333;
	border-radius: 6px;
	max-height: 200px;
	overflow-y: auto;
	position: absolute;
	z-index: 1;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition:
		opacity 0.3s,
		transform 0.3s,
		visibility 0s 0.3s;
}
#suggestions li {
	padding: 10px;
	border-bottom: 1px solid #333;
	cursor: pointer;
	transition: background 0.3s;
}
#suggestions li:hover {
	background: #ff3333;
}
#suggestions.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition-delay: 0s;
}

.input-field-icon {
	position: relative;
}
.input-field-icon i {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #888;
	transition: color 0.3s;
}
.input-field-icon input:focus + i,
.input-field-icon:hover i {
	color: #ff3333;
}
.button-icon {
	margin-right: 8px;
}

#message p i {
	margin-right: 5px;
}

@keyframes shake {
	10%,
	90% {
		transform: translate3d(-1px, 0, 0);
	}
	20%,
	80% {
		transform: translate3d(2px, 0, 0);
	}
	30%,
	50%,
	70% {
		transform: translate3d(-4px, 0, 0);
	}
	40%,
	60% {
		transform: translate3d(4px, 0, 0);
	}
}

@keyframes flashGreen {
	0% {
		color: #00cc66;
	}
	50% {
		color: #fff;
	}
	100% {
		color: #00cc66;
	}
}
