/* UŽIVO+ v2 */

@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --noc: #0C0716;
  --noc-2: #150C29;
  --ametist: #8B5CF6;
  --lila: #C9B6FF;
  --orhideja: #E041D1;
  --mjesecina: #F3EEFF;
  --magla: #A99CC9;
  --sjena: #8478A6;
  --live: #E11D63;
  --linija: rgba(201, 182, 255, .14);
  --linija-2: rgba(201, 182, 255, .3);
  --povrsina: rgba(21, 12, 41, .72);
  --grad: linear-gradient(135deg, #6D28D9 0%, #A21CAF 60%, #C026D3 100%);
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--noc);
  color: var(--mjesecina);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
:focus-visible { outline: 2px solid var(--lila); outline-offset: 3px; border-radius: 10px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* Bez z-indexa: stakleni objekti (mix-blend-mode: screen) se moraju stapati s nebom iza */
main, .footer { position: relative; }
main { overflow-x: clip; }

/* ---------- Skriveno dok animacija ne krene (samo kad JS i GSAP rade) ---------- */
html.has-motion [data-reveal],
html.has-motion [data-reveal-item],
html.has-motion [data-hero-fade],
html.has-motion [data-hero-phone],
html.has-motion .hero-stage .glass,
html.has-motion .hero-title .line { visibility: hidden; }

/* ---------- Preloader ---------- */
.preloader { display: none; }
html.has-motion .preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--noc);
}
.pre-logo {
  display: flex;
  column-gap: 0;
  overflow: hidden;
  padding: .06em 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 14vw, 168px);
  line-height: 1;
}
.pre-l { display: inline-block; }
.pre-plus { color: var(--orhideja); }
.pre-count {
  position: absolute;
  right: 24px;
  bottom: 28px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--magla);
  font-variant-numeric: tabular-nums;
}
.pre-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .06); }
.pre-bar span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Nebo ---------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(90% 55% at 50% 0%, #241248 0%, transparent 70%),
    var(--noc);
}
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.grain {
  position: absolute;
  inset: -50%;
  opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-4%, 3%); }
  50% { transform: translate(3%, -5%); }
  75% { transform: translate(-2%, 4%); }
}
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(167, 139, 250, .14), transparent 62%);
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0);
  opacity: 0;
  transition: opacity .5s;
}
.cursor-glow.on { opacity: 1; }

/* ---------- Navigacija ---------- */
.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1080px, calc(100% - 24px));
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: rgba(20, 11, 38, .55);
  border: 1px solid var(--linija);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transform: translateX(-50%);
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .04em;
  text-decoration: none;
}
.logo .plus { color: var(--orhideja); }
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--live); }
.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--live);
  animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(2.8); opacity: 0; } }
.nav-links { display: none; gap: 2px; }
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--magla);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: color .3s, background-color .3s;
}
.nav-links a:hover { color: var(--mjesecina); background: rgba(255, 255, 255, .05); }
.balance {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--linija);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: border-color .3s, box-shadow .3s;
}
.balance:hover { border-color: var(--linija-2); box-shadow: 0 0 26px rgba(139, 92, 246, .35); }

