/* =============================================
   Spinbara — Editorial Promo Site
   Design system inspired by the official brand
   ============================================= */

:root {
  --bg: #efe9fc;
  --bg-deep: #e2d6f9;
  --surface: #ffffff;
  --surface-soft: #f7f2ff;
  --surface-alt: #f0ebff;

  --primary: #5a2ebf;
  --primary-600: #4a25a3;
  --primary-700: #3c1d85;
  --primary-ink: #1f0f5e;

  --accent: #a3dc1f;
  --accent-600: #8cc212;
  --accent-ink: #2b4000;

  --violet: #8959ff;
  --violet-soft: #c8b5ff;

  --gold: #f3b23a;
  --rose: #ff6ea8;
  --sky: #4fb0ff;
  --mint: #2cd694;
  --tangerine: #ff7a33;

  --text: #15093d;
  --text-soft: #2f2265;
  --text-muted: #514b75;
  --text-dim: #6e6890;

  --border: #d8ccf2;
  --border-soft: #ebe3f9;
  --divider: #e6dcf7;

  --shadow-sm: 0 2px 6px rgba(30, 13, 80, 0.06);
  --shadow: 0 10px 28px rgba(30, 13, 80, 0.10);
  --shadow-lg: 0 24px 60px rgba(30, 13, 80, 0.18);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --container: 1180px;

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 80% -200px, #d4c4fb 0%, transparent 60%),
    radial-gradient(900px 400px at -20% 120px, #e4d6fa 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-700); }

/* Scrollbar */
@supports (scrollbar-color: auto) {
  html { scrollbar-color: var(--primary) var(--bg-deep); scrollbar-width: thin; }
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--violet)); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-700); }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(60, 29, 133, 0.98), rgba(45, 20, 110, 0.96));
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow .2s ease;
}
.header.scrolled { box-shadow: 0 10px 30px rgba(15, 7, 45, 0.25); }

.header-inner {
  display: flex; align-items: center; gap: 16px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: .3px; }
.brand img { width: 40px; height: 30px; }
.brand-name { font-size: 20px; }

.nav {
  display: flex; align-items: center; gap: 2px;
  margin-left: 12px;
  flex: 1;
  min-width: 0;
}
.nav a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 10px; border-radius: 10px;
  color: #e5dcff; font-size: 13.5px; font-weight: 500;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav a.is-active { background: rgba(172, 224, 30, 0.15); color: #dcf79a; }
.nav svg { width: 15px; height: 15px; stroke-width: 1.8; flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 14px;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #b7e833, #8ec91a);
  color: #1d2a00;
  box-shadow: 0 6px 0 #5f8a0c, 0 10px 20px rgba(140, 195, 20, 0.35);
}
.btn-primary:hover { color: #1d2a00; background: linear-gradient(180deg, #c1ee3e, #95d022); }
.btn-primary:active { box-shadow: 0 3px 0 #5f8a0c, 0 6px 12px rgba(140,195,20,0.30); }
.btn-ghost {
  background: rgba(255,255,255,0.08); color: #fff; padding: 10px 18px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.16); color: #fff; }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--primary); padding: 10px 20px;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-block { width: 100%; padding: 14px 22px; font-size: 15px; }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* Burger */
.burger {
  display: none;
  width: 42px; height: 42px; border-radius: 12px; border: 0;
  background: rgba(255,255,255,0.08); cursor: pointer;
  align-items: center; justify-content: center;
  position: relative;
}
.burger span {
  position: absolute; left: 10px; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s ease, top .25s ease, opacity .2s ease;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
body.menu-open .burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 68px 0 0 0; z-index: 40;
  background: linear-gradient(180deg, #2b1474 0%, #1a0b4f 100%);
  transform: translateY(-10px); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  overflow-y: auto;
}
body.menu-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.mobile-nav-inner { padding: 18px 20px 36px; }
.mobile-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px; border-radius: 12px;
  color: #e8dfff; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a svg { width: 18px; height: 18px; stroke-width: 1.8; color: #c2aaff; }
.mobile-nav a.is-active { background: rgba(172, 224, 30, 0.12); color: #dcf79a; }
.mobile-nav .btn { margin-top: 18px; }

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 56px 0 32px;
  text-align: center;
  position: relative;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(90, 46, 191, 0.10); color: var(--primary);
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  border: 1px solid rgba(90, 46, 191, 0.20);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px); line-height: 1.1;
  margin: 18px auto 14px; max-width: 900px;
  letter-spacing: -0.02em; color: var(--primary-ink);
  font-weight: 800;
}
.hero-lead {
  max-width: 760px; margin: 0 auto;
  font-size: 18px; color: var(--text-soft);
}
.hero-cta {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 26px;
}
.hero-meta {
  display: flex; justify-content: center; gap: 22px; flex-wrap: wrap;
  margin-top: 20px; color: var(--text-muted); font-size: 14px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent-600); }

/* =============================================
   DEVICE MOCKUPS
   ============================================= */
.device-desktop {
  max-width: 700px; margin: 40px auto 0;
  border-radius: 18px; overflow: hidden;
  background: #1e114f; box-shadow: var(--shadow-lg);
  position: relative;
}
.device-desktop .dots {
  display: flex; gap: 6px; padding: 10px 14px;
  background: #14093b;
}
.device-desktop .dots span {
  width: 11px; height: 11px; border-radius: 50%; background: #ff5f57;
}
.device-desktop .dots span:nth-child(2) { background: #febc2e; }
.device-desktop .dots span:nth-child(3) { background: #28c840; }
.device-desktop .screen { position: relative; background: #fff; }
.device-desktop .screen img { width: 100%; display: block; }
.device-desktop .floating-cta {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 2;
}

.device-phone {
  width: 280px; margin: 0 auto;
  background: #120832; border-radius: 36px; padding: 8px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.device-phone::before {
  content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 18px; background: #0a0520; border-radius: 12px; z-index: 2;
}
.device-phone .screen {
  border-radius: 26px; overflow: hidden; background: #efe9fc;
  aspect-ratio: 9 / 19;
  position: relative;
}
.device-phone .screen img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 56px 0; }
.section-sm { padding: 36px 0; }
.section-head { text-align: center; max-width: 800px; margin: 0 auto 34px; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.18; margin: 0 0 14px;
  color: var(--primary-ink); font-weight: 800; letter-spacing: -0.015em;
  position: relative; display: inline-block; padding-bottom: 12px;
}
.section-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 3px;
}
.section-desc {
  max-width: 780px; margin: 0 auto;
  color: var(--text-soft); font-size: 17px;
}

/* =============================================
   CARDS
   ============================================= */
.card-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-align: center;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--violet-soft); }
.card-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eadcff, #d6c0ff);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 {
  font-size: 18px; margin: 0 0 8px; color: var(--primary-ink); font-weight: 700;
}
.card p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* =============================================
   STATS
   ============================================= */
