﻿/* =========================================
  DEKLARACJA KOLORĂ“W (Zmiennych CSS)
  =========================================
*/
:root {
  --primary-orange: #FF7518;
  --dark-purple: #4B0082;
  --dark-bg: #1A1A1A;     /* GĹ‚Ăłwne, najciemniejsze tĹ‚o */
  --light-text: #F5F5F5;
  --card-bg: #2C2C2C;     /* TĹ‚o dla sekcji "zebry" */
}

/* Import czcionek (to juĹĽ powinieneĹ› mieÄ‡) */
@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Poppins:wght@400;500;700&display=swap');

/* ... reszta twojego pliku style.css ... */

/* Import czcionek */
@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Poppins:wght@400;500;700&display=swap');

/* Paleta kolorĂłw Halloween (nieco odĹ›wieĹĽona)
  --primary-orange: #FF7518; (ĹĽywszy pomaraĹ„cz)
  --dark-purple: #4B0082;   (indigo/fiolet)
  --dark-bg: #1A1A1A;       (tĹ‚o gĹ‚Ăłwne)
  --light-text: #F5F5F5;    (jasny tekst)
  --card-bg: #2C2C2C;       (tĹ‚o dla sekcji)
*/

/* --- Globalne Style --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    /* Dodajemy pĹ‚ynne przewijanie */
    scroll-behavior: smooth;
}

h1, h2 {
    font-family: 'Bangers', cursive;
    letter-spacing: 2px;
    color: var(--primary-orange);
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 4.5rem; /* WiÄ™kszy tytuĹ‚ */
    text-shadow: 4px 4px 0px var(--dark-purple);
    /* Animacja "pĹ‚ywania" */
    animation: bobbing 3s ease-in-out infinite;
}

h2 {
    font-size: 3rem;
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Nowy NagĹ‚Ăłwek (Header) --- */
header {
    width: 100%;
    height: 70vh; /* Zajmuje 70% wysokoĹ›ci ekranu */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    
    /* Dynamiczne tĹ‚o (z index.php) */
    background-size: cover;
    background-position: center;
    
    /* Efekt paralaksy przy przewijaniu */
    background-attachment: fixed;
}

/* NakĹ‚adka na tĹ‚o, aby tekst byĹ‚ bardziej czytelny */
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Ciemny gradient z fioletem */
    background: linear-gradient(0deg, rgba(26, 26, 26, 0.8) 0%, rgba(75, 0, 130, 0.6) 100%);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2; /* TreĹ›Ä‡ nad nakĹ‚adkÄ… */
    padding: 20px;
    max-width: 900px;
}

.description,
.description p { /* <--- DODAJ TO */
    font-size: 1.3rem;
    font-weight: 500;
    color: #f0f0f0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    margin: 0; /* <--- DODAJ TO, aby edytor nie dodawaĹ‚ wĹ‚asnych marginesĂłw */
}

/* --- GĹ‚Ăłwna TreĹ›Ä‡ (Main) --- */
main {
    width: 100%;
    /* Usuwamy padding - sekcje bÄ™dÄ… teraz na 100% */
}

/* Nowy kontener centrujÄ…cy treĹ›Ä‡ */
.content-wrapper {
    max-width: 1100px; /* Szerszy kontener */
    margin: 0 auto;
    padding: 0 20px; /* OdstÄ™py boczne na telefonach */
}

/* WspĂłlny styl dla sekcji */
/* WspĂłlny styl dla peĹ‚noekranowych sekcji */
#map-container,
#form-container {
    width: 100%;
    padding: 60px 0; /* DuĹĽy odstÄ™p wewnÄ™trzny gĂłra/dĂłĹ‚ */
    
    /* Usuwamy style "pudeĹ‚ka" */
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
    border: none;
}

/* --- Efekt "Zebra" (naprzemienne tĹ‚a) --- */

/* Sekcja mapy bÄ™dzie miaĹ‚a tĹ‚o "karty" (trochÄ™ jaĹ›niejsze) */
#map-container {
    background: var(--card-bg); /* tĹ‚o #2C2C2C */
}

/* Sekcja formularza bÄ™dzie miaĹ‚a gĹ‚Ăłwne tĹ‚o (ciemniejsze) */
#form-container {
    background: var(--dark-bg); /* tĹ‚o #1A1A1A */
}

