/* =====================================================================
   MET Vodič — zajednički stilovi za sve strane
   Vizuelni identitet: tamno teget + zlatna (u duhu Univerziteta Metropolitan)
   Autorski dizajn — ne koristi MET logo, fontove ni sadržaj.
   ===================================================================== */

/* ---------- 1. Dizajn-tokeni (CSS varijable) ---------- */
:root {
  /* Paleta */
  --navy-900: #222222;
  --navy-800: #272727;
  --navy-700: #333333;
  --gold-500: #DB0C46;
  --gold-400: #E7134E;
  --ink:      #111111;
  --paper:    #F7F8FB;
  --white:    #FFFFFF;
  --muted:    #9AA6BF;

  /* Izvedene boje */
  --line-dark:  rgba(255, 255, 255, 0.10);
  --line-light: rgba(11, 20, 36, 0.10);
  --green-ok:   #28C76F;
  --red-no:     #EA5455;

  /* Tipografska skala (fluid, clamp) */
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   clamp(1.25rem, 1.05rem + 1vw, 1.5rem);
  --fs-xl:   clamp(1.6rem, 1.2rem + 2vw, 2.25rem);
  --fs-2xl:  clamp(2.1rem, 1.4rem + 3.4vw, 3.4rem);
  --fs-3xl:  clamp(2.6rem, 1.6rem + 4.6vw, 4.4rem);

  /* Spacing skala */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Radijus / senke / širine */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(8, 15, 30, 0.12);
  --shadow:    0 12px 30px rgba(8, 15, 30, 0.18);
  --shadow-lg: 0 24px 60px rgba(8, 15, 30, 0.32);
  --maxw: 1160px;

  /* Fontovi */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;

  /* Tranzicije */
  --t-fast: 0.15s ease;
  --t:      0.25s ease;
}

/* ---------- 2. Reset / osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { color: inherit; }

ul { list-style: none; padding: 0; }

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

/* Preskoči na sadržaj — a11y */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--gold-500);
  color: var(--ink);
  padding: var(--sp-3) var(--sp-5);
  border-radius: 0 0 var(--radius) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout pomoćnici ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-7); }

.section--dark {
  background: var(--navy-800);
  color: var(--white);
}
.section--paper { background: var(--paper); color: var(--ink); }
.section--white { background: var(--white); color: var(--ink); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.section--dark .eyebrow { color: var(--gold-400); }

.section-title { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.section-lead {
  font-size: var(--fs-md);
  color: var(--muted);
  max-width: 56ch;
}
.section--paper .section-lead,
.section--white .section-lead { color: #4a5775; }

.center { text-align: center; }
.center .section-lead { margin-inline: auto; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }

/* ---------- 4. Dugmad ---------- */
.btn {
  --btn-bg: var(--gold-500);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1;
  padding: 0.95em 1.5em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--gold-500); --btn-fg: var(--ink); }
.btn--primary:hover { background: var(--gold-400); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-dark);
}
.btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-400); box-shadow: none; }

.btn--outline-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-light);
}
.btn--outline-ink:hover { border-color: var(--navy-700); color: var(--navy-800); box-shadow: none; }

.btn--sm { padding: 0.7em 1.15em; font-size: var(--fs-xs); }
.btn--lg { padding: 1.05em 1.8em; font-size: var(--fs-base); }
.btn--block { display: flex; width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.btn-row--center { justify-content: center; }

/* ---------- 5. Header / navigacija ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(34, 34, 34, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-md);
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(219, 12, 70, 0.4);
}
.brand__name b { color: var(--gold-400); }

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--white);
  padding: 0;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin-inline: auto;
  transition: transform var(--t), opacity var(--t);
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after { transform: translateY(4px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: rotate(-45deg) translateY(-1.5px); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.nav__link {
  display: inline-block;
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--t), background var(--t);
}
.nav__link:hover { color: var(--gold-400); }
.nav__link[aria-current="page"] {
  color: var(--gold-400);
  background: rgba(255, 255, 255, 0.06);
}
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: 2px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}
.nav__cta { margin-left: var(--sp-2); }

@media (max-width: 820px) {
  .nav__toggle { display: grid; place-items: center; }
  .nav__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-900);
    border-bottom: 1px solid var(--line-dark);
    padding: var(--sp-3);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__link { padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__cta { margin: var(--sp-2) 0 0; }
  .nav { position: relative; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(219,12,70,0.16), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  padding-block: clamp(3.5rem, 2rem + 8vw, 7rem);
}
.hero::after {
  /* suptilna mreža/tačkice */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; max-width: 760px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  color: var(--gold-400);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-4);
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(219,12,70,0.25);
}
.hero h1 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-4);
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold-400), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: var(--fs-md);
  color: #c8d2e8;
  max-width: 60ch;
  margin-bottom: var(--sp-6);
}
.hero__cta { margin-bottom: var(--sp-6); }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  color: var(--muted);
  font-size: var(--fs-sm);
}
.hero__meta b { color: var(--white); font-family: var(--font-display); font-size: var(--fs-lg); display: block; }