.stats-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 18px;
}
.stat {
  background: linear-gradient(145deg, #ffffff 0%, #f6efff 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 20px; text-align: center;
}
.stat-num {
  font-size: 34px; font-weight: 800; color: var(--primary);
  letter-spacing: -0.02em; line-height: 1;
}
.stat-label { color: var(--text-muted); font-size: 14px; margin-top: 6px; }

/* =============================================
   PROSE (article content)
   ============================================= */
.prose {
  max-width: 820px; margin: 0 auto;
  color: var(--text-soft); font-size: 17px; line-height: 1.75;
}
.prose p { margin: 0 0 18px; }
.prose h2 {
  font-size: clamp(24px, 3vw, 32px); margin: 40px 0 16px;
  color: var(--primary-ink); font-weight: 800; letter-spacing: -0.015em;
  padding-bottom: 10px; position: relative;
}
.prose h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 54px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 3px;
}
.prose h3 {
  font-size: 20px; margin: 28px 0 10px;
  color: var(--primary-ink); font-weight: 700;
}
.prose strong { color: var(--primary-ink); }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 18px; }
.prose ul li, .prose ol li { margin: 8px 0; }
.prose a, .section-desc a, .highlight-box a, .callout-body a, .faq-a-inner a, .responsible a {
  color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--primary-700); }

/* Numbered list with counters */
.steps {
  list-style: none; padding: 0; margin: 22px 0;
  counter-reset: step;
}
.steps li {
  position: relative; padding: 16px 18px 16px 60px;
  margin: 10px 0;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); counter-increment: step;
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.steps li strong { color: var(--primary-ink); display: block; margin-bottom: 2px; }

/* Icon list */
.icon-list { list-style: none; padding: 0; margin: 14px 0 20px; }
.icon-list li {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px 0;
  border-bottom: 1px dashed var(--divider);
}
.icon-list li:last-child { border-bottom: 0; }
.icon-list li svg {
  width: 22px; height: 22px; color: var(--accent-600); flex-shrink: 0; margin-top: 2px;
}
.icon-list li strong { color: var(--primary-ink); }

/* =============================================
   CALLOUTS
   ============================================= */
