/* =========================================================
   TAROT TIM — design tokens
   ========================================================= */
:root {
  --bg: #0B0612;
  --bg-2: #120A1D;
  --surface: #170D25;
  --surface-2: #211433;
  --line: rgba(217, 180, 90, .18);
  --line-strong: rgba(217, 180, 90, .45);

  --gold: #D9B45A;
  --gold-bright: #F1D48A;
  --gold-deep: #A9822F;
  --gold-grad: linear-gradient(135deg, #F6DE9C 0%, #D9B45A 45%, #A9822F 100%);
  --violet: #7B4BB7;
  --violet-glow: rgba(140, 90, 210, .45);

  --text: #F4ECDD;
  --text-muted: #C2B5D3;
  --text-dim: #9688A9;
  --on-gold: #1A0F2A;

  --font-display: "Cinzel", "Times New Roman", serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);

  --section-y: clamp(5rem, 11vw, 9.5rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --nav-h: 76px;

  color-scheme: dark;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(123, 75, 183, .28), transparent 60%),
    radial-gradient(900px 700px at -10% 40%, rgba(90, 45, 140, .22), transparent 60%),
    radial-gradient(1000px 800px at 50% 110%, rgba(123, 75, 183, .2), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: italic; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
  border-radius: 6px;
}

::selection { background: rgba(217, 180, 90, .35); color: #fff; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: .75rem 1.25rem; border-radius: 999px;
  background: var(--gold); color: var(--on-gold); font-weight: 600;
  transform: translateY(-160%);
  transition: transform .25s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

main, .footer { position: relative; z-index: 1; }

#sky {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

.grain {
  position: fixed; inset: -50%;
  z-index: 0; pointer-events: none;
  opacity: .06;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   Typography
   ========================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow:has(.i-sparkle)::before { display: none; }
.i-sparkle { width: 14px; height: 14px; fill: var(--gold); }

.h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--text);
  text-wrap: balance;
}
.h2 em, .hero__title em {
  font-weight: 500;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .06em;
}

.lead {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 58ch;
  text-wrap: pretty;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 52px;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .3s, border-color .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }

.btn--gold {
  background: var(--gold-grad);
  color: var(--on-gold);
  box-shadow: 0 12px 32px -12px rgba(217, 180, 90, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease-out);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(217, 180, 90, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--gold:hover::after { transform: translateX(120%); }

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--gold-bright);
  background: rgba(23, 13, 37, .5);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--gold); background: rgba(217, 180, 90, .1); transform: translateY(-2px); }

.btn--sm { min-height: 44px; padding: .6rem 1.4rem; font-size: .72rem; }
.btn--lg { min-height: 60px; padding: 1.1rem 2.4rem; font-size: .85rem; }
.btn--block { width: 100%; }

.icon-btn {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--gold-bright);
  transition: background-color .25s, border-color .25s, transform .2s;
}
.icon-btn:hover { background: rgba(217, 180, 90, .12); border-color: var(--gold); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s, height .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 6, 18, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong), 0 0 24px -4px var(--violet-glow); }
.brand span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav__links { display: flex; gap: 2.2rem; margin-left: auto; }
.nav__links a {
  position: relative;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted);
  padding-block: .5rem;
  transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--gold-bright); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle { display: none; width: 48px; height: 48px; margin-left: auto; position: relative; }
.nav__toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--gold-bright);
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.nav__toggle span:first-child { top: 19px; }
.nav__toggle span:last-child { top: 28px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 23.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 23.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem;
  background: rgba(11, 6, 18, .96);
  backdrop-filter: blur(20px);
  opacity: 0; transition: opacity .35s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu nav a {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 500;
  padding-block: .35rem; color: var(--text);
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .2s;
}
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .12s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: .16s; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: .2s; }
.mobile-menu nav a:hover { color: var(--gold-bright); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 5rem;
}
.hero__grid {
  display: flex;
  justify-content: center;
}
.hero__copy {
  max-width: 880px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 8.4vw, 7.4rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin-bottom: 1.75rem;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(110%); transition: transform 1.1s var(--ease-out); }
