/* Pseće Dvorište — The Dog House Megaways. Dvorište, kućica, toplo drvo. Raspored: split sa lepljivom kolonom. */
:root {
  --sky: #CFE8F5; --sky2: #EEF7FC; --grass: #5FA052; --grass-d: #3F7A36; --grass-l: #7DBA6B;
  --wood: #A8673A; --wood-l: #C2834F; --wood-d: #7A4524; --wood-dd: #4E2A14; --roof: #8A3F22;
  --paper: #FBF6EE; --card: #FFFDF8; --ink: #2B1E14; --muted: #6B5646; --line: #E6D8C4; --gold: #E3A62F; --gold-l: #FFE3A3; --red: #A9442C;
  --fd: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif; --fb: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;
  --r: 14px; --gap: clamp(16px, 3vw, 40px);
  --plank-v: repeating-linear-gradient(90deg, #A8673A 0 21px, #8E532C 21px 23px, #B07040 23px 44px, #8E532C 44px 46px);
  --plank-h: repeating-linear-gradient(180deg, #9C5E34 0 18px, #7F4826 18px 20px, #A6683A 20px 38px, #7F4826 38px 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--fb); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: #8A4A20; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wood-dd); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--wood-dd); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
h1, h2, h3 { font-family: var(--fd); font-weight: 600; line-height: 1.15; color: var(--wood-dd); letter-spacing: -.005em; }

/* ---------- traka 18+ i zaglavlje ---------- */
.rg-strip { margin: 0; background: var(--wood-dd); color: #F3E2CC; font-size: .8125rem; text-align: center; padding: 5px 12px; }
.rg-strip b { background: var(--gold); color: var(--wood-dd); border-radius: 4px; padding: 0 6px; margin-right: 6px; }
.top { display: flex; align-items: center; gap: 18px; max-width: 1440px; margin: 0 auto; padding: 12px var(--gap); position: relative; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wood-dd); margin-right: auto; min-width: 0; }
.brand .logo { width: 44px; height: 44px; flex: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand b { font: 700 1.35rem/1.05 var(--fd); }
.brand small { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.nav { display: none; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { font: 500 .95rem/1 var(--fd); color: var(--wood-dd); text-decoration: none; white-space: nowrap; padding: 10px 10px; border-radius: 999px; }
.nav a:hover { background: #F1E4D2; }
.nav a[aria-current] { background: var(--wood); color: #FFF7EC; }
.mnav { position: relative; }
.mnav summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font: 600 1rem/1 var(--fd); color: #FFF7EC; background: var(--wood); padding: 11px 16px; border-radius: 999px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 32px)); background: var(--card); border: 2px solid var(--wood); border-radius: var(--r); padding: 8px; box-shadow: 0 18px 40px rgba(78, 42, 20, .22); display: grid; }
.mnav nav a { padding: 12px 12px; border-radius: 10px; text-decoration: none; color: var(--wood-dd); font: 500 1.02rem/1.2 var(--fd); }
.mnav nav a:hover, .mnav nav a[aria-current] { background: #F4E8D8; }
@media (min-width: 1280px) { .nav { display: flex; } .mnav { display: none; } }

/* ---------- raspored: dvorište + kolona ---------- */
.layout { max-width: 1440px; margin: 0 auto; padding: 0 var(--gap) 56px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.col { min-width: 0; counter-reset: sec; }
@media (min-width: 1024px) {
  .layout { grid-template-columns: 318px minmax(0, 1fr); gap: 40px; align-items: start; }
  .p-404 .layout { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
}
@media (min-width: 1280px) { .layout { grid-template-columns: 372px minmax(0, 1fr); gap: 56px; } }

/* ---------- dvorište (lepljiva kolona) ---------- */
.yard { border-radius: 22px; overflow: hidden; background: var(--card); border: 2px solid #E9D9C3; box-shadow: 0 10px 30px rgba(78, 42, 20, .10); display: flex; flex-direction: column; }
@media (min-width: 1024px) { .yard { position: sticky; top: 16px; max-height: calc(100vh - 32px); } }
.scene { position: relative; flex: 1 1 auto; min-height: 250px; height: 300px; overflow: hidden; perspective: 900px; perspective-origin: 50% 20%;
  background: linear-gradient(180deg, var(--sky2) 0%, var(--sky) 62%, #BFE0F0 100%); }
@media (min-width: 1024px) { .scene { height: auto; min-height: 210px; } }
.scene i { position: absolute; display: block; }
.sun { width: 110px; height: 110px; left: -24px; top: -28px; border-radius: 50%; background: radial-gradient(circle, #FFF6D6 0 36%, rgba(255, 238, 180, .55) 37% 52%, rgba(255, 238, 180, 0) 70%); }
.cloud { height: 26px; border-radius: 20px; background: #fff; opacity: .9; animation: drift 16s ease-in-out infinite alternate; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 34px; height: 34px; left: 14px; top: -16px; }
.cloud::after { width: 46px; height: 46px; left: 38px; top: -24px; }
.c1 { width: 110px; left: 18%; top: 34px; }
.c2 { width: 86px; right: 6%; top: 74px; transform: scale(.8); animation-duration: 21s; animation-direction: alternate-reverse; }
@keyframes drift { to { translate: 34px 0; } }
.tree { width: 110px; height: 104px; right: -18px; bottom: 30%; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #8ACB76, #4F9343 68%); box-shadow: -44px 22px 0 -16px #5DA34F; }
.fence { left: 0; right: 0; bottom: 21%; height: 46px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='46'%3E%3Crect y='14' width='26' height='5' fill='%23EDE4D3'/%3E%3Crect y='32' width='26' height='5' fill='%23EDE4D3'/%3E%3Cpath d='M7 7 13 1l6 6v39H7z' fill='%23FFFDF6' stroke='%23DCCFB8'/%3E%3C/svg%3E") repeat-x left bottom; }
.grass { left: 0; right: 0; bottom: 0; height: 24%; background: repeating-linear-gradient(100deg, rgba(255, 255, 255, .05) 0 3px, transparent 3px 9px), linear-gradient(180deg, var(--grass-l), var(--grass) 40%, var(--grass-d)); }
.shadow { left: 50%; bottom: 12%; width: 260px; height: 46px; margin-left: -130px; border-radius: 50%; background: radial-gradient(ellipse, rgba(40, 60, 25, .38), rgba(40, 60, 25, 0) 70%); }

/* CSS 3D kućica: front 190×184, dubina 160, zid 118, zabat 66 */
.stage { position: absolute; left: 50%; bottom: 15%; width: 190px; height: 184px; margin-left: -95px; transform-style: preserve-3d;
  transform: scale(var(--k, 1)) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transform-origin: 50% 100%; transition: transform .5s ease-out; }
.house { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-12deg) rotateY(-30deg); animation: sway 11s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotateX(-12deg) rotateY(-40deg); } to { transform: rotateX(-12deg) rotateY(24deg); } }
.paused .house, .paused .cloud { animation-play-state: paused; }
.hf { position: absolute; }
.h-front, .h-back { left: 0; top: 0; width: 190px; height: 184px; clip-path: polygon(0 66px, 50% 0, 100% 66px, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, 0) 40%), var(--plank-v); }
.h-front { transform: translateZ(80px); }
.h-back { transform: rotateY(180deg) translateZ(80px); filter: brightness(.78); }
.h-left, .h-right { left: 15px; top: 66px; width: 160px; height: 118px; background: linear-gradient(90deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .04)), var(--plank-h); }
.h-left { transform: rotateY(-90deg) translateZ(95px); }
.h-right { transform: rotateY(90deg) translateZ(95px); filter: brightness(.86); }
.h-floor { left: 0; top: 104px; width: 190px; height: 160px; background: #5B3318; transform: rotateX(90deg); }
.roof { top: -58px; width: 132px; height: 182px; background: linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 30%), repeating-linear-gradient(90deg, #8A3F22 0 15px, #6F3018 15px 17px); border-radius: 3px; }
.roof-l { left: -18.5px; transform: rotateZ(-34.8deg) rotateX(90deg) translateZ(3px); }
.roof-r { left: 76.5px; transform: rotateZ(34.8deg) rotateX(90deg) translateZ(3px); filter: brightness(.86); }
.sign { position: absolute; left: 50%; top: 70px; transform: translateX(-50%); min-width: 88px; padding: 3px 8px 4px; text-align: center; background: var(--wood-dd); border: 2px solid var(--gold); border-radius: 7px; color: var(--gold-l); line-height: 1; box-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.sign b { display: block; font: 700 9px/1.1 var(--fd); letter-spacing: .14em; }
.sign span { display: block; font: 700 17px/1.05 var(--fd); font-variant-numeric: tabular-nums; }
.door { position: absolute; left: 50%; bottom: 0; width: 64px; height: 72px; margin-left: -32px; border-radius: 32px 32px 3px 3px; background: radial-gradient(ellipse at 50% 30%, #3D2617, #140A04 75%); box-shadow: inset 0 0 0 5px #6E3D1D, inset 0 8px 14px rgba(0, 0, 0, .6); }

/* brojač u dvorištu */
.meter { padding: 14px 16px 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .12)), var(--plank-h); color: #FFF3E2; border-top: 3px solid var(--wood-dd); }
.m-k { margin: 0 0 8px; font: 600 .95rem/1 var(--fd); letter-spacing: .02em; display: flex; justify-content: space-between; align-items: baseline; }
.m-k small { font: 400 .72rem/1 var(--fb); opacity: .8; }
.m-reels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; height: 64px; padding: 5px; background: rgba(43, 22, 8, .55); border-radius: 9px; }
.m-reel { display: flex; flex-direction: column; gap: 2px; }
.m-reel i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, #FFF0D6, #F0D3A8); }
.m-reel i:nth-child(3n) { background: linear-gradient(180deg, #D9F0FA, #A9D5EA); }
.m-reel i:nth-child(4n) { background: linear-gradient(180deg, #E4F4D8, #A8D58F); }
.m-reel[data-h="2"] i:nth-child(n+3), .m-reel[data-h="3"] i:nth-child(n+4), .m-reel[data-h="4"] i:nth-child(n+5), .m-reel[data-h="5"] i:nth-child(n+6), .m-reel[data-h="6"] i:nth-child(n+7) { display: none; }
.drop i { animation: drop .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.drop i:nth-child(2) { animation-delay: .03s; } .drop i:nth-child(3) { animation-delay: .06s; } .drop i:nth-child(4) { animation-delay: .09s; } .drop i:nth-child(5) { animation-delay: .12s; } .drop i:nth-child(6) { animation-delay: .15s; } .drop i:nth-child(7) { animation-delay: .18s; }
@keyframes drop { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.m-sum { margin: 10px 0 10px; font: 500 .9rem/1.3 var(--fd); font-variant-numeric: tabular-nums; }
.m-sum b { font-size: 1.45rem; color: var(--gold-l); }
.m-act { display: flex; gap: 8px; flex-wrap: wrap; }
.m-btn, .m-demo, .btn { display: inline-flex; align-items: center; gap: 7px; font: 600 .95rem/1 var(--fd); padding: 10px 14px; border-radius: 999px; cursor: pointer; text-decoration: none; border: 0; min-height: 40px; }
.m-btn { background: rgba(255, 243, 226, .16); color: #FFF3E2; box-shadow: inset 0 0 0 1.5px rgba(255, 243, 226, .55); }
.m-btn:hover { background: rgba(255, 243, 226, .28); }
.m-demo, .btn { background: var(--gold); color: var(--wood-dd); box-shadow: 0 3px 0 #A8741A; }
.m-demo:hover, .btn:hover { background: #F0B848; color: var(--wood-dd); }
.toc { padding: 12px 16px 16px; overflow: auto; min-height: 0; flex: 0 1 auto; }
.toc-k { margin: 0 0 6px; font: 600 .8rem/1 var(--fd); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 8px; padding: 5px 6px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .9rem; line-height: 1.3; }
.toc a::before { content: counter(t, decimal-leading-zero); font: 600 .78rem/1.5 var(--fd); color: var(--wood); }
.toc a:hover { background: #F4E8D8; }
@media (max-width: 1023px) {
  .toc { display: none; }
  .yard { flex-direction: row; flex-wrap: wrap; }
  .scene { flex: 1 1 100%; height: 250px; }
  .meter { flex: 1 1 100%; }
  .p-home .yard { order: -1; }
}
@media (max-width: 1023px) and (min-width: 700px) { .scene { flex: 1 1 55%; height: 280px; } .meter { flex: 1 1 45%; border-top: 0; border-left: 3px solid var(--wood-dd); display: flex; flex-direction: column; justify-content: center; } }
@media (max-width: 480px) { .stage { --k: .82; bottom: 11%; } .scene { height: 230px; } }

/* ---------- uvod ---------- */
.intro { padding-top: 6px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--wood-d); }
.eyebrow { margin: 0 0 10px; font: 500 .9rem/1.3 var(--fd); color: var(--grass-d); letter-spacing: .04em; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grass); }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); margin: 0 0 16px; font-weight: 700; color: var(--wood-dd); text-wrap: balance; }
.lead p { font-size: 1.15rem; max-width: 66ch; margin: 0 0 14px; }

/* pseće markice na ogrlici */
.collar { position: relative; margin: 26px 0 8px; padding-top: 14px; }
.collar::before { content: ""; position: absolute; left: -4px; right: -4px; top: 0; height: 18px; border-radius: 9px; background: linear-gradient(180deg, #B8452F, #8C2F1E); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .12), 0 3px 0 rgba(78, 42, 20, .15); }
.collar::after { content: ""; position: absolute; left: 4px; right: 4px; top: 8px; border-top: 1.5px dashed rgba(255, 220, 190, .7); }
.tags { list-style: none; margin: 0; padding: 0 6px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; position: relative; z-index: 1; }
.tag { position: relative; margin-top: 18px; padding: 26px 10px 16px; text-align: center; border-radius: 50% 50% 46% 46% / 30% 30% 40% 40%; background: radial-gradient(circle at 30% 20%, #FFF6DA, #F2D58E 55%, #D9AE55); color: var(--wood-dd); box-shadow: inset 0 -4px 0 rgba(120, 80, 20, .25), 0 6px 14px rgba(78, 42, 20, .16); transform-origin: 50% -16px; transform: rotate(var(--rt, 0deg)); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.tag::before { content: ""; position: absolute; left: 50%; top: -18px; width: 16px; height: 22px; margin-left: -8px; border: 3px solid #A0A0A0; border-radius: 50%; background: transparent; }
.tag::after { content: ""; position: absolute; left: 50%; top: 9px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); }
.t0 { --rt: -3deg; } .t1 { --rt: 2deg; } .t2 { --rt: -1.5deg; } .t3 { --rt: 3deg; }
.t2 { background: radial-gradient(circle at 30% 20%, #F2FAFE, #BFDDEB 55%, #8FB9CC); }
.t3 { background: radial-gradient(circle at 30% 20%, #F1FAEA, #BFE0A8 55%, #8DBE70); }
.tag:hover { transform: rotate(calc(var(--rt) * -2)); }
.tag-k { display: block; font: 600 .74rem/1.1 var(--fd); letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.tag b { display: block; font: 700 clamp(1.15rem, .9rem + .8vw, 1.6rem)/1.1 var(--fd); margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.tag small { font-size: .74rem; color: #6B4A2A; }
@media (max-width: 699px) { .tags { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } .collar::before, .collar::after { display: none; } .collar { padding-top: 0; } }

/* ---------- demo ---------- */
.demo { margin: 34px 0 10px; border-radius: 20px; padding: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(0, 0, 0, .14)), var(--plank-v); box-shadow: 0 16px 40px rgba(78, 42, 20, .22), inset 0 0 0 3px var(--wood-dd); }
.demo-bar { display: flex; align-items: center; gap: 10px; padding: 2px 6px 10px; color: #FFF3E2; font: 500 .9rem/1.2 var(--fd); flex-wrap: wrap; }
.live { width: 9px; height: 9px; border-radius: 50%; background: #8EE07A; box-shadow: 0 0 0 4px rgba(142, 224, 122, .25); }
.demo-fs { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 243, 226, .16); color: #FFF3E2; border: 0; border-radius: 999px; padding: 8px 12px; font: 600 .85rem/1 var(--fd); cursor: pointer; }
.demo-fs[hidden] { display: none; }
.demo-box { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #2A170B; }
.demo-box .poster, .demo-box .poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster-css { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, var(--grass) 0 38%, transparent 39%), linear-gradient(180deg, var(--sky2), var(--sky)); }
.demo-veil { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 16px; background: radial-gradient(ellipse at 50% 55%, rgba(30, 16, 6, .25), rgba(30, 16, 6, .62)); color: #FFF3E2; }
.demo-veil p { margin: 0; font-size: .95rem; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.demo-play { display: inline-flex; align-items: center; gap: 12px; font: 700 1.35rem/1 var(--fd); color: var(--wood-dd); background: var(--gold); border: 0; border-radius: 999px; padding: 16px 28px 16px 20px; cursor: pointer; box-shadow: 0 5px 0 #A8741A, 0 14px 30px rgba(0, 0, 0, .35); transition: transform .2s; }
.demo-play .ic { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--wood-dd); fill: var(--gold-l); }
.demo-play:hover { transform: translateY(-2px); }
.demo-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.demo-note { margin: 10px 6px 0; color: #F3E2CC; font-size: .85rem; }
.demo-off-t { font: 600 1.2rem/1.3 var(--fd); max-width: 34ch; }
.demo-off .demo-veil a { color: var(--gold-l); }
@media (max-width: 699px) { .demo { margin-left: -6px; margin-right: -6px; padding: 8px; } .demo-box { aspect-ratio: 10 / 16; max-height: 82vh; } .demo-play { font-size: 1.2rem; } }

/* ---------- karakteristike: drvena tabla ---------- */
.w-h { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); margin: 0 0 16px; }
.board { margin: 40px 0; padding: 22px clamp(16px, 3vw, 30px) 24px; border-radius: 18px; background: var(--card); border: 2px solid var(--line); position: relative; }
.board::before, .board::after { content: ""; position: absolute; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F7E2A6, #B88A2E); }
.board::before { left: 14px; } .board::after { right: 14px; }
.board .w-h { text-align: center; }
.specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.specs div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 2px; border-bottom: 1.5px dashed var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; text-align: right; }
@media (max-width: 699px) { .specs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- tekst sekcija ---------- */
.sec { margin: 44px 0; }
.sec-h { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.15rem); margin: 0 0 16px; padding-bottom: 12px; position: relative; display: flex; gap: 12px; align-items: baseline; text-wrap: balance; }
.sec-h::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); flex: none; font: 600 .95rem/1 var(--fd); color: #FFF7EC; background: var(--wood); border-radius: 8px; padding: 6px 7px 5px; transform: translateY(-4px); }
.sec-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 120px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='8'%3E%3Cpath d='M1 5c8-5 12 3 20-1s12-3 20 0 12 3 20-1 12-3 20 0 12 3 20-1 10-2 18 1' fill='none' stroke='%235FA052' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.sec > p, .sec > ul, .sec > ol, .sec > aside { max-width: 70ch; }
.sec p { margin: 0 0 14px; }
.sec ul { list-style: none; padding: 0; margin: 0 0 16px; }
.sec ul li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.sec ul li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 18px; height: 18px; background: var(--wood); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='6.2' cy='9.4' r='2.2'/%3E%3Ccircle cx='9.9' cy='5.6' r='2.3'/%3E%3Ccircle cx='14.1' cy='5.6' r='2.3'/%3E%3Ccircle cx='17.8' cy='9.4' r='2.2'/%3E%3Cpath d='M12 11.3c-3.3 0-6.3 3.7-6.3 6.3 0 1.8 1.5 2.7 3 2.7 1.3 0 2.1-.7 3.3-.7s2 .7 3.3.7c1.5 0 3-.9 3-2.7 0-2.6-3-6.3-6.3-6.3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='6.2' cy='9.4' r='2.2'/%3E%3Ccircle cx='9.9' cy='5.6' r='2.3'/%3E%3Ccircle cx='14.1' cy='5.6' r='2.3'/%3E%3Ccircle cx='17.8' cy='9.4' r='2.2'/%3E%3Cpath d='M12 11.3c-3.3 0-6.3 3.7-6.3 6.3 0 1.8 1.5 2.7 3 2.7 1.3 0 2.1-.7 3.3-.7s2 .7 3.3.7c1.5 0 3-.9 3-2.7 0-2.6-3-6.3-6.3-6.3z'/%3E%3C/svg%3E") center / contain no-repeat; }
.sec ol { list-style: none; counter-reset: o; padding: 0; margin: 0 0 18px; }
.sec ol li { counter-increment: o; position: relative; padding: 2px 0 12px 48px; }
.sec ol li::before { content: counter(o); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 1rem/1 var(--fd); color: #FFF7EC; background: var(--plank-v); box-shadow: inset 0 0 0 2px var(--wood-dd); }
.sec ol li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 2px; border-left: 2px dashed #D8C3A5; }
.note { position: relative; margin: 20px 0; padding: 16px 18px 14px 52px; background: #FFF4CF; border-radius: 4px 14px 14px 14px; box-shadow: 0 6px 14px rgba(120, 90, 20, .12); transform: rotate(-.4deg); }
.note::before { content: ""; position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; background: var(--wood); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5.6' cy='9.6' r='2.6'/%3E%3Ccircle cx='5.6' cy='14.4' r='2.6'/%3E%3Ccircle cx='18.4' cy='9.6' r='2.6'/%3E%3Ccircle cx='18.4' cy='14.4' r='2.6'/%3E%3Crect x='5.6' y='10.1' width='12.8' height='3.8' rx='1'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5.6' cy='9.6' r='2.6'/%3E%3Ccircle cx='5.6' cy='14.4' r='2.6'/%3E%3Ccircle cx='18.4' cy='9.6' r='2.6'/%3E%3Ccircle cx='18.4' cy='14.4' r='2.6'/%3E%3Crect x='5.6' y='10.1' width='12.8' height='3.8' rx='1'/%3E%3C/svg%3E") center / contain no-repeat; }
.note p { margin: 0; }
/* ritam: neke sekcije na travnatoj ili nebeskoj podlozi */
.sec-wild, .sec-volatilnost, .sec-susedni, .sec-raining, .sec-ulog, .sec-niski, .sec-rizik { background: #EEF6E8; border-radius: 20px; padding: 26px clamp(16px, 3vw, 32px) 12px; border: 1.5px solid #D4E8C8; }
.sec-max-win, .sec-bez-kaskada, .sec-sticky, .sec-greske, .sec-specijalni, .sec-dostupnost { background: #EAF4FA; border-radius: 20px; padding: 26px clamp(16px, 3vw, 32px) 12px; border: 1.5px solid #CFE3EE; }
.pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.pc > div { border-radius: 16px; padding: 18px 18px 6px; }
.pc-a { background: #EEF6E8; border: 1.5px solid #CFE5C1; }
.pc-b { background: #FBEDE6; border: 1.5px solid #EED2C5; }
.pc-l { margin: 0 0 10px !important; font: 600 1.05rem/1.2 var(--fd); color: var(--grass-d); }
.pc-b .pc-l { color: var(--red); }
.pc-b ul li::before { background: var(--red); }
@media (max-width: 699px) { .pc { grid-template-columns: minmax(0, 1fr); } }
.cta-line { margin: 4px 0 30px; }

/* ---------- Megaways kalkulator ---------- */
.mw { margin: 30px 0 44px; padding: 22px clamp(14px, 3vw, 30px) 22px; border-radius: 22px; background: linear-gradient(180deg, #FFFDF8, #F6EDE0); border: 2px solid var(--line); box-shadow: 0 12px 30px rgba(78, 42, 20, .10); }
.mw-top p { margin: 0 0 18px; color: var(--muted); max-width: 64ch; }
.mw-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(6px, 1.2vw, 12px); padding: clamp(8px, 1.5vw, 16px); border-radius: 18px; background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .18)), var(--plank-v); box-shadow: inset 0 0 0 3px var(--wood-dd); }
.mw-reel { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 0; }
.mw-b { height: 40px; border: 0; border-radius: 10px; background: rgba(255, 243, 226, .9); color: var(--wood-dd); cursor: pointer; display: grid; place-items: center; }
.mw-b:hover { background: #fff; }
.mw-b:disabled { opacity: .35; cursor: default; }
.mw-b .ic { width: 20px; height: 20px; }
.mw-col { height: clamp(190px, 26vw, 280px); display: flex; flex-direction: column; gap: 3px; padding: 3px; border-radius: 10px; background: #5A2F15; }
.mw-col i { flex: 1; min-height: 0; border-radius: 6px; display: grid; place-items: center; font: 700 clamp(.85rem, .6rem + .9vw, 1.35rem)/1 var(--fd); font-style: normal; background: linear-gradient(180deg, #FFF7E8, #F3DEBB); color: var(--wood-d); overflow: hidden; }
.mw-col .g-a { color: #B8452F; } .mw-col .g-k { color: #C08A1E; } .mw-col .g-q { color: #8A4FA0; } .mw-col .g-j { color: #2F78A8; } .mw-col .g-t { color: #3F8A36; }
.mw-col .g-house { background: linear-gradient(180deg, #FFE7A6, #F1C25A); }
.gi { width: 60%; height: 60%; max-height: 28px; fill: currentColor; }
.mw-col .g-bone .gi { fill: #C9B48E; } .mw-col .g-paw .gi { fill: var(--wood); } .mw-col .g-house .gi { fill: var(--roof); }
.mw-reel[data-h="2"] .mw-col i:nth-child(n+3), .mw-reel[data-h="3"] .mw-col i:nth-child(n+4), .mw-reel[data-h="4"] .mw-col i:nth-child(n+5), .mw-reel[data-h="5"] .mw-col i:nth-child(n+6), .mw-reel[data-h="6"] .mw-col i:nth-child(n+7) { display: none; }
.mw-n { text-align: center; color: #FFF3E2; line-height: 1; }
.mw-n small { display: block; font-size: .7rem; opacity: .8; }
.mw-n b { font: 700 1.4rem/1.1 var(--fd); }
.mw-res { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 18px 0 6px; }
.mw-f { margin: 0; font: 500 clamp(1.05rem, .9rem + .6vw, 1.4rem)/1.2 var(--fd); color: var(--muted); font-variant-numeric: tabular-nums; }
.mw-w { margin: 0; }
.mw-w b { font: 700 clamp(2.1rem, 1.5rem + 2.4vw, 3.3rem)/1 var(--fd); color: var(--wood-dd); font-variant-numeric: tabular-nums; }
.mw-w span { font: 500 1.05rem/1 var(--fd); color: var(--muted); }
.mw-scale { margin: 12px 0 28px; }
.mw-track { position: relative; height: 12px; border-radius: 6px; background: #E9DCC8; }
.mw-fill { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(90deg, var(--grass-l), var(--grass) 60%, var(--wood)); transform-origin: 0 50%; transition: transform .5s ease; }
.mw-pin { position: absolute; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 4px var(--wood), 0 3px 8px rgba(0, 0, 0, .25); transition: left .5s ease; }
.mw-ticks { position: relative; height: 18px; margin-top: 8px; font-size: .78rem; color: var(--muted); }
.mw-ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.mw-ticks span:first-child { transform: none; } .mw-ticks span:last-child { transform: translateX(-100%); }
.mw-pre { display: flex; flex-wrap: wrap; gap: 8px; }
.mw-pre button, .pay-pre button, .fs-sc button, .fs-modes button { font: 500 .92rem/1.15 var(--fd); color: var(--wood-dd); background: var(--card); border: 1.5px solid #D9C6AA; border-radius: 999px; padding: 9px 14px; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; gap: 6px; }
.mw-pre button b { color: var(--wood); }
.mw-pre button:hover, .pay-pre button:hover, .fs-sc button:hover { border-color: var(--wood); }
.mw-pre button[aria-pressed="true"], .pay-pre button[aria-pressed="true"], .fs-sc button[aria-pressed="true"] { background: var(--wood); border-color: var(--wood); color: #FFF7EC; }
.mw-pre button[aria-pressed="true"] b { color: var(--gold-l); }
.mw-rnd { background: var(--gold) !important; border-color: var(--gold) !important; }
.mw-note, .fs-note, .pay-note { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
@media (max-width: 480px) { .mw-b { height: 38px; } .mw-n b { font-size: 1.15rem; } }

/* ---------- poređenje bonus režima ---------- */
.fs { margin: 30px 0 44px; padding: 22px clamp(14px, 3vw, 30px); border-radius: 22px; background: linear-gradient(180deg, #F1F8FC, #E3F0F7); border: 2px solid #CFE3EE; }
.fs-ctl { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-bottom: 18px; }
.fs-modes { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: #fff; border: 1.5px solid #CFE3EE; flex-wrap: wrap; }
.fs-modes button { border: 0; flex-direction: column; align-items: flex-start; gap: 1px; border-radius: 999px; padding: 8px 18px; background: transparent; }
.fs-modes button small { font: 400 .74rem/1 var(--fb); color: var(--muted); }
.fs-modes button[aria-pressed="true"] { background: var(--wood-dd); color: #FFF7EC; }
.fs-modes button[aria-pressed="true"] small { color: #E9D6BE; }
.fs-sc { display: flex; gap: 6px; flex-wrap: wrap; }
.fs-sc button { padding: 8px 12px; font-weight: 700; }
.fs-sc .ic { width: 18px; height: 18px; }
.fs-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.fs-board { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 8px; aspect-ratio: 6 / 5; border-radius: 14px; background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .2)), var(--plank-v); box-shadow: inset 0 0 0 3px var(--wood-dd); grid-auto-flow: column; }
.fs-board i { border-radius: 6px; background: #6B3A1C; position: relative; font: 700 clamp(.7rem, .5rem + .6vw, 1rem)/1 var(--fd); font-style: normal; color: var(--wood-dd); display: grid; place-items: center; }
.fs-board i.w { background: linear-gradient(180deg, #FFE7A6, #F1C25A); box-shadow: 0 0 0 2px #FFF3C4; animation: pop .35s cubic-bezier(.3, 1.6, .5, 1) both; }
.fs-board i.w::before { content: ""; position: absolute; inset: 18% 22% 34%; background: var(--roof); clip-path: polygon(50% 0, 100% 45%, 86% 45%, 86% 100%, 14% 100%, 14% 45%, 0 45%); opacity: .85; }
.fs-board i.w span { position: relative; z-index: 1; align-self: end; margin-bottom: 6%; font-size: .8em; }
.fs-board i.fresh { box-shadow: 0 0 0 3px #fff, 0 0 16px rgba(255, 220, 120, .9); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.fs-big { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fs-big b { font: 700 clamp(3rem, 2rem + 3vw, 4.4rem)/1 var(--fd); color: var(--wood-dd); font-variant-numeric: tabular-nums; }
.fs-big span { font: 500 1.1rem/1.2 var(--fd); color: var(--muted); }
.fs-desc { margin: 8px 0 10px; }
.fs-prog { margin: 0 0 12px; font: 500 .95rem/1 var(--fd); color: var(--grass-d); font-variant-numeric: tabular-nums; }
.fs-run { display: inline-flex; align-items: center; gap: 8px; font: 600 1rem/1 var(--fd); border: 0; border-radius: 999px; padding: 12px 18px; background: var(--wood-dd); color: #FFF7EC; cursor: pointer; min-height: 44px; }
.fs-run:hover { background: var(--wood-d); }
.fs-run:disabled { opacity: .6; cursor: progress; }
.tbl-wrap { overflow-x: auto; position: relative; margin-top: 20px; border-radius: 14px; -webkit-overflow-scrolling: touch; }
.fs-tbl, .pay-tbl { width: 100%; border-collapse: collapse; background: var(--card); font-variant-numeric: tabular-nums; }
.fs-tbl caption { text-align: left; font: 600 1rem/1.3 var(--fd); color: var(--wood-dd); padding: 0 0 8px; }
.fs-tbl th, .fs-tbl td { padding: 10px 14px; border-bottom: 1px solid #DCEAF2; text-align: center; }
.fs-tbl thead th { background: var(--wood-dd); color: #FFF7EC; font: 500 .9rem/1.2 var(--fd); }
.fs-tbl tbody th { font-family: var(--fd); color: var(--wood); }
@media (max-width: 699px) { .fs-body { grid-template-columns: minmax(0, 1fr); } .fs-modes { width: 100%; } .fs-modes button { flex: 1; } }

/* ---------- tabela isplata ---------- */
.pay, .rtpw, .buy { margin: 30px 0 44px; padding: 22px clamp(14px, 3vw, 30px); border-radius: 22px; background: var(--card); border: 2px solid var(--line); }
.pay-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 6px; }
.pay-ctl label { font: 600 1rem/1.2 var(--fd); color: var(--wood-dd); }
.pay-in { display: inline-flex; align-items: center; border: 2px solid var(--wood); border-radius: 12px; overflow: hidden; background: #fff; }
.pay-in input { width: 120px; border: 0; padding: 9px 10px; font: 600 1.1rem/1.2 var(--fb); color: var(--ink); background: transparent; }
.pay-in span { padding: 9px 12px; background: var(--wood); color: #FFF7EC; font: 600 .9rem/1.2 var(--fd); }
.pay-pre { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-tbl th, .pay-tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.pay-tbl thead th { background: var(--wood-dd); color: #FFF7EC; font: 500 .9rem/1.2 var(--fd); }
.pay-tbl thead th:first-child, .pay-tbl tbody th { text-align: left; }
.pay-tbl tbody th { font: 600 1rem/1.2 var(--fd); color: var(--wood-dd); display: flex; align-items: center; gap: 8px; }
.pay-tbl td b { display: block; font-weight: 700; }
.pay-tbl td span { display: block; font-size: .85rem; color: var(--grass-d); }
.pay-tbl td[colspan] { text-align: left; white-space: normal; }
.pay-tbl .t-high { background: #FFF8EC; }
.pay-tbl .t-wild, .pay-tbl .t-scatter { background: #F1F8EC; }
.pi { width: 22px; height: 22px; fill: var(--wood); flex: none; }
.pi-t { display: inline-grid; place-items: center; font: 700 .8rem/1 var(--fd); color: #fff; background: #B8452F; border-radius: 6px; }
.t-low .pi:not(.pi-t) { fill: #B9A07A; }

/* RTP trake */
.rtp-bars { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.rtp-bars li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 14px; align-items: center; }
.rb-k { font: 700 1.2rem/1.1 var(--fd); color: var(--wood-dd); }
.rb-k small { display: block; font: 400 .78rem/1.2 var(--fb); color: var(--muted); }
.rb-bar { height: 22px; border-radius: 11px; background: #F2E6D6; overflow: hidden; }
.rb-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--grass), var(--grass-d)); transform-origin: 0 50%; border-radius: 11px; }
.rtp-bars li:nth-child(2) .rb-bar i { background: linear-gradient(90deg, var(--wood-l), var(--wood)); }
.rtp-bars li:nth-child(3) .rb-bar i { background: linear-gradient(90deg, #C9866A, var(--red)); }
.rb-v { grid-column: 2; font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rb-v b { color: var(--ink); }
@media (max-width: 480px) { .rtp-bars li { grid-template-columns: minmax(0, 1fr); } .rb-v { grid-column: 1; } }
.vol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 6px 0 40px; }
.vol-i { background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 6px; }
.vol-k { font-size: .85rem; color: var(--muted); }
.vol-d { display: flex; gap: 5px; }
.vol-d i { width: 22px; height: 10px; border-radius: 5px; background: #EADCC8; }
.vol-d i.on { background: var(--wood); }
.vol-i:last-child .vol-d i.on { background: var(--red); }
.vol-i b { font: 600 1.1rem/1.2 var(--fd); color: var(--wood-dd); }
@media (max-width: 480px) { .vol { grid-template-columns: minmax(0, 1fr); } }
.buy-out { margin: 16px 0 0; font: 500 1.1rem/1.3 var(--fd); color: var(--muted); }
.buy-out b { font: 700 clamp(2.2rem, 1.6rem + 2vw, 3.2rem)/1 var(--fd); color: var(--wood-dd); font-variant-numeric: tabular-nums; }

/* mapa komandi */
.map { margin: 26px 0 44px; }
.map-img { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 3px var(--wood-dd), 0 12px 28px rgba(78, 42, 20, .18); }
.hs { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; font: 700 .95rem/1 var(--fd); color: var(--wood-dd); background: var(--gold); box-shadow: 0 0 0 3px #fff, 0 3px 8px rgba(0, 0, 0, .4); }
.map-l { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: m; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.map-l li { counter-increment: m; display: flex; gap: 10px; align-items: baseline; font-size: .95rem; }
.map-l li::before { content: counter(m); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 .8rem/1 var(--fd); background: var(--gold); color: var(--wood-dd); }
@media (max-width: 699px) { .hs { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: .75rem; box-shadow: 0 0 0 2px #fff; } .map-l { grid-template-columns: minmax(0, 1fr); } }

/* ---------- galerija ---------- */
.gal { margin: 30px 0 46px; }
.gal-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.gf { margin: 0; grid-column: span 2; background: var(--card); border-radius: 14px; padding: 8px; border: 1.5px solid var(--line); }
.gf-big { grid-column: span 4; }
.gf-p { grid-column: span 2; display: flex; flex-direction: column; }
.gf-p .gf-a { flex: 1; display: grid; place-items: center; background: #2A170B; border-radius: 18px; padding: 10px; }
.gf-p img { max-height: 100%; width: auto; max-width: 100%; border-radius: 10px; }
.gf-big .gf-a, .gf:not(.gf-p) .gf-a { display: block; border-radius: 9px; overflow: hidden; }
.gf figcaption { font-size: .85rem; color: var(--muted); padding: 8px 4px 2px; line-height: 1.4; }
@media (min-width: 700px) { .gf-big + .gf-p .gf-a { max-height: none; } .gf-p img { max-height: 300px; } }
@media (max-width: 699px) { .gal-grid { grid-template-columns: minmax(0, 1fr); } .gf, .gf-big, .gf-p { grid-column: auto; } .gf-p img { max-height: 420px; } }

/* ---------- FAQ ---------- */
.faq { margin: 50px 0; }
.qa { border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); margin-bottom: 10px; }
.qa summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; position: relative; font: 600 1.08rem/1.35 var(--fd); color: var(--wood-dd); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--wood) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6z' fill='%23FFF7EC'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .25s; }
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--grass-d); }
.qa[open] { border-color: #CFE5C1; background: #FAFDF7; }
.qa-a { padding: 0 18px 6px; }
.qa-a p { margin: 0 0 14px; max-width: 70ch; }

/* ---------- putokaz (ostale stranice) ---------- */
.posts { margin: 56px 0 10px; }
.post { position: relative; padding: 4px 0 8px; }
.pole { position: absolute; left: 50%; top: -6px; bottom: 0; width: 14px; margin-left: -7px; border-radius: 7px 7px 2px 2px; background: linear-gradient(90deg, #6E3D1D, #9A5C32 45%, #6E3D1D); }
.post ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; position: relative; }
.post li.pl { grid-column: 1; padding-right: 2px; }
.post li.pr { grid-column: 2; padding-left: 2px; }
.post a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; padding: 12px 22px; min-height: 64px; justify-content: center; color: #FFF7EC; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(0, 0, 0, .1)), var(--plank-h); box-shadow: inset 0 0 0 2px var(--wood-dd); transition: transform .25s; }
.post li.pl a { clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%); padding-left: 34px; text-align: right; align-items: flex-end; }
.post li.pr a { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); padding-right: 34px; }
.post li:nth-child(4n+2) a { transform: rotate(1deg); } .post li:nth-child(4n+3) a { transform: rotate(-1deg); }
.post a:hover { transform: translateX(var(--nx, 4px)); color: #fff; }
.post li.pl a:hover { --nx: -4px; }
.post a b { font: 600 1.1rem/1.2 var(--fd); }
.post a span { font-size: .85rem; opacity: .88; }
@media (max-width: 699px) {
  .pole { left: 10px; margin-left: 0; }
  .post ul { grid-template-columns: minmax(0, 1fr); padding-left: 30px; }
  .post li.pl, .post li.pr { grid-column: 1; padding: 0; }
  .post li.pl a { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); padding: 12px 34px 12px 18px; text-align: left; align-items: flex-start; }
  .post li.pl a:hover { --nx: 4px; }
}

/* ---------- podnožje ---------- */
.foot { background: linear-gradient(180deg, var(--grass), var(--grass-d) 60%, #2F5E2A); color: #EAF5E2; position: relative; margin-top: 40px; }
.foot-fence { height: 54px; margin-top: -54px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='54'%3E%3Crect y='18' width='26' height='6' fill='%23EDE4D3'/%3E%3Crect y='38' width='26' height='6' fill='%23EDE4D3'/%3E%3Cpath d='M7 8 13 1l6 7v46H7z' fill='%23FFFDF6' stroke='%23DCCFB8'/%3E%3C/svg%3E") repeat-x left bottom; }
.foot-in { max-width: 1440px; margin: 0 auto; padding: 34px var(--gap) 20px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 30px; }
.foot .brand { color: #fff; margin: 0 0 10px; }
.foot .brand small { color: #D7EBCB; }
.foot p { margin: 0 0 10px; font-size: .92rem; }
.foot-n { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; align-content: start; }
.foot-n a, .foot-rg a { color: #fff; font-size: .95rem; padding: 4px 0; }
.foot-rg { background: rgba(0, 0, 0, .18); border-radius: 16px; padding: 16px 18px; }
.rg-badge { display: inline-block; font: 700 1.2rem/1 var(--fd); background: var(--gold); color: var(--wood-dd); border-radius: 8px; padding: 6px 9px; }
.foot-legal { max-width: 1440px; margin: 0 auto; padding: 14px var(--gap) 26px; font-size: .8rem !important; color: #CFE5C3; border-top: 1px solid rgba(255, 255, 255, .15); }
@media (max-width: 899px) { .foot-in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- šape za kursorom ---------- */
.paws { position: fixed; inset: 0; pointer-events: none; z-index: 30; overflow: hidden; }
.paw { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; fill: var(--wood); opacity: 0; animation: paw 1.6s ease-out forwards; }
@keyframes paw { 0% { opacity: 0; transform: var(--t) scale(.6); } 15% { opacity: .42; transform: var(--t) scale(1); } 100% { opacity: 0; transform: var(--t) scale(1); } }

/* ---------- 404 ---------- */
.p-404 .intro { text-align: center; padding: 30px 0 10px; }
.p-404 .lead p { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .house { transform: rotateX(-12deg) rotateY(-28deg); }
}

/* ---------- dorade posle prvog pregleda ---------- */
.stage { --k: .84; bottom: 13%; }
@media (min-width: 1024px) {
  .scene { flex: 0 0 auto; height: clamp(230px, 31vh, 290px); }
  .toc { flex: 1 1 auto; }
}
@media (max-height: 760px) and (min-width: 1024px) { .scene { height: 210px; } .stage { --k: .72; } }
.lead-rest { margin: 26px 0 0; }
.lead-rest p { font-size: 1.0625rem; }
.fs-body { grid-template-columns: minmax(0, 430px) minmax(0, 1fr); }
.fs-board i::after { content: attr(data-g); color: #E9CBA2; opacity: .5; }
.fs-board i.w::after { content: none; }
.fs-board i:nth-child(-n+5) { background: #4F2914; }
@media (max-width: 699px) {
  .fs-body { grid-template-columns: minmax(0, 1fr); }
  .scene { height: 210px; }
  .stage { --k: .74; bottom: 9%; }
  .meter { padding: 10px 14px 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .m-k, .m-reels { display: none; }
  .m-sum { margin: 0; flex: 1 1 100%; }
  .m-act { flex: 1 1 100%; }
  .m-act > * { flex: 1; justify-content: center; }
  .specs div { gap: 10px; }
  .specs dt { flex: 0 0 auto; max-width: 42%; }
  .specs dd { flex: 1 1 auto; text-wrap: balance; }
  .gf-p img { max-height: 340px; }
  .brand small { font-size: .72rem; }
}
.pay-tbl tbody th { display: table-cell; vertical-align: middle; }
.pay-tbl tbody th .pi { display: inline-block; vertical-align: -5px; margin-right: 8px; }
.pay-tbl tbody th .pi-t { display: inline-grid; width: 22px; height: 22px; vertical-align: -4px; }
.pay-tbl td[colspan] b { display: inline; }
.fs-tbl td { font: 600 1.05rem/1.2 var(--fd); color: var(--wood-dd); }
.demo-veil p { background: rgba(30, 16, 6, .62); padding: 6px 14px; border-radius: 999px; }
.sec-demo-saveti { border-left: 6px solid var(--gold); padding-left: clamp(14px, 2.5vw, 26px); }
@media (max-width: 480px) {
  .pay-tbl th, .pay-tbl td { padding: 8px 5px; font-size: .85rem; }
  .pay-tbl tbody th { white-space: normal; font-size: .88rem; }
  .pay-tbl tbody th .pi { display: none; }
  .pay-tbl td span { font-size: .74rem; }
  .pay-tbl td[colspan] { font-size: .85rem; }
}

/* ---------- prvi ekran glavne: pravi art igre ---------- */
.brand-ico { width: 36px; height: 36px; flex: none; border-radius: 10px; box-shadow: 0 2px 0 var(--wood-d), 0 4px 10px rgba(78, 42, 20, .2); }
.hero { max-width: 1440px; margin: 0 auto 28px; padding: 4px var(--gap) 0; }
.hero-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 26px; background: var(--card); border: 2px solid #E9D9C3; box-shadow: 0 14px 34px rgba(78, 42, 20, .14); }
.hero-art { position: relative; height: min(58vw, 460px); overflow: hidden; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% 60%; transform-origin: 70% 70%; animation: yardDrift 26s ease-in-out infinite alternate; }
.hero-in { position: relative; padding: 0 clamp(18px, 4vw, 40px) 26px; }
.hero-logo { display: block; position: relative; width: min(76%, 360px); height: auto; margin: -46px auto 10px; filter: drop-shadow(0 6px 12px rgba(78, 42, 20, .35)); }
.hero .lead p { max-width: 60ch; }
.hero-cta { margin: 6px 0 0; }
.hero-cta .btn { min-height: 48px; padding: 12px 22px; font-size: 1.08rem; }
.intro-home .collar { margin-top: 4px; }
@keyframes yardDrift { from { transform: scale(1); } to { transform: scale(1.045); } }
@media (min-width: 1200px) {
  .hero-card { min-height: clamp(480px, 42vw, 600px); display: flex; align-items: center; }
  .hero-art { position: absolute; inset: 0; height: auto; z-index: -2; }
  .hero-art img { object-position: 78% 70%; }
  .hero-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, rgba(251, 246, 238, .97) 0%, rgba(251, 246, 238, .92) 32%, rgba(251, 246, 238, .5) 42%, rgba(251, 246, 238, 0) 50%); }
  .hero-in { width: min(560px, 44%); padding: 34px 0 34px clamp(28px, 4vw, 56px); }
  .hero-logo { margin: 0 0 10px -8px; width: min(100%, 400px); }
  .hero h1 { font-size: clamp(2rem, 1rem + 2.1vw, 3rem); }
  .hero .lead p { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } }

/* ---------- рейтинг priređivača, инструменты и автор: деревянные таблички во дворе ---------- */
.rt, .tw, .au { --tw-bg: transparent; --tw-card: var(--card); --tw-ink: var(--ink); --tw-mute: var(--muted); --tw-line: var(--line); --tw-accent: var(--wood-d); --tw-radius: 18px; --tw-btn-ink: var(--wood-dd); --tw-series: var(--grass-d); }
.rt { margin-block: 44px; }
.rt__head h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.15rem); padding-bottom: 12px; position: relative; }
.rt__head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 120px; height: 8px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--wood) 0 22px, var(--wood-d) 22px 24px, var(--wood-l) 24px 46px, var(--wood-d) 46px 48px); }
.rt__meta { color: var(--muted); }
.rt__list { gap: 16px; }
.rt__item { border: 2px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 10px 26px rgba(78, 42, 20, .1); padding: 18px 18px 16px 16px; }
.rt__item:first-child { border-color: var(--gold); background: linear-gradient(180deg, #FFF9E8, var(--card) 60%); box-shadow: 0 0 0 3px var(--gold-l), 0 14px 30px rgba(78, 42, 20, .16); }
.rt__rank { width: 2.6em; height: 2.9em; border: 0; border-radius: 10px 10px 18px 18px; background: var(--plank-v); color: #FFF7EC; font: 600 1.25rem/1 var(--fd); text-shadow: 0 1px 0 rgba(78, 42, 20, .6); box-shadow: inset 0 -3px 0 rgba(78, 42, 20, .35), 0 3px 0 #6A3A1C; }
.rt__item:first-child .rt__rank { background: linear-gradient(180deg, #F7D77A, var(--gold)); color: var(--wood-dd); text-shadow: none; box-shadow: inset 0 -3px 0 rgba(168, 116, 26, .45), 0 3px 0 #A8741A; }
.rt__name { font: 600 1.25rem/1.2 var(--fd); color: var(--wood-dd); }
.rt__score { padding: 6px 12px 7px; border-radius: 999px; background: var(--wood-dd); box-shadow: 0 3px 0 #2E190A; }
.rt__score b { font: 600 1.4rem/1 var(--fd); color: var(--gold-l); }
.rt__score span { color: #E8D2B4; }
.rt__logo { border-radius: 12px; box-shadow: 0 0 0 2px var(--line); }
.rt__logo--light { box-shadow: 0 0 0 2px var(--line); }
.rt__bonus { border: 2px dashed #D9C3A0; border-radius: 14px; background: #FFF8EC; }
.rt__bonus--nd { border: 2px solid #CFE5C1; background: #F1F8EC; }
.rt__bonus--none { background: transparent; }
.rt__lbl { font-family: var(--fd); font-weight: 500; letter-spacing: .06em; color: var(--grass-d); }
.rt__btn { border-radius: 999px; background: var(--gold); color: var(--wood-dd); font: 600 1rem/1.2 var(--fd); box-shadow: 0 3px 0 #A8741A; transition: transform .15s; }
.rt__btn:hover { transform: translateY(-1px); }
.rt__btn:focus-visible { outline-color: var(--wood-dd); }
.rt__steps li::marker { color: var(--wood-d); font-weight: 700; }
.rt__why summary { color: var(--wood-d); font-weight: 600; }
.rt__why li { border-bottom-color: #D9C3A0; }
.rt__terms { color: var(--muted); }
.rt__text { max-width: 70ch; }
.rt__warn { border: 0; border-left: 6px solid var(--red); border-radius: 0 14px 14px 0; background: #FBEDE6; color: #5C3A2A; }
.rt__warn b { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: var(--red); color: #fff; }
.tw { margin-block: 30px 44px; padding: 22px clamp(14px, 3vw, 30px); border: 2px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, #FFFDF8, #F6EDE0); box-shadow: 0 12px 30px rgba(78, 42, 20, .1); }
.tw__h { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); }
.tw__f { font: 600 .95rem/1.3 var(--fd); color: var(--wood-dd); }
.tw__f input, .tw__f select { border: 2px solid var(--wood); border-radius: 12px; background: #fff; color: var(--ink); font-family: var(--fb); font-weight: 600; }
.tw__btn { border-radius: 999px; background: var(--gold); color: var(--wood-dd); box-shadow: 0 3px 0 #A8741A; font-family: var(--fd); font-weight: 600; }
.tw__o { border: 0; border-radius: 14px; background: var(--wood-dd); box-shadow: 0 3px 0 #2E190A; }
.tw__o dt { color: #E8D2B4; }
.tw__o dd { color: var(--gold-l); font-family: var(--fd); font-weight: 600; }
.tw__t th { font-family: var(--fd); color: var(--wood-dd); }
.tw__verdict { background: #FFF8EC; }
.tw__dna { background: #FFF8EC; }
.au { margin: 40px 0 10px; padding: 16px 20px; border: 2px solid var(--line); border-radius: 20px; background: var(--card); position: relative; }
.au::after { content: ""; position: absolute; right: 18px; top: -10px; width: 56px; height: 18px; border-radius: 4px; background: var(--plank-v); }
.au img { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--wood); }
.au a { color: #8A4A20; }
.rt-method { margin-block: 22px; padding: 8px 14px; border: 2px solid var(--line); border-radius: 16px; background: var(--card); }
.rt-method__t th { font-family: var(--fd); color: var(--wood-dd); }
@media (max-width: 560px) { .rt__item { padding: 16px 12px 14px; } .tw { padding: 18px 14px; } }
@media (prefers-reduced-motion: reduce) { .rt__btn { transition: none; } .rt__btn:hover { transform: none; } }
