        /* Reset stylů */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Základní styl */
        body {
            font-family: Arial, sans-serif;
            background-image: url("/static/images/Fur2.jpg");
            background-size: cover; /* Ujistí se, že obrázek pokryje celé pozadí */
            background-position: center center; /* Udržuje obrázek na střed */
            background-repeat: no-repeat; /* Zabraňuje opakování obrázku */
            text-align: center;
        }

        .xD {
            font-size: 50px;
            color: azure;
            margin-top: 20px;
            animation: tracking-in-expand 1s both;
            animation-delay: 0.5s;
          }
        
          .logo {
            width: 300px;
            height: auto;
            animation: slide-in-blurred-top 1.5s ease-out;
          }

        /* Nadpisy */
        h1, h3, h2 {
            margin: 20px 0;
            color: azure;
        }

        /* Hlavní vzhled navbaru */
        .navbar {
            background: #1d1f21; /* Tmavší pozadí pro moderní vzhled */
            padding: 30px 50px; /* Zvýšení paddingu pro lepší prostor */
            height: 70px;
            display: flex;
            justify-content: center; /* Udržuje text na střed */
            align-items: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Jemnější stíny pro jemnost */
            position: absolute; /* Změněno na absolute */
            top: 710px; /* Definuje místo, kde navbar začíná (úpravy dle potřeby) */
            left: 0; /* Zajištění, že navbar pokrývá celou šířku */
            right: 0;
            z-index: 999;
            transition: all 0.4s ease-in-out;
            backdrop-filter: blur(10px); /* Rozmazaný efekt pro moderní vzhled */
            border-radius: 0; /* Odstranění zaoblení na krajích */
            width: 100%; /* Zajištění, že navbar bude mít šířku celé obrazovky */
        }
        
        /* Seznam položek navbaru */
        .navbar ul {
            list-style: none;
            display: flex;
            justify-content: center;
            gap: 30px; /* Zvýšený prostor mezi odkazy */
            margin: 0;
        }
        
        /* Položky (odkazy) v navbaru */
        .navbar li {
            display: inline;
        }
        
        /* Odkazy s interaktivními efekty */
        .navbar a {
            color: #eee;
            text-decoration: none;
            font-size: 18px;
            font-family: 'Arial', sans-serif;
            font-weight: 600; /* Tlustší písmo pro modernější vzhled */
            padding: 12px 20px;
            border-radius: 30px;
            position: relative;
            display: inline-block;
            transition: color 0.3s ease, transform 0.3s ease;
        }
        
        /* Efekt změny barvy a zvětšení při hoveru */
        .navbar a:hover {
            color: #00f7ff; /* Jemně modrá barva pro moderní efekt */
            transform: translateY(-5px); /* Plynulé zvednutí odkazu */
        }
        
        /* Gradientový efekt pod textem při hoveru */
        .navbar a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, #ff00ff, #00f7ff, #ff0000);
            transform: scaleX(0);
            transform-origin: bottom right;
            transition: transform 0.4s ease;
        }
        
        /* Aktivní efekt pro odkazy při hoveru */
        .navbar a:hover::after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }
        
        /* Plynulý efekt pro zaoblení rohu */
        .navbar a:hover {
            border-radius: 50px;
        }
        
        /* Responsivita pro mobilní zařízení */
        @media (max-width: 768px) {
            .navbar {
                padding: 10px 20px;
                height: 60px;
            }
        
            .navbar ul {
                gap: 20px;
            }
        
            .navbar a {
                font-size: 16px; /* Menší písmo pro mobil */
            }
        }
        
           

/* Parallax sekce */
.parallax {
    position: relative;
    height: 400px;
    background-size: cover;
    background-attachment: fixed;  /* Tento řádek zajistí, že obrázek bude fixní */
    background-position: center;
    clip-path: polygon(100% 0, 0 30%, 0% 100%, 120% 100%);
    overflow: hidden;
    z-index: 1; /* Nastavíme z-index pro parallax sekci */
}