.js .is-loaded .hero__title .line > span { transform: none; }
.hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.hero__title .line:nth-child(3) > span { transition-delay: .2s; }
.hero__title em { font-style: italic; }

.hero__lead { font-size: clamp(1.02rem, 1.35vw, 1.18rem); color: var(--text-muted); max-width: 54ch; margin-bottom: 2.4rem; }

.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 3rem; }

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  width: 100%;
  max-width: 560px;
}
.hero__trust li {
  flex: 1 1 0;
  text-align: center;
  font-size: .82rem; color: var(--text-dim);
  letter-spacing: .04em;
  padding-right: 1rem;
}
.hero__trust li + li { padding-left: 1rem; border-left: 1px solid var(--line); }
.hero__trust strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--gold-bright);
  letter-spacing: .04em;
}

/* Kristalna kugla u pozadini */
.orb {
  --orb-rot: 0deg;
  --size: min(92vmin, 760px);
  position: fixed;
  left: 50%; top: 50%;
  width: var(--size); height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  z-index: 0;
  pointer-events: none;
  opacity: .26;
}
.orb__body, .orb__swirl, .orb__shine { position: absolute; inset: 0; border-radius: 50%; }
.orb__body {
  background:
    radial-gradient(circle at 38% 34%, rgba(150, 110, 230, .55), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(70, 38, 120, .9) 0%, rgba(40, 20, 70, .85) 55%, rgba(20, 10, 36, .6) 100%);
  box-shadow: 0 0 120px 10px rgba(123, 75, 183, .45);
}
.orb__swirl {
  overflow: hidden;
  transform: rotate(var(--orb-rot));
  will-change: transform;
}
.orb__swirl svg { width: 100%; height: 100%; }
.orb__shine {
  background:
    radial-gradient(ellipse 30% 18% at 34% 24%, rgba(255, 255, 255, .5), transparent 70%),
    radial-gradient(circle at 50% 50%, transparent 62%, rgba(11, 6, 18, .55) 100%);
  box-shadow: inset 0 0 0 1.5px rgba(241, 212, 138, .5), inset 0 -30px 80px rgba(217, 180, 90, .12);
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.5rem;
  width: 26px; height: 42px;
  margin-left: -13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px;
  width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 3px; background: var(--gold);
  animation: cue 2s var(--ease-out) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  position: relative; z-index: 1;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(23, 13, 37, .9), rgba(33, 20, 51, .7), rgba(23, 13, 37, .9));
  padding-block: 1.35rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 2.5rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--text);
}
.marquee i { font-style: normal; color: var(--gold); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Sections — shared
   ========================================================= */
.section { position: relative; padding-block: var(--section-y); }
.section__head { text-align: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); display: flex; flex-direction: column; align-items: center; }
.section__head .h2 { margin-bottom: 1.25rem; }
.section__head--left { text-align: left; align-items: flex-start; }

[data-reveal] { --d: 0s; }
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1s var(--ease-out) var(--d), transform 1s var(--ease-out) var(--d);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   Pristup
   ========================================================= */
.pristup__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.pristup__quote .h2 { margin-bottom: 1.5rem; }
.pristup__quote .lead { margin-bottom: 2.25rem; }

.signature { display: flex; align-items: center; gap: 1rem; }
.signature img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong); }
.signature strong { display: block; font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); font-weight: 500; }
.signature span { font-size: .85rem; color: var(--text-dim); }

.pillars { display: flex; flex-direction: column; }
.pillar {
  display: grid; grid-template-columns: 72px 1fr; gap: 1.25rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar__num {
  font-family: var(--font-display);
  font-size: 1.6rem; color: var(--gold);
  line-height: 1.2;
}
.pillar h3 { font-family: var(--font-serif); font-size: 1.85rem; font-weight: 500; margin-bottom: .35rem; }
.pillar p { color: var(--text-muted); }

/* =========================================================
   Teme
   ========================================================= */
.teme__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tema {
  position: relative;
  padding: 2.5rem 2.25rem 2.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(33, 20, 51, .85), rgba(23, 13, 37, .85));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s;
}
.tema::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 50% 0%, rgba(217, 180, 90, .14), transparent 70%);
  opacity: 0; transition: opacity .5s;
}
.tema:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(123, 75, 183, .6); }
.tema:hover::before { opacity: 1; }
.tema--feature { background: linear-gradient(180deg, rgba(60, 32, 92, .8), rgba(23, 13, 37, .9)); border-color: var(--line-strong); }