/* ---------- Dugmad ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow .4s, border-color .4s, background-color .4s, filter .2s;
}
.btn:active { filter: brightness(.9); }
.btn-primary {
  color: #FFFFFF;
  background: var(--grad);
  box-shadow: 0 14px 36px -12px rgba(192, 38, 211, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  z-index: -1;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-20deg);
  animation: shine 4s ease-in-out infinite;
}
@keyframes shine { 0% { left: -60%; } 50%, 100% { left: 130%; } }
.btn-primary:hover { box-shadow: 0 20px 46px -12px rgba(192, 38, 211, .95), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-ghost {
  background-color: rgba(255, 255, 255, .05);
  border: 1px solid var(--linija);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background-color: rgba(255, 255, 255, .09); border-color: var(--linija-2); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 108px 20px 0;
  text-align: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 1040px; }
.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 8vw, 60px);
  line-height: 1.06;
  letter-spacing: -.02em;
}
.line-mask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line { display: block; }
.hero-title .line-mask + .line-mask .line { color: var(--lila); }
.hero-sub { max-width: 560px; font-size: 17px; color: var(--magla); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 600px;
  margin-top: 26px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.planet {
  position: absolute;
  left: 50%;
  top: 60%;
  z-index: 1;
  width: 820px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 10%, #1A0E33 0%, var(--noc) 45%);
  box-shadow:
    0 -1px 0 1px rgba(240, 232, 255, .85),
    0 -16px 50px 4px rgba(170, 130, 255, .6),
    0 -60px 160px 30px rgba(124, 58, 237, .45),
    0 -120px 260px 60px rgba(192, 38, 211, .22),
    inset 0 22px 60px -14px rgba(201, 182, 255, .4);
  transform: translateX(-50%);
}
.beams {
  position: absolute;
  left: 50%;
  top: -4%;
  z-index: 0;
  display: flex;
  justify-content: space-between;
  width: min(560px, 120%);
  height: 70%;
  transform: translateX(-50%);
  pointer-events: none;
}
.beams span {
  width: 40px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(167, 139, 250, .28) 55%, rgba(224, 65, 209, .5) 100%);
  filter: blur(14px);
  opacity: .5;
  animation: beam 5s ease-in-out infinite alternate;
}
.beams span:nth-child(2) { width: 22px; animation-delay: -1.2s; }
.beams span:nth-child(3) { width: 70px; animation-delay: -2.4s; opacity: .7; }
.beams span:nth-child(4) { width: 22px; animation-delay: -3.1s; }
.beams span:nth-child(5) { animation-delay: -4s; }
@keyframes beam { from { opacity: .25; } to { opacity: .75; } }

.phone-wrap { position: relative; z-index: 3; }
.phone {
  width: 236px;
  aspect-ratio: 9 / 19.5;
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(160deg, #2E1D52, #120A22 60%, #24153F);
  border: 1px solid rgba(201, 182, 255, .35);
  box-shadow: 0 50px 110px -20px rgba(124, 58, 237, .7), inset 0 0 0 1px rgba(255, 255, 255, .05);
  transform: perspective(1200px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
}
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 35px; background: #120A22; }
.phone-screen::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 6;
  width: 82px;
  height: 22px;
  margin-left: -41px;
  border-radius: 20px;
  background: #000;
}
.phone-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.phone-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 7, 22, .55) 0%, transparent 22%, transparent 48%, rgba(12, 7, 22, .9) 100%);
}
.phone-top { position: absolute; top: 40px; left: 12px; right: 12px; z-index: 5; display: flex; align-items: center; gap: 7px; }
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--live);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: .08em;
}
.live-badge .dot { width: 5px; height: 5px; border-radius: 50%; background: #FFFFFF; animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.viewers {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(6px);
  font-weight: 800;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.phone-comments {
  position: absolute;
  left: 10px;
  right: 58px;
  bottom: 16px;
  z-index: 5;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}
.phone-comments li { display: flex; gap: 7px; align-items: flex-start; font-size: 11px; line-height: 1.3; transition: opacity .4s; animation: commentIn .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes commentIn { from { opacity: 0; transform: translateY(14px); } }
.avatar { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 10px; font-weight: 800; color: #FFFFFF; }
.phone-comments b { display: block; font-size: 10.5px; color: #E9DDFF; }
.phone-comments .t { color: #FFFFFF; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.phone-hearts { position: absolute; right: 4px; bottom: 12px; z-index: 5; width: 56px; height: 72%; pointer-events: none; }
.heart { position: absolute; right: 14px; bottom: 0; animation: heartUp var(--dur, 2.6s) cubic-bezier(.3, .6, .4, 1) forwards; }
.heart svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 6px currentColor); }
@keyframes heartUp {
  0% { transform: translate(0, 0) scale(.3); opacity: 0; }
  12% { transform: translate(0, -12px) scale(1.1); opacity: 1; }
  100% { transform: translate(var(--dx, -18px), -300px) scale(.75) rotate(var(--rot, 10deg)); opacity: 0; }
}

.glass {
  position: absolute;
  z-index: 4;
  width: 128px;
  height: auto;
  mix-blend-mode: screen;
  pointer-events: none;
  user-select: none;
}
.glass-heart { left: -4%; top: 0; width: 112px; }
.glass-bubble { left: -5%; top: 44%; width: 104px; }
.glass-eye { right: -3%; top: 24%; width: 100px; }

.ticker { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--linija); white-space: nowrap; }
.ticker-track { display: inline-flex; align-items: center; will-change: transform; }
html:not(.has-motion) .ticker-track { animation: ticker 36s linear infinite; }
.ticker-track span { padding: 0 20px; font-family: var(--display); font-weight: 700; font-size: 20px; color: transparent; -webkit-text-stroke: 1px rgba(201, 182, 255, .55); }
.ticker-track .sep { color: var(--orhideja); -webkit-text-stroke: 0; font-size: 14px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Priča ---------- */
.story { position: relative; }
.story-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 100svh;
  padding: 100px 20px;
  overflow: hidden;
  text-align: center;
  /* Neprozirna pozadina: kad se sekcija zakači, oko se stapa s njom */
  background: radial-gradient(70% 60% at 50% 45%, #1C0F3A 0%, var(--noc) 70%);
}
.story-eye {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(86vmin, 680px);
  mix-blend-mode: screen;
  opacity: .45;
  transform: translate(-50%, -56%);
  pointer-events: none;
}
.story-count { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.story-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(76px, 22vw, 230px);
  line-height: .95;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #FFFFFF 30%, var(--lila) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.story-unit { color: var(--magla); font-weight: 700; font-size: 17px; }
.story-steps { position: relative; padding: 0; list-style: none; max-width: 520px; display: grid; gap: 10px; font-size: clamp(19px, 4.6vw, 26px); font-weight: 700; line-height: 1.35; }
html.has-motion .story-steps { display: grid; grid-template-areas: "s"; }
html.has-motion .story-step { grid-area: s; opacity: 0; }
html.has-motion .story-step.is-active { opacity: 1; }
.story-progress { position: relative; width: min(320px, 70vw); height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.story-progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Sekcije ---------- */
.section { position: relative; max-width: 1200px; margin: 0 auto; padding: 96px 20px; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 40px; text-align: center; }
.section-head h2 {
  max-width: 820px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 6.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.section-head p { max-width: 520px; color: var(--magla); font-size: 17px; }

/* ---------- Narudžba ---------- */
.order-wrap { position: relative; max-width: 620px; margin: 0 auto; }
.order-wrap::before {
  content: "";
  position: absolute;
  inset: 50px 30px;
  z-index: -1;
  border-radius: 40px;
  background: var(--grad);
  filter: blur(70px);
  opacity: .35;
}
.order-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 24px;
  border-radius: 30px;
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(167, 139, 250, .12), transparent 60%),
    rgba(19, 11, 36, .82);
  border: 1px solid var(--linija);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
@media (min-width: 640px) { .order-card { padding: 34px; } }
.field { display: flex; flex-direction: column; gap: 14px; }
.field-label { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; }
.num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
}
.input-wrap { position: relative; }
.input-wrap input {
  width: 100%;
  height: 58px;
  padding: 0 124px 0 18px;
  border-radius: 16px;
  background: rgba(12, 7, 22, .75);
  border: 1px solid var(--linija);
  color: var(--mjesecina);
  font-size: 15px;
  font-weight: 600;
  transition: border-color .3s, box-shadow .3s;
}
.input-wrap input::placeholder { color: #8076A6; }
.input-wrap input:focus { outline: none; border-color: var(--lila); box-shadow: 0 0 0 4px rgba(139, 92, 246, .25); }
.link-status { position: absolute; right: 14px; top: 50%; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; transform: translateY(-50%); pointer-events: none; }
.link-status.ok { color: #86EFAC; }
.link-status.bad { color: #FDA4AF; }
.input-wrap:has(.link-status.bad) input { padding-right: 162px; }
.viewers-display { display: flex; align-items: baseline; gap: 10px; }
.big-num { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 12vw, 62px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.unit { color: var(--magla); font-weight: 700; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ametist), var(--orhideja)) 0 0 / var(--fill, 30%) 100% no-repeat, rgba(255, 255, 255, .09);
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -10px;
  border: 0;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 0 6px rgba(167, 139, 250, .3), 0 0 24px rgba(224, 65, 209, .8);
}
input[type=range]::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .09); }
input[type=range]::-moz-range-progress { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--ametist), var(--orhideja)); }
input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 6px rgba(167, 139, 250, .3), 0 0 24px rgba(224, 65, 209, .8); }
.presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .presets { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.chip {
  min-height: 48px;
  border-radius: 14px;
  background: rgba(12, 7, 22, .6);
  border: 1px solid var(--linija);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.chip:hover { border-color: var(--linija-2); }
.chip.is-on { background: var(--grad); border-color: transparent; color: #FFFFFF; box-shadow: 0 10px 26px -10px rgba(192, 38, 211, .8); }
.hint { color: var(--sjena); font-size: 13px; }
.hint.center { text-align: center; }
.durations {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 7px;
  border-radius: 20px;
  background: rgba(12, 7, 22, .6);
  border: 1px solid var(--linija);
}
.dur { position: relative; z-index: 1; min-height: 50px; padding: 0; border: 0; border-radius: 13px; background: transparent; color: var(--magla); font-weight: 800; font-size: 14px; cursor: pointer; transition: color .3s; }
.dur:hover { color: var(--mjesecina); }
.dur[aria-checked="true"] { color: #FFFFFF; }
.dur-indicator { position: absolute; left: 0; top: 0; z-index: 0; width: 0; height: 0; border-radius: 13px; background: var(--grad); box-shadow: 0 8px 26px -8px rgba(192, 38, 211, .85); }
.summary { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--linija); }
.summary-what { color: var(--magla); font-weight: 700; font-size: 14px; }
.summary-label { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 800; }
.tag { padding: 3px 7px; border-radius: 6px; background: rgba(253, 164, 175, .12); border: 1px solid rgba(253, 164, 175, .3); color: #FDA4AF; font-size: 11px; font-weight: 800; }
.summary-price { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 7vw, 38px); font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary-price .cur { font-size: .5em; color: var(--magla); }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* ---------- Panel ---------- */
.panel-stage { position: relative; max-width: 560px; margin: 0 auto; }
.glass-panel { right: -8px; bottom: -64px; width: 140px; z-index: 2; }
@media (min-width: 700px) { .glass-panel { right: -60px; width: 170px; } }
.panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border-radius: var(--r-lg);
  background: rgba(19, 11, 36, .86);
  border: 1px solid var(--linija);
  box-shadow: 0 40px 100px -40px rgba(124, 58, 237, .6);
  backdrop-filter: blur(16px);
}
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-label { color: var(--magla); font-size: 13px; font-weight: 700; }
.panel-balance { font-family: var(--display); font-weight: 700; font-size: 28px; }
.panel-active { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--r-md); background: rgba(139, 92, 246, .1); border: 1px solid rgba(139, 92, 246, .3); }
.panel-row, .panel-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-row b, .panel-list b { display: block; font-size: 15px; }
.panel-row span:not(.status):not(.dot), .panel-list p span { color: var(--magla); font-size: 13px; }
.panel-bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.panel-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--ametist), var(--orhideja)); transform-origin: 0 50%; transform: scaleX(.42); }
.panel-left { color: var(--magla); font-size: 13px; }
.panel-left b { color: var(--mjesecina); }
.panel-list { display: flex; flex-direction: column; gap: 4px; padding: 0; list-style: none; }
.panel-list li { padding: 12px 4px; border-bottom: 1px solid var(--linija); }
.panel-list li:last-child { border-bottom: 0; }
.status { flex: none; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--magla); font-size: 12px; font-weight: 800; }
.status-live { display: inline-flex; align-items: center; gap: 6px; background: rgba(134, 239, 172, .12); color: #86EFAC; }
.status-live .dot { width: 6px; height: 6px; border-radius: 50%; background: #86EFAC; box-shadow: 0 0 0 0 rgba(134, 239, 172, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(134, 239, 172, 0); } 100% { box-shadow: 0 0 0 0 rgba(134, 239, 172, 0); } }

/* ---------- Prednosti (bento) ---------- */
.bento { display: grid; gap: 14px; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile-wide { grid-column: span 2; }
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 230px;
  padding: 26px;
  overflow: hidden;
  border-radius: var(--r-lg);
  background:
    radial-gradient(380px circle at var(--mx, 80%) var(--my, 0%), rgba(167, 139, 250, .14), transparent 60%),
    var(--povrsina);
  border: 1px solid var(--linija);
}
.tile h3 { position: relative; font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.tile p { position: relative; max-width: 380px; color: var(--magla); }
.tile .tile-big { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.03em; color: var(--lila); margin-bottom: auto; }
.tile-glass { position: absolute; right: -24px; top: -28px; width: 190px; mix-blend-mode: screen; opacity: .9; pointer-events: none; }

/* ---------- Balans koraci ---------- */
.steps { display: flex; flex-direction: column; gap: 22px; max-width: 760px; margin: 0 auto; padding: 0 0 40px; list-style: none; }
.step {
  position: sticky;
  top: calc(100px + var(--i, 0) * 22px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 240px;
  padding: 30px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--linija-2);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(139, 92, 246, .22), transparent 60%),
    #150C29;
  box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, .9), 0 30px 80px -40px rgba(124, 58, 237, .6);
  transform-origin: 50% 0%;
  will-change: transform;
}
.step-n {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 800;
  background: radial-gradient(circle at 30% 30%, var(--lila), var(--ametist) 60%, #4C1D95);
  box-shadow: 0 0 30px rgba(139, 92, 246, .55);
}
.step h3 { font-family: var(--display); font-weight: 700; font-size: 19px; }
.step p { color: var(--magla); }

/* ---------- Završni poziv ---------- */
.final-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  padding: 72px 24px;
  border-radius: 34px;
  text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, #3B1A7A 0%, #1A0D33 55%, #120A22 100%);
  border: 1px solid var(--linija-2);
}
.final-rings span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  border-radius: 50%;
  border: 1px solid rgba(224, 65, 209, .35);
  animation: ringOut 6s linear infinite;
}
.final-rings span:nth-child(2) { animation-delay: -2s; }
.final-rings span:nth-child(3) { animation-delay: -4s; }
@keyframes ringOut { 0% { transform: scale(.3); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(3); opacity: 0; } }
.final-card h2 { position: relative; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 6.4vw, 52px); line-height: 1.08; letter-spacing: -.02em; }
.final-card p { position: relative; color: var(--magla); font-size: 17px; }
.final-cta { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* ---------- Podnožje ---------- */
.footer { max-width: 1240px; margin: 0 auto; padding: 40px 20px 36px; }
.mega {
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  padding-bottom: .04em;
  font-family: var(--display);
  font-weight: 800;
  font-size: 21vw;
  line-height: .9;
  letter-spacing: -.02em;
}
@media (min-width: 1240px) { .mega { font-size: 250px; } }
.mega span {
  display: inline-block;
  background: linear-gradient(180deg, var(--lila) 0%, rgba(139, 92, 246, .35) 70%, rgba(139, 92, 246, 0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--linija); color: var(--sjena); font-size: 14px; }
.footer-row nav { display: flex; gap: 18px; }
.footer-row a { color: var(--magla); text-decoration: none; }
.footer-row a:hover { color: var(--mjesecina); }

/* ---------- Obavijest i konfete ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  max-width: min(92vw, 480px);
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(24, 14, 46, .95);
  border: 1px solid var(--linija-2);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .7);
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  transform: translate(-50%, 140%);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
#confetti { position: fixed; inset: 0; z-index: 70; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Veći ekrani ---------- */
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hero { padding-top: 140px; }
  .hero-stage { height: 680px; }
  .planet { width: 1500px; top: 64%; }
  .phone { width: 270px; }
  .glass { width: 190px; }
  .glass-heart { left: 16%; top: 8%; }
  .glass-bubble { left: auto; right: 15%; top: 26%; width: 180px; }
  .glass-eye { right: auto; top: auto; left: 22%; bottom: 20%; width: 150px; }
  .section { padding: 130px 40px; }
  .panel { padding: 28px; }
  .final-card { padding: 100px 40px; }
}

/* ---------- Manje pokreta ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =========================================================
   v3 efekti
   ========================================================= */

/* Naslovi koji se otkrivaju slovo po slovo */
html.has-motion [data-split] { visibility: hidden; }
.w3 { display: inline-block; white-space: nowrap; }
.c3 { display: inline-block; transform-origin: 50% 100%; will-change: transform, opacity; }

/* 3D orbita staklenih objekata oko telefona (pozicije računa JS) */
html.has-motion .hero-stage .glass[data-orbit] { left: 50%; top: 50%; right: auto; bottom: auto; will-change: transform, opacity; }

/* Traka napretka skrola */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(224, 65, 209, .7);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* Kursor: prsten koji kasni i tačka (samo miš) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-motion .cursor { display: block; }
}
.cursor-ring, .cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 95;
  border-radius: 50%;
  pointer-events: none;
}
.cursor-ring {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 1.5px solid rgba(201, 182, 255, .7);
  transition: background-color .3s, border-color .3s;
}
.cursor-ring.is-hover { background: rgba(201, 182, 255, .12); border-color: var(--orhideja); }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--orhideja); box-shadow: 0 0 12px var(--orhideja); }

