@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg: #1c1c21;
  --bg2: #26262e;
  --bg3: #303038;
  --card-border: rgba(255,255,255,0.10);
  --card-border-hover: rgba(255,255,255,0.20);
  --text: #f0f0f5;
  --text2: #aaaabc;
  --text3: #66667a;
  --radius: 18px;
  --radius-sm: 12px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

/* ── ANIMATED BG ── */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(240,208,0,0.045) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: bg-pulse 6s ease-in-out infinite;
}

@keyframes bg-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.15); }
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── HERO ── */
.hero {
  padding: 64px 0 40px;
  text-align: center;
}

/* Hero children entrance */
.hero > .container > * {
  opacity: 0;
  animation: hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero > .container > .ghost-icon   { animation-delay: 0.05s; }
.hero > .container > .brand-title  { animation-delay: 0.18s; }
.hero > .container > .hero-sub     { animation-delay: 0.30s; }
.hero > .container > .badge-row    { animation-delay: 0.42s; }
.hero > .container > .access-card  { animation-delay: 0.54s; }
.hero > .container > .pricing-card { animation-delay: 0.66s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ghost-icon {
  font-size: 3.8rem;
  margin-bottom: 12px;
  display: block;
  animation: ghost-float 3.5s ease-in-out infinite, ghost-glow 2.5s ease-in-out infinite;
  /* override opacity:0 from hero-rise after it plays */
  animation-fill-mode: forwards, normal;
}

@keyframes ghost-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes ghost-glow {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(240, 208, 0, 0.5))
            drop-shadow(0 0 20px rgba(240, 208, 0, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(240, 208, 0, 0.95))
            drop-shadow(0 0 45px rgba(240, 208, 0, 0.55))
            drop-shadow(0 0 70px rgba(240, 208, 0, 0.25));
  }
}

.brand-title {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -2px;
  color: #f0d000;
  margin-bottom: 20px;
  line-height: 1.05;
  background: linear-gradient(90deg, #f0d000 0%, #ffe55c 45%, #f0d000 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 3s linear infinite, hero-rise 0.7s 0.18s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes shimmer-text {
  0%   { background-position: 200% center; }
  100% { background-position: 0% center; }
}

.hero-sub {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: var(--text);
  font-weight: 600;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* ── BADGES ── */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.badge {
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text2);
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.badge:hover {
  border-color: rgba(240,208,0,0.4);
  color: #f0d000;
  transform: translateY(-2px);
}

/* ── ACCESS CARD ── */
.access-card {
  background: rgba(100, 30, 20, 0.3);
  border: 1px solid rgba(180, 60, 40, 0.3);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
  text-align: left;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.access-card:hover {
  border-color: rgba(180, 60, 40, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(180,60,40,0.12);
}

.access-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.access-card-desc {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.75;
}

/* ── PRICING CARD ── */
.pricing-card {
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
  margin-bottom: 48px;
  transition: border-color 0.3s, transform 0.3s;
}
.pricing-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
}

.pricing-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text2);
}

/* ── FEATURES ── */
.features {
  padding: 0 0 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

/* Scroll reveal for feature cards */
.feature-card {
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
  opacity: 0;
  transform: translateY(36px);
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card:nth-child(1) { transition-delay: 0.05s; }
.feature-card:nth-child(2) { transition-delay: 0.15s; }
.feature-card:nth-child(3) { transition-delay: 0.25s; }
.feature-card:nth-child(4) { transition-delay: 0.35s; }

.feature-card:hover {
  border-color: rgba(240,208,0,0.25);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(240,208,0,0.08);
  transform: translateY(-6px) scale(1.02);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
  transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon {
  animation: icon-bounce 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes icon-bounce {
  0%  { transform: scale(1); }
  30% { transform: scale(1.25) rotate(-5deg); }
  60% { transform: scale(0.95) rotate(3deg); }
  100%{ transform: scale(1) rotate(0deg); }
}

.feature-icon.red    { background: #c0392b; }
.feature-icon.purple { background: #8e44ad; }
.feature-icon.blue   { background: #2980b9; }
.feature-icon.teal   { background: #16a085; }

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.82rem;
  color: var(--text2);
}

/* ── ANON NOTICE ── */
.anon-notice {
  background: rgba(10, 40, 20, 0.6);
  border: 1px solid rgba(30, 100, 50, 0.4);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: center;
  margin-bottom: 20px;
  transition: border-color 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateY(24px);
}
.anon-notice.visible {
  opacity: 1;
  transform: translateY(0);
}
.anon-notice:hover {
  border-color: rgba(30, 160, 80, 0.6);
  transform: translateY(-2px);
}

.anon-check {
  font-size: 1.2rem;
  margin-right: 8px;
}

.anon-notice strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.anon-notice p {
  font-size: 0.85rem;
  color: var(--text2);
  margin-top: 4px;
}

/* ── CTA BLOCK ── */
.cta-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.snap-input {
  width: 100%;
  padding: 18px 22px;
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.snap-input::placeholder { color: var(--text3); }
.snap-input:focus {
  outline: none;
  border-color: rgba(240,208,0,0.5);
  box-shadow: 0 0 0 4px rgba(240,208,0,0.08);
}

.cta-btn {
  width: 100%;
  padding: 20px;
  background: #f0d000;
  color: #111;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
  animation: cta-pulse 2.8s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,208,0,0.4); }
  50%       { box-shadow: 0 0 0 10px rgba(240,208,0,0); }
}

.cta-btn::after {
  content: '';
  position: absolute;
  top: 50%; left: -75%;
  width: 50%; height: 200%;
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%) skewX(-20deg);
  animation: btn-shine 3s ease-in-out infinite;
}
@keyframes btn-shine {
  0%   { left: -75%; }
  40%, 100% { left: 130%; }
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(240, 208, 0, 0.35);
  animation: none;
}

.cta-sub {
  font-size: 0.78rem;
  color: var(--text3);
  text-align: center;
}

/* ── FOOTER ── */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--card-border);
  text-align: center;
  color: var(--text3);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}

footer a {
  color: var(--text3);
  text-decoration: none;
  transition: color var(--transition);
}

footer a:hover { color: var(--text2); }

/* ── QUIZ ── */
.quiz-wrapper {
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin-bottom: 20px;
  min-height: 240px;
}

/* Barre de progression */
.quiz-progress-bar {
  height: 5px;
  background: var(--bg3);
  border-radius: 50px;
  margin-bottom: 10px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  width: 25%;
  background: #f0d000;
  border-radius: 50px;
  transition: width 0.5s ease;
}
.quiz-progress-label {
  font-size: 0.75rem;
  color: var(--text3);
  text-align: right;
  margin-bottom: 28px;
}

/* Steps */
.quiz-step {
  display: none;
  text-align: center;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.quiz-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}
.quiz-step.exit {
  opacity: 0;
  transform: translateX(-30px);
}

.quiz-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.quiz-question {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 28px;
  color: var(--text);
}

.quiz-highlight {
  color: #f0d000;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.quiz-btn {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg3);
  color: var(--text);
}
.quiz-btn.yes:hover {
  background: rgba(240, 208, 0, 0.12);
  border-color: rgba(240, 208, 0, 0.5);
  color: #f0d000;
  transform: translateY(-2px);
}
.quiz-btn.no:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.quiz-legal {
  font-size: 0.82rem;
  color: var(--text3);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA après quiz */
.cta-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.cta-block.active {
  opacity: 1;
  transform: translateY(0);
}

.cta-ready {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text2);
  text-align: center;
  margin-bottom: 4px;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .hero { padding: 40px 0 24px; }
  .brand-title { letter-spacing: -1px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-card { padding: 20px 14px; }
  .access-card, .pricing-card { padding: 20px 18px; }
  .badge-row { gap: 8px; }
  .badge { font-size: 0.75rem; padding: 8px 14px; }
  .quiz-wrapper { padding: 24px 18px; }
  .quiz-question { font-size: 0.95rem; }
}

/* ════════════════════════════════════════
   RESULTS PAGE – REFONTE COMPLÈTE
════════════════════════════════════════ */

.results-section {
  padding: 48px 0 80px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.results-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── HEADER COMPTE ── */
.res-header {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 28px;
  margin-bottom: 16px;
}
.res-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.res-avatar {
  width: 70px;
  height: 70px;
  background: var(--bg3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 2px solid rgba(240,208,0,0.3);
}
.res-online-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background: #2ecc71;
  border-radius: 50%;
  border: 2px solid var(--bg2);
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0.4); }
  50% { box-shadow: 0 0 0 5px rgba(46,204,113,0); }
}
.res-header-info { flex: 1; }
.res-label {
  font-size: 0.78rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}
.res-username {
  font-size: 1.7rem;
  font-weight: 900;
  color: #f0d000;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.res-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.res-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.res-badge.green  { background: rgba(46,204,113,0.15); color: #2ecc71; border: 1px solid rgba(46,204,113,0.3); }
.res-badge.yellow { background: rgba(240,208,0,0.12);  color: #f0d000; border: 1px solid rgba(240,208,0,0.3); }
.res-badge.blue   { background: rgba(52,152,219,0.15); color: #3498db; border: 1px solid rgba(52,152,219,0.3); }

/* ── CARDS GÉNÉRIQUE ── */
.res-card {
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px 24px;
  margin-bottom: 16px;
}
.res-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.res-card-head h3 {
  font-size: 1rem;
  font-weight: 700;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.res-card-icon { font-size: 1.2rem; }
.res-count-pill {
  background: rgba(240,208,0,0.15);
  color: #f0d000;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 9px;
}
.res-lock-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  font-size: 0.7rem;
  color: var(--text3);
  padding: 4px 10px;
  white-space: nowrap;
}

/* ── SCORE ── */
.res-score-card { border-color: rgba(240,208,0,0.2); }
.res-score-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.res-score-header h3 { flex: 1; font-size: 1rem; font-weight: 700; }
.res-score-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: #f0d000;
  line-height: 1;
}
.res-score-max { font-size: 0.9rem; color: var(--text3); font-weight: 500; }
.res-score-bar-wrap {
  height: 10px;
  background: var(--bg3);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 16px;
}
.res-score-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #f0d000, #ffe55c);
  border-radius: 50px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.res-score-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.res-tag {
  background: var(--bg3);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text2);
  padding: 5px 12px;
}
.res-tag.active { border-color: rgba(46,204,113,0.4); color: #2ecc71; background: rgba(46,204,113,0.08); }

/* ── STATS RAPIDES ── */
.res-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.res-stat-item {
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.res-stat-item:hover { border-color: rgba(240,208,0,0.3); transform: translateY(-3px); }
.res-stat-icon { font-size: 1.3rem; margin-bottom: 8px; }
.res-stat-val { font-size: 1.5rem; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.res-stat-label { font-size: 0.72rem; color: var(--text3); }

/* ── AMIS ── */
.friends-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.friend-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.friend-item:last-child { border-bottom: none; }
.friend-avatar-icon { font-size: 1.5rem; flex-shrink: 0; }
.friend-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.friend-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.friend-meta {
  font-size: 0.75rem;
  color: var(--text3);
}
.blurred-text {
  filter: blur(5px);
  user-select: none;
}
.friends-more-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.friends-more-avatars {
  display: flex;
}
.friends-more-avatars span {
  font-size: 1.1rem;
  margin-right: -4px;
  filter: grayscale(1) opacity(0.5);
}
.friends-more-label {
  font-size: 0.8rem;
  color: var(--text3);
}

/* ── SNAPS ── */
.snaps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.snap-thumb {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 9/16;
  background: var(--bg3);
}
.snap-fake-img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.snap-color-1 { background: linear-gradient(135deg, #667eea, #764ba2); filter: blur(8px) brightness(0.4); }
.snap-color-2 { background: linear-gradient(135deg, #f093fb, #f5576c); filter: blur(8px) brightness(0.4); }
.snap-color-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); filter: blur(8px) brightness(0.4); }
.snap-color-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); filter: blur(8px) brightness(0.4); }
.snap-color-5 { background: linear-gradient(135deg, #fa709a, #fee140); filter: blur(8px) brightness(0.4); }
.snap-blur-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
}
.snap-blur-overlay span { font-size: 1.5rem; }
.snap-time {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
  z-index: 3;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.snap-more-thumb {
  background: var(--bg3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--card-border);
}
.snap-more-count {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text3);
}

/* ── LOCALISATION ── */
.res-loc-card { padding-bottom: 0; overflow: hidden; }
.loc-map-fake {
  position: relative;
  height: 160px;
  background: #1a2535;
  margin: 0 -24px;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}
.loc-blur-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(6px);
  background: rgba(26,37,53,0.6);
}
.loc-pin-pulse { position: relative; }
.loc-pin-pulse::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: rgba(231,76,60,0.2);
  animation: pulse-red 1.8s ease-in-out infinite;
}
@keyframes pulse-red {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 0; }
}
.loc-pin { font-size: 2rem; position: relative; z-index: 1; }
.loc-address { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.loc-updated { font-size: 0.75rem; color: var(--text3); }
.loc-updated strong { color: #2ecc71; }

/* ── ACTIVITÉ ── */
.activity-list { display: flex; flex-direction: column; }
.activity-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.activity-row:last-child { border-bottom: none; }
.activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.activity-dot.green  { background: #2ecc71; box-shadow: 0 0 6px #2ecc71; }
.activity-dot.yellow { background: #f0d000; box-shadow: 0 0 6px #f0d000; }
.activity-dot.blue   { background: #3498db; box-shadow: 0 0 6px #3498db; }
.activity-dot.purple { background: #9b59b6; box-shadow: 0 0 6px #9b59b6; }
.activity-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.activity-label { font-size: 0.82rem; color: var(--text2); }
.activity-val { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.activity-icon { font-size: 1rem; }

/* ── UNLOCK CTA ── */
.unlock-block {
  background: linear-gradient(135deg, rgba(240,208,0,0.08) 0%, rgba(240,208,0,0.02) 100%);
  border: 1px solid rgba(240,208,0,0.25);
  border-radius: var(--radius);
  padding: 28px 28px;
  margin-top: 8px;
}
.unlock-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.unlock-icon { font-size: 2.2rem; }
.unlock-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.unlock-subtitle { font-size: 0.83rem; color: var(--text2); }
.unlock-subtitle strong { color: var(--text); }
.unlock-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 22px;
}
.unlock-features li { font-size: 0.82rem; color: var(--text2); line-height: 1.4; }
.unlock-btn {
  width: 100%;
  padding: 0;
  background: #f0d000;
  color: #111;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  position: relative;
  animation: cta-pulse 2.8s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 16px;
}
.unlock-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(240,208,0,0.35);
  animation: none;
}
.unlock-btn-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 24px 12px;
  gap: 16px;
}
.unlock-label { font-size: 1rem; font-weight: 800; letter-spacing: 0.2px; }
.unlock-price { font-size: 1.3rem; font-weight: 900; }
.unlock-btn-sub {
  width: 100%;
  padding: 10px 24px;
  background: rgba(0,0,0,0.12);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(0,0,0,0.7);
  text-align: center;
}
.unlock-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--text3);
}

/* ── RESPONSIVE RESULTS ── */
@media (max-width: 600px) {
  .res-header { flex-direction: column; text-align: center; gap: 14px; }
  .res-badges-row { justify-content: center; }
  .res-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .snaps-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .unlock-features { grid-template-columns: 1fr; }
  .res-score-header { flex-wrap: wrap; }
  .res-username { font-size: 1.35rem; }
  .unlock-btn-text { flex-direction: column; align-items: center; }
}

/* ════════════════════════════════════════
   TERMINAL OVERLAY
════════════════════════════════════════ */

.term-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0d0d0d;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.term-overlay.active {
  display: flex;
  opacity: 1;
}
.term-overlay.exit {
  opacity: 0;
  pointer-events: none;
}

/* ── Fenêtre terminal ── */
.term-window {
  width: 100%;
  max-width: 560px;
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.07);
}

/* Barre macOS */
.term-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #2a2a2a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.term-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.term-dot.red    { background: #ff5f57; }
.term-dot.yellow { background: #febc2e; }
.term-dot.green  { background: #28c840; }
.term-title {
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-left: auto;
  margin-right: auto;
}

/* Corps terminal */
.term-body {
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.78rem;
  line-height: 1.7;
  padding: 18px 20px;
  min-height: 240px;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
.term-body::-webkit-scrollbar { display: none; }

/* Lignes colorées */
.term-line {
  display: flex;
  align-items: center;
  white-space: pre-wrap;
  word-break: break-all;
  animation: term-line-in 0.12s ease forwards;
}
@keyframes term-line-in {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

.term-color-white  { color: #e0e0e0; }
.term-color-green  { color: #2ecc71; }
.term-color-yellow { color: #f0d000; }
.term-color-cyan   { color: #00d4ff; }

/* Barre de scan inline */
.term-scan-bar {
  display: inline-block;
  width: 120px;
  height: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  vertical-align: middle;
  flex-shrink: 0;
}
.term-scan-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2ecc71, #00d4ff);
  border-radius: 3px;
  transition: width 0.06s linear;
}
.term-scan-label {
  color: #f0d000;
  font-size: 0.75rem;
}

/* ── Barre de progression externe ── */
.term-progress-wrap {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.term-pct {
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 2rem;
  font-weight: 900;
  color: #f0d000;
  letter-spacing: -1px;
}
.term-progress-bar-outer {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  overflow: hidden;
}
.term-progress-bar-inner {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2ecc71, #00d4ff);
  border-radius: 50px;
  transition: width 0.08s linear;
}