.callout {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 22px; margin: 22px auto;
  border-radius: var(--radius); border-left: 4px solid var(--primary);
  background: #f3edff; max-width: 820px;
}
.callout.info { border-left-color: var(--sky); background: #e8f4ff; }
.callout.success { border-left-color: var(--mint); background: #e3faf0; }
.callout.warning { border-left-color: var(--tangerine); background: #fff1e6; }
.callout-icon {
  width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.callout-icon svg { width: 20px; height: 20px; color: var(--primary); }
.callout.info .callout-icon svg { color: var(--sky); }
.callout.success .callout-icon svg { color: var(--mint); }
.callout.warning .callout-icon svg { color: var(--tangerine); }
.callout-body h3 { margin: 0 0 4px; font-size: 16px; color: var(--primary-ink); font-weight: 700; }
.callout-body p { margin: 0; color: var(--text-soft); font-size: 15px; }

.highlight-box {
  padding: 20px 24px; margin: 22px auto; max-width: 820px;
  border-left: 4px solid var(--sky); background: #eaf4ff;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.highlight-box h3 { margin: 0 0 8px; color: var(--primary-ink); font-size: 17px; font-weight: 700; }
.highlight-box p { margin: 0; color: var(--text-soft); }

blockquote {
  position: relative; margin: 28px auto; max-width: 760px;
  padding: 20px 24px 20px 56px;
  background: #f3edff; border-radius: var(--radius);
  color: var(--text-soft); font-style: italic; font-size: 17px;
}
blockquote::before {
  content: "\201C";
  position: absolute; left: 14px; top: -10px;
  font-size: 72px; line-height: 1; color: var(--violet);
  font-family: Georgia, 'Times New Roman', serif;
}
blockquote cite {
  display: block; margin-top: 10px; font-style: normal; font-size: 14px;
  color: var(--primary); font-weight: 600;
}

/* =============================================
   TABLES
   ============================================= */
.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--radius); border: 1px solid var(--border-soft); background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table caption {
  caption-side: top; padding: 14px 18px; text-align: left;
  font-weight: 700; color: var(--primary-ink);
  background: var(--surface-alt); border-bottom: 1px solid var(--border-soft);
}
.data-table th, .data-table td {
  padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border-soft);
}
.data-table th { background: #f7f2ff; color: var(--primary-ink); font-weight: 700; font-size: 14px; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #faf6ff; }
.data-table tr.highlight-row td { background: #f3edff; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .2px;
}
.badge-green { background: #e3faf0; color: #0f7b42; }
.badge-amber { background: #fff1e6; color: #a04600; }
.badge-blue  { background: #e8f4ff; color: #1c5a9a; }
.badge-rose  { background: #ffe6f1; color: #9a1f5a; }

/* =============================================
   BONUS CARDS (promotions)
   ============================================= */
.bonus-filters {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin: 10px 0 26px;
}
.bonus-filters button {
  border: 1px solid var(--border); background: var(--surface);
  padding: 8px 16px; border-radius: 999px;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--primary-ink);
  cursor: pointer; transition: all .15s ease;
}
.bonus-filters button:hover { border-color: var(--primary); }
.bonus-filters button.is-active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

.bonus-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.bonus-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
}
.bonus-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bonus-visual {
  aspect-ratio: 4 / 3; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #6b3fd1 0%, #4a1fa3 50%, #3a1686 100%);
}
.bonus-visual.casino { background: linear-gradient(135deg, #c43b93 0%, #7b2378 60%, #3a1686 100%); }
.bonus-visual.sport  { background: linear-gradient(135deg, #1f8f5d 0%, #2a4fa3 60%, #311873 100%); }
.bonus-visual.crypto { background: linear-gradient(135deg, #f3b23a 0%, #b95a1b 55%, #4a1f71 100%); }
.bonus-visual.special{ background: linear-gradient(135deg, #ff6ea8 0%, #7d2cc1 55%, #2d1373 100%); }
.bonus-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.2) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 35%);
}
.bonus-visual-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 24px; text-align: center;
  color: #fff;
}
.bonus-visual-inner .amount {
  font-size: clamp(24px, 4vw, 34px); font-weight: 900; letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.bonus-visual-inner .title {
  font-size: 14px; font-weight: 600; opacity: .85; margin-top: 6px;
  text-transform: uppercase; letter-spacing: 1px;
}
.bonus-category {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .3px;
  background: #fff; color: var(--primary-ink);
  z-index: 2;
}
.bonus-category.casino { background: #ff5fa8; color: #fff; }
.bonus-category.sport  { background: #2cd694; color: #0e3d22; }
.bonus-category.crypto { background: #f3b23a; color: #4a2e00; }
.bonus-category.special{ background: #ff8a4a; color: #4a1a00; }
.bonus-body {
  padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.bonus-body h3 { margin: 0; font-size: 17px; color: var(--primary-ink); font-weight: 700; }
.bonus-body .bonus-amount {
  font-size: 15px; color: var(--primary); font-weight: 700;
}
.bonus-body p { margin: 0; color: var(--text-muted); font-size: 14px; flex: 1; }
.bonus-body .btn { margin-top: 6px; }

/* =============================================
   FAQ
   ============================================= */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 20px; cursor: pointer; user-select: none;
  font-weight: 600; color: var(--primary-ink); font-size: 16px;
}
.faq-q h3 { margin: 0; font-size: 16px; font-weight: 600; }
.faq-q .chev {
  width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--surface-soft); color: var(--primary); flex-shrink: 0;
  transition: transform .25s ease, background .15s ease;
}
.faq-q .chev svg { width: 14px; height: 14px; stroke-width: 2.4; }
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); background: var(--primary); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 20px 18px; color: var(--text-soft); font-size: 15px; line-height: 1.7; }

/* =============================================
   CALCULATOR
   ============================================= */
.bonus-calc {
  max-width: 520px; margin: 24px auto;
  background: linear-gradient(160deg, #ffffff 0%, #f6efff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 26px;
  box-shadow: var(--shadow);
  text-align: left;
}
.bonus-calc h3 { margin: 0 0 14px; font-size: 20px; color: var(--primary-ink); }
.bonus-calc label { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
.bonus-calc input[type="number"] {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--border); background: #fff;
  font-family: inherit; font-size: 16px; color: var(--text); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bonus-calc input[type="number"]:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(90,46,191,0.12); }
.bonus-calc-result {
  margin-top: 16px; padding: 16px; border-radius: var(--radius);
  background: linear-gradient(135deg, #1f0b5a, #3c1d85); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
}
.bonus-calc-result .label { font-size: 13px; opacity: .8; text-transform: uppercase; letter-spacing: .8px; }
.bonus-calc-result .value { font-size: 28px; font-weight: 800; color: #cbe85c; letter-spacing: -0.01em; }

/* =============================================
   EXPLORE (page links)
   ============================================= */
.page-links {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 920px; margin: 0 auto;
}
.page-links a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border-soft);
  color: var(--primary-ink); font-weight: 600; font-size: 15px;
  transition: all .15s ease;
}
.page-links a:hover {
  border-color: var(--violet); background: var(--surface-soft);
  transform: translateY(-1px);
}
.page-links svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

/* =============================================
   FORM PREVIEW (login/register mockups)
   ============================================= */
.form-mockup {
  max-width: 420px; margin: 0 auto;
  background: var(--surface-soft);
  border-radius: var(--radius-xl);
  padding: 28px 28px 30px; box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-mockup .form-logo {
  display: flex; justify-content: center; margin-bottom: 10px;
}
.form-mockup .form-logo img { width: 92px; height: auto; }
.form-mockup h2 {
  text-align: left; font-size: 22px; color: var(--primary-ink); margin: 0 0 16px;
}
.form-mockup .field { margin-bottom: 14px; }
.form-mockup label {
  display: block; font-size: 14px; color: var(--text); font-weight: 600; margin-bottom: 6px;
}
.form-mockup input, .form-mockup .fake-input {
  width: 100%; padding: 13px 14px;
  background: #fff; border: 1.5px solid var(--border); border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--text-muted);
  line-height: 1.3;
}
.form-mockup input { pointer-events: none; }
.form-mockup a.fake-input { cursor: pointer; color: var(--text-muted); text-decoration: none; }
.form-mockup a.fake-input:hover { border-color: var(--primary); color: var(--text); }
.form-mockup .fake-input.with-icon {
  display: flex; justify-content: space-between; align-items: center;
}
.form-mockup .fake-input svg { width: 18px; height: 18px; color: var(--primary); }
.form-mockup .form-tabs {
  display: flex; gap: 8px; margin-bottom: 18px;
  background: #fff; padding: 5px; border-radius: 12px; border: 1px solid var(--border);
}
.form-mockup .form-tabs span {
  flex: 1; text-align: center; padding: 9px 10px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
}
.form-mockup .form-tabs span.active {
  background: linear-gradient(135deg, var(--primary), var(--violet)); color: #fff;
}
.form-disclaimer {
  max-width: 560px; margin: 0 auto 20px;
  padding: 14px 18px; border-radius: 12px;
  background: #fff7e6; border-left: 4px solid var(--gold);
  color: #6d4a00; font-size: 14px;
}
.form-mockup .form-link {
  font-size: 13px; color: var(--primary); text-align: right; display: block; margin-top: -8px; margin-bottom: 14px;
  text-decoration: underline; text-underline-offset: 3px;
}
.form-mockup .form-footer-note {
  text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 16px;
}
.form-mockup .form-divider {
  text-align: center; font-size: 12px; color: var(--text-muted); margin: 16px 0;
  position: relative;
}
.form-mockup .form-divider::before, .form-mockup .form-divider::after {
  content: ""; position: absolute; top: 50%; width: 38%; height: 1px; background: var(--border);
}
.form-mockup .form-divider::before { left: 0; }
.form-mockup .form-divider::after { right: 0; }
.form-mockup .google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px 16px;
  background: #fff; border: 1.5px solid var(--border); border-radius: 12px;
  font-weight: 600; color: var(--text); cursor: pointer;
  text-decoration: none;
}
.form-mockup .google-btn:hover { background: #faf6ff; color: var(--primary-ink); }
.bonus-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-600));
  color: var(--accent-ink); font-weight: 700; font-size: 13px;
  margin-bottom: 14px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  margin-top: 70px;
  background: linear-gradient(180deg, #1b0c52 0%, #130742 100%);
  color: #d4c8f5;
  padding: 50px 0 26px;
}
.footer-top {
  display: grid; gap: 28px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.footer h3 { color: #fff; font-size: 15px; margin: 0 0 14px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.footer .brand-name { color: #fff; }
.footer p { color: #b8a8e5; font-size: 14px; margin: 12px 0; max-width: 320px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin: 8px 0; }
.footer ul a { color: #c9bbeb; font-size: 14px; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  margin-top: 34px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #968ac4;
}
.footer-bottom a { color: #b8a8e5; text-decoration: underline; text-underline-offset: 3px; }
.responsible {
  margin-top: 20px; padding: 16px 20px; border-radius: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: #c9bbeb; font-size: 13px; line-height: 1.6;
}
.responsible strong { color: #fff; }
.responsible a { color: #e0d4ff; text-decoration: underline; text-underline-offset: 3px; }

/* 18+ badge */
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: #c2185b; color: #fff; font-weight: 800; font-size: 13px;
  flex-shrink: 0;
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff; border: 0; cursor: pointer;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-top svg { width: 20px; height: 20px; stroke-width: 2.4; }

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumbs {
  padding-top: 18px; font-size: 14px; color: var(--text-muted);
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin: 0 6px; color: var(--text-dim); }
.breadcrumbs a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs li[aria-current="page"] { color: var(--text-soft); }

/* =============================================
   MEDIA QUERIES
   ============================================= */
@media (max-width: 1200px) {
  .header-cta .btn-ghost { display: none; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header-cta { display: contents; }
  .header-cta .btn-primary { margin-left: auto; }
  .burger { margin-left: 10px; }
}
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .hero { padding: 36px 0 12px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .device-desktop { max-width: 100%; border-radius: 14px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand-name { font-size: 18px; }
  body { font-size: 15px; }
}

/* Animation utilities */
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .5s ease both; }

/* Go page */
.go-wrap {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px;
}
.go-card {
  max-width: 560px; background: var(--surface); border-radius: var(--radius-lg);
  padding: 34px 28px; box-shadow: var(--shadow);
  border: 1px solid var(--border-soft);
}
.go-card img { margin: 0 auto 16px; width: 72px; }
.go-card h1 { font-size: 26px; color: var(--primary-ink); margin: 0 0 10px; }
.go-card h2 { font-size: 17px; color: var(--text-soft); margin: 14px 0 6px; font-weight: 600; }
.go-card ul { text-align: left; display: inline-block; color: var(--text-soft); padding-left: 20px; }

/* 404 */
.err-wrap { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.err-num { font-size: clamp(80px, 14vw, 160px); font-weight: 900; color: var(--primary); letter-spacing: -0.04em; line-height: 1; background: linear-gradient(135deg, var(--primary), var(--violet)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* =============================================
   CTA BANNER (archive tail — reconstructed)
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, #2a1375 0%, #5a2ebf 60%, #8959ff 100%);
  border-radius: var(--radius-xl); padding: 42px 32px; text-align: center;
  color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(163,220,31,0.35), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  margin: 0 0 10px; font-size: clamp(24px, 3.4vw, 34px);
  color: #fff; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2;
}
.cta-banner p { margin: 0 auto 20px; max-width: 640px; color: #ddd2ff; font-size: 16px; }
.cta-banner .btn { margin: 0 auto; }

/* =============================================
   GAME / TOPIC TILES
   ============================================= */
.game-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 980px; margin: 0 auto;
}
.game-tile {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas: "num name" "num type";
  column-gap: 12px; row-gap: 2px; align-items: center;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 13px 16px;
  box-shadow: var(--shadow-sm); min-width: 0;
  color: var(--primary-ink);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
a.game-tile:hover { border-color: var(--violet-soft); transform: translateY(-1px); box-shadow: var(--shadow); color: var(--primary-ink); }
.gt-num {
  grid-area: num; align-self: center;
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  flex-shrink: 0;
}
.gt-name {
  grid-area: name; font-weight: 700; font-size: 15px; line-height: 1.35;
  min-width: 0; overflow-wrap: anywhere;
}
.gt-type { grid-area: type; font-size: 12.5px; color: var(--text-muted); }

/* =============================================
   PROS / CONS
   ============================================= */
.pros-cons {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 980px; margin: 0 auto;
}
.pc-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 24px 26px 26px;
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--primary);
}
.pc-card.pros { border-top-color: var(--mint); }
.pc-card.cons { border-top-color: var(--rose); }
.pc-card h3 { margin: 0 0 12px; font-size: 18px; color: var(--primary-ink); font-weight: 700; }
.pc-card ul { list-style: none; padding: 0; margin: 0; }
.pc-card ul li {
  position: relative; padding-left: 28px; margin: 10px 0;
  color: var(--text-soft); font-size: 15px; line-height: 1.55;
}
.pc-card ul li::before {
  position: absolute; left: 0; top: 0; font-weight: 800;
}
.pc-card.pros ul li::before { content: "\2713"; color: var(--mint); }
.pc-card.cons ul li::before { content: "!"; color: var(--rose); left: 6px; }

/* =============================================
   ARTICLE PAGE
   ============================================= */
.article-head { padding: 6px 0 0; }
.article-head h1 {
  font-size: clamp(27px, 4.2vw, 42px); line-height: 1.14;
  margin: 14px 0 0; max-width: 900px;
  letter-spacing: -0.02em; color: var(--primary-ink); font-weight: 800;
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 14px 0 0; color: var(--text-muted); font-size: 14px;
}
.article-meta .dot { color: var(--text-dim); }
.article-cover {
  display: block; width: 100%; max-width: 980px;
  margin: 26px auto 0; border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft); box-shadow: var(--shadow);
  aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-alt);
}
.article-body { margin-top: 34px; }
.article-body .leadb {
  font-size: 18px; color: var(--text-soft); font-weight: 500;
  border-left: 3px solid var(--violet-soft); padding-left: 16px;
}
.article-foot { max-width: 820px; margin: 30px auto 0; }
.article-rel { max-width: 980px; margin: 0 auto; }
.prose table { width: 100%; }
.prose img { border-radius: var(--radius); margin: 20px auto; }

/* =============================================
   404 / ERROR
   ============================================= */
.err-wrap {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 50px 0; flex-direction: column;
}
.err-num {
  font-size: clamp(84px, 16vw, 160px); font-weight: 900; line-height: 1;
  letter-spacing: -0.04em; margin: 0;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.err-wrap h1 { margin: 6px 0 10px; font-size: clamp(22px, 4vw, 30px); color: var(--primary-ink); }
.err-wrap p { max-width: 520px; margin: 0 auto 22px; color: var(--text-muted); }

/* =============================================
   MOBILE / TABLET HARDENING
   ============================================= */
@media (max-width: 1080px) {
  .mobile-nav-inner { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px 28px; }
  .mobile-nav-inner a:not(.btn) {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 14px; border-radius: 12px;
    color: #e5dcff; font-weight: 600; font-size: 15px;
  }
  .mobile-nav-inner a:not(.btn):hover { background: rgba(255,255,255,0.08); color: #fff; }
  .mobile-nav-inner svg { width: 18px; height: 18px; stroke-width: 1.8; flex-shrink: 0; }
}
@media (max-width: 960px) {
  .hero { padding: 40px 0 26px; }
  .section { padding: 46px 0; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pros-cons { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  body { font-size: 15.5px; }
  .hero h1 { font-size: clamp(26px, 8.2vw, 34px); margin-top: 14px; }
  .hero-lead { font-size: 16px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; }
  .hero-meta { gap: 10px 16px; font-size: 13px; }
  .section-head { margin-bottom: 24px; }
  .section-head h2 { font-size: clamp(22px, 6.6vw, 28px); }
  .section-desc { font-size: 15.5px; }
  .card { padding: 22px 18px; }
  .card-grid { grid-template-columns: 1fr; gap: 14px; }
  .game-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 12px; }
  .stat { padding: 18px 12px; }
  .stat-num { font-size: 26px; }
  .stat-label { font-size: 12.5px; }
  .prose { font-size: 16px; line-height: 1.72; }
  .prose h2 { font-size: 21px; }
  .prose .leadb, .article-body .leadb { font-size: 16.5px; }
  .article-head h1 { font-size: clamp(24px, 7.4vw, 30px); }
  .article-cover { margin-top: 18px; border-radius: 14px; }
  .callout { padding: 14px 16px; gap: 10px; margin: 18px auto; }
  .callout-body p { font-size: 14.5px; }
  .faq-q { padding: 14px 15px; gap: 10px; }
  .faq-q h3 { font-size: 15px; }
  .faq-a-inner { padding: 0 15px 16px; font-size: 14.5px; }
  .pc-card { padding: 20px 18px 22px; }
  blockquote { padding: 18px 18px 18px 46px; font-size: 16px; margin: 22px auto; }
  blockquote::before { font-size: 60px; left: 10px; top: -4px; }
  .cta-banner { padding: 30px 20px; border-radius: var(--radius-lg); }
  .cta-banner p { font-size: 15px; }
  .device-desktop { margin-top: 26px; border-radius: 14px; }
  .device-desktop .floating-cta { display: none; }
  .table-wrap { margin: 18px 0; border-radius: 12px; }
  .data-table { font-size: 13.5px; min-width: 520px; }
  .data-table th, .data-table td { padding: 10px 12px; }
  .steps { padding-left: 0; }
  .steps li { padding-left: 42px; padding-right: 12px; }
  .footer { margin-top: 48px; padding: 36px 0 22px; }
  .footer-top { gap: 22px; }
  .back-top { right: 12px; bottom: 12px; width: 42px; height: 42px; }
  .err-wrap { padding: 32px 0; }
}

/* Overflow guards */
html, body { max-width: 100%; }
.prose, .prose p, .prose li, .card, .card h3, .callout-body, .faq-a-inner,
.hero-lead, .section-desc, .article-head h1, .gt-name, .stat-label {
  overflow-wrap: break-word;
}
img, svg, video, iframe { max-width: 100%; }
.prose > * { min-width: 0; }

/* =============================================
   SITE EXTRAS (archive-consistent)
   ============================================= */
.section-tight { padding-top: 0; }
.card .badge { display: inline-block; margin: 0 0 10px; }
.rubric-block { max-width: 980px; margin: 0 auto 26px; }
.rubric-block:last-child { margin-bottom: 0; }
.rubric-block h3 {
  margin: 0 0 10px; font-size: 19px; letter-spacing: -0.01em;
  color: var(--primary-ink); font-weight: 800;
}
.rubric-block h3 a { color: inherit; }
.rubric-block h3 a:hover { color: var(--primary); }
@media (max-width: 640px) {
  .rubric-block { margin-bottom: 22px; }
  .rubric-block h3 { font-size: 17px; }
}

/* Desktop balance: 6-card / 6-tile grids in even rows */
@media (min-width: 961px) {
  .card-grid.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 940px; }
  .game-tile { padding: 15px 18px; }
}
@media (min-width: 641px) and (max-width: 960px) {
  .card-grid.cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* mobile nav CTA contrast (btn-primary on dark overlay) */
.mobile-nav a.btn-primary,
.mobile-nav a.btn-primary:hover { color: #1d2a00; }

/* логотип в шапке: без дублирующей текстовой надписи, сам знак крупнее */
.header .brand img{width:auto;height:40px}
.footer .brand img{width:auto;height:36px}
@media (max-width:640px){.header .brand img{height:34px}}

/* =============================================
   FAQ oldal (/gyik/) — details/summary
   ============================================= */
.faq-section { scroll-margin-top: 88px; }
.faq-group { max-width: 820px; margin: 0 auto; }
.faq-group-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin: 0 0 8px;
}
.faq-group-head h2 {
  margin: 0; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.2;
  color: var(--primary-ink); font-weight: 800; letter-spacing: -0.015em;
  padding-bottom: 11px; position: relative;
}
.faq-group-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 46px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}
.faq-group-link {
  font-size: 13.5px; font-weight: 600; color: var(--primary);
  text-decoration: none; white-space: nowrap;
  border-bottom: 1px dashed rgba(90, 46, 191, 0.35); padding-bottom: 1px;
}
.faq-group-link:hover { color: var(--primary-700); border-bottom-style: solid; }
.faq-group-intro {
  margin: 0 0 16px; max-width: 700px;
  color: var(--text-muted); font-size: 15.5px; line-height: 1.62;
}
.faq-toc { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); max-width: 900px; }
.faq-toc a { justify-content: space-between; }
.faq-toc-n {
  font-size: 12.5px; font-weight: 700; color: var(--primary);
  background: var(--surface-soft); border-radius: 999px; padding: 2px 9px;
}

.faq-item > summary.faq-q { list-style: none; }
.faq-item > summary.faq-q::-webkit-details-marker { display: none; }
.faq-item > summary.faq-q::marker { content: ""; }
.faq-item > summary.faq-q:focus-visible {
  outline: 2px solid var(--violet); outline-offset: -2px; border-radius: var(--radius);
}
.faq-item[open] { border-color: var(--border); box-shadow: var(--shadow-sm); }
.faq-item[open] > .faq-a { max-height: none; }
.faq-item[open] > summary.faq-q .chev {
  transform: rotate(180deg); background: var(--primary); color: #fff;
}
.faq-item[open] > summary.faq-q h3 { color: var(--primary); }
.faq-a-inner p { margin: 0 0 10px; }
.faq-a-inner p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .faq-group-head { margin-bottom: 6px; }
  .faq-group-link { font-size: 13px; }
  .faq-group-intro { font-size: 14.5px; }
  .faq-toc { grid-template-columns: 1fr; }
}

/* =============================================
   Rovatleírás — «Miről szól ez a rovat»
   ============================================= */
.rubric-intro {
  max-width: 860px; margin: 0 auto 30px;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.rubric-intro p {
  margin: 0 0 14px; color: var(--text-soft);
  font-size: 16px; line-height: 1.72;
}
.rubric-intro .rubric-lead {
  font-size: 17px; color: var(--primary-ink); font-weight: 600; line-height: 1.66;
}
.rubric-list {
  margin: 2px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 22px;
}
.rubric-list li {
  position: relative; padding-left: 24px;
  font-size: 14.8px; line-height: 1.5; color: var(--text-muted);
}
.rubric-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--primary); font-weight: 800; font-size: 14px;
}
@media (max-width: 700px) {
  .rubric-intro { padding: 20px 18px; margin-bottom: 22px; }
  .rubric-intro p { font-size: 15.5px; }
  .rubric-intro .rubric-lead { font-size: 16px; }
  .rubric-list { grid-template-columns: 1fr; }
}

/* =============================================
   Kapcsolat form (/kapcsolat/)
   ============================================= */
.cform {
  max-width: 780px; margin: 8px auto 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 26px 22px;
  box-shadow: var(--shadow-sm);
}
.cf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.cf-row { margin-bottom: 16px; }
.cf-row label {
  display: block; margin-bottom: 7px;
  font-size: 14px; font-weight: 700; color: var(--primary-ink);
}
.cf-req { color: #d92b5c; font-weight: 700; }
.cf-row input,
.cf-row select,
.cf-row textarea {
  width: 100%; padding: 12px 14px;
  border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--surface-soft); color: var(--text);
  font-family: inherit; font-size: 15px; line-height: 1.5;
  outline: none; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.cf-row textarea { min-height: 158px; resize: vertical; }
.cf-row select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%),
                    linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position: calc(100% - 19px) calc(50% + 1px), calc(100% - 14px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.cf-row input::placeholder,
.cf-row textarea::placeholder { color: var(--text-dim); }
.cf-row input:focus,
.cf-row select:focus,
.cf-row textarea:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(90, 46, 191, 0.12);
}
.cf-row.has-error input,
.cf-row.has-error select,
.cf-row.has-error textarea {
  border-color: #d92b5c; background: #fff5f7;
}
.cf-err {
  display: none; margin: 7px 0 0;
  font-size: 13px; line-height: 1.45; color: #c2185b;
}
.cf-row.has-error .cf-err { display: block; }
.cf-actions {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 4px;
}
.cf-actions .btn { padding: 13px 26px; font-size: 15px; }
.cf-count { font-size: 13px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.cf-status {
  display: none; margin: 14px 0 0; padding: 12px 14px;
  border-radius: 12px; font-size: 14.5px; line-height: 1.55;
}
.cf-status.is-ok { display: block; background: #e3faf0; color: #0d6b45; border: 1px solid #b6ecd4; }
.cf-status.is-err { display: block; background: #fff5f7; color: #a3123f; border: 1px solid #f3c2d0; }
.cf-note {
  margin: 16px 0 0; padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 13.2px; line-height: 1.62; color: var(--text-muted);
}
.cf-note b { color: var(--primary-ink); word-break: break-all; }
.callout-body p + p { margin-top: 8px; }

@media (max-width: 640px) {
  .cform { padding: 20px 16px 18px; }
  .cf-grid { grid-template-columns: 1fr; }
  .cf-actions .btn { width: 100%; }
  .cf-count { display: none; }
}

/* «Mind a 16 kérdés» link a főoldali FAQ alatt */
.faq-more-link { text-align: center; margin: 20px auto 0; }


/* карточки рубрик с обложками */
.card.card-cover-wrap{padding:0;overflow:hidden;text-align:left}
.card-cover{display:block;background:var(--surface-2,#efe7ff)}
.card-cover img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block}
.card.card-cover-wrap h3{margin:16px 20px 8px}
.card.card-cover-wrap p{margin:0 20px 20px}

/* логотип в шапке крупнее */
.header .brand img{width:auto;height:52px}
@media (max-width:640px){.header .brand img{height:42px}}


/* защита шапки от наложения пунктов меню на кнопки */
.header-inner{gap:10px}
.nav{flex:0 1 auto;min-width:auto;overflow:visible;margin-left:8px}
.header-cta{margin-left:auto;flex:0 0 auto}
@media (max-width:1320px){
  .nav a{padding:7px 8px;font-size:13px}
}
@media (max-width:1240px){
  .nav a svg{display:none}
}