/* Talas pri kliku na dugme */
.ripple {
  position: absolute;
  z-index: -1;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  pointer-events: none;
  animation: ripple .7s cubic-bezier(.2, .8, .2, 1) forwards;
}
@keyframes ripple { to { transform: scale(18); opacity: 0; } }

/* Čestice koje ulijeću u brojač */
.story-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Kvačica kad je link dobar */
.num.is-done { background: linear-gradient(135deg, #16A34A, #22C55E); }

/* Podnožje: slova se okreću u 3D */
.mega { perspective: 900px; }
.mega span { transform-origin: 50% 100%; }

/* Prednosti: dubina */
.tile { transform-style: preserve-3d; }
.tile-glass { will-change: transform; }

/* ---------- Slike koje stižu (data-asset): skrivene dok se ne učitaju ---------- */
img[data-asset]:not([src]) { display: none; }
html:not(.has-motion) .glass-extra { display: none; }

/* Telefon: drugi sloj za smjenu ljudi uživo */
.phone-photo-next { opacity: 0; }

/* ---------- Za svaki live ---------- */
.uses { position: relative; }
.uses-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
  min-height: 100svh;
  padding: 100px 0 56px;
  overflow: hidden;
}
html:not(.has-motion) .uses-pin { overflow-x: auto; }
.uses-head { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 20px; text-align: center; }
.uses-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 6.4vw, 50px); line-height: 1.08; letter-spacing: -.02em; }
.uses-head p { max-width: 520px; color: var(--magla); font-size: 17px; }
.uses-track { display: flex; gap: 22px; width: max-content; padding: 10px 12vw 30px; perspective: 1400px; }
.use-card {
  position: relative;
  flex: none;
  width: min(70vw, 340px);
  aspect-ratio: 9 / 14;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(120% 80% at 50% 0%, #3B1A7A 0%, #150C29 70%);
  border: 1px solid var(--linija-2);
  box-shadow: 0 40px 90px -40px rgba(124, 58, 237, .75);
  transform-style: preserve-3d;
}
.use-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.use-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 7, 22, .15) 0%, transparent 35%, rgba(12, 7, 22, .55) 62%, rgba(12, 7, 22, .95) 100%);
  pointer-events: none;
}
.use-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--live);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .08em;
}
.use-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #FFFFFF; animation: blink 1.2s steps(2, start) infinite; }
.use-glass { position: absolute; right: -14px; top: 34px; z-index: 2; width: 120px; mix-blend-mode: screen; pointer-events: none; }
.use-text { position: absolute; left: 20px; right: 20px; bottom: 22px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.use-text h3 { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.15; }
.use-text p { color: #D7CCF2; font-size: 15px; }

/* ---------- Staklene ikone u formi, koracima i pozadinama ---------- */
.field-glass { width: 68px; height: 68px; margin: -20px -10px -20px auto; mix-blend-mode: screen; pointer-events: none; }
.step { overflow: hidden; }
.step-glass { position: absolute; right: 10px; top: 14px; width: 96px; mix-blend-mode: screen; pointer-events: none; }
@media (min-width: 560px) {
  .step { padding-right: 190px; }
  .step-glass { right: 22px; top: 50%; width: 160px; transform: translateY(-50%); }
}
.story-crowd { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; mix-blend-mode: screen; pointer-events: none; }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; mix-blend-mode: screen; pointer-events: none; }

/* ---------- Realna planeta iza telefona ---------- */
.planet-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  mix-blend-mode: screen;
  pointer-events: none;
}
.planet-photo:not([src]) { display: none; }
.hero.has-planet-photo .planet { background: var(--noc) !important; box-shadow: none !important; }

