/* =============================================================
   sredisterneta.com — Središte Neta
   Bright central-hub editorial identity
   ============================================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #FFF8ED;
  color: #3A2342;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Container --- */
.container { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.container--wide { max-width: 920px; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; line-height: 1.25; color: #3A2342; }
h1 { font-size: 1.9rem; margin-bottom: 0.75rem; }
h2 { font-size: 1.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
p { margin-bottom: 1rem; }
.small { font-size: 0.85rem; color: #5a4a5e; }
strong { color: #3A2342; }

/* --- Top Warning --- */
.top-warning {
  background: #3A2342;
  color: #FFF8ED;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --- Header --- */
.site-header {
  background: #FFF8ED;
  border-bottom: 2px solid #E26F62;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { width: auto; height: 40px; }
.site-logo span {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #3A2342;
}

/* --- Desktop: no visible nav --- */
.desktop-nav { display: none; }

/* --- Mobile: burger only --- */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
}
.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #3A2342;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(58, 34, 66, 0.97);
  z-index: 150;
  padding: 80px 30px 30px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: #FFF8ED;
  font-size: 1.1rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 248, 237, 0.15);
  font-weight: 500;
}
.mobile-menu a:last-child { border-bottom: none; }

@media (min-width: 769px) {
  .mobile-toggle, .mobile-menu { display: none !important; }
  .desktop-nav { display: none; } /* intentional — no desktop menu */
}

/* --- HERO --- */
.hero {
  text-align: center;
  padding: 48px 20px 36px;
  background: linear-gradient(180deg, #FFF8ED 0%, #f5ede0 100%);
}
.hero h1 { max-width: 700px; margin: 0 auto 1rem; }
.hero p {
  max-width: 620px;
  margin: 0 auto 1.2rem;
  font-size: 1.05rem;
  color: #4a3a4e;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.hero-badge {
  background: #3A2342;
  color: #FFF8ED;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* --- Section Common --- */
.section { padding: 40px 0; }
.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}
.section-divider {
  width: 50px;
  height: 3px;
  background: #E26F62;
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

/* --- Highlighted Card --- */
.card-highlight {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(58, 34, 66, 0.08);
  overflow: hidden;
  margin-bottom: 20px;
  border: 2px solid #E26F62;
}
.card-highlight-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.card-visual {
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.card-visual-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.card-visual img { height: auto; width: auto; max-height: 120px; object-fit: contain; }
.card-score {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFF8ED;
  background: #3A2342;
  padding: 2px 14px;
  border-radius: 8px;
  display: inline-block;
  line-height: 1.3;
}
.card-score small {
  font-size: 0.65rem;
  font-weight: 400;
  display: block;
  opacity: 0.75;
}
.card-body { padding: 10px 20px 24px; }
.card-body p { font-size: 0.92rem; }
.card-bullets { margin: 12px 0; }
.card-bullets li {
  padding: 5px 0 5px 18px;
  position: relative;
  font-size: 0.88rem;
  color: #4a3a4e;
}
.card-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #E26F62;
  font-weight: 700;
}
.card-note {
  font-size: 0.78rem;
  color: #7a6a7e;
  margin: 10px 0;
  padding: 8px 12px;
  background: #FFF8ED;
  border-radius: 6px;
}
.card-cta {
  display: inline-block;
  background: #55A990;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}
.card-cta:hover { background: #4a9a80; }
.card-cta--highlight { background: #E26F62; }
.card-cta--highlight:hover { background: #d05f52; }

@media (min-width: 640px) {
  .card-highlight-inner { flex-direction: row; }
  .card-visual { width: 220px; flex-shrink: 0; padding: 24px; }
  .card-body { flex: 1; padding: 20px 24px 24px 16px; }
}

/* --- Standard Cards (one per row) --- */
.card-standard {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 14px rgba(58, 34, 66, 0.06);
  overflow: hidden;
  margin-bottom: 18px;
  width: 100%;
}
.card-standard-inner {
  display: flex;
  flex-direction: column;
}
.card-standard .card-visual { padding: 24px 20px 12px; }
.card-standard .card-visual img { height: auto; width: auto; max-height: 120px; }
.card-standard .card-body { padding: 6px 20px 20px; }

@media (min-width: 640px) {
  .card-standard-inner { flex-direction: row; }
  .card-standard .card-visual { width: 180px; padding: 20px; }
  .card-standard .card-body { padding: 16px 20px 20px 12px; }
}

/* --- Three Step Guide --- */
.steps { display: flex; flex-direction: column; gap: 18px; }
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 2px 12px rgba(58, 34, 66, 0.05);
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E26F62;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.step p { font-size: 0.9rem; margin: 0; }

@media (min-width: 640px) {
  .steps { flex-direction: row; }
  .step { flex: 1; flex-direction: column; align-items: center; text-align: center; }
}

/* --- Payment Methods --- */
.payment-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 28px;
  padding: 10px 0;
}
.payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #5a4a5e;
}
.payment-icon {
  width: 48px;
  height: 32px;
  background: #e8e0d8;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.7rem;
  color: #5a4a5e;
}

/* --- Regulator / Institution Block --- */
.info-block {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(58, 34, 66, 0.05);
  margin-bottom: 16px;
}
.info-block p { font-size: 0.9rem; }

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid #e8e0d8;
  padding: 14px 0;
}
.faq-q {
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #3A2342;
}
.faq-q::after {
  content: "+";
  font-size: 1.2rem;
  color: #E26F62;
  transition: transform 0.2s;
}
.faq-q.open::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.88rem;
  color: #4a3a4e;
}
.faq-a.open { max-height: 300px; padding-top: 10px; }

/* --- Footer --- */
.site-footer {
  background: #28192E;
  color: #e0d8e4;
  padding: 44px 20px 28px;
  margin-top: auto;
  font-size: 0.88rem;
}
.site-footer h3 {
  color: #FFF8ED;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}
.site-footer p { margin-bottom: 0.8rem; line-height: 1.7; color: #c8c0cc; }
.footer-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0;
  justify-content: center;
}
.footer-resources a {
  display: block;
  transition: opacity 0.2s;
}
.footer-resources a:hover { opacity: 0.8; }
.footer-resources img { height: 50px; width: auto; }
.footer-line {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 248, 237, 0.15);
  font-size: 0.82rem;
  color: #a89aac;
}
.footer-line strong { color: #FFF8ED; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin: 14px 0;
}
.footer-links a {
  color: #c8c0cc;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-links a:hover { color: #FFF8ED; }

/* --- Public Page Template --- */
.page-header {
  background: linear-gradient(180deg, #3A2342 0%, #28192E 100%);
  color: #FFF8ED;
  padding: 40px 20px 36px;
  text-align: center;
}
.page-header h1 { color: #FFF8ED; margin-bottom: 0.4rem; }
.page-content { padding: 36px 0 48px; }
.page-content h2 { margin-top: 1.6rem; }
.page-content p { font-size: 0.95rem; }
.page-content ul { margin: 0.8rem 0 1.2rem 1.4rem; }
.page-content ul li { list-style: disc; margin-bottom: 0.4rem; font-size: 0.92rem; }

/* --- 18+ Popup --- */
.age-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.age-popup.show { display: flex; }
.age-popup-box {
  background: #FFF8ED;
  border-radius: 18px;
  padding: 36px 32px 28px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.age-popup-box h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.age-popup-box p { font-size: 0.9rem; color: #4a3a4e; margin-bottom: 1.2rem; }
.age-popup-actions { display: flex; gap: 12px; justify-content: center; }
.age-popup-btn {
  padding: 10px 32px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.age-popup-btn:hover { opacity: 0.85; }
.age-popup-btn--yes { background: #55A990; color: #fff; }
.age-popup-btn--no { background: #E26F62; color: #fff; }

/* --- Cookie Banner --- */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #3A2342;
  color: #FFF8ED;
  padding: 16px 20px;
  z-index: 9998;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}
.cookie-banner.show { display: block; }
.cookie-content {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: center;
  text-align: center;
}
.cookie-content p { font-size: 0.85rem; margin: 0; }
.cookie-btn {
  padding: 8px 20px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cookie-btn:hover { opacity: 0.85; }
.cookie-btn--accept { background: #55A990; color: #fff; }
.cookie-btn--reject { background: transparent; color: #FFF8ED; border: 1px solid rgba(255,248,237,0.3); }

/* --- Card Backgrounds --- */
.card-bg-a .card-visual { background: #527FA1; }
.card-bg-b .card-visual { background: #B85F55; }
.card-bg-c .card-visual { background: #4E927E; }
.card-bg-d .card-visual { background: #73558E; }
.card-bg-e .card-visual { background: #B7873D; }
.card-bg-f .card-visual { background: #526778; }

/* --- Responsive --- */
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  .hero { padding: 32px 16px 28px; }
  .section { padding: 28px 0; }
  .card-visual img { height: auto; max-height: 90px; }
  .card-standard .card-visual img { height: auto; max-height: 90px; }
  .site-footer { padding: 32px 16px 20px; }
}

/* --- Turnstile Overlay --- */
.turnstile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(58, 34, 66, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10001;
  align-items: center;
  justify-content: center;
}
.turnstile-overlay.show { display: flex; }
.turnstile-modal {
  background: #FFF8ED;
  border-radius: 18px;
  padding: 36px 32px 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  animation: turnstileFadeIn 0.25s ease-out;
}
@keyframes turnstileFadeIn {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}
.turnstile-modal h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.turnstile-modal p { font-size: 0.9rem; color: #4a3a4e; margin-bottom: 1.5rem; }
.turnstile-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #7a6a7e;
  position: absolute;
  top: 12px;
  right: 16px;
  transition: color 0.2s;
}
.turnstile-close:hover { color: #3A2342; }
.turnstile-modal-wrap {
  position: relative;
}

/* Card CTA as button — same visuals as <a> */
button.card-cta {
  font-family: inherit;
  line-height: inherit;
  display: inline-block;
  background: #55A990;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}
button.card-cta:hover { background: #4a9a80; }
button.card-cta--highlight { background: #E26F62; }
button.card-cta--highlight:hover { background: #d05f52; }

/* --- Print --- */
@media print {
  .top-warning, .age-popup, .cookie-banner, .mobile-toggle, .mobile-menu, .turnstile-overlay { display: none !important; }
}
