/* =========================================================
   Sirius Gaming – neon RGB tema (inspirirano Govee rasvjetom)
   Boje se mijenjaju na jednom mjestu: :root ispod.
   ========================================================= */

@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --glow { syntax: '<color>'; inherits: true; initial-value: #ff3dd8; }

:root {
  --night:   #0d0a22;   /* soba s ugašenim svjetlom */
  --panel:   #171239;
  --panel-2: #1f1948;
  --line:    rgba(190, 180, 255, .16);
  --ink:     #f1efff;
  --muted:   #aca6d8;

  --cyan:    #2ee6ff;
  --magenta: #ff3dd8;
  --lime:    #8dff5a;
  --amber:   #ffb43d;
  --violet:  #9b6bff;
  --red:     #ff4d6d;
  --wa:      #2fe07a;

  --strip: conic-gradient(from var(--spin), var(--magenta), var(--violet), var(--cyan), var(--lime), var(--amber), var(--red), var(--magenta));
  --strip-flat: linear-gradient(90deg, var(--magenta), var(--violet), var(--cyan), var(--lime), var(--amber));
  --accent: var(--cyan);
  --glow: var(--magenta);

  --font-display: 'Tilt Neon', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;
  --wrap: 1120px;
  --header-h: 68px;

  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Scene (odabir boje svjetla) */
[data-scene="cyan"]    { --scene: var(--cyan); }
[data-scene="magenta"] { --scene: var(--magenta); }
[data-scene="lime"]    { --scene: var(--lime); }
[data-scene="amber"]   { --scene: var(--amber); }
[data-scene="cyan"], [data-scene="magenta"], [data-scene="lime"], [data-scene="amber"] {
  --strip: linear-gradient(var(--scene), var(--scene));
  --strip-flat: linear-gradient(90deg, var(--scene), var(--scene));
  --accent: var(--scene);
  --glow: var(--scene);
}

*, *::before, *::after { box-sizing: inherit; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px); }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(155, 107, 255, .18), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(46, 230, 255, .08), transparent 60%),
    var(--night);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--accent); color: var(--night); padding: .5rem 1rem; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico-lg { width: 2.5rem; height: 2.5rem; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(13, 10, 34, .85); backdrop-filter: blur(12px); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(13, 10, 34, .85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--strip-flat); opacity: .7; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.25rem; margin-right: auto; }
.brand img { width: auto; height: 38px; }
.brand-sub { font-family: var(--font-body); font-size: .95rem; color: var(--muted); padding-left: .75rem; border-left: 1px solid var(--line); }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: .25rem; }
.site-nav ul a { display: block; padding: .5rem .7rem; color: var(--muted); text-decoration: none; font-weight: 500; border-radius: var(--r-sm); font-size: .95rem; }
.site-nav ul a:hover { color: var(--ink); background: var(--panel); }
.site-nav ul a[aria-current="page"] { color: var(--ink); background: var(--panel); box-shadow: inset 0 -2px 0 var(--accent); }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: .8rem; padding: .3rem .65rem; border-radius: 999px; }
.lang-switch a[aria-current="true"] { background: var(--accent); color: var(--night); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: var(--r-sm); padding: .45rem; cursor: pointer; }