/* --- Mapa --- */
#map {
    width: 100%;
    height: 500px; /* WyĹĽsza mapa */
    background-color: #555;
    border-radius: 10px;
}

/* --- Formularz --- */
#form-container p {
    text-align: center;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group-split {
    display: flex;
    gap: 15px;
}

.form-group-split .form-group {
    flex: 1;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .form-group-split {
        flex-direction: column;
        gap: 0;
    }
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--primary-orange);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--dark-purple);
    border-radius: 8px;
    background: #333;
    color: var(--light-text);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 10px rgba(255, 117, 24, 0.5);
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 18px;
    font-size: 1.5rem; /* WiÄ™kszy tekst na przycisku */
    font-weight: 700;
    font-family: 'Bangers', cursive;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(45deg, var(--primary-orange), #FF4500);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none; /* <--- DODAJ TÄ LINIÄ */
}

.btn-submit:hover {
    transform: translateY(-5px); /* Efekt "uniesienia" */
    box-shadow: 0 8px 20px rgba(255, 117, 24, 0.4);
}

/* --- Stopka --- */
footer {
    width: 100%;
    text-align: center;
    padding: 30px;
    background: #111; /* Ciemniejsza stopka */
    color: #888;
    margin-top: 20px;
    border-top: 2px solid var(--primary-orange);
}

/* --- Komunikaty (bez zmian, ale bÄ™dÄ… lepiej wyglÄ…daÄ‡) --- */
.msg-success {
    /* ... (style z Krok 2, Wersja 1) ... */
}


/* =========================================
  ANIMACJE ďż˝ďż˝ďż˝ďż˝ďż˝ďż˝
  =========================================
*/

/* Animacja "pĹ‚ywania" dla tytuĹ‚u H1 */
@keyframes bobbing {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Animacja "pojawiania siÄ™ z doĹ‚u" dla sekcji */
.animated-section {
    opacity: 0; /* DomyĹ›lnie ukryte */
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* OpĂłĹşnienie drugiej sekcji, aby pojawiaĹ‚y siÄ™ po kolei */
#form-container {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
  RESPONSYWNOĹšÄ† (Mobile)
  =========================================
*/
@media (max-width: 768px) {
    
    header {
        height: 60vh; /* Mniejszy nagĹ‚Ăłwek na telefonie */
        background-attachment: scroll; /* WyĹ‚Ä…czamy paralaksÄ™ na mobilce (wydajnoĹ›Ä‡) */
    }

    h1 {
        font-size: 3.0rem; /* Mniejszy tytuĹ‚ */
    }
    
    h2 {
        font-size: 2.2rem;
    }

    .description {
        font-size: 1.1rem;
    }

    .content-wrapper {
        padding: 0 15px; /* Mniejsze marginesy boczne */
    }

    #map-container,
    #form-container {
        padding: 20px;
    }

    #map {
        height: 350px; /* NiĹĽsza mapa na telefonie */
    }
}

/* =========================================
  STYLE DLA PRZYCISKĂ“W RADIOWYCH (TYP MIEJSCA)
  =========================================
*/

/* Ukrywamy domyĹ›lne, brzydkie kĂłĹ‚ko */
.radio-group input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.radio-group {
    display: flex;
    flex-wrap: wrap; /* Na telefonach ustawi siÄ™ jedno pod drugim */
    gap: 15px; /* OdstÄ™p miÄ™dzy przyciskami */
}

.radio-label {
    display: inline-block;
    padding: 12px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid var(--dark-purple);
    transition: all 0.3s ease;
}

/* Styl dla opcji PRZYJAZNEJ */
.radio-friendly {
    background: #333;
    color: #eee;
}

/* Styl dla opcji NIEPRZYJAZNEJ */
.radio-unfriendly {
    background: #333;
    color: #eee;
}

/* --- Efekty po klikniÄ™ciu --- */

/* Tak wyglÄ…da zaznaczona opcja PRZYJAZNA */
.radio-group input[type="radio"]:checked + .radio-friendly {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(255, 117, 24, 0.5);
}

