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

:root {
    --primary: #3b82f6;
    --bg: #0a1120;
    --text: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1;
    min-height: 100vh;
    overflow-x: hidden;
}

.intro {
    position: fixed;
    z-index: 10;
    inset: 0;
    background: var(--bg);
    display: grid;
    place-items: center;
    animation: introFade 0.5s ease forwards;
    animation-delay: 2.5s;
}

.intro-text {
    width: min(90vw, 1000px);
}

.intro-text text {
    font-size: 130px;
    font-weight: 900;
    text-transform: uppercase;
    stroke: var(--primary);
    fill: transparent;
    stroke-width: 2;
    stroke-dasharray: 850;
    stroke-dashoffset: 850;
    animation: drawStroke 2s ease forwards,
               fillText 1s ease forwards 1.5s;
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    animation: overlayReveal 0.8s ease forwards;
    animation-delay: 2s;
}

@keyframes drawStroke {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fillText {
    to {
        fill: var(--primary);
    }
}

@keyframes overlayReveal {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

@keyframes introFade {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG2y4x+KOlnyqla8AoWWpuBoYRxzXrfKuILl6SfiWCbjxoZJUaCBj1CjH7GIaDbc9kqBY3W/Rgjda1iqQcOJu2WW+76pZC9QG7M00dffe9hNnseupFL53r8F7YHSwJWUKP2q+k7RdsxyOB11n0xtOvnW4irMMFNV4H0uqwS5ExsmP9AxbDTc9JwgneAT5vTiUSm1E7BSflSt3bfa1tv8Di3R8n3Af7MNWzs49hmauE2wP+ttrq+AsWpFG2awvsuOqbipWHgtuvuaAE+A1Z/7gC9hesnr+7wqCwG8c5yAg3AL1fm8T9AZtp/bbJGwl1pNrE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==');
    opacity: 0.03;
    z-index: 1;
}

.container {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 5vw, 3rem);
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 2.8s;
}

.hero {
    text-align: center;
}

.welcome {
    margin-bottom: clamp(3rem, 8vh, 6rem);
    position: relative;
}

.subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 3s;
    position: relative;
    padding: 0.5rem 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 4px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.subtitle::after {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 15px;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    animation: lineGrow 0.8s ease forwards;
    animation-delay: 3.2s;
}

h1 {
    font-size: clamp(3.5rem, 15vw, 8rem);
    font-weight: 800;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpSpecial 1s ease forwards;
    animation-delay: 3.2s;
    position: relative;
    letter-spacing: -0.02em;
    background: linear-gradient(
        180deg,
        var(--text) 0%,
        rgba(248, 250, 252, 0.8) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.1));
}

h1::after {
    content: '';
    position: absolute;
    inset: -20px -40px;
    background: radial-gradient(circle at center, 
                               rgba(59, 130, 246, 0.1), 
                               transparent 70%);
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite;
}

.accent {
    display: inline-block;
    background: linear-gradient(
        45deg,
        var(--primary) 0%,
        #60a5fa 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: brightness(1.2);
    animation: glowPulse 3s ease-in-out infinite;
    position: relative;
}

.accent::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(
        circle at center,
        rgba(59, 130, 246, 0.2),
        transparent 70%
    );
    opacity: 0;
    animation: glowPulse 3s ease-in-out infinite;
}

.bg-elements {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
    background: var(--bg);
}

.wave-container {
    position: absolute;
    width: 200%;
    height: 200%;
    transform: translate(-25%, -25%);
}

.wave {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.1),
        rgba(37, 99, 235, 0.05)
    );
    border-radius: 40%;
    animation: waveFloat 15s ease-in-out infinite;
}

.wave:nth-child(2) {
    animation-duration: 17s;
    opacity: 0.3;
}

.wave:nth-child(3) {
    animation-duration: 25s;
    opacity: 0.2;
}

.particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(1px);
    animation: particleFloat 10s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: -2s; }
.particle:nth-child(3) { left: 30%; animation-delay: -4s; }
.particle:nth-child(4) { left: 40%; animation-delay: -6s; }
.particle:nth-child(5) { left: 50%; animation-delay: -8s; }
.particle:nth-child(6) { left: 60%; animation-delay: -10s; }
.particle:nth-child(7) { left: 70%; animation-delay: -12s; }
.particle:nth-child(8) { left: 80%; animation-delay: -14s; }
.particle:nth-child(9) { left: 90%; animation-delay: -16s; }
.particle:nth-child(10) { left: 95%; animation-delay: -18s; }

@keyframes waveFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(2%, 2%) scale(1.02);
    }
    50% {
        transform: translate(0, 4%) scale(1);
    }
    75% {
        transform: translate(-2%, 2%) scale(0.98);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
        transform: translateY(50vh) scale(1);
    }
    100% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .welcome {
        margin-bottom: 3rem;
    }
    
    .wave-container {
        transform: translate(-15%, -15%);
    }
    
    .wave:nth-child(1) { width: 80px; height: 80px; }
    .wave:nth-child(2) { width: 160px; height: 160px; }
    .wave:nth-child(3) { width: 240px; height: 240px; }
    
    .subtitle {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
    
    h1 {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }
}

nav {
    margin-top: 5rem;
}

.nav-items {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

nav a {
    position: relative;
    text-decoration: none;
    padding: 0.5rem;
}

.nav-text {
    color: var(--text);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.nav-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-glow {
    position: absolute;
    inset: -2px -10px;
    background: var(--primary);
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.3s ease;
}

nav a:hover .nav-text {
    color: var(--primary);
}

nav a:hover .nav-line {
    transform: scaleX(1);
    transform-origin: left;
}

nav a:hover .nav-glow {
    opacity: 0.15;
}

.matrix-effect {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(59, 130, 246, 0.05) 100%);
    mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h1v1H0zM4 4h1v1H4z' fill='%23000'/%3E%3C/svg%3E");
    mask-size: 20px 20px;
    opacity: 0.3;
}

.glow-circle-1, .glow-circle-2 {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    animation: moveAndPulse 20s ease-in-out infinite;
}

.glow-circle-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
}

.glow-circle-2 {
    width: 400px;
    height: 400px;
    background: #60a5fa;
    bottom: -100px;
    left: -100px;
    animation-delay: -10s;
}

.moving-gradient {
    position: fixed;
    inset: 0;
    background: linear-gradient(45deg,
        transparent 0%,
        rgba(59, 130, 246, 0.03) 45%,
        rgba(59, 130, 246, 0.1) 50%,
        rgba(59, 130, 246, 0.03) 55%,
        transparent 100%);
    animation: moveGradient 8s linear infinite;
}

