/* ==========================================================================
   VYBARVI SI POLŠTÁŘEK - Čistý, světlý & bílý moderní design
   Čisté bílé pozadí, elegantní kontrast, precizní typografie
   ========================================================================== */

:root {
  --bg-main: #FDF7E3;
  --bg-subtle: #F8EFD3;
  --bg-card: #FFFFFF;

  /* Veselá & čistá paleta: růžová · světle zelená · žlutá */
  --color-primary: #EC5A9E;
  --color-primary-hover: #DB4A8D;
  --color-accent: #EC5A9E;
  --color-accent-hover: #DB4A8D;
  --color-accent-light: #FCE7F3;

  --color-teal: #22B573;
  --color-teal-light: #ECFBF3;
  --color-teal-border: #B0EBCE;

  /* svěží jarní zelená */
  --color-spring: #2FC157;
  --color-spring-hover: #22A847;

  --color-yellow: #F5C518;
  --color-yellow-light: #FEF6D6;
  --color-yellow-border: #FBD34D;
  
  /* Texty - maximální čitelnost */
  --color-text-main: #0F172A;
  --color-text-muted: #475569;
  --color-border: #E2E8F0;
  --color-border-light: #F1F5F9;
  
  /* Zaoblení & moderní jemné stíny */
  --radius-card: 16px;
  --radius-pill: 9999px;
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg-main);
  color: var(--color-text-main);
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Playpen Sans Thai', cursive;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--color-text-main);
}

/* Čisté bílé karty */
.white-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.white-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #F7C5DE;
}

/* Moderní čistá tlačítka */
.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(236, 90, 158, 0.35);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(236, 90, 158, 0.45);
}

.btn-secondary {
  background: #FFFFFF;
  color: #BE3A75;
  border: 1.5px solid #F7C5DE;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.7rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: #FCE7F3;
  border-color: #EC5A9E;
  transform: translateY(-1px);
}

/* Svěží jarní zelená – tlačítko PDF katalogu + horní lišta */
.btn-pdf {
  background: var(--color-spring);
  color: #FFFFFF;
  border: 1.5px solid var(--color-spring);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.7rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.38);
  transition: all 0.2s ease;
}
.btn-pdf:hover {
  background: var(--color-spring-hover);
  border-color: var(--color-spring-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.5);
}

/* horní lišta ve stejné svěží zelené */
.topbar-spring { background-color: var(--color-spring) !important; }

/* Odznáčky */
.badge-clean {
  background-color: var(--color-teal-light);
  color: #147049;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  border: 1px solid var(--color-teal-border);
}

.badge-warm {
  background-color: var(--color-yellow-light);
  color: #9A7400;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  border: 1px solid var(--color-yellow-border);
}

/* Náhledy motivů */
.motif-thumb {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  aspect-ratio: 1 / 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  cursor: pointer;
}

.motif-thumb:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 18px -4px rgba(236, 90, 158, 0.25);
  border-color: #EC5A9E;
}

.motif-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.motif-thumb:hover img {
  transform: scale(1.04);
}

/* Katalog motivů – kruhové rozložení (desktop) */
.motifs-circle {
  display: block !important;
  position: relative;
  width: 100%;
  margin: 1.5rem auto 3rem;
  aspect-ratio: 1 / 1;
}
/* Přehledné řazení motivů do řádků po čtyřech (přepínač u kruhu) */
#motifs-grid.motifs-list-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem;
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
  margin: 1.5rem auto;
  padding-top: 3.75rem;
  position: relative;
}
#motifs-list-toggle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 25;
  animation: motifs-toggle-pulse 1.8s ease-in-out infinite;
}
@keyframes motifs-toggle-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
  #motifs-list-toggle { animation: none; }
}
.motifs-circle .motif-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--motif-card-size, 96px);
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: translate(-50%, -50%) translate(var(--mx, 0), var(--my, 0)) rotate(var(--mrot, 0deg));
  transition: transform .35s cubic-bezier(.34, 1.4, .64, 1);
  z-index: 1;
}
.motifs-circle .motif-card:hover {
  z-index: 20;
  transform: translate(-50%, -50%) translate(var(--mx, 0), var(--my, 0)) rotate(0deg) scale(1.55);
}
.motifs-circle .motif-card > p { display: none; }
.motifs-circle .motif-thumb,
.motifs-circle .motif-thumb:hover {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  transform: none;
}
.motifs-circle .motif-thumb img,
.motifs-circle .motif-thumb:hover img {
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 10px 14px rgba(15, 23, 42, .28));
}
.motifs-circle #motifs-center {
  display: block !important;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28%;
  z-index: 4;
}
.motifs-circle #motifs-center img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(15, 23, 42, .32));
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .motifs-circle .motif-card { transition: none; }
}