/* ---------- 7. Kartice / grid ---------- */
.grid {
  display: grid;
  gap: var(--sp-5);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

@media (max-width: 920px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(219,12,70,0.5); }

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  color: var(--gold-400);
  font-size: 1.5rem;
  margin-bottom: var(--sp-2);
}
.card h3 { font-size: var(--fs-lg); }
.card p { color: #4a5775; font-size: var(--fs-sm); }
.card .card__link {
  margin-top: auto;
  font-weight: 700;
  color: var(--navy-800);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card .card__link:hover { color: var(--gold-500); }
.card .card__link::after { content: "→"; transition: transform var(--t-fast); }
.card .card__link:hover::after { transform: translateX(4px); }

/* Numerisana kartica (koraci na početnoj) */
.numcard { position: relative; }
.numcard__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--gold-500);
  opacity: 0.85;
  line-height: 1;
}

/* ---------- 8. Kartice smerova ---------- */
.program-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(219,12,70,0.5); }
.program-card__top {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--white);
  padding: var(--sp-5);
  position: relative;
}
.program-card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--navy-900);
  background: var(--gold-500);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-3);
}
.program-card__top h3 { font-size: var(--fs-lg); margin-bottom: 4px; }
.program-card__faculty { color: var(--muted); font-size: var(--fs-xs); }
.program-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-4); flex: 1; }
.program-card__who { font-size: var(--fs-sm); color: #4a5775; }
.program-card__who b { color: var(--ink); }

.tag-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.tag {
  font-size: var(--fs-xs);
  background: var(--paper);
  border: 1px solid var(--line-light);
  color: var(--navy-800);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.spec-block h4 {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: var(--sp-2);
  font-family: var(--font-display);
}
.spec-block ul { display: flex; flex-direction: column; gap: 4px; }
.spec-block li { font-size: var(--fs-sm); padding-left: 18px; position: relative; color: #34405c; }
.spec-block li::before { content: "▸"; color: var(--gold-500); position: absolute; left: 0; }
.program-card__foot { padding: 0 var(--sp-5) var(--sp-5); margin-top: auto; }

/* ---------- 9. Tabela poređenja ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: var(--fs-sm);
}
.compare caption { text-align: left; padding: var(--sp-4) var(--sp-5); color: var(--muted); font-size: var(--fs-xs); }
.compare th, .compare td {
  text-align: left;
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--line-light);
  vertical-align: top;
}
.compare thead th {
  background: var(--navy-800);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: sticky;
  top: 0;
}
.compare tbody tr:nth-child(even) { background: var(--paper); }
.compare tbody tr:hover { background: rgba(219,12,70,0.08); }
.compare td:first-child { font-weight: 700; color: var(--navy-800); font-family: var(--font-display); }

/* ---------- 10. Timeline (upis) ---------- */
.timeline { position: relative; display: grid; gap: var(--sp-5); }
.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--gold-500), var(--navy-700));
}
.tl-step {
  position: relative;
  padding-left: 68px;
}
.tl-step__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-400);
  border: 2px solid var(--gold-500);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-md);
  z-index: 1;
}
.tl-step__card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.tl-step__card h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.tl-step__card p { color: #4a5775; font-size: var(--fs-sm); margin-bottom: var(--sp-3); }

/* ---------- 11. CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(219,12,70,0.18), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-7);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-banner h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.cta-banner p { color: #c8d2e8; max-width: 52ch; margin: 0 auto var(--sp-5); }

/* ---------- 12. Note / alert ---------- */
.note {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  background: rgba(219,12,70,0.10);
  border: 1px solid rgba(219,12,70,0.45);
  border-left: 5px solid var(--gold-500);
  border-radius: var(--radius);
  padding: var(--sp-5);
}
.note__icon { font-size: 1.5rem; line-height: 1; }
.note h3 { font-size: var(--fs-md); margin-bottom: 4px; }
.note p { font-size: var(--fs-sm); color: #4a5775; }

/* Lista izvora */
.source-list { display: grid; gap: var(--sp-3); }
.source-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-3);
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t), transform var(--t);
}
.source-item:hover { border-color: rgba(219,12,70,0.5); transform: translateX(4px); }
.source-item__label { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); }
.source-item a { color: var(--navy-700); word-break: break-all; font-size: var(--fs-sm); }
.source-item a:hover { color: var(--gold-500); }

