@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    background-color: #0d0d0d;
    background-image: url('baner.png'); /* <<< WKLEJ TUTAJ LINK DO TŁA */
    background-size: cover;
    background-position: center;
    color: #f0f0f0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden; /* Ukryj cząsteczki wychodzące poza ekran */
    position: relative;
}

.disqualified {
    background-color: rgba(139, 0, 0, 0.2); /* Ciemnoczerwone tło */
    color: #888; /* Szary, wyblakły tekst dla nicku i miejsca */
}

.disqualified td:first-child, /* Styl dla komórki z miejscem */
.disqualified td:nth-child(2) { /* Styl dla komórki z nickiem */
    color: #ccc; /* Jaśniejszy szary, aby nick i miejsce były czytelne */
}

.dsq-text {
    color: #DC143C; /* Karmazynowy kolor dla napisu DSQ */
    font-weight: bold;
}

.dsq-text {
    color: #DC143C; /* Karmazynowy kolor dla napisu DSQ */
    font-weight: bold;
    text-decoration: none !important; /* Usuń przekreślenie z samego napisu DSQ */
}

/* Nakładka z cząsteczkami */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/dust.png');
    animation: move-particles 60s linear infinite;
    opacity: 0.1;
}

@keyframes move-particles {
    from { transform: translate(0, 0); }
    to { transform: translate(-256px, 256px); } /* Rozmiar tekstury pyłu */
}

.container {
    text-align: center;
    background-color: rgba(10, 10, 10, 0.8);
    padding: 30px 50px;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

h1 {
    color: #FFD700; /* Złoty kolor */
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

table {
    width: 800px;
    margin: 20px auto;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    transition: all 0.5s ease-in-out;
}

thead tr {
    background-color: rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid #FFD700;
}

tbody tr {
    border-bottom: 1px solid #333;
}

tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Klasy do animacji */
.row-move-up { animation: move-up 0.5s forwards; }
.row-move-down { animation: move-down 0.5s forwards; }

@keyframes move-up {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes move-down {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

#pagination button {
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid #FFD700;
    color: #FFD700;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

#pagination button:hover:not(:disabled) {
    background-color: #FFD700;
    color: #1a1a1a;
}

#pagination button:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}
