:root {
  --bg: #0c0a09;
  --bg-alt: #13100e;
  --surface: #1a1613;
  --line: rgba(232, 200, 140, 0.14);
  --text: #ece6dc;
  --muted: #a39a8c;
  --gold: #d4a857;
  --gold-soft: #e8c98c;
  --gold-deep: #9c7633;
  --cover-a: #1c160e;
  --cover-b: #0a0806;
  --radius: 14px;
  --price: "Cinzel", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }
::selection { background: var(--gold); color: var(--bg); }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }

.eyebrow {
  font-size: .75rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.2em;
}

/* Pozadinski efekti */
#embers { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .7; }
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5%, 3%); }
  40% { transform: translate(3%, -6%); }
  60% { transform: translate(-7%, -2%); }
  80% { transform: translate(5%, 6%); }
}
main, .footer, .nav { position: relative; z-index: 2; }

/* Gumbi */
/* Tamni gumb sa zlatnim rubom koji teče; na hover ga ispuni tekuće zlato */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.btn {
  --mx: 50%;
  --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 1.05em 2em;
  color: var(--gold-soft);
  font-family: var(--sans); font-weight: 500; font-size: .95rem; letter-spacing: .06em;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: 999px;
  background:
    linear-gradient(180deg, #1f1912, #120e0a) padding-box,
    conic-gradient(from var(--angle), rgba(212, 168, 87, .15), var(--gold-soft) 12%, rgba(212, 168, 87, .15) 30%, rgba(212, 168, 87, .15) 55%, var(--gold) 68%, rgba(212, 168, 87, .15) 85%) border-box;
  box-shadow: 0 0 0 0 rgba(212, 168, 87, 0), 0 14px 34px -14px rgba(212, 168, 87, .45);
  animation: btn-border 5s linear infinite;
  transition: color .5s var(--ease), box-shadow .6s var(--ease), translate .5s var(--ease), scale .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
@keyframes btn-border { to { --angle: 360deg; } }

/* Tekuće zlato koje se diže odozdo */
.btn::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 160%; width: 260%; aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 42%;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold) 45%, var(--gold-deep));
  animation: btn-liquid 6s linear infinite;
  transition: top .8s var(--ease);
}
@keyframes btn-liquid { to { rotate: 360deg; } }

/* Mekani odsjaj koji prati kursor */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px circle at var(--mx) var(--my), rgba(255, 240, 210, .35), transparent 65%);
  opacity: 0; transition: opacity .4s;
}
.btn:hover, .btn:focus-visible {
  color: #1a1206;
  box-shadow: 0 0 0 6px rgba(212, 168, 87, .08), 0 22px 48px -14px rgba(212, 168, 87, .7);
}
.btn:hover::before, .btn:focus-visible::before { top: -140%; }
.btn:hover::after { opacity: 1; }
.btn:active { scale: .97; }
.btn:focus-visible { outline: none; }
.btn svg { transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

.btn.is-locked { cursor: not-allowed; opacity: .6; animation: none; }
.btn.is-locked::before, .btn.is-locked::after { content: none; }
.launch-badge {
  display: inline-block; margin: 0 0 1.2em; padding: .35em 1em; border-radius: 999px;
  border: 1px solid rgba(212, 168, 87, .4); background: rgba(212, 168, 87, .08);
  font-size: .8rem; letter-spacing: .08em; color: var(--gold-soft);
}
.launch-badge[hidden], .buy__launch[hidden] { display: none; }
.buy__launch { margin: 20px 0 0; color: var(--gold-soft); font-size: .92rem; }
.btn--small { padding: .7em 1.4em; font-size: .82rem; }
.btn--large { padding: 1.2em 2.6em; font-size: 1.02rem; }
.btn--large:not(:hover) { animation: btn-border 5s linear infinite, btn-pulse 3s ease-in-out infinite; }
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 87, 0), 0 14px 34px -14px rgba(212, 168, 87, .45); }
  50% { box-shadow: 0 0 0 8px rgba(212, 168, 87, .07), 0 18px 44px -14px rgba(212, 168, 87, .6); }
}

