/* ==========================
   RESET & BASE
   ========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1a6fdb;
  --primary-light: #3d8ef0;
  --primary-dark: #1255b0;
  --accent: #00b4d8;
  --accent-light: #90e0ef;
  --success: #2ecc71;
  --bg: #f4f7fb;
  --bg-card: #ffffff;
  --bg-section: #f0f4fa;
  --text-primary: #1a2236;
  --text-secondary: #4a5a7a;
  --text-muted: #8090ad;
  --border: #dde3ef;
  --shadow-sm: 0 2px 8px rgba(26, 111, 219, 0.07);
  --shadow-md: 0 6px 24px rgba(26, 111, 219, 0.10);
  --shadow-lg: 0 16px 48px rgba(26, 111, 219, 0.13);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --archetype-color: #1a6fdb;
  --archetype-color-dark: #1255b0;
  --archetype-color-light: #f0f4fa;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ==========================
   SNOW CANVAS
   ========================== */
#snowCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* ==========================
   HERO
   ========================== */
.hero {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #1a2236 0%, #1a6fdb 55%, #00b4d8 100%);
  padding: 80px 24px 100px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  text-transform: uppercase;
  animation: fadeDown 0.6s ease both;
}

.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeDown 0.6s 0.1s ease both;
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(1.5rem, 6vw, 2.1rem); }
}

.gradient-text {
  background: linear-gradient(90deg, #fff 0%, #ffd580 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  animation: fadeDown 0.6s 0.2s ease both;
}

/* ==========================
   BACK TO PORTAL
   ========================== */
.back-to-portal {
  position: absolute;
  top: 24px; left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
}

.back-to-portal:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-3px);
}

.back-to-portal .back-arrow { font-size: 1.1rem; transition: transform 0.3s; }
.back-to-portal:hover .back-arrow { transform: translateX(-3px); }

@media (max-width: 600px) {
  .hero { padding-top: 70px; }
  .back-to-portal {
    top: 16px; left: 16px;
    padding: 10px;
    border-radius: 12px;
    aspect-ratio: 1;
    justify-content: center;
  }
  .back-to-portal .back-text { display: none; }
  .back-to-portal .back-arrow { font-size: 1.3rem; margin: 0; }
}

/* ==========================
   APP CONTAINER
   ========================== */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: -40px auto 0;
  padding: 0 20px 20px;
}

@media (max-width: 600px) {
  .app-container { margin-top: -15px; }
}

/* ==========================
   PORTAL NAV
   ========================== */
.portal-nav { margin-bottom: 24px; position: relative; z-index: 2; }

.portal-nav-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px;
  margin: -4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.portal-nav-track::-webkit-scrollbar { display: none; }

.portal-nav-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

.portal-nav-item:hover:not(.disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.portal-nav-item.active {
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(26, 111, 219, 0.15);
  padding: 13px 19px;
}

.portal-nav-item.disabled {
  opacity: 0.65;
  cursor: default;
  background: rgba(240, 244, 250, 0.85);
  border-color: rgba(221, 227, 239, 0.8);
}

.nav-text { white-space: nowrap; }

.coming-soon-badge {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #ffb703, #fb8500);
  color: #fff;
  padding: 2px 7px;
  border-radius: 100px;
  margin-left: 6px;
}

@media (max-width: 600px) {
  .portal-nav-item { padding: 12px 16px; font-size: 0.9rem; }
  .portal-nav-item.active { padding: 11px 15px; }
}

/* ==========================
   QUIZ CARD (OUTER WRAPPER)
   ========================== */
.quiz-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* ==========================
   SCREEN: INTRO
   ========================== */
#screen-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 40px 56px;
  gap: 24px;
}

@media (max-width: 600px) {
  #screen-intro { padding: 32px 24px 44px; }
}

.intro-emoji {
  font-size: 3.5rem;
  line-height: 1;
  animation: fadeDown 0.5s ease both;
}