/* ---------- Ukrasi koji lebde kroz sekcije ---------- */
.deco { position: absolute; z-index: 0; width: 120px; mix-blend-mode: screen; pointer-events: none; opacity: .75; }
.order .section-head, .order .order-wrap { position: relative; z-index: 1; }
.deco-kristali { left: -34px; top: 60px; }
.deco-prsten { right: -30px; bottom: 120px; }
.deco-kamera { left: 4%; top: 80px; width: 110px; }
.deco-signal { right: 4%; top: 120px; width: 100px; }
.deco-blob { right: -30px; top: -30px; width: 170px; z-index: 0; opacity: .85; }
.uses-head { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .deco { width: 190px; opacity: .9; }
  .deco-kristali { left: 2%; top: 120px; }
  .deco-prsten { right: 3%; bottom: 160px; }
  .deco-kamera { left: 12%; top: 90px; width: 160px; }
  .deco-signal { right: 12%; top: 110px; width: 150px; }
  .deco-blob { right: 4%; top: 6%; width: 230px; }
}

/* Maglina iza panela */
/* bez z-indexa: novčić (mix-blend-mode) se mora stopiti s pozadinom */
.panel-sec .section-head, .panel-sec .panel-stage { position: relative; }
.sec-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
  mix-blend-mode: screen;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 50%, #000 40%, transparent 100%);
}

