* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue Condensed Bold", "HelveticaNeue-CondensedBold", "Helvetica Neue", "Arial Narrow", sans-serif;
    font-weight: bold;
    font-stretch: condensed;
    background-color: #ba000d;
    color: #000;
    height: 100vh; /* BLOKADA WYSOKOŚCI NA 100% EKRANU */
    overflow: hidden; /* CAŁKOWITY ZAKAZ SCROLLOWANIA NA MOBILE */
    -webkit-font-smoothing: antialiased;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('mobile_tło.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    z-index: -1;
}

.content-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    overflow: hidden; /* Blokada przewijania wewnątrz wrappera */
}

/* =========================================
   MOBILE SETTINGS - "PRZYCZEPIONE DO EKRANU"
========================================= */
.spacer-mobile {
    height: 52vh; /* ZNACZNIE OBNIŻONA LISTA, BY OMINĄĆ NOGI ZDJĘCIA */
    flex-shrink: 0;
}

.desktop-content-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Wypełnia resztę ekranu w dół */
    overflow: hidden;
}

.concert-list {
    padding: 0 5%;
    display: flex;
    flex-direction: column;
}

.concert-item {
    display: grid;
    grid-template-columns: 35px 85px 1fr;
    gap: 8px;
    text-decoration: none;
    color: #000;
    font-size: 10.5px; /* Delikatnie mniejszy font, by lista zmieściła się na dole po obniżeniu */
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2px;
    white-space: nowrap; /* ZAKAZ ZAWIJANIA TEKSTU */
    max-width: 100%;
}

.concert-item:hover:not(.no-hover) {
    opacity: 0.6;
}

.event {
    overflow: hidden;
    text-overflow: ellipsis; 
}

.footer {
    padding: 0 0 15px 0;
    margin-top: auto; /* SPYCHA STOPKĘ NA SAM DÓŁ EKRANU */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 32px;
    height: 32px;
    background: #ba000d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.social-icon img {
    width: 15px;
    filter: invert(1);
}

.social-icon:hover {
    transform: scale(1.1);
}

.contact {
    text-align: center;
    font-size: 10px;
    line-height: 1.2;
    color: #fff; /* BIAŁY KOLOR NA MOBILE ZGODNIE Z PROŚBĄ */
}

/* =========================================
   DESKTOP SETTINGS (Powyżej 1024px)
========================================= */
@media screen and (min-width: 1024px) {
    body {
        overflow: hidden; /* Utrzymanie blokady przewijania ekranu */
    }

    .background-container {
        background-image: url('www_tło_desktop.png');
        background-size: cover;
        background-position: center;
    }

    .spacer-mobile {
        display: none;
    }

    .content-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 50vw; 
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center; 
        padding-top: 40vh; 
    }

    .desktop-content-box {
        width: max-content; 
        display: flex;
        flex-direction: column;
        flex-grow: 0; 
        overflow: visible; 
    }

    .concert-list {
        padding: 0;
        display: flex;
        flex-direction: column;
        max-height: 50vh;
        overflow-y: auto; 
        overflow-x: hidden;
        padding-right: 15px;
    }
    
    .concert-list::-webkit-scrollbar {
        width: 5px;
    }
    .concert-list::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.3);
        border-radius: 10px;
    }

    .concert-item {
        display: grid;
        grid-template-columns: 50px 140px max-content; 
        gap: 15px; 
        font-size: 16px; 
        letter-spacing: 0.2px; 
        line-height: 1.2; 
        margin-bottom: 2px; 
        white-space: nowrap; 
    }

    .footer {
        padding: 0;
        margin-top: 25px; 
        display: flex;
        flex-direction: row; 
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .socials {
        gap: 10px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .social-icon img {
        width: 18px;
    }

    .contact {
        text-align: left;
        font-size: 13px; 
        line-height: 1.3;
        color: #ba000d; /* CZERWONY KOLOR NA DESKTOP */
        display: flex;
        flex-direction: column; 
    }
    
    .event {
        text-overflow: clip; 
    }
}