.intro-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
}

.intro-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 520px;
}

.intro-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 500px;
}

@media (max-width: 480px) {
  .intro-types-grid { grid-template-columns: repeat(2, 1fr); }
}

.intro-type-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  background: var(--bg-section);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.intro-type-chip .chip-emoji { font-size: 1.5rem; }

.intro-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.start-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  background: linear-gradient(135deg, #1a2236, #1a6fdb);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 18px 44px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(26, 35, 54, 0.35);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.01em;
}

.start-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(26, 35, 54, 0.45);
}

.start-btn:active { transform: translateY(0) scale(0.98); }

.start-btn .btn-arrow { font-size: 1.2rem; transition: transform 0.3s; }
.start-btn:hover .btn-arrow { transform: translateX(4px); }

/* ==========================
   SCREEN: QUIZ
   ========================== */
#screen-quiz { display: none; }

.quiz-progress-wrap {
  padding: 0;
  height: 5px;
  background: var(--bg-section);
  position: relative;
  border-radius: 0;
}

.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #1a6fdb, #00b4d8);
  border-radius: 0 4px 4px 0;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.quiz-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px 0;
}

.quiz-progress-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.quiz-step-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.quiz-question-wrap {
  padding: 28px 36px 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.quiz-question-wrap.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.quiz-question-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .quiz-top-row { padding: 16px 20px 0; }
  .quiz-question-wrap { padding: 20px 20px 0; }
  .quiz-question-text { font-size: 1.05rem; }
}

/* ==========================
   QUIZ OPTIONS
   ========================== */
#quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option {
  width: 100%;
  text-align: left;
  background: var(--bg-section);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.quiz-option:hover {
  border-color: var(--primary-light);
  background: rgba(26, 111, 219, 0.04);
  transform: translateX(3px);
}

.quiz-option.selected {
  border-color: var(--primary);
  background: rgba(26, 111, 219, 0.06);
  color: var(--primary);
  font-weight: 600;
  transform: translateX(0);
}

.quiz-option.selected::after {
  content: '✓';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  animation: fadeDown 0.2s ease both;
}

/* ==========================
   QUIZ NEXT BUTTON
   ========================== */
.quiz-next-wrap {
  padding: 28px 36px 36px;
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 600px) {
  .quiz-next-wrap { padding: 20px 20px 28px; }
}

.quiz-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 16px 36px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(26, 111, 219, 0.35);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0.4;
  pointer-events: none;
}

.quiz-next-btn.active {
  opacity: 1;
  pointer-events: auto;
}

.quiz-next-btn.active:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 36px rgba(26, 111, 219, 0.45);
}

.quiz-next-btn .btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.quiz-next-btn.active:hover .btn-arrow { transform: translateX(4px); }

.quiz-next-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================
   SCREEN: RESULT
   ========================== */
#screen-result { display: none; }

.result-archetype-header {
  background: linear-gradient(135deg, var(--archetype-color) 0%, var(--archetype-color-dark) 100%);
  padding: 48px 40px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.result-archetype-header::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 32px;
  background: var(--bg-card);
  clip-path: ellipse(55% 100% at 50% 100%);
}

@media (max-width: 600px) {
  .result-archetype-header { padding: 36px 24px 32px; }
}

.result-emoji-wrap {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 16px;
  animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.result-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}

.result-type-name {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 12px;
}

.result-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}

/* ==========================
   RESULT CONTENT
   ========================== */
.result-content {
  padding: 36px 40px;
}

@media (max-width: 600px) {
  .result-content { padding: 24px 20px; }
}

.result-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 28px;
  padding: 20px;
  background: var(--archetype-color-light, var(--bg-section));
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--archetype-color, var(--primary));
}

