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

body {
    font-family: 'Press Start 2P', cursive;
    min-height: 100vh;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("https://i.imgur.com/OA0tAIU.png"), url("/static/img/bg.png");;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    text-align: center;
    max-width: 600px;
    width: 100%;
    animation: fadeIn 1s ease-in;
}

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

h1 {
    color: #fff;
    font-size: clamp(24px, 6vw, 48px);
    text-shadow: 
        4px 4px 0px rgba(0, 0, 0, 0.8),
        8px 8px 0px rgba(0, 0, 0, 0.4);
    margin-bottom: 60px;
    line-height: 1.4;
    letter-spacing: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.menu-item {
    position: relative;
    display: inline-block;
}

.menu-item a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: clamp(12px, 3.5vw, 16px);
    padding: 8px 0;
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.8);
    transition: all 0.2s ease;
    position: relative;
}

.menu-item a::before {
    content: '▶';
    position: absolute;
    left: -30px;
    opacity: 0;
    transition: all 0.2s ease;
}

.menu-item a:hover,
.menu-item a:focus,
.menu-item a:active,
.menu-item a:visited:hover {
    color: #ffff00;
    transform: translateX(5px);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.menu-item a:hover::before {
    opacity: 1;
    left: -16px;
}

.menu-item a:active {
    transform: translateX(5px) scale(0.98);
}

/* Verhindere Stil-Änderungen nach Besuch */
.menu-item a:visited {
    color: #fff;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8);
}



@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    h1 {
        margin-bottom: 40px;
    }

    .menu {
        gap: 20px;
    }

    .menu-item a {
        padding: 6px 0;
    }
}

@media (min-width: 768px) {
    .menu-item a:hover {
        transform: translateX(15px);
    }
}