/* MojClip — zajednicki stil za cijeli sajt (početna, o nama, pravila, česta pitanja) */
:root {
  --red: #e60023;
  --red-dark: #c2001d;
  --red-glow: rgba(230,0,35,.35);
  --bg: #0f0f14;
  --bg-2: #17171f;
  --card: #1b1b24;
  --border: #2a2a36;
  --text: #f4f4f6;
  --muted: #9b9ba8;
  --green: #22c55e;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', sans-serif;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(230,0,35,.16), transparent 60%),
    radial-gradient(900px 500px at 5% 40%, rgba(230,0,35,.07), transparent 55%),
    radial-gradient(1000px 600px at 50% 115%, rgba(230,0,35,.10), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #e60023; outline-offset: 3px; border-radius: 4px;
}
img { max-width: 100%; height: auto; }
:focus { outline-offset: 3px; }

/* Navigacija */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(15,15,20,.82);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1150px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
nav.main-nav { display: flex; align-items: center; gap: 26px; }
nav.main-nav a {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
  transition: color .18s ease;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--text); }
nav.main-nav a.active { border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff !important; font-weight: 700; text-decoration: none;
  padding: 11px 26px; border-radius: 999px; font-size: 15px;
  box-shadow: 0 6px 22px var(--red-glow);
  transition: transform .18s ease, box-shadow .18s ease;
  border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(230,0,35,.5); }
.btn-ghost {
  background: transparent; color: var(--text) !important;
  border: 1px solid var(--border); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--red); box-shadow: none; }