@media (max-width: 1259px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1.25rem 1.5rem; background: var(--night); border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: .75rem .5rem; font-size: 1.05rem; }
  .lang-switch { align-self: flex-start; }
}

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem;
  font: 700 1rem/1.2 var(--font-body);
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: box-shadow .2s, background-color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--night); box-shadow: 0 0 0 0 transparent; }
.btn-primary:hover { box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.btn-ghost:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.btn-wa { background: var(--wa); color: #04210f; width: 100%; font-size: 1.05rem; }
.btn-wa:hover { box-shadow: 0 0 24px rgba(47, 224, 122, .55); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Hero s LED trakom ---------- */
.hero { padding: clamp(1rem, 3vw, 2rem) 0 .5rem; }
.led { position: relative; isolation: isolate; border-radius: var(--r-lg); padding: 3px; }
/* RGB "komet" koji putuje u krug oko okvira (preko blagog ljubičastog prstena).
   Prsten = .led-ring: veliki sloj s duginim kometom koji se rotira (radi u svim preglednicima). */
.led {
  --ring-base: rgba(155, 107, 255, .28);
  --stops: var(--ring-base) 0deg, var(--ring-base) 190deg,
    var(--magenta) 250deg, var(--amber) 285deg, var(--lime) 315deg, var(--cyan) 340deg, #fff 356deg, var(--ring-base) 360deg;
  --ring-speed: 3.2s;   /* brzina kruga: manji broj = brže */
}
[data-scene="cyan"] .led, [data-scene="magenta"] .led, [data-scene="lime"] .led, [data-scene="amber"] .led {
  --ring-base: color-mix(in srgb, var(--scene) 25%, transparent);
  --stops: var(--ring-base) 0deg, var(--ring-base) 220deg, var(--scene) 320deg, #fff 356deg, var(--ring-base) 360deg;
}
.led > .led-ring { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: -1; }
/* Sadržaj unutar okvira: zaobljeni rubovi točno prate unutarnji rub svjetlosnog prstena (3 px uži radijus) */
.led > *:not(.led-ring) { position: relative; border-radius: calc(var(--r-lg) - 3px); }
.led-ring::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 300%; aspect-ratio: 1 / 1;
  background: conic-gradient(from 0deg, var(--stops));
  transform: translate(-50%, -50%) rotate(0deg);
  animation: ring-spin var(--ring-speed) linear infinite;
}
@keyframes ring-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
/* Sjaj ispod okvira prati komet (u preglednicima koji to podržavaju; inače sjaj stoji, a prsten se i dalje vrti) */
.led::after {
  content: ""; position: absolute; inset: 10px; z-index: -2; border-radius: inherit;
  background: conic-gradient(from var(--spin), var(--stops));
  filter: blur(22px); opacity: .7;
  animation: spin var(--ring-speed) linear infinite;
}
@keyframes spin { to { --spin: 360deg; } }

.hero-panel {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(155, 107, 255, .16), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(46, 230, 255, .08), transparent 70%),
    linear-gradient(160deg, var(--panel-2), var(--panel) 55%, #120e2d);
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  display: grid; gap: 1.5rem 3rem; align-items: center;
}
@media (min-width: 900px) {
  .hero-panel.has-side { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}
.hero-main { display: grid; justify-items: start; gap: .9rem; }
.hero-title { margin: 0; line-height: 0; width: min(100%, 420px); }
/* Logo s blagim RGB sjajem; u RGB sceni sjaj polako mijenja boju. Za logo bez sjaja obrišite liniju "filter". */
.hero-wordmark {
  width: 100%; height: auto;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--glow) 55%, transparent));
}
[data-scene="rgb"] .hero-wordmark { animation: glowcycle 12s linear infinite; }
@keyframes glowcycle {
  0%, 100% { --glow: #ff3dd8; } 20% { --glow: #9b6bff; } 40% { --glow: #2ee6ff; }
  60% { --glow: #8dff5a; } 80% { --glow: #ffb43d; }
}
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.12rem); max-width: 42ch; color: #dcd8ff; }
.open-chip { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; color: var(--lime); background: rgba(141, 255, 90, .08); border: 1px solid rgba(141, 255, 90, .3); padding: .3rem .85rem; border-radius: 999px; font-size: .92rem; }
.hero-main .actions { margin-top: .25rem; }

/* Desna strana: nadolazeća događanja */
.hero-side { display: grid; gap: .75rem; align-content: center; }
.hero-side-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.next-label { color: var(--accent); font-size: .95rem; font-weight: 700; font-family: var(--font-body); }
.next-all { font-size: .9rem; }
.next-list { display: grid; gap: .6rem; }
.next-event {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 1rem; align-items: center;
  padding: .6rem; border-radius: var(--r-md);
  background: rgba(13, 10, 34, .6); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.next-event:hover { border-color: var(--accent); }
.next-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-sm); background: #08061a; }
.next-thumb-empty { display: grid; place-items: center; color: var(--accent); }
.next-thumb-empty .ico { width: 1.75rem; height: 1.75rem; }
.next-text { display: grid; gap: .15rem; min-width: 0; }
.next-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.next-date { color: var(--muted); font-size: .88rem; }

.scenes { display: flex; align-items: center; gap: .6rem; margin-top: .9rem; justify-content: flex-end; }
.scenes-label { color: var(--muted); font-size: .85rem; margin-right: .25rem; }
.scene-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--night); outline: 1.5px solid var(--line); cursor: pointer; padding: 0; }
.scene-dot[aria-pressed="true"] { outline: 2px solid #fff; box-shadow: 0 0 12px rgba(255, 255, 255, .5); }
.scene-rgb { background: conic-gradient(var(--magenta), var(--violet), var(--cyan), var(--lime), var(--amber), var(--magenta)); }
.scene-cyan { background: var(--cyan); }
.scene-magenta { background: var(--magenta); }
.scene-lime { background: var(--lime); }
.scene-amber { background: var(--amber); }

/* ---------- Mini igra ---------- */
.game { margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); overflow: hidden; }
.game-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1rem; padding: .55rem 1rem; border-bottom: 1px solid var(--line); }
.game-title { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.game-score { display: flex; gap: 1.25rem; color: var(--muted); font-size: .9rem; }
.game-score b { color: var(--ink); font-variant-numeric: tabular-nums; }
.game-canvas { display: block; width: 100%; height: 200px; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.game-canvas:focus-visible { outline-offset: -3px; }
@media (max-width: 600px) { .game-canvas { height: 240px; } }

/* ---------- Sekcije ---------- */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  display: inline-block; padding-bottom: .6rem; margin-bottom: 1.75rem;
  position: relative;
}
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; border-radius: 3px; background: var(--strip-flat); box-shadow: 0 0 14px rgba(155, 107, 255, .6); }
.section-lead { color: var(--muted); max-width: 60ch; margin: -.75rem 0 1.75rem; }
.sub-title { font-size: 1.15rem; margin: 2.5rem 0 1rem; color: var(--muted); font-weight: 500; }
.empty { color: var(--muted); max-width: 60ch; padding: 1.5rem; border: 1px dashed var(--line); border-radius: var(--r-md); }

