/* --- Podstawowe resety i style globalne --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    text-align: center;
}
.countdown.countdown-finished {
    background: #e5007d;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
}
.credits-bar {
    background-color: #1c1c1e;
    color: #86868b;
    padding: 15px 20px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 400;
}
.credits-bar p {
    margin: 0; 
}
.partners-section {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.partners-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

.partners-logos-container {
    display: grid; /* ZMIANA: Używamy siatki (grid) */
    grid-template-columns: repeat(3, 1fr); /* ZMIANA: Tworzymy 3 równe kolumny */
    gap: 50px; /* Odstęp między logotypami */
    max-width: 900px; /* Można dostosować, aby siatka była węższa lub szersza */
    margin: 0 auto;
    place-items: center; /* Idealnie centruje loga wewnątrz komórek siatki */
}

.partners-logos-container img {
    height: 45px;
    max-width: 150px;
    object-fit: contain;
}
/* ====================================================== */
/* POCZĄTEK NOWYCH STYLI DLA KARUZELI Z LOGOTYPAMI      */
/* ====================================================== */

/* Definicja animacji przesuwania */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.top-logos {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    overflow: hidden;
    position: relative;
    display: flex;
}

.logos-slide {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Kluczowe: Zapobiega kurczeniu się pasków */
    /* Usunęliśmy błędne min-width, szerokość dopasuje się do zawartości */
    animation: scroll 15s linear infinite;
}

.logos-slide img {
    height: 45px;
    margin: 0 40px;
    flex-shrink: 0;
}
/* ====================================================== */
/* KONIEC NOWYCH STYLI DLA KARUZELI                      */
/* ====================================================== */


/* --- Sekcja główna (Hero) --- */
.hero {
    position: relative; 
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white; 
    overflow: hidden; 
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1; 
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 0, 119, 0.4);
    z-index: 2; 
}

.hero-content {
    position: relative; 
    z-index: 3; 
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4); 
}

.main-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 6rem;
    font-weight: 900;
    color: white;
    margin: 0;
    opacity: 0; /* Zaczyna jako niewidoczny, animacja go pokaże */
}
.hero-content h1.fade-out {
    opacity: 0;
}
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Definicja animacji wylatywania do góry */
@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-60px);
    }
}

/* Klasy, które będziemy dodawać w JS, aby uruchomić animacje */
.slide-in-up {
    animation: slideInUp 0.7s ease-out forwards;
}

.slide-out-up {
    animation: slideOutUp 0.7s ease-out forwards;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.time-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 5px;
    min-width: 100px;
}
.time-box span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}
.time-box small {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
}

.promo-button {
    display: inline-block; /* Potrzebne dla linku, aby zachowywał się jak blok */
    margin-top: 50px;
    background-color: #ff0077; /* Intensywny różowy */
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 0, 119, 0.25);
    text-decoration: none; /* Usuwa podkreślenie linku */
    text-shadow: none;
}

.promo-button:hover {
    transform: translateY(-3px); /* Lekkie uniesienie przycisku */
    box-shadow: 0 8px 25px rgba(255, 0, 119, 0.8);
}

/* --- Sekcja formularza --- */
.form-section {
    background-color: #1c1c1e; /* Ciemne tło */
    padding: 30px 20px;
    color: #f5f5f7; /* Jasny kolor tekstu */
}

.form-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.form-subtitle {
    font-size: 1rem;
    color: #86868b; /* Szary, stonowany kolor dla podtytułu */
    max-width: 450px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

#signup-form .input-group {
    margin-bottom: 20px;
}

#signup-form input[type="text"],
#signup-form input[type="email"] {
    width: 100%;
    max-width: 450px;
    padding: 18px 20px;
    font-size: 1rem;
    color: #f5f5f7;
    background-color: #333; /* Ciemne tło pola */
    border: 1px solid #444; /* Subtelna ramka */
    border-radius: 12px; /* Bardziej zaokrąglone rogi */
    transition: all 0.3s ease;
}

#signup-form input::placeholder {
    color: #86868b;
}

#signup-form input:focus {
    outline: none;
    border-color: #ff0077; /* Różowa ramka po kliknięciu */
    box-shadow: 0 0 15px rgba(255, 0, 119, 0.3); /* Różowa poświata */
}