.result-section-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.result-equipment-intro {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.result-equipment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.result-equipment-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.result-equipment-list li::before {
  content: '→';
  color: var(--archetype-color, var(--primary));
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* CTA */
.result-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  border-radius: 100px;
  padding: 16px 32px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-bottom: 36px;
  background: linear-gradient(135deg, var(--archetype-color, var(--primary)), var(--archetype-color-dark, var(--primary-dark)));
}

.result-cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
}

/* ==========================
   SCORE BREAKDOWN
   ========================== */
.result-divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 28px;
}

#result-score-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.score-row {
  display: grid;
  grid-template-columns: 130px 1fr 44px;
  align-items: center;
  gap: 12px;
}

@media (max-width: 480px) {
  .score-row { grid-template-columns: 110px 1fr 38px; }
}

.score-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-bar-wrap {
  height: 8px;
  background: var(--bg-section);
  border-radius: 100px;
  overflow: hidden;
}

.score-bar {
  height: 100%;
  width: 0%;
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-pct {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: right;
}

/* ==========================
   SHARE & RESTART
   ========================== */
.result-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

@media (max-width: 500px) {
  .result-actions { flex-direction: column; }
}

.share-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-section);
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 100px;
  padding: 14px 24px;
  cursor: pointer;
  transition: all 0.25s;
  flex: 1;
  justify-content: center;
}

.share-badge-btn:hover {
  background: var(--border);
  transform: translateY(-2px);
}

.share-badge-btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.restart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  padding: 14px 24px;
  cursor: pointer;
  transition: all 0.25s;
  flex: 1;
  justify-content: center;
}

.restart-btn:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ==========================
   BADGE SOURCE (for html2canvas)
   ========================== */
#badge-source {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 360px;
  height: 640px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 48px 36px;
  font-family: 'Outfit', sans-serif;
}

.badge-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.badge-site-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
}

.badge-divider-top {
  width: 48px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  margin-bottom: 28px;
}

#badge-emoji-big {
  font-size: 5.5rem;
  line-height: 1;
  margin-bottom: 20px;
}

.badge-quiz-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

#badge-type-label {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
}

#badge-tagline-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  margin-bottom: 40px;
}

.badge-divider-bottom {
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
}

.badge-footer-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

/* ==========================
   SEO CONTENT
   ========================== */
.seo-content {
  margin: 40px auto 60px;
  max-width: 720px;
  padding: 0 20px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.seo-content h2 {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-top: 32px;
  margin-bottom: 12px;
  font-weight: 800;
  text-align: center;
}

.seo-content h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-top: 28px;
  margin-bottom: 12px;
  font-weight: 700;
}

.seo-intro {
  text-align: center;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.seo-content p { margin-bottom: 16px; color: var(--text-secondary); opacity: 0.9; }
.seo-content ul { margin-bottom: 20px; padding-left: 24px; }
.seo-content li { margin-bottom: 6px; color: var(--text-secondary); }

.seo-archetypes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0;
}

@media (max-width: 480px) {
  .seo-archetypes-grid { grid-template-columns: 1fr; }
}

.seo-archetype-chip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
}

.seo-archetype-chip .chip-emoji { font-size: 1.4rem; flex-shrink: 0; }

.seo-archetype-chip strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.seo-archetype-chip span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.seo-useful-links {
  margin-top: 24px;
  padding: 20px;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.seo-useful-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 4px;
}

.seo-useful-links a:hover { text-decoration: underline; }

/* ==========================
   FOOTER (re-declared for this page)
   ========================== */
.site-footer {
  margin-top: 60px;
  padding: 40px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-section);
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo-link { display: inline-block; opacity: 0.8; transition: opacity 0.2s; }
.footer-logo-link:hover { opacity: 1; }
.footer-logo { width: 140px; height: auto; display: block; }
.footer-copy { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); margin: 0; }

.footer-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
  margin: 0;
  opacity: 0.8;
}

.footer-disclaimer a { color: var(--primary); text-decoration: none; font-weight: 600; }
.footer-disclaimer a:hover { text-decoration: underline; }

/* ==========================
   ANIMATIONS
   ========================== */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}