/* Hero (početna) */
.hero {
  max-width: 1150px; margin: 0 auto;
  padding: 84px 24px 60px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.status-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid rgba(34,197,94,.35);
  border-radius: 999px; padding: 9px 20px; font-size: 14px; font-weight: 600;
  margin-bottom: 30px; color: var(--text);
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  70% { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.hero h1 {
  font-size: clamp(32px, 5.4vw, 56px);
  font-weight: 800; line-height: 1.12; margin-bottom: 20px;
  background: linear-gradient(100deg, #fff 25%, #ff8a99 70%, #e60023 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  color: var(--muted); font-size: clamp(16px, 2.4vw, 19px);
  max-width: 720px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 52px; }
.hero-logo { width: 180px; height: auto; margin-bottom: 26px; filter: drop-shadow(0 10px 30px var(--red-glow)); }

/* Zaglavlje podstranica */
.page-hero {
  max-width: 1150px; margin: 0 auto;
  padding: 64px 24px 36px; text-align: center;
}
.page-hero h1 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: clamp(15px, 2vw, 18px); max-width: 680px; margin: 0 auto; }

/* Statistika */
.stats {
  max-width: 1150px; margin: 0 auto; padding: 0 24px 70px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.stat {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px 18px; text-align: center;
}
.stat b { display: block; font-size: 24px; font-weight: 800; color: var(--red); margin-bottom: 4px; }
.stat span { color: var(--muted); font-size: 13.5px; }

/* Sekcije */
section.block { max-width: 1150px; margin: 0 auto; padding: 30px 24px 70px; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 16.5px; }

/* Kartice */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--card), #181820);
  border: 1px solid var(--border); border-radius: 18px; padding: 28px 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(230,0,35,.5); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(230,0,35,.14); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; margin-bottom: 18px;
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* Kanali zajednice — kviz i radio */
.chan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 1100px; margin: 0 auto; }
.chan-card {
  background: linear-gradient(180deg, var(--card), #181820);
  border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.chan-card:hover { transform: translateY(-5px); border-color: rgba(230,0,35,.55); }
.chan-img { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--border); }
.chan-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.chan-body h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.chan-body p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin-bottom: 14px; flex: 1; }
.chan-commands { list-style: none; padding: 0; margin: 0 0 18px; }
.chan-commands li { color: var(--muted); font-size: 13.5px; margin-bottom: 6px; }
.chan-commands code {
  display: inline-block; background: #101018; border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 6px; font-size: 12.5px; color: #ff8a99;
}
.chan-card .btn { align-self: flex-start; }

/* Koraci */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 26px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -14px; left: 24px;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px var(--red-glow);
}
.step h3 { font-size: 17px; margin-bottom: 8px; margin-top: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step code {
  display: inline-block; background: #101018; border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 6px; font-size: 13px; color: #ff8a99;
}

/* Proza (O nama, Pravila) */
.prose { max-width: 780px; margin: 0 auto 80px; padding: 0 24px; }
.prose h2 {
  font-size: clamp(24px, 3.6vw, 32px); font-weight: 800;
  margin: 44px 0 16px;
}
.prose h2:first-child { margin-top: 8px; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 26px 0 10px; }
.prose p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.prose p strong { color: var(--text); }
.prose a { color: #ff8a99; }
.prose ul, .prose ol { color: var(--muted); font-size: 16px; padding-left: 24px; margin-bottom: 14px; }
.prose li { margin-bottom: 8px; }
.prose li strong { color: var(--text); }

/* Pravila — numerisana lista */
.rules { counter-reset: rule; }
.rules li {
  list-style: none; position: relative; padding-left: 52px; margin-bottom: 22px;
}
.rules li::before {
  counter-increment: rule; content: counter(rule);
  position: absolute; left: 0; top: 2px;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px var(--red-glow);
}
.rules li h3 { margin-top: 0; }
.rules li p { margin-bottom: 0; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto 80px; padding: 0 24px; }
.faq details {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 24px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::after { content: "+"; font-size: 22px; color: var(--red); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.faq details p a { color: #ff8a99; }

/* Vizija */
.vision { max-width: 1150px; margin: 0 auto 80px; padding: 0 24px; }
.vision-inner {
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(230,0,35,.20), transparent 60%),
    linear-gradient(180deg, var(--bg-2), #14141c);
  border: 1px solid var(--border); border-radius: 26px;
  padding: 52px 34px; text-align: center; position: relative; overflow: hidden;
}
.vision-inner .tag {
  display: inline-block; background: rgba(230,0,35,.16); color: #ff8a99;
  border: 1px solid rgba(230,0,35,.4); border-radius: 999px;
  padding: 6px 16px; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  margin-bottom: 18px; text-transform: uppercase;
}
.vision-inner h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; margin-bottom: 16px; }
.vision-inner p { color: var(--muted); max-width: 720px; margin: 0 auto 14px; font-size: 16.5px; line-height: 1.7; }
.vision-inner p strong { color: var(--text); }
.vision-inner .soon {
  display: inline-block; margin-top: 14px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff; font-weight: 700; font-size: 14px;
  padding: 10px 26px; border-radius: 999px;
  box-shadow: 0 6px 22px var(--red-glow);
}
.vision-inner .soon small { display: block; font-weight: 500; font-size: 12px; opacity: .85; margin-top: 2px; }

/* CTA */
.cta { max-width: 1150px; margin: 0 auto 80px; padding: 0 24px; }
.cta-inner {
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(230,0,35,.22), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--border); border-radius: 26px;
  padding: 60px 30px; text-align: center;
}
.cta-inner h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin-bottom: 14px; }
.cta-inner p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; font-size: 16px; }

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border); background: #0c0c10;
  padding: 40px 24px 32px;
}
.footer-inner {
  max-width: 1150px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 28px;
  justify-content: space-between; align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 30px; width: auto; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-meta { width: 100%; text-align: center; color: #9b9ba8; font-size: 13px; margin-top: 18px; }
.footer-meta a { color: #ff6b7d; text-decoration: none; }

/* Responzivno + dostupnost */
@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 860px) {
  nav.main-nav a:not(.btn) { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .chan-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
}

/* ===== LIGHTBOX — klik na sliku, zoom +/− ===== */
.chan-img { cursor: zoom-in; }
.lb {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
}
.lb[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.88); cursor: zoom-out; }
.lb-box {
  position: relative; max-width: 94vw; max-height: 88vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lb-box img {
  max-width: 94vw; max-height: 76vh; object-fit: contain;
  border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6);
  transform-origin: center center;
  transition: transform .12s ease;
  user-select: none; -webkit-user-drag: none;
}
.lb-controls {
  display: flex; gap: 8px; align-items: center;
  background: rgba(15,15,20,.85); border: 1px solid var(--border, #2a2a36);
  border-radius: 999px; padding: 6px 10px;
}
.lb-controls button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid #3a3e42; background: rgba(30,30,40,.9);
  color: #fff; font-size: 18px; font-weight: 700; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.lb-controls button:hover { border-color: rgba(230,0,35,.6); background: rgba(230,0,35,.2); }
.lb-controls span { color: #fff; font-size: 13px; min-width: 52px; text-align: center; font-weight: 600; }
.lb-controls .lb-close { color: #ff8a99; }

/* ===== TRAKA ZA NARUDZBU BOTA ===== */
.narudzba {
  max-width: 1100px; margin: 30px auto 0;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(230,0,35,.16), transparent 70%),
    linear-gradient(90deg, var(--card), #181820, var(--card));
  border: 1px solid rgba(230,0,35,.35);
  border-radius: 14px;
  padding: 18px 26px;
  text-align: center;
}
.narudzba-ico { font-size: 26px; flex: 0 0 auto; }
.narudzba p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.6; }
.narudzba strong { color: var(--text); }
@media (max-width: 860px) {
  .narudzba { flex-direction: column; gap: 10px; padding: 16px 18px; }
}