.glowing-lines .line {
    position: fixed;
    width: 1px;
    height: 100vh;
    background: linear-gradient(180deg,
        transparent,
        var(--primary),
        transparent);
    opacity: 0.2;
    filter: blur(2px);
}

.line-1 { left: 20%; animation: lineMove 10s ease-in-out infinite; }
.line-2 { left: 50%; animation: lineMove 15s ease-in-out infinite; animation-delay: -5s; }
.line-3 { left: 80%; animation: lineMove 12s ease-in-out infinite; animation-delay: -8s; }

.cyber-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
}

@keyframes moveAndPulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translate(-100px, 100px) scale(1.2);
        opacity: 0.15;
    }
}

@keyframes moveGradient {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(50%) rotate(360deg);
    }
}

@keyframes lineMove {
    0%, 100% {
        transform: translateX(0) scaleY(0.8);
    }
    50% {
        transform: translateX(30px) scaleY(1.2);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

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

.cyber-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle at center,
        var(--primary) 1px,
        transparent 1px
    );
    background-size: 40px 40px;
    opacity: 0.1;
    animation: rotateDots 80s linear infinite;
}

.gradient-sphere, .gradient-sphere-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.gradient-sphere {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(59, 130, 246, 0.2),
        rgba(37, 99, 235, 0.1),
        transparent 70%
    );
    top: -25%;
    right: -25%;
    animation: sphereFloat 20s ease-in-out infinite;
}

.gradient-sphere-2 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(
        circle at 70% 70%,
        rgba(59, 130, 246, 0.15),
        rgba(37, 99, 235, 0.05),
        transparent 70%
    );
    bottom: -20%;
    left: -20%;
    animation: sphereFloat 25s ease-in-out infinite reverse;
}

.animated-lines {
    position: absolute;
    inset: 0;
}

.h-line, .v-line {
    position: absolute;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(59, 130, 246, 0.2),
        transparent
    );
}

.h-line {
    height: 1px;
    width: 100%;
    animation: scanline 8s linear infinite;
}

.h-line:nth-child(1) { top: 25%; animation-delay: -4s; }
.h-line:nth-child(2) { top: 75%; animation-delay: -2s; }

.v-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(59, 130, 246, 0.2),
        transparent
    );
    animation: scanlineVertical 12s linear infinite;
}

.v-line:nth-child(3) { left: 25%; animation-delay: -3s; }
.v-line:nth-child(4) { left: 75%; animation-delay: -6s; }

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.05;
    mix-blend-mode: overlay;
}

@keyframes rotateDots {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sphereFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-5%, 5%);
    }
}

@keyframes scanline {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes scanlineVertical {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    mix-blend-mode: screen;
}

.blob-1 {
    width: 50vw;
    height: 50vw;
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    animation: blobFloat 25s infinite;
}

.blob-2 {
    width: 40vw;
    height: 40vw;
    background: linear-gradient(-45deg, #60a5fa, #3b82f6);
    animation: blobFloat 20s infinite reverse;
    animation-delay: -5s;
}

.blob-3 {
    width: 35vw;
    height: 35vw;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    animation: blobFloat 30s infinite;
    animation-delay: -10s;
}

.dynamic-lines {
    position: absolute;
    inset: 0;
}

.line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary),
        transparent
    );
    animation: lineMove 8s linear infinite;
    opacity: 0;
}

.line:nth-child(1) { top: 20%; animation-delay: 0s; }
.line:nth-child(2) { top: 40%; animation-delay: -1.6s; }
.line:nth-child(3) { top: 60%; animation-delay: -3.2s; }
.line:nth-child(4) { top: 80%; animation-delay: -4.8s; }
.line:nth-child(5) { top: 100%; animation-delay: -6.4s; }

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(2px);
    animation: particleFloat 15s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: -2s; }
.particle:nth-child(3) { left: 30%; animation-delay: -4s; }
.particle:nth-child(4) { left: 40%; animation-delay: -6s; }
.particle:nth-child(5) { left: 60%; animation-delay: -8s; }
.particle:nth-child(6) { left: 70%; animation-delay: -10s; }
.particle:nth-child(7) { left: 80%; animation-delay: -12s; }
.particle:nth-child(8) { left: 90%; animation-delay: -14s; }

.rings {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ring {
    position: absolute;
    border: 1px solid var(--primary);
    border-radius: 50%;
    animation: ringPulse 10s infinite;
    opacity: 0;
}

.ring:nth-child(1) {
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.ring:nth-child(2) {
    width: 400px;
    height: 400px;
    animation-delay: -3.3s;
}

.ring:nth-child(3) {
    width: 600px;
    height: 600px;
    animation-delay: -6.6s;
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(5%, 10%) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(10%, -5%) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(-5%, 5%) rotate(270deg) scale(1.05);
    }
}

@keyframes lineMove {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    20% {
        opacity: 0.5;
    }
    80% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
    10%, 90% {
        opacity: 0.5;
    }
    50% {
        transform: translateY(100vh) scale(1);
    }
}

@keyframes ringPulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .blob-1 { width: 70vw; height: 70vw; }
    .blob-2 { width: 60vw; height: 60vw; }
    .blob-3 { width: 50vw; height: 50vw; }
    
    .ring:nth-child(1) { width: 150px; height: 150px; }
    .ring:nth-child(2) { width: 300px; height: 300px; }
    .ring:nth-child(3) { width: 450px; height: 450px; }
}

.main-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(59, 130, 246, 0.03),
        transparent 60%
    );
    animation: pulseGradient 10s ease-in-out infinite;
}

.fog-layer {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    filter: blur(100px);
}

.fog-1 {
    background: linear-gradient(
        217deg,
        rgba(59, 130, 246, 0.1),
        transparent 70%
    );
    animation: fogMove 20s ease-in-out infinite;
}

.fog-2 {
    background: linear-gradient(
        127deg,
        rgba(37, 99, 235, 0.1),
        transparent 70%
    );
    animation: fogMove 25s ease-in-out infinite reverse;
}

.glow-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.05;
    background: var(--primary);
}

.glow-1 {
    width: 40vw;
    height: 40vw;
    top: -20%;
    right: -10%;
    animation: glowFloat 25s ease-in-out infinite;
}

.glow-2 {
    width: 35vw;
    height: 35vw;
    bottom: -10%;
    left: -10%;
    animation: glowFloat 30s ease-in-out infinite reverse;
}

@keyframes pulseGradient {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.4;
    }
}

@keyframes fogMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(5%, 5%) scale(1.1);
    }
}

@keyframes glowFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(10%, 10%) rotate(180deg);
    }
}

