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

body {
    background: #000;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    color: #00ff00;
}

#matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    pointer-events: none;
}

.silhouette-container {
    width: 300px;
    height: 380px;
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
}

.silhouette {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 255, 0, 0.3));
}

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

.title {
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    margin-bottom: 1rem;
    text-shadow:
        0 0 10px #00ff00,
        0 0 20px #00ff00,
        0 0 40px #00ff00,
        0 0 80px #008800;
    animation: flicker 4s infinite;
}

.title .code {
    color: #00ff00;
}

.title .separator {
    color: #666666;
    margin: 0 -0.1em;
}

.title .neo {
    color: #ffffff;
    text-shadow:
        0 0 10px #ffffff,
        0 0 20px #00ff00,
        0 0 40px #00ff00;
}

@keyframes flicker {
    0%, 100% {
        opacity: 1;
    }
    92% {
        opacity: 1;
    }
    93% {
        opacity: 0.8;
    }
    94% {
        opacity: 1;
    }
    95% {
        opacity: 0.9;
    }
    96% {
        opacity: 1;
    }
}

.tagline {
    font-size: 1.5rem;
    color: #00aa00;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.tagline .wake {
    opacity: 0;
    animation: typeIn 1s steps(7) 1s forwards;
}

.tagline .dots {
    opacity: 0;
    animation: typeIn 0.5s steps(3) 2s forwards;
}

.tagline .develop {
    opacity: 0;
    animation: typeIn 1s steps(7) 3.5s forwards;
}

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

.subtitle {
    font-size: 1.2rem;
    color: #00ff00;
    opacity: 0;
    animation: fadeInOutRepeat 4s ease-in-out 5s infinite;
}

@keyframes fadeInOutRepeat {
    0% {
        opacity: 0;
        color: #00ff00;
    }
    15% {
        opacity: 1;
        color: #00ff00;
    }
    30% {
        opacity: 0.5;
        color: #008800;
    }
    50% {
        opacity: 0.7;
        color: #00aa00;
    }
    70% {
        opacity: 0.5;
        color: #008800;
    }
    85% {
        opacity: 0.7;
        color: #00aa00;
    }
    100% {
        opacity: 0.5;
        color: #008800;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .content {
        padding: 1rem;
        justify-content: center;
    }

    .silhouette-container {
        width: 65vw;
        height: auto;
        aspect-ratio: 4 / 5;
        max-width: 320px;
        margin-bottom: 1.5rem;
    }

    .title {
        font-size: 3rem;
        letter-spacing: 0.3rem;
    }

    .tagline {
        font-size: 1.3rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 0.5rem;
    }

    .silhouette-container {
        width: 75vw;
        max-width: 280px;
        margin-bottom: 1rem;
    }

    .title {
        font-size: 2.5rem;
        letter-spacing: 0.2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .subtitle {
        font-size: 1rem;
    }
}

/* Extra small screens */
@media (max-width: 380px) {
    .silhouette-container {
        width: 80vw;
        max-width: 260px;
    }

    .title {
        font-size: 2rem;
        letter-spacing: 0.15rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }
}

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