.tema__icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  margin-bottom: 1.75rem;
  background: radial-gradient(circle, rgba(217, 180, 90, .14), transparent 70%);
}
.tema__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--gold-bright); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.tema h3 { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 500; margin-bottom: 1.25rem; }
.tema ul { display: flex; flex-direction: column; gap: .2rem; margin-bottom: 2rem; }
.tema li {
  position: relative; padding: .55rem 0 .55rem 1.5rem;
  color: var(--text-muted);
  border-bottom: 1px dashed rgba(217, 180, 90, .12);
}
.tema li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 7px; height: 7px; margin-top: -3.5px;
  background: var(--gold); transform: rotate(45deg); opacity: .7;
}
.tema__arcana {
  font-family: var(--font-display);
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold);
}

/* =========================================================
   Izvuci kartu
   ========================================================= */
.draw::before {
  content: ""; position: absolute; inset: 10% 0;
  background: radial-gradient(600px 400px at 35% 55%, rgba(123, 75, 183, .3), transparent 70%);
  pointer-events: none;
}
.draw__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.deck {
  --w: clamp(78px, 11vw, 140px);
  position: relative;
  height: clamp(340px, 42vw, 500px);
}
.deck-card {
  --spread: .56;
  --fan: translateX(calc(var(--x) * var(--w) * var(--spread))) translateY(calc(var(--y) * var(--w) * .05)) rotate(calc(var(--x) * 6deg));
  position: absolute;
  left: 50%; top: 50%;
  width: var(--w);
  aspect-ratio: 2 / 3;
  margin-left: calc(var(--w) / -2);
  margin-top: calc(var(--w) * -.85);
  transform-origin: 50% 100%;
  transform: var(--fan);
  transition: transform .7s var(--ease-out), opacity .5s var(--ease-out);
  transition-delay: calc(var(--i) * 40ms);
  perspective: 1200px;
  border-radius: 10px;
  z-index: 1;
}
.deck.is-dealing .deck-card { transform: rotate(0deg) translateY(10px); transition: none; }
.deck-card:hover, .deck-card:focus-visible { transform: var(--fan) translateY(-24px); transition-delay: 0s; }
.deck-card:focus-visible { outline-offset: 6px; }

.deck-card__inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(.3, .7, .2, 1) .35s;
}
.face {
  position: absolute; inset: 0;
  border-radius: 10px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.face--back {
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .9), 0 0 0 1px rgba(241, 212, 138, .3);
}
.face--back img { width: 100%; height: 100%; object-fit: cover; }
.deck-card:hover .face--back { box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .9), 0 0 0 1px var(--gold), 0 0 30px -4px rgba(217, 180, 90, .55); }

/* Lice karte: ram istog oblika kao poleđina (2:3), slika se ne razvlači */
.face--front {
  transform: rotateY(180deg);
  display: grid; place-items: center;
  padding: 7% 8%;
  background:
    radial-gradient(circle at 50% 42%, rgba(217, 180, 90, .2), transparent 60%),
    linear-gradient(160deg, #3a1d5c, #1b0e2c 70%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 60px -8px rgba(217, 180, 90, .5), 0 0 0 1px rgba(241, 212, 138, .55);
}
.face--front::before {
  content: ""; position: absolute; inset: 3%;
  border: 1px solid rgba(241, 212, 138, .55);
  border-radius: 7px;
  pointer-events: none;
}
.face--front img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 3px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .55));
}

.deck-card:disabled { cursor: default; }
.deck.is-restored .deck-card,
.deck.is-restored .deck-card__inner { transition: none !important; }

.deck.has-pick .deck-card { opacity: 0; pointer-events: none; transform: var(--fan) translateY(60px); transition-delay: 0s; }
.deck.has-pick .deck-card.is-picked {
  opacity: 1; z-index: 5;
  transform: translateY(-4%) scale(1.6);
}
.deck-card.is-picked .deck-card__inner { transform: rotateY(180deg); }