/* Posuvník kalkulačky */
.slider-custom {
  accent-color: #EC5A9E;
  height: 1.6rem;
  border-radius: 9999px;
}

/* Krémový, světle žlutý podtón celé stránky */
body,
body.bg-white,
header.bg-white,
section.bg-white { background-color: var(--bg-main) !important; }

/* Střídavé sekce – o odstín sytější teplý krém pro jemný kontrast */
.bg-slate-50 { background-color: var(--bg-subtle) !important; }

/* Nadpis, který se při načtení stránky postupně "vybarví" (efekt omalovánky) */
h1.colorfill-title {
  position: relative;
  display: block;
}

/* skutečný text jen drží rozměr; kreslí se přes ::before a ::after */
h1.colorfill-title > span {
  visibility: hidden;
}

h1.colorfill-title::before,
h1.colorfill-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
  pointer-events: none;
}

/* obrys – viditelný hned od začátku.
   Trik: silnější tah pod výplní v barvě pozadí → vnitřní polovina tahu
   (a všechna vnitřní křížení, např. u „t") se překryje, zůstane jen čistý vnější obrys. */
h1.colorfill-title::before {
  color: var(--bg-main);
  -webkit-text-fill-color: var(--bg-main);
  -webkit-text-stroke: 3px #EC5A9E;
  text-stroke: 3px #EC5A9E;
  paint-order: stroke fill;
}

/* barevná výplň – postupně se odkrývá zleva doprava.
   Svislé odsazení (padding) roztáhne plochu přechodu i pod/nad text,
   aby background-clip:text vybarvil i spodní části a přetažení písmen
   („y", „ř", „š", „p"); záporný margin-top drží text zarovnaný s obrysem. */