/* Parallax obrázek */
.parallax img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Kontejner pro částice */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;  /* Zajistí, že částice nebudou blokovat interakci s obsahem */
    z-index: -1;  /* Umístí částice za obrázek parallax */
    background-attachment: fixed;  /* Tento efekt je pro obrázek, ale ne pro částice */
    transform: translateZ(0);  /* Aktivuje hardware akceleraci pro plynulejší animaci */
    overflow: hidden; /* Aby částice nevyčnívaly mimo oblast */
}
        
        .section-divider {
            position: absolute;
            bottom: 825px;
            left: 0;
            width: 100%;
            height: 15px;
            background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet);
            background-size: 400% 400%;
            animation: rainbow 10s ease infinite;
            transform: skewY(-3deg);
            transform-origin: top left;
            z-index: 2;
        }
        
        /* Nadpis v parallax sekci */
        .parallax h2 {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 30px;
            background: rgba(0, 0, 0, 0.5);
            padding: 10px 20px;
            border-radius: 10px;
        }
        
        .parallax2 {
            position: relative;
            height: 400px;
            background-size: cover;
            background-attachment: fixed;
            background-position: center;
            clip-path: polygon(100% 0, 0 0, 0% 100%, 100% 100%);
            overflow: hidden; /* Skrýt přesahující obsah */
        }
        

        .parallax2 img {
            position: fixed; /* Fixne obrázek na místě */
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover; /* Zachová poměry stran */
            z-index: -1; /* Pošle obrázek do pozadí */
        }

        /* Sekce s obsahem */
        .content {
            padding: 50px;
            background: white;
            font-size: 18px;
            text-align: center;
        }

        /* Odkazy s obrázky */
        .content a {
            margin: 10px;
            display: inline-block;
        }

        /* Styly obrázků */
        .content img {
            width: 50px;
            height: auto;
            transition: transform 0.3s ease-in-out;
        }

        /* Efekt při najetí */
        .content img:hover {
            transform: scale(1.1);
        }
        
        /* Sociální sekce - sociální ikony vedle sebe */
        .social-container {
            display: flex;
            flex-direction: column; /* Sloupce - sociální sítě nahoře, počítadla pod nimi */
            align-items: center;
            gap: 20px;
            padding: 20px;
        }
        
        /* Sociální sekce (ikony vedle sebe) */
        .social {
            display: flex;
            justify-content: center;
            gap: 20px;
        }
        
        /* Obrázky sociálních ikon */
        .imgtg, .imgdc {
            width: 400px; /* Šířka ikon */
            height: auto;
            border-radius: 10px;
            transition: transform 0.2s ease;
        }
        
        /* Efekt při najetí na ikonu */
        .social a:hover img {
            transform: scale(1.1);
        }
        
        /* Grid pro počítadla */
        .counters {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(0px, 1fr));
            gap: 20px;
            padding: 20px;
            justify-items: center;
        }
        
        /* Styl jednotlivých počítadel */
        .count {
            display: inline-block;
            padding: 10px 15px;
            background-color: #f1f1f1;
            border-radius: 5px;
            color: #333;
            font-size: 20px;
            font-weight: bold;
            text-align: center;
            min-width: 100px;
        }
        
        /* Styly pro dlaždici */
        .tile {
            background: #222;
            padding: 20px;
            border-radius: 15px;
            text-align: center;
            width: 200px;
            height: 150px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-family: Arial, sans-serif;
            font-weight: bold;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        
        /* Styly pro nadpisy v dlaždicích */
        h4 {
            font-size: 16px;
            color: white;
            margin-bottom: 10px;
        }
        
        /* Styly pro čísla počítadla */
        span {
            font-size: 30px;
            color: white;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        }
        
        footer {
            position: fixed;
            bottom: 0;
            width: 100%;
            background-color: #222;
            color: white;
            text-align: center;
            padding: 15px 0;
            font-size: 14px;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
        }

/* Modal overlay */
.modal {
  display: none; /* Modal skrytý na začátku */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* Zakážeme scrollování v rámci modalu */
  overflow: hidden;
  background-color: rgba(0,0,0,0.5);

  /* Flexbox pro centrování obsahu */
  justify-content: center;
  align-items: center;
  /* display:flex se nastaví v JS při otevření modalu */
}

/* Modal obsah */
.modal-content {
  background-color: #222;
  padding: 30px 25px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  color: #eee;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

/* Nadpis a text v modal */
.modal-content h2 {
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 600;
}

.modal-content p {
  margin-bottom: 25px;
  font-size: 16px;
}

/* Styl pro reCAPTCHA */
.g-recaptcha {
  margin: 0 auto 20px auto;
  display: inline-block;
}

#confirmBtn:disabled {
  background-color: #777;
  cursor: not-allowed;
}

#confirmBtn:not(:disabled):hover {
  background-color: #2a6ad1;
}

