<style>
@import url('https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,200..900;1,7..72,200..900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100vh;
width: 100vw;
overflow-x: hidden;
background: #0a0a0f;
background-image:
radial-gradient(circle at 25% 25%, #1a1a2e 0%, transparent 50%),
radial-gradient(circle at 75% 75%, #16213e 0%, transparent 50%),
radial-gradient(circle at 50% 50%, #0f0f23 0%, transparent 50%);
background-size: 300px 300px, 400px 400px, 250px 250px;
background-position: 0 0, 150px 150px, 300px 100px;
position: relative;
}
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
repeating-linear-gradient(
0deg,
transparent,
transparent 2px,
rgba(255,255,255,0.008) 2px,
rgba(255,255,255,0.008) 4px
),
repeating-linear-gradient(
90deg,
transparent,
transparent 2px,
rgba(255,255,255,0.006) 2px,
rgba(255,255,255,0.006) 4px
);
pointer-events: none;
z-index: 1;
}
body::after {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
radial-gradient(circle at 30% 20%, rgba(64,224,208,0.05) 0%, transparent 60%),
radial-gradient(circle at 70% 80%, rgba(138,43,226,0.04) 0%, transparent 60%);
pointer-events: none;
z-index: 2;
animation: pulse-ambient 8s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
}
@keyframes pulse-ambient {
0% { opacity: 0.3; transform: scale(1); }
100% { opacity: 0.6; transform: scale(1.05); }
}
#front {
position: absolute;
top: 2rem;
left: 2rem;
max-width: calc(100vw - 4rem);
font-family: 'Literata', Georgia, serif;
font-size: clamp(1rem, 3vw, 1.25rem);
line-height: 1.7;
color: #e8e6e3;
font-weight: 400;
text-align: left;
z-index: 10;
will-change: transform;
transform: translateZ(0);
letter-spacing: 0.01em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#front::before {
content: '';
position: fixed;
top: 15%;
right: 20%;
width: 60px;
height: 60px;
background: radial-gradient(circle, rgba(64,224,208,0.15) 0%, rgba(64,224,208,0.05) 40%, transparent 70%);
border-radius: 50%;
animation: cellular-drift 12s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
transform: translateZ(0);
will-change: transform;
z-index: 3;
}
#front::after {
content: '';
position: fixed;
bottom: 25%;
left: 15%;
width: 80px;
height: 2px;
background: linear-gradient(90deg, transparent 0%, rgba(138,43,226,0.2) 30%, rgba(138,43,226,0.4) 50%, rgba(138,43,226,0.2) 70%, transparent 100%);
animation: neural-pulse 6s steps(60) infinite;
transform: translateZ(0);
will-change: transform;
z-index: 4;
}
@keyframes cellular-drift {
0% {
transform: translateZ(0) translate(0, 0) rotate(0deg) scale(1);
opacity: 0.6;
}
25% {
transform: translateZ(0) translate(-30px, 20px) rotate(90deg) scale(1.1);
opacity: 0.8;
}
50% {
transform: translateZ(0) translate(-60px, -10px) rotate(180deg) scale(0.9);
opacity: 0.4;
}
75% {
transform: translateZ(0) translate(-30px, -40px) rotate(270deg) scale(1.2);
opacity: 0.7;
}
100% {
transform: translateZ(0) translate(0, 0) rotate(360deg) scale(1);
opacity: 0.6;
}
}
@keyframes neural-pulse {
0%, 100% {
transform: translateZ(0) scaleX(1) scaleY(1);
opacity: 0.3;
}
50% {
transform: translateZ(0) scaleX(1.5) scaleY(2);
opacity: 0.8;
}
}
body {
counter-reset: synaptic-node;
}
body:nth-child(1)::before {
content: '';
position: fixed;
top: 40%;
right: 10%;
width: 4px;
height: 4px;
background: rgba(64,224,208,0.6);
border-radius: 50%;
animation: synaptic-orbit 15s linear infinite;
transform: translateZ(0);
will-change: transform;
z-index: 5;
box-shadow:
0 0 10px rgba(64,224,208,0.3),
0 0 20px rgba(64,224,208,0.1);
}
@keyframes synaptic-orbit {
0% {
transform: translateZ(0) rotate(0deg) translateX(100px) rotate(0deg);
}
100% {
transform: translateZ(0) rotate(360deg) translateX(100px) rotate(-360deg);
}
}
@media (max-width: 768px) {
#front {
top: 1.5rem;
left: 1.5rem;
max-width: calc(100vw - 3rem);
font-size: clamp(0.9rem, 4vw, 1.1rem);
line-height: 1.6;
}
#front::before {
width: 40px;
height: 40px;
top: 20%;
right: 15%;
}
#front::after {
width: 60px;
bottom: 30%;
left: 20%;
}
}
@media (max-width: 480px) {
#front {
top: 1rem;
left: 1rem;
max-width: calc(100vw - 2rem);
font-size: clamp(0.85rem, 4.5vw, 1rem);
line-height: 1.55;
}
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Fraunces', serif;
font-weight: 600;
color: #f5f3f0;
margin-bottom: 1rem;
line-height: 1.3;
text-align: left;
}
h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
h2 { font-size: clamp(1.3rem, 4vw, 1.7rem); }
h3 { font-size: clamp(1.1rem, 3.5vw, 1.4rem); }
strong, b {
color: #40e0d0;
font-weight: 600;
}
em, i {
color: #dda0dd;
font-style: italic;
}
code {
font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
background: rgba(255,255,255,0.1);
padding: 0.2em 0.4em;
border-radius: 3px;
font-size: 0.9em;
color: #98fb98;
}
</style>
<div id="front">{{Front}}</div>