.reading {
  position: relative;
  min-height: 360px;
  padding: clamp(2rem, 3vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(33, 20, 51, .75), rgba(23, 13, 37, .75));
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column; justify-content: center;
}
.ritual { display: flex; flex-direction: column; gap: 1.4rem; }
.ritual li { display: flex; align-items: center; gap: 1rem; font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.3; }
.ritual span {
  flex: none; width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-strong);
  font-family: var(--font-display); font-size: .95rem; color: var(--gold);
}

.reading__result { animation: rise .8s var(--ease-out) both .9s; }
.reading__result[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.reading__num { font-family: var(--font-display); font-size: .8rem; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; margin-bottom: .5rem; }
.reading__name { font-family: var(--font-serif); font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 500; line-height: 1.05; margin-bottom: 1rem; }
.reading__keys { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.reading__keys li {
  padding: .35rem .85rem; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: .75rem; letter-spacing: .08em; color: var(--gold-bright);
  white-space: nowrap;
}
.reading__msg { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--text); margin-bottom: 1.75rem; }
.reading__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.reading__actions .btn { flex: 1 1 auto; }
.reading__note { font-size: .82rem; color: var(--text-dim); }

/* =========================================================
   Usluge
   ========================================================= */
/* < 1100px: jedan horizontalni red sa scroll-snap; ≥ 1100px: 4 kolone */
.plans {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  padding: 1.25rem var(--gutter) 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) transparent;
}
.plans::-webkit-scrollbar { height: 6px; }
.plans::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 3px; }
.plans > .plan { flex: 0 0 min(80vw, 320px); scroll-snap-align: center; }
@media (min-width: 1100px) {
  .plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    overflow: visible;
    margin-inline: 0;
    padding: 1.5rem 0 0;
  }
  .plans > .plan { flex: none; }
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2.25rem 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(23, 13, 37, .8);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.plan--featured {
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(217, 180, 90, .18), transparent 70%),
    linear-gradient(180deg, #2b1745, #170d25);
  border-color: rgba(217, 180, 90, .6);
  box-shadow: 0 40px 80px -30px rgba(123, 75, 183, .8), 0 0 0 1px rgba(217, 180, 90, .2) inset;
  transform: translateY(-14px);
}
.plan--featured:hover { transform: translateY(-20px); }
.plan__ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: .4rem 1.1rem; border-radius: 999px;
  background: var(--gold-grad); color: var(--on-gold);
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 20px -6px rgba(217, 180, 90, .7);
}
.plan__tag { font-family: var(--font-display); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.plan__name { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 500; line-height: 1.1; margin-bottom: 1.5rem; min-height: 2.2em; text-wrap: balance; }
.plan__price {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 2.8vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-bright);
  padding-bottom: 1.75rem; margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: lining-nums tabular-nums;
}
.plan__price span { font-size: 1rem; letter-spacing: .14em; color: var(--gold); }
.plan__price--text { font-size: clamp(1.4rem, 1.8vw, 1.7rem); line-height: 1.5; }
.plan .btn { white-space: normal; text-align: center; padding-inline: 1.1rem; }
.plan__list { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 2.25rem; flex: 1; }
.plan__list li { position: relative; padding-left: 1.85rem; color: var(--text-muted); }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 1.1rem; height: 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l1.8 8.2L22 12l-8.2 1.8L12 22l-1.8-8.2L2 12l8.2-1.8z' fill='%23D9B45A'/%3E%3C/svg%3E") center / contain no-repeat;
}

.plans__note {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  margin-top: 3rem; text-align: center;
  color: var(--text-dim); font-size: .92rem;
}
.plans__note svg { width: 14px; height: 14px; fill: var(--gold); flex: none; }
.plans__note a, .iskustva__more a { color: var(--gold-bright); border-bottom: 1px solid var(--line-strong); transition: border-color .2s; }
.plans__note a:hover, .iskustva__more a:hover { border-color: var(--gold-bright); }

