/* BalkanLiker: sajt. Boje i font su preuzeti iz igre. */
@font-face {
  font-family: "Bungee";
  src: url("../assets/fonts/Bungee-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #140f24;
  --bg-deep: #0b0814;
  --purple: #241a45;
  --purple-2: #32235f;
  --panel: #0f0b18;
  --panel-2: #1a1326;
  --gold: #f2b234;
  --gold-hi: #ffd76a;
  --gold-lo: #a8690f;
  --brown: #6b4416;
  --ruby: #e8365a;
  --sky: #6cc6ff;
  --green: #4fe08a;
  --text: #f7f0e3;
  --muted: #b8aac4;
  --display: "Bungee", "Arial Black", Impact, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 18px;
  --slant: clamp(28px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #1a1000; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); }
.gold { color: var(--gold); }

/* ── tipografija ── */
.eyebrow {
  font: 400 14px/1 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.h2 {
  font: 400 clamp(34px, 5.4vw, 64px)/1.02 var(--display);
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .45);
}
.h3, .card h3, .mode h3 { font: 400 22px/1.15 var(--display); text-transform: uppercase; }
.lead { max-width: 62ch; margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); text-wrap: pretty; }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ── dugmad ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border: 0; border-radius: 14px;
  font: 400 16px/1 var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: .04em;
  transition: transform .12s, box-shadow .12s, filter .12s;
}
.btn--gold {
  color: #2a1700;
  background: linear-gradient(#ffdc73, var(--gold) 55%, #e0961c);
  box-shadow: 0 5px 0 var(--gold-lo), 0 10px 22px rgba(0, 0, 0, .45), inset 0 2px 0 rgba(255, 255, 255, .55);
}
.btn--gold:hover { filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 7px 0 var(--gold-lo), 0 14px 26px rgba(0, 0, 0, .5), inset 0 2px 0 rgba(255, 255, 255, .55); }
.btn--gold:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--gold-lo), inset 0 2px 0 rgba(255, 255, 255, .55); }
.btn--sm { padding: 11px 18px; font-size: 14px; border-radius: 12px; }

.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 190px; padding: 12px 22px 12px 18px; border-radius: 16px;
  color: #2a1700; text-decoration: none;
  background: linear-gradient(#ffdc73, var(--gold) 55%, #e0961c);
  box-shadow: 0 6px 0 var(--gold-lo), 0 14px 28px rgba(0, 0, 0, .5), inset 0 2px 0 rgba(255, 255, 255, .55);
  transition: transform .12s, box-shadow .12s, filter .12s;
}
.store:hover { filter: brightness(1.07); transform: translateY(-2px); }
.store:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--gold-lo), inset 0 2px 0 rgba(255, 255, 255, .55); }
.store svg { width: 30px; height: 30px; flex: none; }
.store span { display: grid; font: 400 21px/1.05 var(--display); text-transform: uppercase; }
.store small { font: 600 11px/1.3 var(--body); letter-spacing: .08em; opacity: .8; }
.store--soon {
  color: var(--muted); background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14); cursor: default;
}
.store--soon:hover { filter: none; transform: none; }

.age {
  display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 6px; margin-right: 8px;
  border: 2px solid currentColor; border-radius: 7px; font: 700 12px/1 var(--body); vertical-align: middle;
}