/* Tak wyglÄ…da zaznaczona opcja NIEPRZYJAZNA */
.radio-group input[type="radio"]:checked + .radio-unfriendly {
    background: #c0392b; /* Czerwony */
    border-color: #c0392b;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(192, 57, 43, 0.5);
}

/* =========================================
  STYLE DLA POLA UWAG I CHECKBOXA (FRONTEND)
  =========================================
*/

/* Pole Uwagi (Textarea) na stronie gĹ‚Ăłwnej */
#form-container .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--dark-purple);
    border-radius: 8px;
    background: #333;
    color: var(--light-text);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    resize: vertical; /* Pozwala tylko na zmianÄ™ wysokoĹ›ci */
    min-height: 80px;
}

#form-container .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 10px rgba(255, 117, 24, 0.5);
}

/* Stylizacja Checkboxa */
.form-group-checkbox {
    display: flex;
    align-items: flex-start; /* Dopasowuje gĂłry */
    gap: 12px;
    margin-bottom: 25px;
}

.form-group-checkbox input[type="checkbox"] {
    /* PowiÄ™kszamy checkboxa i nadajemy mu styl */
    flex-shrink: 0; /* Zapobiega kurczeniu siÄ™ */
    width: 20px;
    height: 20px;
    margin-top: 5px; /* Lekkie obniĹĽenie */
    accent-color: var(--primary-orange); /* Kolor "ptaszka" */
    cursor: pointer;
}

.form-group-checkbox label {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
    cursor: pointer;
}

/* =========================================
  STYLE DLA STRONY dodaj.php i linku na index.php
  =========================================
*/

/* Link powrotny na stronie /dodaj.php */
.btn-back {
    display: inline-block;
    margin-bottom: 30px;
    padding: 8px 15px;
    background: #333;
    color: var(--light-text);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--admin-border);
}
.btn-back:hover {
    background: #444;
    color: #fff;
}

/* Sekcja z linkiem do dodawania (na index.php) */
#add-link-container {
    background: var(--dark-bg); /* Ciemniejsze tĹ‚o, jak w "zebrze" */
    text-align: center;
    padding: 60px 0;
}

#add-link-container p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 25px;
}

/* UĹĽywamy stylĂłw .btn-submit, ale dodajemy .btn-large */
.btn-large {
    font-size: 1.8rem; /* WiÄ™kszy przycisk */
    padding: 20px 30px;
    max-width: 500px;
    margin: 0 auto;
}

/* =========================================
  STYL DLA BLOKU INFO (dodaj.php)
  =========================================
*/
#info-container {
    background: var(--dark-bg); /* Ciemniejsze tĹ‚o, pasujÄ…ce do "zebry" */
    padding: 50px 0;
}

#info-container .content-wrapper p {
    font-size: 1.2rem;
    color: #ccc;
    text-align: center;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto; /* Centruje tekst, jeĹ›li jest wÄ™ĹĽszy */
}

/* =========================================
  STYL DLA BLOKU INTRO (index.php)
  =========================================
*/
#intro-container {
    /* UĹĽywamy tĹ‚a "karty", aby odrĂłĹĽniÄ‡ od nagĹ‚Ăłwka i mapy */
    background: var(--card-bg); 
    padding: 50px 0;
}

/* Upewniamy siÄ™, ĹĽe tekst z edytora (np. <p>) 
   bÄ™dzie wyĹ›rodkowany i czytelny 
*/
#intro-container .content-wrapper {
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

#intro-container .content-wrapper p {
    margin-bottom: 15px;
}

#intro-container .content-wrapper p:last-child {
    margin-bottom: 0;
}

.footer-links {
    font-size: 0.9rem;
    margin-top: 10px;
    display: inline-block;
}

.footer-links a {
    color: #aaa;
    text-decoration: underline;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

/* =========================================
  STYL DLA ANIMOWANEGO LICZNIKA (DUAL COUNTER & REKORD)
  =========================================
*/
#counter-section {
    background: linear-gradient(180deg, #140b1e 0%, #1d102b 100%);
    padding: 45px 20px 35px;
    text-align: center;
    position: relative;
    z-index: 5;
    border-bottom: 1px solid rgba(255, 117, 24, 0.15);
}

.counters-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
}