@media (max-width: 768px) {
    .glow-1, .glow-2 {
        width: 60vw;
        height: 60vw;
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes lineGrow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes fadeUpSpecial {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        filter: brightness(1.2) blur(0px);
    }
    50% {
        opacity: 1;
        filter: brightness(1.5) blur(2px);
    }
}

.language-switcher {
    position: fixed;
    top: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(8px);
    z-index: 100;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
    border-radius: 4px;
}

.lang-btn.active {
    opacity: 1;
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary);
}

.lang-btn:hover {
    opacity: 1;
    background: rgba(59, 130, 246, 0.15);
}

.lang-divider {
    color: var(--text);
    opacity: 0.4;
}

@media (max-width: 768px) {
    .language-switcher {
        top: 1rem;
        right: 1rem;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 200%);
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    z-index: 1000;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    opacity: 0;
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideCookieBanner 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 3.5s;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cookie-icon {
    color: var(--primary);
    transform: scale(0);
    animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 4s;
}

.cookie-content p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.5s ease forwards;
    animation-delay: 4.2s;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.5s ease forwards;
    animation-delay: 4.4s;
}

.cookie-btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cookie-btn.accept {
    background: var(--primary);
    color: white;
}

.cookie-btn.accept:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.cookie-btn.decline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.cookie-btn.decline:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.1rem;
    opacity: 0.8;
}

@keyframes slideCookieBanner {
    0% {
        transform: translate(-50%, 200%);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-banner.hide {
    animation: cookieExitNew 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes cookieExitNew {
    0% {
        transform: translate(-50%, 0) rotate(0deg) scale(1);
        opacity: 1;
        filter: blur(0);
    }
    30% {
        transform: translate(-50%, -30px) rotate(-2deg) scale(1.1);
        opacity: 0.8;
        filter: blur(0);
    }
    100% {
        transform: translate(-50%, 80px) rotate(5deg) scale(0.3);
        opacity: 0;
        filter: blur(10px);
    }
}

.cookie-banner.hide .cookie-btn {
    animation: buttonFadeOut 0.3s ease forwards;
}

.cookie-banner.hide .cookie-content p {
    animation: textFadeOut 0.3s ease forwards;
}

.cookie-banner.hide .cookie-icon {
    animation: iconFadeOut 0.3s ease forwards;
}

@keyframes buttonFadeOut {
    to {
        transform: translateY(20px);
        opacity: 0;
    }
}

@keyframes textFadeOut {
    to {
        transform: translateY(15px);
        opacity: 0;
    }
}

@keyframes iconFadeOut {
    to {
        transform: translateY(10px) scale(0.8);
        opacity: 0;
    }
}

.fade-element {
    position: relative;
    display: inline-block;
}

.fade-element.fade-out {
    animation: textFadeOut 0.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-element.fade-in {
    animation: textFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lang-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.lang-btn.active {
    color: var(--primary);
    transform: translateY(-2px);
}

.lang-btn.changing {
    animation: buttonPulse 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes textFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    100% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
        filter: blur(4px);
    }
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes buttonPulse {
    0% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(0.95) translateY(2px);
    }
    100% {
        transform: scale(1) translateY(-2px);
    }
}

::-webkit-scrollbar {
    width: 6px;
    height: 0;
}
::-webkit-scrollbar-track {
    background: rgba(17, 24, 39, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.5);
}

.footer {
    position: relative;
    margin-top: 8rem;
    padding: 4rem 2rem 2rem;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(59, 130, 246, 0.2),
        transparent
    );
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}

.footer-section {
    position: relative;
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
    background: rgba(59, 130, 246, 0.03);
}

.footer-section h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: 0.05em;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 2rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    animation: lineGrow 0.5s ease forwards;
    animation-delay: 3.2s;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateX(5px);
}

.footer-section a[href^="mailto"] {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.footer-section a[href^="mailto"]:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.6);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(59, 130, 246, 0.2),
        transparent
    );
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 1rem 1rem;
        margin-top: 4rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
    }
    
    .footer-link:hover {
        transform: translateY(-2px);
    }
}

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    opacity: 1;
}

.error-content {
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeIn 0.5s ease forwards;
}

.error-number {
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    line-height: 1;
    animation: floatNumber 4s ease-in-out infinite;
}

.four {
    background: linear-gradient(
        180deg,
        var(--text) 0%,
        rgba(248, 250, 252, 0.8) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: floatNumber 4s ease-in-out infinite;
}

.four:first-child {
    animation-delay: -0.5s;
}

.zero-container {
    position: relative;
    animation: pulseZero 3s ease-in-out infinite;
}

.zero {
    background: linear-gradient(
        45deg,
        var(--primary) 0%,
        #60a5fa 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: brightness(1.2);
}

.zero-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(
        circle at center,
        rgba(59, 130, 246, 0.3),
        transparent 70%
    );
    animation: glowPulse 2s ease-in-out infinite;
}

.error-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    animation: fadeUp 0.5s ease forwards;
    animation-delay: 0.1s;
}

.error-message {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 3rem;
    animation: fadeUp 0.5s ease forwards;
    animation-delay: 0.2s;
}

.back-button {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 92;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.back-button svg {
    width: 20px;
    height: 20px;
}

.back-button:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.back-button:active {
    transform: translateY(0);
}

.button-line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.back-button:hover .button-line {
    transform: scaleX(1);
}

.button-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(59, 130, 246, 0.3),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.back-button:hover .button-glow {
    opacity: 1;
}

@keyframes floatNumber {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseZero {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .error-number {
        gap: 0.5rem;
    }
    
    .error-content {
        padding: 0 1rem;
    }

    .back-button {
        top: 1rem;
        left: 1rem;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .back-button svg {
        width: 18px;
        height: 18px;
    }
}

.legal-section {
    background: rgba(59, 130, 246, 0.02);
    border: 1px solid rgba(59, 130, 246, 0.05);
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legal-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.08);
    transition: all 0.3s ease;
}

.legal-link:hover {
    background: rgba(59, 130, 246, 0.08);
    transform: translateX(5px);
}

.legal-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.legal-link:hover .legal-icon {
    opacity: 1;
    transform: scale(1.1);
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-email:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .legal-link {
        justify-content: center;
    }
    
    .legal-link:hover {
        transform: translateY(-2px);
    }
}

.maintenance-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 2.8s;
}

.maintenance-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.maintenance-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: var(--primary);
    opacity: 0;
    transform: scale(0.8);
    animation: iconAppear 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 3s;
}

.maintenance-icon svg {
    animation: spinGear 15s linear infinite;
}

.gear-path {
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: drawGear 2s ease forwards;
    animation-delay: 3s;
}

