* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.container {
	height: 100vh;
	background: #fdfdfd;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	position: relative;
	cursor: pointer;
	flex-direction: column;
	gap: 3rem;
	padding-top: 3rem;
}

.cursor-hint {
	opacity: 0.5;
	transition: opacity 0.3s ease;
}

.text-display:hover .cursor-hint {
	opacity: 0;
}

.text-display {
	font-size: clamp(7rem, 20vw, 15rem);
	font-weight: 800;
	color: #2a2a2a;
	display: flex;
	align-items: baseline;
	letter-spacing: -0.03em;
	line-height: 0.85;
}

.letter-c1 {
	position: relative;
	z-index: 10;
}

.letter-c2,
.letter-s1,
.letter-s2,
.letter-s3,
.letter-r,
.letter-i,
.letter-p,
.letter-t {
	max-width: 0;
	overflow: hidden;
	opacity: 0;
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.letter-s3,
.letter-c2,
.letter-r,
.letter-i,
.letter-p,
.letter-t {
	color: #3b82f6;
	font-weight: 600;
}

.text-display:hover .letter-s1 {
	max-width: 200px;
	opacity: 1;
	transition-delay: 0.05s;
}

.text-display:hover .letter-s2 {
	max-width: 200px;
	opacity: 1;
	transition-delay: 0.1s;
}

.text-display:hover .letter-s3 {
	max-width: 200px;
	opacity: 1;
	transition-delay: 0.13s;
}

.text-display:hover .letter-c2 {
	max-width: 200px;
	opacity: 1;
	transition-delay: 0.16s;
}

.text-display:hover .letter-r {
	max-width: 200px;
	opacity: 1;
	transition-delay: 0.19s;
}

.text-display:hover .letter-i {
	max-width: 200px;
	opacity: 1;
	transition-delay: 0.22s;
}

.text-display:hover .letter-p {
	max-width: 200px;
	opacity: 1;
	transition-delay: 0.28s;
}

.text-display:hover .letter-t {
	max-width: 200px;
	opacity: 1;
	transition-delay: 0.33s;
}

.credit {
	position: absolute;
	bottom: 20px;
	right: 20px;
	opacity: 0.4;
	transition: opacity 0.2s ease;
}

.credit a {
	color: #666;
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 500;
}

.credit:hover {
	opacity: 0.8;
}

@media (max-width: 768px) {
	.text-display {
		font-size: clamp(5rem, 25vw, 12rem);
	}

	.container {
		gap: 2rem;
	}
}