/* Gumb u zaglavlju: miran, bez animacija */
.nav .btn {
  animation: none; transition: background-color .3s, border-color .3s;
  border-color: rgba(212, 168, 87, .55); background: rgba(18, 14, 10, .6); box-shadow: none;
}
.nav .btn::before, .nav .btn::after { content: none; }
.nav .btn:hover { color: var(--gold-soft); border-color: var(--gold); background: rgba(212, 168, 87, .1); box-shadow: none; }
.nav .btn:active { scale: 1; }

/* Sporedni gumb: samo tanki rub */
.btn--ghost {
  background: transparent; border-color: var(--line); box-shadow: none; animation: none;
}
.btn--ghost::before { background: rgba(212, 168, 87, .14); }
.btn--ghost:hover { color: var(--gold-soft); border-color: var(--gold); box-shadow: none; }

/* Navigacija */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px max(16px, calc((100% - 1160px) / 2));
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(12, 10, 9, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.nav__brand { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { text-decoration: none; font-size: .88rem; color: var(--muted); transition: color .3s; }
.nav__links a:hover { color: var(--gold-soft); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero__glow {
  position: absolute; width: 900px; height: 900px; right: -200px; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(212, 168, 87, .18), transparent 60%);
  pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero__title { font-size: clamp(3.2rem, 8vw, 6.4rem); font-weight: 500; margin-bottom: .25em; }
.hero__subtitle { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--gold-soft); line-height: 1.4; max-width: 30ch; }
.hero__author { color: var(--muted); font-size: .95rem; margin-bottom: 2.2em; }
.hero__author span { color: var(--text); font-weight: 500; }
.hero__buy { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 2em; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .82rem; color: var(--muted); }
.hero__trust li::before { content: "✓"; color: var(--gold); margin-right: .5em; }

.hero__formats { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 1.6em; }
.format-chip {
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; text-decoration: none;
  background: rgba(255, 255, 255, .02); transition: border-color .3s, transform .3s var(--ease);
}
.format-chip:hover { border-color: rgba(212, 168, 87, .5); transform: translateY(-2px); }
.format-chip__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(212, 168, 87, .12); color: var(--gold); }
.format-chip > span:last-child { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.format-chip strong { font-weight: 500; font-size: .9rem; }
.format-chip em { font-style: normal; font-family: var(--price); font-size: 1rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-soft); }
.hero__text > .btn { margin-bottom: 2em; }

.price { display: flex; align-items: baseline; gap: 12px; }
.price__now { font-family: var(--price); font-size: 2rem; font-weight: 500; letter-spacing: .04em; color: var(--text); }
.price__old { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.price__old:empty { display: none; }
.price--large .price__now { font-size: 2.4rem; }

/* Kod za popust */
.promo { margin: 4px 0 28px; }
.promo label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.promo__row { display: flex; gap: 10px; flex-wrap: wrap; }
.promo input {
  flex: 1 1 180px; min-width: 0; padding: 12px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--text);
  font: inherit; font-size: .95rem; letter-spacing: .04em; transition: border-color .3s;
}
.promo input:focus { outline: none; border-color: var(--gold); }
.promo .btn--ghost { padding: 12px 22px; }
.promo__msg { margin: 8px 0 0; font-size: .85rem; min-height: 1.2em; }
.promo__msg.is-ok { color: var(--gold-soft); }
.promo__msg.is-error { color: #e08a7a; }

/* 3D knjiga */
.hero__book { position: relative; display: grid; place-items: center; perspective: 1800px; }
.book {
  --w: min(340px, 70vw);
  position: relative; width: var(--w); aspect-ratio: 2 / 3;
  transform-style: preserve-3d;
  transform: rotateY(-28deg) rotateX(6deg);
  transition: transform 1s var(--ease);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
.book__cover {
  position: absolute; inset: 0; border-radius: 3px 8px 8px 3px; overflow: hidden;
  transform: translateZ(22px);
  background: linear-gradient(160deg, var(--cover-a), var(--cover-b));
  box-shadow: inset 4px 0 10px rgba(0, 0, 0, .45), inset -1px 0 0 rgba(255, 255, 255, .06);
}
.book__cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .12) 48%, transparent 56%);
  background-size: 250% 100%; background-position: 100% 0;
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 0%, 60% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.book__cover img { width: 100%; height: 100%; object-fit: cover; }
.book__placeholder {
  position: absolute; inset: 14px; border: 1px solid rgba(212, 168, 87, .45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 18px;
}
.book__ornament { color: var(--gold); font-size: 1.4rem; }
.book__title { font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.05; color: var(--gold-soft); }
.book__line { width: 40px; height: 1px; background: var(--gold); }
.book__author { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.book__pages {
  position: absolute; top: 6px; bottom: 6px; left: calc(100% - 26px); width: 44px;
  transform: rotateY(90deg);
  background: repeating-linear-gradient(90deg, #e9e1d1 0 2px, #d6cbb6 2px 3px);
}
.book__spine {
  position: absolute; top: 0; bottom: 0; left: -22px; width: 44px;
  transform: rotateY(-90deg);
  background: linear-gradient(90deg, var(--cover-b), var(--cover-a));
}
.book__shadow {
  width: 70%; height: 30px; margin-top: 36px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .7), transparent 70%);
  filter: blur(6px);
  animation: shadow 7s ease-in-out infinite;
}
@keyframes shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.85); opacity: .7; } }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; translate: -50% 0;
  width: 24px; height: 38px; border: 1px solid var(--line); border-radius: 12px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px;
  background: var(--gold); border-radius: 2px; animation: scroll 2s ease-in-out infinite;
}
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Citat */
.quote-band { padding: 90px 0; border-block: 1px solid var(--line); background: var(--bg-alt); text-align: center; }
.quote-band blockquote {
  margin: 0 auto; max-width: 28ch;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.3; color: var(--gold-soft);
}
.quote-band__by { margin: 1.2em 0 0; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }

/* Sekcije */
.section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { text-align: center; margin-bottom: 56px; }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.prose p { color: #cfc7ba; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 2.2em 0 0; padding-top: 2em; border-top: 1px solid var(--line); }
.facts dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin-bottom: .3em; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.3rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  padding: 40px 32px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent);
  transition: border-color .4s, transform .4s var(--ease);
}
.card:hover { border-color: rgba(212, 168, 87, .4); transform: translateY(-4px); }
.card__num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); display: block; margin-bottom: 16px; }
.card p { color: var(--muted); margin: 0; }

/* Ulomak */
.excerpt {
  background: #f1eadc; color: #2a2118; border-radius: 4px;
  padding: clamp(32px, 6vw, 64px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  text-align: center;
}
.excerpt__chapter { font-family: var(--serif); font-size: .85rem; letter-spacing: .3em; text-transform: uppercase; color: #8a6a35; }
.excerpt__body {
  text-align: left; font-family: var(--serif); font-size: 1.25rem; line-height: 1.75;
  max-height: 260px; overflow: hidden; position: relative;
  transition: max-height 1s var(--ease);
}
.excerpt__body p:first-child::first-letter { float: left; font-size: 4.2em; line-height: .8; padding: .08em .1em 0 0; color: #8a6a35; }
.excerpt__body::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(transparent, #f1eadc); transition: opacity .6s;
  pointer-events: none;
}
.excerpt__sub { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: #8a6a35; margin: 1.6em 0 .4em; }
.excerpt__gap { text-align: center; color: #8a6a35; letter-spacing: .4em; }
.excerpt__end { text-align: center; font-style: italic; font-size: 1.05rem; color: #6b5128; margin-top: 1.6em; }
.excerpt__end a { color: #8a6a35; font-style: normal; text-decoration: none; border-bottom: 1px solid rgba(138, 106, 53, .4); }
.excerpt.is-open .excerpt__body { max-height: 5000px; }
.excerpt.is-open .excerpt__body::after { opacity: 0; }
.excerpt .btn--ghost { margin-top: 24px; color: #6b5128; border-color: rgba(107, 81, 40, .3); }
.excerpt .btn--ghost::before { background: rgba(138, 106, 53, .14); }
.excerpt .btn--ghost:hover { color: #4a3718; border-color: #8a6a35; }

/* Autor */
.author { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.author__photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #3a2a1c, var(--surface));
  border: 1px solid var(--line);
}
.author__photo::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(212, 168, 87, .3); border-radius: 8px; z-index: 1; pointer-events: none; }
.author__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) contrast(1.05); }
.author__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 6rem; color: rgba(212, 168, 87, .5); }
.socials { display: flex; gap: 24px; margin-top: 1.6em; }
.socials a { font-size: .85rem; color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .3s; }
.socials a:hover { border-color: var(--gold); }

/* Kupnja */
.buy__box {
  display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: center;
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid rgba(212, 168, 87, .3); border-radius: 24px;
  background: radial-gradient(circle at 15% 50%, rgba(212, 168, 87, .14), transparent 55%), var(--surface);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9);
}
.buy__mini-book { display: grid; place-items: center; perspective: 1000px; }
.mini-cover {
  width: min(220px, 60vw); aspect-ratio: 2 / 3; border-radius: 3px 6px 6px 3px;
  background: linear-gradient(160deg, var(--cover-a), var(--cover-b)) center / cover;
  border: 1px solid rgba(212, 168, 87, .4);
  display: grid; place-items: center; text-align: center; padding: 20px;
  font-family: var(--serif); font-size: 1.6rem; color: var(--gold-soft); line-height: 1.1;
  transform: rotateY(-18deg); box-shadow: 20px 30px 50px -10px rgba(0, 0, 0, .8);
}
.mini-cover { position: relative; overflow: hidden; }
.mini-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Odabir formata */
.formats { display: grid; gap: 12px; margin-bottom: 2em; }
.format {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  width: 100%; padding: 18px 22px; text-align: left; cursor: pointer;
  background: rgba(255, 255, 255, .02); color: var(--text); font: inherit;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, background .3s;
}
.format:hover { border-color: rgba(212, 168, 87, .4); }
.format:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.format.is-active { border-color: var(--gold); background: rgba(212, 168, 87, .08); }
.format__radio { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--muted); position: relative; transition: border-color .3s; }
.format.is-active .format__radio { border-color: var(--gold); }
.format.is-active .format__radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--gold); }
.format__text { display: flex; flex-direction: column; line-height: 1.35; }
.format__text strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.format__text small { color: var(--muted); font-size: .82rem; }
.format__price { font-family: var(--price); font-size: 1.2rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-soft); white-space: nowrap; }
.checklist { list-style: none; padding: 0; margin: 0 0 2em; }
.checklist li { padding: .45em 0 .45em 1.8em; position: relative; color: #cfc7ba; }
.checklist li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: .8em; top: .65em; }
.buy__row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.buy__note { margin: 1.6em 0 0; font-size: .8rem; color: var(--muted); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--serif); font-size: 1.35rem; transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: rotate .3s var(--ease);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: var(--gold-soft); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* Podnožje */
.footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer__brand { font-family: var(--serif); font-size: 1.5rem; margin-bottom: .2em; }
.footer__muted { color: var(--muted); font-size: .85rem; margin: 0; }
.footer__muted a { color: var(--gold-soft); text-decoration: none; }

