/* =========================================================
   KALIMERO023 — Casino × Gaming
   Tamni "HUD" stil: crna pozadina + crveni detalji
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #060606;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f4f7;
  --muted: rgba(244, 244, 247, 0.62);
  --faint: rgba(244, 244, 247, 0.38);
  --red: #ff2e43;
  --red-deep: #c4122a;
  --red-soft: #ff7a88;
  --cyan: #22d3ee;
  --display: 'Chakra Petch', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --top-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --cut: 14px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 20px); }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.booting { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.red { color: var(--red); }

/* ---------- Pozadina ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); }
.o1 { width: 46vmax; height: 46vmax; left: -14vmax; top: -18vmax; background: rgba(255, 46, 67, 0.22); animation: orb 16s ease-in-out infinite alternate; }
.o2 { width: 42vmax; height: 42vmax; right: -16vmax; top: 30vh; background: rgba(196, 18, 42, 0.12); animation: orb 20s ease-in-out infinite alternate-reverse; }
@keyframes orb { to { transform: translate(8vmax, 6vmax) scale(1.1); } }
.scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 4px); mask-image: linear-gradient(180deg, #000, transparent 85%); }

/* ---------- Boot ekran ---------- */
#boot { position: fixed; inset: 0; z-index: 9999; background: #050508; display: grid; place-items: center; transition: opacity 0.5s ease, visibility 0.5s; }
#boot.done { opacity: 0; visibility: hidden; }
.boot-inner { width: min(320px, 80vw); text-align: center; }
.boot-avatar { width: 72px; height: 72px; margin: 0 auto 16px; object-fit: cover; background: #111; border: 2px solid var(--red); }
.boot-name { font-family: var(--display); font-weight: 700; font-size: 1.7rem; letter-spacing: 0.04em; margin-bottom: 18px; }
.boot-bar { height: 4px; background: rgba(255,255,255,0.08); overflow: hidden; }
.boot-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red-deep), var(--red)); box-shadow: 0 0 14px var(--red); }
.boot-meta { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 0.72rem; color: var(--faint); letter-spacing: 0.2em; }

