/* ==========================================================================
   AMORA VYNE - LUXURY GOLDEN VINES & OBSIDIAN CHARCOAL THEME
   ========================================================================== */

:root {
  /* Obsidian Charcoal & Luxury Gold Palette */
  --bg-deep: #0b0d11;
  --bg-velvet: #12151c;
  --bg-card: rgba(15, 18, 24, 0.85);
  --surface-pill: rgba(255, 255, 255, 0.04);
  --surface-pill-hover: rgba(223, 177, 91, 0.16);

  /* Brushed Champagne Gold & Glowing Accents */
  --gold-primary: #dfb15b;
  --gold-glow: #fef08a;
  --gold-light: #fff8d6;
  --gold-dark: #b48325;
  
  --accent-gold-soft: rgba(223, 177, 91, 0.25);
  --accent-gold-rich: rgba(180, 131, 37, 0.35);

  /* Typography */
  --font-serif: 'Cinzel', 'Playfair Display', serif, Georgia;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --text-main: #fff8f0;
  --text-muted: #fcd34d;
  --text-subtle: #b48325;


  /* Radii & Shadows */
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-pill: 9999px;

  --shadow-velvet: 0 30px 90px rgba(0, 0, 0, 0.92), inset 0 1px 0 rgba(254, 240, 138, 0.2);
  --shadow-gold: 0 12px 35px rgba(223, 177, 91, 0.45);
  --border-gold-rose: 1px solid rgba(223, 177, 91, 0.35);
  --border-active: 1px solid rgba(254, 240, 138, 0.85);
}

/* Reset & Global Setup */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #0b0d11;
  background-image: url('assets/bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* Remove overlays for pure background image clarity */
body::before {
  display: none !important;
}

body::after {
  display: none !important;
}

.app-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   HEADER NAVBAR
   ========================================================================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(18px, 3.5vw, 48px);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(223, 177, 91, 0.2);
  width: 100%;
  position: relative;
  z-index: 100;
  box-shadow: none;
}

/* Transparent Seamless Header Logo Wrapper (Positioned in Clear Black Area) */
.nav-brand-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  padding: 4px 8px;
  margin-left: clamp(100px, 12vw, 200px);
  background: transparent !important;
  border: none !important;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), filter 0.35s ease;
  z-index: 2;
  flex: 0 0 auto;
}

.nav-brand-left:hover {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 0 20px rgba(223, 177, 91, 0.65));
}

.brand-logo-left {
  height: clamp(42px, 4vw, 60px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 16px rgba(223, 177, 91, 0.5));
}

.nav-title-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  text-align: center;
  pointer-events: none;
  z-index: 1;
}

.brand-name-centered {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  font-weight: 900;
  letter-spacing: clamp(3px, 0.35vw, 6px);
  background: linear-gradient(135deg, #ffffff 0%, #fff5c0 30%, #dfb15b 70%, #b48325 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  text-shadow: 0 0 35px rgba(223, 177, 91, 0.45);
}

.header-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  z-index: 2;
}

.private-badge {
  font-size: clamp(0.72rem, 0.9vw, 0.84rem);
  font-weight: 700;
  color: #fff8d6;
  background: rgba(180, 131, 37, 0.15);
  border: 1px solid rgba(223, 177, 91, 0.4);
  border-radius: var(--radius-pill);
  padding: 8px clamp(12px, 1.5vw, 20px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-glow);
  box-shadow: 0 0 12px var(--gold-glow);
  animation: pulseGoldDot 1.5s infinite alternate;
}

@keyframes pulseGoldDot {
  0% { opacity: 0.4; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.35); }
}

/* ==========================================================================
   PAGE LAYOUT: LEFT QUESTION SESSION & RIGHT BIG STANDALONE MODEL SHOWCASE
   ========================================================================== */
.quiz-page-layout {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px clamp(16px, 3.5vw, 48px) 40px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  gap: clamp(32px, 5vw, 72px);
  position: relative;
}

/* Left Interactive Question Session Container (Cardless & Seamless) */
.centered-quiz-container {
  flex: 0 0 460px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 5;
  padding: 16px 0;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}