/* Snopovi svjetla iznad galerije "Za svaki live" */
.uses-beams {
  opacity: .55;
  object-position: 50% 0%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 35%, transparent 80%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 35%, transparent 80%);
}
.uses-track { position: relative; z-index: 1; }
/* Zakačena sekcija treba neprozirnu pozadinu da bi se staklo stopilo (vidi .story-stage) */
.uses-pin { background: var(--noc); }

/* Prednosti: tekst uvijek iznad stakla, manje staklo u uskim karticama */
.tile .tile-big, .tile h3, .tile p { position: relative; z-index: 1; }
.tile:not(.tile-wide) .tile-glass { width: 130px; right: -14px; top: -14px; opacity: .8; }

/* Završni poziv: čitljiv tekst preko studija */
.final-bg { opacity: .42; }
.final-card h2, .final-card p { text-shadow: 0 2px 24px rgba(12, 7, 22, .9); }

/* ---------- v4: staklo se stapa bez kvadrata ----------
   Kutije u kojima je staklo (mix-blend-mode: screen) moraju imati NEPROZIRNU pozadinu.
   Poluprozirna pozadina + vlastiti sloj (transform/backdrop-filter) = crna oko stakla potamni u kvadrat. */
.order-card {
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(167, 139, 250, .12), transparent 60%),
    #130B25;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.tile {
  background:
    radial-gradient(380px circle at var(--mx, 80%) var(--my, 0%), rgba(167, 139, 250, .14), transparent 60%),
    #130B24;
}
/* Mekan sjaj iza staklenih ikona, da izgledaju kao dio kartice */
.field-label { position: relative; }
/* Bez filtera na staklu: drop-shadow bi ocrtao kvadrat slike */