h1.colorfill-title::after {
  padding: 0.5em 0;
  margin-top: -0.5em;
  background: linear-gradient(95deg, #EC5A9E 0%, #F5C518 32%, #22B573 62%, #EC5A9E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  clip-path: inset(0 100% 0 0);
  animation: colorfill-in 8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

@keyframes colorfill-in {
  to { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  h1.colorfill-title::after { animation: none; clip-path: inset(0 0 0 0); }
}

/* Ikonka kávy – stoupající pára */
.coffee-icon .coffee-steam path {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: coffee-steam 3s ease-in-out infinite;
}
.coffee-icon .coffee-steam .s2 { animation-delay: 1s; }
.coffee-icon .coffee-steam .s3 { animation-delay: 2s; }

@keyframes coffee-steam {
  0%   { opacity: 0;    transform: translateY(3px) scale(0.7); }
  20%  { opacity: 0.85; }
  55%  { opacity: 0.55; }
  100% { opacity: 0;    transform: translateY(-7px) scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .coffee-icon .coffee-steam path { animation: none; opacity: 0.65; }
}

/* ================= Hravé poznámky (info „lísteček") ================= */
.fun-note {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  --note-bg: #FDF3F8;
  --note-bd: rgba(236, 90, 158, 0.22);
  background: var(--note-bg);
  border: 1.5px solid var(--note-bd);
  border-radius: 18px;
  padding: 0.9rem 1.15rem;
  box-shadow: 0 6px 16px -8px rgba(15, 23, 42, 0.1);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  /* výchozí stav pro nájezd */
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fun-note.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.fun-note:nth-of-type(3n)   { --note-bg: #F1FBF5; --note-bd: rgba(34, 181, 115, 0.22); }
.fun-note:nth-of-type(3n+1) { --note-bg: #FEF9E8; --note-bd: rgba(245, 197, 24, 0.28); }

.fun-note strong { color: var(--color-text-main); }

.fun-note .fn-emoji {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: var(--color-accent-light);
  border-radius: 9999px;
  transform-origin: 50% 80%;
  animation: fn-wiggle 2.6s ease-in-out infinite;
}
.fun-note:nth-of-type(3n) .fn-emoji { background: var(--color-teal-light); animation-delay: 0.4s; }
.fun-note:nth-of-type(3n+1) .fn-emoji { background: var(--color-yellow-light); animation-delay: 0.8s; }

@keyframes fn-wiggle {
  0%, 60%, 100% { transform: rotate(0deg); }
  70% { transform: rotate(-11deg); }
  80% { transform: rotate(9deg); }
  90% { transform: rotate(-5deg); }
}

/* Vyříznuté polštářky u nadpisů – jemné pohupování */
.hp { transform-origin: 50% 55%; will-change: transform; }
.hp-l   { animation: hp-sway-l   4s   ease-in-out infinite; }
.hp-r   { animation: hp-sway-r   4.4s ease-in-out infinite; animation-delay: -1.3s; }
.hp-back{ animation: hp-sway-back 4.4s ease-in-out infinite; animation-delay: -0.6s; }

@keyframes hp-sway-l    { 0%,100% { transform: rotate(-6deg);  } 50% { transform: rotate(-12deg); } }
@keyframes hp-sway-r    { 0%,100% { transform: rotate(6deg);   } 50% { transform: rotate(12deg);  } }
@keyframes hp-sway-back { 0%,100% { transform: rotate(16deg);  } 50% { transform: rotate(24deg);  } }

@media (prefers-reduced-motion: reduce) {
  .hp-l { transform: rotate(-9deg); animation: none; }
  .hp-r { transform: rotate(9deg);  animation: none; }
  .hp-back { transform: rotate(20deg); animation: none; }
}

/* Odkaz na PDF katalog – pohyblivé emoji */
.pdf-link .pdf-ico {
  display: inline-block;
  animation: pdf-bob 1.9s ease-in-out infinite;
}
.pdf-link .pdf-arrow {
  display: inline-block;
  animation: pdf-arrow 1.4s ease-in-out infinite;
}
.pdf-link:hover .pdf-ico { animation-duration: 0.7s; }

@keyframes pdf-bob {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-3px) rotate(5deg); }
}
@keyframes pdf-arrow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .fun-note { opacity: 1; transform: rotate(var(--tilt, -1.4deg)); transition: none; }
  .fun-note .fn-emoji { animation: none; }
  .pdf-link .pdf-ico, .pdf-link .pdf-arrow { animation: none; }
}

/* Mrkající emoji v nadpisu kalkulačky */
.wink-emoji {
  display: inline-block;
  position: relative;
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
}
.wink-emoji::before,
.wink-emoji::after {
  position: absolute;
  inset: 0;
  text-align: center;
}
.wink-emoji::before { content: "\1F60A"; animation: wink-open 3.4s steps(1, end) infinite; }
.wink-emoji::after  { content: "\1F609"; opacity: 0; animation: wink-shut 3.4s steps(1, end) infinite; }
@keyframes wink-open { 0%, 82% { opacity: 1; } 83%, 92% { opacity: 0; } 93%, 100% { opacity: 1; } }
@keyframes wink-shut { 0%, 82% { opacity: 0; } 83%, 92% { opacity: 1; } 93%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .wink-emoji::before { animation: none; opacity: 1; }
  .wink-emoji::after { animation: none; opacity: 0; }
}

/* Emoji v oválech – pulzující srdíčko + jedoucí autíčko */
.oval-heart {
  display: inline-block;
  will-change: transform;
  animation: oval-heart-pulse 2.4s ease-in-out infinite;
}
@keyframes oval-heart-pulse {
  0%, 100% { transform: scale(1); }
  12%      { transform: scale(1.28); }
  24%      { transform: scale(1); }
  36%      { transform: scale(1.16); }
  48%      { transform: scale(1); }
}

.oval-car {
  display: inline-block;
  will-change: transform;
  animation: oval-car-drive 1.9s ease-in-out infinite;
}
@keyframes oval-car-drive {
  0%, 100% { transform: translateX(-5px) rotate(-3deg); }
  50%      { transform: translateX(5px) rotate(3deg); }
}

.oval-art {
  display: inline-block;
  will-change: transform;
  transform-origin: 50% 70%;
  animation: oval-art-wiggle 2.2s ease-in-out infinite;
}
@keyframes oval-art-wiggle {
  0%, 100% { transform: rotate(-11deg); }
  50%      { transform: rotate(11deg); }
}

.oval-coffee {
  display: inline-block;
  will-change: transform;
  transform-origin: 50% 90%;
  animation: oval-coffee-bob 2.8s ease-in-out infinite;
}
@keyframes oval-coffee-bob {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-3px) rotate(5deg); }
}

/* Kolo štěstí */
#wheel-stage {
  width: min(440px, 88vw);
  height: min(440px, 88vw);
  filter: drop-shadow(0 24px 40px rgba(15, 23, 42, .28));
}
#wheel-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 7px solid #0f172a;
  background:
    repeating-conic-gradient(from -6.4286deg,
      #F9A8D0 0deg 12.357deg, #1e293b 12.357deg 12.857deg,
      #FBD873 12.857deg 25.214deg, #1e293b 25.214deg 25.714deg,
      #8BDDB1 25.714deg 38.071deg, #1e293b 38.071deg 38.571deg,
      #AFC1F0 38.571deg 50.928deg, #1e293b 50.928deg 51.428deg);
  box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 12px #F4C948;
  transition: transform 4.6s cubic-bezier(.13, .73, .12, 1);
  will-change: transform;
}
.wheel-slot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}
.wheel-slot img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  width: var(--wheel-img, 50px);
  height: var(--wheel-img, 50px);
  margin-left: calc(var(--wheel-img, 50px) / -2);
  margin-top: calc(var(--wheel-img, 50px) / -2);
  object-fit: contain;
  filter: drop-shadow(0 3px 3px rgba(15, 23, 42, .35));
  transition: transform 4.6s cubic-bezier(.13, .73, .12, 1), filter .3s ease;
}
.wheel-slot.is-win { z-index: 40; }
.wheel-slot.is-win img {
  transition: transform .55s cubic-bezier(.34, 1.6, .55, 1), filter .3s ease;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, .95)) drop-shadow(0 10px 16px rgba(15, 23, 42, .4));
  cursor: zoom-in;
}
#wheel-name {
  position: absolute;
  left: 50%;
  top: -26px;
  transform: translate(-50%, -100%);
  z-index: 46;
  white-space: nowrap;
  background: #22B573;
  color: #fff;
  border: 2px solid #fff;
  font-family: 'Playpen Sans Thai', 'Playpen Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 5px 16px;
  border-radius: 9999px;
  box-shadow: 0 12px 20px -6px rgba(15, 23, 42, .4);
}
#wheel-ring.has-winner .wheel-slot:not(.is-win) img { opacity: .32; }
#wheel-pointer {
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
  z-index: 45;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 30px solid #EC5A9E;
  filter: drop-shadow(0 3px 2px rgba(15, 23, 42, .5));
}
#wheel-spin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  width: 27%;
  height: 27%;
  min-width: 86px;
  min-height: 86px;
  border-radius: 9999px;
  background: var(--color-primary);
  color: #fff;
  border: 4px solid #0f172a;
  box-shadow: 0 0 0 5px #F4C948, 0 10px 20px -6px rgba(15, 23, 42, .5);
  font-family: 'Playpen Sans Thai', 'Playpen Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(0.72rem, 2.4vw, 0.9rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: .01em;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform .14s ease, filter .14s ease;
}
#wheel-spin span { font-size: .82em; font-weight: 700; }
#wheel-spin:hover { filter: brightness(1.07); }
#wheel-spin:active { transform: translate(-50%, -50%) scale(.93); }
#wheel-spin:disabled { opacity: .6; cursor: default; filter: none; }