/* ---------- Događanja (tekst iznad slike) ---------- */
.event-grid { display: grid; align-items: start; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.event {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden;
}
.event:target { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 30px color-mix(in srgb, var(--accent) 35%, transparent); }
.event-info { padding: 1.25rem 1.25rem 1rem; display: grid; gap: .5rem; }
.event-date { display: flex; align-items: center; gap: .45rem; color: var(--accent); font-weight: 700; font-size: .92rem; }
.event h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }
.event-text { color: #d6d2f5; }
.event-image { display: block; margin-top: auto; background: #08061a; }
.event-image img { width: 100%; max-height: 520px; object-fit: contain; }

/* ---------- Rođendani ---------- */
.section-bday { background: linear-gradient(180deg, transparent, rgba(46, 230, 255, .04) 30%, rgba(255, 61, 216, .05) 80%, transparent); }
.bday-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; }
.bday-intro > p { color: #d6d2f5; max-width: 46ch; }
.bday-times { display: grid; gap: .6rem; margin: 1.5rem 0; }
.bday-times li { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.bday-times .ico { color: var(--accent); }
.bday-only { display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.bday-only .ico { color: var(--wa); margin-top: .15rem; }

.bday-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 4vw, 2rem); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-narrow { max-width: 220px; }
.field-row .field-narrow { max-width: none; }
label { font-weight: 500; font-size: .95rem; }
.opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #0f0b28; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: .7rem .85rem; height: 48px;
}
textarea { height: auto; min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #6f6a99; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .7; }
select:disabled { opacity: .6; }
[aria-invalid="true"] { border-color: var(--red); }
.field-err { display: none; color: var(--red); font-size: .88rem; }
.field:has([aria-invalid="true"]) .field-err { display: block; }
.field-hint { color: var(--muted); font-size: .85rem; min-height: 1.2em; }
.form-error { background: rgba(255, 77, 109, .1); border: 1px solid rgba(255, 77, 109, .4); color: #ffc2cd; padding: .75rem 1rem; border-radius: var(--r-sm); }
.form-note { color: var(--muted); font-size: .85rem; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Radno vrijeme ---------- */
.hours { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.hours-block { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem 1.5rem 1.75rem; display: grid; gap: .5rem; align-content: start; }
.hours-block h3 { font-size: 1rem; font-weight: 500; color: var(--muted); }
.hours-days { font-family: var(--font-display); font-size: 1.6rem; }
.hours-big { font-family: var(--font-display); font-size: clamp(2.25rem, 11vw, 4.75rem); line-height: 1; white-space: nowrap; }
.hours-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.hours-line:last-child { border-bottom: 0; }
.hours-when { font-size: 1.15rem; }
.hours-mid { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1.1; }
.neon-cyan    { color: #d9fbff; text-shadow: 0 0 10px var(--cyan), 0 0 28px var(--cyan); }
.neon-magenta { color: #ffe0f8; text-shadow: 0 0 10px var(--magenta), 0 0 28px var(--magenta); }
.neon-lime    { color: #ecffe3; text-shadow: 0 0 10px var(--lime), 0 0 28px var(--lime); }

/* ---------- Usluge ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.25rem 2.5rem; margin-bottom: 2rem; }
.service { position: relative; padding: .25rem 0 .25rem 1.25rem; }
.service::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: var(--tone); box-shadow: 0 0 10px var(--tone), 0 0 2px var(--tone); }
.service h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.service p { color: var(--muted); max-width: 52ch; }
.service-featured {
  grid-column: 1 / -1;
  display: grid; gap: .6rem; justify-items: start;
  padding: 1.25rem 1.5rem 1.5rem 1.75rem;
  background: linear-gradient(120deg, color-mix(in srgb, var(--tone) 10%, var(--panel)), var(--panel) 70%);
  border: 1px solid color-mix(in srgb, var(--tone) 35%, transparent);
  border-radius: var(--r-md);
}
.service-featured::before { top: 1rem; bottom: 1rem; }
.service-featured h3 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; margin: 0; }
.service-featured p { color: #dcd8ff; font-size: 1.05rem; }
.service-featured .btn { margin-top: .4rem; }
.tone-0 { --tone: var(--magenta); } .tone-1 { --tone: var(--cyan); } .tone-2 { --tone: var(--lime); } .tone-3 { --tone: var(--amber); } .tone-4 { --tone: var(--violet); }

/* ---------- Mreže ---------- */
.follow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.follow-btn {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .1rem .85rem;
  padding: 1rem 1.15rem; border-radius: var(--r-md);
  background: var(--panel); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 700;
}
.follow-btn .ico { grid-row: span 2; width: 2rem; height: 2rem; color: var(--net); filter: drop-shadow(0 0 6px var(--net)); }
.follow-btn .handle { color: var(--muted); font-weight: 400; font-size: .9rem; }
.follow-btn:hover { border-color: var(--net); }
.follow-instagram { --net: var(--magenta); }
.follow-tiktok { --net: var(--cyan); }
.follow-facebook { --net: #5b8cff; }

.feed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(45%, 200px), 1fr)); gap: .75rem; }
.feed-item { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.feed-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.feed-item:hover img { transform: scale(1.04); }
.feed-badge { position: absolute; right: .5rem; bottom: .5rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: rgba(13, 10, 34, .75); color: #fff; }
.feed-badge .ico { width: 1.1rem; height: 1.1rem; }

.embeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.embed { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel); overflow: hidden; min-height: 260px; display: grid; }
.embed.loaded { background: #fff; display: block; }
.embed[data-embed="tiktok"].loaded { background: var(--panel); padding: .5rem; }
.embed iframe { display: block; width: 100%; border: 0; }
.embed-placeholder { display: grid; place-content: center; justify-items: center; gap: .9rem; padding: 2rem; text-align: center; color: var(--muted); }
.embed-placeholder .ico-lg { color: var(--ink); opacity: .8; }
.embed-note { font-size: .82rem; max-width: 32ch; }

/* ---------- Kalendar ---------- */
.embed-cal { min-height: 420px; }
.embed-cal.loaded { background: #fff; }
/* Tamni izgled: Googleov kalendar nema tamnu temu, pa ga invertiramo (boje ostaju približno iste) */
.cal-dark.loaded { background: var(--panel); }
.cal-dark iframe { filter: invert(.9) hue-rotate(180deg) saturate(1.2); }
.cal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; margin-top: 1rem; }
.cal-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .92rem; }
.cal-legend li { display: flex; align-items: center; gap: .5rem; }
.swatch { width: 14px; height: 14px; border-radius: 4px; box-shadow: 0 0 8px currentColor; }
.cal-open { font-size: .92rem; }
.cal-cta { margin-top: 1.5rem; }
.bday-check { margin-bottom: 1rem; }
.bday-check a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; }

/* ---------- Lokacija ---------- */
.loc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.loc-address { display: flex; gap: .5rem; align-items: center; font-size: 1.25rem; font-weight: 700; margin-bottom: .35rem; }
.loc-address .ico { color: var(--accent); }
.loc-layout .actions { margin-top: 1.5rem; }
.embed-map { min-height: 360px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 1.5rem; margin-top: 2rem; color: var(--muted); font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--strip-flat); opacity: .6; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.footer-inner p + p { margin-top: .25rem; }
.footer-logo { width: 140px; height: auto; margin-bottom: .75rem; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); }
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2rem; font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer-links a, .footer-links .link-btn { color: var(--muted); font-size: inherit; }
.footer-links a:hover, .footer-links .link-btn:hover { color: var(--ink); }

/* ---------- Gumb koji izgleda kao poveznica ---------- */
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.embed-always { font-size: .82rem; color: var(--muted); }

/* ---------- Obavijest o kolačićima ---------- */
.consent {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
  padding: 0 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.consent-box {
  pointer-events: auto;
  width: min(100%, 720px); margin-inline: auto;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 -4px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(155, 107, 255, .15);
  padding: 1.1rem 1.25rem 1.25rem;
  display: grid; gap: .8rem;
  max-height: calc(100vh - 2rem); overflow-y: auto;
}
.consent-title { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; }
.consent-text { color: #d6d2f5; font-size: .95rem; }
@media (max-width: 600px) { .consent-text { font-size: .88rem; } .consent-box { padding: 1rem; gap: .65rem; } }
.consent-options { border: 0; margin: 0; padding: 0; display: grid; gap: .5rem; }
.consent-opt { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; }
.consent-opt input { width: 20px; height: 20px; min-height: 0; margin-top: .1rem; accent-color: var(--accent); }
.consent-opt b { display: block; font-size: .95rem; }
.consent-opt small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
/* "Prihvati" i "Odbij" namjerno izgledaju jednako – zakon traži da odbijanje bude jednako lako kao prihvaćanje */
.btn-consent { flex: 1 1 140px; min-height: 44px; background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.btn-consent:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); }

/* ---------- Pravila privatnosti ---------- */
.legal-wrap { max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin: 2.25rem 0 .75rem; }
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; color: var(--ink); }
.legal p, .legal li { color: #d6d2f5; max-width: 70ch; }
.legal p + p { margin-top: .75rem; }
.legal .muted { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
.legal-lead { font-size: 1.1rem; color: var(--ink) !important; }
.legal-list { list-style: disc; padding-left: 1.25rem; display: grid; gap: .4rem; margin: .75rem 0; }
.table-scroll { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--line); border-radius: var(--r-sm); }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.legal-table th, .legal-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: var(--panel); font-weight: 700; }
.legal-table tr:last-child td { border-bottom: 0; }
mark.todo { background: rgba(255, 180, 61, .2); color: var(--amber); padding: 0 .3rem; border-radius: 4px; }
code { background: #0f0b28; padding: .1rem .35rem; border-radius: 6px; font-size: .9em; }

/* ---------- Mobitel ---------- */
@media (max-width: 820px) {
  .bday-layout, .loc-layout { grid-template-columns: 1fr; }
  .scenes { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .brand img { height: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .field-narrow { max-width: none; }
  .actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* RGB okvir oko loga se namjerno vrti uvijek (odluka vlasnika); ostale animacije se gase */
  [data-scene="rgb"] .hero-wordmark { animation: none; }
  .feed-item img { transition: none; }
}

/* SEO tekst u sekciji rođendana */
.bday-seo { color: var(--ink) !important; font-size: 1.08rem; margin-bottom: 1.25rem; }
.bday-sub { font-size: 1.1rem; margin-bottom: .4rem; }

/* ---------- Napomene o rođendanima ---------- */
.hours-note, .bday-note { color: var(--muted); font-size: .92rem; margin-top: .75rem; max-width: 52ch; }
.bday-note { margin: -.5rem 0 1rem; }
.bday-times li span b { color: var(--ink); margin-right: .35rem; }

/* ---------- Podstranice (Igre, Shop) ---------- */
.page-head { padding-bottom: 0; }
.page-head .section-lead { margin: -.75rem 0 0; font-size: 1.1rem; }
.section-tight { padding-top: 2rem; }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; }

/* ---------- Karusel fotografija ---------- */
.carousel { position: relative; border-radius: var(--r-md); overflow: hidden; background: #08061a; aspect-ratio: 4 / 3; }
.carousel-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.carousel-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.carousel-slide img { width: 100%; height: 100%; }
.carousel-cover .carousel-slide img { object-fit: cover; }
.carousel-contain .carousel-slide img { object-fit: contain; padding: .5rem; }
.carousel-empty { display: grid; place-items: center; color: var(--muted); }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(13, 10, 34, .7); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding: 0 0 3px;
}
.carousel-btn:hover { background: var(--accent); color: var(--night); }
.carousel-prev { left: .6rem; }
.carousel-next { right: .6rem; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: .6rem; display: flex; justify-content: center; gap: .4rem; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .45); cursor: pointer; }
.carousel-dots button[aria-current="true"] { background: #fff; box-shadow: 0 0 8px var(--accent); }

/* ---------- Igre ---------- */
.game-list { display: grid; gap: 2rem; }
.game-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1rem, 2.5vw, 1.5rem);
  position: relative;
}
.game-card::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: -1px; height: 2px; border-radius: 2px; background: var(--tone); box-shadow: 0 0 14px var(--tone); }
.game-card:nth-child(even) .carousel { order: 2; }
.game-info { display: grid; gap: 1rem; justify-items: start; align-content: start; }
.game-name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.game-text { color: #d6d2f5; }
.price-box { width: 100%; background: rgba(13, 10, 34, .55); border: 1px solid var(--line); border-radius: var(--r-md); padding: .9rem 1.1rem; }
.price-title { color: var(--muted); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.price-list { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: .25rem; }
.price-list b { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; color: var(--accent); text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 50%, transparent); }
.price-note { color: var(--muted); font-size: .9rem; margin-top: .25rem; }
@media (max-width: 820px) {
  .game-card { grid-template-columns: 1fr; }
  .game-card:nth-child(even) .carousel { order: 0; }
}

/* ---------- Shop ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1.25rem; }
.product { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.product .carousel { border-radius: 0; aspect-ratio: 1; }
.product-info { display: flex; flex-direction: column; gap: .5rem; padding: 1rem 1.1rem 1.1rem; flex: 1; }
.product-title { font-size: 1.15rem; font-weight: 700; font-family: var(--font-body); }
.product-text { color: var(--muted); font-size: .95rem; }
.product-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-top: auto; padding-top: .5rem; }
.product-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .92rem; }
.section-shop { padding-top: clamp(1rem, 3vw, 2rem); }

/* ---------- Web igre ---------- */
.webgame { display: grid; gap: .6rem; }
.webgame-frame {
  position: relative; width: 100%; margin-inline: auto;
  border-radius: var(--r-md); overflow: hidden; background: #0d1b4d;
  border: 1px solid var(--line); box-shadow: 0 0 30px rgba(46, 230, 255, .12);
}
.webgame-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* Oblik prozora: računalo */
.webgame-landscape .webgame-frame { aspect-ratio: 16 / 9; max-height: 78vh; max-height: 78svh; }
.webgame-portrait  .webgame-frame { aspect-ratio: 3 / 4; max-width: 520px; max-height: 82vh; max-height: 82svh; }
.webgame-square    .webgame-frame { aspect-ratio: 1; max-width: 640px; }
/* Oblik prozora: mobitel (više mjesta u visinu za igranje prstom) */
@media (max-width: 640px) {
  .webgame-landscape .webgame-frame { aspect-ratio: 4 / 5; }
  .webgame-portrait  .webgame-frame { aspect-ratio: 9 / 16; max-width: none; }
}
.webgame-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; }
.webgame-portrait .webgame-bar, .webgame-square .webgame-bar { max-width: 640px; width: 100%; margin-inline: auto; }
.webgame-open { font-size: .9rem; }
.webgame-frame:fullscreen { max-width: none; max-height: none; aspect-ratio: auto; border-radius: 0; border: 0; }

.featured-game { margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); padding: clamp(1rem, 2.5vw, 1.5rem); display: grid; gap: 1rem; }
.featured-label { color: var(--accent); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.featured-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.2rem); margin-top: .15rem; }
.featured-text { color: #d6d2f5; max-width: 70ch; margin-top: .35rem; }
.featured-more { font-size: .95rem; }

.webgame-list { display: grid; gap: 3rem; }
.webgame-card { display: grid; gap: .9rem; }

/* ---------- Ponude ---------- */
.offer {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1rem, 2.5vw, 1.5rem);
}
.offer-featured {
  position: relative; margin-bottom: 2.5rem;
  background: linear-gradient(120deg, color-mix(in srgb, var(--amber) 10%, var(--panel)), var(--panel) 60%);
  border-color: color-mix(in srgb, var(--amber) 40%, transparent);
  box-shadow: 0 0 40px rgba(255, 180, 61, .12);
}
.offer-info { display: grid; gap: .8rem; justify-items: start; align-content: center; }
.offer-label { color: var(--amber); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.offer-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; }
.offer-dates { display: flex; align-items: center; gap: .45rem; color: var(--accent); font-weight: 700; font-size: .95rem; }
.offer-text { color: #d6d2f5; }
.offer-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: .25rem; }
.offer-price { font-family: var(--font-display); font-size: 1.8rem; color: var(--amber); text-shadow: 0 0 12px rgba(255, 180, 61, .45); }
.offer-more { font-size: .95rem; }
.offer-list { display: grid; gap: 2rem; }
.offer-list .offer:nth-child(even) .carousel { order: 2; }
@media (max-width: 820px) {
  .offer { grid-template-columns: 1fr; }
  .offer-list .offer:nth-child(even) .carousel { order: 0; }
}

/* ---------- Ponude i događanja: podijeljeni panel ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); overflow: hidden; }
.split-only-offer, .split-only-events { grid-template-columns: minmax(0, 1fr); }
.split-col { padding: clamp(1rem, 2.5vw, 1.5rem); display: grid; gap: 1rem; align-content: start; min-width: 0; }
.split-col + .split-col { border-left: 1px solid var(--line); }
.split-offer { background: linear-gradient(160deg, color-mix(in srgb, var(--amber) 9%, var(--panel)), var(--panel) 65%); }
.col-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.col-label { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.split-offer .col-label { color: var(--amber); }
.split-events .col-label { color: var(--accent); }
.col-link { font-size: .9rem; white-space: nowrap; }

.split-offer-card { display: grid; gap: .8rem; justify-items: start; }
.split-offer-card .carousel { width: 100%; aspect-ratio: 16 / 9; }
.o-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; }
.o-dates { display: flex; align-items: center; gap: .45rem; color: var(--accent); font-weight: 700; font-size: .92rem; }
.o-text { color: #d6d2f5; }
.o-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
/* samo ponuda: slika lijevo, tekst desno */
@media (min-width: 861px) {
  .split-only-offer .split-offer-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 2rem; align-items: center; }
  .split-only-offer .split-offer-card .carousel { grid-row: span 5; }
}

.ev-list { display: grid; gap: .75rem; }
.split-only-events .ev-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.ev {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: .9rem; align-items: start;
  padding: .7rem; border-radius: var(--r-md); background: rgba(13, 10, 34, .55); border: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.ev:target { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 24px color-mix(in srgb, var(--accent) 30%, transparent); }
.ev-poster { display: block; width: 96px; aspect-ratio: 3 / 4; border-radius: var(--r-sm); overflow: hidden; background: #08061a; }
.ev-poster img { width: 100%; height: 100%; object-fit: cover; }
.ev-poster-empty { display: grid; place-items: center; color: var(--accent); }
.ev-poster-empty .ico { width: 1.75rem; height: 1.75rem; }
.ev-body { display: grid; gap: .3rem; align-content: start; min-width: 0; }
.ev-date { display: flex; align-items: center; gap: .4rem; color: var(--accent); font-weight: 700; font-size: .85rem; }
.ev-title { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.15; }
.ev-text { color: #cfcaf0; font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ev-more { font-size: .88rem; justify-self: start; }
/* "Prikaži više": puni tekst i veliki plakat */
.ev.is-open { grid-template-columns: 1fr; }
.ev.is-open .ev-poster { width: 100%; max-width: 420px; aspect-ratio: auto; justify-self: center; }
.ev.is-open .ev-poster img { height: auto; object-fit: contain; }
.ev.is-open .ev-text { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }

@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-col + .split-col { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Izdvojena igra (Naše igre) na naslovnici ---------- */
.featured-game-label { color: var(--accent); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: -.5rem 0 .9rem; }
.section-featured-game .game-card { --tone: var(--cyan); }
.game-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.game-all { font-size: .95rem; }

/* ---------- STEM radionice ---------- */
.ws-facts { display: grid; gap: .3rem; }
.ws-facts li { color: var(--ink); font-weight: 500; }
.ws-facts span { color: var(--lime); font-weight: 700; margin-right: .3rem; }
.section-featured-ws .game-card { --tone: var(--lime); }
.section-featured-ws .featured-game-label { color: var(--lime); }

/* ---------- Zaglavlje: šira traka za 11 stavki izbornika ---------- */
.site-header .header-inner { width: min(100% - 2.5rem, 1400px); gap: .75rem; }
@media (min-width: 1260px) {
  .site-nav { gap: .9rem; }
  .site-nav ul { gap: 0; }
  .site-nav ul a { padding: .5rem .5rem; font-size: .9rem; white-space: nowrap; }
  .brand img { height: 34px; }
}
@media (min-width: 1440px) { .site-nav ul a { padding: .5rem .65rem; font-size: .95rem; } }

/* Termini rođendana (od – do) */
.hours-terms { display: block; }
.term-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .15rem 1rem; margin-top: .4rem; }
.term-list li { font-family: var(--font-display); font-size: clamp(1.25rem, 3vw, 1.55rem); line-height: 1.3; }

.ev-price { display: inline-block; justify-self: start; font-size: .82rem; font-weight: 700; color: var(--amber); border: 1px solid rgba(255, 180, 61, .45); border-radius: 999px; padding: .05rem .55rem; }

/* ---------- KUPONI (gornji dio naslovnice) ---------- */
.coupons { display: grid; gap: .55rem; min-width: 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.next-list + .coupons { margin-top: .4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.coupon-label { color: var(--amber); font-size: .95rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.coupon-tag { color: #dcd8ff; font-size: .95rem; margin-top: -.3rem; }
.coupon-row { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px .5rem; margin: -4px; scrollbar-width: thin; scrollbar-color: var(--amber) transparent; }
.coupon { scroll-snap-align: start; display: grid; gap: .45rem; align-content: start; }
.coupon img { width: 200px; height: 200px; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 0 22px rgba(255, 61, 216, .18); }
.coupon.is-picked img { outline: 3px solid var(--amber); outline-offset: 2px; }
.coupon.is-sold img { filter: grayscale(.85) brightness(.6); }
.coupon-left { font-size: .85rem; color: var(--muted); }
.coupon-left b { color: var(--amber); }
.coupon-sold { color: var(--red); font-weight: 700; }
.btn-coupon { background: var(--amber); color: #1a1000; min-height: 42px; font-size: .9rem; padding: .45rem .8rem; }
.btn-coupon:hover { box-shadow: 0 0 20px rgba(255, 180, 61, .55); }
.coupon-form { display: grid; gap: .55rem; padding: .9rem 1rem; border: 1px solid rgba(255, 180, 61, .45); border-radius: 14px; background: rgba(13, 10, 34, .6); }
.coupon-form label[for] { font-size: .9rem; font-weight: 500; }
.cf-title { font-weight: 700; }
.cf-title span { color: var(--amber); }
.cf-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.cf-row input { height: 44px; }
.cf-row .btn { min-height: 44px; }
.cf-consent { align-items: flex-start; font-size: .82rem; font-weight: 400; color: var(--muted); }
.cf-consent input { width: 18px; height: 18px; min-height: 0; margin-top: .15rem; accent-color: var(--amber); flex: none; }
.cf-err { color: #ffc2cd; font-size: .88rem; }
.coupon-msg { padding: .8rem 1rem; border-radius: 14px; font-size: .92rem; }
.coupon-msg.is-ok { border: 1px solid rgba(141, 255, 90, .45); background: rgba(141, 255, 90, .08); color: #dfffd0; }
.coupon-msg.is-err { border: 1px solid rgba(255, 77, 109, .45); background: rgba(255, 77, 109, .08); color: #ffc2cd; }
.coupon-note { color: var(--muted); font-size: .88rem; }
.coupon-form button[disabled] { opacity: .6; cursor: wait; }

/* ---------- Referentna cijena ("Cijena na …") ---------- */
.price-ref { display: block; color: var(--muted); font-size: .82rem; font-weight: 500; margin-top: .1rem; }
.price-list li { display: grid; }

/* Rođendanski obrazac: torta DA / NE */
.field-cake { border: 0; padding: 0; margin: 0; }
.field-cake legend { font-weight: 500; font-size: .95rem; margin-bottom: .35rem; }
.cake-choices { display: flex; gap: .6rem; }
.cake-opt { display: flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 1.1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #0f0b28; cursor: pointer; font-weight: 700; }
.cake-opt input { width: 20px; height: 20px; min-height: 0; accent-color: var(--accent); }
.cake-opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field-cake[aria-invalid="true"] .cake-opt { border-color: var(--red); }
.field-cake[aria-invalid="true"] .field-err { display: block; }

/* ---------- "Sviđa mi se" (neon srce) ispod web igara ---------- */
.webgame-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.like-btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: .35rem .95rem .35rem .75rem;
  border-radius: 999px; border: 1.5px solid rgba(255, 61, 216, .45); background: rgba(255, 61, 216, .06);
  color: var(--ink); font: 700 .95rem var(--font-body); cursor: pointer; transition: box-shadow .2s, background-color .2s, transform .1s;
}
.like-btn:hover { background: rgba(255, 61, 216, .12); }
.like-btn:active { transform: scale(.96); }
.like-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--magenta); stroke-width: 2; filter: drop-shadow(0 0 4px rgba(255, 61, 216, .7)); transition: fill .2s; }
.like-n { font-variant-numeric: tabular-nums; }
.like-lbl { color: var(--muted); font-weight: 500; font-size: .85rem; }
.like-btn[aria-pressed="true"] { border-color: var(--magenta); background: rgba(255, 61, 216, .16); box-shadow: 0 0 18px rgba(255, 61, 216, .45); }
.like-btn[aria-pressed="true"] svg { fill: var(--magenta); filter: drop-shadow(0 0 6px var(--magenta)) drop-shadow(0 0 14px rgba(255, 61, 216, .8)); }
.like-btn.pop svg { animation: like-pop .35s ease-out; }
@keyframes like-pop { 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .like-btn.pop svg { animation: none; } }

/* ---------- Društvene mreže: ikone ispod "Rezerviraj rođendan" i uz događanja ---------- */
.sbtn-instagram, .evs-instagram, .soc-instagram { --c: var(--magenta); }
.sbtn-tiktok, .evs-tiktok, .soc-tiktok { --c: var(--cyan); }
.sbtn-facebook, .evs-facebook, .soc-facebook { --c: #5b8cff; }
.sbtn-discord, .evs-discord, .soc-discord { --c: #8b7bff; }
.social-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .15rem; }
.sbtn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--c);
  border: 1.5px solid color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 8%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--c) 25%, transparent); transition: background-color .2s, box-shadow .2s; }
.sbtn:hover { background: color-mix(in srgb, var(--c) 18%, transparent); box-shadow: 0 0 20px color-mix(in srgb, var(--c) 50%, transparent); }
.sbtn .ico { width: 21px; height: 21px; filter: drop-shadow(0 0 4px var(--c)); }
.ev-social { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .15rem; }
.ev-social .lab { color: var(--muted); font-size: .8rem; }
.ev-social a { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem .2rem .45rem; border-radius: 999px; color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); background: color-mix(in srgb, var(--c) 8%, transparent);
  font-size: .78rem; font-weight: 700; text-decoration: none; }
.ev-social a:hover { background: color-mix(in srgb, var(--c) 18%, transparent); }
.ev-social .ico { width: 15px; height: 15px; }
.follow-discord { --net: #8b7bff; }