/* ---------- Ticker (obaveštenje) ---------- */
.ticker { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; display: block; height: 34px; overflow: hidden; background: var(--red); color: #fff; text-decoration: none; font-family: var(--mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; }
.ticker-track { display: flex; width: max-content; height: 100%; align-items: center; animation: tick 28s linear infinite; }
.ticker-track span { padding: 0 28px; white-space: nowrap; }
.ticker-track span::after { content: '✦'; margin-left: 56px; opacity: 0.6; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
body.has-ticker .topbar { top: 34px; }
body.has-ticker { --ticker-h: 34px; }

/* ---------- Topbar ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--top-h); display: flex; align-items: center; border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s; }
.topbar.solid { background: rgba(6, 6, 6, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { width: 40px; height: 40px; background: #111; overflow: hidden; }
.logo-img img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.03em; }
.menu { display: flex; gap: 6px; }
.menu a { text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 8px 14px; transition: color 0.2s, background 0.2s; display: flex; align-items: baseline; gap: 7px; }
.menu a i { font-style: normal; font-family: var(--mono); font-size: 0.66rem; color: var(--red); }
.menu a:hover, .menu a.active { color: var(--text); background: var(--panel-2); }
.top-right { display: flex; align-items: center; gap: 10px; }
.status-chip { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; padding: 8px 14px; border: 1px solid var(--line-2); background: rgba(0,0,0,0.3); color: var(--muted); white-space: nowrap; }
.sdot { width: 8px; height: 8px; border-radius: 50%; background: #666; flex-shrink: 0; }
.is-live .sdot { background: var(--red); box-shadow: 0 0 0 0 rgba(255,46,67,0.7); animation: ping 1.5s infinite; }
.is-off .sdot { background: #6b6b7a; }
.status-chip.is-live { color: #fff; border-color: var(--red); background: rgba(255,46,67,0.15); }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(255,46,67,0); } 100% { box-shadow: 0 0 0 0 rgba(255,46,67,0); } }
.burger { display: none; width: 42px; height: 42px; place-items: center; background: var(--panel); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; }
.burger svg { width: 22px; height: 22px; }

/* ---------- Dugmad (HUD isečeni uglovi) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); transition: transform 0.3s var(--ease), filter 0.3s, background 0.3s; }
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.12); }
.btn-main { background: var(--red); color: #fff; box-shadow: 0 0 0 1px var(--red); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,46,67,0.55); }
.btn-ghost:hover { background: rgba(255, 46, 67, 0.16); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; min-height: 100vh; padding-top: calc(var(--top-h) + var(--ticker-h, 0px) + 40px); padding-bottom: 60px; }
.eyebrow { font-family: var(--mono); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; color: var(--red); margin-bottom: 18px; text-transform: uppercase; }
.name { font-family: var(--display); font-weight: 700; line-height: 0.88; letter-spacing: -0.01em; margin-bottom: 26px; }
.name-main { display: block; font-size: clamp(3.4rem, 8.4vw, 6.6rem); }
.name-accent { display: block; font-size: clamp(3.4rem, 8.4vw, 6.6rem); color: transparent; -webkit-text-stroke: 2px var(--red); text-shadow: 0 0 40px rgba(255,46,67,0.35); }
.quote { position: relative; padding-left: 18px; border-left: 3px solid var(--red); color: var(--muted); font-size: 1.08rem; max-width: 460px; margin-bottom: 34px; }
.quote::before { content: '„'; color: var(--faint); }
.quote::after { content: '“'; color: var(--faint); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
/* Pratioci — jedna kartica koja vrti mreže u krug */
.fans { --c: var(--red); border: 1px solid var(--line); background: var(--panel); max-width: 460px; }
.fans-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.fans-title { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; color: var(--faint); }
.fans-dots { display: flex; gap: 6px; }
.fans-dots button { width: 22px; height: 22px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); background: transparent; color: var(--faint); cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.fans-dots button svg { width: 12px; height: 12px; }
.fans-dots button:hover { color: var(--text); }
.fans-dots button[aria-selected="true"] { color: var(--dc); border-color: var(--dc); background: color-mix(in srgb, var(--dc) 14%, transparent); }
.fans-stage { position: relative; height: 86px; overflow: hidden; }
.fans-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 0 16px; color: inherit; text-decoration: none; transition: transform 0.55s var(--ease), opacity 0.45s; }
.fans-slide.enter { transform: translateY(100%); opacity: 0; }
.fans-slide.leave { transform: translateY(-100%); opacity: 0; }
.fans-slide:hover { background: var(--panel-2); }
.fans-ico { width: 48px; height: 48px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.fans-ico svg { width: 24px; height: 24px; }
.fans-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.fans-name b { font-family: var(--display); font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.fans-name small { font-size: 0.78rem; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fans-num { text-align: right; line-height: 1.15; }
.fans-num b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.7rem; letter-spacing: 0.02em; color: var(--c); }
.fans-num small { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.fans-live .fans-name b::after { content: 'LIVE'; margin-left: 8px; padding: 1px 6px; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; background: var(--red); color: #fff; vertical-align: 3px; }
.fans-bar { height: 2px; background: var(--line); }
.fans-bar span { display: block; height: 100%; width: 0; background: var(--c); }
.fans-bar span.run { width: 100%; transition: width var(--dur, 3.5s) linear; }
.fans.paused .fans-bar span.run { transition: none; }
.fans-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.fans-foot span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.fans-foot b { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: 0.03em; }

.fans-nocount .fans-num b { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* TikTok — crna boja (crna kutija, beli logo sa cijan/roze senkom) */
.net-tiktok .fans-ico, .net-tiktok .tile-ico { background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); }
.net-tiktok .fans-ico svg, .net-tiktok .tile-ico svg, .fans-dots .net-tiktok[aria-selected="true"] svg { filter: drop-shadow(-1.5px -1.5px 0 #25f4ee) drop-shadow(1.5px 1.5px 0 #fe2c55); }
.fans-dots .net-tiktok[aria-selected="true"] { background: #000; color: #fff; border-color: rgba(255,255,255,0.5); }
.tile.net-tiktok:hover { border-color: rgba(255,255,255,0.35); background: rgba(0,0,0,0.45); }

/* ---------- Ekran (stream) ---------- */
.screen { position: relative; background: linear-gradient(180deg, rgba(18,18,18,0.88), rgba(10,10,10,0.92)); border: 1px solid var(--line-2); padding: 12px; box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 80px rgba(255,46,67,0.07); }
.corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--red); pointer-events: none; }
.corner.tl { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.corner.tr { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: -2px; left: -2px; border-right: 0; border-top: 0; }
.corner.br { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.screen-bar { display: flex; align-items: center; gap: 14px; padding: 2px 4px 12px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--faint); }
.screen-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); }
.screen-status.is-live { color: var(--red); }
.screen-url { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen-viewers { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.screen-viewers svg { color: var(--red); }
.screen-body { position: relative; aspect-ratio: 16 / 9; background: #050508; overflow: hidden; }
.player, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.screen-body:has(.offline:not([hidden])) { aspect-ratio: auto; }
.offline { position: relative; aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center;
  background: radial-gradient(50% 60% at 50% 45%, rgba(255,46,67,0.12), transparent 70%), repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 40px), repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 40px); }
.off-avatar { width: 84px; height: 84px; padding: 2px; background: var(--red); }
.off-avatar img { width: 100%; height: 100%; object-fit: cover; background: #111; }
.off-label { font-family: var(--mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.3em; color: var(--muted); }
.cd-title { font-family: var(--display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.cd-digits { display: flex; gap: 8px; justify-content: center; }
.cd-digits div { min-width: 62px; padding: 8px 6px 6px; background: rgba(0,0,0,0.5); border: 1px solid var(--line-2); }
.cd-digits b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-digits span { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.cd-when { margin-top: 10px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--red-soft); }
.notify { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; padding: 9px 16px; background: rgba(255,46,67,0.14); border: 1px solid rgba(255,46,67,0.6); transition: 0.25s; }
.notify:hover { background: var(--red); }
.screen-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 4px 2px; }
.sf-title { font-weight: 700; font-size: 0.98rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.sf-cat { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--red-soft); }
.sf-uptime { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--faint); white-space: nowrap; }
.sf-uptime b { color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- Sekcije ---------- */
.section { padding: 70px 24px; }
.sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 30px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sec-num { font-family: var(--mono); font-weight: 700; font-size: 0.85rem; color: var(--red); }
.sec-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.1; }

/* Bento zajednica */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 14px; }
.tile { --c: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; text-decoration: none; background: var(--panel); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s; }
.tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 7%, transparent); }
.tile-ico { width: 44px; height: 44px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.tile-ico svg { width: 22px; height: 22px; }
.tile-arrow { position: absolute; top: 20px; right: 20px; width: 20px; height: 20px; color: var(--faint); transition: transform 0.3s var(--ease), color 0.3s; }
.tile:hover .tile-arrow { transform: translate(3px, -3px); color: var(--c); }
.tile-name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em; line-height: 1.1; }
.tile-handle { font-family: var(--mono); font-size: 0.74rem; color: var(--faint); }
.tile-discord { --c: #5865f2; grid-column: span 2; grid-row: span 2; padding: 28px; background: linear-gradient(145deg, rgba(88,101,242,0.24), rgba(88,101,242,0.04)); border-color: rgba(88,101,242,0.4); }
.tile-discord .tile-ico { width: 56px; height: 56px; background: #5865f2; color: #fff; }
.tile-discord .tile-ico svg { width: 30px; height: 30px; }
.td-top { display: flex; justify-content: space-between; }
.td-kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; color: #aab2ff; margin-bottom: 6px; }
.td-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; text-transform: uppercase; margin-bottom: 10px; }
.td-body p { color: var(--muted); max-width: 380px; }
.td-btn { align-self: flex-start; font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.9rem; padding: 11px 20px; background: #5865f2; color: #fff; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }

/* Podrška */
.support { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; padding: 30px 34px; background: linear-gradient(100deg, rgba(255,46,67,0.16), rgba(255,46,67,0.03) 70%, transparent); border: 1px solid rgba(255,46,67,0.35); position: relative; overflow: hidden; }
.support::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 12px); pointer-events: none; }
.support > * { position: relative; z-index: 1; }
.support-ico { width: 60px; height: 60px; display: grid; place-items: center; background: var(--red); color: #fff; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.support-ico svg { width: 28px; height: 28px; }
.support-ico.pp { background: #fff; }
.support-ico.pp img { width: 34px; height: 34px; }
.support h2 { font-family: var(--display); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; line-height: 1.1; margin-bottom: 4px; }
.support p { color: var(--muted); font-size: 0.94rem; max-width: 560px; }

/* Preuzmi profilnu — gore u sredini, profilna u kocki, animacija preuzimanja */
.dl-row { grid-column: 1 / -1; display: flex; justify-content: center; margin-bottom: -20px; }
.dl-avatar { position: relative; display: inline-flex; align-items: center; gap: 16px; padding: 8px 10px 8px 8px; text-decoration: none; background: rgba(12,12,12,0.88); border: 1px solid rgba(255,46,67,0.45); overflow: hidden; isolation: isolate; cursor: pointer; animation: dl-float 4s ease-in-out infinite, dl-glow 2.6s ease-in-out infinite; transition: border-color 0.25s, transform 0.3s var(--ease); }
.dl-avatar::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,46,67,0.28) 48%, rgba(255,255,255,0.12) 52%, transparent 70%); background-size: 250% 100%; animation: dl-shine 3.2s linear infinite; }
.dl-avatar:hover { border-color: var(--red); animation-play-state: paused; transform: translateY(-2px) scale(1.03); }
.dl-thumb { position: relative; width: 60px; height: 60px; flex-shrink: 0; border: 2px solid var(--red); background: #111; overflow: hidden; }
.dl-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease), filter 0.3s; }
.dl-thumb::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M11 3h2v9.2l3.3-3.3 1.4 1.4-5.7 5.7-5.7-5.7 1.4-1.4 3.3 3.3ZM4 18h16v2H4Z'/%3E%3C/svg%3E") center / 24px no-repeat; opacity: 0; transition: opacity 0.25s; }
.dl-avatar:hover .dl-thumb::after, .dl-avatar:focus-visible .dl-thumb::after { opacity: 1; }
.dl-avatar:hover .dl-thumb img { transform: scale(1.08); }
.dl-txt b { display: block; font-family: var(--display); font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.2; }
.dl-txt small { font-size: 0.76rem; color: var(--faint); }
.dl-ico { position: relative; width: 40px; height: 40px; display: grid; place-items: center; background: var(--red); color: #fff; margin-left: 4px; overflow: hidden; }
.dl-ico svg { width: 20px; height: 20px; animation: dl-drop 1.2s ease-in-out infinite; }
.dl-ico .i-ok { display: none; }
.dl-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); box-shadow: 0 0 10px var(--red); }
/* stanje: preuzimanje u toku */
.dl-avatar.is-loading { animation: dl-glow 1s ease-in-out infinite; }
.dl-avatar.is-loading .dl-bar { animation: dl-progress 1.4s var(--ease) forwards; }
.dl-avatar.is-loading .dl-ico svg { animation: dl-fall 0.6s ease-in infinite; }
.dl-avatar.is-loading .dl-thumb img { filter: grayscale(0.4) brightness(0.7); }
/* stanje: preuzeto */
.dl-avatar.is-done { border-color: #22c55e; animation: none; }
.dl-avatar.is-done .dl-bar { width: 100%; background: #22c55e; box-shadow: 0 0 10px #22c55e; transition: width 0.2s; }
.dl-avatar.is-done .dl-ico { background: #22c55e; }
.dl-avatar.is-done .dl-ico .i-dl { display: none; }
.dl-avatar.is-done .dl-ico .i-ok { display: block; animation: dl-pop 0.4s var(--ease); }
@keyframes dl-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes dl-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,46,67,0), 0 10px 30px rgba(0,0,0,0.5); } 50% { box-shadow: 0 0 26px 2px rgba(255,46,67,0.35), 0 10px 30px rgba(0,0,0,0.5); } }
@keyframes dl-shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@keyframes dl-drop { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }
@keyframes dl-fall { from { transform: translateY(-26px); } to { transform: translateY(26px); } }
@keyframes dl-progress { 0% { width: 0; } 60% { width: 75%; } 100% { width: 92%; } }
@keyframes dl-pop { 0% { transform: scale(0.3); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* Giveaway */
.gw { display: grid; grid-template-columns: 1.4fr 1fr; border: 1px solid rgba(255,46,67,0.35); background: linear-gradient(120deg, rgba(255,46,67,0.14), rgba(255,46,67,0.02) 60%), var(--panel); position: relative; overflow: hidden; }
.gw::before { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(255,46,67,0.22), transparent 70%); pointer-events: none; }
.gw-main { padding: 34px; position: relative; }
.gw-side { padding: 34px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; border-left: 1px solid var(--line); background: rgba(0,0,0,0.35); position: relative; text-align: center; }
.gw-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; background: var(--red); color: #fff; margin-bottom: 18px; }
.gw-badge svg { width: 14px; height: 14px; }
.gw-badge.ended { background: var(--line-2); }
.gw-title { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1; text-transform: uppercase; margin-bottom: 14px; }
.gw-prize { display: inline-flex; align-items: baseline; gap: 12px; padding: 10px 16px; border: 1px dashed rgba(255,46,67,0.6); margin-bottom: 16px; }
.gw-prize span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.gw-prize b { font-family: var(--display); font-size: 1.35rem; color: var(--red); letter-spacing: 0.03em; }
.gw-text { color: var(--muted); max-width: 520px; margin-bottom: 22px; }
.gw-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.gw-steps li { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; background: rgba(0,0,0,0.35); border: 1px solid var(--line); font-size: 0.9rem; }
.gw-steps b { font-family: var(--mono); font-size: 0.72rem; color: var(--red); }
.gw-steps a { color: var(--text); font-weight: 700; text-decoration-color: var(--red); text-underline-offset: 3px; }
.gw-cd-title { font-family: var(--display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.gw-when { margin-top: 10px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--red-soft); }
.gw-ended { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--muted); max-width: 280px; }

/* Partneri */
.partner { display: grid; grid-template-columns: 1.4fr 1fr; border: 1px solid var(--line-2); background: var(--panel); position: relative; overflow: hidden; }
.partner::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 12px); pointer-events: none; }
.partner > * { position: relative; z-index: 1; }
.pt-main { padding: 34px; }
.pt-side { padding: 34px; display: flex; flex-direction: column; justify-content: center; gap: 14px; border-left: 1px solid var(--line); background: rgba(0,0,0,0.4); }
.pt-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; color: var(--red); margin-bottom: 14px; }
.pt-badge svg { width: 16px; height: 16px; }
.pt-intro { font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.pt-head { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3.8vw, 2.6rem); line-height: 1.05; text-transform: uppercase; margin-bottom: 14px; }
.pt-how { color: var(--muted); max-width: 540px; margin-bottom: 18px; }
.pt-bonus { padding: 16px 18px; border-left: 3px solid var(--red); background: rgba(255,46,67,0.08); margin-bottom: 14px; }
.pt-bonus-title { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.pt-bonus p { font-size: 0.95rem; }
.pt-note { font-size: 0.86rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.pt-note b { color: var(--red); }
.pt-code-label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.pt-code { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 14px 16px; background: #000; border: 2px dashed var(--red); color: var(--text); cursor: pointer; font: inherit; transition: background 0.25s; }
.pt-code:hover { background: rgba(255,46,67,0.1); }
.pt-code b { font-family: var(--display); font-size: 2.1rem; letter-spacing: 0.14em; line-height: 1; }
.pt-code span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-soft); }
.pt-code span svg { width: 14px; height: 14px; }
.pt-code.copied span { color: #4ade80; }
.pt-link { justify-content: space-between; }
.pt-link svg { width: 18px; height: 18px; }
.pt-age { font-size: 0.8rem; color: var(--faint); }
.pt-age b { color: var(--red); }

/* Crveno svetlo koje prati miš (kao na bitpair.dev) — samo računar */
.cursor-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(255,46,67,0.2), transparent 70%); }
.cursor-glow.on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none; } }

