/* ===== CLEAN CONVERT DESIGN SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #FFFFFF;
  --bg-alt: #F8F9FA;
  --border: #E5E7EB;
  --text: #111827;
  --text-muted: #6B7280;
  --accent: #16A34A;
  --accent2: #DC2626;
  --gold: #D97706;
  --shadow: 0 1px 3px rgba(0,0,0,.10);
  --radius: 8px;
  --font: 'Inter', system-ui, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.875rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== CONTAINER ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

/* ===== HEADER / NAV ===== */
.site-header {
  background: #0f172a;
  padding: 0.875rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f5f9;
  text-decoration: none;
}
.site-logo span { color: #16A34A; }
.desktop-nav { display: flex; gap: 1.5rem; list-style: none; }
.desktop-nav a { color: #cbd5e1; font-size: 0.9rem; font-weight: 500; transition: color .2s; }
.desktop-nav a:hover { color: #f1f5f9; text-decoration: none; }

/* BASE — скрыт на десктопе */
.mobile-nav { display: none; }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #f1f5f9;
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; flex-direction: column; gap: 5px; }
  .hamburger span { display: block; width: 22px; height: 2px; background: #f1f5f9; transition: .3s; }
  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #1e293b;
    padding: 0.5rem 0;
    z-index: 200;
  }
  .mobile-nav a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #cbd5e1;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .mobile-nav a:hover { background: rgba(255,255,255,.06); color: #f1f5f9; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #fff;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(22,163,74,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22,163,74,.15);
  border: 1px solid rgba(22,163,74,.4);
  color: #86efac;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero h1 {
  color: #f1f5f9;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.hero-desc {
  color: #e2e8f0;
  font-size: 1.1rem;
  max-width: 680px;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  min-width: 110px;
}
.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #16A34A;
}
.stat-label {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #16A34A 0%, #15803d 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  animation: pulse-cta 2.5s infinite;
  position: relative;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(22,163,74,.4); text-decoration: none; color: #fff; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #f1f5f9;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.25);
  cursor: pointer;
  transition: .2s;
  text-decoration: none;
}
.btn-secondary:hover { background: rgba(255,255,255,.08); text-decoration: none; color: #f1f5f9; }
.btn-micro { font-size: 0.72rem; opacity: .75; display: block; text-align: center; margin-top: 3px; }
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,.4); }
  50% { box-shadow: 0 0 0 8px rgba(22,163,74,.0); }
}
.trust-row { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #e2e8f0;
}
.trust-item svg { color: #16A34A; flex-shrink: 0; }

/* ===== HERO AUTHOR BLOCK ===== */
.hero-author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-author-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.hero-author-details { display: flex; flex-direction: column; gap: 2px; }
.hero-author-name { font-size: 0.85rem; font-weight: 600; color: #f1f5f9; }
.hero-author-name a { color: #f1f5f9; text-decoration: none; }
.hero-author-role, .hero-pub-date { font-size: 0.75rem; color: #94a3b8; }

/* ===== SECTIONS ===== */
.section { padding: 3rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: #0f172a; color: #f1f5f9; }

.section-title {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  margin-bottom: 0.5rem;
  color: var(--text);
}
.section-intro {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 750px;
}

/* ===== VITRINA / CASINO CARDS ===== */
.vitrina { padding: 2.5rem 0 3rem; }
.vitrina-grid { display: flex; flex-direction: column; gap: 1rem; }
.casino-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.casino-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.12); transform: translateY(-2px); }
.casino-card.featured {
  border-color: var(--accent);
  border-width: 2px;
  background: #f0fdf4;
  position: relative;
}
.casino-card.featured::before {
  content: '🏆 Best Choice';
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: .04em;
}
.card-rank {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  min-width: 36px;
  text-align: center;
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.card-info { flex: 1; min-width: 0; }
.card-name { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: #e0f2fe;
  color: #0369a1;
}
.card-tag.green { background: #dcfce7; color: #166534; }
.card-stars { color: var(--gold); font-size: 0.85rem; }
.card-bonus { text-align: right; min-width: 160px; }
.card-bonus-amount { font-size: 1.1rem; font-weight: 800; color: var(--accent); line-height: 1.2; }
.card-bonus-label { font-size: 0.7rem; color: var(--text-muted); }
.card-cta {
  min-width: 130px;
  text-align: center;
}
.card-cta .btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, #16A34A 0%, #15803d 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  transition: .2s;
  white-space: nowrap;
}
.card-cta .btn-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22,163,74,.35); text-decoration: none; color: #fff; }
.card-cta .cta-micro { font-size: 0.68rem; color: var(--text-muted); margin-top: 3px; }
.show-more-btn {
  display: block;
  margin: 1.5rem auto 0;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: .2s;
}
.show-more-btn:hover { background: var(--accent); color: #fff; }
.casino-card.hidden { display: none; }

@media (max-width: 768px) {
  .casino-card { flex-wrap: wrap; gap: 0.75rem; }
  .card-bonus { min-width: 0; text-align: left; }
  .card-cta { width: 100%; }
  .card-cta .btn-cta { width: 100%; display: block; text-align: center; }
}

/* ===== H2 BANNERS ===== */
.h2-banner-wrap {
  display: block;
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-right: -16px;
  margin-top: 1.5rem;
  overflow: hidden;
  line-height: 0;
}
.h2-banner-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 767px) {
  .h2-banner-img {
    aspect-ratio: 1 / 1;
    object-position: center top;
  }
}
.h2-banner-wrap figcaption {
  font-size: 11px;
  color: #6b7280;
  background: transparent;
  text-align: right;
  padding: 4px 8px 0;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin-bottom: 2rem;
}

/* ===== FEATURED SNIPPET BLOCKS ===== */
.fs-paragraph {
  background: #f0fdf4;
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.25rem 0;
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.65;
}
.fs-list { margin: 1.25rem 0; }
.fs-list ol, .fs-list ul { padding-left: 1.5rem; }
.fs-list li { margin-bottom: 0.5rem; font-size: 0.95rem; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: 8px; box-shadow: var(--shadow); }
.fs-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.fs-table thead { background: #0f172a; color: #f1f5f9; }
.fs-table th { padding: 0.75rem 1rem; text-align: left; font-weight: 600; font-size: 0.85rem; }
.fs-table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--border); }
.fs-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.fs-table tbody tr:hover { background: #f0fdf4; }
.check { color: var(--accent); font-weight: 700; }
.cross { color: var(--accent2); }

/* ===== CONTENT SECTIONS ===== */
.content-section { padding: 2.5rem 0; }
.content-section .container > p { max-width: 800px; color: var(--text); }
.info-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}
.info-box strong { color: #1d4ed8; }
.warning-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}
.warning-box strong { color: var(--accent2); }
.tip-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

/* ===== METHODOLOGY ===== */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.method-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}
.method-card .method-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.method-card h4 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.method-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ===== AUTHOR BOX ===== */
.author-section { padding: 2.5rem 0; }
.author-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}
.author-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  flex-shrink: 0;
}
.author-details { flex: 1; }
.author-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.author-title-tag {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.author-bio { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.author-meta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
}
@media (max-width: 600px) {
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .author-meta-row { justify-content: center; }
}

/* ===== REVIEWED BY SECTION ===== */
.reviewed-by-section { padding: 2.5rem 0; }
.reviewed-by-section { background: var(--bg-alt); }
.reviewed-by-header { text-align: center; margin-bottom: 1.5rem; }
.reviewed-by-label {
  display: inline-block;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: 20px;
}
.reviewed-by-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) {
  .reviewed-by-cards { grid-template-columns: 1fr; }
}
.reviewer-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 1.25rem;
}
.reviewer-top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.reviewer-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}
.reviewer-name { font-weight: 700; font-size: 0.95rem; }
.reviewer-role { font-size: 0.78rem; color: var(--text-muted); }
.reviewer-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.4rem; }
.reviewer-date { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.reviewer-quote { font-size: 0.85rem; color: var(--text); font-style: italic; }

/* ===== FAQ ===== */
.faq-section { padding: 3rem 0; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 860px; }
.faq-item { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: none;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: background .2s;
}
.faq-question:hover { background: var(--bg-alt); }
.faq-question.open { background: #f0fdf4; color: var(--accent); }
.faq-chevron { font-size: 1.2rem; transition: transform .3s; flex-shrink: 0; }
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  background: var(--bg);
}
.faq-answer.open { display: block; }

/* ===== DISCLAIMER ===== */
.disclaimer-section { padding: 1.5rem 0; background: var(--bg-alt); }
.disclaimer-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.disclaimer-box strong { color: var(--text); }

/* ===== FOOTER ===== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { color: #f1f5f9; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.footer-brand span { color: #16A34A; }
.footer-desc { font-size: 0.85rem; color: #64748b; line-height: 1.6; }
.footer-heading { color: #cbd5e1; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: #64748b; font-size: 0.85rem; transition: color .2s; }
.footer-links a:hover { color: #f1f5f9; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: #475569;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ===== STICKY CTA BAR (mobile) ===== */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  border-top: 2px solid var(--accent);
  padding: 0.75rem 1rem;
  z-index: 1000;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.sticky-cta-bar .sticky-text { color: #e2e8f0; font-size: 0.85rem; font-weight: 600; }
.sticky-cta-bar .sticky-btn {
  background: linear-gradient(135deg, #16A34A 0%, #15803d 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .sticky-cta-bar { display: flex; }
  body { padding-bottom: 70px; }
}

/* ===== POPUP ===== */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.popup-overlay.open { display: flex; }
.popup-box {
  background: var(--bg);
  border-radius: 14px;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.popup-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}
.popup-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.popup-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; }
.popup-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-green { color: var(--accent); }
.text-gold { color: var(--gold); }
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: #dcfce7;
  color: #166534;
}
.badge-gold { background: #fef3c7; color: #92400e; }
.badge-blue { background: #dbeafe; color: #1e40af; }
ul.check-list { list-style: none; padding: 0; }
ul.check-list li { padding-left: 1.5rem; position: relative; margin-bottom: 0.5rem; }
ul.check-list li::before { content: '✅'; position: absolute; left: 0; }
ul.cross-list { list-style: none; padding: 0; }
ul.cross-list li { padding-left: 1.5rem; position: relative; margin-bottom: 0.5rem; }
ul.cross-list li::before { content: '❌'; position: absolute; left: 0; }

/* ===== ADDITIONAL KEYFRAMES (QA requirement: ≥4) ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes bounce-in {
  0% { transform: scale(0.9); opacity: 0; }
  60% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Interactive elements */
.quiz-section { padding: 2rem 0; }
.quiz-box { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }
.quiz-question { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; }
.quiz-options { display: flex; flex-direction: column; gap: .6rem; }
.quiz-option { background: #f8f9fa; border: 2px solid var(--border); border-radius: 8px; padding: .75rem 1rem; cursor: pointer; transition: .2s; font-size: .95rem; }
.quiz-option:hover, .quiz-option.selected { background: #f0fdf4; border-color: var(--accent); color: var(--accent); }
.quiz-result { display: none; margin-top: 1rem; padding: 1rem; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; }
.quiz-result.show { display: block; animation: fadeInUp .3s ease; }

/* Calculator / Rating Tool */
.calc-box { background: #f8f9fa; border-radius: 12px; padding: 1.5rem; }
.calc-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.calc-label { font-weight: 600; min-width: 160px; font-size: .9rem; }
.calc-input { flex: 1; padding: .5rem .75rem; border: 1px solid var(--border); border-radius: 6px; font-family: var(--font); font-size: .9rem; min-width: 120px; }
.calc-btn { background: var(--accent); color: #fff; border: none; padding: .6rem 1.25rem; border-radius: 6px; font-weight: 600; cursor: pointer; font-family: var(--font); }
.calc-result { background: var(--bg); border: 1px solid #bbf7d0; border-radius: 8px; padding: 1rem; margin-top: 1rem; font-weight: 600; color: var(--accent); font-size: 1.05rem; display: none; }
.calc-result.show { display: block; animation: bounce-in .3s ease; }