.counter-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: 400px;
    background: rgba(34, 17, 51, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 24px 20px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.counter-card:hover {
    transform: translateY(-4px);
}

.current-year-card {
    border-color: #ff7518;
    box-shadow: 0 0 25px rgba(255, 117, 24, 0.2), 0 8px 24px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, rgba(46, 25, 68, 0.85) 0%, rgba(34, 17, 51, 0.95) 100%);
}

.last-year-card {
    border-color: rgba(184, 168, 207, 0.35);
    box-shadow: 0 0 20px rgba(106, 76, 147, 0.2), 0 8px 24px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, rgba(28, 16, 42, 0.85) 0%, rgba(20, 11, 30, 0.95) 100%);
}

.counter-badge {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    white-space: nowrap;
}

.badge-current {
    background: #ff7518;
    color: #140b1e;
    box-shadow: 0 2px 8px rgba(255, 117, 24, 0.4);
}

.badge-archive {
    background: #5a3e7a;
    color: #ffd166;
    border: 1px solid rgba(255, 209, 102, 0.3);
}

.counter-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    color: #d1c4e9;
    margin: 0;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.counter-number {
    font-family: 'Bangers', cursive;
    font-size: 4.8rem;
    color: #ff7518;
    text-shadow: 3px 3px 0px #181324, 0 0 15px rgba(255, 117, 24, 0.3);
    line-height: 1.1;
    margin: 8px 0 4px;
}

.counter-number-archive {
    color: #ffc300;
    text-shadow: 3px 3px 0px #181324, 0 0 15px rgba(255, 195, 0, 0.25);
}

.counter-subtext {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #aaa;
    margin: 0;
    font-weight: 400;
}

.counter-vs-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}

.counter-vs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #140b1e;
    border: 2px solid #ff7518;
    color: #ff7518;
    font-family: 'Bangers', cursive;
    font-size: 1.25rem;
    box-shadow: 0 0 15px rgba(255, 117, 24, 0.35);
}

.counter-motivation {
    margin-top: 25px;
}

.motivation-banner {
    display: inline-block;
    max-width: 750px;
    background: linear-gradient(135deg, rgba(255, 117, 24, 0.15) 0%, rgba(106, 76, 147, 0.25) 100%);
    border: 1.5px solid #ff7518;
    border-radius: 30px;
    padding: 12px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 4px 18px rgba(255, 117, 24, 0.25);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    line-height: 1.4;
}

.motivation-banner.record-broken {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.25) 0%, rgba(255, 230, 0, 0.2) 100%);
    border-color: #2ecc71;
    box-shadow: 0 4px 18px rgba(46, 204, 113, 0.35);
}

@media (max-width: 680px) {
    #counter-section {
        padding: 30px 10px 25px;
    }
    .counters-grid {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
    }
    .counter-card {
        padding: 14px 6px 12px;
        border-radius: 16px;
    }
    .counter-badge {
        font-size: 0.62rem;
        padding: 2px 7px;
        margin-bottom: 6px;
        letter-spacing: 0.4px;
    }
    .counter-card h3 {
        font-size: 0.8rem;
        line-height: 1.2;
        min-height: 2.4em;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .counter-number {
        font-size: 2.8rem;
        margin: 4px 0 2px;
    }
    .counter-subtext {
        font-size: 0.72rem;
    }
    .counter-vs-wrap {
        margin: 0 -6px;
    }
    .counter-vs {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
        border-width: 1.5px;
    }
    .counter-motivation {
        margin-top: 18px;
    }
    .motivation-banner {
        font-size: 0.88rem;
        padding: 10px 14px;
        border-radius: 20px;
    }
}

@media (max-width: 400px) {
    #counter-section {
        padding: 25px 6px 20px;
    }
    .counters-grid {
        gap: 4px;
    }
    .counter-card {
        padding: 10px 4px 8px;
        border-radius: 12px;
    }
    .counter-badge {
        font-size: 0.52rem;
        padding: 2px 4px;
        letter-spacing: 0;
    }
    .counter-card h3 {
        font-size: 0.7rem;
    }
    .counter-number {
        font-size: 2.2rem;
    }
    .counter-subtext {
        font-size: 0.62rem;
    }
    .counter-vs-wrap {
        margin: 0 -4px;
    }
    .counter-vs {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    .motivation-banner {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
}

/* =========================================
  STYL DLA WIADOMOŚCI O ZAMKNIĘCIU FORMULARZA
  =========================================
*/
#form-closed {
    background: var(--card-bg);
    padding: 60px 0;
}