/* Subtle Low-Transparency Ambient Watermark Image behind Questions (z-index background layer) */
.quiz-ambient-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 135%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ambient-bg-img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.58;
  filter: blur(0.5px) saturate(1.05) contrast(1.02);
  /* Multi-stop soft feathered edge fading effect */
  mask-image: radial-gradient(ellipse 84% 80% at 50% 45%, rgba(0, 0, 0, 1) 22%, rgba(0, 0, 0, 0.8) 48%, rgba(0, 0, 0, 0.35) 72%, transparent 96%);
  -webkit-mask-image: radial-gradient(ellipse 84% 80% at 50% 45%, rgba(0, 0, 0, 1) 22%, rgba(0, 0, 0, 0.8) 48%, rgba(0, 0, 0, 0.35) 72%, transparent 96%);
  animation: ambientFadeBreath 7s ease-in-out infinite alternate;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
}

@keyframes ambientFadeBreath {
  0% {
    opacity: 0.52;
    transform: scale(1);
    filter: blur(0.6px) saturate(1.03) contrast(1.02);
  }
  100% {
    opacity: 0.65;
    transform: scale(1.03);
    filter: blur(0.2px) saturate(1.08) contrast(1.05);
  }
}

/* ==========================================================================
   RIGHT SIDE: BIG STANDALONE MATCH SHOWCASE (NO BOX/CARD FRAME)
   ========================================================================== */
.right-model-showcase {
  flex: 1 1 480px;
  max-width: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.model-display-wrapper {
  position: relative;
  width: 100%;
  height: clamp(520px, 74vh, 720px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.model-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 25px rgba(223, 177, 91, 0.22));
  mask-image: linear-gradient(to bottom, black 0%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 82%, transparent 100%);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Floating Verified Match Badge */
.model-verified-badge {
  position: absolute;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(11, 13, 17, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(223, 177, 91, 0.45);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 18px rgba(223, 177, 91, 0.2);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff8d6;
  letter-spacing: 0.4px;
  white-space: nowrap;
  z-index: 10;
}

.badge-pulse-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseGreenDot 1.6s infinite alternate;
}

@keyframes pulseGreenDot {
  0% { opacity: 0.5; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1.3); }
}

/* All Sync Match Images Transition */
.sync-match-img {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.sync-match-img.img-fade-out {
  opacity: 0 !important;
  transform: scale(0.97);
}

/* Golden Progress Bar */
.quiz-progress-bar {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.progress-step-pill {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff8d6;
  background: rgba(223, 177, 91, 0.16);
  border: 1px solid rgba(223, 177, 91, 0.45);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.progress-track {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(223, 177, 91, 0.25);
  border-radius: var(--radius-pill);
  overflow: hidden;
  padding: 1px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #b48325 0%, #dfb15b 50%, #fef08a 100%);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 18px rgba(223, 177, 91, 0.7);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating Quiz Card Wrapper (No Background Container Box) */
.quiz-card-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 0;
}

.quiz-card-wrapper::before {
  display: none !important;
}

.quiz-card {
  display: none;
  width: 100%;
  animation: velvetSlideIn 0.45s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.quiz-card.active {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.quiz-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  align-items: center;
}

.quiz-header .question-badge {
  display: none !important;
}

.quiz-question-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.85vw, 1.42rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fff8f0;
  letter-spacing: -0.2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 0, 0, 0.9);
  margin-top: 2px;
}

/* Option Pill Buttons */
.options-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 4px;
}

.option-pill {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(15, 18, 24, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(223, 177, 91, 0.3);
  border-radius: var(--radius-md);
  cursor: pointer;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff8f0;
  text-align: left;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.option-pill:hover {
  background: rgba(223, 177, 91, 0.16);
  border-color: rgba(254, 240, 138, 0.65);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 22px rgba(223, 177, 91, 0.25);
}

.option-pill.active {
  background: linear-gradient(135deg, rgba(223, 177, 91, 0.32) 0%, rgba(180, 131, 37, 0.24) 100%);
  border: var(--border-active);
  color: #ffffff;
  box-shadow: 0 0 30px rgba(223, 177, 91, 0.45), inset 0 0 20px rgba(254, 240, 138, 0.2);
}

.pill-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #b48325;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
}

.option-pill.active .pill-dot {
  border-color: var(--gold-glow);
  background: var(--gold-glow);
  box-shadow: 0 0 12px var(--gold-glow);
}

.option-pill.active .pill-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0b0d11;
}

.pill-label {
  flex: 1;
}

/* Checkbox Grid (Step 2 Age Range) */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.option-checkbox-pill {
  cursor: pointer;
  width: 100%;
}

.option-checkbox-pill input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: rgba(15, 18, 24, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(223, 177, 91, 0.3);
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.option-checkbox-pill:hover .pill-box {
  background: rgba(223, 177, 91, 0.16);
  border-color: rgba(254, 240, 138, 0.6);
  transform: translateY(-2px);
}

.option-checkbox-pill input:checked + .pill-box {
  background: linear-gradient(135deg, rgba(223, 177, 91, 0.32) 0%, rgba(180, 131, 37, 0.24) 100%);
  border: var(--border-active);
  box-shadow: 0 0 30px rgba(223, 177, 91, 0.45);
}

.pill-text {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff8f0;
}

.option-checkbox-pill input:checked + .pill-box .pill-text {
  color: #ffffff;
}

.check-mark {
  font-size: 0.95rem;
  font-weight: 900;
  color: transparent;
  transition: all 0.25s ease;
}

.option-checkbox-pill input:checked + .pill-box .check-mark {
  color: var(--gold-glow);
  text-shadow: 0 0 12px var(--gold-glow);
}

/* Step 6 Final Ready Screen */
.final-ready-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(223, 177, 91, 0.12);
  border: 1px solid rgba(223, 177, 91, 0.45);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  text-align: left;
}

.ready-check-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef08a 0%, #dfb15b 50%, #b48325 100%);
  color: #0b0d11;
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(223, 177, 91, 0.65);
  flex-shrink: 0;
}

.ready-text {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #fff8f0;
}

.ready-text strong {
  color: #ffffff;
}

/* Action Bar & Buttons */
.quiz-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
  width: 100%;
}