/* ---------- Plutajuće dugme za WhatsApp (u stilu sajta) ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 75;
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 6px;
  border-radius: 999px;
  /* neprozirno: stakleni oblačić se stopi bez kvadrata */
  background: radial-gradient(120% 120% at 30% 20%, #2A1652 0%, #150C29 60%);
  color: var(--mjesecina);
  text-decoration: none;
  box-shadow: 0 18px 44px -14px rgba(124, 58, 237, .85), 0 0 0 1px rgba(201, 182, 255, .12);
  transition: box-shadow .4s;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), rgba(139, 92, 246, .1) 0deg, var(--lila) 70deg, var(--orhideja) 130deg, rgba(139, 92, 246, .1) 210deg, rgba(139, 92, 246, .1) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 4s linear infinite;
  pointer-events: none;
}
.wa-float:hover { box-shadow: 0 22px 54px -12px rgba(192, 38, 211, .95), 0 0 0 1px rgba(201, 182, 255, .25); }
.wa-glass { width: 52px; height: 52px; mix-blend-mode: screen; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.wa-float:hover .wa-glass { transform: rotate(-12deg) scale(1.08); }
.wa-online {
  position: absolute;
  top: 9px;
  left: 44px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22C55E;
  border: 2px solid #150C29;
  animation: pulseOnline 2s infinite;
}
@keyframes pulseOnline { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); } 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.wa-label {
  display: flex;
  flex-direction: column;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.15;
  opacity: 0;
  transition: max-width .5s cubic-bezier(.2, .8, .2, 1), opacity .3s, margin .5s;
}
.wa-label small { color: var(--magla); font-size: 11px; font-weight: 700; }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover .wa-label { max-width: 140px; opacity: 1; margin: 0 14px 0 4px; }
}
.final-phone { font-weight: 700; }
.final-phone a { color: var(--mjesecina); text-decoration-color: var(--orhideja); text-underline-offset: 4px; }