/* =========================================================
   Proces
   ========================================================= */
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  counter-reset: step;
}
.steps::before {
  content: ""; position: absolute;
  top: 36px; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 15%, var(--line-strong) 85%, transparent);
}
.step { position: relative; text-align: center; padding-inline: .5rem; }
.step__num {
  position: relative;
  width: 72px; height: 72px;
  margin: 0 auto 1.75rem;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-bright);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--bg), 0 0 40px -8px rgba(217, 180, 90, .45);
}
.step__num::after {
  content: ""; position: absolute; inset: -6px;
  border: 1px dashed rgba(217, 180, 90, .35); border-radius: 50%;
  animation: spinplain 30s linear infinite;
}
@keyframes spinplain { to { transform: rotate(360deg); } }
.step h3 { font-family: var(--font-serif); font-size: 1.65rem; font-weight: 500; margin-bottom: .5rem; }
.step p { color: var(--text-muted); font-size: .95rem; max-width: 28ch; margin-inline: auto; }

/* =========================================================
   78 karata
   ========================================================= */
.arkane {
  background: linear-gradient(180deg, transparent, rgba(23, 13, 37, .7) 20%, rgba(23, 13, 37, .7) 80%, transparent);
}
.arkane__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.arkane__copy .h2 { margin-bottom: 1.5rem; }

.equation { display: flex; align-items: stretch; gap: 1rem; }
.eq__block {
  flex: 1;
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(11, 6, 18, .55);
  text-align: center;
}
.eq__block--total { border-color: rgba(217, 180, 90, .6); background: radial-gradient(circle at 50% 20%, rgba(217, 180, 90, .16), rgba(11, 6, 18, .55) 70%); }
.eq__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .75rem;
  font-variant-numeric: tabular-nums;
}
.eq__block h3 { font-family: var(--font-display); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .4rem; }
.eq__block p { font-size: .85rem; color: var(--text-dim); line-height: 1.55; }
.eq__op { align-self: center; font-family: var(--font-serif); font-size: 2.2rem; color: var(--gold); }

.suits { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1rem; }
.suits li {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
}
.suits svg { grid-row: span 2; width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.suits strong { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; line-height: 1.2; }
.suits span { font-size: .8rem; color: var(--text-dim); letter-spacing: .04em; }

/* =========================================================
   Iskustva
   ========================================================= */
.carousel { max-width: 920px; margin-inline: auto; }
.carousel__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.carousel__track { display: flex; transition: transform .8s var(--ease-out); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.carousel__track.is-dragging { transition: none; cursor: grabbing; }
@media (prefers-reduced-motion: reduce) { .carousel__track { transition-duration: .01s; } }
.quote { flex: 0 0 100%; padding: .25rem; }
.quote blockquote {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(123, 75, 183, .25), transparent 70%),
    rgba(23, 13, 37, .8);
  text-align: center;
}
.quote blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-serif); font-size: 6rem; line-height: .6;
  color: var(--gold); opacity: .6; margin-bottom: 1rem;
}
.quote p { font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.45; font-style: italic; margin-bottom: 2rem; text-wrap: balance; }
.quote footer { display: inline-flex; align-items: center; gap: .9rem; color: var(--text-muted); font-size: .9rem; }
.quote footer strong { color: var(--gold-bright); font-weight: 500; }
.quote__avatar {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; background: var(--gold-grad); color: var(--on-gold);
  font-family: var(--font-display); font-weight: 600;
}

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.carousel__dots { display: flex; gap: .25rem; }
.carousel__dots button { width: 32px; height: 44px; display: grid; place-items: center; }
.carousel__dots button::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-strong);
  transition: width .4s var(--ease-out), background-color .3s;
}
.carousel__dots button[aria-selected="true"]::before { width: 26px; border-radius: 4px; background: var(--gold); }