/* Footer */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 34px 0; background: rgba(0,0,0,0.35); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.f-logo { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.03em; }
.f-copy, .f-age, .f-credit { font-size: 0.8rem; color: var(--faint); }
.f-social { display: flex; gap: 8px; }
.f-social a { width: 38px; height: 38px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line-2); transition: 0.25s; }
.f-social a:hover { color: #fff; border-color: var(--red); background: rgba(255,46,67,0.14); }
.f-social svg { width: 17px; height: 17px; }
.f-right { text-align: right; }
.f-credit a { color: var(--red); font-weight: 700; text-decoration: none; }
.f-credit a:hover { text-decoration: underline; }

/* Admin traka + toast */
.admin-preview { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2000; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; background: rgba(16,10,14,0.95); border: 1px solid var(--red); box-shadow: 0 10px 40px rgba(0,0,0,0.6); font-size: 0.86rem; width: max-content; max-width: calc(100% - 24px); }
.admin-preview b { color: var(--red); }
.admin-preview a { background: var(--red); color: #fff; text-decoration: none; font-weight: 800; padding: 7px 14px; white-space: nowrap; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 3000; transform: translate(-50%, 160%); opacity: 0; visibility: hidden; padding: 12px 20px; background: #141414; border: 1px solid var(--line-2); border-left: 3px solid var(--red); font-weight: 600; font-size: 0.9rem; transition: transform 0.4s var(--ease), opacity 0.3s, visibility 0.4s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* Animacija pri skrolu */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 36px; min-height: 0; text-align: left; }
  .gw, .partner { grid-template-columns: 1fr; }
  .gw-side, .pt-side { border-left: 0; border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .burger { display: grid; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: rgba(10,10,16,0.97); border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: 0.25s var(--ease); }
  .menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .menu a { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .topbar { background: rgba(10,10,16,0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .f-right { text-align: center; }
}
@media (max-width: 560px) {
  :root { --top-h: 64px; --cut: 11px; }
  .wrap { padding: 0 16px; }
  .section { padding: 50px 16px; }
  .logo-text { font-size: 1.05rem; }
  .logo-img { width: 36px; height: 36px; }
  .status-chip { padding: 7px 10px; font-size: 0.66rem; }
  .hero { padding-top: calc(var(--top-h) + var(--ticker-h, 0px) + 28px); padding-bottom: 30px; }
  .cta-row .btn { flex: 1 1 100%; }
  .fans { max-width: none; }
  .fans-slide { grid-template-columns: 40px 1fr auto; gap: 10px; padding: 0 12px; }
  .fans-ico { width: 40px; height: 40px; }
  .fans-num b { font-size: 1.4rem; }
  .fans-head, .fans-foot { padding: 10px 12px; }
  .screen { padding: 8px; }
  .offline { aspect-ratio: auto; padding: 30px 14px; }
  .cd-digits div { min-width: 54px; }
  .cd-digits b { font-size: 1.5rem; }
  .bento { grid-auto-rows: 130px; gap: 10px; }
  .tile { padding: 16px; }
  .tile-discord { grid-row: span 2; padding: 22px; }
  .tile-name { font-size: 1.05rem; }
  .support { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px 20px; }
  .support .btn { width: 100%; }
  .gw-main, .gw-side, .pt-main, .pt-side { padding: 24px 18px; }
  .gw-side .btn, .pt-link { width: 100%; }
  .pt-code b { font-size: 1.7rem; }
  .dl-row { margin-bottom: -8px; }
  .admin-preview { flex-direction: column; gap: 8px; text-align: center; }
}

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