/* =====================================================================
   13. KVIZ — swipe špil
   ===================================================================== */
.quiz {
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(219,12,70,0.14), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  flex: 1;
}
.quiz__head { text-align: center; margin-bottom: var(--sp-6); }
.quiz__head h1 { font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.quiz__head p { color: #c8d2e8; max-width: 54ch; margin-inline: auto; }

/* Progres */
.progress {
  max-width: 460px;
  margin: 0 auto var(--sp-5);
}
.progress__meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 600;
}
.progress__bar {
  height: 8px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  border-radius: var(--radius-pill);
  transition: width 0.35s ease;
}

/* Špil */
.deck {
  position: relative;
  width: min(360px, 88vw);
  height: 460px;
  margin: 0 auto;
  touch-action: pan-y;
}

.swipe-card {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, var(--white), #eef1f7);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  will-change: transform;
  transform-origin: center bottom;
  overflow: hidden;
}
.swipe-card.is-dragging { cursor: grabbing; transition: none; }
.swipe-card__index {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold-500);
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
}
.swipe-card__emoji {
  font-size: 3.4rem;
  margin: var(--sp-4) 0 var(--sp-5);
}
.swipe-card__text {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-900);
}
.swipe-card__hint {
  margin-top: auto;
  font-size: var(--fs-xs);
  color: #7986a3;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-light);
}
.swipe-card__hint span { display: inline-flex; align-items: center; gap: 6px; }

/* Overlay oznake tokom vučenja */
.swipe-card__stamp {
  position: absolute;
  top: 26px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: 12px;
  border: 4px solid currentColor;
  opacity: 0;
  transition: opacity var(--t-fast);
  pointer-events: none;
}
.swipe-card__stamp--yes {
  left: 22px;
  color: var(--green-ok);
  transform: rotate(-14deg);
}
.swipe-card__stamp--no {
  right: 22px;
  color: var(--red-no);
  transform: rotate(14deg);
}

/* Dugmad ispod špila */
.deck-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}
.swipe-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid;
  background: var(--white);
  font-size: 1.7rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t);
  box-shadow: var(--shadow);
  line-height: 1;
}
.swipe-btn:hover { transform: translateY(-3px) scale(1.05); }
.swipe-btn:active { transform: scale(0.95); }
.swipe-btn--no { color: var(--red-no); border-color: var(--red-no); }
.swipe-btn--no:hover { background: var(--red-no); color: var(--white); }
.swipe-btn--yes { color: var(--gold-500); border-color: var(--gold-500); }
.swipe-btn--yes:hover { background: var(--gold-500); color: var(--navy-900); }
.deck-controls__kbd {
  position: absolute;
  margin-top: 110px;
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* Rezultat */
.result { max-width: 760px; margin-inline: auto; }
.result[hidden] { display: none; }
.result__head { text-align: center; margin-bottom: var(--sp-6); }
.result__head h2 { font-size: var(--fs-2xl); }
.result__head p { color: #c8d2e8; }

.result-main {
  background: linear-gradient(135deg, var(--white), #eef1f7);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--sp-7);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--gold-500);
}
.result-main__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--gold-500);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-4);
}
.result-main__emoji { font-size: 3.2rem; margin-bottom: var(--sp-3); }
.result-main h3 { font-size: var(--fs-xl); color: var(--navy-900); margin-bottom: var(--sp-2); }
.result-main__faculty { color: var(--muted); font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
.result-main p { color: #4a5775; max-width: 50ch; margin: 0 auto var(--sp-5); }
.result-main__score {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: var(--sp-4);
  font-family: var(--font-display);
}

.result-alts { margin-top: var(--sp-6); }
.result-alts h4 {
  text-align: center;
  color: var(--gold-400);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-4);
}
.alt-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .alt-grid { grid-template-columns: 1fr; } }
.alt-card {
  background: var(--navy-700);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: var(--sp-5);
}
.alt-card h5 { font-family: var(--font-display); font-size: var(--fs-md); color: var(--white); margin-bottom: 4px; }
.alt-card span { font-size: var(--fs-xs); color: var(--muted); }
.alt-card a { display: inline-block; margin-top: var(--sp-3); color: var(--gold-400); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; }
.alt-card a:hover { color: var(--gold-400); text-decoration: underline; }

