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

body {
    background-color: #0a0a0a;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    overflow: hidden;
    position: relative;
}

/* Add a subtle matrix-style background effect */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(233, 166, 166, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(233, 166, 166, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(233, 166, 166, 0.03) 0%, transparent 50%);
    animation: backgroundPulse 4s ease-in-out infinite;
}

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

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    position: relative;
    z-index: 1;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
    margin-bottom: 30px;
}

.clock-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.clock {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    color: #E9A6A6;
    opacity: 0;
    animation: clockAppear 0.8s ease-out 6.0s forwards;
    text-shadow: 0 0 10px rgba(233, 166, 166, 0.5);
    letter-spacing: 1px;
}

.letter {
    height: 80px;
    width: auto;
    opacity: 0;
    transform: translateX(-20px);
    filter: brightness(1.1) drop-shadow(0 0 15px rgba(233, 166, 166, 0.4));
    position: relative;
}


/* Animation delays for each letter - slower typing sequence */
#letter-w {
    animation: typeIn 0.5s ease-out 1.0s forwards, 
               typeGlow 0.2s ease-out 1.5s forwards;
}

#letter-e {
    animation: typeIn 0.5s ease-out 2.0s forwards, 
               typeGlow 0.2s ease-out 2.5s forwards;
}

#letter-i {
    animation: typeIn 0.5s ease-out 3.0s forwards, 
               typeGlow 0.2s ease-out 3.5s forwards;
}

#letter-l {
    animation: typeIn 0.5s ease-out 4.0s forwards, 
               typeGlow 0.2s ease-out 4.5s forwards;
}

#letter-a {
    animation: typeIn 0.5s ease-out 5.0s forwards, 
               typeGlow 0.2s ease-out 5.5s forwards;
}


@keyframes typeIn {
    0% {
        opacity: 0;
        transform: translateX(-20px) scale(0.8);
        filter: brightness(0.3) drop-shadow(0 0 5px rgba(233, 166, 166, 0.2));
    }
    50% {
        opacity: 0.7;
        transform: translateX(2px) scale(1.05);
        filter: brightness(1.3) drop-shadow(0 0 20px rgba(233, 166, 166, 0.6));
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: brightness(1.1) drop-shadow(0 0 15px rgba(233, 166, 166, 0.4));
    }
}

@keyframes typeGlow {
    0% {
        filter: brightness(1.1) drop-shadow(0 0 15px rgba(233, 166, 166, 0.4));
    }
    50% {
        filter: brightness(1.5) drop-shadow(0 0 25px rgba(233, 166, 166, 0.8));
    }
    100% {
        filter: brightness(1.1) drop-shadow(0 0 15px rgba(233, 166, 166, 0.4));
    }
}

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

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


/* Hover effect - subtle typing sound simulation */
.logo-container:hover .letter {
    transform: scale(1.02);
    filter: brightness(1.3) drop-shadow(0 0 20px rgba(233, 166, 166, 0.6));
    transition: all 0.2s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .letter {
        height: 60px;
        gap: 6px;
    }
    
    .clock {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .letter {
        height: 50px;
        gap: 4px;
    }
    
    .logo-container {
        gap: 4px;
    }
    
    .clock {
        font-size: 14px;
    }
}

/* Add a subtle scan line effect */
.logo-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    bottom: -10px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(233, 166, 166, 0.1) 50%,
        transparent 100%
    );
    animation: scanLine 3s linear infinite;
    pointer-events: none;
}

@keyframes scanLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
