/* ============================================================
   Nero Diamond — style globalne
   ============================================================ */

/* Podstawowe style dla całego dokumentu */
body {
  margin: 0;
  padding: 20px;
  background-color: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  max-width: 1000px;
  margin: auto;
  line-height: 1.6;
  padding-bottom: 100px;
}

h1, h2 {
  color: #00bfff;
  cursor: pointer;
  margin: 0;
}

hr {
  border: 1px solid #333;
  margin: 20px 0;
}

/* Nagłówek */
header {
  position: relative;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
header h1 {
  font-size: 2em;
  margin: 0;
}

/* Przycisk w nagłówku */
.floating-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ff1493;
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 0 10px #ff1493;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 1.1em;
  white-space: nowrap;
}
.floating-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(255,20,147,0.6);
}

/* Dymek Nero */
.nero-bubble {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  background: #222;
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 15px #ff1493;
  width: 220px;
  pointer-events: auto;
  display: none;
  text-align: left;
  z-index: 999;
}

.section-container.expanded {
  max-height: 1200px;
}

.send-btn {
  width: clamp(140px, 50%, 200px);
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Kontener formularza komentarzy */
.comment-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  gap: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.comment-form:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0.9, 0.9);
}

.comment-form input,
.comment-form textarea {
  width: 95%;
  padding: 10px;
  border: 2px solid #555;
  border-radius: 5px;
  background: #222;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

/* Przycisk wysyłania */
.send-btn {
  background: #ff1493;
  color: #fff;
  border: none;
  padding: 10px 20px;
  width: 200px;
  display: block;
  margin: 10px auto 0;
  border-radius: 8px;
  font-size: 1.0rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.send-btn:hover {
  background: #e6007a;
  transform: scale(1.05);
}

/* Stopka */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 70px;
  font-size: 1.1em;
  background-color: #111;
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  transition: background-color 0.5s, color 0.5s, box-shadow 0.5s;
  cursor: pointer;
  box-sizing: border-box;
  z-index: 1000;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

#footer-text {
  margin: 0;
  justify-self: start;
  overflow: hidden;
  white-space: nowrap;
}

.footer-right {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-self: end;
}

.lang-switch {
  display: flex;
  gap: 10px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-size: 1.1em;
  color: #fff;
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.lang-btn:hover {
  color: #000;
  transform: scale(1.1);
}

.flag-icon {
  width: 30px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  transition: transform 0.3s ease;
  filter: brightness(1.2);
}

.flag-icon:hover {
  transform: scale(1.1);
}

footer:hover {
  background-color: #ff1493;
  color: #000;
  box-shadow: 0 0 10px rgba(255,20,147,0.8);
}

#footer-text span {
  display: inline-block;
  animation: marquee 22s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

/* Stopka — telefony */
@media (max-width: 480px) {
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: 50px;
    padding: 8px 15px;
  }
  .footer-right {
    justify-self: center;
    gap: 8px;
    margin-top: 8px;
  }
  #footer-text { justify-self: center; }
  #footer-text span {
    animation-duration: 28s;
    font-size: 0.9em;
  }
  .lang-btn { font-size: 0.9em; }
  .flag-icon { width: 25px; }
}

@media (max-width: 480px) {
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding: 8px 10px;
  }
  #footer-text,
  #footer-tagline {
    white-space: normal;
    overflow: visible;
    font-size: 0.8em;
    line-height: 1.3;
    margin: 4px 0;
  }
  .footer-right {
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
  }
  .lang-btn { font-size: 0.8em; }
  .flag-icon { width: 22px; }
  #footer-text span,
  #footer-tagline span {
    animation: none;
  }
}

/* Ikony społecznościowe */
.social-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px auto;
  max-width: 900px;
  padding: 10px;
}

.social-button {
  flex: 1 1 150px;
  max-width: 200px;
  text-decoration: none;
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  padding: 8px 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.social-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(255,255,255,0.4);
}

