:root {
  --dop-primary:        #dd4b95;
  --dop-secondary:      #f379b6;
  --dop-primary-dark:   #a8316f;
  --dop-primary-soft:   rgba(221,75,149,0.16);
  --dop-bg:             #0f1117;
  --dop-bg-2:           #161922;
  --dop-bg-3:           #1d2130;
  --dop-card:           #181c28;
  --dop-card-2:         #1f2333;
  --dop-overlay:        rgba(23,25,37,0.85);
  --dop-text:           #f5eef3;
  --dop-text-muted:     #8a8597;
  --dop-text-on-pink:   #ffffff;
  --dop-border:         rgba(221,75,149,0.18);
  --dop-border-soft:    rgba(255,255,255,0.06);
  --dop-border-strong:  rgba(255,255,255,0.12);
  --dop-success:        #6ad36b;
  --dop-warning:        #ffcf5c;
  --dop-shadow-pink:    0 14px 28px rgba(221,75,149,0.24);
  --dop-shadow-pink-lg: 0 16px 34px rgba(221,75,149,0.30);
  --dop-shadow-card:    0 12px 28px rgba(0,0,0,0.28);
  --dop-radius-xs:  8px;
  --dop-radius-sm: 12px;
  --dop-radius-md: 14px;
  --dop-radius-lg: 18px;
  --dop-radius-xl: 22px;
  --dop-radius-2xl:30px;
  --dop-radius-pill: 999px;
  --dop-font-display: 'Nunito', system-ui, sans-serif;
  --dop-font-body:    'DM Sans', system-ui, sans-serif;
  --dop-dur-fast: .15s;
  --dop-dur:      .25s;
  --dop-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dop-tracking-tight: -0.02em;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: var(--dop-font-body); background: var(--dop-bg); color: var(--dop-text); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, h4 { font-family: var(--dop-font-display); letter-spacing: var(--dop-tracking-tight); }
::selection { background: rgba(221,75,149,0.32); color: #fff; }
h1 span, h2 span, .section-title span { color: var(--dop-primary); }

nav.bar, nav { position: sticky !important; top: 0 !important; z-index: 50 !important; background: var(--dop-overlay) !important; backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px) !important; border-bottom: 1px solid var(--dop-border-soft) !important; padding: 0 !important; }
nav.bar .inner, nav > .inner { max-width: 1180px; margin: 0 auto; padding: 14px 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex !important; align-items: center !important; gap: 11px !important; }
.brand img, .brand-logo { width: 40px !important; height: 40px !important; object-fit: contain !important; filter: drop-shadow(0 4px 10px rgba(221,75,149,0.45)) !important; }
.brand .brand-title { width: 100px !important; height: auto !important; filter: none !important; }
.navlinks, .nav-links { display: flex; gap: 30px; list-style: none; }
.navlinks a, .nav-links a { color: var(--dop-text-muted); font-size: 14px; font-weight: 500; transition: color var(--dop-dur); }
.navlinks a:hover, .nav-links a:hover { color: var(--dop-text); }
.nav-cta .btn-nav, a.nav-cta { background: var(--dop-primary) !important; color: #fff !important; padding: 11px 18px !important; border-radius: var(--dop-radius-sm) !important; font-family: var(--dop-font-display) !important; font-size: 14px !important; font-weight: 800 !important; box-shadow: var(--dop-shadow-pink) !important; border: none !important; }
.wrap, .section-inner { max-width: 1180px; margin-left: auto; margin-right: auto; }
section { background: var(--dop-bg); padding: 90px 60px; }
.bg2, section.bg2 { background: var(--dop-bg-2) !important; }
.hero { padding-top: 88px !important; }
.hero h1 { font-size: 54px; line-height: 1.08; margin-bottom: 18px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; }
.hero p { color: var(--dop-text-muted); font-size: 18px; margin-bottom: 24px; max-width: 68ch; }
.card, .faq-card, .cta-card { background: var(--dop-card) !important; border: 1px solid var(--dop-border-soft) !important; border-radius: var(--dop-radius-lg); padding: 28px; }
.card-title { font-family: var(--dop-font-display); font-size: 20px; margin-bottom: 12px; }
.card-body, .section-desc { color: var(--dop-text-muted); line-height: 1.75; }
.card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.card li { color: var(--dop-text-muted); font-size: 15px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.section-header { max-width: 760px; margin-bottom: 36px; }
.section-title { font-size: 42px; line-height: 1.15; margin-bottom: 14px; }
.section-desc { font-size: 17px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-card { text-align: center; max-width: 880px; margin: 0 auto; }
.cta-card h2 { font-size: 36px; margin-bottom: 12px; }
.cta-card p { color: var(--dop-text-muted); line-height: 1.7; margin-bottom: 24px; }
.cta-card .actions { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--dop-font-display) !important; font-weight: 800 !important; border: none; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background var(--dop-dur), box-shadow var(--dop-dur), transform var(--dop-dur); border-radius: var(--dop-radius-md); padding: 14px 24px; font-size: 15px; }
.btn-primary { background: var(--dop-primary) !important; color: #fff !important; box-shadow: var(--dop-shadow-pink) !important; }
.btn-primary:hover { box-shadow: var(--dop-shadow-pink-lg) !important; transform: translateY(-1px) !important; }
.btn-secondary { background: var(--dop-card-2) !important; color: var(--dop-text) !important; border: 1px solid var(--dop-border-strong) !important; }
.btn-secondary:hover { border-color: rgba(221,75,149,0.55) !important; background: rgba(221,75,149,0.10) !important; transform: translateY(-1px) !important; }
.btn-ghost { background: transparent !important; color: var(--dop-text-muted) !important; border: 1px solid var(--dop-border-soft) !important; }
.faq-grid { display: grid; gap: 18px; }
.faq-card .faq-question { font-family: var(--dop-font-display); font-size: 18px; margin-bottom: 10px; }
.faq-card .faq-answer { font-size: 15px; color: var(--dop-text-muted); }
footer.site, footer { background: var(--dop-bg-2) !important; border-top: 1px solid var(--dop-border-soft) !important; padding: 56px 60px 36px !important; display: block !important; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 34px; }
.foot-brand p { color: var(--dop-text-muted); font-size: 14px; margin: 14px 0 0; max-width: 260px; }
.foot-col h4 { font-family: var(--dop-font-display) !important; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--dop-text-muted); font-size: 14px; transition: color var(--dop-dur); }
.foot-col a:hover { color: var(--dop-text); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--dop-border-soft); color: var(--dop-text-muted); font-size: 13px; }

/* ─── QUIZ SPECIFIC ─── */
.quiz-section { padding-top: 60px !important; padding-bottom: 80px !important; }
.quiz-wrap { max-width: 720px; margin: 0 auto; }
.quiz-card {
  background: var(--dop-card); border: 1px solid var(--dop-border-soft);
  border-radius: var(--dop-radius-2xl); padding: 44px;
  box-shadow: var(--dop-shadow-card);
  min-height: 400px;
}

.quiz-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.quiz-progress-track { flex: 1; height: 6px; background: var(--dop-bg-3); border-radius: var(--dop-radius-pill); overflow: hidden; }
.quiz-progress-fill { height: 100%; background: linear-gradient(90deg, var(--dop-primary), var(--dop-secondary)); border-radius: var(--dop-radius-pill); transition: width .4s var(--dop-ease-out); }
.quiz-progress-text { color: var(--dop-text-muted); font-size: 13px; white-space: nowrap; }

.quiz-question {
  font-family: var(--dop-font-display); font-size: 22px; font-weight: 800;
  line-height: 1.35; margin-bottom: 28px;
  letter-spacing: var(--dop-tracking-tight);
}

.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--dop-bg-3); border: 1px solid var(--dop-border-soft);
  border-radius: var(--dop-radius-lg); padding: 16px 18px;
  color: var(--dop-text); text-align: left; cursor: pointer;
  font-size: 15px; line-height: 1.55;
  transition: background var(--dop-dur), border-color var(--dop-dur), transform var(--dop-dur-fast);
  font-family: var(--dop-font-body);
}
.quiz-option:hover { background: rgba(221,75,149,0.08); border-color: rgba(221,75,149,0.3); }
.quiz-option.is-selected { background: rgba(221,75,149,0.18); border-color: rgba(221,75,149,0.5); transform: scale(0.99); }
.quiz-option-letter {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--dop-bg); border: 1px solid var(--dop-border-strong);
  border-radius: var(--dop-radius-xs); font-family: var(--dop-font-display);
  font-weight: 800; font-size: 13px; color: var(--dop-text-muted);
}

