html {
    position: relative;
    z-index: 1;
}

body {
    background: #0b0b0f;
    color: #e5e5e5;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    position: relative;   /* important */
}


nav {
    background: #111118;
    text-align: center;
    padding: 40px 20px 25px 20px;
    border-bottom: 1px solid #1c1c25;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.nav-links a {
    color: #aaa;
    text-decoration: none;
    margin: 0 20px;
    font-size: 14px;
    letter-spacing: 1px;
    transition: 0.2s ease;
}

.nav-links a:hover {
    color: white;
}

.container {
    padding: 60px 80px;
}

h1 {
    font-family: 'Impact', sans-serif;
    font-size: 5rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #c40000;
    text-shadow: 0 0 2px #aa0000;
    margin-bottom: 40px;
    animation: flicker 3s infinite;
}

@keyframes flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        opacity: 1;
    }
    20%, 24%, 55% {
        opacity: 0.4;
    }
}


}

select {
    padding: 10px 14px;
    margin-right: 15px;
    background: #14141c;
    color: #e5e5e5;
    border: 1px solid #222;
    border-radius: 6px;
    font-size: 14px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.card {
    background: linear-gradient(145deg, #14141c, #101015);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #1c1c25;
    transition: all 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #333;
}

.title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.meta {
    font-size: 13px;
    color: #888;
}

/* Blood images */

.blood-left,
.blood-right {
    position: fixed;
    pointer-events: none;
    z-index: -1; /* stays behind everything */
}

.blood-left {
    left: -200px;
    bottom: -200px;
    width: 800px;
    opacity: 0.85;
}

.blood-right {
    right: -250px;
    top: -200px;
    width: 850px;
    opacity: 0.8;
}