/* Zoom vylosovaného polštářku – pomalý nájezd, skoro celá obrazovka, barvy kola prosvítají */
#image-zoom-modal.zoom-bare {
  background:
    radial-gradient(circle at 50% 42%,
      rgba(236, 90, 158, .28), rgba(244, 201, 72, .16) 42%, transparent 68%),
    #171f33;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
#image-zoom-modal.zoom-bare #image-zoom-card {
  background: transparent;
  box-shadow: none;
  padding: 0;
  max-width: 96vw;
}
#image-zoom-modal.zoom-bare #image-zoom-frame {
  background: transparent !important;
  border-radius: 0;
  overflow: visible;
  max-height: 94vh;
}
#image-zoom-modal.zoom-bare #image-zoom-src {
  border-radius: 0;
  max-height: 90vh;
  max-width: 94vw;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .6));
}
#image-zoom-modal.zoom-bare #image-zoom-title {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}
#image-zoom-modal.zoom-bare #image-zoom-close {
  background: rgba(255, 255, 255, .9);
}

/* Zvětšený oříznutý polštářek (náhled vlevo od kola) – bez krémového rámečku, normální velikost */
#image-zoom-modal.zoom-cutout #image-zoom-card {
  background: transparent;
  box-shadow: none;
  padding: 0;
}
#image-zoom-modal.zoom-cutout #image-zoom-frame {
  background: transparent !important;
  overflow: visible;
}
#image-zoom-modal.zoom-cutout #image-zoom-src {
  border-radius: 0;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, .5));
}
#image-zoom-modal.zoom-cutout #image-zoom-title {
  color: #fff;
}
#image-zoom-modal.zoom-cutout #image-zoom-close {
  background: rgba(255, 255, 255, .9);
}
@keyframes zoom-grow {
  from { transform: scale(.18); opacity: 0; }
  55%  { opacity: 1; }
  to   { transform: scale(1); opacity: 1; }
}
.wheel-win-img {
  transform-origin: 50% 82%;
  filter: drop-shadow(0 5px 6px rgba(15, 23, 42, .28));
  animation: wheel-win-sway 3.6s ease-in-out infinite;
}
@keyframes wheel-win-sway {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .wheel-win-img { animation: none; transform: rotate(-3deg); }
}
@media (prefers-reduced-motion: reduce) {
  #wheel-ring, .wheel-slot img { transition-duration: 1.4s; }
}