/* =========================================================
   v4 hero
   ========================================================= */
/* Neprozirna pozadina (isti izgled kao nebo): staklo se stapa i kad se hero zakači pri zumu */
.hero { background: radial-gradient(90% 55% at 50% 0%, #241248 0%, transparent 70%), var(--noc); }
.hero-copy { position: relative; }
.hero-stage { overflow: visible; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg .planet { top: calc(100% - 240px); }
.hero-bg .beams { top: auto; bottom: 200px; height: 440px; }
.hero-bg .planet-photo { inset: auto 0 0 0; height: 600px; }
@media (min-width: 900px) {
  .hero-bg .planet { top: calc(100% - 245px); }
  .hero-bg .beams { bottom: 230px; height: 520px; }
  .hero-bg .planet-photo { height: 680px; }
}
.hero-flash { position: absolute; inset: 0; z-index: 20; background: var(--noc); opacity: 0; pointer-events: none; }

/* Rotirajuća riječ */
.hero-rot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--linija);
  font-weight: 700;
  font-size: 15px;
  color: var(--magla);
}
.rot-dot { width: 8px; height: 8px; border-radius: 50%; background: #FF4D8D; animation: pulseDot 1.6s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 141, .7); } 70% { box-shadow: 0 0 0 9px rgba(255, 77, 141, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 141, 0); } }
.rot { display: inline-block; overflow: hidden; height: 1.35em; vertical-align: bottom; perspective: 400px; }
.rot-word { display: inline-block; color: var(--mjesecina); font-weight: 800; transform-origin: 50% 50% -12px; }

/* Halo koji se vrti iza telefona */
.halo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 400px;
  height: 400px;
  margin: -200px 0 0 -200px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(139, 92, 246, .55) 50deg, transparent 110deg, rgba(224, 65, 209, .5) 170deg, transparent 230deg, rgba(109, 40, 217, .55) 290deg, transparent 360deg);
  filter: blur(46px);
  animation: spinHalo 14s linear infinite;
  pointer-events: none;
}
@keyframes spinHalo { to { transform: rotate(360deg); } }
@media (min-width: 900px) { .halo { width: 600px; height: 600px; margin: -300px 0 0 -300px; } }