.quiz-action-bar.flex-center {
  justify-content: center;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(14px, 1.5vw, 18px) clamp(28px, 2.5vw, 40px);
  border-radius: var(--radius-pill);
  border: none;
  background: linear-gradient(135deg, #fff5c0 0%, #dfb15b 45%, #b48325 80%, #916817 100%);
  color: #0b0d11 !important;
  font-family: var(--font-serif);
  font-size: clamp(0.94rem, 1.2vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(30deg);
  transition: transform 0.65s ease;
}

.btn-primary-cta:hover::after {
  transform: rotate(30deg) translate(50%, 50%);
}

.btn-primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(223, 177, 91, 0.65);
  color: #0e0208 !important;
}

.btn-access-catalog {
  background: linear-gradient(135deg, #ffffff 0%, #fff5c0 30%, #dfb15b 65%, #b48325 100%) !important;
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  padding: clamp(16px, 1.8vw, 20px) clamp(30px, 3vw, 46px);
}

.btn-secondary-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(12px, 1.2vw, 15px) clamp(18px, 1.8vw, 26px);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(223, 177, 91, 0.35);
  color: #fff8d6;
  font-family: var(--font-sans);
  font-size: clamp(0.86rem, 1.1vw, 0.94rem);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary-back:hover {
  background: rgba(223, 177, 91, 0.16);
  border-color: rgba(254, 240, 138, 0.7);
  color: #ffffff;
}

/* ==========================================================================
   SECONDARY PAGES STYLING (Contact, Privacy, Terms)
   ========================================================================== */
.page-card {
  background: rgba(15, 18, 24, 0.88);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(223, 177, 91, 0.35);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  max-width: 820px;
  margin: 40px auto 64px;
  box-shadow: var(--shadow-velvet);
  text-align: left;
  width: 100%;
  color: #fff8f0;
}

.page-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  text-shadow: 0 0 25px rgba(223, 177, 91, 0.35);
}

.page-subtitle {
  font-size: 1rem;
  color: var(--gold-glow);
  font-weight: 700;
  margin-bottom: 30px;
}

.policy-section {
  margin-bottom: 30px;
}

.policy-section h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff5c0;
  margin-bottom: 10px;
}

