body {
	background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%);
	color: #d4d4d4;
	font-family: 'Consolas', 'Menlo', 'monospace';
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	margin: 0;
	padding: 10px;
	box-sizing: border-box;
	overflow: hidden;
}

#background-canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 1;
	pointer-events: none;
}

.code-container {
	background: rgba(26, 32, 44, 0.85);
	border: 1px solid #2d3748;
	border-radius: 10px;
	padding: 18px 10px;
	width: 100%;
	max-width: 800px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
	overflow: auto;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	z-index: 3;
	position: relative;
}

#bio-code {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	white-space: pre-wrap;
	word-break: break-word;
}

.comment {
	color: #6a9955;
}
.keyword {
	color: #569cd6;
}
.class-name {
	color: #4ec9b0;
}
.function-name {
	color: #dcdcaa;
}
.string {
	color: #ce9178;
}
.number {
	color: #b5cea8;
}
.variable {
	color: #9cdcfe;
}
.operator {
	color: #d4d4d4;
}

.cursor {
	display: inline-block;
	background-color: #d4d4d4;
	width: 10px;
	height: 1.2em;
	animation: blink 1s infinite;
	vertical-align: bottom;
	margin-left: 2px;
}

@keyframes blink {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}

@media (max-width: 900px) {
	.code-container {
		max-width: 98vw;
		padding: 10px 2vw;
	}
	#bio-code {
		font-size: 15px;
	}
}

@media (max-width: 600px) {
	body {
		padding: 2px;
	}
	.code-container {
		max-width: 100vw;
		padding: 6px 1vw;
		border-radius: 5px;
	}
	#bio-code {
		font-size: 13px;
		line-height: 1.3;
	}
}

#modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 10;
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease;
}

#image-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 11;
	display: none;
	padding: 20px;
	background-color: #1a202c;
	border: 1px solid #2d3748;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

#image-modal img {
	max-width: 80vw;
	max-height: 80vh;
	display: block;
}

#close-modal {
	position: absolute;
	top: 10px;
	right: 15px;
	color: #fff;
	font-size: 30px;
	font-weight: bold;
	cursor: pointer;
}
