body, html {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #0b0e1a; /* ciemne tło strony */
    color: #f0f0f0;
}

/* HERO */
.ranking-hero {
    text-align: center;
    padding: 50px 20px 30px;
}

.ranking-hero h1 {
    font-size: 50px;
    color: #c49c29;
    margin: 0;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.linia-dekoracyjna {
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #c49c29, transparent);
    margin: 20px auto;
}

.ranking-hero p {
    color: #ccc;
    font-size: 16px;
    margin-top: 10px;
}

/* LISTA RANKINGOWA */
.ranking-lista {
    display: flex;
    justify-content: center;
    padding: 30px 10%;
    min-height: calc(100vh - 180px);
    /* tutaj ustawiamy obraz papirusu jako tło */
    background-image: url('../img/papirus.jpeg'); /* podmień na swój plik papirusu */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 40px;
}

/* Usuń tło elementów listy – niech będzie przezroczyste */
.ranking-lista li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px 20px;
    margin: 10px 0;
    background: rgba(255,255,255,0.0); /* przezroczyste */
    border-left: 6px solid;
    border-radius: 15px;
    position: relative;
    font-size: 20px;
    color: #2c1a00; /* ciemny brąz, żeby było czytelne na papirusie */
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

/* Hover lekko rozświetla */
.ranking-lista li:hover {
    background: rgba(255,255,255,0.05);
    transform: translateX(3px);
}

/* Numer miejsca */
.miejsce {
    font-size: 28px;
    font-weight: bold;
    margin-right: 20px;
    width: 40px;
    text-align: center;
    color: #a56c1b;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Nazwa domu */
.dom-nazwa {
    flex: 1;
    font-weight: bold;
}

/* Punkty */
.dom-punkty {
    font-weight: 600;
    color: #4b2e00;
}

/* Kolory domów (border-left) */
.dom-aurum { border-left-color: #c49c29; }
.dom-amethyst { border-left-color: #8e44ad; }
.dom-viridis { border-left-color: #27ae60; }
.dom-ruber { border-left-color: #e74c3c; }