.consent-text {
    font-size: 0.8rem;
    color: #86868b;
    max-width: 450px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.consent-text a {
    color: #ff0077; /* Różowe linki */
    text-decoration: none;
}

.consent-text a:hover {
    text-decoration: underline;
}

#signup-form button {
    background-color: #ff0077; /* Intensywny różowy */
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 0, 119, 0.25);
}

#signup-form button:hover {
    transform: translateY(-3px); /* Lekkie uniesienie przycisku */
    box-shadow: 0 8px 25px rgba(255, 0, 119, 0.4);
}

.form-footer-info {
    margin-top: 30px;
    font-size: 0.75rem;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
/* --- Stopka --- */
.site-footer {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Pozwala linkom zawijać się na mniejszych ekranach */
    gap: 10px 100px; /* Odstęp pionowy i poziomy */
}

.footer-nav a {
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    color: #555;
    letter-spacing: 0.05em; /* Odstępy między literami */
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #ff0077; /* Różowy kolor po najechaniu */
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 10px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #999;
    margin-top: 7px;
}
/* ============================================= */
/* NOWE STYLE DLA POWIADOMIEŃ                    */
/* ============================================= */
.form-notification {
    max-width: 450px;
    margin: 20px auto 0 auto;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

.form-notification.show {
    opacity: 1;
    max-height: 100px; /* Wystarczająco duża, by pomieścić tekst */
}

.form-notification.success {
    background-color: rgba(46, 204, 113, 0.15);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

.form-notification.error {
    background-color: rgba(255, 0, 119, 0.15);
    border: 1px solid #ff0077;
    color: #ff0077;
}
.top-logos {
  background: white;
  padding: 20px 0;
  overflow: hidden;
  border-bottom: 1px solid #eee;
}

.logos-wrapper {
  width: 100%;
  overflow: hidden;
}

.logos-slide {
  display: flex;
  animation: scroll 15s linear infinite;
}

.logos-slide img {
  height: 45px;
  margin: 0 40px;
  flex-shrink: 0;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ====================================================== */
/* KONIEC STYLI DLA STOPKI                              */
/* ====================================================== */

@media (max-width: 768px) {
    
    /* Zmniejszamy loga i marginesy w karuzeli */
    .logos-slide img {
        height: 25px;
        margin: 0 20px;
    }
#background-video {

transform: translate(-47%, -46%);
}

    .hero {
        height: auto; /* Wysoko�� dopasuje si� do zawarto�ci */
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 3rem; /* Zmniejszamy g��wny nag��wek */
    }

    .main-logo {
        max-width: 150px;
    }

    /* Zmniejszamy licznik */
    .time-box {
        min-width: 70px;
        padding: 8px 10px;
    }

    .time-box span {
        font-size: 1.8rem;
    }
    
    .time-box small {
        font-size: 0.6rem;
    }

    /* Zmniejszamy przycisk promocyjny */
    .promo-box {
        font-size: 1.2rem;
        padding: 10px 20px;
    }

    /* Dopasowujemy sekcj� formularza */
    .form-section {
        padding: 60px 20px;
    }

    .form-section h3 {
        font-size: 2rem;
    }
    
    #signup-form input[type="text"],
    #signup-form input[type="email"] {
        padding: 15px;
    }

    #signup-form button {
        padding: 15px 40px;
        font-size: 1rem;
    }

    /* Dopasowujemy stopk� */
    .footer-nav ul {
        flex-direction: column; /* Linki w stopce jeden pod drugim */
        gap: 15px;
    }
    
    .footer-logo {
        font-size: 2rem;
    }
}
/* ====================================================== */
/* STYLE DLA BANERA I MODALU COOKIE (POPRAWIONE)          */
/* ====================================================== */

/* --- Baner na dole strony --- */
.cookie-banner-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fdfdfd;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 25px 30px;
    border-top: 1px solid #e9e9e9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-banner-content {
    display: flex;
    flex-direction: column; /* ZMIANA: Ustawia elementy w kolumnie (jeden pod drugim) */
    align-items: stretch; /* ZMIANA: Rozciąga elementy do pełnej szerokości kontenera */
    width: 100%;
    gap: 20px; /* ZMIANA: Zwiększa odstęp między blokiem tekstu a przyciskami */
}

.cookie-banner-text {
    text-align: left;
    flex: 1 1 auto; /* Pozwól rosnąć, ale też się kurczyć */
}

.cookie-banner-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #333;
}

