/* =====================================================================
   GEEKRANIUS – brand tema (Brand & Design Kit v1.0)
   Boje: #FF1E2D crvena · #11FF63 zelena · #00D7E8 cijan · #9D00FF ljubičasta · #FF8A00 narančasta
   Tamne: #0B0B0F · #1A1A22 · #2B2F36 · #8F9AA7 · #E6E6E6
   Fontovi: Orbitron (logo) · Exo 2 (naslovi/UI) · Inter (tekst)  – svi s vlastite domene
   ===================================================================== */

@font-face { font-family: "Orbitron"; font-weight: 700; font-display: swap; src: url(../fonts/orbitron-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Orbitron"; font-weight: 900; font-display: swap; src: url(../fonts/orbitron-latin-900-normal.woff2) format("woff2"); }
@font-face { font-family: "Exo 2"; font-weight: 600; font-display: swap; src: url(../fonts/exo-2-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Exo 2"; font-weight: 600; font-display: swap; src: url(../fonts/exo-2-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Exo 2"; font-weight: 700; font-display: swap; src: url(../fonts/exo-2-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Exo 2"; font-weight: 700; font-display: swap; src: url(../fonts/exo-2-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Exo 2"; font-weight: 800; font-display: swap; src: url(../fonts/exo-2-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Exo 2"; font-weight: 800; font-display: swap; src: url(../fonts/exo-2-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* Tamna neon tema (uvijek, kao u brand kitu) */
:root[data-theme="dark"] {
  --gk-red: #ff1e2d;
  --gk-green: #11ff63;
  --gk-cyan: #00d7e8;
  --gk-purple: #9d00ff;
  --gk-orange: #ff8a00;
  --bg: #0b0b0f;
  --surface: #14141b;
  --surface-2: #1a1a22;
  --text: #e6e6e6;
  --muted: #8f9aa7;
  --line: #2b2f36;
  --primary: #ff1e2d;
  --primary-ink: #ffffff;
  --primary-soft: rgba(255, 30, 45, .13);
  --navy: #0b0b0f;
  --ok: #11ff63;
  --ok-soft: rgba(17, 255, 99, .1);
  --warn: #ff8a00;
  --warn-soft: rgba(255, 138, 0, .12);
  --danger: #ff5a66;
  --danger-soft: rgba(255, 30, 45, .12);
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 30px rgba(0, 0, 0, .45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 30, 45, .16), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(0, 215, 232, .07), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px) 0 0 / 100% 28px,
    var(--bg);
  background-attachment: fixed;
}
h1, h2, h3, .btn, .stepper, .tabs button, .segmented b, .mode-choice b, .entry b, .feature strong { font-family: "Exo 2", var(--font); }
h1 { font-weight: 800; letter-spacing: -.01em; }
.hero h1 span { background: linear-gradient(90deg, #ff1e2d, #ff6a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Gumbi i kartice s neon sjajem */
.btn.primary { background: linear-gradient(180deg, #ff3442, #d70f1d); border-color: #ff4552; box-shadow: 0 0 0 1px rgba(255, 30, 45, .25), 0 6px 22px rgba(255, 30, 45, .35); }
.btn.primary:hover { filter: none; box-shadow: 0 0 0 1px rgba(255, 30, 45, .45), 0 6px 28px rgba(255, 30, 45, .55); }
.btn:not(.primary):not(.danger) { background: var(--surface-2); }
.card, .feature, .entry, .thumb-card, .d-page, .crop-inner, .busy-card { background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 40%), var(--surface); border-color: var(--line); }
.card { border-top-color: rgba(255, 30, 45, .35); }
.entry:hover, .mode-choice input:checked + span { box-shadow: 0 0 0 1px rgba(255, 30, 45, .5), 0 0 26px rgba(255, 30, 45, .22); }
.feature .ico, .entry i, .ext-ico { background: rgba(255, 30, 45, .12); border: 1px solid rgba(255, 30, 45, .25); }
.top { background: rgba(11, 11, 15, .82); border-bottom: 1px solid rgba(255, 30, 45, .25); }
.bottom-bar { background: rgba(11, 11, 15, .9); border-top-color: rgba(255, 30, 45, .25); }
.stepper li.current { color: #ff4d59; }
.stepper li.current::after { box-shadow: 0 0 12px rgba(255, 30, 45, .7); }
.stepper li.done span { background: var(--gk-green); border-color: var(--gk-green); color: #06210f; }
.stepper li.done::after { background: var(--gk-green); }
.chips.toggles input:checked + span { background: #ff1e2d; border-color: #ff1e2d; color: #fff; box-shadow: 0 0 14px rgba(255, 30, 45, .35); }
.chip.term { background: #ff1e2d; border-color: #ff1e2d; }
.pill-local { color: var(--gk-green); background: rgba(17, 255, 99, .08); border: 1px solid rgba(17, 255, 99, .25); }
.note.info { background: rgba(0, 215, 232, .08); color: #7fe9f2; border: 1px solid rgba(0, 215, 232, .25); }
.badge.ok { border: 1px solid rgba(17, 255, 99, .25); }
input[type=text], input[type=date] { background: #101016; }
.stage { background: repeating-conic-gradient(#15151c 0 25%, #101016 0 50%) 0 0 / 22px 22px; }
.toast { background: #1a1a22; border: 1px solid #2b2f36; }
.toast.ok { background: #0f2a18; border-color: rgba(17, 255, 99, .35); }
.toast.warn { background: #2e1a07; border-color: rgba(255, 138, 0, .35); }
a { color: #ff5a66; }
.lg.on { border-color: #ff1e2d; }

/* ---------- GEEKRANIUS logotip i potpis ---------- */
.gk-word { font-family: "Orbitron", "Exo 2", sans-serif; font-weight: 900; font-style: normal; letter-spacing: .02em; display: inline-block; transform: skewX(-10deg); line-height: 1; }
.gk-word .g { background: linear-gradient(180deg, #ffffff 0%, #c9ced6 45%, #8b929d 55%, #e9ecf0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gk-word .r { background: linear-gradient(180deg, #ff6b74 0%, #ff1e2d 50%, #b30012 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 8px rgba(255, 30, 45, .55)); }
.gk-by { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted); font-size: .72rem; font-weight: 600; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid rgba(255, 30, 45, .35); background: rgba(255, 30, 45, .06); }
.gk-by img { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 1.5px #ff1e2d, 0 0 10px rgba(255, 30, 45, .5); }
.gk-by .gk-word { font-size: .82rem; }
.gk-by:hover { border-color: #ff1e2d; box-shadow: 0 0 14px rgba(255, 30, 45, .35); }
@media (max-width: 520px) { .gk-by .gk-txt { display: none; } .gk-by { padding: 3px; } }

/* Heroj s maskotom (početna) */
.gk-hero { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.gk-hero .mascot { width: clamp(150px, 22vw, 240px); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 3px #ff1e2d, 0 0 0 7px rgba(0, 215, 232, .55), 0 0 60px rgba(255, 30, 45, .45); }
.gk-hero .gk-sub { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.gk-hero .gk-sub .gk-word { font-size: 1.05rem; letter-spacing: .04em; }
.gk-pulse { width: 120px; height: 16px; }
@media (max-width: 700px) { .gk-hero { grid-template-columns: 1fr; } .gk-hero .mascot { order: -1; justify-self: center; } }

/* Podnožje s potpisom */
.gk-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 28px auto 8px; }
.gk-foot a { text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.gk-foot img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px #ff1e2d, 0 0 16px rgba(255, 30, 45, .45); }
.gk-foot .gk-word { font-size: 1.35rem; }
.gk-foot small { color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.sw.geek { background: linear-gradient(135deg, #ff1e2d, #00d7e8); }

/* Oglasi: sakrij mjesto ako Google nema oglas */
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.ad-wrap:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none !important; }
.ad-wrap { border-color: var(--line); background: rgba(255,255,255,.015); }

/* Dijagnostika oglasa (#oglasi-test) */
.ad-debug ins.adsbygoogle, .ad-debug .ad-wrap { display: block !important; }
.ad-debug ins.adsbygoogle { outline: 2px dashed #00d7e8; min-height: 90px; }
.ad-debug ins.adsbygoogle[data-ad-status="unfilled"] { outline-color: #ff8a00; }
.ad-debug ins.adsbygoogle[data-ad-status="filled"] { outline-color: #11ff63; }
.ad-debug .ad-wrap[hidden] { display: block !important; }
#adDebug { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9999; max-width: 640px; margin: 0 auto; background: #0b0b0f; color: #e6e6e6; border: 1px solid #00d7e8; border-radius: 14px; padding: 12px 14px; font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
#adDebug strong { display: block; color: #00d7e8; margin-bottom: 4px; font-family: "Exo 2", sans-serif; }
#adDebug small { color: #8f9aa7; }
#adDebug .ad-dbg-body div { margin: 2px 0; overflow-wrap: anywhere; }
.ad-debug .ad-wrap:has(ins.adsbygoogle), .ad-debug .ad-wrap:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: block !important; }
.ad-debug ins.adsbygoogle[data-ad-status="unfilled"] { display: block !important; }

/* Mobitel: zaglavlje i heroj */
.top .btn { white-space: nowrap; }
.gk-hero .mascot { height: auto; }
.gk-hero .gk-sub { flex-wrap: wrap; row-gap: 4px; }
@media (max-width: 560px) {
  .gk-by .gk-word, .gk-by .gk-txt { display: none; }
  .gk-by { padding: 3px; }
  .brand span { display: none; }
  .brand strong { font-size: .95rem; }
  .top-actions { gap: 6px; }
}
@media (max-width: 360px) { .brand div { display: none; } }
