/* ==========================================================================
   Хижина Ведьмы — Witchy Mystical Design System (Dark Aesthetic)
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg-page: #0a0712;
  --bg-card: rgba(20, 14, 34, 0.82);
  --bg-card-hover: rgba(28, 20, 48, 0.92);
  --bg-hero: rgba(24, 16, 42, 0.88);
  --bg-input: #120b20;
  
  --line: rgba(212, 175, 55, 0.24);
  --line-light: rgba(212, 175, 55, 0.12);
  --line-active: #d4af37;

  --gold: #d4af37;
  --gold-light: #f7e7a9;
  --gold-dark: #a6841e;
  --gold-bg: rgba(212, 175, 55, 0.12);
  --gold-glow: 0 0 20px rgba(212, 175, 55, 0.25);

  --purple: #9d4edd;
  --purple-light: #c77dff;
  --purple-dark: #622299;
  --purple-bg: rgba(157, 78, 221, 0.14);
  --purple-glow: 0 0 25px rgba(157, 78, 221, 0.28);

  --emerald: #52b788;
  --emerald-bg: rgba(82, 183, 136, 0.15);

  --ink-main: #f0eafc;
  --ink-heading: #ffffff;
  --ink-muted: #a79cb8;
  --ink-light: #796e8a;

  --shadow-card: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(157, 78, 221, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 45px rgba(212, 175, 55, 0.15);

  --font-serif: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', 'Inter', -apple-system, sans-serif;
}

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

body {
  background-color: var(--bg-page);
  color: var(--ink-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 100px;
}

/* Background mystical ambient glow & particles */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 50% 10%, rgba(157, 78, 221, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(212, 175, 55, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 15% 70%, rgba(88, 28, 135, 0.22) 0%, transparent 50%),
    #0a0712;
}

.stars-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(1px 1px at 30px 40px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 140px 90px, var(--gold-light), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 240px 190px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 360px 100px, var(--purple-light), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 480px 250px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 90% 20%, var(--gold), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 85% 80%, var(--purple-light), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 20% 90%, #fff, rgba(0,0,0,0));
  background-size: 500px 500px;
  opacity: 0.45;
  animation: starsTwinkle 14s infinite linear alternate;
  pointer-events: none;
  z-index: 1;
}

@keyframes starsTwinkle {
  0% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.02); }
  100% { opacity: 0.4; transform: scale(1); }
}

.wrap {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: 36px 20px 48px;
}

/* Header & Hero */
.hero {
  background: var(--bg-hero);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 40px 38px 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--purple-light), transparent);
}

.hero-banner-img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: 40px;
  background: var(--gold-bg);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #ffffff 20%, var(--gold-light) 65%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lead {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  color: #dfd7ef;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 26px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 22px 0 28px;
}

.stat-item {
  background: rgba(18, 12, 30, 0.75);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}

.stat-item:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-light);
}

.stat-item.clarify .stat-num {
  color: var(--purple-light);
  text-shadow: 0 0 15px rgba(199, 125, 255, 0.4);
}
.stat-item.done .stat-num {
  color: var(--emerald);
  text-shadow: 0 0 15px rgba(82, 183, 136, 0.4);
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 6px;
  letter-spacing: 0.03em;
}

/* Progress Tracking */
.progress-container {
  margin: 22px 0;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.progress-track {
  height: 9px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple-dark), var(--purple-light), var(--gold));
  box-shadow: 0 0 15px var(--purple-light);
  border-radius: 10px;
  transition: width 0.4s ease;
}

/* Controls bar */
.controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: rgba(25, 18, 42, 0.8);
  color: var(--ink-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--gold);
  background: var(--gold-bg);
  color: var(--gold-light);
  box-shadow: var(--gold-glow);
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(157, 78, 221, 0.3));
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.badge-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-light);
}

.export-menu-btn {
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(25, 18, 42, 0.7);
  color: var(--ink-muted);
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}
.export-menu-btn:hover {
  border-color: var(--purple-light);
  color: #fff;
}

/* Sections Nav Tabs */
.sections-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 24px;
  scrollbar-width: thin;
}

.nav-tab {
  white-space: nowrap;
  padding: 11px 18px;
  border-radius: 14px;
  background: rgba(22, 15, 36, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.nav-tab:hover {
  border-color: var(--gold);
  color: var(--ink-main);
}

.nav-tab.active {
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.35), rgba(40, 25, 65, 0.9));
  border-color: var(--purple-light);
  color: #fff;
  box-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
}

.tab-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-muted);
}
.nav-tab.active .tab-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.tab-badge.done {
  background: var(--emerald-bg);
  color: var(--emerald);
  font-weight: 700;
}

/* Questions List & Cards */
.questions-list {
  display: grid;
  gap: 24px;
}

.q-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.q-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.q-card:focus-within {
  border-color: var(--purple-light);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(157, 78, 221, 0.2);
}

.q-card[hidden] {
  display: none !important;
}