.iskustva__more { text-align: center; margin-top: 2rem; color: var(--text-dim); font-size: .92rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.faq__grid .section__head { position: sticky; top: calc(var(--nav-h) + 2rem); margin-bottom: 0; }
.faq__grid .section__head .eyebrow { margin-bottom: 1.5rem; }

.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 72px;
  padding-block: 1.4rem;
  font-family: var(--font-serif); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 500;
  cursor: pointer; list-style: none;
  transition: color .25s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--gold), var(--gold)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.5px 12px no-repeat;
  transition: transform .4s var(--ease-out), background-color .3s;
}
.faq__list summary:hover { color: var(--gold-bright); }
.faq__list details[open] summary::after { transform: rotate(135deg); background-color: rgba(217, 180, 90, .12); }
.faq__a { padding: 0 3.5rem 1.6rem 0; color: var(--text-muted); }
.faq__list details[open] .faq__a { animation: rise .5s var(--ease-out); }

/* =========================================================
   Final CTA
   ========================================================= */
.final { position: relative; padding-block: var(--section-y); text-align: center; overflow: hidden; }
.final::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 900px; height: 900px; margin: -450px 0 0 -450px;
  background: radial-gradient(circle, rgba(123, 75, 183, .4), transparent 60%);
  pointer-events: none;
}
.final__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final .h2 { margin-bottom: 1.25rem; }
.final .lead { margin-bottom: 2.5rem; }
.final__actions { margin-top: 2rem; }

/* Zakazivanje termina */
.booking {
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(33, 20, 51, .9), rgba(23, 13, 37, .9));
  box-shadow: 0 40px 80px -40px rgba(123, 75, 183, .7);
  text-align: left;
}
.booking__picker { min-width: 0; }
.booking__label {
  display: block;
  font-family: var(--font-display);
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.booking__days {
  display: flex; gap: .5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: .75rem;
  margin-bottom: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) transparent;
}
.booking__days::-webkit-scrollbar { height: 6px; }
.booking__days::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 3px; }
.bday {
  flex: 0 0 74px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  padding: .7rem .25rem .6rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(11, 6, 18, .45);
  color: var(--text-muted);
  transition: border-color .2s, background-color .2s, color .2s;
}
.bday:hover { border-color: var(--line-strong); color: var(--text); }
.bday.is-active { border-color: var(--gold); background: rgba(217, 180, 90, .14); color: var(--text); }
.bday__wd { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.bday__num { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; color: var(--gold-bright); }
.bday__mo { font-size: .7rem; text-transform: lowercase; }
.bday__free { margin-top: .25rem; font-size: .62rem; letter-spacing: .04em; color: var(--text-dim); white-space: nowrap; }
.bday__free.is-full { color: #c98a8a; }

.booking__slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: .6rem;
}
.slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 60px;
  padding: .5rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 6, 18, .35);
  color: var(--gold-bright);
  transition: background-color .2s, border-color .2s, transform .15s;
}
.slot__time { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .04em; }
.slot__state { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.slot:hover { background: rgba(217, 180, 90, .12); border-color: var(--gold); }
.slot:active { transform: scale(.97); }
.slot.is-selected { background: var(--gold-grad); border-color: transparent; color: var(--on-gold); }
.slot.is-selected .slot__state { color: var(--on-gold); }
.slot.is-busy {
  background: rgba(0, 0, 0, .45);
  border-color: rgba(255, 255, 255, .06);
  color: #6f6480;
  cursor: not-allowed;
}
.slot.is-busy .slot__time { text-decoration: line-through; }
.slot.is-busy .slot__state { color: #a88a8a; }
.slot.is-busy:hover { background: rgba(0, 0, 0, .45); border-color: rgba(255, 255, 255, .06); }
.slot.is-busy:active { transform: none; }

.booking__panel {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(11, 6, 18, .5);
  min-width: 0;
}
#b-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
#b-empty[hidden], #b-chosen[hidden] { display: none; }
.booking__icon { width: 56px; height: 56px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.booking__hint { color: var(--text-muted); font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.35; }
.booking__when { font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.2; margin-bottom: 1.25rem; color: var(--text); }
.booking__select {
  width: 100%;
  min-height: 48px;
  padding: .7rem 2.5rem .7rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #170D25 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9B45A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .8rem center / 18px no-repeat;
  color: var(--text);
  font: inherit; font-size: .92rem;
  appearance: none;
  cursor: pointer;
}
.booking__select:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.booking__note { font-size: .85rem; color: var(--text-muted); line-height: 1.55; }
.booking__msg { font-size: .85rem; color: #f0b4b4; line-height: 1.5; margin-top: .75rem; }
.booking__msg:empty { display: none; }

/* Forma zahteva */
.booking__form { display: flex; flex-direction: column; }
.field { margin-bottom: 1rem; }
.field .booking__select { margin-bottom: 0; }
.booking__input {
  width: 100%;
  min-height: 48px;
  padding: .7rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #170D25;
  color: var(--text);
  font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.booking__input::placeholder { color: var(--text-dim); opacity: .8; font-size: .88rem; }
.booking__input:hover { border-color: var(--gold); }
.booking__input:focus-visible { outline: none; border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(217, 180, 90, .25); }
.field.has-error .booking__input { border-color: #e08a8a; }
.field.has-error .booking__input:focus-visible { box-shadow: 0 0 0 3px rgba(224, 138, 138, .25); }
.field__error { font-size: .8rem; color: #f0b4b4; line-height: 1.45; margin-top: .4rem; }
.field__error:empty { display: none; }
#b-submit { margin-top: .25rem; }
#b-submit:disabled { opacity: .7; cursor: progress; transform: none; }
.booking__privacy { font-size: .78rem; color: var(--text-dim); line-height: 1.5; margin-top: .85rem; }

.booking__done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.booking__done[hidden] { display: none; }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--line); padding-block: 3rem 2rem; background: rgba(11, 6, 18, .85); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.footer .brand img { width: 40px; height: 40px; }
.footer__tag { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--text-muted); }
.footer__ig { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--gold-bright); font-weight: 500; letter-spacing: .04em; transition: color .2s; }
.footer__ig:hover { color: #fff; }
.footer__ig svg, .final__actions svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.final__actions .btn:hover svg { transform: none; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .8rem; color: var(--text-dim); }
.footer__legal p:last-child { max-width: 62ch; }
.footer__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.footer__nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.75rem; }
.footer__nav ul a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--font-display); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted); transition: color .2s;
}
.footer__nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: right;
  transition: transform .25s var(--ease-out);
}
.footer__nav ul a:hover, .footer__nav ul a:focus-visible, .footer__nav ul a.is-active { color: var(--gold-bright); }
.footer__nav ul a:hover::after, .footer__nav ul a:focus-visible::after, .footer__nav ul a.is-active::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 767px) {
  .footer__nav { flex-direction: column; align-items: stretch; }
  .footer__nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; justify-items: start; }
  .footer__nav .btn { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .footer__nav ul a, .footer__nav ul a::after { transition: none; }
}
.faq__a a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }
.footer__docs { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; width: 100%; }
.footer__docs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-muted); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.footer__docs a:hover { color: var(--gold-bright); border-bottom-color: var(--gold); }
.footer__docs a[aria-current="page"] { color: var(--gold-bright); }
.footer__id { width: 100%; }

