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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    position: fixed;
    touch-action: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
}

/* Scanlines effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0) 0px,
        rgba(0, 0, 0, 0) 1px,
        rgba(0, 0, 0, 0.03) 1px,
        rgba(0, 0, 0, 0.03) 2px
    );
    pointer-events: none;
    z-index: 100;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    padding: 3rem 4rem;
    animation: fadeIn 2s ease-out;
    
    /* Glassmorphism effect */
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brand {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, 
        #00d4ff, 
        #0099ff, 
        #0066ff, 
        #00d4ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: subtleShift 20s ease infinite;
    filter: drop-shadow(0 0 20px rgba(0, 150, 255, 0.5))
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
    transition: all 0.3s ease;
    cursor: default;
    user-select: none;
    position: relative;
    z-index: 2;
}
.tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
    min-height: 2em;
    opacity: 0;
    animation: slideUp 1s ease-out 0.5s forwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.typewriter {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.cursor {
    display: inline-block;
    animation: blink 1s infinite;
    font-weight: 300;
    color: rgba(0, 200, 255, 0.9);
}

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

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

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

@keyframes subtleShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Clean hover effect without glitch */

.contact {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.85rem 2.2rem;
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: slideUp 1s ease-out 1s forwards;
    transition: all 0.3s ease;
    opacity: 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg,
        rgba(0, 150, 255, 0.3),
        rgba(0, 100, 200, 0.3));
    background-size: 200% 200%;
    animation: subtleShift 20s ease infinite;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.contact:hover::before {
    width: 300px;
    height: 300px;
}

.contact:hover {
    color: #ffffff;
    border-color: rgba(0, 150, 255, 0.6);
    background: rgba(0, 150, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(0, 150, 255, 0.3),
                0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .content {
        padding: 2rem 2.5rem;
        margin: 0 1rem;
        background: rgba(10, 10, 10, 0.8);
    }
    
    .brand {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }
    
    .tagline {
        font-size: clamp(0.9rem, 3.5vw, 1.2rem);
        padding: 0 1rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .brand {
        filter: drop-shadow(0 0 20px rgba(0, 255, 200, 0.5));
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .brand {
        background: linear-gradient(135deg, #ffffff, #ffffff);
        filter: none;
    }
    
    .tagline {
        color: #ffffff;
    }
}

/* Version Badge */
.version {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 4px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.75rem;
    color: rgba(0, 150, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 50;
    opacity: 0;
    animation: fadeIn 2s ease-out 1.5s forwards;
}

