﻿/* Reset marginesów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    height: 100vh;
    overflow: hidden; /* Żeby drganie nie wywalało pasków przewijania */
}

/* DRGAJĄCA WARSTWA TŁA */
.background-shaker {
    position: fixed;
    top: -5%; /* Lekko powiększamy, żeby nie było widać krawędzi przy drganiu */
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('lol.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1; /* Obrazek pod spodem wszystkiego */
    
    /* Animacja tylko dla tej warstwy */
    animation: backgroundShake 2s infinite;
}

/* Animacja drgania */
@keyframes backgroundShake {
    0% { transform: translate(0,0); }
    20% { transform: translate(-30px, 20px); }
    40% { transform: translate(-30px, -20px); }
    60% { transform: translate(30px, 20px); }
    80% { transform: translate(30px, -20px); }
    100% { transform: translate(0,0); }
}

/* Pasek i dane kontaktowe - teraz będą stały stabilnie */
.scrolling-text-container {
    position: absolute;
    bottom: 15%;
    width: 100%;
    background-color: #000;
    overflow: hidden;
    padding: 20px 0;
    border-top: 4px solid #FFD700;
    border-bottom: 4px solid #FFD700;
    z-index: 10;
}

.scrolling-text-container {
    position: fixed;
    bottom: 15%;
    width: 100%;
    
    /* CZARNE TŁO Z PRZEZROCZYSTOŚCIĄ (0.7 to 70% widoczności) */
    background-color: rgba(0, 0, 0, 0.7); 
    
    /* DODATKOWY EFEKT: Rozmycie tła pod paskiem (tzw. Frosted Glass) */
    backdrop-filter: blur(5px); 
    
    padding: 20px 0;
    border-top: 4px solid #FFD700;
    border-bottom: 4px solid #FFD700;
    z-index: 10;
    overflow: hidden;
}

.scrolling-text {
    display: inline-block;
    white-space: nowrap;
    animation: mieciuScroll 15s linear infinite;
}

.scrolling-text span {
    display: inline-block;
    font-size: 8rem;
    font-weight: 900;
    font-family: 'Arial Black', sans-serif;
    padding-right: 50px;
    
    /* LITERY MUSZĄ BYĆ CZARNE */
    color: #000; 
    /* OBRAMOWANIE MOŻE BYĆ ŻÓŁTE */
    -webkit-text-stroke: 2px #FFD700; 
}

@keyframes mieciuScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}



.contact-footer {
    position: absolute;
    bottom: 5%; /* Niżej niż pasek (pasek ma 15%) */
    width: 100%;
    display: flex;
    justify-content: center; /* Centrowanie danych */
    gap: 40px; /* Odstępy między telefonem a mailem */
    padding: 10px;
    z-index: 10;
}

.contact-item {
    color: #FFD700; /* Żółty kolor Miecia */
    font-family: 'Arial Black', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Delikatne czarne tło pod samym tekstem, żeby był czytelny na obrazku */
    background-color: rgba(0, 0, 0, 0.7); 
    padding: 5px 15px;
    border: 1px solid #FFD700;
}