* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', Arial, sans-serif;
  overflow: hidden;
}

/* ---------- POZADÍ (fotka kapybar) ---------- */

#citac-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('images/capybara-bg.jpg');
  background-size: 220% auto;
  background-position: 80% 70%;
  filter: blur(6px);
  transform: scale(1.05);
}

#citac-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(194, 24, 91, 0.35);
}

/* ---------- OBSAH ---------- */

#citac-content {
  position: relative;
  z-index: 2;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  flex-wrap: wrap;
}

/* ---------- KARTY S POČÍTADLY ---------- */

.counter-card {
  background: linear-gradient(160deg, #FF6FB5, #C2185B);
  border-radius: 24px;
  border: 2px solid white;
  padding: 32px 20px;
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.counter-heart {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter-heart svg {
  width: 28px;
  height: 28px;
}

.counter-number {
  font-size: 42px;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.counter-label {
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-weight: 600;
}

/* ---------- HOME TLAČÍTKO (stejný styl jako na mapě) ---------- */

#home-button {
  position: fixed;
  bottom: 16px;
  left: 10px;
  z-index: 500;
  width: 44px;
  height: 44px;
  background: #C2185B;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  overflow: visible;
  text-decoration: none;
}

#home-button::after {
  content: '';
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #FF2E9A, #8B5CF6, #2DD4BF, #FF2E9A);
  filter: blur(9px);
  opacity: 0.85;
  z-index: -2;
  animation: spin-glow 3s linear infinite;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

#home-button::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, #FF2E9A, #8B5CF6, #2DD4BF, #FF2E9A);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  animation: spin-glow 3s linear infinite;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

@keyframes spin-glow {
  from {
    transform: rotate(0deg) translateZ(0);
  }
  to {
    transform: rotate(360deg) translateZ(0);
  }
}