.q-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.q-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.q-id {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.tag-status {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
}

.tag-status.answered {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid rgba(82, 183, 136, 0.3);
}
.tag-status.clarify {
  background: var(--purple-bg);
  color: var(--purple-light);
  border: 1px solid rgba(199, 125, 255, 0.35);
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.2);
}
.tag-status.unanswered {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-muted);
}
.tag-status.corrected {
  background: var(--gold-bg);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.q-title {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.q-desc {
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  white-space: pre-line;
}

/* Previous Interview Box */
.prefilled-box {
  background: rgba(14, 10, 24, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.prefilled-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 10px;
}

.prefilled-content {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: #dfd7ee;
  line-height: 1.55;
  font-style: italic;
}

.prefilled-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn-secondary {
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: rgba(25, 18, 42, 0.8);
  color: var(--ink-main);
  cursor: pointer;
  transition: all 0.15s;
}
.btn-secondary:hover {
  border-color: var(--gold);
  background: var(--gold-bg);
  color: var(--gold-light);
}

.btn-confirm {
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid rgba(82, 183, 136, 0.4);
  background: var(--emerald-bg);
  color: var(--emerald);
  cursor: pointer;
  transition: all 0.15s;
}
.btn-confirm:hover {
  background: rgba(82, 183, 136, 0.28);
  box-shadow: 0 0 15px rgba(82, 183, 136, 0.3);
}

/* Fields & Inputs */
.field-group {
  margin-top: 18px;
}

.textarea-input {
  width: 100%;
  min-height: 100px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-input);
  color: #f5f0ff;
  font-family: inherit;
  font-size: 0.98rem;
  line-height: 1.55;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea-input:focus {
  outline: none;
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.2);
}

.options-grid {
  display: grid;
  gap: 10px;
}

.opt-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 12, 32, 0.65);
  cursor: pointer;
  transition: all 0.15s;
}

.opt-label:hover {
  border-color: var(--gold);
  background: rgba(28, 20, 48, 0.8);
}

.opt-label:has(input:checked) {
  border-color: var(--purple-light);
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(30, 20, 50, 0.7));
  box-shadow: 0 0 15px rgba(157, 78, 221, 0.2);
}

.opt-label input[type="radio"],
.opt-label input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--purple-light);
  flex-shrink: 0;
}

.opt-text {
  font-size: 0.96rem;
  color: #efe8fa;
}

/* Composite Sub-fields */
.composite-container {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  background: rgba(14, 9, 26, 0.7);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.subfield-item label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 7px;
}

.subfield-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-input);
  font-size: 0.94rem;
  color: #ffffff;
  font-family: inherit;
  transition: border-color 0.2s;
}
.subfield-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Clarification Wrapper */
.clarification-wrapper {
  margin-top: 18px;
  padding: 22px;
  background: rgba(28, 18, 50, 0.6);
  border: 1px solid rgba(199, 125, 255, 0.3);
  border-radius: 18px;
  box-shadow: 0 0 25px rgba(157, 78, 221, 0.1);
}

.clarification-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.q-footer-state {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--ink-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Bottom Nav Bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 9, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: 14px 24px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7);
  z-index: 100;
}

.bottom-nav-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.nav-buttons {
  display: flex;
  gap: 10px;
}

.btn-primary {
  padding: 12px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0d0916;
  border: 0;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--gold-glow);
  transition: all 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
}

.btn-nav {
  padding: 11px 20px;
  border-radius: 12px;
  background: rgba(25, 18, 42, 0.85);
  border: 1px solid var(--line);
  color: var(--ink-main);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-nav:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.btn-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  z-index: 200;
  padding: 20px;
}
.modal-overlay[hidden] {
  display: none !important;
}

.modal-box {
  background: #140e24;
  border: 1px solid var(--line);
  border-radius: 24px;
  max-width: 580px;
  width: 100%;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 14px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--gold-light);
}

.btn-close {
  background: none;
  border: 0;
  font-size: 1.4rem;
  color: var(--ink-muted);
  cursor: pointer;
}
.btn-close:hover {
  color: #fff;
}

.modal-body {
  display: grid;
  gap: 14px;
}

.modal-action-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(25, 18, 44, 0.8);
  color: var(--ink-main);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-action-btn:hover {
  border-color: var(--purple-light);
  background: rgba(38, 26, 64, 0.9);
  color: #fff;
  box-shadow: 0 0 15px rgba(157, 78, 221, 0.25);
}

/* Toast */
.toast-notice {
  position: fixed;
  top: 24px;
  right: 24px;
  background: linear-gradient(135deg, #1b122f, #261642);
  border: 1px solid var(--gold);
  color: #fff;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(212, 175, 55, 0.3);
  z-index: 300;
  transition: opacity 0.3s, transform 0.3s;
}
.toast-notice[hidden] {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

/* Mobile responsive */
@media (max-width: 650px) {
  .wrap {
    padding: 18px 12px 90px;
  }
  .hero {
    padding: 26px 18px 22px;
    border-radius: 20px;
  }
  .q-card {
    padding: 22px 16px;
    border-radius: 16px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .stat-item {
    padding: 12px 14px;
  }
  .stat-num {
    font-size: 1.8rem;
  }
  .bottom-nav {
    padding: 10px 14px;
  }
}
/* Section Intro Banner */
.section-intro-banner {
  background: rgba(18, 12, 32, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.section-intro-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--purple-light));
}

.section-vignette-img {
  width: 130px;
  height: 95px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.section-intro-content {
  flex: 1;
}

.section-num-tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.section-title-heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.section-desc-text {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

@media (max-width: 600px) {
  .section-intro-banner {
    flex-direction: column;
    text-align: center;
    padding: 18px 16px;
    gap: 14px;
  }
  .section-vignette-img {
    width: 100%;
    height: 120px;
  }
}
/* Author Badge Card in Anketa */
.author-badge-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 12, 30, 0.75);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 6px 16px 6px 6px;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.author-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  overflow: hidden;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.author-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.author-name {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.author-sub {
  font-size: 0.74rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}