/* Plutajuće kartice uz telefon */
html.has-motion .hero-card { visibility: hidden; }
.hero-card {
  position: absolute;
  z-index: 6;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(20, 11, 38, .78);
  border: 1px solid var(--linija-2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9), 0 0 40px -10px rgba(139, 92, 246, .45);
  text-align: left;
  pointer-events: none;
}
.hc-stats { right: -6px; top: 2%; width: 150px; }
.hc-order { left: -6px; bottom: 22%; display: flex; align-items: center; gap: 10px; }
.hc-label { display: flex; align-items: center; gap: 6px; color: var(--magla); font-size: 11px; font-weight: 800; }
.hc-dot { width: 6px; height: 6px; border-radius: 50%; background: #86EFAC; box-shadow: 0 0 8px #86EFAC; }
.hc-num { margin-top: 2px; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hc-spark { display: block; width: 100%; height: 34px; margin-top: 4px; }
.hc-line { fill: none; stroke: var(--orhideja); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hc-area { fill: url(#hcGrad); }
.hc-check { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #16A34A, #22C55E); color: #FFFFFF; box-shadow: 0 0 18px rgba(34, 197, 94, .55); }
.hc-title { font-weight: 800; font-size: 13px; }
.hc-sub { color: var(--magla); font-size: 12px; font-weight: 700; }
@media (min-width: 900px) {
  .hc-stats { right: 13%; top: 16%; width: 200px; padding: 16px 18px; }
  .hc-num { font-size: 30px; }
  .hc-order { left: 13%; bottom: 26%; padding: 14px 18px; }
  .hc-title { font-size: 15px; }
  .hc-sub { font-size: 13px; }
}

/* Gledatelji na karticama "Za svaki live" */
.use-viewers {
  position: absolute;
  top: 16px;
  left: 94px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(6px);
  font-weight: 800;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
/* Slika planete se mekano utapa prema gore (bez vidljive ivice) */
.hero-bg .planet-photo {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 35%);
}
/* Uvećani telefon pri zumu ne smije izaći iz hera */
.hero { overflow: hidden; }

.tile .tile-big { font-size: clamp(34px, 3.6vw, 42px); }
.summary-right { text-align: right; }
.summary-eur { color: var(--magla); font-size: 13px; font-weight: 700; }

/* Napomena u podnožju: usluga samo za Facebook live, bez veze s Metom */
.footer-note { margin-top: 14px; max-width: 70ch; color: var(--sjena); font-size: 13px; line-height: 1.55; }
