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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fafafa;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    color: #1a1a1a;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.glitch-wrapper {
    position: relative;
    margin-bottom: 3rem;
}

.main-text {
    font-size: clamp(1.8rem, 6vw, 4rem);
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.1;
    transition: all 0.3s ease;
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 4s infinite linear alternate-reverse;
    color: #4d65ff;
    z-index: -1;
    opacity: 0.3;
}

.glitch::after {
    animation: glitch-2 5s infinite linear alternate-reverse;
    color: #666;
    z-index: -2;
    opacity: 0.2;
}

@keyframes glow {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.01);
    }
}

@keyframes glitch-1 {
    0%, 90%, 92%, 96%, 98%, 100% {
        transform: translate(0);
    }
    91% {
        transform: translate(-1px, 1px);
    }
    97% {
        transform: translate(1px, -1px);
    }
}

@keyframes glitch-2 {
    0%, 85%, 87%, 93%, 95%, 100% {
        transform: translate(0);
    }
    86% {
        transform: translate(1px, -1px);
    }
    94% {
        transform: translate(-1px, 1px);
    }
}

.signature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 400;
    opacity: 0.7;
    animation: fadeInUp 1s ease-out 0.5s both;
    margin-top: 2rem;
}

.dash {
    width: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ccc, transparent);
    display: block;
}

.name {
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
}

.name:hover {
    color: #4d65ff;
    cursor: default;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(77, 101, 255, 0.05), rgba(102, 102, 102, 0.03));
    animation: float 8s ease-in-out infinite;
    backdrop-filter: blur(20px);
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 15%;
    right: 25%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

.grain {
    display: none;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

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

@media (max-width: 768px) {
    .container {
        padding: 2rem;
    }

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

    .dash {
        width: 1rem;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(77, 101, 255, 0.03) 0%, transparent 70%),
        radial-gradient(circle at 80% 20%, rgba(102, 102, 102, 0.02) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}