/* =========================================================
   Čisti november 2026 – Avtocenter Šubelj
   Vizualna smer: kampanjski plakat (navy + rdeči brush + cyan voda + jesensko listje)
   ========================================================= */

/* ---------- Pisave (self-hosted, brez Google Fonts – GDPR) ---------- */
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap;
  src: url(../fonts/barlow-condensed-latin-800-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap;
  src: url(../fonts/barlow-condensed-latin-ext-800-italic.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 900; font-display: swap;
  src: url(../fonts/barlow-condensed-latin-900-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 900; font-display: swap;
  src: url(../fonts/barlow-condensed-latin-ext-900-italic.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/barlow-condensed-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap;
  src: url(../fonts/barlow-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap;
  src: url(../fonts/barlow-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap;
  src: url(../fonts/barlow-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap;
  src: url(../fonts/barlow-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap;
  src: url(../fonts/barlow-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap;
  src: url(../fonts/barlow-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap;
  src: url(../fonts/caveat-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap;
  src: url(../fonts/caveat-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --navy-900: #050f2b;
  --navy-800: #081a42;
  --navy-700: #0d2560;
  --navy-600: #143381;
  --red: #e30613;
  --red-600: #c10510;
  --red-glow: rgba(227, 6, 19, .45);
  --cyan: #22b8f0;
  --cyan-300: #7fdcff;
  --blue: #1677d8;
  --yellow: #ffd60a;
  --leaf: #e2711d;
  --ice: #eef6fd;
  --ice-200: #dcecfa;
  --ink: #0b1733;
  --muted: #51607d;
  --white: #fff;

  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --f-script: "Caveat", "Comic Sans MS", cursive;

  --r: 18px;
  --r-lg: 28px;
  --shadow-lg: 0 30px 80px -20px rgba(5, 15, 43, .55);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink);
  background: var(--ice); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
picture { display: block; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.script { font-family: var(--f-script); font-weight: 700; line-height: 1.05; }

/* ---------- Gumbi ---------- */
.btn {
  --bg: var(--navy-800); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.6em; border: 0; border-radius: 14px; cursor: pointer;
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; text-transform: uppercase;
  color: var(--fg); background: var(--bg); text-decoration: none; overflow: hidden; isolation: isolate;
  transform: translate(var(--mx, 0), var(--my, 0)) skewX(-8deg);
  transition: transform .35s var(--ease-out), box-shadow .3s, background-color .3s;
}
.btn > span, .btn > svg { transform: skewX(8deg); position: relative; z-index: 1; }
.btn--red { --bg: var(--red); box-shadow: 0 10px 30px -8px var(--red-glow), inset 0 -3px 0 rgba(0, 0, 0, .18); }
.btn--red::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 64%);
  transform: translateX(-120%); animation: shine 4.5s 2s infinite;
}
.btn--red:hover { --bg: #f2141f; box-shadow: 0 16px 40px -8px var(--red-glow); }
.btn--ghost { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.btn--ghost-dark { --fg: var(--navy-800); background: transparent; box-shadow: inset 0 0 0 2px var(--navy-800); }
.btn--ghost-dark:hover { background: var(--navy-800); color: #fff; }
.btn--sm { min-height: 42px; font-size: 1.05rem; padding: .5em 1.1em; border-radius: 11px; }
.btn--xl { min-height: 62px; font-size: clamp(1.3rem, 2.4vw, 1.6rem); padding: .7em 1.6em; }
.btn--block { width: 100%; }
.btn__arrow { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.btn:hover .btn__arrow { transform: skewX(8deg) translateX(5px); }
.btn:active { transform: translate(var(--mx, 0), var(--my, 0)) skewX(-8deg) scale(.97); }
@keyframes shine { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(120%); } }

/* ---------- Topbar ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; padding: 12px var(--gutter); transition: background-color .35s, box-shadow .35s, padding .35s; }
.topbar__in { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.topbar__logo { flex: none; display: block; transition: transform .3s var(--ease-out); }
.topbar__logo:hover { transform: rotate(-2deg) scale(1.04); }
.topbar__logo img { width: 132px; height: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.topbar__nav { display: none; gap: 28px; margin-left: auto; }
.topbar__nav a { color: #fff; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase; position: relative; }
.topbar__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.topbar__nav a:hover::after { transform: scaleX(1); }
.topbar__cta { margin-left: auto; }
.topbar.is-scrolled { background: rgba(8, 26, 66, .86); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); padding-block: 8px; }
.page-legal .topbar { background: rgba(8, 26, 66, .92); }
@media (min-width: 860px) {
  .topbar__nav { display: flex; }
  .topbar__cta { margin-left: 8px; }
  .topbar__logo img { width: 158px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(640px, 100svh, 960px); padding: 112px 0 132px;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(34, 184, 240, .35), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(22, 119, 216, .35), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900) 70%);
}
.hero__bg { position: absolute; inset: 0; z-index: -3; opacity: .42; mix-blend-mode: screen; overflow: hidden; }
.hero__bg picture { width: 100%; height: 100%; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.12); animation: heroDrift 26s ease-in-out infinite alternate; }
/* mehak prehod: levo temneje (berljivost besedila), spodaj v temno modro – brez ostrega roba slike */
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--navy-900) 0%, rgba(5, 15, 43, .55) 38%, transparent 70%),
    linear-gradient(180deg, transparent 45%, var(--navy-900) 100%);
}
@keyframes heroDrift { to { transform: scale(1.22) translate3d(-2%, 2%, 0); } }
.hero__fx { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__glow {
  position: absolute; z-index: -2; inset: auto -10% -30% -10%; height: 70%;
  background: radial-gradient(closest-side, rgba(34, 184, 240, .35), transparent);
  filter: blur(30px); animation: pulseGlow 7s ease-in-out infinite;
}
@keyframes pulseGlow { 50% { opacity: .55; transform: scale(1.06); } }

.hero__grid { display: grid; gap: 48px; align-items: center; width: 100%; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 40px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  padding: 7px 14px 7px 10px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); backdrop-filter: blur(8px);
  animation: fadeUp .8s var(--ease-out) both .1s;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red-glow); animation: ping 1.8s infinite; }
.is-before .dot { background: var(--yellow); }
.is-after .dot { background: #8a96b3; animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(227, 6, 19, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0); } }

/* Naslov – po vzoru plakata */
.title {
  position: relative; display: flex; flex-direction: column; margin: 0 0 6px; padding: 18px 0 12px;
  font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(4.1rem, 12.5vw, 9.6rem); line-height: .84; letter-spacing: -.005em;
}
.title__brush {
  position: absolute; z-index: -1; left: -6%; right: -4%; top: 6%; bottom: 0;
  background: linear-gradient(100deg, var(--navy-900), #0b2462 60%, rgba(11, 36, 98, .2));
  -webkit-mask: url(../img/brush.svg) center / 100% 100% no-repeat; mask: url(../img/brush.svg) center / 100% 100% no-repeat;
  transform-origin: left center; animation: brushIn 1s var(--ease-out) both .15s;
}
@keyframes brushIn { from { transform: scaleX(0) skewX(-12deg); opacity: 0; } to { transform: none; opacity: .95; } }
.title__line { display: block; white-space: nowrap; }
.title__line--white { color: #fff; text-shadow: 0 6px 0 rgba(5, 15, 43, .45), 0 18px 40px rgba(0, 0, 0, .35); }
.title__line--cyan .ch {
  background: linear-gradient(180deg, #b8efff 0%, var(--cyan) 45%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 0 rgba(5, 15, 43, .45));
}
.title__line--cyan:not(.is-split) {
  background: linear-gradient(180deg, #b8efff 0%, var(--cyan) 45%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ch { display: inline-block; animation: chIn .9s var(--ease-spring) both; animation-delay: calc(.25s + var(--i) * .05s); }
@keyframes chIn { from { opacity: 0; transform: translate3d(0, 60%, 0) skewX(-14deg) scale(.7); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.title__line--cyan .ch { animation-name: chIn, chWet; animation-duration: .9s, 5s; animation-delay: calc(.6s + var(--i) * .05s), calc(2.5s + var(--i) * .12s); animation-iteration-count: 1, infinite; }
@keyframes chWet { 0%, 90%, 100% { transform: none; } 94% { transform: translateY(-4px); } }

.slogan {
  position: relative; display: inline-flex; flex-wrap: wrap; gap: .3em; margin: 0 0 22px; padding: 10px 26px 12px 22px;
  font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; color: #fff;
  font-size: clamp(1.45rem, 3.6vw, 2.5rem); line-height: 1; transform: rotate(-2.5deg); transform-origin: left;
}
.slogan__band {
  position: absolute; inset: 0; z-index: -1; background: var(--red);
  -webkit-mask: url(../img/brush.svg) center / 100% 100% no-repeat; mask: url(../img/brush.svg) center / 100% 100% no-repeat;
  box-shadow: 0 10px 30px var(--red-glow); transform-origin: left; animation: bandIn .7s var(--ease-out) both 1.05s;
}
@keyframes bandIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slogan__w { display: inline-block; animation: popIn .55s var(--ease-spring) both; text-shadow: 0 3px 0 rgba(0, 0, 0, .2); }
.slogan__w:nth-child(2) { animation-delay: 1.35s; }
.slogan__w:nth-child(3) { animation-delay: 1.5s; }
.slogan__w:nth-child(4) { animation-delay: 1.65s; color: var(--yellow); }
@keyframes popIn { from { opacity: 0; transform: scale(.4) rotate(-6deg); } to { opacity: 1; transform: none; } }

.hero__lead { max-width: 34em; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: rgba(255, 255, 255, .86); animation: fadeUp .8s var(--ease-out) both 1.6s; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; animation: fadeUp .8s var(--ease-out) both 1.75s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Odštevalnik */
.countdown { animation: fadeUp .8s var(--ease-out) both 1.9s; }
.countdown__label { margin: 0 0 8px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--cyan-300); }
.countdown__grid { display: flex; gap: 10px; }
.countdown__grid div {
  min-width: 72px; padding: 10px 10px 8px; border-radius: 14px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 10px 24px -14px rgba(0, 0, 0, .7);
  backdrop-filter: blur(8px);
}
.countdown__grid b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__grid b.tick { animation: tick .45s var(--ease-out); }
@keyframes tick { from { transform: translateY(-30%); opacity: .2; } }
.countdown__grid span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .7); }

/* Plakat (3D tilt) */
.hero__visual { position: relative; display: flex; justify-content: center; perspective: 1200px; }
.poster { position: relative; width: min(78vw, 440px); transform-style: preserve-3d; animation: posterIn 1.3s var(--ease-out) both .5s; }
@keyframes posterIn { from { opacity: 0; transform: translateY(60px) rotateX(18deg) rotateZ(6deg) scale(.9); } }
.poster__inner {
  position: relative; border-radius: 18px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(255, 255, 255, .9), 0 0 60px 10px rgba(34, 184, 240, .25);
  transform: rotateZ(3deg); will-change: transform;
  animation: floaty 7s ease-in-out infinite 2s; /* plavanje (translate) je neodvisno od JS nagiba (transform) */
}
@keyframes floaty { 50% { translate: 0 -12px; } }
.poster__glare {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .9;
  background: radial-gradient(600px circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .7), transparent 40%);
}
.sticker {
  position: absolute; z-index: 2; display: grid; place-items: center; text-align: center; color: #fff;
  font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; line-height: .9;
  border-radius: 50%; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .55);
}
.sticker b { font-size: 2.5rem; color: var(--yellow); }
.sticker span { font-size: .95rem; }
.sticker em { font-style: italic; font-size: .72rem; letter-spacing: .08em; color: var(--yellow); }
.sticker--finale { width: 132px; height: 132px; left: -38px; bottom: 16%; background: radial-gradient(circle at 30% 30%, #ff3b45, var(--red) 60%, var(--red-600)); animation: stickerIn .8s var(--ease-spring) both 1.6s, wobble 6s ease-in-out infinite 2.6s; align-content: center; gap: 2px; }
.sticker--week { width: 112px; height: 112px; right: -26px; top: 10%; background: radial-gradient(circle at 30% 30%, var(--navy-600), var(--navy-800)); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .55), inset 0 0 0 3px var(--cyan); animation: stickerIn .8s var(--ease-spring) both 1.8s, wobble 7s ease-in-out infinite 3s reverse; align-content: center; }
.sticker--week b { font-size: 2.6rem; }
@keyframes stickerIn { from { opacity: 0; transform: scale(0) rotate(-40deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(6deg) scale(1.04); } }

.hero__scroll { position: absolute; left: 50%; bottom: 96px; z-index: 3; width: 30px; height: 48px; margin-left: -15px; border-radius: 20px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 960px) and (min-height: 760px) { .hero__scroll { display: block; } }

.wave { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: clamp(60px, 9vw, 120px); z-index: 2; overflow: visible; }
.wave__a { fill: rgba(238, 246, 253, .45); animation: waveA 9s ease-in-out infinite alternate; }
.wave__b { fill: var(--ice); animation: waveB 7s ease-in-out infinite alternate; }
@keyframes waveA { to { transform: translateX(-140px) translateY(-6px); } }
@keyframes waveB { to { transform: translateX(120px); } }

@media (max-width: 959px) {
  .hero { padding-top: 104px; padding-bottom: 84px; text-align: left; }
  .hero__visual { margin-top: 10px; }
  .sticker--finale { left: -10px; width: 112px; height: 112px; }
  .sticker--finale b { font-size: 2rem; }
  .sticker--week { right: -6px; width: 96px; height: 96px; }
}
@media (max-width: 420px) {
  .countdown__grid div { min-width: 0; flex: 1; padding-inline: 4px; }
  .countdown__grid b { font-size: 1.8rem; }
  .hero__ctas .btn { width: 100%; }
}

/* =========================================================
   Skupni naslovi sekcij
   ========================================================= */
section { position: relative; }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.kicker { margin: 0 0 10px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .2em; font-size: .95rem; color: var(--red); }
.kicker--cyan { color: var(--cyan-300); }
.h-brush {
  display: inline; padding: .08em .55em .14em .4em; font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2rem, 5.4vw, 4rem); line-height: 1.32; color: #fff;
  background: url(../img/brush-red.svg) left center / 0% 100% no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .9s var(--ease-out) .1s;
}
.h-brush--navy { background-image: url(../img/brush-navy.svg); }
.h-brush span { opacity: 0; transition: opacity .6s .45s; }
.is-in .h-brush, .h-brush.is-in { background-size: 100% 100%; }
.is-in .h-brush span, .h-brush.is-in span { opacity: 1; }

/* Reveal ob scrollu */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .h-brush { background-size: 100% 100%; }
.no-js .h-brush span { opacity: 1; }

/* =========================================================
   NAGRADE
   ========================================================= */
.prizes { padding: clamp(56px, 8vw, 100px) 0 clamp(70px, 9vw, 120px); background: radial-gradient(900px 520px at 100% 42%, #d4ebfb, transparent 62%), var(--ice); overflow: hidden; }
.prizes::before { content: ""; position: absolute; right: -60px; top: 40px; width: 220px; height: 240px; background: url(../img/leaf.svg) center / contain no-repeat; opacity: .14; transform: rotate(25deg); }

.finale {
  display: grid; gap: 24px; align-items: center; padding: clamp(22px, 4vw, 44px);
  border-radius: var(--r-lg); background: linear-gradient(135deg, #fff, #f3f9ff);
  box-shadow: 0 30px 70px -40px rgba(8, 26, 66, .55), inset 0 0 0 1px rgba(8, 26, 66, .06);
}
@media (min-width: 900px) { .finale { grid-template-columns: .7fr 1.3fr; } }
.tag { display: inline-block; margin: 0 0 12px; padding: 6px 16px 7px; font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.3rem; color: #fff; transform: skewX(-8deg); border-radius: 8px; }
.tag--red { background: var(--red); box-shadow: 0 8px 20px -8px var(--red-glow); }
.finale__big { margin: 0 0 14px; font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 7vw, 5.2rem); line-height: .9; color: var(--navy-800); }
.finale__big .num { color: var(--yellow); -webkit-text-stroke: 3px var(--navy-800); paint-order: stroke fill; font-size: 1.25em; }
.finale__big small { font-size: .42em; vertical-align: middle; }
.finale__big strong { color: var(--red); }
.finale__stage {
  position: relative; display: grid; grid-template-columns: 1fr 1.12fr 1fr; align-items: end; gap: 0 2%;
  padding: clamp(24px, 4vw, 44px) clamp(8px, 2vw, 20px) clamp(16px, 2.4vw, 24px); border-radius: var(--r); overflow: hidden;
  background: radial-gradient(ellipse 60% 40% at 50% 78%, #d6e9f8, transparent 70%), linear-gradient(180deg, #fff, #f1f7fd);
}
.fcar { position: relative; margin: 0; text-align: center; }
.fcar picture { position: relative; display: block; margin: 0 -11%; } /* prosojni izrezi se rahlo prekrivajo kot na letaku */
.fcar picture::after { content: ""; position: absolute; z-index: -1; left: 10%; right: 10%; bottom: -2%; height: 16%; background: radial-gradient(closest-side, rgba(8, 26, 66, .38), transparent); }
.fcar img { position: relative; width: 100%; height: auto; transition: transform .5s var(--ease-spring); }
.fcar:hover img { transform: translateY(-8px) scale(1.04); }
.fcar--ferrari { z-index: 2; }
.fcar--hyundai { z-index: 0; margin-bottom: 32%; left: -7%; }
.fcar--hyundai .ftag { position: relative; left: 10%; }
.fcar--porsche { z-index: 1; }
.ftag {
  display: inline-block; margin-top: 6px; padding: 4px 10px 5px; border-radius: 6px; background: var(--red); color: #fff;
  font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(.68rem, 1.3vw, .95rem); line-height: 1.15; white-space: nowrap; transform: skewX(-8deg); box-shadow: 0 6px 14px -6px var(--red-glow);
}
/* prihod avtov ob prikazu sekcije */
.finale .fcar { opacity: 0; }
.finale.is-in .fcar { animation: carIn .9s var(--ease-out) both; }
.finale.is-in .fcar--ferrari { --from: -60px; animation-delay: .25s; }
.finale.is-in .fcar--hyundai { --from: 0px; animation-delay: .1s; }
.finale.is-in .fcar--porsche { --from: 60px; animation-delay: .4s; }
@keyframes carIn { from { opacity: 0; transform: translate3d(var(--from), 24px, 0) scale(.94); } to { opacity: 1; transform: none; } }
.no-js .finale .fcar { opacity: 1; }
@media (max-width: 559px) {
  .finale__stage { grid-template-columns: 1fr 1fr; gap: 14px 4%; }
  .fcar--hyundai { grid-column: 1 / -1; grid-row: 1; width: 78%; margin: 0 auto; left: 0; }
  .fcar--hyundai .ftag { left: 0; }
  .fcar picture { margin: 0 -4%; }
  .ftag { font-size: .78rem; padding: 3px 8px 4px; }
}
.finale__shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-100%); }
.finale.is-in .finale__shine { animation: sweep 1.6s var(--ease-out) .5s, sweep 1.6s var(--ease-out) 7s infinite; }
@keyframes sweep { to { transform: translateX(100%); } }

.weekly { margin-top: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: 0 30px 70px -40px rgba(8, 26, 66, .55); }
.weekly__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding: 18px clamp(20px, 4vw, 40px); color: #fff; background: linear-gradient(100deg, var(--navy-800), var(--navy-600) 60%, var(--blue)); }
.weekly__title { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 4.6vw, 3.2rem); line-height: 1; }
.big3 { display: inline-block; color: var(--yellow); font-size: 1.35em; line-height: .7; vertical-align: -.08em; animation: bounce3 2.4s var(--ease-spring) infinite; }
@keyframes bounce3 { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-10px) rotate(-6deg); } }
.weekly__sub { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .03em; }
.weekly__sub strong { color: var(--yellow); }
.marquee { padding: 18px 0 22px; display: grid; gap: 6px; background: #fff; }
.marquee__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; align-items: flex-end; width: max-content; animation: marquee 46s linear infinite; }
.car { flex: none; padding: 0 clamp(10px, 2vw, 26px); }
.car img { height: clamp(64px, 8.5vw, 104px); width: auto; filter: drop-shadow(0 8px 6px rgba(8, 26, 66, .18)); transition: transform .4s var(--ease-spring); }
.car:hover img { transform: translateY(-6px) scale(1.06); }
.marquee__row--2 .marquee__track { animation-direction: reverse; animation-duration: 40s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.facts { list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 820px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li { padding: 20px 18px; border-radius: var(--r); background: #fff; box-shadow: 0 20px 50px -36px rgba(8, 26, 66, .6); border-top: 4px solid var(--cyan); }
.facts li:nth-child(2) { border-color: var(--red); --d: .08s; }
.facts li:nth-child(3) { border-color: var(--navy-800); --d: .16s; }
.facts li:nth-child(4) { border-color: var(--yellow); --d: .24s; }
.facts b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--navy-800); }
.facts span { color: var(--muted); font-weight: 600; }

/* =========================================================
   KAKO SODELOVATI
   ========================================================= */
.how { padding: clamp(60px, 9vw, 120px) 0; background: linear-gradient(180deg, var(--ice), #fff 40%, var(--ice)); overflow: hidden; }
.how__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .how__grid { grid-template-columns: 1.2fr .8fr; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { position: relative; padding: 26px 22px 22px; border-radius: var(--r); background: #fff; box-shadow: 0 24px 60px -40px rgba(8, 26, 66, .7), inset 0 0 0 1px rgba(8, 26, 66, .06); transition: transform .4s var(--ease-out), box-shadow .4s; }
.step:nth-child(2) { --d: .12s; }
.step:nth-child(3) { --d: .24s; }
.step:nth-child(4) { --d: .36s; }
.step__ico .bow { fill: var(--red); stroke: none; transform-origin: 32px 18px; animation: bow 2.4s ease-in-out infinite; }
@keyframes bow { 0%, 70%, 100% { transform: none; } 80% { transform: scale(1.15) rotate(-4deg); } 90% { transform: scale(1.05) rotate(3deg); } }
.step:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 30px 70px -36px rgba(8, 26, 66, .7); }
.step__n { position: absolute; top: -14px; left: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cyan); color: #fff; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.6rem; box-shadow: 0 8px 18px -6px rgba(34, 184, 240, .8), inset 0 0 0 3px #fff; }
.step__ico { width: 70px; height: 70px; margin: 10px 0 12px auto; fill: none; stroke: var(--navy-800); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.step__ico .draw { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.4s var(--ease-out) calc(var(--d, 0s) + .3s); }
.step.is-in .draw { stroke-dashoffset: 0; }
.step__ico .drop { fill: var(--cyan); stroke: none; animation: drip 2.2s ease-in infinite; }
.step__ico .drop--2 { animation-delay: .7s; }
@keyframes drip { 0% { transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
.step__ico .wavey { stroke: var(--cyan); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.step__ico .scan { fill: var(--red); stroke: none; animation: scan 2s ease-in-out infinite; }
@keyframes scan { 50% { transform: translateY(22px); } }
.step__ico .tick { stroke: var(--red); stroke-width: 4; stroke-dasharray: 40; stroke-dashoffset: 40; }
.step.is-in .tick { animation: tickDraw 2.8s ease-in-out infinite 1.4s; }
@keyframes tickDraw { 30%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@media (min-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step { display: grid; grid-template-columns: 76px 1fr; column-gap: 20px; align-items: center; padding: 20px 24px 20px 30px; }
  .step__ico { grid-row: 1 / span 2; margin: 0; }
  .step h3, .step p { grid-column: 2; }
  .step__n { left: -14px; top: 50%; margin-top: -22px; }
}
.step h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.7rem; color: var(--navy-800); margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }

.flyer { margin: 0; perspective: 1000px; text-align: center; }
.flyer__inner { position: relative; max-width: 380px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotateZ(-3deg); will-change: transform; }
.flyer__ring { position: absolute; left: 60.5%; top: 42.5%; width: 36%; height: 11%; border-radius: 12px; box-shadow: 0 0 0 3px var(--red), 0 0 0 0 rgba(227, 6, 19, .5); animation: ring 2s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 3px var(--red), 0 0 0 0 rgba(227, 6, 19, .55); } 100% { box-shadow: 0 0 0 3px var(--red), 0 0 0 22px rgba(227, 6, 19, 0); } }
.flyer figcaption { margin-top: 18px; color: var(--muted); }
.flyer figcaption .script { display: block; font-size: 2rem; color: var(--red); transform: rotate(-3deg); }

/* =========================================================
   OBRAZEC
   ========================================================= */
.enter {
  padding: clamp(70px, 10vw, 130px) 0; color: #fff; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(800px 500px at 0% 0%, rgba(34, 184, 240, .3), transparent 60%),
    radial-gradient(700px 600px at 100% 100%, rgba(227, 6, 19, .22), transparent 60%),
    linear-gradient(170deg, var(--navy-800), var(--navy-900));
}
.enter__fx { position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.enter__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .enter__grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } .enter__intro { position: sticky; top: 120px; } }
.enter__h { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 7vw, 5.6rem); line-height: .88; margin-bottom: 20px; }
.enter__h span { color: var(--cyan); }
.enter__intro p { color: rgba(255, 255, 255, .82); max-width: 30em; }
.script--lg { font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff !important; transform: rotate(-3deg); margin-top: 28px; }
.script--lg::after { content: ""; display: block; width: 70%; height: 6px; margin-top: 6px; background: var(--red); border-radius: 6px; -webkit-mask: url(../img/brush.svg) center / 100% 100% no-repeat; mask: url(../img/brush.svg) center / 100% 100% no-repeat; }

.card-wrap { --d: .1s; }
.card { position: relative; border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); background: #fff; color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); }
.card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -6px; height: 12px; border-radius: 12px; background: linear-gradient(90deg, var(--red), var(--red) 33%, var(--blue) 33%, var(--blue) 66%, var(--cyan) 66%); }

/* Polje za kodo – kot na letaku */
.ticket { margin: -2px 0 22px; padding: 16px; border-radius: 18px; background: linear-gradient(180deg, #e7f3fd, #d7ebfb); }
.ticket__label { display: block; margin-bottom: 8px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-800); font-size: 1.05rem; }
.ticket__box { position: relative; }
.ticket__input {
  width: 100%; height: 72px; padding: 0 56px 0 18px; border-radius: 14px; border: 2px solid #b9d3ea; background: #fff;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 6vw, 2.6rem); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-800);
  transition: border-color .25s, box-shadow .25s; caret-color: var(--red);
}
.ticket__input::placeholder { color: #b6c6d8; }
.ticket__input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 5px rgba(34, 184, 240, .22); }
.ticket__ok { position: absolute; right: 16px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--cyan); transform: scale(0); transition: transform .4s var(--ease-spring); }
.ticket__ok::after { content: ""; position: absolute; left: 10px; top: 6px; width: 8px; height: 14px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.ticket.is-valid .ticket__ok { transform: scale(1); }
.ticket.is-valid .ticket__input { border-color: var(--cyan); }
.hint { margin: 8px 2px 0; font-size: .88rem; color: var(--muted); }

.field { position: relative; margin-bottom: 14px; }
.field input {
  width: 100%; height: 62px; padding: 24px 16px 6px; border-radius: 14px; border: 2px solid #d5e1ee; background: #f8fbfe;
  font-size: 1.08rem; transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field input:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 5px rgba(34, 184, 240, .18); }
.field label { position: absolute; left: 18px; top: 20px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease-out), color .25s; font-weight: 600; }
.field input:focus + label, .field input:not(:placeholder-shown) + label { transform: translateY(-12px) scale(.78); color: var(--navy-700); }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.is-invalid input, .ticket.is-invalid .ticket__input { border-color: var(--red) !important; background: #fff6f6; }
.is-invalid input:focus { box-shadow: 0 0 0 5px rgba(227, 6, 19, .14); }
.err { margin: 6px 2px 0; min-height: 0; color: var(--red-600); font-weight: 600; font-size: .92rem; }
.err:empty { display: none; }
.shake { animation: shake .45s; }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }

.check { position: relative; margin: 16px 0 0; }
.check input { position: absolute; opacity: 0; width: 28px; height: 28px; margin: 0; left: 0; top: 0; cursor: pointer; }
.check label { display: flex; gap: 12px; cursor: pointer; font-size: .96rem; line-height: 1.45; }
.check__box { flex: none; position: relative; width: 28px; height: 28px; border-radius: 8px; border: 2px solid #b5c6d8; background: #fff; transition: background-color .2s, border-color .2s, transform .3s var(--ease-spring); }
.check__box::after { content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease-spring); }
.check input:checked + label .check__box { background: var(--red); border-color: var(--red); transform: rotate(-6deg); }
.check input:checked + label .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + label .check__box { outline: 3px solid var(--cyan); outline-offset: 2px; }
.check.is-invalid .check__box { border-color: var(--red); }
.check--soft input:checked + label .check__box { background: var(--navy-700); border-color: var(--navy-700); }
.check a { color: var(--blue); font-weight: 700; }
.check abbr { color: var(--red); text-decoration: none; font-weight: 700; }
.check em { color: var(--muted); font-style: normal; }
.check .err { padding-left: 40px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-msg { margin: 18px 0 0; padding: 0; font-weight: 700; color: var(--red-600); }
.form-msg:not(:empty) { padding: 12px 16px; border-radius: 12px; background: #fff0f0; box-shadow: inset 3px 0 0 var(--red); }
.submit { margin-top: 22px; }
.submit__fill { position: absolute; inset: 0; z-index: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .0) 0 14px, rgba(255, 255, 255, .16) 14px 28px); transform: translateX(-100%); }
.submit.is-loading { pointer-events: none; }
.submit.is-loading .submit__fill { transform: none; animation: stripes .6s linear infinite; }
@keyframes stripes { to { background-position: 40px 0; } }
.submit.is-loading .submit__txt::after { content: "…"; }
.card__small { margin: 14px 0 0; font-size: .86rem; color: var(--muted); text-align: center; }
.card__small a { color: var(--blue); font-weight: 600; }

/* Uspeh */
.card--success { text-align: center; padding-block: clamp(36px, 6vw, 60px); overflow: hidden; }
.card--success[hidden] { display: none; }
.card--success h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3rem); color: var(--navy-800); margin: 10px 0 12px; }
.card__lead { font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.card__code { color: var(--muted); }
.card__code b { font-family: var(--f-display); font-size: 1.2em; letter-spacing: .08em; color: var(--navy-800); }
.card__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.okmark { width: 120px; height: 120px; margin: 0 auto; }
.okmark__c { fill: none; stroke: var(--cyan); stroke-width: 7; stroke-dasharray: 330; stroke-dashoffset: 330; }
.okmark__t { fill: none; stroke: var(--red); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; }
.card--success.is-shown .okmark__c { animation: draw .9s var(--ease-out) forwards .1s; }
.card--success.is-shown .okmark__t { animation: draw .5s var(--ease-out) forwards .8s; }
.card--success.is-shown { animation: successIn .8s var(--ease-spring) both; }
.card--success.is-shown > *:not(.okmark) { animation: fadeUp .7s var(--ease-out) both 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes successIn { from { opacity: 0; transform: scale(.9) rotate(-2deg); } }
.burst { position: fixed; inset: 0; z-index: 60; pointer-events: none; }

.card--locked { text-align: center; padding-block: clamp(40px, 6vw, 70px); }
.card--locked h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy-800); margin: 16px 0 10px; }
.card--locked p { color: var(--muted); }
.lock { width: 64px; height: 64px; margin: 0 auto; fill: none; stroke: var(--red); stroke-width: 3.5; stroke-linecap: round; animation: wobble 4s ease-in-out infinite; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); background: var(--ice); }
.faq__grid { display: grid; gap: 20px 60px; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.faq__more { color: var(--muted); margin-top: 18px; }
.faq__more a { color: var(--blue); font-weight: 700; }
.acc { display: grid; gap: 12px; }
.acc__item { border-radius: var(--r); background: #fff; box-shadow: 0 18px 44px -34px rgba(8, 26, 66, .7); overflow: hidden; transition: box-shadow .3s; }
.acc__item:nth-child(2) { --d: .06s; } .acc__item:nth-child(3) { --d: .12s; } .acc__item:nth-child(4) { --d: .18s; } .acc__item:nth-child(5) { --d: .24s; }
.acc__item[open] { box-shadow: 0 24px 60px -30px rgba(8, 26, 66, .6), inset 4px 0 0 var(--red); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; color: var(--navy-800); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ice); transition: transform .4s var(--ease-spring), background-color .3s; }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 15px; height: 2.5px; border-radius: 2px; background: var(--navy-800); }
.acc summary i::after { transform: rotate(90deg); transition: transform .3s; }
.acc__item[open] summary i { transform: rotate(180deg); background: var(--red); }
.acc__item[open] summary i::before, .acc__item[open] summary i::after { background: #fff; }
.acc__item[open] summary i::after { transform: rotate(0); }
.acc__body { padding: 0 22px 20px; color: var(--muted); }
.acc__body p { margin: 0; }

/* =========================================================
   INFO + FOOTER
   ========================================================= */
.info { padding: 0 0 clamp(60px, 8vw, 100px); background: var(--ice); }
.info__grid { display: grid; gap: 14px; }
@media (min-width: 820px) { .info__grid { grid-template-columns: repeat(3, 1fr); } }
.info__item { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--r); background: var(--navy-800); color: #fff; }
.info__item:nth-child(2) { --d: .08s; } .info__item:nth-child(3) { --d: .16s; }
.info__item svg { flex: none; width: 46px; height: 46px; fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.info__k { margin: 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cyan-300); font-weight: 600; }
.info__v { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; line-height: 1.2; }
.info__v a { text-decoration: none; }
.info__v a:hover { text-decoration: underline; }

.foot { position: relative; color: rgba(255, 255, 255, .85); background: var(--navy-900); padding: 70px 0 28px; }
.foot__wave { position: absolute; left: 0; right: 0; top: -1px; height: 40px; background: var(--ice); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v10c-120 22-240 30-360 18S840 0 720 8 480 36 360 34 120 14 0 22z'/%3E%3C/svg%3E") center / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v10c-120 22-240 30-360 18S840 0 720 8 480 36 360 34 120 14 0 22z'/%3E%3C/svg%3E") center / 100% 100%; }
.foot__in { display: grid; gap: 40px; }
@media (min-width: 860px) { .foot__in { grid-template-columns: .7fr 1.3fr; } }
.foot__brand img { width: 210px; height: auto; }
.foot__brand .script { margin-top: 14px; font-size: 1.9rem; color: #fff; transform: rotate(-3deg); transform-origin: left; }
.foot__cols { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.foot__h { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; color: var(--cyan-300); margin-bottom: 10px; }
.foot p { margin: 0 0 6px; }
.foot a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.foot a:hover { text-decoration-color: var(--red); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: rgba(255, 255, 255, .55); }

/* =========================================================
   Pravila / GDPR
   ========================================================= */
.legal__hero { padding: 130px 0 60px; color: #fff; background: radial-gradient(800px 400px at 90% 0%, rgba(34, 184, 240, .3), transparent 60%), linear-gradient(160deg, var(--navy-700), var(--navy-900)); }
.legal__h { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: .95; max-width: none; }
.legal__meta { margin-top: 16px; color: rgba(255, 255, 255, .7); }
.back { display: inline-block; margin-bottom: 26px; color: #fff; text-decoration: none; font-weight: 600; opacity: .85; }
.back:hover { opacity: 1; text-decoration: underline; }
.legal__body { max-width: calc(780px + var(--gutter) * 2); padding-top: 50px; padding-bottom: 80px; }
.prose h2 { font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; color: var(--navy-800); margin: 1.6em 0 .5em; }
.prose h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; color: var(--navy-800); margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose a { color: var(--blue); }
.prose .btn, .prose .btn:hover { color: var(--fg); text-decoration: none; }
.legal__cta { margin-top: 48px; }

/* ---------- Zmanjšano gibanje ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.acc__item[open] .acc__body { animation: fadeUp .45s var(--ease-out); }
@media (min-width: 960px) { .poster { width: min(33vw, 430px); } }

/* ---------- Pasica za piškotke (GA4 samo po privolitvi) ---------- */
.consent {
  position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin-left: auto;
  padding: 18px 20px; border-radius: 18px; color: #fff; background: rgba(8, 26, 66, .96); backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .12);
  transform: translateY(30px); opacity: 0; transition: transform .45s var(--ease-out), opacity .35s;
}
.consent.is-shown { transform: none; opacity: 1; }
.consent p { margin: 0 0 12px; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.consent a { color: var(--cyan-300); }
.consent__h { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem !important; text-transform: uppercase; letter-spacing: .04em; color: #fff !important; margin-bottom: 6px !important; }
.consent__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.consent__btns .btn { flex: 1 1 140px; }
.linkbtn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; cursor: pointer; }

/* ---------- Mobilni meni ---------- */
.burger { display: none; position: relative; z-index: 61; width: 46px; height: 46px; margin-left: 4px; border: 0; border-radius: 12px; cursor: pointer; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease-spring), opacity .2s, top .3s var(--ease-out); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 859px) { .burger { display: block; } .topbar__cta { margin-left: auto; } }
.mmenu {
  position: fixed; inset: 0; z-index: 49; display: flex; flex-direction: column; justify-content: center; padding: 100px 28px 40px;
  background: radial-gradient(600px 400px at 100% 0%, rgba(34, 184, 240, .3), transparent 60%), radial-gradient(500px 400px at 0% 100%, rgba(227, 6, 19, .25), transparent 60%), rgba(5, 15, 43, .97);
  clip-path: circle(0 at calc(100% - 44px) 34px); transition: clip-path .55s var(--ease-out); visibility: hidden;
}
.mmenu.is-open { clip-path: circle(150% at calc(100% - 44px) 34px); visibility: visible; }
.mmenu[hidden] { display: none; }
.mmenu__nav { display: grid; gap: 6px; }
.mmenu__nav a {
  color: #fff; text-decoration: none; font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.2rem, 11vw, 3.4rem); line-height: 1.1; opacity: 0; transform: translateX(-30px);
  transition: opacity .4s, transform .5s var(--ease-out), color .2s;
}
.mmenu__nav a:nth-child(3) { color: var(--cyan); }
.mmenu__nav a:hover, .mmenu__nav a:focus-visible { color: var(--red); }
.mmenu.is-open .mmenu__nav a { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__nav a:nth-child(1) { transition-delay: .12s; } .mmenu.is-open .mmenu__nav a:nth-child(2) { transition-delay: .17s; }
.mmenu.is-open .mmenu__nav a:nth-child(3) { transition-delay: .22s; } .mmenu.is-open .mmenu__nav a:nth-child(4) { transition-delay: .27s; }
.mmenu.is-open .mmenu__nav a:nth-child(5) { transition-delay: .32s; }
.mmenu__foot { margin-top: 36px; color: rgba(255, 255, 255, .7); font-size: 1.8rem; transform: rotate(-3deg); transform-origin: left; }
body.menu-open { overflow: hidden; }
body.menu-open .topbar { background: transparent; box-shadow: none; backdrop-filter: none; }
.foot__author { font-weight: 700; color: #fff !important; }

/* ---------- Predogled z geslom ---------- */
.gate-body { min-height: 100svh; display: grid; place-items: center; padding: 24px 16px; color: #fff; background: radial-gradient(900px 500px at 85% 0%, rgba(34, 184, 240, .3), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(227, 6, 19, .22), transparent 60%), linear-gradient(160deg, var(--navy-700), var(--navy-900)); }
.gate { width: min(100%, 420px); text-align: center; }
.gate__logo { width: 190px; height: auto; margin: 0 auto 26px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); }
.gate__h { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 10vw, 3.6rem); line-height: .9; margin-bottom: 14px; }
.gate__h span { color: var(--cyan); }
.gate__p { color: rgba(255, 255, 255, .8); }
.gate__form { display: grid; gap: 12px; margin-top: 22px; }
.gate__form input { height: 56px; padding: 0 18px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.1rem; }
.gate__form input::placeholder { color: rgba(255, 255, 255, .5); }
.gate__form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 5px rgba(34, 184, 240, .2); }
.gate__err { margin-top: 14px; font-weight: 700; color: #ffb4b8; }
.nowrap { white-space: nowrap; }

/* =========================================================
   NAGRAJENCI (prikaže se, ko je objavljen vsaj en nagrajenec)
   ========================================================= */
.winners {
  padding: clamp(56px, 8vw, 100px) 0; color: #fff; overflow: hidden;
  background: radial-gradient(700px 420px at 100% 0%, rgba(34, 184, 240, .28), transparent 62%),
    radial-gradient(600px 400px at 0% 100%, rgba(227, 6, 19, .18), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
}
.winners__lead { max-width: 60ch; margin: 18px 0 0; color: #c9d7f2; }
.wround + .wround { margin-top: clamp(28px, 4vw, 44px); }
.wround__h { margin: 0 0 16px; font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--yellow); }
.wround__h small { font-size: .55em; font-weight: 700; font-style: normal; letter-spacing: .04em; color: var(--cyan-300); }
.wround__list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .wround__list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.wcard {
  position: relative; display: grid; align-content: start; gap: 4px; padding: 20px 20px 22px; border-radius: var(--r);
  background: linear-gradient(160deg, #fff, var(--ice)); color: var(--navy-800);
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .6);
  transition: transform .5s var(--ease-spring);
}
.wcard:hover { transform: translateY(-6px); }
.wcard__medal {
  position: absolute; z-index: 1; top: -14px; left: 16px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.6rem; color: var(--navy-900);
  background: linear-gradient(145deg, #fff3a6, #f5c400 55%, #b98a00); box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .55), inset 0 0 0 3px rgba(255, 255, 255, .55);
}
.wcard--p2 .wcard__medal { background: linear-gradient(145deg, #ffffff, #c9d2dd 55%, #8a96a6); }
.wcard--p3 .wcard__medal { background: linear-gradient(145deg, #ffd9b8, #d2864a 55%, #8f4f1f); }
.wcard__car { display: block; margin: 4px -6px 6px; }
.wcard__car img { width: 100%; height: auto; max-height: 150px; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(8, 26, 66, .25)); transition: transform .5s var(--ease-spring); }
.wcard:hover .wcard__car img { transform: scale(1.05) rotate(-1.5deg); }
.wcard__prize { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em; color: var(--red); }
.wcard__name { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.05; text-transform: uppercase; }
.wcard__name--hidden { font-size: 1.05rem; font-style: normal; font-weight: 700; text-transform: none; color: var(--muted); }
.winners__more { margin: clamp(26px, 4vw, 40px) 0 0; font-weight: 600; color: #c9d7f2; }
.winners__more a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 759px) {
  .wcard { grid-template-columns: 42% 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 14px; row-gap: 2px; padding: 14px 16px 14px 12px; }
  .wcard__car { grid-row: 1 / span 2; margin: 0; }
  .wcard__car img { max-height: 96px; }
  .wcard__prize { align-self: end; font-size: .9rem; }
  .wcard__name { align-self: start; font-size: 1.35rem; }
  .wcard__medal { top: -10px; left: 8px; width: 36px; height: 36px; font-size: 1.25rem; }
}
/* Pretekli krogi – drsnik (scroll-snap; puščice v app.js) */
.wpast { margin-top: clamp(36px, 5vw, 56px); }
.wpast__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.wpast__h { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--cyan-300); }
.wpast__nav { display: flex; gap: 8px; }
.wpast__btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0 0 4px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 50%;
  background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s;
}
.wpast__btn:hover:not(:disabled) { background: var(--red); border-color: var(--red); }
.wpast__btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.wpast__btn:disabled { opacity: .3; cursor: default; }
.wpast__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 14px 2px 8px; margin: -14px -2px 0;
}
.wpast__track::-webkit-scrollbar { display: none; }
.wpast__track:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; border-radius: var(--r); }
@media (min-width: 760px) { .wpast__track { grid-auto-columns: calc(50% - 10px); gap: 20px; } }
.wslide { scroll-snap-align: start; padding: 18px 16px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.wslide__h { margin: 0 0 14px; font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.35rem; color: var(--yellow); }
.wslide__h small { font-size: .7em; font-weight: 700; font-style: normal; color: var(--cyan-300); }
.wslide__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.wcard--mini { grid-template-columns: 34% 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 0; padding: 10px 14px 10px 10px; }
.wcard--mini:hover { transform: none; }
.wcard--mini .wcard__car { grid-row: 1 / span 2; margin: 0; }
.wcard--mini .wcard__car img { max-height: 64px; }
.wcard--mini .wcard__prize { align-self: end; font-size: .8rem; }
.wcard--mini .wcard__name { align-self: start; font-size: 1.15rem; }
.wcard--mini .wcard__name--hidden { font-size: .9rem; }
.wcard--mini .wcard__medal { top: -8px; left: 6px; width: 28px; height: 28px; font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .wpast__track { scroll-behavior: auto; } }
@media (prefers-reduced-motion: reduce) { .wcard, .wcard__car img { transition: none; } }
.wpast.is-static .wpast__nav { display: none; }
