body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #0d0d0d;
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0 0 60px 0;
    overflow-y: auto;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,0,0,0.6) 1px, transparent 1px);
    background-size: 15px 15px; 
    pointer-events: none;
    z-index: 0;
    animation: moveDots 60s linear infinite;
    opacity: 0.2;
}

@keyframes moveDots {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

header {
    padding: 20px 0; 
    position: relative;
    z-index: 1;
}

#logo {
    max-width: 110px;
    height: auto;
    margin-bottom: 10px;
}


input[type="text"] {
    width: 80%;
    max-width: 400px;
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    border: none;
    outline: none;
    position: relative;
    z-index: 1;
    font-family: 'Roboto', Arial, sans-serif;
}


.results {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.anime-card {
    background: #1a1a1a;
    padding: 10px;
    border-radius: 8px;
    width: 90px;
    cursor: pointer;
    border: 1px solid rgba(255, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    z-index: 1;
    font-family: 'Roboto', Arial, sans-serif;
}

.anime-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.anime-card img {
    width: 100%;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}

#randomSeries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

#randomSeries .anime-card {
    width: 110px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
}

#randomSeries .anime-card:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

h1, h2, h3, h4, h5, h6, p, span, button {
    text-shadow: 0 0 2px rgba(255, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    font-family: 'Roboto', Arial, sans-serif;
}

h1 {
    font-size: 20px;
}

.episodes {
    margin-top: 10px;
    text-align: left;
}

.episode {
    background: #333;
    margin: 2px 0;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s, box-shadow 0.2s;
}

.episode:hover {
    background: #444;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
}

#siteFooter {
    position: static; /* geändert von fixed auf static */
    width: 100%;
    background: rgba(26, 26, 26, 0.9);
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    text-shadow: 0 0 2px rgba(255, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 0, 0, 0.2);
    /* z-index und pointer-events entfernt, nicht mehr nötig */
}

#siteFooter span {
    display: inline-block;
    vertical-align: middle;
}

#playerModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#playerModal iframe {
    width: 90%;
    height: 80%;
}

#playerModal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}