/* Šálek kávy s kouřem */
.coffee-cup {
  position: relative;
  display: inline-block;
  font-size: 1.3rem;
  line-height: 1;
  animation: oval-coffee-bob 3s ease-in-out infinite;
}
.coffee-cup .coffee-steam {
  position: absolute;
  left: 52%;
  top: -0.42em;
  transform: translateX(-50%);
  width: 0.9em;
  height: 0.7em;
  pointer-events: none;
}
.coffee-cup .coffee-steam i {
  position: absolute;
  bottom: 0;
  width: 3px;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(to top, rgba(120, 130, 145, 0.6), rgba(120, 130, 145, 0));
  filter: blur(0.6px);
  opacity: 0;
  animation: coffee-rise 2.6s ease-in-out infinite;
}
.coffee-cup .coffee-steam i:nth-child(1) { left: 12%; animation-delay: 0s; }
.coffee-cup .coffee-steam i:nth-child(2) { left: 46%; animation-delay: 0.9s; }
.coffee-cup .coffee-steam i:nth-child(3) { left: 80%; animation-delay: 1.7s; }
@keyframes coffee-rise {
  0%   { opacity: 0;   transform: translateY(5px) scaleY(0.5); }
  30%  { opacity: 0.75; }
  100% { opacity: 0;   transform: translateY(-11px) scaleY(1.25); }
}

/* Kávový šálek pomalu putuje sem a tam podél spodního okraje oválu */
.coffee-cup.coffee-roamer {
  position: absolute;
  left: 50%;
  bottom: 0.6em;
  margin-left: -0.5em;
  animation: coffee-roam 14s ease-in-out infinite;
}
@keyframes coffee-roam {
  0%, 100% { transform: translateX(-1.2em) translateY(0.15em) rotate(-20deg); }
  50%      { transform: translateX(1.2em)  translateY(0.15em) rotate(18deg); }
}

.oval-clover {
  display: inline-block;
  transform-origin: 50% 90%;
  animation: oval-clover 3s ease-in-out infinite;
}
@keyframes oval-clover {
  0%, 100% { transform: rotate(-9deg) scale(1); }
  50%      { transform: rotate(9deg) scale(1.14); }
}

@media (prefers-reduced-motion: reduce) {
  .oval-heart, .oval-car, .oval-art, .oval-coffee, .oval-clover, .coffee-cup,
  .coffee-cup.coffee-roamer, .coffee-cup .coffee-steam i { animation: none; }
  .coffee-cup.coffee-roamer { transform: translateX(-0.1em) translateY(0.34em); }
  .coffee-cup .coffee-steam i { opacity: 0.5; }
}

/* Běžící pás motivů polštářků */
.pillow-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.pillow-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: pillow-marquee 45s linear infinite;
}
.pillow-marquee:hover .pillow-marquee-track { animation-play-state: paused; }
.pillow-marquee-track img {
  position: relative;
  flex-shrink: 0;
  width: clamp(150px, calc((100vw - 5rem) / 4), 270px);
  height: clamp(150px, calc((100vw - 5rem) / 4), 270px);
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 16px -8px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pillow-marquee-track img:hover {
  transform: translateY(-6px) scale(1.18);
  z-index: 5;
  box-shadow: 0 22px 40px -10px rgba(15, 23, 42, 0.4);
}
@keyframes pillow-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 0.5rem)); }
}
@media (prefers-reduced-motion: reduce) {
  .pillow-marquee-track { animation: none; }
}

/* Ovály (info bubliny) */
.cloud {
  --cloud-bg: #FDEEF6;
  --cloud-bd: #F7C5DE;
  position: relative;
}
.cloud::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cloud-bg);
  border: 2px solid var(--cloud-bd);
  border-radius: 50%;
  box-shadow: 0 14px 30px -14px rgba(15, 23, 42, 0.2);
  z-index: -1;
}
.cloud > * { position: relative; z-index: 1; }
.cloud-green  { --cloud-bg: #F1FBF5; --cloud-bd: #B0EBCE; }
.cloud-yellow { --cloud-bg: #FEF6E0; --cloud-bd: #F6CE5B; }

/* Recenze – tečky slideru */
.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #E2E8F0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.review-dot[aria-current="true"] {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* Toast notifikace */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#toast.show {
  transform: translateY(0);
}