.facebook  { background: linear-gradient(135deg, #3b5998, #2d4373); }
.instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.twitter   { background: linear-gradient(135deg, #1da1f2, #0d95e8); }
.tiktok    { background: linear-gradient(135deg, #000, #69c9d0, #ee1d52); }

@media (max-width: 600px) {
  .social-buttons {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .social-button {
    width: 90%;
    padding: 4px 10px;
    font-size: 0.85rem;
    border-radius: 10px;
    min-height: 30px;
  }
}

@media (max-width: 600px) {
  .social-buttons {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .social-button {
    width: 90%;
    padding: 2px 8px !important;
    font-size: 0.8rem !important;
    min-height: auto !important;
    height: 40px !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* Sekcje */
.content-section {
  margin: 20px 0;
}

.section-container {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
}

.section-container.expanded {
  max-height: 1200px;
}

.section-content {
  padding: 15px 20px;
  background: #111;
  border-radius: 10px;
  margin-top: 10px;
  text-align: left;
}

.send-btn {
  background: #ff1493;
  color: #fff;
  border: none;
  padding: 10px 20px;
  width: 200px;
  display: block;
  margin: 10px auto 0;
  border-radius: 25px;
  font-size: 1.0rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.send-btn:hover {
  background: #e6007a;
  transform: scale(1.05);
}

.comment-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  gap: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.comment-form:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.emoji-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
  justify-content: center;
}

.emoji-item {
  cursor: pointer;
  font-size: 1.2em;
  padding: 2px 4px;
  transition: transform 0.2s;
  border-radius: 4px;
}

.emoji-item:hover {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.1);
}

#comments input,
#comments textarea {
  width: 95%;
  padding: 10px;
  border: 2px solid #555;
  border-radius: 5px;
  background: #222;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

#comments input:focus,
#comments textarea:focus {
  border-color: #ff1493;
  outline: none;
}

.section-container.expanded {
  max-height: none;
}

.section-content {
  max-width: 1000px;
  margin: 25px auto;
  padding: 20px 25px;
  background: #111;
  border-radius: 10px;
  text-align: center;
}

.swal-popup {
  border: 3px solid;
  border-image: linear-gradient(45deg, #fff, #ff0000) 1;
  background-color: #000;
  color: #fff;
  font-family: 'Arial', sans-serif;
}

/* Media queries — telefony */
@media (max-width: 480px) {
  header {
    flex-direction: column;
    align-items: center;
  }
  header h1 { font-size: 1.5em; }
  .floating-button {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 10px;
    padding: 8px 10px;
    font-size: 14px;
  }
  .nero-bubble {
    right: 10px;
    width: 180px;
  }
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 5px 10px;
  }
  .footer-right {
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
  }
  #footer-text { justify-self: center; }
}

footer {
  padding: 10px 15px;
  box-sizing: border-box;
  overflow: hidden;
}

#footer-text,
#footer-tagline {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  margin: 5px 0;
}

#footer-text span,
#footer-tagline span {
  display: inline-block;
  padding-left: 100%;
  padding-right: 100%;
  animation: marquee 30s linear infinite;
}

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

@media (max-width: 480px) {
  footer { padding: 8px 10px; }
  #footer-text span,
  #footer-tagline span {
    animation-duration: 32s;
  }
}

#footer-tagline span {
  display: inline-block;
  animation: taglineMarquee 28s linear infinite;
}

@keyframes taglineMarquee {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

@media (max-width: 480px) {
  #footer-tagline span {
    animation-duration: 32s;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  body { font-size: 90%; }
}

@media (max-width: 480px) {
  .comment-form {
    max-width: 95%;
    padding: 10px;
    margin: 10px auto;
    gap: 8px;
  }
  .comment-form input,
  .comment-form textarea {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  footer {
    flex-direction: column;
    padding: 8px 10px;
    min-height: 60px;
  }
  #footer-text {
    margin-bottom: 5px;
    text-align: center;
  }
  .footer-right {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  header h1 { font-size: 1.7em; }
  .floating-button {
    padding: 10px 15px;
    font-size: 16px;
  }
  footer {
    padding: 8px 15px;
    min-height: 80px;
  }
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #111;
  color: #fff;
  font-weight: bold;
  box-sizing: border-box;
  z-index: 1000;
}

.footer-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

#footer-text { margin: 0; }

@media (max-width: 480px) {
  body { text-align: center; }
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  header h1 { margin-bottom: 10px; }
  .floating-button {
    position: relative;
    margin: 10px auto;
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
  }
  .comment-form {
    margin: 10px auto;
    text-align: center;
    width: 95%;
  }
  .send-btn { margin: 10px auto 0; }
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 10px;
  }
  .footer-right {
    justify-content: center;
    flex-direction: row;
    gap: 10px;
    margin-top: 5px;
  }
}

.section-btn {
  background: linear-gradient(135deg, #ff1493, #00ced1);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  box-shadow: 0 0 12px rgba(255, 20, 147, 0.8);
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, background-position 0.5s;
  background-size: 200% 200%;
  margin-bottom: 10px;
}

.section-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 206, 209, 0.8);
  background-position: 100% 100%;
}

.section-btn:active {
  transform: scale(0.95);
  box-shadow: 0 0 15px rgba(255, 20, 147, 0.6);
}

@media (max-width: 480px) {
  .section-btn {
    padding: 8px 12px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  header h1 { margin-bottom: 20px; }
  .floating-button {
    margin-bottom: 10px;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
  }
  ol {
    font-size: 0.9em;
    padding: 0 15px;
  }
  li { margin-bottom: 15px; }
  hr { margin: 10px 0; }
  p { font-size: 1.1em; }
}

@media (max-width: 600px) {
  .social-buttons {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .social-button {
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 0.85rem;
    min-height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .social-buttons {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .social-button {
    width: 90% !important;
    height: 35px !important;
    padding: 0 !important;
    font-size: 0.8rem !important;
    min-height: unset !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

@media (max-width: 600px) {
  .social-buttons {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .social-button {
    width: 90% !important;
    max-height: 35px !important;
    min-height: unset !important;
    height: auto !important;
    padding: 4px 10px !important;
    font-size: 0.75rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
}

/* Paw button — odsunięty od krawędzi */
.paw-button {
  position: fixed;
  top: 28px;
  left: 28px;
  z-index: 9999;
  font-size: 1.8em;
  padding: 10px 12px;
  background: radial-gradient(circle at 30% 30%, #ff1493, #8a2be2);
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.8);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.paw-button:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

@media (max-width: 600px) {
  .paw-button {
    font-size: 1.4em;
    padding: 8px 10px;
    top: 20px;
    left: 20px;
  }
}

#flash-effect {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  opacity: 0;
  z-index: 9998;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

#nero-message {
  position: fixed;
  top: 80px;
  left: 15px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 8px 14px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1em;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 8px #ff1493;
  display: none;
  z-index: 9999;
}

#click-counter {
  position: fixed;
  top: 140px;
  left: 15px;
  color: #fff;
  font-size: 0.9em;
  background: rgba(0,0,0,0.4);
  padding: 4px 10px;
  border-radius: 8px;
  z-index: 9999;
}

/* SweetAlert2 popup — rozmiary i font dla różnych ekranów */
@media (min-width: 1024px) {
  .swal2-popup {
    width: auto !important;
    height: auto !important;
    font-size: 1.5rem !important;
  }
}

@media (max-width: 1023px) {
  .swal2-popup {
    width: auto !important;
    height: auto !important;
    max-height: 90vh !important;
  }
}

@media (max-width: 320px)                       { .swal2-popup { width: 95vw !important; } }
@media (min-width: 321px) and (max-width: 375px) { .swal2-popup { width: 92vw !important; } }
@media (min-width: 376px) and (max-width: 430px) { .swal2-popup { width: 90vw !important; } }
@media (min-width: 431px) and (max-width: 480px) { .swal2-popup { width: 88vw !important; } }
@media (min-width: 360px) and (max-width: 412px) { .swal2-popup { width: 90vw !important; } }
@media (min-width: 413px) and (max-width: 450px) { .swal2-popup { width: 88vw !important; } }
@media (min-width: 451px) and (max-width: 480px) { .swal2-popup { width: 85vw !important; } }

@media (min-width: 768px) and (max-width: 1023px) {
  .swal2-popup { font-size: 1.25rem !important; }
}
@media (max-width: 767px) {
  .swal2-popup { font-size: 1rem !important; }
}

.swal2-popup {
  overflow: hidden !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* Paw button — wersja z ikoną psa, odsunięta od krawędzi */
.paw-button {
  width: 60px;
  height: 60px;
  background: url('https://cdn-icons-png.flaticon.com/512/616/616408.png') no-repeat center/contain;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 28px;
  left: 28px;
  z-index: 9999;
  transition: transform 0.3s ease, filter 0.5s ease;
  filter: drop-shadow(0 0 8px rgba(255,20,147,0.5));
}

.paw-button:hover {
  transform: scale(1.1) rotate(8deg);
  filter: drop-shadow(0 0 14px rgba(255,215,0,0.8));
}

.paw-button.clicked {
  transform: scale(1.2) rotate(20deg);
  filter: brightness(1.8);
}

@media (max-width: 600px) {
  .paw-button {
    width: 45px;
    height: 45px;
    top: 20px;
    left: 20px;
  }
}

/* Animacje sekcji */
@keyframes pulseGlow {
  from {
    transform: scale(1);
    text-shadow: 0 0 5px #ff1493, 0 0 10px #00ced1;
  }
  to {
    transform: scale(1.05);
    text-shadow: 0 0 15px #ff1493, 0 0 25px #00ced1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   THEME: MIDNIGHT GALAXY — gwiezdne tło + atmosfera
   ========================================================= */

body {
  background-color: #000;
  background-image:
    radial-gradient(ellipse at top left,    rgba(255, 20, 147, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at top right,   rgba(0, 206, 209, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right,rgba(138, 43, 226, 0.08) 0%, transparent 60%),
    /* gwiazdy */
    radial-gradient(1px 1px at 20% 30%,  rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 70% 45%,  rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1px 1px at 40% 80%,  rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(2px 2px at 85% 15%,  rgba(255,215,0,0.4), transparent 60%),
    radial-gradient(1px 1px at 15% 60%,  rgba(0,206,209,0.5), transparent 60%),
    radial-gradient(2px 2px at 55% 25%,  rgba(255,20,147,0.4), transparent 60%),
    radial-gradient(1px 1px at 90% 70%,  rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 10% 85%,  rgba(255,255,255,0.4), transparent 60%);
  background-size:
    100% 100%, 100% 100%, 100% 100%,
    250px 250px, 350px 350px, 200px 200px,
    400px 400px, 300px 300px, 280px 280px,
    320px 320px, 380px 380px;
  background-attachment: fixed;
}

/* Subtelne pulsowanie gwiazd */
@keyframes starsPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.85; }
}

/* Pre-rendered SEO content — zachowuje dobre formatowanie zanim JS go zastąpi */
.seo-prerender {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05em;
  line-height: 1.7;
  padding: 18px 22px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  text-align: left;
}
.seo-prerender p { margin: 0.6em 0; color: #ddd; }
.seo-prerender strong { color: #ff1493; }
.seo-prerender em { color: #00ced1; font-style: italic; }
.seo-prerender ol { padding-left: 1.5em; }
.seo-prerender li { margin: 0.5em 0; color: #ddd; }
.seo-prerender h3 { color: #ffd700; margin: 0 0 0.6em; text-align: center; }

/* Modern frontend polish — display font + fluid scale */
header h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  filter: drop-shadow(0 0 24px rgba(0,191,255,0.3));
}

/* Sekcje — subtelne fade-in scroll-driven */
@supports (animation-timeline: view()) {
  .content-section {
    animation: fadeInUp 0.8s ease-out both;
    animation-timeline: view();
    animation-range: entry 0% entry 50%;
  }
}

/* Section btn — hover micro-bounce */
.section-btn {
  position: relative;
  overflow: hidden;
}
.section-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%),
              rgba(255,255,255,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.section-btn:hover::before { opacity: 1; }

/* Glassmorphism — drobny touch dla social i form */
.comment-form,
.social-button {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* =========================================================
   LIGHTBOX — pełnoekranowy podgląd zdjęć i wideo
   ========================================================= */

.media-thumb { transition: filter 0.3s ease; position: relative; }
.media-thumb:hover img { transform: scale(1.05); }
.media-thumb:focus-visible { outline: 2px solid #00ced1; outline-offset: 4px; }

/* Mała ikonka w prawym dolnym rogu (dyskretny "kliknij mnie") */
.media-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1em;
  line-height: 1;
  opacity: 0.92;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.media-overlay.zoom { font-size: 1.05em; }

/* Reset starego "wielkiego play button" — teraz to mały badge */
.media-overlay.play {
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.85), rgba(194, 24, 91, 0.85));
  border-color: rgba(255, 255, 255, 0.4);
}
.media-overlay .play-btn {
  display: inline-block;
  width: auto !important;
  height: auto !important;
  background: none !important;
  font-size: 1em !important;
  padding: 0 0 0 2px !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Hover: ikonka rośnie, mocniejszy glow, biała ramka */
.media-thumb:hover .media-overlay {
  opacity: 1;
  transform: scale(1.15);
  background: linear-gradient(135deg, #ff1493, #c2185b);
  box-shadow: 0 0 22px rgba(255, 20, 147, 0.7);
  border-color: rgba(255, 215, 0, 0.7);
}
.media-thumb:hover .media-overlay.zoom {
  background: linear-gradient(135deg, #00ced1, #1da1f2);
  box-shadow: 0 0 22px rgba(0, 206, 209, 0.7);
}

/* Główny overlay */
.nero-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.nero-lightbox.open    { opacity: 1; }
.nero-lightbox.closing { opacity: 0; }

.nero-lightbox-content {
  max-width: 92vw;
  max-height: 92vh;
  transform: scale(0.92);
  transition: transform 0.32s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nero-lightbox.open .nero-lightbox-content { transform: scale(1); }

.nero-lightbox-content img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow:
    0 0 48px rgba(255, 20, 147, 0.35),
    0 0 16px rgba(0, 0, 0, 0.8);
  user-select: none;
  -webkit-user-drag: none;
}

.nero-lightbox-video {
  width: 92vw;
  max-width: 1280px;
  aspect-ratio: 16 / 9;
  max-height: 86vh;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 0 48px rgba(255, 20, 147, 0.35),
    0 0 16px rgba(0, 0, 0, 0.8);
}
.nero-lightbox-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Wideo pionowe (Shorts/Reels/TikTok) — 9:16 zamiast 16:9 */
.nero-lightbox-video.vertical {
  width: auto;
  max-width: 90vw;
  height: 86vh;
  aspect-ratio: 9 / 16;
  max-height: 86vh;
}

/* Instagram — oficjalny embed przez blockquote (sam się dostosowuje) */
.nero-lightbox-video.platform-instagram {
  aspect-ratio: auto;
  width: min(540px, 92vw);
  max-width: 540px;
  height: auto;
  max-height: 80vh;
  overflow: auto;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nero-lightbox-video.platform-instagram .instagram-media {
  width: 100% !important;
  margin: 0 !important;
}

/* TikTok — oficjalny embed przez blockquote */
.nero-lightbox-video.platform-tiktok {
  aspect-ratio: auto;
  width: min(605px, 92vw);
  max-width: 605px;
  height: auto;
  max-height: 86vh;
  overflow: auto;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nero-lightbox-video.platform-tiktok .tiktok-embed {
  width: 100% !important;
  margin: 0 !important;
}

/* Link polityki prywatności w stopce */
.footer-link {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.85em;
  padding: 5px 10px;
  border-radius: 6px;
  transition: color 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255,255,255,0.15);
}
.footer-link:hover {
  color: #ff1493 !important;
  background: rgba(255,20,147,0.1);
}

@media (max-width: 480px) {
  .footer-link { font-size: 0.75em; padding: 3px 8px; }
}

/* =========================================================
   CESARSKI LICZNIK ODWIEDZIN
   ========================================================= */
.visitor-counter {
  max-width: 720px;
  margin: 24px auto;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(0, 206, 209, 0.08));
  border: 1px solid rgba(255, 20, 147, 0.35);
  border-radius: 14px;
  box-shadow: 0 0 24px rgba(255, 20, 147, 0.15);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.visitor-counter.loaded {
  opacity: 1;
  transform: translateY(0);
}
.visitor-counter-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.visitor-counter .vc-icon {
  font-size: 2.2em;
  filter: drop-shadow(0 0 10px rgba(255, 20, 147, 0.45));
  animation: vcPulse 3s ease-in-out infinite;
}
.visitor-counter .vc-icon-right { animation-delay: 1.5s; }
@keyframes vcPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
.visitor-counter .vc-text {
  flex: 1;
  min-width: 0;
}
.visitor-counter .vc-line {
  font-size: 1em;
  color: #ddd;
  line-height: 1.5;
}
.visitor-counter .vc-total {
  font-weight: 600;
  margin-bottom: 4px;
}
.visitor-counter .vc-today {
  font-size: 0.9em;
  color: #999;
}
.visitor-counter .vc-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.25em;
  background: linear-gradient(135deg, #ff1493, #ffd700);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 4px;
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.4);
}

@media (max-width: 600px) {
  .visitor-counter { margin: 18px 12px; padding: 14px 16px; }
  .visitor-counter-inner { gap: 10px; }
  .visitor-counter .vc-icon { font-size: 1.8em; }
  .visitor-counter .vc-line { font-size: 0.9em; }
  .visitor-counter .vc-today { font-size: 0.82em; }
}

/* =========================================================
   SHARE — przyciski udostępniania + modal
   ========================================================= */

/* Główny share icon button — używany w pasku flag i w komentarzach */
.share-icon-btn {
  background: rgba(0, 0, 0, 0.55) !important;
  border: 2px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
  outline: none !important;
  font-family: inherit;
}
.share-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  pointer-events: none;
}
.share-icon-btn:hover {
  transform: scale(1.15) !important;
  background: linear-gradient(135deg, #ff1493, #00ced1) !important;
  border-color: #ffd700 !important;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.6) !important;
}
.share-icon-btn:focus-visible {
  border-color: #00ced1 !important;
}

/* Wersja "inline" — w komentarzach (na środku przed formularzem) */
.share-icon-inline {
  margin: 0 auto 16px !important;
  display: flex !important;
}

/* Separator między flagami a przyciskiem share w górnym pasku */
.lang-divider {
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3), transparent);
  margin: 0 4px;
}

/* Małe okrągłe share icon na zdjęciach (lewy górny róg, naprzeciw drag handle) */
.media-share-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0.92;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  font-family: inherit;
}
.media-share-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  pointer-events: none;
}
.media-share-icon:hover {
  transform: scale(1.15);
  background: linear-gradient(135deg, #ff1493, #00ced1);
  border-color: #ffd700;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.6);
  opacity: 1;
}

@media (max-width: 600px) {
  .share-icon-btn { width: 32px !important; height: 32px !important; }
  .share-icon-btn svg { width: 16px; height: 16px; }
  .media-share-icon { width: 30px; height: 30px; top: 8px; right: 8px; }
  .media-share-icon svg { width: 14px; height: 14px; }
}

/* Modal udostępniania — grid sieci społecznościowych */
.share-modal .share-net-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 14px 0 16px;
}
.share-net-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.92em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255,255,255,0.1);
}
.share-net-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
  text-decoration: none !important;
}
.share-net-btn .ico { font-size: 1.4em; line-height: 1; }

.share-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  background: linear-gradient(135deg, #444, #222);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}
.share-copy-btn:hover {
  background: linear-gradient(135deg, #ff1493, #c2185b);
  transform: translateY(-1px);
}
.share-copy-btn .ico { font-size: 1.4em; line-height: 1; }

.share-url-box {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  font-size: 0.75em;
  color: #888;
  word-break: break-all;
  font-family: monospace;
  user-select: all;
}

@media (max-width: 480px) {
  .share-modal .share-net-grid {
    grid-template-columns: 1fr;
  }
}

/* Rozwijany opis w galerii */
.media-desc.expanded {
  white-space: pre-wrap;
}
.media-desc-toggle:hover {
  color: #ffd700 !important;
  text-decoration: underline;
}

/* Przycisk "Otwórz w aplikacji" — fallback gdy embed nie chce się załadować */
.nero-lightbox-open-original {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ff1493, #00ced1);
  color: #fff !important;
  text-decoration: none;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.95em;
  box-shadow: 0 0 18px rgba(255,20,147,0.5);
  transition: transform 0.25s, box-shadow 0.25s;
}
.nero-lightbox-open-original:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 28px rgba(255,215,0,0.7);
  color: #fff !important;
  text-decoration: none !important;
}

/* Lightbox content musi pozwolić na kolumnę (embed + link pod spodem) */
.nero-lightbox-content {
  flex-direction: column;
}

/* Przycisk zamknięcia ✕ */
.nero-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff1493, #c2185b);
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  font-size: 1.4em;
  font-weight: bold;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.nero-lightbox-close:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 32px rgba(255, 215, 0, 0.8);
  background: linear-gradient(135deg, #ff1493, #ffd700);
}
.nero-lightbox-close:active { transform: scale(0.95) rotate(90deg); }
.nero-lightbox-close:focus-visible {
  outline: 3px solid #ffd700;
  outline-offset: 3px;
}

/* Tytuł lightboxa */
.nero-lightbox-title {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  padding: 10px 22px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  border: 1px solid rgba(255, 20, 147, 0.4);
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 600px) {
  .nero-lightbox { padding: 16px 8px; }
  .nero-lightbox-close {
    width: 44px;
    height: 44px;
    top: 12px;
    right: 12px;
    font-size: 1.2em;
  }
  .nero-lightbox-title {
    bottom: 16px;
    font-size: 0.9em;
    padding: 8px 14px;
  }
  .media-overlay {
    width: 34px;
    height: 34px;
    bottom: 8px;
    right: 8px;
    font-size: 0.95em;
  }
}

/* Twinkling star — pojedyncza animowana gwiazda jako pseudo */
body::before {
  content: '';
  position: fixed;
  top: 18%;
  left: 12%;
  width: 3px;
  height: 3px;
  background: #ffd700;
  border-radius: 50%;
  box-shadow: 0 0 12px #ffd700;
  animation: twinkle 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
body::after {
  content: '';
  position: fixed;
  top: 70%;
  right: 18%;
  width: 2px;
  height: 2px;
  background: #00ced1;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ced1;
  animation: twinkle 4s ease-in-out infinite 1s;
  pointer-events: none;
  z-index: 1;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50%      { opacity: 1;   transform: scale(1.2); }
}

/* =========================================================
   OVERRIDE — końcowe poprawki responsywności (mobile + stopka)
   ========================================================= */

/* --- PRZEŁĄCZNIK JĘZYKA — lewy górny róg (flagi PL + CH) --- */
.lang-switch-top {
  position: fixed !important;
  top: 24px !important;
  left: 24px !important;
  z-index: 9999 !important;
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
}

.lang-flag-btn {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  outline: 2px solid rgba(255, 255, 255, 0.2);
  outline-offset: 0;
}

.lang-flag-btn img {
  display: block;
  width: 40px;
  height: auto;
  border-radius: 4px;
  pointer-events: none;
}

/* Flaga Szwajcarii jest kwadratowa — wyrównanie wymiarów */
.lang-flag-btn[data-lang="de"] img {
  width: 32px;
  height: 32px;
}

.lang-flag-btn:hover {
  transform: scale(1.12) translateY(-1px) !important;
  outline-color: #ff1493 !important;
  box-shadow: 0 0 14px rgba(255, 20, 147, 0.5) !important;
}

.lang-flag-btn.active {
  outline-color: #ffd700 !important;
  outline-width: 3px;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.7) !important;
}

.lang-flag-btn:focus-visible {
  outline-color: #00ced1 !important;
  outline-width: 3px;
}

@media (max-width: 600px) {
  .lang-switch-top {
    top: 16px !important;
    left: 16px !important;
    gap: 8px !important;
  }
  .lang-flag-btn img { width: 32px; }
  .lang-flag-btn[data-lang="de"] img { width: 26px; height: 26px; }
}

/* --- KLUCZ ADMINA — prawy górny róg, lustrzane odbicie łapy --- */
#adminKey {
  position: fixed !important;
  top: 28px !important;
  right: 28px !important;
  z-index: 9999 !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.5em !important;
  text-decoration: none !important;
  background: radial-gradient(circle at 30% 30%, rgba(255,215,0,0.25), rgba(255,20,147,0.15)) !important;
  border: 1px solid rgba(255, 215, 0, 0.4) !important;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.25) !important;
  cursor: pointer !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}
#adminKey:hover {
  transform: scale(1.12) rotate(-12deg) !important;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.7) !important;
  border-color: #ffd700 !important;
}
#adminKey:active {
  transform: scale(0.95) !important;
}

@media (max-width: 600px) {
  #adminKey {
    width: 40px !important;
    height: 40px !important;
    top: 20px !important;
    right: 20px !important;
    font-size: 1.2em !important;
  }
}

/* --- Stara łapa w rogu — wyłączona (przeniesiona do nagłówka jako avatar) --- */
button.paw-button {
  display: none !important;
}

/* --- Avatar Nero w nagłówku --- */
.nero-avatar {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  padding: 0 !important;
  margin: 0 !important;
  background: radial-gradient(circle at 30% 30%, rgba(255,20,147,0.15), rgba(0,206,209,0.08)) !important;
  border: 3px solid rgba(255, 20, 147, 0.55) !important;
  border-radius: 50% !important;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    0 0 24px rgba(255, 20, 147, 0.45),
    inset 0 0 20px rgba(0, 206, 209, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  animation: avatarGlow 3.5s ease-in-out infinite;
}
.nero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
  transition: transform 0.45s ease;
}
.nero-avatar:hover {
  transform: scale(1.05) rotate(-3deg);
  border-color: #ffd700 !important;
  box-shadow:
    0 0 36px rgba(255, 215, 0, 0.7),
    inset 0 0 28px rgba(255, 20, 147, 0.3);
}
.nero-avatar:hover img {
  transform: scale(1.07);
}
.nero-avatar:active {
  transform: scale(0.96);
}

@keyframes avatarGlow {
  0%, 100% {
    box-shadow:
      0 0 22px rgba(255, 20, 147, 0.45),
      inset 0 0 18px rgba(0, 206, 209, 0.15);
    border-color: rgba(255, 20, 147, 0.55);
  }
  50% {
    box-shadow:
      0 0 32px rgba(0, 206, 209, 0.6),
      inset 0 0 22px rgba(255, 20, 147, 0.2);
    border-color: rgba(0, 206, 209, 0.7);
  }
}

@media (max-width: 600px) {
  .nero-avatar {
    width: 140px;
    height: 140px;
    border-width: 2px !important;
  }
}

/* --- HEADER (wspólne dla desktop i mobile) --- */
header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 40px 20px 32px !important;
  gap: 18px !important;
}
header h1 {
  margin: 0 !important;
  font-size: 3em !important;
  line-height: 1.1 !important;
  background: linear-gradient(135deg, #00bfff, #00ced1, #ff1493);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  text-shadow: 0 0 32px rgba(0,191,255,0.35);
  letter-spacing: 0.5px;
}

/* --- CTA z cytatem: klikalny tekst pod tytułem z animacją --- */
.quote-cta {
  background: none !important;
  border: none !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 1.1em !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  padding: 6px 22px 10px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  position: relative !important;
  letter-spacing: 0.4px !important;
  animation: ctaGlow 2.6s ease-in-out infinite !important;
  transition: transform 0.25s ease, color 0.25s ease !important;
}
.quote-cta::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 50% !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #ff1493, #00ced1, transparent) !important;
  border-radius: 2px !important;
  animation: ctaLine 2.6s ease-in-out infinite !important;
}
.quote-cta:hover {
  transform: translateY(-2px) scale(1.04) !important;
  color: #ffd700 !important;
}
.quote-cta .cta-arrow {
  display: inline-block;
  animation: ctaArrow 1.4s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { text-shadow: 0 0 8px rgba(255,20,147,0.45); }
  50%      { text-shadow: 0 0 18px rgba(0,206,209,0.85); }
}
@keyframes ctaLine {
  0%, 100% { width: 50%; opacity: 0.75; }
  50%      { width: 92%; opacity: 1; }
}
@keyframes ctaArrow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

/* --- HEADER MOBILE: jeszcze więcej oddechu --- */
@media (max-width: 600px) {
  header {
    padding: 30px 16px 36px !important;
    gap: 14px !important;
  }
  header h1 {
    font-size: 2.6em !important;
  }
  .quote-cta {
    font-size: 1.05em !important;
    padding: 6px 14px 10px !important;
  }
  /* Pierwsze hr i pierwsza sekcja — DUŻY oddech od headera */
  body > hr:first-of-type {
    margin: 50px 0 30px !important;
    border-color: rgba(255,20,147,0.3) !important;
  }
  .content-section:first-of-type {
    margin-top: 26px !important;
  }
  .section-btn {
    margin-bottom: 14px !important;
    padding: 12px 16px !important;
    font-size: 1em !important;
  }
}

/* --- Desktop: także większy oddech między headerem a sekcjami --- */
@media (min-width: 601px) {
  body > hr:first-of-type {
    margin: 44px 0 32px !important;
    border-color: rgba(255,20,147,0.3) !important;
  }
  .content-section:first-of-type {
    margin-top: 28px !important;
  }
}

/* --- STOPKA: jeden marquee, BARDZO wolny i czytelny --- */
#footer-text {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
#footer-text span {
  display: inline-block;
  padding-left: 100%;
  padding-right: 100%;
  animation: marquee 100s linear infinite !important;
  font-size: 1em;
}
#footer-tagline {
  display: none !important; /* schowane — wszystko w jednym pasku */
}

@media (max-width: 600px) {
  #footer-text span {
    animation-duration: 100s !important; /* taki sam jak desktop, jak prosi user */
    font-size: 0.88em !important;
  }
}

/* Stopka — czystszy padding i wysokość na mobile */
@media (max-width: 600px) {
  footer {
    grid-template-columns: 1fr !important;
    padding: 10px 12px !important;
    min-height: auto !important;
    gap: 6px !important;
  }
  .footer-right {
    justify-self: center !important;
    justify-content: center !important;
    margin-top: 4px !important;
  }
}