/* ── nav ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.is-stuck, .nav.is-open { background: rgba(13, 9, 24, .92); backdrop-filter: blur(10px); box-shadow: 0 2px 0 rgba(242, 178, 52, .25); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 20px/1 var(--display); color: var(--text); }
.brand__logo { width: auto; height: 58px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6)); transition: transform .2s; }
.brand:hover .brand__logo { transform: scale(1.06) rotate(-2deg); }
.brand__logo--foot { height: 110px; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a:not(.btn) { text-decoration: none; font: 400 14px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--text); opacity: .85; transition: color .15s, opacity .15s; }
.nav__links a:not(.btn):hover { color: var(--gold); opacity: 1; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.burger i { display: block; width: 22px; height: 3px; margin: 4px auto; border-radius: 2px; background: var(--gold); transition: transform .2s, opacity .2s; }
.nav.is-open .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .burger i:nth-child(2) { opacity: 0; }
.nav.is-open .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── hero ── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 980px);
  display: grid; align-items: start;
  padding: 130px 0 0;
  background: var(--bg);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    linear-gradient(90deg, rgba(11, 8, 20, .93) 0%, rgba(11, 8, 20, .62) 42%, rgba(11, 8, 20, .12) 70%, rgba(11, 8, 20, .5) 100%),
    linear-gradient(180deg, rgba(11, 8, 20, .5) 0%, transparent 28%, transparent 55%, var(--bg) 100%),
    url("../assets/img/hero-gate.webp") center 30% / cover no-repeat;
}
.hero__rays {
  position: absolute; z-index: -2; right: -8%; bottom: -30%; width: min(1100px, 110vw); aspect-ratio: 1;
  background: url("../assets/img/icons/rays.webp") center / contain no-repeat;
  opacity: .16; will-change: transform; animation: spin 80s linear infinite;
}
.hero__in { position: relative; padding-bottom: 40px; }
.hero__title { font: 400 clamp(52px, 9.5vw, 128px)/.92 var(--display); text-transform: uppercase; }
.hero__title span {
  display: block; width: fit-content;
  text-shadow: 0 6px 0 rgba(0, 0, 0, .55), 0 18px 40px rgba(0, 0, 0, .6);
  animation: rise .7s cubic-bezier(.2, .9, .3, 1.2) both;
}
.hero__title span:nth-child(1) { animation-delay: .1s; }
.hero__title span:nth-child(2) { animation-delay: .2s; }
.hero__title span:nth-child(3) { animation-delay: .3s; text-shadow: 0 6px 0 #6d4206, 0 18px 40px rgba(242, 178, 52, .35); }
.hero__lead { margin-top: 26px; max-width: 30ch; font-size: clamp(18px, 2vw, 23px); font-weight: 500; }
.hero__note { margin-top: 20px; font-size: 14px; color: var(--muted); }

.lineup {
  position: absolute; z-index: -1; right: max(0px, calc(50% - 640px)); bottom: 0;
  width: min(60vw, 760px); height: min(46vw, 520px);
  pointer-events: none;
}
.lineup::after { content: ""; position: absolute; inset: auto 0 2% 0; height: 20%; background: radial-gradient(closest-side, rgba(0, 0, 0, .65), transparent); z-index: -1; }
.lineup__s { position: absolute; bottom: 4%; height: auto; aspect-ratio: 1; }
.lineup__s--c { width: 66%; left: 23%; bottom: 0; z-index: 3; }
.lineup__s--l1 { width: 38%; left: -1%; bottom: 10%; z-index: 2; }
.lineup__s--r1 { width: 40%; left: 62%; bottom: 9%; z-index: 2; }
.lineup__s--l2 { width: 33%; left: -15%; bottom: 20%; z-index: 1; opacity: .92; }
.lineup__s--r2 { width: 35%; left: 79%; bottom: 19%; z-index: 1; opacity: .92; }

.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.embers i {
  position: absolute; bottom: -12px; width: var(--s); height: var(--s); border-radius: 50%;
  background: #ffb347; box-shadow: 0 0 10px 2px rgba(255, 140, 40, .8);
  animation: ember var(--d) linear infinite;
}

/* ── činjenice ── */
.facts { position: relative; z-index: 2; background: linear-gradient(#ffd76a, var(--gold)); color: #2a1700; box-shadow: 0 6px 0 var(--gold-lo); }
.facts__in { display: grid; grid-template-columns: repeat(5, 1fr); }
.fact { padding: 22px 12px; text-align: center; border-left: 2px solid rgba(90, 50, 0, .18); }
.fact:first-child { border-left: 0; }
.fact b { display: block; font: 400 clamp(30px, 4vw, 46px)/1 var(--display); }
.fact span { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

/* ── sekcije ── */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec--slant { clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--slant) * -1); padding-top: calc(clamp(80px, 11vw, 150px) + var(--slant)); }
.sec--purple { background: radial-gradient(120% 80% at 80% 0%, var(--purple-2), transparent 60%), linear-gradient(var(--purple), var(--bg)); }
.sec--dark { background: radial-gradient(90% 60% at 10% 10%, rgba(242, 178, 52, .1), transparent 60%), var(--bg-deep); }
.sec--arena {
  background:
    linear-gradient(90deg, var(--bg-deep), transparent 22%),
    linear-gradient(180deg, rgba(11, 8, 20, .9), rgba(20, 15, 36, .74) 40%, rgba(11, 8, 20, .96)),
    url("../assets/img/dungeon.webp") center 35% / cover no-repeat var(--bg-deep);
}

/* ── kartice ── */
.card {
  position: relative; padding: 34px 28px 30px; border-radius: var(--r);
  background: linear-gradient(var(--panel-2), var(--panel));
  border: 3px solid var(--brown);
  box-shadow: 0 8px 0 rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(242, 178, 52, .22);
}
.card p { margin-top: 10px; color: var(--muted); }
.card p b { color: var(--text); }
.card__num {
  position: absolute; top: -20px; left: 22px; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; font: 400 20px/1 var(--display); color: #2a1700;
  background: linear-gradient(#ffdc73, var(--gold)); box-shadow: 0 4px 0 var(--gold-lo);
}
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 64px; }
.steps3 .card img { width: 110px; margin: 4px 0 18px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); transition: transform .3s cubic-bezier(.2, .9, .3, 1.4); }
.steps3 .card:hover img { transform: translateY(-8px) rotate(-6deg) scale(1.06); }
.card--flat { padding: 26px 24px; }
.card--flat h3 { font-size: 18px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s, transform .6s cubic-bezier(.2, .8, .3, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.steps3 .reveal:nth-child(2), .shop .reveal:nth-child(2), .modes .reveal:nth-child(2) { transition-delay: .08s; }
.steps3 .reveal:nth-child(3), .shop .reveal:nth-child(3), .modes .reveal:nth-child(3) { transition-delay: .16s; }
.shop .reveal:nth-child(4) { transition-delay: .24s; }

/* ── split ── */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split--rev .split__txt { order: 2; }
.ticks { margin-top: 28px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 38px; color: var(--muted); }
.ticks li b { color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.500l4 4 8-9' fill='none' stroke='%232a1700' stroke-width='3.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 34px; max-width: 600px; }
.tier { padding: 14px 6px; border-radius: 12px; text-align: center; background: var(--panel-2); border-bottom: 4px solid var(--c); }
.tier b { display: block; font: 400 22px/1 var(--display); color: var(--c); }
.tier span { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.tier--common { --c: #c9c2d6; }
.tier--rare { --c: var(--sky); }
.tier--epic { --c: #b57bff; }
.tier--legend { --c: var(--gold); }
.tier--key { --c: #3ee08f; }

/* ── telefon / grind ── */
.phone {
  max-width: 400px; margin-inline: auto; padding: 24px 20px 20px; border-radius: 34px;
  background: linear-gradient(#1b1330, #0d0916);
  border: 3px solid var(--brown);
  box-shadow: 0 0 0 8px #07050c, 0 30px 70px rgba(0, 0, 0, .7), 0 0 80px rgba(242, 178, 52, .12);
}
.phone__head { display: flex; justify-content: space-between; font: 400 17px/1 var(--display); text-transform: uppercase; }
.bar { height: 10px; margin: 14px 0 16px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); transition: width .5s; }
.grind { display: grid; gap: 8px; }
.grind li {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 12px; font-size: 15px;
  background: #1c1420; border: 2px solid #3a2a1c; color: var(--muted);
  transition: border-color .3s, background .3s, color .3s, box-shadow .3s;
}
.grind li i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #4a3214; color: var(--gold); font: 700 14px/1 var(--body); transition: background .3s, color .3s; }
.grind li b { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.grind li.is-active { border-color: var(--gold); background: #2a1e14; color: var(--text); box-shadow: 0 0 18px rgba(242, 178, 52, .3); }
.grind li.is-active i { background: var(--gold); color: #2a1700; }
.grind li.is-done { opacity: .6; }
.grind li.is-done i { background: var(--green); color: #05230f; font-size: 0; }
.grind li.is-done i::before { content: "✓"; font-size: 15px; }
.chestrow { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: #120d1c; border: 2px dashed #4a3214; transition: border-color .3s, box-shadow .3s; }
.chestrow strong { display: block; font: 400 15px/1.2 var(--display); text-transform: uppercase; }
.chestrow small { color: var(--muted); }
.chestrow img { filter: grayscale(.8) brightness(.7); transition: filter .4s, transform .4s; }
.chestrow.is-ready { border-style: solid; border-color: var(--gold); box-shadow: 0 0 26px rgba(242, 178, 52, .45); }
.chestrow.is-ready img { filter: none; transform: scale(1.15) rotate(-6deg); }
.phone__cap { margin-top: 12px; text-align: center; font-size: 12px; color: var(--muted); }

/* ── modovi ── */
.modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 60px; }
.mode {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r);
  background: var(--panel); border: 3px solid var(--brown);
  box-shadow: 0 8px 0 rgba(0, 0, 0, .45);
  transition: transform .25s, box-shadow .25s, border-color .25s, opacity .6s;
}
.mode:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 16px 0 rgba(0, 0, 0, .45), 0 0 40px rgba(242, 178, 52, .25); }
.mode__img { aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.mode__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mode:hover .mode__img img { transform: scale(1.07); }
.mode__img--rps { display: flex; align-items: center; justify-content: center; gap: 4%; background: radial-gradient(circle at 50% 60%, #5a2bb8, #1b1036 70%); }
.mode__img--rps img { width: 26%; height: auto; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
.mode__img--rps img:nth-child(1) { transform: rotate(-10deg); }
.mode__img--rps img:nth-child(3) { transform: rotate(10deg); }
.mode:hover .mode__img--rps img { transform: scale(1.12); }
.mode__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.mode h3 { margin-top: 12px; font-size: 24px; }
.mode p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.chips li { padding: 5px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .07); color: var(--text); }
.tag { align-self: flex-start; display: inline-block; padding: 6px 12px; border-radius: 8px; font: 400 12px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.tag--ruby { background: var(--ruby); color: #fff; }
.tag--new { background: var(--sky); color: #04233a; }
.tag--gold { background: var(--gold); color: #2a1700; }

/* ── borci ── */
.roster { margin-top: 54px; }
.roster__tabs { display: flex; gap: 12px; flex-wrap: wrap; }
.ctab {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 20px 6px 8px;
  border-radius: 99px; border: 3px solid var(--brown); background: rgba(15, 11, 24, .85);
  font: 400 15px/1 var(--display); text-transform: uppercase;
  transition: border-color .15s, background .15s, color .15s, transform .15s;
}
.ctab img { width: 48px; height: 48px; object-fit: contain; }
.ctab:hover { border-color: var(--gold); transform: translateY(-2px); }
.ctab[aria-selected="true"] { background: linear-gradient(#ffdc73, var(--gold)); border-color: var(--gold-hi); color: #2a1700; box-shadow: 0 4px 0 var(--gold-lo); }

.roster__main { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; margin-top: 30px; }
.stage { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; margin-inline: auto; }
.stage__glow { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 178, 52, .38), rgba(124, 92, 255, .18) 55%, transparent 72%); animation: pulse 4s ease-in-out infinite; }
.stage__floor { position: absolute; left: 14%; right: 14%; bottom: 9%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); }
.stage__sprite { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.stage__sprite.is-in { animation: pop .45s cubic-bezier(.2, .9, .3, 1.3); }

.sheet { padding: clamp(24px, 3vw, 38px); border-radius: var(--r); background: rgba(13, 9, 22, .9); border: 3px solid var(--brown); box-shadow: 0 8px 0 rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(242, 178, 52, .22); }
.sheet__class { font: 400 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.sheet__name { margin-top: 8px; font: 400 clamp(34px, 4.6vw, 54px)/1 var(--display); text-transform: uppercase; text-shadow: 0 4px 0 rgba(0, 0, 0, .5); }
.sheet__desc { margin-top: 12px; color: var(--muted); min-height: 3.2em; }
.stats { display: grid; gap: 12px; margin-top: 22px; }
.stats > div { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 14px; }
.stats dt { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.stats dd { height: 14px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.stats dd i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); transition: width .5s cubic-bezier(.2, .8, .3, 1); }
.stats dd.stats__txt { height: auto; background: none; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sheet__label { margin-top: 26px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.skins { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.skin { display: grid; justify-items: center; gap: 4px; width: 104px; padding: 10px 6px 10px; border-radius: 14px; border: 3px solid #3a2a1c; background: #1a1326; font-size: 13px; font-weight: 700; transition: border-color .15s, transform .15s, background .15s; }
.skin img { width: 72px; height: 72px; object-fit: contain; }
.skin:hover { transform: translateY(-3px); border-color: var(--gold); }
.skin[aria-pressed="true"] { border-color: var(--gold); background: #2a1e14; box-shadow: 0 0 18px rgba(242, 178, 52, .3); }

/* ── nagrade ── */
.season {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px;
  margin-top: 56px; padding: clamp(28px, 4vw, 48px); border-radius: 24px;
  background: linear-gradient(120deg, #3a2408, #1a1004 60%);
  border: 3px solid var(--gold);
  box-shadow: 0 10px 0 rgba(0, 0, 0, .5), 0 0 60px rgba(242, 178, 52, .2);
}
.season__rays { position: absolute; z-index: -1; right: -120px; top: 50%; width: 620px; aspect-ratio: 1; translate: 0 -50%; background: url("../assets/img/icons/rays.webp") center / contain no-repeat; opacity: .35; animation: spin 60s linear infinite; }
.season__txt { max-width: 520px; }
.season h3 { margin-top: 14px; font: 400 clamp(32px, 4.6vw, 54px)/1 var(--display); text-transform: uppercase; color: var(--gold-hi); text-shadow: 0 4px 0 #5a3505; }
.season p { margin-top: 12px; color: #e3d3b4; }
.countdown { display: flex; gap: 10px; }
.countdown div { min-width: 78px; padding: 14px 8px 12px; border-radius: 14px; text-align: center; background: rgba(0, 0, 0, .55); border: 2px solid rgba(242, 178, 52, .45); }
.countdown b { display: block; font: 400 32px/1 var(--display); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.countdown span { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.shop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 34px; }
.price { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--gold); }

.progress { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); margin-top: 76px; }
.progress p { margin-top: 10px; color: var(--muted); }
.levels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.levels img { width: 78px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); transition: transform .2s; }
.levels img:hover { transform: translateY(-6px) scale(1.1); }
.medals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px 10px; margin-top: 22px; }
.medals figure { text-align: center; }
.medals img { width: 82px; margin-inline: auto; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .55)); transition: transform .2s; }
.medals figure:hover img { transform: translateY(-6px) scale(1.1); }
.medals figcaption { margin-top: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* ── zajednica ── */
.avatars { display: flex; align-items: center; justify-content: center; gap: 2%; max-width: 520px; margin-inline: auto; }
.ava { --ring: url("../assets/img/frames/ring_plain.webp"); position: relative; flex: 1 1 0; aspect-ratio: 1; animation: bob 5s ease-in-out infinite; }
.ava img { position: absolute; inset: 14%; width: 72%; height: 72%; border-radius: 50%; object-fit: cover; background: #241a45; }
.ava::after { content: ""; position: absolute; inset: 0; background: var(--ring) center / contain no-repeat; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
.ava--big { flex-grow: 1.9; }
.ava--ruby { --ring: url("../assets/img/frames/ring_ruby.webp"); animation-delay: -1s; }
.ava--ice { --ring: url("../assets/img/frames/ring_ice.webp"); animation-delay: -2.2s; }
.ava--emerald { --ring: url("../assets/img/frames/ring_emerald.webp"); animation-delay: -3.1s; }
.ava--legend { --ring: url("../assets/img/frames/ring_legend.webp"); }
.ava--plain { animation-delay: -4s; }

/* ── faq ── */
.faq { margin-top: 44px; display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--panel-2); border: 3px solid #3a2a1c; transition: border-color .2s; }
.faq details[open] { border-color: var(--gold); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #2a1700; font: 400 20px/1 var(--display); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 68ch; }

/* ── cta ── */
.cta {
  position: relative; isolation: isolate; overflow: hidden; color: #2a1700;
  margin-top: calc(var(--slant) * -1); padding: calc(clamp(70px, 8vw, 110px) + var(--slant)) 0 clamp(60px, 7vw, 96px);
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
  background: radial-gradient(90% 120% at 30% 55%, #ffe483 0%, #ffc63c 34%, #f39a1c 68%, #c9660a 100%);
  box-shadow: inset 0 -10px 0 rgba(110, 55, 0, .35);
}
.cta::before {   /* dotted texture */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(rgba(255, 255, 255, .5) 1.5px, transparent 2px) 0 0 / 26px 26px;
  mask-image: linear-gradient(90deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.cta__bg { position: absolute; z-index: -1; left: 30%; top: 55%; width: 1700px; aspect-ratio: 1; translate: -50% -50%; background: url("../assets/img/icons/rays.webp") center / contain no-repeat; opacity: .45; will-change: transform; animation: spin 90s linear infinite; }
.cta__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta__f { position: absolute; width: var(--w); height: auto; filter: drop-shadow(0 10px 10px rgba(110, 55, 0, .4)); animation: bob 5s ease-in-out infinite; }
.cta__f--1 { --w: 74px; left: 4%; top: 30%; rotate: -14deg; }
.cta__f--2 { --w: 56px; left: 44%; top: 20%; rotate: 12deg; animation-delay: -1.3s; }
.cta__f--3 { --w: 44px; right: 7%; top: 30%; rotate: 18deg; animation-delay: -2.4s; opacity: .9; }
.cta__f--4 { --w: 66px; right: 14%; bottom: 14%; rotate: -10deg; animation-delay: -3.2s; }
.cta__f--5 { --w: 36px; left: 12%; bottom: 12%; rotate: 20deg; animation-delay: -4s; opacity: .85; }
.cta__f--6 { --w: 40px; right: 24%; top: 14%; rotate: -20deg; animation-delay: -.7s; opacity: .85; }

.cta__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(20px, 4vw, 60px); }
.cta__crew { position: relative; aspect-ratio: 5 / 4; max-width: 560px; width: 100%; justify-self: end; }
.cta__crew::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 9%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(90, 40, 0, .55), transparent); z-index: 0; }
.cta__c { position: absolute; bottom: 4%; height: auto; aspect-ratio: 1; z-index: 1; }
.cta__c--m { width: 66%; left: 17%; z-index: 2; }
.cta__c--l { width: 64%; left: -16%; bottom: 9%; }
.cta__c--r { width: 44%; left: 62%; bottom: 12%; }

.cta .h2 { font-size: clamp(34px, 4.8vw, 62px); color: #33200a; text-shadow: 0 3px 0 rgba(255, 255, 255, .4); }
.cta .h2 .gold { color: #fff; text-shadow: 0 4px 0 #a85a06, 0 10px 24px rgba(120, 60, 0, .45); }
.cta .lead { margin-top: 16px; color: #4a2c02; font-weight: 600; max-width: 34ch; }
.cta .store { color: var(--gold-hi); background: linear-gradient(#34225a, #140f24); box-shadow: 0 6px 0 #07050c, 0 16px 30px rgba(90, 40, 0, .5), inset 0 2px 0 rgba(255, 255, 255, .14); }
.cta .store--soon { cursor: default; }
.cta__note { margin-top: 18px; font-size: 14px; font-weight: 700; color: #5a3806; }

/* ── footer ── */
.foot { padding: 54px 0 40px; background: #07050c; }
.foot__in { display: grid; gap: 22px; justify-items: center; text-align: center; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.foot__links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.foot__links a:hover { color: var(--gold); }
.foot__fine { max-width: 74ch; font-size: 13px; color: #8a7e96; }
.foot__copy { font-size: 13px; color: #6d6378; }

.is-off, .is-off * { animation-play-state: paused !important; }

/* ── animacije ── */
@keyframes spin { to { rotate: 360deg; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.94); } }
@keyframes pop { from { opacity: 0; transform: scale(.82) translateY(18px); } }
@keyframes pulse { 50% { transform: scale(1.07); opacity: .8; } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes ember {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate(var(--x), -100vh); opacity: 0; }
}

/* ── responsive ── */
@media (max-width: 1020px) {
  .nav__links { gap: 18px; }
  .steps3, .modes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .steps3 { gap: 40px; }
  .shop { grid-template-columns: repeat(2, 1fr); }
  .progress { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav__links {
    position: absolute; inset: 72px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 24px; background: rgba(13, 9, 24, .97);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a:not(.btn) { padding: 16px 4px; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__cta { margin-top: 18px; }

  .hero { padding-top: 110px; min-height: 0; }
  .brand__logo { height: 50px; }
  .hero__bg {
    background:
      linear-gradient(180deg, rgba(11, 8, 20, .82) 0%, rgba(11, 8, 20, .7) 50%, var(--bg) 100%),
      url("../assets/img/hero-gate.webp") center 30% / cover no-repeat;
  }
  .hero__in { text-align: center; }
  .hero__title span, .hero__lead { margin-inline: auto; }
  .stores { justify-content: center; }
  .lineup { position: relative; right: auto; width: min(100%, 520px); height: auto; aspect-ratio: 16 / 10; margin: 10px auto 0; }

  .facts__in { grid-template-columns: repeat(6, 1fr); }
  .fact { grid-column: span 2; }
  .fact:nth-child(4), .fact:nth-child(5) { grid-column: span 3; border-top: 2px solid rgba(90, 50, 0, .18); }
  .fact:nth-child(4) { border-left: 0; }

  .split, .roster__main { grid-template-columns: 1fr; }
  .split--rev .split__txt { order: 0; }
  .stage { max-width: 360px; }
  .cta__in { grid-template-columns: 1fr; text-align: center; }
  .cta__crew { justify-self: center; max-width: 380px; }
  .cta .lead { margin-inline: auto; }
  .cta .stores { justify-content: center; }
  .cta__f--2, .cta__f--6 { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .store { min-width: 0; flex: 1 1 150px; }
  .shop { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .medals { grid-template-columns: repeat(3, 1fr); }
  .medals img { width: 72px; }
  .levels img { width: 58px; }
  .countdown { width: 100%; }
  .countdown div { flex: 1; min-width: 0; }
  .countdown b { font-size: 26px; }
  .ctab { padding: 4px 14px 4px 6px; font-size: 13px; }
  .ctab img { width: 38px; height: 38px; }
  .skin { width: calc(33.333% - 8px); }
  .faq summary { padding: 16px 18px; font-size: 16px; }
  .faq details p { padding: 0 18px 18px; }
}

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

/* ── language switch, publisher block, legal pages ── */
.nav__links a.lang { padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); font: 600 13px/1 var(--body); letter-spacing: .04em; opacity: 1; }
.nav__links a.lang b { color: var(--gold); }
.store--ios { min-width: 0; }
.fine--note { margin-top: 22px; max-width: 80ch; }
.fine a, .faq a, .legal a, .foot__about a { color: var(--gold); }

.foot__about { max-width: 560px; }
.foot__about p { margin-top: 8px; color: var(--muted); }
.foot__about strong { color: var(--text); }
.foot__contact { display: grid; gap: 6px; margin-top: 14px; font-size: 15px; }
.foot__contact div { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.foot__contact dt { color: #8a7e96; }
.foot__contact dt::after { content: ":"; }
.foot__contact dd { color: var(--text); }

.nav--static { position: sticky; top: 0; }
.nav__links--legal { display: flex !important; position: static !important; flex-direction: row !important; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px !important; padding: 0 !important; background: none !important; }
.nav__links--legal a:not(.btn) { padding: 6px 0 !important; border: 0 !important; font-size: 13px !important; }
.legal { padding: 64px 0 96px; background: var(--bg-deep); }
.legal .h2 { font-size: clamp(30px, 4.6vw, 48px); }
.legal__meta { margin-top: 14px; color: var(--muted); font-size: 15px; }
.legal h2 { margin: 44px 0 12px; font: 400 22px/1.2 var(--display); text-transform: uppercase; color: var(--gold); }
.legal h3 { margin: 24px 0 8px; font-size: 18px; }
.legal p { margin-top: 14px; color: #d9cfe2; max-width: 74ch; }
.legal ul, .legal ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; color: #d9cfe2; max-width: 74ch; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal .table-wrap { margin-top: 14px; max-width: 74ch; overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; color: #d9cfe2; font-size: 15px; }
.legal th, .legal td { padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.12); }
.legal th { color: var(--muted); font-weight: 700; }
.legal strong { color: var(--text); }
.legal .btn { margin-top: 8px; }
@media (max-width: 860px) {
  .nav__links a.lang { align-self: flex-start; margin-top: 14px; padding: 10px 16px !important; border: 0 !important; }
}

.cta .store--ios { color: #3a2204; background: rgba(255, 255, 255, .28); box-shadow: inset 0 0 0 2px rgba(90, 45, 0, .35); }