/* Saglasnost u formi */
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .85rem; color: var(--text-muted); line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin-top: .05rem; accent-color: var(--gold); cursor: pointer; }
.consent a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }
.consent a:hover { color: #fff; }
.field.has-error .consent { color: #f0b4b4; }
.booking__privacy a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   Pravne stranice
   ========================================================= */
.legal-page .nav { background: rgba(11, 6, 18, .88); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.legal-page .nav__back { margin-left: auto; }
.legal { position: relative; z-index: 1; padding-block: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)) clamp(4rem, 8vw, 6rem); }
.legal__inner { max-width: 74ch; margin-inline: auto; }
.legal .h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.legal__meta { color: var(--text-dim); font-size: .88rem; margin-bottom: 2.5rem; }
.legal__toc { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(23, 13, 37, .6); padding: 1.25rem 1.5rem; margin-block: 2rem 3rem; }
.legal__toc p { font-family: var(--font-display); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.legal__toc ol { list-style: decimal; padding-left: 1.4rem; columns: 2 16rem; column-gap: 2rem; }
.legal__toc li { padding-block: .15rem; break-inside: avoid; }
.legal__toc a { color: var(--text-muted); transition: color .2s; }
.legal__toc a:hover { color: var(--gold-bright); }
.legal section { margin-bottom: 2.5rem; }
.legal h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.2; color: var(--gold-bright); margin-bottom: .9rem; }
.legal h3 { font-weight: 600; font-size: 1rem; color: var(--text); margin: 1.25rem 0 .5rem; }
.legal p, .legal li { color: var(--text-muted); }
.legal p + p { margin-top: .8rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; margin-top: .6rem; }
.legal ul li + li { margin-top: .35rem; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a:not(.btn) { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal a:not(.btn):hover { color: #fff; }
.legal .legal__toc a:not(.btn) { color: var(--text-muted); text-decoration: none; }
.legal .legal__toc a:not(.btn):hover { color: var(--gold-bright); text-decoration: underline; }
.legal-page .brand span { white-space: nowrap; }
.legal__table { width: 100%; border-collapse: collapse; margin-top: .75rem; font-size: .95rem; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: .6rem .75rem; border-bottom: 1px solid var(--line); color: var(--text-muted); }
.legal__table th { color: var(--text); font-weight: 600; width: 38%; }
.legal__form { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 1.5rem; background: rgba(23, 13, 37, .5); }
.legal__form .blank { display: block; border-bottom: 1px solid var(--line-strong); min-height: 2rem; margin-bottom: .9rem; }
@media (max-width: 560px) {
  .legal__table th, .legal__table td { display: block; width: auto; padding-inline: 0; }
  .legal__table th { border-bottom: 0; padding-bottom: 0; }
  .legal-page .nav__back { padding-inline: 1rem; }
  .legal-page .nav__back-full { display: none; }
}
@media print {
  .nav, .footer, #sky, .grain { display: none !important; }
  .legal { padding-top: 0; }
  .legal p, .legal li, .legal td, .legal th { color: #000; }
}

/* =========================================================
   Mobile sticky CTA
   ========================================================= */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(11, 6, 18, .95) 35%);
  transform: translateY(110%);
  transition: transform .45s var(--ease-out);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { white-space: normal; text-align: center; letter-spacing: .1em; padding-inline: 1rem; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1099px) {
  .plan--featured, .plan--featured:hover { transform: none; }
}

@media (max-width: 1080px) {
  .nav__links { gap: 1.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3.5rem; }
  .steps::before { display: none; }
  .arkane__grid { grid-template-columns: 1fr; }
  .suits { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  :root { --nav-h: 68px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }

  .hero { padding-top: calc(var(--nav-h) + 2.5rem); }
  .scroll-cue { display: none; }

  .pristup__grid, .faq__grid, .booking { grid-template-columns: 1fr; }
  .faq__grid .section__head { position: static; }
  .teme__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }

  .draw__grid { grid-template-columns: 1fr; }
  .deck { --w: clamp(72px, 20vw, 120px); height: clamp(300px, 70vw, 420px); }
  .reading { min-height: 0; }

  .mobile-cta { display: block; }
  .footer { padding-bottom: 6rem; }
}

@media (max-width: 600px) {
  .eyebrow { letter-spacing: .2em; font-size: .72rem; }
  .btn { padding-inline: 1.5rem; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__trust li { padding-right: .5rem; font-size: .75rem; }
  .hero__trust li + li { padding-left: .5rem; }
  .hero__trust strong { font-size: 1.05rem; }

  .pillar { grid-template-columns: 52px 1fr; }
  .equation { flex-direction: column; }
  .eq__op { font-size: 1.8rem; line-height: 1; }
  .suits { grid-template-columns: 1fr 1fr; gap: 0 .75rem; }
  .suits li { padding: 1rem .25rem; column-gap: .65rem; }
  .suits svg { width: 32px; height: 32px; }
  .deck { --w: 24vw; }
  .deck-card { --spread: .42; }
  .deck.has-pick .deck-card.is-picked { transform: translateY(-4%) scale(1.45); }
  .reading__actions { flex-direction: column; }
  .faq__a { padding-right: 0; }
  .footer__inner, .footer__legal { flex-direction: column; align-items: flex-start; }
  .btn--lg { white-space: normal; text-align: center; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__title .line > span { transform: none; }
  .marquee__track { animation: none; }
}
