/* =========================================================
   Zen Zone – teme (godišnje doba, doba dana, mirisi, tamni način)
   i dodatne sitnice
   ========================================================= */

:root { --card: #fff; --nav-bg: rgba(255, 255, 255, 0.94); --petal-1: var(--sun); --petal-2: var(--sun-dark); --hand: "Caveat", "Segoe Script", cursive; }

/* ---------- Mirisne palete (naglasna boja) ---------- */
[data-miris="lavanda"] { --sun: #c4a7e2; --sun-dark: #9f80c8; --sun-light: #ddcdf0; --sun-soft: #f2ecfa; --gold: #6e4e9a; --gold-dark: #573a7e; }
[data-miris="naranca"] { --sun: #f5a253; --sun-dark: #e3822a; --sun-light: #f9c48f; --sun-soft: #fde8d4; --gold: #9c4f0d; --gold-dark: #7a3d08; }
[data-miris="more"]    { --sun: #6cbcbc; --sun-dark: #46a0a2; --sun-light: #a6d8d6; --sun-soft: #e3f3f2; --gold: #2a6f71; --gold-dark: #1f5658; }

/* ---------- Godišnja doba (pozadine i latice) ---------- */
[data-sezona="proljece"] { --sand: #f8f7e8; --sand-2: #ecedd2; --petal-1: #f7cad5; --petal-2: #fff3c4; }
[data-sezona="ljeto"]    { --sand: #fdf5df; --sand-2: #f6ebcd; }
[data-sezona="jesen"]    { --sand: #faf0e2; --sand-2: #f1dfc6; --petal-1: #e08a3c; --petal-2: #b9612a; }
[data-sezona="zima"]     { --sand: #f5f3ee; --sand-2: #e7e4dc; --petal-1: #ffffff; --petal-2: #dfe7ef; }
.petal { background: var(--petal-1); }
.petal:nth-child(3n) { background: var(--petal-2); }
[data-sezona="zima"] .petal { border-radius: 50%; width: 10px; height: 10px; box-shadow: 0 0 6px rgba(255, 255, 255, 0.8); }

/* ---------- Doba dana (naslovni dio sa zlatnim svjetlom) ---------- */
[data-doba="jutro"] body { --night: #2b2f38; --glow: rgba(250, 196, 170, 0.5); }
[data-doba="dan"] body { --night: #221c17; --glow: rgba(242, 181, 48, 0.45); }
[data-doba="vecer"] body { --night: #2c1b14; --glow: rgba(245, 140, 60, 0.5); }
[data-doba="noc"] body { --night: #0f1420; --glow: rgba(200, 214, 255, 0.35); }
.mega .mg-hero, .mega .page-hero.mg-rv, .mega .mg-dark { background-color: var(--night); }
.mega .mg-dark { background: var(--night); }
.mega .mg-glow { background: radial-gradient(circle calc(var(--r) * 1.2) at var(--x) var(--y), var(--glow, rgba(242, 181, 48, 0.45)), transparent 70%); }
[data-doba="noc"] .mg-hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 12%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: -12px 8px 0 0 #f3ead7;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

/* Glatki prijelaz pri promjeni teme ili mirisa */
.zz-fade, .zz-fade body, .zz-fade body * { transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, fill 0.5s ease !important; }

/* ---------- Kratki uvod ---------- */
html.zz-intro body { overflow: hidden; }
html.zz-intro body::before, html.zz-intro body::after { position: fixed; z-index: 5000; pointer-events: none; }
html.zz-intro body::before {
  content: "";
  inset: 0;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'%3E%3Cg fill='%23f2b530'%3E%3Cellipse rx='7' ry='19' cy='-27'/%3E%3Cellipse rx='7' ry='19' cy='-27' transform='rotate(30)'/%3E%3Cellipse rx='7' ry='19' cy='-27' transform='rotate(60)'/%3E%3Cellipse rx='7' ry='19' cy='-27' transform='rotate(90)'/%3E%3Cellipse rx='7' ry='19' cy='-27' transform='rotate(120)'/%3E%3Cellipse rx='7' ry='19' cy='-27' transform='rotate(150)'/%3E%3Cellipse rx='7' ry='19' cy='-27' transform='rotate(180)'/%3E%3Cellipse rx='7' ry='19' cy='-27' transform='rotate(210)'/%3E%3Cellipse rx='7' ry='19' cy='-27' transform='rotate(240)'/%3E%3Cellipse rx='7' ry='19' cy='-27' transform='rotate(270)'/%3E%3Cellipse rx='7' ry='19' cy='-27' transform='rotate(300)'/%3E%3Cellipse rx='7' ry='19' cy='-27' transform='rotate(330)'/%3E%3C/g%3E%3Ccircle r='12' fill='%234a3320'/%3E%3C/svg%3E") center 42% / 0 no-repeat;
  animation: zz-bloom 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
html.zz-intro body::after {
  content: "Zen Zone";
  left: 0;
  right: 0;
  top: calc(42% + 110px);
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  letter-spacing: 0.02em;
  color: var(--ink);
  opacity: 0;
  animation: zz-word 1.2s 1s ease forwards;
}
html.zz-intro-out body::before, html.zz-intro-out body::after { animation: zz-out 0.6s ease forwards; }
@keyframes zz-bloom { 0% { background-size: 0; } 60% { background-size: 190px; } 100% { background-size: 170px; } }
@keyframes zz-word { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes zz-out { to { opacity: 0; } }

/* ---------- Stranica koja diše ---------- */
html.zz-dise::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: 999;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 55%, var(--sun) 0%, transparent 60%);
  opacity: 0;
  mix-blend-mode: soft-light;
  animation: zz-breath 10s ease-in-out infinite;
}
@keyframes zz-breath { 0%, 100% { opacity: 0; transform: scale(0.96); } 50% { opacity: 0.22; transform: scale(1.04); } }

/* ---------- Gumb za tamni način ---------- */
.zz-theme {
  width: 40px;
  height: 40px;
  margin-right: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.zz-theme:hover { border-color: var(--ink); }
.zz-theme svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.zz-theme .i-sun { display: none; }
[data-tema="tamna"] .zz-theme .i-sun { display: block; }
[data-tema="tamna"] .zz-theme .i-moon { display: none; }
.nav-tools { display: flex; align-items: center; }

/* ---------- Kolačići ---------- */
.zz-cookie {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 4000;
  width: min(640px, calc(100vw - 28px));
  translate: -50% 30px;
  opacity: 0;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 24px 60px rgba(43, 38, 35, 0.22);
  display: flex;
  gap: 18px;
  align-items: center;
  transition: opacity 0.35s, translate 0.35s;
}
.zz-cookie.on { opacity: 1; translate: -50% 0; }
.zz-cookie p { margin: 0; font-size: 0.95rem; line-height: 1.55; }
.zz-cookie strong { color: var(--ink); margin-right: 4px; }
.zz-cookie a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.zz-cookie-btns { display: flex; gap: 8px; flex: 0 0 auto; }
.zz-cookie button { border-radius: 4px; min-height: 44px; padding: 0 16px; font: 600 0.92rem var(--sans); cursor: pointer; border: 1.5px solid var(--ink); }
.zz-ck-no { background: transparent; color: var(--ink); }
.zz-ck-yes { background: var(--ink); color: #fff; }
@media (max-width: 767.98px) {
  .zz-cookie { flex-direction: column; align-items: stretch; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .zz-cookie-btns button { flex: 1; }
}

/* ---------- Podnožje: mjesec, paleta, poveznice ---------- */
.zz-foot {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px 40px;
  align-items: center;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.zz-moon { display: flex; gap: 16px; align-items: center; }
.zz-moon svg { width: 46px; height: 46px; flex: 0 0 46px; }
.zz-moon .m-dark { fill: rgba(255, 255, 255, 0.12); }
.zz-moon .m-lit { fill: #f3ead7; }
.zz-moon p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 0.93rem; line-height: 1.5; max-width: none; }
.zz-moon span { display: block; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }
.zz-moon b { color: #fff; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; margin-right: 4px; }
.zz-prefs { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; justify-content: flex-end; }
.zz-scents { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.7); font-size: 0.88rem; }
.zz-scents span { margin-right: 4px; }
.zz-sw { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; outline: 1.5px solid rgba(255, 255, 255, 0.25); outline-offset: 0; cursor: pointer; padding: 0; transition: transform 0.2s; }
.zz-sw:hover { transform: scale(1.12); }
.zz-sw[aria-pressed="true"] { outline: 2px solid #fff; outline-offset: 2px; }
.zz-sw-suncokret { background: #f2b530; }
.zz-sw-lavanda { background: #c4a7e2; }
.zz-sw-naranca { background: #f5a253; }
.zz-sw-more { background: #6cbcbc; }
.zz-breath-t { border: 1px solid rgba(255, 255, 255, 0.25); background: none; color: rgba(255, 255, 255, 0.8); border-radius: 999px; padding: 6px 14px; font: 500 0.86rem var(--sans); cursor: pointer; }
.zz-breath-t:hover { border-color: #fff; }
.zz-breath-t b { color: #fff; font-weight: 600; }
.f-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 26px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.55); }
.f-links a { color: rgba(255, 255, 255, 0.82); }
@media (max-width: 991.98px) {
  .zz-foot { grid-template-columns: 1fr; }
  .zz-prefs { justify-content: flex-start; }
}

/* ---------- Pozdrav u naslovnom dijelu ---------- */
.zz-greet { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.35rem) !important; color: var(--sun-light) !important; margin: 0 0 16px !important; }
.zz-greet a { color: #fff; text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 4px; }

/* ---------- "Polako…" ---------- */
.zz-slow {
  position: fixed;
  left: 50%;
  top: calc(var(--nav-h) + 18px);
  z-index: 3500;
  translate: -50% -20px;
  opacity: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  background: #4d5a33;
  color: #fff;
  border-radius: 999px;
  padding: 10px 22px 10px 10px;
  box-shadow: 0 16px 40px rgba(43, 38, 35, 0.25);
  transition: opacity 0.4s, translate 0.4s;
  max-width: calc(100vw - 28px);
}
.zz-slow.on { opacity: 1; translate: -50% 0; }
.zz-slow i { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: var(--sun); animation: br 6s ease-in-out infinite; }
.zz-slow p { margin: 0; font-size: 0.92rem; line-height: 1.35; color: rgba(255, 255, 255, 0.85); }
.zz-slow b { display: block; color: #fff; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }

/* ---------- Tajni kod ---------- */
.zz-secret {
  position: fixed;
  inset: 0;
  z-index: 4500;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 16, 13, 0.82);
  opacity: 0;
  transition: opacity 0.5s;
}
.zz-secret.on { opacity: 1; }
.zz-secret-in { text-align: center; color: #fff; max-width: 520px; }
.zz-secret svg { width: 120px; height: 120px; margin-bottom: 18px; animation: zz-spin 18s linear infinite; }
.zz-secret svg ellipse { fill: var(--sun); }
.zz-secret svg circle { fill: #4a3320; }
@keyframes zz-spin { to { transform: rotate(360deg); } }
.zz-secret h2 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0 0 12px; }
.zz-secret p { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; margin: 0 0 22px; }
.zz-code { display: inline-block; font: 600 clamp(2rem, 6vw, 3rem) var(--sans); letter-spacing: 0.18em; color: var(--ink); background: var(--sun); border-radius: 10px; padding: 10px 26px; margin-bottom: 26px; }
.zz-secret-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.zz-rain { position: fixed; z-index: 4600; width: 14px; height: 24px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; pointer-events: none; }

/* ---------- Ponuda jezika ---------- */
.zz-lang {
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  right: 16px;
  z-index: 1025;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(460px, calc(100vw - 32px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 10px 10px 16px;
  box-shadow: 0 14px 34px rgba(43, 38, 35, 0.16);
  opacity: 0;
  translate: 0 -10px;
  transition: opacity 0.35s, translate 0.35s;
}
.zz-lang.on { opacity: 1; translate: 0 0; }
.zz-lang p { margin: 0; font-size: 0.92rem; line-height: 1.35; color: var(--text); }
.zz-lang a { flex: 0 0 auto; background: var(--sun); color: #2b2623; font-weight: 600; font-size: 0.9rem; text-decoration: none; border-radius: 4px; padding: 8px 12px; }
.zz-lang button { flex: 0 0 auto; width: 32px; height: 32px; border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--muted); cursor: pointer; }
@media (max-width: 575.98px) { .zz-lang { left: 14px; right: 14px; max-width: none; } }

/* ---------- Završni pozdrav ---------- */
.zz-bye { text-align: center; padding: 50px 16px 56px; background: var(--card); }
.zz-bye svg { width: 70px; height: 84px; display: block; margin: 0 auto 12px; overflow: visible; }
.zz-bye .b-stem { fill: none; stroke: #4d5a33; stroke-width: 3; stroke-linecap: round; }
.zz-bye .b-leaf { fill: #4d5a33; }
.zz-bye .b-head ellipse { fill: var(--sun); }
.zz-bye .b-head circle { fill: #4a3320; }
.zz-bye .b-head { transform-box: fill-box; transform-origin: 50% 100%; }
.zz-bye.on .b-head { animation: zz-bow 2.4s 0.2s ease-in-out; }
@keyframes zz-bow { 0%, 100% { transform: rotate(0); } 35% { transform: rotate(-22deg) translateY(4px); } 55% { transform: rotate(-22deg) translateY(4px); } }
.zz-bye p { margin: 0 auto; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--ink); max-width: 30em; opacity: 0; transform: translateY(8px); transition: opacity 0.8s 0.6s, transform 0.8s 0.6s; }
.zz-bye.on p { opacity: 1; transform: none; }

/* ---------- Omiljeni tretmani ---------- */
.svc-img { position: relative; }
.zz-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(43, 38, 35, 0.15);
}
.zz-heart svg { width: 21px; height: 21px; fill: none; stroke: #2b2623; stroke-width: 1.8; stroke-linejoin: round; transition: fill 0.2s, stroke 0.2s; }
.zz-heart[aria-pressed="true"] svg { fill: #e05a5a; stroke: #e05a5a; }
.zz-heart.pop { animation: zz-pop 0.45s cubic-bezier(0.3, 1.6, 0.4, 1); }
@keyframes zz-pop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
.zz-favbar { background: var(--card); border-bottom: 1px solid var(--line); padding: 14px 0; }
.zz-favbar .container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.zz-favbar span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); margin-right: 6px; }
.zz-favbar svg { width: 18px; height: 18px; fill: #e05a5a; }
.zz-favbar a { border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.zz-favbar a:hover { border-color: var(--ink); }

/* ---------- Koliko ste napeti ---------- */
.zz-tension { margin: 0 0 34px; max-width: 30em; }
.zz-tension label { display: block; font-family: var(--serif); font-size: 1.45rem; color: #fff; margin-bottom: 10px; }
.tn-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }
.tn-n { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--sun); }
.zz-tension input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin: 10px 0 16px;
  background: linear-gradient(to right, var(--sun) var(--fill, 44%), rgba(255, 255, 255, 0.25) var(--fill, 44%));
}
.zz-tension input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); border: 3px solid #fff; cursor: grab; }
.zz-tension input::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--sun); border: 3px solid #fff; cursor: grab; }
.zz-tension input:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.tn-res { margin: 0 !important; font-size: 1rem !important; color: rgba(255, 255, 255, 0.92) !important; }
.tn-res a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mg-breathe { transition: background-color 0.8s; background-color: color-mix(in srgb, #4d5a33 calc(100% - var(--tn, 0.44) * 45%), #6b4a2c); }
.mg-breathe .br-circle::after, .mg-breathe .br-in, .mg-breathe .br-out { animation-duration: var(--br-dur, 10s); }

/* ---------- Rukopis ---------- */
.zz-hand { font-family: var(--hand); font-weight: 500; color: var(--ink); line-height: 1.15; }
.zz-hand .w { display: inline-block; clip-path: inset(0 100% 0 0); }
.zz-hand.write .w { animation: zz-ink 0.55s ease forwards; animation-delay: var(--d, 0s); }
.zz-hand.now .w { clip-path: none; animation: none; }
@keyframes zz-ink { to { clip-path: inset(0 -10% 0 0); } }
.zz-tip {
  position: relative;
  margin: 30px 0 30px;
  padding: 24px 26px 18px;
  background: var(--sun-soft);
  border-radius: 6px;
  rotate: -1.2deg;
  max-width: 30em;
  box-shadow: 0 10px 24px rgba(43, 38, 35, 0.08);
}
.zz-tip::before { content: ""; position: absolute; top: -10px; left: 50%; width: 70px; height: 20px; translate: -50% 0; background: rgba(255, 255, 255, 0.55); rotate: 2deg; }
.zz-tip-k { margin: 0 0 6px !important; font-size: 0.85rem !important; font-weight: 600; color: var(--gold) !important; line-height: 1.3 !important; }
.zz-tip-text { font-size: clamp(1.55rem, 2.4vw, 1.9rem) !important; margin: 0 0 8px !important; line-height: 1.18 !important; }
.zz-sign { text-align: right; font-size: 1.9rem !important; margin: 0 !important; color: var(--gold-dark) !important; }
.sc-sign { display: block; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 6px; color: #2b2623; }
.gift-note { position: relative; margin: 0; }
.gift-note .gn-text {
  position: absolute;
  left: -14px;
  bottom: -26px;
  max-width: 78%;
  background: var(--card);
  border-radius: 6px;
  padding: 14px 20px;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  rotate: -2deg;
  box-shadow: 0 14px 30px rgba(43, 38, 35, 0.14);
}
@media (max-width: 991.98px) { .gift-note { margin-bottom: 40px; } .gift-note .gn-text { left: 10px; } }

/* ---------- Brojač ---------- */
.zz-count { display: flex; gap: 26px; flex-wrap: wrap; margin: 4px 0 28px; }
.zz-count p { margin: 0 !important; display: flex; flex-direction: column; color: #2b2623 !important; }
.zz-count b { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 4.6vw, 3.6rem); line-height: 1; color: #2b2623; font-variant-numeric: tabular-nums; }
.zz-count span { font-size: 0.92rem; font-weight: 600; }
.zz-stars { color: #2b2623; letter-spacing: 2px; font-size: 1rem !important; }

/* ---------- Igrive sitnice ---------- */
.zz-play { padding: clamp(70px, 9vw, 120px) 0; background: var(--sand); }
.pg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 10px; }
.pg { background: var(--card); border-radius: 12px; padding: 22px 20px 20px; display: flex; flex-direction: column; }
.pg h3 { font-size: 1.6rem; margin: 0 0 6px; }
.pg-hint { font-size: 0.92rem; line-height: 1.5; margin: 0 0 14px; min-height: 4.2em; }
.pg-stage { position: relative; height: 230px; border-radius: 10px; background: var(--sun-soft); overflow: hidden; touch-action: none; user-select: none; }
.pg-done { margin-top: 14px; }
.pg-done p { margin: 0 0 8px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; color: var(--ink); }
.pg-acts { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pg-acts a, .pg-again, .pg-drop-btn { font: 600 0.92rem var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 4px; background: none; border: 0; padding: 0; cursor: pointer; }
.pg-drop-btn { margin-top: 12px; align-self: flex-start; }
.pg-touch canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.pg-touch .pg-stage { background: radial-gradient(circle at 30% 30%, #fbe7d6, #f4d6be); }
.st-area .stone { position: absolute; display: block; border-radius: 50%; cursor: grab; touch-action: none; background: radial-gradient(circle at 35% 30%, #6a625c, #2f2a27 70%); box-shadow: inset 0 -4px 6px rgba(0, 0, 0, 0.35), 0 4px 8px rgba(0, 0, 0, 0.2); transition: box-shadow 0.4s, background 0.6s; }
.st-area .stone.s0 { width: 92px; height: 34px; } .st-area .stone.s1 { width: 78px; height: 30px; } .st-area .stone.s2 { width: 64px; height: 27px; } .st-area .stone.s3 { width: 52px; height: 24px; } .st-area .stone.s4 { width: 40px; height: 22px; }
.st-area .stone.drag { cursor: grabbing; }
.st-area .stone.warm { background: radial-gradient(circle at 35% 30%, #a06a4a, #4a2b1f 70%); box-shadow: inset 0 -4px 6px rgba(0, 0, 0, 0.3), 0 0 18px rgba(245, 140, 60, 0.7); }
.st-area .stone.land { animation: zz-land 0.35s ease; }
@keyframes zz-land { 0% { transform: rotate(0); } 40% { transform: rotate(-4deg); } 70% { transform: rotate(2deg); } 100% { transform: rotate(0); } }
.st-mark { position: absolute; left: 50%; bottom: 4px; width: 120px; height: 3px; translate: -50% 0; border-radius: 3px; background: var(--sun); opacity: 0.6; }
.pg-stones.ok .st-area { background: #fde3c6; }
.pg-drops .pg-stage { display: grid; place-items: center; cursor: pointer; }
.pg-drops svg { height: 100%; width: auto; }
.pg-drops .spine { fill: none; stroke: rgba(43, 38, 35, 0.2); stroke-width: 6; stroke-linecap: round; }
.pg-drops .vb { fill: var(--card); stroke: rgba(43, 38, 35, 0.35); stroke-width: 1.5; transition: fill 0.4s; }
.pg-drops .vb.on { fill: var(--sun); stroke: var(--sun-dark); }
.pg-drops .drop { fill: var(--sun-dark); }
.cup-area { cursor: pointer; display: grid; place-items: center; }
.cup-area .skin { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: #f2cdb4; border-radius: 50% 50% 0 0 / 14px 14px 0 0; transition: border-radius 0.6s cubic-bezier(0.3, 1.4, 0.5, 1); }
.cup-area .mark { position: absolute; left: 50%; bottom: 30%; width: 74px; height: 74px; translate: -50% 50%; border-radius: 50%; background: radial-gradient(circle, rgba(196, 82, 82, 0.45), transparent 70%); opacity: 0; transition: opacity 1.2s; }
.cup-area .cup { position: absolute; left: 50%; bottom: 38%; width: 86px; height: 76px; translate: -50% 0; border: 3px solid rgba(43, 38, 35, 0.55); border-bottom: 0; border-radius: 40px 40px 6px 6px; background: rgba(255, 255, 255, 0.35); transition: transform 0.5s; }
.cup-area.hold .skin { border-radius: 50% 50% 0 0 / 60px 60px 0 0; }
.cup-area.hold .cup { transform: translateY(6px); }
.cup-area.hold .mark { opacity: 1; }
.cup-area:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 1199.98px) { .pg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .pg-grid { grid-template-columns: 1fr; } .pg-hint { min-height: 0; } }

/* ---------- Prvi put na masaži ---------- */
.zz-first { padding: clamp(70px, 9vw, 120px) 0; }
.ft-steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: none; position: relative; }
.ft-steps::before { content: ""; position: absolute; left: 40px; right: 40px; top: 39px; height: 2px; background: repeating-linear-gradient(90deg, var(--sun) 0 10px, transparent 10px 18px); }
.ft-steps li { position: relative; }
.ft-ico { position: relative; z-index: 1; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--sun-soft); border: 2px solid var(--sun); margin-bottom: 18px; }
.ft-ico svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ft-steps h3 { font-size: 1.55rem; margin: 0 0 8px; display: flex; gap: 10px; align-items: baseline; }
.ft-n { font-family: var(--serif); color: var(--sun-dark); font-size: 1.8rem; line-height: 1; }
.ft-steps p { margin: 0; line-height: 1.65; }
@media (max-width: 991.98px) {
  .ft-steps { grid-template-columns: 1fr 1fr; }
  .ft-steps::before { display: none; }
}
@media (max-width: 575.98px) {
  .ft-steps { grid-template-columns: 1fr; gap: 20px; }
  .ft-steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; }
  .ft-ico { width: 64px; height: 64px; grid-row: 1 / span 2; margin: 0; }
  .ft-ico svg { width: 32px; height: 32px; }
}

/* ---------- Vježba za vrat ---------- */
.zz-neck { padding: clamp(70px, 9vw, 120px) 0; background: var(--sun-soft); }
.nx-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.zz-neck h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: 0 0 16px; }
.nx-text > p { font-size: 1.08rem; line-height: 1.7; max-width: 30em; }
.nx-steps { list-style: none; margin: 22px 0 26px; padding: 0; counter-reset: nx; }
.nx-step { counter-increment: nx; position: relative; padding: 14px 0 14px 52px; border-top: 1px solid rgba(43, 38, 35, 0.14); transition: opacity 0.3s; }
.nx-step::before { content: counter(nx); position: absolute; left: 0; top: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; border: 1.5px solid var(--ink); color: var(--ink); transition: background 0.3s; }
.nx-step h3 { font-size: 1.35rem; margin: 0 0 4px; }
.nx-step p { margin: 0; font-size: 0.98rem; }
.zz-neck.run .nx-step { opacity: 0.45; }
.zz-neck.run .nx-step.on { opacity: 1; }
.nx-step.on::before { background: var(--sun); border-color: var(--sun); }
.nx-step.past::before { background: var(--ink); color: var(--card); }
.nx-done { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); margin: 0 0 18px; }
.nx-visual { text-align: center; }
.nx-fig { width: min(100%, 300px); height: auto; overflow: visible; }
.nx-fig .nx-body { fill: var(--sun); }
.nx-fig .nx-sh { fill: none; stroke: var(--sun-dark); stroke-width: 6; stroke-linecap: round; }
.nx-fig .nx-neck { fill: #f2cdb4; }
.nx-fig .nx-head ellipse { fill: #f2cdb4; }
.nx-fig .nx-face { fill: none; stroke: #2b2623; stroke-width: 2.5; stroke-linecap: round; }
.nx-fig .nx-eye { fill: #2b2623; }
.nx-fig .nx-head { transform-box: view-box; transform-origin: 100px 140px; transition: transform 0.6s; }
.nx-fig .nx-shoulders, .nx-fig .nx-body { transform-box: view-box; transform-origin: 100px 214px; }
.nx-fig[data-move="0"] .nx-head { animation: nx-tilt 6s ease-in-out infinite; }
.nx-fig[data-move="1"] .nx-shoulders, .nx-fig[data-move="1"] .nx-body { animation: nx-roll 3s ease-in-out infinite; }
.nx-fig[data-move="2"] .nx-head { animation: nx-nod 5s ease-in-out infinite; }
@keyframes nx-tilt { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-20deg); } 50% { transform: rotate(0); } 75% { transform: rotate(20deg); } }
@keyframes nx-roll { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-12px); } 60% { transform: translateY(-4px) scaleX(1.02); } }
@keyframes nx-nod { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(10px) scaleY(0.94); } }
.nx-timer { font-family: var(--serif); font-size: 1.4rem; margin: 10px 0 8px; color: var(--ink); opacity: 0.35; }
.nx-time { font-size: 3rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.zz-neck.run .nx-timer { opacity: 1; }
.nx-bar { height: 6px; border-radius: 6px; background: rgba(43, 38, 35, 0.1); max-width: 280px; margin: 0 auto; overflow: hidden; }
.nx-bar i { display: block; height: 100%; width: 0; background: var(--sun-dark); transition: width 1s linear; }
@media (max-width: 991.98px) { .nx-grid { grid-template-columns: 1fr; } .nx-visual { order: -1; } .nx-fig { width: 220px; } }

/* ---------- Karta "kako do nas" ---------- */
.zz-map p { max-width: 34em; }
.mp-svg { width: 100%; height: auto; display: block; background: var(--sun-soft); border-radius: 12px; margin: 10px 0 18px; }
.mp-sea { fill: #bfdedd; }
.mp-sea-t { font: italic 500 22px var(--serif); fill: #2f6b70; }
.mp-road { fill: none; stroke: var(--card); stroke-width: 14; stroke-linecap: round; }
.mp-route { fill: none; stroke: var(--sun-dark); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 10 10; }
.zz-map .mp-route { stroke-dasharray: 600; stroke-dashoffset: 600; }
.zz-map.draw .mp-route { animation: mp-draw 2.4s 0.3s ease forwards; }
.zz-map.now .mp-route { stroke-dashoffset: 0; animation: none; }
@keyframes mp-draw { to { stroke-dashoffset: 0; } }
.mp-arena ellipse { fill: #d9c7a6; stroke: #8a6a3e; stroke-width: 2; }
.mp-arena ellipse.in { fill: #efe2c7; }
.mp-arena path { stroke: #8a6a3e; stroke-width: 2; }
.mp-lab { font: 600 19px var(--sans); fill: #2b2623; }
.mp-small { font-size: 15px; fill: #8a7f79; }
.mp-salon { font-size: 18px; }
.mp-dist { font: italic 500 22px var(--serif); fill: #6b4c00; }
.mp-pin path { fill: #2b2623; }
.mp-pin .dot { fill: var(--sun); }
.mp-pin .pulse { fill: var(--sun); opacity: 0.35; transform-box: fill-box; transform-origin: center; }
.zz-map.draw .mp-pin .pulse { animation: mp-pulse 2s 2.4s ease-out infinite; }
@keyframes mp-pulse { from { transform: scale(0.6); opacity: 0.6; } to { transform: scale(2.4); opacity: 0; } }
.mp-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.map-frame[hidden] { display: none; }

/* ---------- Razglednica ---------- */
.zz-post { padding: clamp(70px, 9vw, 120px) 0; background: var(--sand); }
.pc-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.zz-post h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: 0 0 14px; }
.pc-form > p { font-size: 1.05rem; line-height: 1.7; }
.pc-designs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 16px; }
.pc-d { border: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; padding: 8px 16px; font: 600 0.9rem var(--sans); cursor: pointer; }
.pc-d[aria-pressed="true"] { background: var(--ink); color: var(--card); }
.pc-form label { display: block; font-weight: 600; color: var(--ink); font-size: 0.92rem; margin-bottom: 14px; }
.pc-form input, .pc-form textarea { display: block; width: 100%; margin-top: 6px; border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; font: 500 1rem var(--sans); color: var(--ink); background: var(--card); resize: vertical; }
.pc-form input:focus, .pc-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--sun-soft); }
.pc-preview canvas { width: 100%; height: auto; display: block; border-radius: 10px; box-shadow: 0 30px 60px rgba(43, 38, 35, 0.18); rotate: 1.5deg; }
@media (max-width: 991.98px) { .pc-grid { grid-template-columns: 1fr; } .pc-preview { order: -1; } }

/* ---------- Dijeljenje ---------- */
.sp-btns { margin-top: 6px; }
.zz-share { gap: 8px; }

/* ---------- Zvuk salona (vlastiti player) ---------- */
.snd-card { width: min(320px, calc(100vw - 28px)); }
.snd-body { display: flex; align-items: center; gap: 12px; padding: 4px 16px 16px; }
.snd-pp { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--sun); display: grid; place-items: center; cursor: pointer; }
.snd-pp svg { width: 20px; height: 20px; fill: #2b2623; }
.snd-pp .i-pause { display: none; }
.snd-card.playing .snd-pp .i-pause { display: block; }
.snd-card.playing .snd-pp .i-play { display: none; }
.snd-wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 34px; min-width: 0; overflow: hidden; }
.snd-wave span { flex: 1; min-width: 2px; height: 20%; border-radius: 2px; background: var(--sun-dark); opacity: 0.6; }
.snd-card.playing .snd-wave span { animation: snd-w 1.8s ease-in-out infinite; }
.snd-wave span:nth-child(3n) { animation-delay: -0.4s; } .snd-wave span:nth-child(3n + 1) { animation-delay: -1s; } .snd-wave span:nth-child(4n) { animation-delay: -1.4s; }
@keyframes snd-w { 0%, 100% { height: 20%; } 50% { height: 90%; } }
.snd-vol { flex: 0 0 74px; margin: 0; }
.snd-vol input { width: 100%; accent-color: var(--sun-dark); }
.snd-x { width: 32px; height: 32px; padding: 0; font-size: 1.2rem; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .snd-card.playing .snd-wave span { animation: none; height: 60%; } }

/* ---------- Posebne stranice ---------- */
.seo-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.seo-text p { font-size: 1.1rem; line-height: 1.8; }
.seo-h { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 34px 0 14px; }
.seo-photo { margin: 0; }
.seo-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px 10px 10px; display: block; }
.seo-side { position: sticky; top: calc(var(--nav-h) + 24px); }
.seo-price { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px 22px; margin-top: 22px; }
.seo-price .seo-h { margin-top: 18px; }
.seo-price .btn-row { margin-top: 18px; }
.seo-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.seo-list a { display: grid; grid-template-rows: auto 1fr auto; gap: 6px; height: 100%; background: var(--card); border-radius: 10px; padding: 20px; color: var(--ink); text-decoration: none; border: 1px solid transparent; transition: border-color 0.2s; }
.seo-list a:hover { border-color: var(--sun); }
.sl-n { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; }
.sl-d { font-size: 0.94rem; line-height: 1.55; color: var(--text); }
.sl-p { font-family: var(--serif); font-size: 1.25rem; color: var(--gold); }
@media (max-width: 991.98px) { .seo-grid { grid-template-columns: 1fr; } .seo-side { position: static; } .seo-list { grid-template-columns: 1fr 1fr; } .seo-photo { max-width: 420px; } }
@media (max-width: 575.98px) { .seo-list { grid-template-columns: 1fr; } }

/* ---------- Privatnost ---------- */
.pv { max-width: 760px; }
.pv-sec { padding: 22px 0; border-top: 1px solid var(--line); }
.pv-sec h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 0 0 10px; }
.pv-sec p { margin: 0; line-height: 1.75; }
.pv-upd { color: var(--muted); font-size: 0.9rem; margin: 18px 0 22px; }

/* =========================================================
   Tamni način
   ========================================================= */
[data-tema="tamna"] {
  --ink: #f1e9dc;
  --text: #cfc4b6;
  --muted: #a3978a;
  --sand: #241f1a;
  --sand-2: #2c261f;
  --line: #3a332b;
  --card: #2a241e;
  --nav-bg: rgba(27, 23, 19, 0.92);
  --sun-soft: #3b3222;
  --gold: #e9c46a;
  --gold-dark: #f2d48a;
  color-scheme: dark;
}
[data-tema="tamna"][data-miris="lavanda"] { --sun-soft: #352d40; --gold: #cdb6ee; --gold-dark: #dcc9f5; }
[data-tema="tamna"][data-miris="naranca"] { --sun-soft: #3d2c1d; --gold: #f6b878; --gold-dark: #f9c999; }
[data-tema="tamna"][data-miris="more"] { --sun-soft: #1f3534; --gold: #8fd0ce; --gold-dark: #a9dcda; }
[data-tema="tamna"] body { background: #1b1713; color: var(--text); }
[data-tema="tamna"] .site-nav .nav-link { color: var(--ink); }
[data-tema="tamna"] .navbar-toggler-icon { filter: invert(1); }
[data-tema="tamna"] .navbar-brand img { filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; }
[data-tema="tamna"] .dropdown-menu { background: var(--card); border-color: var(--line); }
[data-tema="tamna"] .dropdown-item { color: var(--ink); }
[data-tema="tamna"] .dropdown-item:hover, [data-tema="tamna"] .dropdown-item:focus { background: var(--sand-2); color: var(--ink); }
[data-tema="tamna"] .lang-btn { color: var(--ink); border-color: var(--line); }
/* površine u boji sunca zadržavaju tamni tekst */
[data-tema="tamna"] :is(.mg-deck, .btn-book, .book-tab, .mg-btn-sun, .sc-under, .feature .from, .zz-code, .snd-pp, .zz-lang a, .tm-ticks, .tn-res a, .svc-tag) { --ink: #2b2623; --text: #4a423d; --muted: #6f655e; }
[data-tema="tamna"] .mg-deck { --card: #fffaf0; --line: #ece3d2; }
[data-tema="tamna"] .mg-deck .dk-card { color: #4a423d; }
[data-tema="tamna"] :is(.mg-deck, .mg-deck p, .mg-deck h2) { color: #2b2623; }
/* tamni gumbi postaju sunčani */
[data-tema="tamna"] .mg-btn:not(.mg-btn-line):not(.mg-btn-ghost):not(.mg-btn-sun) { background: var(--sun); border-color: var(--sun); color: #2b2623; }
[data-tema="tamna"] .mg-btn:not(.mg-btn-line):not(.mg-btn-ghost):not(.mg-btn-sun):hover { background: var(--sun-light); border-color: var(--sun-light); }
[data-tema="tamna"] .mg-deck .mg-btn:not(.mg-btn-line) { background: #2b2623; border-color: #2b2623; color: #fff; }
[data-tema="tamna"] .mg-btn-line:hover, [data-tema="tamna"] .btn-ghost:hover { background: var(--ink); color: #1b1713; border-color: var(--ink); }
[data-tema="tamna"] .bm-chip.on, [data-tema="tamna"] .pc-d[aria-pressed="true"] { background: var(--sun); border-color: var(--sun); color: #2b2623; }
[data-tema="tamna"] .bm-z > * { fill: #3a332b; stroke: #cfc4b6; }
[data-tema="tamna"] .bm-z.on > * { fill: var(--sun); }
[data-tema="tamna"] .bm-dots circle { fill: #f1e9dc; }
[data-tema="tamna"] .bm-dots circle.on { fill: #2b2623; }
[data-tema="tamna"] .zz-ck-yes { background: var(--sun); border-color: var(--sun); color: #2b2623; }
[data-tema="tamna"] .snd-fab[aria-pressed="true"] { background: var(--sun); color: #2b2623; }
[data-tema="tamna"] .snd-fab i b { background: #2b2623; }
[data-tema="tamna"] .zz-heart { background: rgba(27, 23, 19, 0.85); }
[data-tema="tamna"] .zz-heart svg { stroke: #f1e9dc; }
[data-tema="tamna"] .zz-tip { box-shadow: none; }
[data-tema="tamna"] .zz-tip::before { background: rgba(255, 255, 255, 0.12); }
[data-tema="tamna"] .sp-disc { fill: #4a3320; }
[data-tema="tamna"] .mp-svg { background: #2c261f; }
[data-tema="tamna"] .mp-lab { fill: #f1e9dc; }
[data-tema="tamna"] .mp-pin path { fill: #f1e9dc; }
[data-tema="tamna"] .mp-sea { fill: #24484a; }
[data-tema="tamna"] .mp-sea-t { fill: #a6d8d6; }
[data-tema="tamna"] .mp-road { stroke: #3a332b; }
[data-tema="tamna"] .mp-dist { fill: var(--gold); }
[data-tema="tamna"] .pg-touch .pg-stage { background: radial-gradient(circle at 30% 30%, #4a3a2e, #3b2e25); }
[data-tema="tamna"] .cup-area .skin { background: #c9a58d; }
[data-tema="tamna"] .pg-drops .spine { stroke: rgba(241, 233, 220, 0.25); }
[data-tema="tamna"] .nx-fig .nx-face, [data-tema="tamna"] .nx-fig .nx-eye { stroke: #2b2623; }
[data-tema="tamna"] .nx-step { border-top-color: var(--line); }
[data-tema="tamna"] .nx-step.past::before { color: #1b1713; }
[data-tema="tamna"] .qz-o:hover { color: #2b2623; }
[data-tema="tamna"] .p-table thead th, [data-tema="tamna"] .p-table th { color: var(--ink); }
[data-tema="tamna"] .p-table td { color: var(--text); border-color: var(--line); }
[data-tema="tamna"] .faq-item summary i { background: var(--sand-2); }
[data-tema="tamna"] .faq-item summary i::before, [data-tema="tamna"] .faq-item summary i::after { background: var(--ink); }
[data-tema="tamna"] .faq-item[open] summary i, [data-tema="tamna"] .faq-item summary:hover i { background: var(--sun); }
[data-tema="tamna"] .faq-item[open] summary i::before, [data-tema="tamna"] .faq-item[open] summary i::after { background: #2b2623; }
[data-tema="tamna"] .zz-bye { background: #1b1713; }
[data-tema="tamna"] .tm-range, [data-tema="tamna"] .nx-bar { background-color: var(--line); }
[data-tema="tamna"] .fq-box { border-color: var(--ink); }
[data-tema="tamna"] .gift-band { background: var(--sand); }
[data-tema="tamna"] img:not(.navbar-brand img) { filter: brightness(0.92); }
[data-tema="tamna"] .zz-cookie, [data-tema="tamna"] .zz-lang { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }

/* Plutajući gumbi (dah i zvuk): na računalu samo krug, natpis na prelazak mišem */
@media (min-width: 768px) {
  .dah-fab, .snd-fab { padding: 0 8px; gap: 0; overflow: hidden; max-width: 52px; transition: max-width 0.35s ease, gap 0.35s, padding 0.35s, background 0.25s, opacity 0.3s, transform 0.35s, visibility 0.35s; white-space: nowrap; }
  .dah-fab:hover, .dah-fab:focus-visible, .snd-fab:hover, .snd-fab:focus-visible { max-width: 220px; gap: 10px; padding-right: 20px; }
  .dah-fab i, .snd-fab i { flex: 0 0 36px; }
  .snd-card { bottom: 144px; }
}
.svc { position: relative; }
[data-tema="tamna"] .mg-deck .mg-btn:not(.mg-btn-line):not(.mg-btn-ghost):not(.mg-btn-sun) { background: #2b2623; border-color: #2b2623; color: #fff; }
[data-tema="tamna"] .sc-card { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 60px rgba(0, 0, 0, 0.5); }
@media (min-width: 768px) {
  .dah-fab span, .snd-fab span { opacity: 0; transition: opacity 0.2s; }
  .dah-fab:hover span, .dah-fab:focus-visible span, .snd-fab:hover span, .snd-fab:focus-visible span { opacity: 1; transition-delay: 0.1s; }
}
[data-tema="tamna"] .snd-fab { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 10px 26px rgba(0, 0, 0, 0.4); }
[data-tema="tamna"] .snd-fab i { background: var(--sun); }

/* Krug za disanje u boji godišnjeg doba (uz zadanu paletu suncokreta) */
[data-miris="suncokret"][data-sezona="proljece"] .br-circle::after { background: #f6c9d2; }
[data-miris="suncokret"][data-sezona="jesen"] .br-circle::after { background: #e8913f; }
[data-miris="suncokret"][data-sezona="zima"] .br-circle::after { background: #eef2f6; box-shadow: 0 0 60px rgba(255, 255, 255, 0.35); }
[data-sezona="proljece"] .mg-breathe { background-color: color-mix(in srgb, #56683a calc(100% - var(--tn, 0.44) * 45%), #6b4a2c); }
[data-sezona="zima"] .mg-breathe { background-color: color-mix(in srgb, #3f4a4f calc(100% - var(--tn, 0.44) * 45%), #4a3a30); }
[data-sezona="jesen"] .mg-breathe { background-color: color-mix(in srgb, #57502e calc(100% - var(--tn, 0.44) * 45%), #6b3a1c); }

/* Karta: Google karta se otvara na mjestu crteža, iste veličine */
.mp-live { aspect-ratio: 640 / 420; border-radius: 12px; overflow: hidden; margin: 10px 0 18px; background: var(--sun-soft); }
.mp-live iframe { display: block; width: 100%; height: 100%; border: 0; }
.mp-svg[hidden] { display: none; }
@media (max-width: 575.98px) { .mp-live { aspect-ratio: 1 / 1; } }
@media (max-width: 991.98px) { .zz-map { margin-top: 56px; } }

/* =========================================================
   Tajni ulaz (PIN), akcije, tajna misija, nevidljiva tinta
   ========================================================= */
.zz-pin {
  position: fixed; inset: 0; z-index: 4800;
  display: grid; place-items: center; padding: 20px;
  background: rgba(8, 10, 8, 0.86);
  opacity: 0; transition: opacity 0.3s;
}
.zz-pin.on { opacity: 1; }
.zz-pin-in {
  width: min(340px, 100%);
  background: #0b0f0a; color: #9df29a;
  border: 1px solid #2f5a2d; border-radius: 6px;
  padding: 26px 22px 20px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  box-shadow: 0 0 0 1px rgba(157, 242, 154, 0.06), 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(157, 242, 154, 0.05);
}
.zz-pin-t { margin: 0 0 14px; font-size: 0.82rem; letter-spacing: 0.14em; color: #9df29a; }
.zz-pin-t::after { content: "_"; animation: zz-blink 1s steps(1) infinite; }
.zz-pin input {
  width: 100%; background: transparent; color: #c9ffc6;
  border: 0; border-bottom: 1px dashed #3f7a3c; border-radius: 0;
  font: 600 1.6rem ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.4em; text-align: center;
  padding: 8px 0; outline: none;
}
.zz-pin input:focus { border-bottom-color: #9df29a; }
.zz-pin-m { min-height: 1.4em; margin: 10px 0 6px; text-align: center; font-size: 0.9rem; color: #ff8a7a; }
.zz-pin-b { display: flex; gap: 10px; }
.zz-pin-b button {
  flex: 1; min-height: 44px; border-radius: 4px; cursor: pointer;
  font: 600 0.95rem ui-monospace, Menlo, Consolas, monospace;
  background: #9df29a; color: #0b0f0a; border: 1px solid #9df29a;
}
.zz-pin-b .zz-pin-x { flex: 0 0 52px; background: transparent; color: #9df29a; }
.zz-pin.shake .zz-pin-in { animation: zz-shake 0.4s; }
@keyframes zz-shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@keyframes zz-blink { 50% { opacity: 0; } }

.zz-bye svg { cursor: default; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.zz-bye svg.hold .b-head { animation: zz-hold 1.6s linear forwards; }
@keyframes zz-hold { to { transform: rotate(360deg) scale(1.15); } }

/* Akcija: traka ispod izbornika */
.zz-akcija { background: var(--sun-soft); color: var(--ink); border-bottom: 1px solid rgba(0, 0, 0, 0.06); position: relative; z-index: 5; }
.zz-akcija .container { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; padding-right: 54px; position: relative; }
.zz-akcija p { margin: 0; flex: 1 1 260px; font-size: 0.98rem; line-height: 1.45; }
.zz-akcija a { flex: 0 0 auto; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; border-radius: 4px; padding: 9px 16px; }
.zz-akcija a:hover { background: var(--gold-dark); color: #fff; }
.zz-akcija button { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border: 0; background: transparent; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; border-radius: 50%; }
.zz-akcija button:hover { background: rgba(0, 0, 0, 0.06); }
.zz-ak-ink { background: var(--dark); color: #fff; }
.zz-ak-ink a { background: var(--sun); color: #2b2623; }
.zz-ak-ink button:hover { background: rgba(255, 255, 255, 0.1); }
.zz-ak-ruza { background: #f8e1e4; color: #4a2a30; }
.zz-ak-more { background: #dff1f1; color: #1f3d3e; }
.zz-ak-zelena { background: #e5eedb; color: #2c3a20; }
[data-tema="tamna"] .zz-akcija:not(.zz-ak-ink) { background: #2b2a26; color: #f1ece4; border-bottom-color: rgba(255, 255, 255, 0.08); }
[data-tema="tamna"] .zz-akcija:not(.zz-ak-ink) a { background: var(--sun); color: #2b2623; }
[data-tema="tamna"] .zz-akcija button:hover { background: rgba(255, 255, 255, 0.1); }

/* Tajna misija */
.zz-token {
  display: inline-grid; place-items: center; vertical-align: middle;
  width: 30px; height: 30px; margin-left: 10px; padding: 0;
  border: 0; background: transparent; cursor: pointer; opacity: 0.38;
  transition: opacity 0.3s, transform 0.4s;
}
.zz-token svg { width: 22px; height: 22px; }
.zz-token ellipse { fill: var(--sun); }
.zz-token circle { fill: #4a3320; }
.zz-token:hover, .zz-token:focus-visible { opacity: 1; transform: rotate(40deg) scale(1.15); }
.zz-token.got { opacity: 1; }
.zz-token.got svg { animation: zz-spin 12s linear infinite; }
.tips-end .zz-token { display: grid; margin: 14px auto 0; }
.zz-token-tip {
  position: fixed; z-index: 4400; translate: -50% -100%;
  background: var(--dark); color: #fff; font-size: 0.9rem; white-space: nowrap;
  padding: 8px 12px; border-radius: 6px; pointer-events: none;
  animation: zz-tip-up 2.6s ease forwards;
}
.zz-token-tip b { color: var(--sun-light); font-weight: 600; }
@keyframes zz-tip-up { 0% { opacity: 0; transform: translateY(6px); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
.zz-mis-hud {
  position: fixed; left: 50%; translate: -50% 0; bottom: 16px; z-index: 900; white-space: nowrap;
  display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 150px); overflow: hidden;
  background: var(--card); color: var(--ink); border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px; padding: 7px 14px; font-size: 0.8rem; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.zz-mis-hud b { font-weight: 600; }
.zz-mis-hud span { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.08em; color: var(--gold); }
[data-tema="tamna"] .zz-mis-hud { border-color: rgba(255, 255, 255, 0.12); }
.zz-agent .zz-secret-in { font-family: ui-monospace, Menlo, Consolas, monospace; }
.zz-agent h2 { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.06em; text-transform: uppercase; font-size: clamp(1.6rem, 5vw, 2.6rem); }
.zz-agent h2::before { content: "// "; color: var(--sun); }

/* Nevidljiva tinta */
.zz-ink {
  --ux: -200px; --uy: -200px;
  position: relative; margin: 50px 0 0; padding: 22px 18px;
  border: 1px dashed rgba(255, 255, 255, 0.14); border-radius: 8px;
  text-align: center; cursor: crosshair; touch-action: pan-y; overflow: hidden;
}
.zz-ink-txt {
  margin: 0 auto !important; max-width: 34em !important;
  font-family: var(--hand); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.3; color: var(--sun-light);
  -webkit-mask-image: radial-gradient(circle 90px at var(--ux) var(--uy), #000 30%, transparent 100%);
  mask-image: radial-gradient(circle 90px at var(--ux) var(--uy), #000 30%, transparent 100%);
}
.zz-ink::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(circle 110px at var(--ux) var(--uy), rgba(170, 120, 255, 0.16), transparent 70%);
}
.zz-ink.lit::before { opacity: 1; }
.zz-ink-hint { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.28); transition: opacity 0.3s; pointer-events: none; }
.zz-ink.lit .zz-ink-hint { opacity: 0; }
@media (hover: none) { .zz-ink-txt { transition: none; } }

/* Zima: rijetke pahulje na naslovnoj fotografiji */
[data-sezona="zima"] .mg-glow::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 90px 120px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2.5px 2.5px at 160px 60px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 230px 170px, rgba(255, 255, 255, 0.7), transparent);
  background-size: 260px 220px;
  animation: zz-snow 22s linear infinite;
  opacity: 0.7;
}
@keyframes zz-snow { to { background-position: 60px 440px; } }
@media (prefers-reduced-motion: reduce) { [data-sezona="zima"] .mg-glow::after { animation: none; } }
@media print { .zz-akcija, .zz-mis-hud, .zz-ink, .zz-token { display: none !important; } }
@media (max-width: 767.98px) { .zz-mis-hud { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); font-size: 0.75rem; padding: 6px 12px; } }

/* =========================================================
   Popravci: izbornik, gumbi, galerija, podnožje, razmaci
   ========================================================= */
/* trenutna stranica u izborniku, i u tamnom načinu */
[data-tema="tamna"] .site-nav .nav-link.active, [data-tema="tamna"] .site-nav .nav-link:hover { color: var(--gold); }
@media (max-width: 1199.98px) {
  .site-nav .nav-link.active { color: var(--gold); padding-left: 18px !important; }
  .site-nav .nav-link.active::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 58%; translate: 0 -50%; border-radius: 4px; background: var(--sun); }
}
/* svijetli obrubljeni gumb u tamnom načinu */
[data-tema="tamna"] .btn-ghost { color: var(--ink); border: 1.5px solid rgba(241, 233, 220, 0.55); }
[data-tema="tamna"] .btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #1b1713; }
/* galerija: brojač ne smije prekrivati strelice */
.viewer .v-count { pointer-events: none; }
@media (max-width: 767.98px) { .viewer .v-prev, .viewer .v-next { z-index: 2; width: 56px; height: 56px; background: rgba(255, 255, 255, 0.16); } }
/* poklon bon: iznos po želji */
.idea-any { position: relative; overflow: hidden; --ink: #2b2623; color: #2b2623; }
.idea-any::before { content: "€"; position: absolute; right: 8px; top: -18px; font: 500 7.5rem/1 var(--serif); color: rgba(255, 255, 255, 0.3); pointer-events: none; transition: transform 0.6s cubic-bezier(.2, .7, .3, 1); }
.idea-any:hover::before { transform: rotate(-8deg) scale(1.05); }
.idea-any .idea-info { position: relative; }
.idea-any .idea-info strong, .idea-any .idea-info span { color: #2b2623; }
.idea-any i { width: auto; height: auto; padding: 10px 16px 10px 18px; gap: 10px; border-radius: 999px; background: #2b2623; color: var(--sun-light, #f9c46b); align-self: flex-start; font: 600 0.92rem var(--sans); font-style: normal; transition: gap 0.3s, background 0.3s; }
.idea-any i::before { content: "Odaberite iznos"; color: #fff; }
html[lang="en"] .idea-any i::before { content: "Choose an amount"; }
html[lang="it"] .idea-any i::before { content: "Scegliete l'importo"; }
html[lang="fr"] .idea-any i::before { content: "Choisir un montant"; }
html[lang="de"] .idea-any i::before { content: "Betrag wählen"; }
.idea-any:hover i { gap: 16px; }
.idea-any i svg { transition: transform 0.3s; }
.idea-any:hover i svg { transform: translateX(3px); }
[data-tema="tamna"] .idea-any { background: var(--sun); }
/* podnožje na mobitelu: više zraka */
@media (max-width: 991.98px) {
  .zz-foot { gap: 28px; }
  .zz-prefs { flex-direction: column; align-items: flex-start; gap: 20px; }
  .zz-moon p { text-align: left; }
}
/* manji razmaci između igara (računalo) */
@media (min-width: 992px) {
  .mg-quiz { padding-bottom: clamp(48px, 4.5vw, 70px); }
  .mg-quiz + .gift-band { padding-top: clamp(48px, 4.5vw, 70px); }
  .zz-play { padding-bottom: clamp(36px, 3.5vw, 56px); }
  .zz-play + .mg-spin { padding-top: clamp(36px, 3.5vw, 56px); }
}
/* „Imate još pitanja?“: strelica vidljiva i u tamnom načinu */
[data-tema="tamna"] .faq-card i { background: var(--sun); color: #2b2623; }
[data-tema="tamna"] .faq-card:hover i { background: var(--sun-light); }
.faq-card i { transition: transform 0.3s, background 0.3s; }
.faq-card:hover i { transform: translateX(4px); }