.gear-center {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawGear 1s ease forwards;
    animation-delay: 4s;
}

.maintenance-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(
        180deg,
        var(--text) 0%,
        rgba(248, 250, 252, 0.8) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: titleAppear 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 3.2s;
}

.maintenance-title .accent {
    display: inline-block;
    background: linear-gradient(
        45deg,
        var(--primary) 0%,
        #60a5fa 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: brightness(1.2);
    animation: glowPulse 3s ease-in-out infinite;
}

.maintenance-message {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(248, 250, 252, 0.8);
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: messageAppear 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 3.4s;
}

.maintenance-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gear-particle {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--primary);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z' fill='black'/%3E%3Cpath d='M10.3246 4.31731C10.751 2.5609 13.249 2.5609 13.6754 4.31731C13.9508 5.45193 15.2507 5.99038 16.2478 5.38285C17.7913 4.44239 19.5576 6.2087 18.6172 7.75218C18.0096 8.74925 18.5481 10.0492 19.6827 10.3246C21.4391 10.751 21.4391 13.249 19.6827 13.6754C18.5481 13.9508 18.0096 15.2507 18.6172 16.2478C19.5576 17.7913 17.7913 19.5576 16.2478 18.6172C15.2507 18.0096 13.9508 18.5481 13.6754 19.6827C13.249 21.4391 10.751 21.4391 10.3246 19.6827C10.0492 18.5481 8.74926 18.0096 7.75219 18.6172C6.2087 19.5576 4.44239 17.7913 5.38285 16.2478C5.99038 15.2507 5.45193 13.9508 4.31731 13.6754C2.5609 13.249 2.5609 10.751 4.31731 10.3246C5.45193 10.0492 5.99037 8.74926 5.38285 7.75218C4.44239 6.2087 6.2087 4.44239 7.75219 5.38285C8.74926 5.99037 10.0492 5.45193 10.3246 4.31731Z' fill='black'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    opacity: 0;
    filter: blur(1px);
    animation: gearFloat 15s linear infinite;
    animation-delay: 3.5s;
}

.gear-particle:nth-child(1) { 
    left: 20%;
    animation-delay: 3.5s;
}
.gear-particle:nth-child(2) { 
    left: 50%;
    animation-delay: 4s;
}
.gear-particle:nth-child(3) { 
    left: 80%;
    animation-delay: 4.5s;
}

@keyframes drawGear {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes iconAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-45deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes spinGear {
    to {
        transform: rotate(360deg);
    }
}

@keyframes gearFloat {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.2;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes titleAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes messageAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .maintenance-content {
        padding: 0 1rem;
    }
}

.about-section {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 90;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1);
    overflow: hidden;
    padding: 4rem 2rem;
}

.about-section.visible {
    visibility: visible;
    opacity: 1;
}

.about-section.hidden {
    display: none;
}

main.hidden {
    opacity: 0;
    pointer-events: none;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    position: relative;
}

.about-content {
    position: relative;
}

.about-header {
    margin-bottom: 4rem;
    position: relative;
}

.about-subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
    position: relative;
    white-space: nowrap;
    transform: translateY(0);
}

.about-section.visible .about-subtitle {
    opacity: 1;
    transform: translateX(0);
}

.about-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: linear-gradient(
        180deg,
        var(--text) 0%,
        rgba(248, 250, 252, 0.8) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.2s;
}

.about-section.visible .about-header h2 {
    opacity: 1;
    transform: translateY(0);
}

.about-grid {
    display: grid;
    gap: 3rem;
}

.about-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.4s;
}

.about-section.visible .about-text {
    opacity: 1;
    transform: translateY(0);
}

.highlight-text {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-text p {
    color: rgba(248, 250, 252, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.skills-container {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.6s;
}

.about-section.visible .skills-container {
    opacity: 1;
    transform: translateY(0);
}

.skills-container h3 {
    color: var(--text);
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    background: rgba(59, 130, 246, 0.1);
}

.skill-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.about-visual {
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.8s;
}

.about-section.visible .about-visual {
    opacity: 1;
    transform: translateX(0);
}

.code-preview {
    background: rgba(17, 24, 39, 0.7);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    position: sticky;
    top: 2rem;
}

.code-preview pre {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text);
}

.page-transition {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    visibility: hidden;
    display: flex;
}

.slice {
    flex: 1;
    background: var(--bg);
    transform: scaleX(0);
    transition: transform 0.7s cubic-bezier(0.7, 0, 0.3, 1);
}

.slice-left {
    transform-origin: left;
    border-right: 1px solid var(--primary);
}

.slice-right {
    transform-origin: right;
    border-left: 1px solid var(--primary);
}

.about-section {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 90;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1);
    overflow: hidden;
    padding: 4rem 2rem;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 2rem;
}

.about-header {
    text-align: center;
    margin-bottom: 5rem;
}

.about-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.1s;
}

.about-section.visible .about-tag {
    transform: translateY(0);
    opacity: 1;
}

.about-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.1s;
}

.about-section.visible .about-header h1 {
    transform: translateY(0);
    opacity: 1;
}

.about-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(248, 250, 252, 0.9);
    max-width: 800px;
    margin: 0 auto;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.2s;
}

.about-section.visible .about-intro {
    transform: translateY(0);
    opacity: 1;
}

.skills-section {
    margin-top: 4rem;
}

.skills-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.3s;
}

