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

#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    opacity: 1;
    background: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #01b0b4 0%, #015bb4 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.container {
    text-align: center;
    z-index: 10;
    animation: fadeIn 1s ease-in;
    position: relative;
}

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

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

.menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.menu-item {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    background: rgba(1, 176, 180, 0.8);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.menu-item:hover {
    background: rgba(1, 91, 180, 0.9);
    transform: scale(1.05);
}

.logo {
    position: relative;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

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

.logo img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.wave-line-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 60px;
    margin: 2rem auto 0;
}

.wave-line {
    width: 100%;
    height: 100%;
}

.line-path {
    animation: waveLine 3s ease-in-out infinite;
}

@keyframes waveLine {
    0% {
        d: path("M 0 50 Q 50 20, 100 50 T 200 50 T 300 50 T 400 50 T 500 50 T 600 50 T 700 50 T 800 50 T 900 50 T 1000 50");
    }
    25% {
        d: path("M 0 50 Q 50 80, 100 50 T 200 50 T 300 50 T 400 50 T 500 50 T 600 50 T 700 50 T 800 50 T 900 50 T 1000 50");
    }
    50% {
        d: path("M 0 50 Q 50 50, 100 50 Q 150 20, 200 50 T 300 50 T 400 50 T 500 50 T 600 50 T 700 50 T 800 50 T 900 50 T 1000 50");
    }
    75% {
        d: path("M 0 50 Q 50 50, 100 50 Q 150 80, 200 50 T 300 50 T 400 50 T 500 50 T 600 50 T 700 50 T 800 50 T 900 50 T 1000 50");
    }
    100% {
        d: path("M 0 50 Q 50 20, 100 50 T 200 50 T 300 50 T 400 50 T 500 50 T 600 50 T 700 50 T 800 50 T 900 50 T 1000 50");
    }
}

.moving-dot {
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    transform: translate(-50%, -50%);
    animation: moveDot 4s linear infinite;
}

@keyframes moveDot {
    0% {
        left: 0%;
        top: 50%;
    }
    5% {
        left: 5%;
        top: 30%;
    }
    10% {
        left: 10%;
        top: 50%;
    }
    15% {
        left: 15%;
        top: 70%;
    }
    20% {
        left: 20%;
        top: 50%;
    }
    25% {
        left: 25%;
        top: 30%;
    }
    30% {
        left: 30%;
        top: 50%;
    }
    35% {
        left: 35%;
        top: 70%;
    }
    40% {
        left: 40%;
        top: 50%;
    }
    45% {
        left: 45%;
        top: 30%;
    }
    50% {
        left: 50%;
        top: 50%;
    }
    55% {
        left: 55%;
        top: 70%;
    }
    60% {
        left: 60%;
        top: 50%;
    }
    65% {
        left: 65%;
        top: 30%;
    }
    70% {
        left: 70%;
        top: 50%;
    }
    75% {
        left: 75%;
        top: 70%;
    }
    80% {
        left: 80%;
        top: 50%;
    }
    85% {
        left: 85%;
        top: 30%;
    }
    90% {
        left: 90%;
        top: 50%;
    }
    95% {
        left: 95%;
        top: 70%;
    }
    100% {
        left: 100%;
        top: 50%;
    }
}

.punchline {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
    animation: slideIn 1s ease-out 0.3s both;
}

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

.subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 2px;
    animation: slideIn 1s ease-out 0.6s both;
}

@media (max-width: 768px) {
    .punchline {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .logo img {
        max-width: 120px;
    }
}
