body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: url("background.jpg") no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
    color: white;
    overflow: hidden;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    text-align: center;
    top: 30%;
    padding: 0 20px;
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

p {
    font-size: 1.2em;
}

.buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.buttons button {
    margin: 10px;
    padding: 15px 30px;
    font-size: 1.1em;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: #ffcc00;
    color: #000;
    transition: transform 0.1s, box-shadow 0.1s;
    min-width: 180px;
    position: relative;
    z-index: 2;
}

.buttons button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #ffcc00;
}

/* Ruffy Faust */
#ruffy {
    position: absolute;
    width: 200px;
    left: -250px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.25, 1.5, 0.5, 1);
}

/* Comic Effekt */
#comic-effect {
    position: absolute;
    font-size: 3.5em;
    font-weight: bold;
    color: yellow;
    text-shadow: 3px 3px 0 red, -3px -3px 0 black;
    display: none;
    z-index: 6;
    pointer-events: none;
    transform: rotate(-10deg);
    transition: transform 0.2s ease;
}

/* Partikel */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: yellow;
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
    z-index: 7;
    animation: particle-fall 0.5s forwards;
}

@keyframes particle-fall {
    to {
        transform: translate(var(--dx), var(--dy));
        opacity: 0;
    }
}

/* Rauch/Funken */
.smoke {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    opacity: 0.7;
    pointer-events: none;
    z-index: 7;
    animation: smoke-rise 0.8s forwards;
}

@keyframes smoke-rise {
    to {
        transform: translate(var(--sx), var(--sy)) scale(2);
        opacity: 0;
    }
}

/* Button Impact */
.hit {
    animation: hitShake 0.15s infinite;
}

@keyframes hitShake {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(3px, -3px) rotate(-2deg); }
    50% { transform: translate(-3px, 3px) rotate(2deg); }
    75% { transform: translate(3px, 3px) rotate(-2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* ===================== */
/* MOBILE OPTIMIERUNG */
@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    p { font-size: 1em; }
    .container { top: 20%; }
    .buttons { flex-direction: column; align-items: center; }
    .buttons button { width: 80%; font-size: 1em; padding: 14px 0; }
    #ruffy { width: 150px; left: -150px; }
}