.about-section.visible .skills-section h2 {
    transform: translateY(0);
    opacity: 1;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-section.visible .skill-card {
    transform: translateY(0);
    opacity: 1;
}

.skill-card:nth-child(1) { transition-delay: 0.4s; }
.skill-card:nth-child(2) { transition-delay: 0.5s; }
.skill-card:nth-child(3) { transition-delay: 0.6s; }
.skill-card:nth-child(4) { transition-delay: 0.7s; }
.skill-card:nth-child(5) { transition-delay: 0.8s; }

.skill-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.skill-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.skill-info {
    flex: 1;
}

.skill-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.skill-level {
    color: var(--primary);
    font-weight: 600;
}

.skill-bar {
    height: 8px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 1s;
}

.about-section.visible .skill-progress {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .about-section {
        padding: 2rem 1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .about-intro {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

main {
    transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

main.hidden {
    opacity: 0;
    transform: scale(1.05);
}

main.hidden {
    opacity: 0;
}

@keyframes portalOpen {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }
    50% {
        width: 200px;
        height: 200px;
        opacity: 1;
    }
    100% {
        width: 120vh;
        height: 120vh;
        opacity: 0;
    }
}

@keyframes portalGlow {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

@keyframes particleFlow {
    0% {
        transform: translateZ(0) scale(1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateZ(1000px) scale(0);
        opacity: 0;
    }
}

.about-section {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 90;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1);
    overflow: hidden;
    padding: 4rem 2rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
}

.about-header {
    text-align: center;
    margin-bottom: 6rem;
}

.about-tag {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.about-tag::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(45deg, var(--primary), transparent);
    opacity: 0.2;
    filter: blur(8px);
    transition: opacity 0.3s ease;
}

.about-section.visible .about-tag {
    transform: translateY(0);
    opacity: 1;
}

.skill-card {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(59, 130, 246, 0.1), 
        transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-type {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.6);
}

.progress-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary),
        transparent);
    filter: blur(3px);
    animation: progressGlow 2s ease-in-out infinite;
}

.specialties-section {
    margin-top: 6rem;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.specialty-card {
    background: rgba(59, 130, 246, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-5px);
    background: rgba(59, 130, 246, 0.05);
}

.specialty-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--primary);
}

.specialty-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.specialty-card p {
    color: rgba(248, 250, 252, 0.8);
    line-height: 1.6;
}

@keyframes progressGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.services-section {
    margin: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(59, 130, 246, 0.1), 
        transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.about-section.visible .service-card {
    transform: translateY(0);
    opacity: 1;
}

.service-card:nth-child(1) { transition-delay: 0.4s; }
.service-card:nth-child(2) { transition-delay: 0.5s; }

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: rgba(248, 250, 252, 0.8);
    line-height: 1.6;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem;
    }
}

.about-lang-switcher {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 91;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.6s;
}

.about-section.visible .about-lang-switcher {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .about-lang-switcher {
        top: 1rem;
        right: 1rem;
    }
    
    .back-button {
        top: 4rem;
    }
}

.projects-section {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 90;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1);
    overflow-y: auto;
    padding: 4rem 2rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(59, 130, 246, 0.1);
}

.projects-section::-webkit-scrollbar {
    width: 8px;
}

.projects-section::-webkit-scrollbar-track {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
}

.projects-section::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.projects-content {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    position: relative;
    z-index: 1;
}

.projects-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.projects-tag {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    white-space: nowrap;
    position: relative;
}

.projects-section.visible .projects-tag {
    transform: translateY(0);
    opacity: 1;
}

.projects-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-top: 0.5rem;
    position: relative;
    line-height: 1.2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.1s;
}

.projects-section.visible .projects-header h1 {
    transform: translateY(0);
    opacity: 1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.projects-section.visible .project-card {
    transform: translateY(0);
    opacity: 1;
}

.project-card:nth-child(1) { transition-delay: 0.2s; }
.project-card:nth-child(2) { transition-delay: 0.3s; }
.project-card:nth-child(3) { transition-delay: 0.4s; }
.project-card:nth-child(4) { transition-delay: 0.5s; }

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.project-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.project-card:hover .project-logo {
    transform: scale(1.1);
}

.project-title h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.project-date {
    font-size: 0.9rem;
    color: var(--primary);
    opacity: 0.8;
}

.project-description {
    color: rgba(248, 250, 252, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-features h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.project-features ul {
    list-style: none;
    padding: 0;
}

.project-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: rgba(248, 250, 252, 0.8);
}

.project-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.project-card:hover .project-features li::before {
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--primary);
}

.project-motto {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    text-align: center;
    font-style: italic;
    color: var(--primary);
    transition: all 0.3s ease;
}

.project-card:hover .project-motto {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .projects-section {
        padding: 2rem 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        padding: 1.5rem;
    }
}

.projects-section.visible {
    visibility: visible;
    opacity: 1;
}

.projects-section.hidden {
    display: none;
}

.project-card {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(59, 130, 246, 0.08),
        transparent
    );
    opacity: 0;
    transition: all 0.5s ease;
}

.project-card:hover::before {
    opacity: 1;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.project-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
}

.project-card:hover .project-logo {
    transform: scale(1.1) rotate(-5deg);
}

.project-title h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(
        180deg,
        var(--text) 0%,
        rgba(248, 250, 252, 0.9) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-date {
    font-size: 0.95rem;
    color: var(--primary);
    opacity: 0.9;
    font-weight: 500;
}

.project-description {
    color: rgba(248, 250, 252, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.project-features {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.project-features h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
}

.project-features ul {
    display: grid;
    gap: 1rem;
}

.project-features li {
    position: relative;
    padding-left: 1.8rem;
    color: rgba(248, 250, 252, 0.9);
    font-size: 1.05rem;
}

.project-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.project-card:hover .project-features li::before {
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--primary);
}

.project-links {
    margin-bottom: 2rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.link-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.project-link:hover .link-icon {
    transform: translate(2px, -2px);
}

.project-motto {
    text-align: center;
    padding: 1.2rem;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 10px;
    font-style: italic;
    color: var(--primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.project-card:hover .project-motto {
    background: rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .project-card {
        padding: 1.8rem;
    }
    
    .project-header {
        gap: 1.5rem;
    }
    
    .project-logo {
        width: 60px;
        height: 60px;
    }
    
    .project-title h2 {
        font-size: 1.5rem;
    }
}

.project-card {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(59, 130, 246, 0.08),
        transparent
    );
    opacity: 0;
    transition: all 0.5s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.project-card:hover::before {
    opacity: 1;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.project-header::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(59, 130, 246, 0.2),
        transparent
    );
}

.project-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
    background: rgba(59, 130, 246, 0.05);
    padding: 0.8rem;
    border-radius: 12px;
}

.project-card:hover .project-logo {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.4));
}

.project-links {
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.8rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.project-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(59, 130, 246, 0.1),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-link:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.project-link:hover::before {
    opacity: 1;
}

.project-link:active {
    transform: translateY(0);
}

.link-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    position: relative;
}

.project-link:hover .link-icon {
    transform: translate(2px, -2px);
}

.project-features {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    padding: 1.8rem;
    margin: 2rem 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.project-features h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.project-features h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.project-features ul {
    display: grid;
    gap: 1.2rem;
}

.project-features li {
    position: relative;
    padding-left: 2rem;
    color: rgba(248, 250, 252, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
}

.project-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.project-card:hover .project-features li::before {
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--primary);
}

.project-motto {
    text-align: center;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 12px;
    font-style: italic;
    color: var(--primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
}

.project-motto::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(59, 130, 246, 0.1),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-motto {
    background: rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.25);
}

.project-card:hover .project-motto::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .project-card {
        padding: 1.8rem;
    }
    
    .project-header {
        gap: 1.5rem;
    }
    
    .project-logo {
        width: 60px;
        height: 60px;
    }
    
    .project-features {
        padding: 1.5rem;
    }
    
    .project-link {
        padding: 0.8rem 1.5rem;
        width: 100%;
        justify-content: center;
    }
}

.about-section .bg-elements {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.about-section .wave-container {
    position: absolute;
    width: 200%;
    height: 200%;
    transform: translate(-25%, -25%);
}

.about-section .wave {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.1),
        rgba(37, 99, 235, 0.05)
    );
    border-radius: 40%;
    animation: waveFloat 15s ease-in-out infinite;
}