.cookie-banner-text p {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}
.cookie-banner-text a {
    color: #ff0077;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
}
.cookie-banner-text a:hover {
    color: #e6006d;
}
.cookie-customize-link {
    display: inline-block; /* Ważne, aby margines zadziałał */
    color: #ff0077;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 10px; /* Odstęp od tekstu powyżej */
}
.cookie-customize-link:hover {
    color: #e6006d;
}


.cookie-banner-actions {
    display: flex;
    justify-content: flex-end; /* ZMIANA: Wyrównuje przyciski do prawej */
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn-accept, .cookie-btn-reject {
    padding: 12px 25px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap; /* Zapobiega łamaniu tekstu w przyciskach */
}

.cookie-btn-accept {
    background-color: #ff0077;
    color: white;
}
.cookie-btn-accept:hover {
    background-color: #e6006d;
}

.cookie-btn-reject {
    background-color: #e9ecef;
    color: #333;
    border-color: #dee2e6;
}
.cookie-btn-reject:hover {
    background-color: #d8dde1;
}


/* --- Modal szczegółowy (bez zmian, ale wklejony dla kompletności) --- */
#cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1001;
}

#cookie-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 550px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1002;
    text-align: left;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 1px solid #eee;
}

.cookie-modal-logo {
    height: 25px;
}

.cookie-modal-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}
.cookie-modal-close-btn:hover {
    color: #333;
}

.cookie-modal-body {
    padding: 25px;
}
.cookie-modal-body h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.cookie-modal-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}
.cookie-modal-body a {
    color: #ff0077;
    text-decoration: underline;
}

.cookie-category {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}
.cookie-category:last-child {
    border-bottom: none;
}
.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.cookie-modal-footer {
    padding: 20px 25px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}
.footer-nav a{
    font-weight: 500;
}
.footer-logo-container{
    margin-top: 47px;
}
/* --- Style dla przełączników (toggles) --- */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #ff0077;
}

input:focus + .slider {
  box-shadow: 0 0 1px #ff0077;
}

input:checked + .slider:before {
  -webkit-transform: translateX(22px);
  -ms-transform: translateX(22px);
  transform: translateX(22px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.slider.disabled {
    background-color: #dcdcdc;
    cursor: not-allowed;
}

input:disabled + .slider:before {
    background-color: #f0f0f0;
}

/* --- Responsywność dla cookie --- */
@media (max-width: 992px) {
    .cookie-banner-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .cookie-banner-text {
        text-align: center;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 576px) {
    
    /* Zmniejszamy okienko, aby zawsze miało marginesy po bokach */
    #cookie-modal {
        width: 90%;
    }

    /* Zmniejszamy wewnętrzne "wypełnienie", żeby było więcej miejsca na treść */
    .cookie-modal-body {
        padding: 20px 15px;
    }

    .cookie-modal-footer {
        padding: 15px;
        flex-direction: column; /* Przyciski jeden pod drugim */
        gap: 10px;
    }
    .cookie-modal-footer button {
        width: 100%; /* Przyciski na całą szerokość */
    }

    /* Kluczowa poprawka: pozwalamy tekstowi się swobodnie zawijać */
    .cookie-category-header {
        gap: 15px; /* Zapewnia odstęp między tekstem a przełącznikiem */
    }
    .cookie-category-header span {
        flex-basis: 80%; /* Ogranicza rozpychanie się tekstu */
    }
}


@media (max-width: 768px) {
    .partners-section h2 {
        font-size: 2rem;
    }
    .partners-logos-container {
        /* Na tabletach i telefonach zmieniamy siatkę na 2 kolumny */
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .partners-logos-container img {
        height: 35px;
    }
      .countdown {
        flex-wrap: wrap;
        gap: 10px 15px;
    }

    .time-box {
        min-width: 70px;
        padding: 8px 12px;
    }

    .time-box span {
        font-size: 1.8rem;
    }

    .time-box small {
        font-size: 0.6rem;
    }
   .hero {
    height: 100vh;
    max-height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    line-height: 1.1;
    word-break: break-word;
    text-wrap: balance; /* nowoczesna przeglądarka */
    margin: 0 auto;
}
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
}

.popup-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 1002;
    max-width: 90%;
    width: 360px;
    text-align: left;
}

.popup-box h3 {
    margin-top: 0;
    color: #ff0077;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.popup-box p {
    margin: 10px 0;
    font-size: 0.95rem;
    color: #333;
}

.popup-box a {
    color: #ff0077;
    text-decoration: none;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #aaa;
    cursor: pointer;
}
.popup-close:hover {
    color: #ff0077;
}
