:root {
  --bg1: #ffd7e6;
  --bg2: #e7d9ff;
  --bg3: #d6ecff;
  --card: #ffffff;
  --tekst: #45324a;
  --meko: #7a6a80;
  --akcent: #ff6fa5;
  --akcent-tamni: #e14e88;
  --sjena: rgba(120, 70, 110, 0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--tekst);
  background: linear-gradient(135deg, var(--bg1), var(--bg2), var(--bg3));
  background-size: 200% 200%;
  animation: pomak 18s ease infinite;
  display: flex;
  justify-content: center;
  padding: 24px 16px 48px;
}

@keyframes pomak {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.wrap {
  width: 100%;
  max-width: 560px;
}

header { text-align: center; margin-bottom: 22px; }

h1 {
  font-size: 1.8rem;
  margin: 0 0 6px;
  line-height: 1.25;
}

.podnaslov {
  margin: 0;
  color: var(--meko);
  font-size: 0.98rem;
}

.big-card {
  background: var(--card);
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: 0 12px 30px var(--sjena);
  text-align: center;
  margin-bottom: 30px;
}

.big-answer {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
  min-height: 3.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px 18px;
}

.puls { animation: pojava 0.45s ease; }

@keyframes pojava {
  0% { opacity: 0; transform: translateY(8px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.smiri {
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--akcent), var(--akcent-tamni));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(225, 78, 136, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.smiri:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(225, 78, 136, 0.5); }
.smiri:active { transform: translateY(1px) scale(0.98); }

.lista-naslov {
  font-size: 1.05rem;
  color: var(--meko);
  font-weight: 600;
  margin: 0 4px 12px;
}

.lista { display: flex; flex-direction: column; gap: 10px; }

.item {
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 6px 16px var(--sjena);
  overflow: hidden;
}

.pitanje {
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--tekst);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.strelica { color: var(--akcent); font-size: 1.2rem; flex-shrink: 0; }

.odgovor {
  max-height: 0;
  opacity: 0;
  padding: 0 18px;
  color: var(--meko);
  font-size: 1rem;
  line-height: 1.45;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.item.open .odgovor {
  max-height: 500px;
  opacity: 1;
  padding: 0 18px 16px;
}

.odgovor-tekst {
  margin: 0 0 4px;
}

.opet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  border: 1.5px solid #ffc2d8;
  background: #fff0f6;
  color: var(--akcent-tamni);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(225, 78, 136, 0.12);
  transition: transform 0.12s ease, background 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease, border-color 0.18s ease;
}

.opet:hover {
  background: linear-gradient(135deg, var(--akcent), var(--akcent-tamni));
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(225, 78, 136, 0.35);
}

.opet:active {
  transform: translateY(1px) scale(0.97);
}

footer {
  text-align: center;
  margin-top: 28px;
  color: var(--meko);
  font-size: 0.9rem;
}