/* Preporuči prijatelju */
.share {
  margin-top: var(--sp-6);
  text-align: center;
  background: var(--navy-700);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}
.share__icon { font-size: 2.4rem; margin-bottom: var(--sp-2); }
.share h4 { color: var(--white); font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.share p { color: #c8d2e8; font-size: var(--fs-sm); max-width: 46ch; margin: 0 auto var(--sp-4); }
.share .btn-row { margin-bottom: var(--sp-2); }
.share__status {
  min-height: 1.2em;
  color: var(--gold-400);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin: var(--sp-2) auto 0;
}

.result__actions { text-align: center; margin-top: var(--sp-6); }

/* Sakrij špil kad gotovo */
.deck-area[hidden] { display: none; }

/* ---------- 14. Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--muted);
  margin-top: auto;
  padding-block: var(--sp-7) var(--sp-5);
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-6);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); } }
.footer-brand { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-brand p { font-size: var(--fs-sm); max-width: 42ch; }
.footer-col h4 {
  color: var(--white);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-3);
  font-family: var(--font-display);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-col a { color: var(--muted); text-decoration: none; font-size: var(--fs-sm); transition: color var(--t); }
.footer-col a:hover { color: var(--gold-400); }
.footer-loc { font-size: var(--fs-sm); }
.footer-loc b { color: var(--white); font-family: var(--font-display); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  font-size: var(--fs-xs);
}

/* ---------- 15. Razno ---------- */
.disclaimer-strip {
  background: var(--navy-700);
  color: #c8d2e8;
  font-size: var(--fs-xs);
  text-align: center;
  padding: var(--sp-2) var(--sp-4);
}
.disclaimer-strip a { color: var(--gold-400); }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Fade-in on load (lagano) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   DODATAK ZA SLIKE
   ===================================================================== */

/* Dodajemo sliku u pozadinu Hero sekcije */
.hero {
  background: 
    linear-gradient(160deg, rgba(34, 34, 34, 0.92) 0%, rgba(39, 39, 39, 0.95) 55%, rgba(51, 51, 51, 0.98) 100%),
    url('../img/hero-bg.jpg') center/cover no-repeat !important;
}

/* Stilovi za slike na karticama smerova */
.program-card__top {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: var(--sp-6) var(--sp-5) var(--sp-4);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 1;
}

/* Zatamnjenje preko slike da bi se video tekst */
.program-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(34,34,34,0.1), rgba(34,34,34,0.95));
  z-index: -1;
}

.program-card__content {
  position: relative;
  z-index: 2;
}

/* Stil za logo ako želiš da ga ubaciš */
.brand__logo-img {
  height: 40px;
  width: auto;
}

/* =====================================================================
   ZMAJEVI LOGO (Samo za futer)
   ===================================================================== */
.brand__zmajevi-footer {
  width: 100%; /* Da popuni levu kolonu */
  max-width: 350px; /* Sprečava da slika bude previše ogromna */
  height: auto;
  display: block;
  margin-bottom: var(--sp-3);
  margin-left: -10px; /* Blago pomereno levo da bi se lepo poravnalo sa tekstom ispod */
}