#form-closed .content-wrapper {
    text-align: center;
    color: #ccc;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

#form-closed .content-wrapper h3 {
    font-family: 'Bangers', cursive;
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

#form-closed .content-wrapper p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* =========================================
  STYL DLA BLOKU "POSTAW KAWÄ"
  =========================================
*/
#patron-section {
    background: #FFDD44; /* Jasny, "kawowy" ĹĽĂłĹ‚ty/zĹ‚oty */
    padding: 40px 20px;
    position: relative;
    z-index: 5;
}
.patron-container {
    display: flex;
    flex-direction: column; /* Na telefonach */
    justify-content: center;
    align-items: center;
    gap: 20px;
}
#patron-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    color: #1A1A1A; /* Ciemny tekst na jasnym tle */
    margin: 0;
    font-weight: 700;
    text-shadow: none;
}

.btn-patron {
    display: inline-block;
    font-family: 'Bangers', cursive;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: #fff;
    background: #c0392b; /* Mocny czerwony */
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.btn-patron:hover {
    background: #a53125;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Na wiÄ™kszych ekranach, uĹ‚ĂłĹĽ obok siebie */
@media (min-width: 768px) {
    .patron-container {
        flex-direction: row; /* Obok siebie */
        justify-content: space-between;
    }
    #patron-section h3 {
        font-size: 1.8rem;
    }
}
/* =========================================
  HALLOWEEN USER REALTIME LOCATION CONTROL
  =========================================
*/
.halloween-location-control-container {
    margin-right: 14px;
    margin-bottom: 24px;
    z-index: 10;
}

.btn-halloween-location {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1f1430 0%, #2c1a4d 100%);
    color: #FFFFFF;
    border: 2px solid var(--primary-orange, #FF7518);
    border-radius: 30px;
    padding: 10px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(255, 117, 24, 0.45);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none;
    user-select: none;
}

.btn-halloween-location:hover {
    background: linear-gradient(135deg, #2c1a4d 0%, #3d206e 100%);
    border-color: #FFA500;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 18px rgba(255, 117, 24, 0.7);
}

.btn-halloween-location:active {
    transform: translateY(0) scale(0.98);
}

.btn-hw-loc-icon {
    font-size: 1.3rem;
    line-height: 1;
    filter: drop-shadow(0 0 4px rgba(255, 117, 24, 0.8));
    display: inline-block;
}

.btn-hw-loc-text {
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Stan ladowania */
.btn-halloween-location.is-loading {
    border-color: #FFE600;
    cursor: wait;
}

.btn-halloween-location.is-loading .btn-hw-loc-icon {
    animation: hwSpin 1.2s infinite linear;
}

/* Stan aktywny (sledzenie na zywo) */
.btn-halloween-location.is-active {
    background: linear-gradient(135deg, #FF7518 0%, #FF5722 100%);
    color: #1A0B2E;
    border-color: #FFE600;
    box-shadow: 0 4px 18px rgba(255, 117, 24, 0.6), 0 0 20px rgba(255, 230, 0, 0.5);
}

.btn-halloween-location.is-active:hover {
    background: linear-gradient(135deg, #FF8533 0%, #FF6733 100%);
    box-shadow: 0 6px 22px rgba(255, 117, 24, 0.8), 0 0 25px rgba(255, 230, 0, 0.7);
}

.btn-halloween-location.is-active .btn-hw-loc-icon {
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
    animation: hwPulseBounce 2s infinite ease-in-out;
}

.btn-hw-loc-pulse {
    display: none;
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 35px;
    border: 2px solid #FF7518;
    animation: hwRingPulse 2s infinite ease-out;
    pointer-events: none;
}

.btn-halloween-location.is-active .btn-hw-loc-pulse {
    display: block;
}

@keyframes hwSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes hwPulseBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes hwRingPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

/* Responsywnosc na malych ekranach */
@media (max-width: 480px) {
    .halloween-location-control-container {
        margin-right: 10px;
        margin-bottom: 20px;
    }
    .btn-halloween-location {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    .btn-hw-loc-icon {
        font-size: 1.15rem;
    }
}