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

html, body {
    cursor: none; /* Całkowicie ukrywamy kursor systemowy na całej stronie */
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #ffffff; 
}

/* Główny kursor */
.custom-cursor.site-wide {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    pointer-events: none; /* Kursor nie blokuje kliknięć na stronie */
    opacity: 0; /* Ukryty dopóki myszka nie wejdzie na stronę */
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 9999;
    
    background-image: url('normal.png'); 
    transition: opacity 0.2s ease, background-image 0.1s ease; 
}

.custom-cursor.visible {
    opacity: 1;
}

.custom-cursor.active {
    animation: cursorBounce 0.2s ease-out;
}

@keyframes cursorBounce {
    0% {
        transform: translate(var(--x), var(--y)) scale(1);
    }
    30% {
        transform: translate(var(--x), var(--y)) scale(0.8);
    }
    60% {
        transform: translate(var(--x), var(--y)) scale(1.3);
    }
    100% {
        transform: translate(var(--x), var(--y)) scale(1);
    }
}

.custom-cursor.type-link {
    background-image: url('link.png');
}
.custom-cursor.type-disabled {
    background-image: url('zb.png');
}

/* Ukryj systemowy kursor również na linkach i zablokuj pointery dzieciom w nagłówku */
html, body, a, a * {
    cursor: none !important;
}

header a * {
    pointer-events: none;
}

/* --- STYL DLA NAPISU POD PASKIEM --- */
.welcome-container {
    display: flex;
    justify-content: center; /* Wyśrodkowanie w poziomie */
    align-items: flex-start; /* Dosunięcie do góry */
    width: 100%;
    padding-top: 80px; /* Odstęp od góry (pasek ma 50px, więc 80px da ładny odstęp pod nim) */
    text-align: center;
    user-select: none;
}

#welcome-text {
    font-family: Arial, sans-serif;
    font-size: 70px;
    font-weight: bold;
    margin: 0;
    
    /* Płynne przejście: Niebieski po jednej stronie, różowy po drugiej, łączące się w środku */
    background: linear-gradient(90deg, #0051ff 0%, #ffea00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

#welcome-text {
    font-family: Arial, sans-serif;
    font-size: 70px;
    font-weight: bold;
    margin: 0;
    
    /* Płynne przejście: Niebieski po jednej stronie, różowy po drugiej, łączące się w środku */
    background: linear-gradient(90deg, #ff0000 0%, #ffbb00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
/* Styl dla mrocznego napisu (00:00 - 03:30) */
.midnight-scare {
    color: #ff0033 !important;
    text-shadow: 0 0 15px rgba(255, 0, 51, 0.8), 0 0 30px rgba(255, 0, 51, 0.4);
    letter-spacing: 2px;
    font-weight: bold;
}
/* Stylizacja przycisku i listy w czarnym pasku */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: transparent;
    color: #ffffff;
    border: none;
    font-size: 16px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.dropdown-btn:hover {
    background-color: #222222;
}

.arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #111111;
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
    border: 1px solid #333333;
    border-radius: 6px;
    z-index: 1002;
    overflow: hidden;
    margin-top: 5px;
}

.dropdown-content a {
    color: #ffffff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-family: Arial, sans-serif;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #252525;
    color: #ff3366;
}

.dropdown.active .dropdown-content {
    display: block;
}

.dropdown.active .arrow {
    transform: rotate(180deg);
}
/* 1. Ukrywamy całkowicie domyślny kursor na CAŁEJ stronie */
body, html, * {
    cursor: none !important;
}

/* 2. Upewniamy się, że Twój niestandardowy kursor nie blokuje kliknięć pod spodem */
.custom-cursor.site-wide {
    pointer-events: none !important;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999; /* Musi być na samym wierzchu */
}
/* 1. Całkowite ukrycie systemowego kursora dla KAŻDEGO elementu na stronie na wszystkich OS */
html, body, *, *::before, *::after {
    cursor: none !important;
}

/* 2. Zabezpieczenie dla custom kursora */
.custom-cursor.site-wide {
    pointer-events: none !important; /* Myszka klika przez kursor w elementy poniżej */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999 !important; /* Zawsze na samej górze warstw */
    user-select: none; /* Zapobiega przypadkowemu zaznaczaniu kursora jako tekstu */
    -webkit-user-select: none;
}

/* Stopka na dole strony */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 45px;
    padding: 10px 16px;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    z-index: 1000;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #ff3366;
}

/* ==========================================
   STYLES DLA STRONY REGULAMINU (terms.html)
   ========================================== */

.terms-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #000000;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    border-bottom: 1px solid #222222;
}

.terms-logo {
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease;
}

.terms-logo:hover {
    color: #ff3366;
}

#language-button {
    background: #1a1a1a;
    color: #ffffff;
    border: 1px solid #333333;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    cursor: none !important;
    transition: all 0.2s ease;
}

#language-button:hover {
    background: #2a2a2a;
    border-color: #555555;
    color: #ff3366;
}

.terms-content {
    max-width: 800px;
    margin: 90px auto 50px auto;
    padding: 35px;
    background: #111111;
    border: 1px solid #222222;
    border-radius: 12px;
    color: #dddddd;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.terms-content h1 {
    font-size: 32px;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 5px;
    border-bottom: 2px solid #222222;
    padding-bottom: 15px;
}

.terms-content .last-updated {
    font-size: 13px;
    color: #888888;
    margin-bottom: 30px;
}

.terms-content h2 {
    font-size: 18px;
    color: #ffffff;
    margin-top: 25px;
    margin-bottom: 8px;
}

.terms-content p {
    font-size: 15px;
    color: #cccccc;
    margin-bottom: 15px;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #333333;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: none !important;
}

.back-link:hover {
    background: #252525;
    border-color: #ff3366;
    color: #ff3366;
    transform: translateX(-3px);
}
/* ==========================================
   POPRAWKA DLA KURSORA NA STRONIE REGULAMINU
   ========================================== */
body {
    cursor: none !important;
}

a, button, input {
    cursor: none !important;
}

.custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    /* Upewnij się, że ma rozmiar i widoczność (dostosuj do swojego kodu kursora, jeśli różni się od głównego) */
}
.custom-cursor {
    position: fixed !important;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
}
.przycisk-prawy-gora {
  position: absolute;   /* Ustawia pozycję względem góry strony */
  top: 20px;            /* Odstęp od samej góry */
  right: 20px;          /* Odstęp od prawej krawędzi */
  
  /* Wygląd guzika (możesz zmienić pod siebie) */
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