.about-section .wave:nth-child(2) {
    animation-duration: 17s;
    opacity: 0.3;
}

.about-section .wave:nth-child(3) {
    animation-duration: 25s;
    opacity: 0.2;
}

.about-header,
.projects-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-tag,
.projects-tag {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    white-space: nowrap;
    position: relative;
    text-align: center;
    transform: none !important;
}

.about-header h1,
.projects-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-top: 0.5rem;
    position: relative;
    line-height: 1.2;
    width: 100%;
    text-align: center;
}

.about-section.visible .about-tag,
.projects-section.visible .projects-tag {
    transform: none !important;
}

@media (max-width: 768px) {
    .about-tag,
    .projects-tag {
        font-size: 0.9rem;
        padding: 0.4rem 1.2rem;
    }
}

.imprint-page {
    min-height: 100vh;
    padding: 4rem 2rem;
}

.imprint-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 4rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.imprint-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(
        180deg,
        var(--text) 0%,
        rgba(248, 250, 252, 0.8) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.imprint-section {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.imprint-section h2 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.imprint-section p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-email {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.copy-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(59, 130, 246, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.footer-email.copied .copy-tooltip {
    opacity: 1;
    visibility: visible;
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(59, 130, 246, 0.9);
}

.imprint-section {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 90;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    overflow-y: auto;
    padding: 4rem 2rem;
}

.imprint-section.visible {
    visibility: visible;
    opacity: 1;
}

.imprint-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 4rem;
    position: relative;
    z-index: 1;
}

.imprint-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(
        180deg,
        var(--text) 0%,
        rgba(248, 250, 252, 0.8) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    width: 100%;
}

.imprint-block {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.imprint-block:hover {
    transform: translateY(-5px);
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.15);
}

.imprint-block::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--x, 50%) var(--y, 50%),
        rgba(59, 130, 246, 0.1) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.imprint-block:hover::after {
    opacity: 1;
}

.imprint-block h2 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    padding-left: 1.2rem;
}

.imprint-block h2::before {
    content: '';
    position: absolute;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
}

.imprint-block p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    opacity: 0.9;
    padding-left: 1.2rem;
}

.imprint-block p:last-child {
    margin-bottom: 0;
}

.imprint-lang-switcher {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 91;
}

@media (max-width: 768px) {
    .imprint-section {
        padding: 2rem 1rem;
    }
    
    .imprint-block {
        padding: 1.8rem;
    }
    
    .imprint-title {
        margin-bottom: 2rem;
    }
}

.privacy-section {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 90;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease;
    overflow-y: auto;
    padding: 4rem 2rem;
}

.privacy-section.visible {
    visibility: visible;
    opacity: 1;
}

.privacy-section.hidden {
    display: none;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 4rem;
    position: relative;
    z-index: 1;
}

.privacy-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(
        180deg,
        var(--text) 0%,
        rgba(248, 250, 252, 0.8) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.privacy-section.visible .privacy-title {
    opacity: 1;
    transform: translateY(0);
}

.privacy-block {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.privacy-section.visible .privacy-block {
    opacity: 1;
    transform: translateY(0);
}

.privacy-section.visible .privacy-block:nth-child(1) {
    transition-delay: 0.1s;
}

.privacy-section.visible .privacy-block:nth-child(2) {
    transition-delay: 0.15s;
}

.privacy-section.visible .privacy-block:nth-child(3) {
    transition-delay: 0.2s;
}

.privacy-block h2 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.privacy-block h2::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.privacy-block p {
    color: var(--text);
    line-height: 1.6;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-left: 1.2rem;
}

.privacy-block:hover {
    transform: translateY(-3px);
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 20px -8px rgba(59, 130, 246, 0.15);
}

.privacy-lang-switcher {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 91;
}

@media (max-width: 768px) {
    .privacy-section {
        padding: 2rem 1rem;
    }
    
    .privacy-block {
        padding: 1.5rem;
    }
    
    .privacy-block h2 {
        font-size: 1.1rem;
    }
    
    .privacy-block p {
        font-size: 0.9rem;
        margin-left: 1rem;
    }
}

.notification-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.notification {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: var(--text);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    opacity: 0;
    animation: slideIn 0.3s ease forwards;
    pointer-events: all;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
}

.notification.success {
    border-color: rgba(34, 197, 94, 0.2);
}

.notification.error {
    border-color: rgba(239, 68, 68, 0.2);
}

.notification-icon {
    width: 20px;
    height: 20px;
}

.notification.success .notification-icon {
    color: rgb(34, 197, 94);
}

.notification.error .notification-icon {
    color: rgb(239, 68, 68);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.notification-message {
    font-size: 0.9rem;
    opacity: 0.8;
}

.notification.hiding {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .notification-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
    }
    
    .notification {
        width: 100%;
    }
}

.notification-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.notification {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    color: var(--text);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    opacity: 0;
    animation: notifySlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: all;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

.notification::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: var(--primary);
    transform-origin: left;
    animation: progressShrink 3s linear forwards;
}

.notification.success {
    border: 1px solid rgba(34, 197, 94, 0.2);
    background: linear-gradient(
        135deg,
        rgba(17, 24, 39, 0.95) 0%,
        rgba(34, 197, 94, 0.05) 100%
    );
}

.notification.error {
    border: 1px solid rgba(239, 68, 68, 0.2);
    background: linear-gradient(
        135deg,
        rgba(17, 24, 39, 0.95) 0%,
        rgba(239, 68, 68, 0.05) 100%
    );
}

.notification-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    animation: iconPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.notification.success .notification-icon {
    color: rgb(34, 197, 94);
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.3));
}

.notification.error .notification-icon {
    color: rgb(239, 68, 68);
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.3));
}

