body {
  margin: 0;
  font-family: 'Courier New', monospace;
  background: linear-gradient(135deg, #001f33, #002b4d, #000);
  color: #00ff00;
}

/* === Hlavicka === */
.header {
  background: linear-gradient(135deg, #000000, #003366);
  color: #00ff00;
  text-align: center;
  padding: 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.header .logo {
  width: 70px;
  height: auto;
}

.header h1 {
  font-size: 2rem;
  margin: 0;
  text-shadow: 0 0 10px #00ff00;
}

.header p {
  margin: 0;
  font-size: 1rem;
  text-shadow: 0 0 5px #00ff00;
}

/* === CTA wrapper === */
/*.cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}*/

.cta-wrapper {
  display: flex;
  flex-wrap: wrap; /* umožní přechod bannerů na další řádek na menších obrazovkách */
  align-items: center;
  justify-content: center;
  gap: 20px;       /* menší mezera na mobilu */
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}

@media (max-width: 480px) {
  .banner img {
    width: 140px;   /* menší bannery na mobil */
    margin: 0 auto; /* pro jistotu vycentrujeme */
    display: block; /* někdy pomáhá při zarovnání */
  }
}



/* === Bannery === */
.banner img {
  width: 180px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.banner img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.6);
}

/* === CTA sekce === */
.cta-section {
  text-align: center;
}

.duck-image {
  width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;
  animation: duck-sway 3s ease-in-out infinite;
}

@keyframes duck-sway {
  0% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  100% { transform: translateX(-5px); }
}

.cta-heading {
  font-size: 1.8rem;
  text-shadow: 0 0 10px #00ff00;
}

.cta-button {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 30px;
  background-color: #f16529;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
  background-color: #0fffff;
  transform: scale(1.05);
}

/* === Footer === */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px 10px;
  /*background-color: #000;*/
  text-align: center;
}

.footer-links a {
  color: #00ff00;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #0fffff;
}

.footer-line {
  border: none;
  height: 1px;
  background-color: #00ff00;
  margin: 0;
}

.footer-copyright {
  text-align: center;
  /*background-color: #000;*/
  color: #00ff00;
  padding: 15px;
  font-size: 14px;
  text-shadow: 0 0 5px #00ff00;
}

.footer-copyright a {
  color: #00ff00;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.footer-copyright a:hover {
  color: #0fffff;
}

/* === Mobilní zobrazení === */
@media (max-width: 900px) {
  .cta-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .banner img {
    width: 90%;
    max-width: 300px;
  }

  .duck-image {
    width: 200px;
  }

  .cta-heading {
    font-size: 1.5rem;
  }

  .header {
    flex-direction: column;
  }
}

/*stránka legal-info*/
.legal-info {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  /*background: #001000;*/
  background: linear-gradient(180deg, #000 0%, #001a00 100%);
  color: #00e676;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  line-height: 1.7;
  font-size: 1rem;
  
}

.legal-info h2,
.legal-info h3 {
  color: #00ff41;
  margin-top: 1.5rem;
}

.legal-info ul {
  margin: 1rem 0 1rem 1.5rem;
}

.legal-info li {
  margin-bottom: 0.75rem;
}

.legal-info a {
  color: #0073e6;
  text-decoration: none;
  word-break: break-word;        /* umožní zalomení dlouhých slov / odkazů */
  overflow-wrap: anywhere;       /* moderní ekvivalent – funguje lépe */
}

.legal-info a:hover {
  text-decoration: underline;
}

.legal-info .smallprint {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #777;
}

/*cookie-banner*/
/* === COOKIE BANNER === */
/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  text-align: center;
  padding: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column; /* text a button pod sebou */
  align-items: center;
  gap: 0.5rem;
  box-sizing: border-box;
}

.cookie-banner p {
  margin: 0;
  line-height: 1.4;
  max-width: 95%;       /* nikdy nepřetéká z viewportu */
  word-break: break-word; 
  overflow-wrap: break-word;
  hyphens: auto;        /* zalamování slov, pokud prohlížeč podporuje */
}

.cookie-banner a {
  color: #ffd166;
  text-decoration: underline;
}

.cookie-banner button {
  background-color: #ffca3a;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  width: auto;
  max-width: 250px;
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: 0.8rem;
  }
  
  .cookie-banner p {
    font-size: 0.85rem;
  }
  
  .cookie-banner button {
    width: 100%;
    max-width: none;
  }
}

/*animace fade-in*/
/* Banner je zpočátku neviditelný */
.cookie-banner {
  opacity: 0;
  transform: translateY(20px); /* lehce posunutý dolů */
  transition: opacity 0.5s ease, transform 0.5s ease; /* plynulý přechod */
}

/* Když chceme zobrazit banner */
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0); /* posune zpět do normální pozice */
}
