.home-button {
	display: inline-block;
	padding: 10px 20px;
	background-color: #4caa7e;
	color: white;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	font-family: "ethnocentric";
	transition: background-color 0.3s ease;
}

.home-button:hover {
	background-color: #0056b3;
}
#ringo-rating {
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

#ringo-count-message,
#ringo-feedback-message {
	font-size: 1.2em;
	color: var(--text-color);
}
#countdown-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 5rem;
	z-index: 10000;
	background-color: rgba(0, 0, 0, 0.6); /* gets overridden for 'dontclick' */
	color: white;
}

#ringo-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
	z-index: 1000;
	text-align: center;
	padding-top: 50px;
}

#reset-button {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1000;
	padding: 10px 15px;
	background-color: #f5f5f5;
	border: 1px solid #ccc;
	cursor: pointer;
	border-radius: 4px;
}

#button {
	margin-top: 20px;
	text-align: center;
	color: aquamarine;
}

h1 {
	font-family: "ethnocentric", sans-serif;
	color: #4caa7e;
}

#lyrics-display span.cursor {
	border-left: 2px solid #4aff03;
	animation: blink 0.4s infinite;
}

@keyframes blink {
	50% {
		border-color: transparent;
	}
}

#song-title {
	color: white;
}

#lyrics-display span.cursor::after {
	content: "";
	position: relative;
	right: -1px;
	top: 0;
	width: 2px;
	height: 100%;
	background-color: cyan;
	animation: blink 1s step-start infinite;
}

#typing-container {
	max-width: 1000px;
	margin: 0 auto;
	overflow: hidden; /* Hide all overflow here */
	position: relative;
}

html {
	scroll-behavior: smooth;
}

#typing-container::-webkit-scrollbar {
	display: none; /* Hide scrollbar in WebKit */
}
#typing-container {
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
}

#song-title h2 {
	color: var(--text-color); /* already themed */
	transition: color 0.3s ease, text-shadow 0.3s ease;
}

#song-title h2.dark-title {
	text-shadow: 0 0 10px var(--secondary-color);
}

/* Lyrics display scrolls horizontally ONLY, no vertical scroll, no scrollbar visible */
#lyrics-display {
	white-space: nowrap; /* keep text in one line for horizontal scroll */
	overflow-x: auto;
	overflow-y: hidden;
	max-width: 100%;
	color: azure;
	padding: 1rem;
	font-size: 1.5rem;
	line-height: 1.4;
	margin: 0 auto;
	user-select: none;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
}

#lyrics-display::-webkit-scrollbar {
	display: none; /* Chrome, Safari */
}

/* Your existing span styles */
#lyrics-display span {
	opacity: 0.7;
	transition: opacity 0.3s ease, color 0.3s ease;
	user-select: none;
}

#lyrics-display span.correct {
	color: #20fa27;
	opacity: 1;
}

#lyrics-display span.incorrect {
	color: #f71a0a;
	opacity: 1;
}

#lyrics-display:focus {
	outline: 2px solid #2196f3;
}

#reset-button {
	height: 100px;
	width: 100px;
}

#lyrics-display span {
	color: var(--text-color);
	font-size: 1.2em;
	transition: color 0.3s ease;
}

#lyrics-display span.correct {
	color: limegreen;
}

#lyrics-display span.incorrect {
	color: crimson;
}

#lyrics-display span.cursor {
	border-left: 2px solid var(--text-color);
	animation: blink 1s step-end infinite;
}

@keyframes blink {
	50% {
		border-color: transparent;
	}
}

#progress-container {
	background: #333;
	border-radius: 8px;
	height: 10px;
	margin-bottom: 15px;
	overflow: hidden;
}

#progress-bar {
	background: #0cf404;
	width: 0%;
	height: 100%;
	transition: width 0.2s ease;
}

#themeoverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.9);
	color: white;
	display: none;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	z-index: 10001;
	text-align: center;
}

#countdown-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.85);
	color: white;
	display: none;
	justify-content: center;
	align-items: center;
	font-size: 10vw;
	font-weight: bold;
	z-index: 9999;
	transition: opacity 0.5s ease;
}

#ringo-rating {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.95);
	color: white;
	z-index: 10000;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-align: center;
	padding: 20px;
}

#reset-button {
	background-color: #61dafb;
	color: #000;
	border: none;
	border-radius: 5px;
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	transition: background-color 0.3s;
}
/* Optional: hide default controls and make custom play button */
/* That would require more JS, but this simple style helps a lot */