/* Zakáže scrollování těla stránky, když je modal aktivní */
body.modal-open {
  overflow: hidden;
}

#myModal.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}




        /* animations */

        @-webkit-keyframes tracking-in-expand {
            0% {
              letter-spacing: -0.5em;
              opacity: 0;
            }
            40% {
              opacity: 0.6;
            }
            100% {
              opacity: 1;
            }
          }
          @keyframes tracking-in-expand {
            0% {
              letter-spacing: -0.5em;
              opacity: 0;
            }
            40% {
              opacity: 0.6;
            }
            100% {
              opacity: 1;
            }
          }


          @-webkit-keyframes slide-in-blurred-top {
            0% {
              -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
                      transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
              -webkit-transform-origin: 50% 0%;
                      transform-origin: 50% 0%;
              -webkit-filter: blur(40px);
                      filter: blur(40px);
              opacity: 0;
            }
            100% {
              -webkit-transform: translateY(0) scaleY(1) scaleX(1);
                      transform: translateY(0) scaleY(1) scaleX(1);
              -webkit-transform-origin: 50% 50%;
                      transform-origin: 50% 50%;
              -webkit-filter: blur(0);
                      filter: blur(0);
              opacity: 1;
            }
          }
          @keyframes slide-in-blurred-top {
            0% {
              -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
                      transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
              -webkit-transform-origin: 50% 0%;
                      transform-origin: 50% 0%;
              -webkit-filter: blur(40px);
                      filter: blur(40px);
              opacity: 0;
            }
            100% {
              -webkit-transform: translateY(0) scaleY(1) scaleX(1);
                      transform: translateY(0) scaleY(1) scaleX(1);
              -webkit-transform-origin: 50% 50%;
                      transform-origin: 50% 50%;
              -webkit-filter: blur(0);
                      filter: blur(0);
              opacity: 1;
            }
          }

          @keyframes rainbow {
            0% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
            100% {
                background-position: 0% 50%;
            }
        }

                /* pro telefon */
        
/* === MOBILNÍ OPRAVY (max šířka 768px) === */
@media (max-width: 768px) {

    /* Zamezí horizontálnímu scrollování */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Parallax obrázek fixně pokryje oblast */
    .parallax {
        position: relative;
        height: 300px;
        width: 100%;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        margin-bottom: 0; /* žádný spodní margin */
        padding-bottom: 0;
    }

    .parallax img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }

    /* Navbar přímo pod parallax, s pozadím a paddingem */
    .navbar {
        position: static;
        margin-top: 0; /* margin odstraněn, aby navazoval přímo */
        background-color: rgba(30, 30, 30, 0.95);
        padding: 150px 50px;
        box-sizing: border-box;
        border-radius: 8px;
        z-index: 1000;
        width: 100%;
    }

    /* Navbar menu svisle, odkazy blokově */
    .navbar ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .navbar li {
        margin: 0;
    }

    .navbar a {
        font-size: 16px;
        color: #fff;
        padding: 12px 15px;
        text-decoration: none;
        background-color: #444;
        border-radius: 6px;
        display: block;
        text-align: center;
        transition: background-color 0.3s ease;
        white-space: nowrap;
    }

    .navbar a:hover {
        background-color: #ffcc00;
        color: #000;
    }

    /* Sociální sekce s ikonami pod sebou */
    .social {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin-top: 30px;
    }

    .imgdc,
    .imgtg {
        width: 80%;
        max-width: 280px;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
        transition: transform 0.3s ease;
    }

    .imgdc:hover,
    .imgtg:hover {
        transform: scale(1.05);
    }

    /* Dlaždice menší a responsivní */
    .tile {
        width: 90%;
        max-width: 280px;
        height: auto;
        margin: 0 auto;
    }

    /* Counters sekce svisle a centrovaně */
    .counters {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
    }

    /* Nadpisy menší pro mobil */
    .xD {
        font-size: 30px;
    }

    h1, h2, h3 {
        font-size: 22px;
    }
}