.policy-section p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #fff8f0;
  margin-bottom: 14px;
}

.policy-section ul {
  margin-left: 22px;
  margin-bottom: 14px;
}

.policy-section li {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #fff8f0;
  margin-bottom: 8px;
}

.btn-home-link {
  display: inline-flex;
  margin-top: 24px;
}

/* Form inputs */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff8f0;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(223, 177, 91, 0.25);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--gold-glow);
  background: rgba(223, 177, 91, 0.12);
  box-shadow: 0 0 25px rgba(223, 177, 91, 0.35);
}

.form-textarea {
  min-height: 145px;
  resize: vertical;
}

.btn-submit {
  margin-top: 12px;
  width: 100%;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.app-footer {
  margin-top: auto;
  padding: 32px 24px;
  text-align: center;
  background: transparent;
  backdrop-filter: none;
  border-top: 1px solid rgba(223, 177, 91, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-age-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(223, 177, 91, 0.12);
  border: 1px solid rgba(223, 177, 91, 0.35);
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.age-pill {
  font-family: var(--font-serif);
  font-size: 0.76rem;
  font-weight: 900;
  color: #0b0d11;
  background: linear-gradient(135deg, #fff5c0 0%, #dfb15b 100%);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.age-text {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff8d6;
  letter-spacing: 0.4px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fcd34d;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 12px var(--gold-glow);
}

.footer-links .sep {
  color: #b48325;
}

.copyright {
  color: #dfb15b;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.85;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Large Laptops & Workstations (1440px - 1600px) */
@media (max-width: 1600px) {
  .quiz-page-layout { padding: 20px 24px 40px; gap: 40px; max-width: 1280px; }
  .centered-quiz-container { flex: 0 0 430px; max-width: 460px; }
  .right-model-showcase { flex: 1 1 450px; max-width: 540px; }
  .model-display-wrapper { height: clamp(480px, 68vh, 660px); }
}

/* Standard Laptops (1200px - 1439px) */
@media (max-width: 1439px) {
  .quiz-page-layout { padding: 18px 20px 36px; gap: 32px; max-width: 1120px; }
  .centered-quiz-container { flex: 0 0 400px; max-width: 430px; padding: 28px 22px; }
  .right-model-showcase { flex: 1 1 400px; max-width: 480px; }
  .model-display-wrapper { height: clamp(440px, 64vh, 600px); }
  .quiz-question-title { font-size: 1.18rem; line-height: 1.3; }
  .option-pill { padding: 12px 18px; font-size: 0.92rem; }
  .option-checkbox-pill .pill-box { padding: 14px 18px; }
  .btn-primary-cta { padding: 14px 30px; font-size: 0.98rem; }
  .btn-secondary-back { padding: 12px 22px; font-size: 0.92rem; }
}

/* Compact Laptops & Netbooks (992px - 1199px) */
@media (max-width: 1199px) {
  .navbar { padding: 12px 20px; }
  .nav-brand-left { margin-left: clamp(50px, 7.5vw, 120px); }
  .brand-logo-left { height: 44px; }
  .brand-name-centered { font-size: 1.15rem; letter-spacing: 3px; }
  .private-badge { font-size: 0.74rem; padding: 6px 14px; }

  .quiz-page-layout { padding: 16px 16px 28px; gap: 24px; justify-content: space-between; }
  .centered-quiz-container { flex: 1 1 380px; max-width: 420px; padding: 24px 18px; }
  .right-model-showcase { flex: 1 1 350px; max-width: 420px; }
  .model-display-wrapper { height: clamp(400px, 58vh, 520px); }

  .quiz-card.active { gap: 20px; }
  .quiz-question-title { font-size: 1.1rem; line-height: 1.3; }
  .quiz-progress-bar { gap: 6px; margin-bottom: 12px; }
  .progress-step-pill { font-size: 0.74rem; padding: 5px 14px; }
  .options-group { gap: 10px; }
  .option-pill { padding: 10px 14px; font-size: 0.88rem; gap: 12px; border-radius: 16px; }
  .pill-dot { width: 20px; height: 20px; }
  .checkbox-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .option-checkbox-pill .pill-box { padding: 12px 14px; border-radius: 16px; }
  .pill-text { font-size: 0.88rem; }
  .quiz-action-bar { gap: 12px; margin-top: 8px; }
  .btn-primary-cta { padding: 12px 24px; font-size: 0.92rem; }
  .btn-secondary-back { padding: 11px 18px; font-size: 0.88rem; }
  .btn-access-catalog { padding: 14px 28px; font-size: 0.94rem; }
}

/* Tablets Landscape & Portrait (768px - 991px) */
@media (max-width: 991px) {
  .navbar { padding: 10px 16px; }
  .nav-brand-left { margin-left: clamp(10px, 2vw, 24px); }
  .brand-logo-left { height: 38px; }
  .brand-name-centered { font-size: 1.02rem; letter-spacing: 2px; }
  .private-badge { font-size: 0.68rem; padding: 5px 12px; }

  .quiz-page-layout { padding: 14px 14px 24px; gap: 18px; justify-content: center; align-items: center; }
  .centered-quiz-container { flex: 1 1 360px; max-width: 400px; padding: 22px 16px; }
  .right-model-showcase { flex: 1 1 300px; max-width: 360px; }
  .model-display-wrapper { height: clamp(360px, 50vh, 440px); }

  .quiz-card.active { gap: 16px; }
  .quiz-question-title { font-size: 1.02rem; line-height: 1.25; }
  .quiz-progress-bar { gap: 5px; margin-bottom: 8px; }
  .progress-step-pill { font-size: 0.68rem; padding: 4px 10px; }
  .progress-track { height: 6px; }
  .options-group { gap: 8px; }
  .option-pill { padding: 9px 12px; font-size: 0.82rem; gap: 10px; border-radius: 14px; }
  .pill-dot { width: 16px; height: 16px; }
  .checkbox-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .option-checkbox-pill .pill-box { padding: 10px 12px; border-radius: 14px; }
  .pill-text { font-size: 0.82rem; }
  .check-mark { font-size: 0.85rem; }
  .quiz-action-bar { gap: 10px; margin-top: 6px; }
  .btn-primary-cta { padding: 10px 20px; font-size: 0.86rem; letter-spacing: 0.5px; }
  .btn-secondary-back { padding: 9px 14px; font-size: 0.82rem; }
  .btn-access-catalog { padding: 12px 22px; font-size: 0.88rem; }

  .page-card { padding: 30px 22px; margin: 20px auto 40px; max-width: 92%; }
  .page-title { font-size: 1.7rem; }
}

/* Mobile Screens (<768px) */
@media (max-width: 767px) {
  .quiz-page-layout { flex-direction: column-reverse; justify-content: center; align-items: center; padding: 16px 14px 32px; gap: 20px; }
  .nav-brand-left { margin-left: 0; }
  .right-model-showcase { flex: 0 0 auto; width: 100%; max-width: 360px; justify-content: center; }
  .model-display-wrapper { height: 340px; }
  .centered-quiz-container { flex: 1 1 100%; max-width: 480px; padding: 22px 16px; }
  .private-badge { display: none; }
  .brand-name-centered { font-size: 0.95rem; letter-spacing: 1.5px; }
  .quiz-question-title { font-size: 1.1rem; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .quiz-action-bar { flex-direction: column-reverse; gap: 10px; }
  .quiz-action-bar .btn-primary-cta, 
  .quiz-action-bar .btn-secondary-back { width: 100%; justify-content: center; }
}