.notification-content {
    flex: 1;
    opacity: 0;
    transform: translateY(10px);
    animation: contentFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.notification-message {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
}

.notification.hiding {
    animation: notifySlideOut 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes notifySlideIn {
    0% {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes notifySlideOut {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }
}

@keyframes iconPop {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressShrink {
    0% {
        transform: scaleX(1);
        opacity: 1;
    }
    95% {
        transform: scaleX(0);
        opacity: 1;
    }
    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}

.notification:hover {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.3s ease;
}

.notification:hover::after {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .notification-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
    }
    
    .notification {
        width: 100%;
        padding: 1rem;
    }
    
    .notification-title {
        font-size: 1rem;
    }
    
    .notification-message {
        font-size: 0.9rem;
    }
}

.easter-egg {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    animation: easterFadeIn 0.5s ease forwards;
}

.easter-egg.hiding {
    animation: easterFadeOut 0.5s ease forwards;
}

.easter-particle {
    position: absolute;
    top: -20px;
    color: var(--primary);
    font-family: monospace;
    font-size: clamp(14px, 2vw, 20px);
    text-shadow: 0 0 8px var(--primary);
    animation: matrixRain 3s linear infinite;
    opacity: 0;
    font-weight: bold;
}

@keyframes matrixRain {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }
    10% {
        transform: translateY(10vh) scale(1);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) scale(0.8);
        opacity: 0;
    }
}

@keyframes easterFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

@keyframes easterFadeOut {
    from {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
    to {
        opacity: 0;
        backdrop-filter: blur(0);
    }
}

.notification.easter {
    background: linear-gradient(
        135deg,
        rgba(17, 24, 39, 0.95) 0%,
        rgba(59, 130, 246, 0.15) 100%
    );
    border-color: var(--primary);
    animation: easterNotify 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

@keyframes easterNotify {
    0% {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translateX(-10%) scale(1.1);
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.credits {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    pointer-events: none;
    animation: creditsAppear 2s ease forwards;
}

.credits-content {
    text-align: center;
    transform: translateY(100vh);
    animation: creditsRoll 6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    animation-delay: 2s;
}

.credits-title {
    font-size: 1.2rem;
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.credits-name {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.credits-role {
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.credits-year {
    font-size: 1.2rem;
    color: var(--text);
    opacity: 0.8;
}

.credits.credits-fade {
    animation: creditsFadeOut 0.5s ease forwards;
}

@keyframes creditsAppear {
    from {
        background: transparent;
    }
    to {
        background: rgba(0, 0, 0, 0.8);
    }
}

@keyframes creditsRoll {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
        transform: translateY(-20vh);
    }
    100% {
        opacity: 0;
        transform: translateY(-50vh);
    }
}

@keyframes creditsFadeOut {
    to {
        opacity: 0;
    }
}

.easter-egg {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    animation: easterFadeIn 0.5s ease forwards;
}

.notification-container {
    z-index: 10000 !important;
}

.notification.easter {
    background: rgba(17, 24, 39, 0.95);
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.easter-portal {
    position: fixed;
    inset: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(
        circle,
        var(--primary) 0%,
        rgba(59, 130, 246, 0.3) 50%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 10001;
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 100px var(--primary);
}

.easter-portal.portal-expand {
    width: 300vh;
    height: 300vh;
    opacity: 1;
}

.easter-portal.portal-collapse {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.easter-egg.easter-ending .easter-particle {
    animation: matrixRainSlow 5s linear forwards;
    opacity: 0.5;
}

@keyframes matrixRainSlow {
    0% {
        transform: translateY(var(--current-y, 0)) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
}

.credits.credits-fade {
    animation: creditsFinalFade 1s ease forwards;
}

@keyframes creditsFinalFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

.easter-particle {
    transition: all 0.5s ease;
}

.easter-ending .easter-particle {
    color: rgba(59, 130, 246, 0.5);
    text-shadow: 0 0 15px var(--primary);
    transition: all 1s ease;
}

.credits-subtitle {
    font-size: 1.1rem;
    color: var(--primary);
    opacity: 0.8;
    margin: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.credits-name {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
    transform: scale(1);
    animation: pulseText 2s ease-in-out infinite;
}

@keyframes pulseText {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.2);
    }
}

.notification.easter {
    background: linear-gradient(135deg, 
        rgba(17, 24, 39, 0.95) 0%,
        rgba(59, 130, 246, 0.2) 100%
    );
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
    animation: easterNotifyNew 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes easterNotifyNew {
    0% {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translateX(-5%) scale(1.1);
    }
    75% {
        transform: translateX(2%) scale(0.95);
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.contact-section {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 90;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    overflow-y: auto;
    padding: 4rem 2rem;
}

.contact-section.visible {
    visibility: visible;
    opacity: 1;
}

.contact-section.hidden {
    display: none;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 4rem;
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.contact-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(
        180deg,
        var(--text) 0%,
        rgba(248, 250, 252, 0.8) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-intro {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
    opacity: 0.9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: var(--primary);
}

.card-icon.discord {
    color: #5865F2;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.contact-email, .discord-tag {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-family: monospace;
}

.copy-button {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.copy-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        rgba(59, 130, 246, 0.1),
        rgba(59, 130, 246, 0.2)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-button:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.copy-button:hover::before {
    opacity: 1;
}

.copy-button.copied {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: rgb(34, 197, 94);
    animation: successPulse 0.5s ease;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 2rem 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
}

.about-header .code-block {
    max-width: 500px;
    margin: 2rem auto;
    background: #1a1a1a;
    transform: translateY(0);
    opacity: 0;
    animation: codeSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

.about-header .code-content {
    padding: 1rem 1.5rem;
}

@keyframes codeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-header .code-content .python {
    position: relative;
    display: inline-block;
    white-space: pre;
    animation: typingCode 2s steps(40, end) forwards;
    animation-delay: 1s;
}

@keyframes typingCode {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.about-intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1000px;
    margin: 2rem auto;
}

.about-intro {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
    opacity: 0.9;
}

.intro-code {
    margin: 0;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    opacity: 1;
    min-width: 400px;
    max-width: 500px;
}

.intro-code .code-header {
    background: #2a2a2a;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.intro-code .code-content {
    padding: 1.5rem;
    margin: 0;
    color: #f8f8f2;
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
}

.intro-code .python {
    opacity: 1;
    display: block;
    white-space: pre;
    color: #f8f8f2;
}

.intro-code .string {
    color: #f1fa8c;
}

.intro-code .variable {
    color: #bd93f9;
}

.intro-code .function {
    color: #50fa7b;
}

.intro-code .python::after {
    content: '|';
    position: absolute;
    right: 1.5rem;
    animation: cursor 1s infinite;
}

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

@media (max-width: 768px) {
    .about-intro-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .intro-code {
        transform: translateY(20px);
    }
}

.about-flex-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.about-text {
    flex: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: textFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

.about-text h1 {
    margin: 1rem 0;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: linear-gradient(
        135deg,
        var(--text) 0%,
        rgba(248, 250, 252, 0.8) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
    opacity: 0.9;
    margin-top: 1.5rem;
}

.intro-code {
    flex: 1;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    opacity: 1;
    min-width: 400px;
    max-width: 500px;
}

.intro-code .code-header {
    background: #2a2a2a;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.intro-code .code-content {
    padding: 1.5rem;
    margin: 0;
    color: #f8f8f2;
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
}

.intro-code .python {
    opacity: 1;
    display: block;
    white-space: pre;
    color: #f8f8f2;
}

.intro-code .string {
    color: #f1fa8c;
}

.intro-code .variable {
    color: #bd93f9;
}

.intro-code .function {
    color: #50fa7b;
}

.intro-code .python::after {
    content: '|';
    position: absolute;
    right: 1.5rem;
    animation: cursor 1s infinite;
}

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

@media (max-width: 1024px) {
    .about-flex-container {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
    }

    .intro-code {
        width: 100%;
        min-width: 0;
        transform: translateY(20px);
    }
}

.intro-code .python {
    opacity: 1;
    display: block;
    white-space: pre;
    color: #f8f8f2;
}

.intro-code .python .keyword {
    color: #ff79c6;
}

.intro-code .python .string {
    color: #f1fa8c;
}

.intro-code .python .function {
    color: #50fa7b;
}

.intro-code .python .variable {
    color: #bd93f9;
}

.intro-code {
    flex: 1;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    opacity: 1;
    min-width: 400px;
    max-width: 500px;
}

.intro-code {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    min-width: 400px;
    max-width: 500px;
    margin: 0;
}

.intro-code .code-header {
    background: #2a2a2a;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.intro-code .code-title {
    color: #8f8f8f;
    font-size: 0.9rem;
    font-family: 'Fira Code', monospace;
}

.intro-code .code-controls {
    display: flex;
    gap: 0.5rem;
}

.intro-code .control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.intro-code .control.red { background: #ff5f56; }
.intro-code .control.yellow { background: #ffbd2e; }
.intro-code .control.green { background: #27c93f; }

.intro-code .code-content {
    padding: 1.5rem;
    margin: 0;
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    line-height: 1.6;
    color: #f8f8f2;
    background: #1a1a1a;
}

.intro-code .keyword { color: #ff79c6; }
.intro-code .string { color: #f1fa8c; }
.intro-code .function { color: #50fa7b; }
.intro-code .variable { color: #bd93f9; }

.intro-code .code-content::after {
    content: '|';
    position: absolute;
    right: 1.5rem;
    color: var(--primary);
    animation: blink 1s infinite;
}

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

@media (max-width: 768px) {
    .intro-code {
        min-width: 0;
        width: 100%;
    }
    
    .intro-code .code-content {
        font-size: 0.9rem;
        padding: 1rem;
    }
}

.typing-animation {
    opacity: 0;
    overflow: hidden;
    border-right: 2px solid var(--primary);
    white-space: nowrap;
    animation: 
        typing 2s steps(40, end) forwards,
        blink-caret 1s step-end infinite;
    animation-delay: 0.5s;
    width: 0;
}

@keyframes typing {
    from { 
        width: 0;
        opacity: 1;
    }
    to { 
        width: 100%;
        opacity: 1;
    }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary) }
}

.intro-code .code-content::after {
    display: none;
}

.intro-code .code-content {
    padding: 1.5rem;
    margin: 0;
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    line-height: 1.6;
    color: #f8f8f2;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.intro-code .keyword { color: #ff79c6; }
.intro-code .string { color: #f1fa8c; }
.intro-code .function { color: #50fa7b; }
.intro-code .variable { color: #bd93f9; }

.intro-code .line {
    display: block;
    opacity: 0;
    position: relative;
    transform: translateX(-10px);
}

.intro-code .line1 {
    animation: typeLine 0.5s ease forwards;
    animation-delay: 0.5s;
}

.intro-code .line2 {
    animation: typeLine 0.5s ease forwards;
    animation-delay: 1.5s;
}

.intro-code .line3 {
    animation: typeLine 0.5s ease forwards;
    animation-delay: 2.5s;
}

.intro-code .line::after {
    content: '|';
    position: absolute;
    right: -10px;
    color: var(--primary);
    opacity: 0;
    animation: blinkCursor 1s step-end infinite;
}

.intro-code .line1::after {
    animation-delay: 0.5s;
    animation-duration: 1s;
}

.intro-code .line2::after {
    animation-delay: 1.5s;
    animation-duration: 1s;
}

.intro-code .line3::after {
    animation-delay: 2.5s;
    animation-duration: infinite;
}

@keyframes typeLine {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    50% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.intro-code {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    min-width: 400px;
    max-width: 500px;
    margin: 0;
}

.intro-code .code-content {
    padding: 1.5rem;
    margin: 0;
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    line-height: 1.6;
    color: #f8f8f2;
    background: #1a1a1a;
    position: relative;
}

.intro-code .keyword { color: #ff79c6; }
.intro-code .string { color: #f1fa8c; }
.intro-code .function { color: #50fa7b; }
.intro-code .variable { color: #bd93f9; }

.live-code {
    display: block;
    white-space: pre-line;
    position: relative;
    min-height: 4.8em;
    font-family: 'Fira Code', monospace;
    padding: 1.5rem;
    margin: 0;
    line-height: 1.6;
    color: #f8f8f2;
}

.live-code::after {
    content: '|';
    position: absolute;
    display: inline-block;
    color: var(--primary);
    animation: blink 1s infinite;
    margin-left: 2px;
}

.live-code .keyword { color: #ff79c6; }
.live-code .string { color: #f1fa8c; }
.live-code .function { color: #50fa7b; }
.live-code .variable { color: #bd93f9; }

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

@media (max-width: 768px) {
    .about-header {
        padding: 1rem;
    }

    .about-flex-container {
        flex-direction: column;
        gap: 2rem;
    }

    .about-text {
        text-align: center;
        padding: 0;
    }

    .about-tag {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .about-intro {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .services-section {
        padding: 2rem 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 40px;
        height: 40px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-features {
        font-size: 0.9rem;
    }

    .nav-items {
        gap: 1rem;
    }

    .nav-text {
        font-size: 0.9rem;
    }

    h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .container {
        padding: 1rem;
    }

    .welcome {
        margin-bottom: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .cookie-banner {
        padding: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .project-logo {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 360px) {
    .nav-items {
        flex-direction: column;
        gap: 0.8rem;
    }

    .language-switcher {
        transform: scale(0.9);
    }

    .cookie-banner {
        font-size: 0.8rem;
    }
}