css/* Paleta barw: Głęboka czerń, kościsty szary, krwisty czerwony i toksyczny zielony */
:root {
    --bg-dark: #0a0a0c;
    --card-bg: rgba(20, 20, 25, 0.85); /* Półprzezroczyste karty, by widzieć tło */
    --text-bone: #e0e0e0;
    --accent-blood: #ff4d4d;
    --toxic-green: #2ecc71;
    --warning-red: #c0392b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}

/* Mroczne tło z efektem głębi i mgły */
body {
    background-color: var(--bg-dark);
    /* Gradient udający światło księżyca przebijające przez mgłę */
    background-image: 
        radial-gradient(circle at 50% 30%, rgba(40, 20, 20, 0.6), transparent 60%),
        linear-gradient(180deg, #050507 0%, #111116 50%, #050507 100%);
    background-attachment: fixed;
    color: var(--text-bone);
    line-height: 1.6;
    position: relative;
}

/* Klimatyczny nagłówek stacji */
header {
    background: linear-gradient(180deg, #000000 60%, rgba(10, 10, 12, 0.9));
    color: var(--accent-blood);
    text-align: center;
    padding: 60px 20px;
    border-bottom: 2px solid var(--warning-red);
    box-shadow: 0 5px 30px rgba(192, 57, 43, 0.2);
}

header h1 {
    font-size: 3.5rem;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(255, 77, 77, 0.8);
    animation: pulseGlow 3s infinite alternate; /* Animacja pulsującej krwi */
}

/* Menu nawigacji */
nav {
    background-color: #000000;
    text-align: center;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: #999;
    padding: 15px 20px;
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--toxic-green);
    background-color: #08080a;
    text-shadow: 0 0 8px var(--toxic-green);
}

/* Główny kontener */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

main { flex: 2; }
aside { flex: 1; }

/* Karty z mrocznym, półprzezroczystym tłem i ramką */
.card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 6px;
    border: 1px solid #1a1a24;
    margin-bottom: 30px;
    backdrop-filter: blur(5px); /* Efekt zmatowionego szkła w tle */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.card h2 {
    color: var(--accent-blood);
    border-bottom: 2px solid rgba(192, 57, 43, 0.4);
    padding-bottom: 12px;
    margin-bottom: 25px;
    font-size: 1.6rem;
}

/* Wyjątkowe, świecące ostrzeżenie o Dziembusie */
.warning-box {
    background-color: rgba(30, 0, 0, 0.85);
    border: 2px dashed var(--accent-blood);
    color: #ff9999;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
    font-size: 1.25rem;
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.3);
    backdrop-filter: blur(5px);
}

/* Ciemny odtwarzacz radiowy */
.player-card {
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 6px;
    border: 1px solid var(--toxic-green);
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}

.player-card h3 {
    color: var(--toxic-green);
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
}

audio {
    width: 100%;
    margin-top: 10px;
    filter: invert(0.9) hue-rotate(90deg); /* Nadaje odtwarzaczowi pasujący, mroczny odcień */
}

/* Grobowa tabela ramówki */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #1a1a24;
}

th {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--accent-blood);
}

tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Formularz nadsyłania wiadomości */
form { display: flex; flex-direction: column; gap: 15px; }

input, textarea, button {
    background: #050507;
    color: var(--text-bone);
    border: 1px solid #22222e;
    padding: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-blood);
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.3);
}

button {
    background: var(--warning-red);
    color: white;
    cursor: pointer;
    font-weight: bold;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    background: var(--accent-blood);
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.6);
}

/* Stopka */
footer {
    background: #000000;
    text-align: center;
    padding: 25px;
    border-top: 1px solid #1a1a24;
    color: #555;
    font-size: 0.9rem;
}

/* ANIMACJE */
@keyframes pulseGlow {
    0% {
        text-shadow: 0 0 10px rgba(255, 77, 77, 0.6);
    }
    100% {
        text-shadow: 0 0 25px rgba(255, 77, 77, 1), 0 0 10px rgba(192, 57, 43, 0.8);
    }
}

/* Responsywność dla telefonów */
@media (max-width: 768px) {
    .container { flex-direction: column; }
    header h1 { font-size: 2.2rem; }
}