.quiz-result { text-align: center; }
.quiz-result-emoji { font-size: 64px; margin-bottom: 16px; }
.quiz-result-title { font-family: var(--dop-font-display); font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.quiz-result-tagline { color: var(--dop-primary); font-size: 16px; font-weight: 600; margin-bottom: 18px; }
.quiz-result-desc { color: var(--dop-text-muted); font-size: 15px; line-height: 1.75; max-width: 540px; margin: 0 auto 28px; text-align: left; }
.quiz-result-cta { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-bottom: 20px; }
.quiz-cta-label { color: var(--dop-text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.quiz-result-cta .btn { width: 100%; max-width: 400px; justify-content: center; }
.quiz-retry { margin-top: 8px; }

.profiles-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.profile-card {
  background: var(--dop-card); border: 1px solid var(--dop-border-soft);
  border-radius: var(--dop-radius-xl); padding: 24px 18px;
  text-align: center;
  transition: border-color var(--dop-dur), transform var(--dop-dur), box-shadow var(--dop-dur);
}
.profile-card:hover { border-color: rgba(221,75,149,0.35); transform: translateY(-3px); box-shadow: var(--dop-shadow-card); }
.profile-emoji { font-size: 36px; display: block; margin-bottom: 12px; }
.profile-name { font-family: var(--dop-font-display); font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.profile-desc { color: var(--dop-text-muted); font-size: 13px; line-height: 1.5; }

@media(max-width:920px){
  nav.bar .inner, nav > .inner { padding: 12px 22px !important; }
  .navlinks, nav .nav-links { display: none; }
  section { padding-left: 24px !important; padding-right: 24px !important; }
  .hero h1 { font-size: 36px; }
  .hero-grid, .card-grid { grid-template-columns: 1fr; }
  footer.site, footer { padding: 40px 22px 28px !important; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .profiles-grid { grid-template-columns: repeat(2, 1fr); }
  .quiz-card { padding: 28px 24px; }
}
@media(max-width:560px){
  .hero h1 { font-size: 28px; }
  .profiles-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .actions { flex-direction: column; }
  .actions .btn, .quiz-result-cta .btn { width: 100%; max-width: none; }
}