/* Mobilna traka */
.sticky-buy {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(26, 22, 19, .92); border: 1px solid rgba(212, 168, 87, .3);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: translateY(150%); transition: transform .5s var(--ease);
}
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-buy > div { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sticky-buy__title { font-family: var(--serif); font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__price { font-family: var(--price); font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--gold); }

/* Stranica zahvale */
.thanks { min-height: 100svh; display: grid; place-items: center; padding: 120px 0 80px; text-align: center; }
.thanks__cover { width: 180px; margin: 0 auto 40px; transform: none; }
.thanks h1 { font-size: clamp(3rem, 8vw, 5rem); }
.thanks__lead { font-family: var(--serif); font-size: 1.4rem; color: var(--gold-soft); margin-bottom: 1.6em; }
.thanks__pending { color: var(--text); }
.thanks .btn--ghost { margin: 12px; }
.buy__note a { color: var(--gold-soft); }

/* Animacije pojavljivanja */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Responzivnost */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero { padding-top: 110px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero__book { order: -1; }
  .book { --w: min(240px, 60vw); }
  .hero__subtitle { margin-inline: auto; }
  .hero__formats, .hero__trust { justify-content: center; }
  .buy__content .formats { text-align: left; }
  .two-col, .author, .buy__box { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .author__photo { max-width: 380px; }
  .buy__box { text-align: center; }
  .checklist { display: inline-block; text-align: left; }
  .buy__row { justify-content: center; }
  .sticky-buy { display: flex; }
  .footer { padding-bottom: 100px; }
  .scroll-hint { display: none; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .nav .btn--small { display: none; }
  .format { padding: 16px; gap: 12px; }
  .format__text small { font-size: .78rem; }
  .excerpt__body { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  #embers { display: none; }
}
