/* 
 * FLAVIA FERREIRA - LINKTREE DESIGN SYSTEM (REFINED & SINGLE VIEWPORT)
 * Foco: Minimalismo sofisticado, Preto e Dourado Premium (100dvh)
 */

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

/* --- DESIGN TOKENS (PREMIUM BLACK & GOLD) --- */
:root {
  /* Cores Ultra-Sofisticadas */
  --bg-dark: 0 0% 0%;                /* Preto absoluto ultra premium */
  --bg-dark-radial: 43 15% 4%;       /* Tom preto com brilho dourado sutil ao centro */
  --surface-card: 0 0% 6%;           /* Cartões pretos leves com profundidade */
  
  /* Acentos de Alta Costura */
  --accent-purple: 44 100% 55%;      /* Ouro brilhante vibrante */
  --accent-gold: 40 100% 48%;        /* Ouro intenso denso */
  --text-primary: 0 0% 98%;          /* Off-white de alta nitidez */
  --text-secondary: 43 15% 75%;      /* Cinza com sutil toque dourado */
  --text-muted: 43 10% 50%;          /* Cinza escuro fosco */
  
  /* Tipografia (Todas padronizadas para Montserrat) */
  --font-serif: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Bordas e Sombras (Sutis, sem brilhos artificiais) */
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-round: 50%;
  
  --border-hairline: rgba(255, 255, 255, 0.05);
  --border-active: rgba(255, 204, 0, 0.45); /* Destaques em Dourado Vibrante */
  
  --shadow-flat: 0 4px 20px rgba(0, 0, 0, 0.6);
  
  /* Transições orgânicas */
  --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & LAYOUT DE TELA ÚNICA --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100dvh;
  width: 100%;
  overflow: hidden; /* Remove barra de rolagem */
}

body {
  background-color: hsl(var(--bg-dark));
  background-image: radial-gradient(circle at top, hsl(var(--bg-dark-radial)) 0%, hsl(var(--bg-dark)) 100%);
  color: hsl(var(--text-primary));
  font-family: var(--font-sans);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 20px;
}

/* Fundo sutil sem orbs neon chamativos */
.aurora-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}

.aurora-orb {
  position: absolute;
  border-radius: var(--radius-round);
  filter: blur(120px);
}

.orb-top {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, hsl(var(--accent-purple) / 0.18) 0%, transparent 70%);
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  animation: pulseBg 8s infinite alternate ease-in-out;
}

.orb-bottom {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, hsl(var(--accent-gold) / 0.08) 0%, transparent 70%);
  bottom: -10%;
  left: 10%;
  animation: pulseBg2 12s infinite alternate ease-in-out;
}

@keyframes pulseBg {
  0% { transform: translateX(-50%) scale(1); opacity: 0.8; }
  100% { transform: translateX(-50%) scale(1.1); opacity: 1; }
}

@keyframes pulseBg2 {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 0.9; }
}

/* --- CONTAINER (MAXIMO APROVEITAMENTO VERTICAL) --- */
.container {
  width: 100%;
  max-width: 400px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centraliza todos os blocos verticalmente na tela */
  align-items: center;
  position: relative;
  z-index: 10;
  padding: 16px 0;
  gap: 14px; /* Espaço harmônico entre os elementos do cabeçalho ao rodapé */
}

/* --- CABEÇALHO (SLIM & CHIC) --- */
.profile-header {
  text-align: center;
  width: 100%;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp var(--transition-smooth) forwards;
}

.avatar-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 8px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-round);
  object-fit: cover;
  border: 1px solid hsl(var(--accent-gold) / 0.3);
  box-shadow: var(--shadow-flat);
}

.profile-name {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 2px;
  background: linear-gradient(135deg, hsl(var(--text-primary)) 20%, hsl(var(--accent-gold)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.profile-title {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  color: hsl(var(--text-muted));
  font-weight: 500;
  margin-bottom: 8px;
}

.profile-bio {
  font-size: 0.92rem;
  color: hsl(var(--text-secondary));
  line-height: 1.5;
  font-weight: 400;
  max-width: 320px;
  margin: 0 auto;
}

.portfolio-trigger-btn {
  background: none;
  border: none;
  color: hsl(var(--accent-gold));
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid hsl(var(--accent-gold) / 0.15);
  background: hsla(var(--accent-gold) / 0.02);
  transition: all var(--transition-smooth);
  outline: none;
}

.portfolio-trigger-btn:hover, .portfolio-trigger-btn:focus-visible {
  background: hsla(var(--accent-gold) / 0.08);
  border-color: hsl(var(--accent-gold) / 0.4);
  transform: translateY(-1px);
}

.portfolio-trigger-btn:focus-visible {
  outline: 2px solid hsl(var(--accent-gold) / 0.5);
  outline-offset: 2px;
}

.portfolio-trigger-btn svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2px;
}

/* --- LISTA DE LINKS COMPACTA --- */
.links-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 2px 0 6px;
  max-height: 62%;
  overflow-y: auto;
  scrollbar-width: none; /* Oculta scrollbar */
}

.links-list::-webkit-scrollbar {
  display: none;
}

/* --- BOTÕES DE LINKS (ESTILO HUMANO MINIMALISTA) --- */
.link-card {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: hsla(var(--surface-card) / 0.45);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  color: hsl(var(--text-primary));
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  cursor: pointer;
  outline: none;
  opacity: 0;
  transform: translateY(10px);
}

/* Delay dos links */
.link-card:nth-child(1) { animation: fadeInUp var(--transition-smooth) forwards 0.1s; }
.link-card:nth-child(2) { animation: fadeInUp var(--transition-smooth) forwards 0.2s; }
.link-card:nth-child(3) { animation: fadeInUp var(--transition-smooth) forwards 0.3s; }
.link-card:nth-child(4) { animation: fadeInUp var(--transition-smooth) forwards 0.4s; }
.link-card:nth-child(5) { animation: fadeInUp var(--transition-smooth) forwards 0.5s; }

.link-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: hsla(43, 10%, 15%, 0.5);
  border: 1px solid var(--border-hairline);
  margin-right: 10px;
  color: hsl(var(--accent-purple));
  transition: all var(--transition-smooth);
  flex-shrink: 0;
}

.link-icon-container svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
}

.link-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.link-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: 0.1px;
}

.link-subtitle {
  font-size: 0.72rem;
  color: hsl(var(--text-secondary));
  font-weight: 400;
}

.link-arrow {
  color: hsl(var(--text-muted));
  display: flex;
  align-items: center;
  transition: all var(--transition-smooth);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
}

/* Estados de Hover/Foco (Refinados) */
.link-card:hover, .link-card:focus-visible {
  background: hsla(var(--surface-card) / 0.7);
  border-color: var(--border-active);
  transform: translateY(-1.5px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px hsl(var(--accent-purple) / 0.05);
}

.link-card:hover .link-title, .link-card:focus-visible .link-title {
  color: hsl(var(--accent-gold));
}

.link-card:hover .link-arrow, .link-card:focus-visible .link-arrow {
  color: hsl(var(--accent-gold));
  transform: translateX(3px);
}

.link-card:focus-visible {
  outline: 2px solid hsl(var(--accent-gold) / 0.5);
  outline-offset: 2px;
}

/* Link Principal (Destaque Fino com Ouro Champanhe) */
.link-card.featured-card {
  border-color: hsl(var(--accent-gold) / 0.35);
  background: linear-gradient(135deg, hsla(var(--accent-gold) / 0.05) 0%, hsla(var(--accent-purple) / 0.05) 100%);
  animation: fadeInUp var(--transition-smooth) forwards 0.1s, featuredGlow 4s infinite alternate ease-in-out;
}

@keyframes featuredGlow {
  0% {
    border-color: hsl(var(--accent-gold) / 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  }
  100% {
    border-color: hsl(var(--accent-gold) / 0.55);
    box-shadow: 0 4px 25px hsl(var(--accent-gold) / 0.12);
  }
}

.link-card.featured-card .link-icon-container {
  color: hsl(var(--accent-gold));
  border-color: hsl(var(--accent-gold) / 0.2);
}

.link-card.featured-card .link-title {
  font-family: var(--font-serif);
  font-weight: 500;
}

.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: hsl(var(--accent-gold));
  border-radius: var(--radius-round);
  margin-left: 6px;
  box-shadow: 0 0 6px hsl(var(--accent-gold) / 0.6);
  animation: pulseGold 2s infinite ease-in-out;
}

@keyframes pulseGold {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

/* --- DEPOIMENTOS (RODAPÉ MINI ROTATIVO) --- */
.testimonials-footer {
  width: 100%;
  text-align: center;
  padding: 0 10px;
  height: 30px; /* Altura reduzida para mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn var(--transition-smooth) forwards 0.6s;
}

.testimonial-slide {
  display: none;
  font-size: 0.74rem;
  font-style: italic;
  color: hsl(var(--text-secondary));
  line-height: 1.5;
  font-weight: 400;
  max-width: 340px;
  animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide strong {
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: normal;
  color: hsl(var(--accent-gold));
  margin-right: 4px;
}

/* --- FOOTER SOCIAL BAR --- */
.socials-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  margin-bottom: 2px;
  opacity: 0;
  animation: fadeInUp var(--transition-smooth) forwards 0.7s;
}

.socials-bar {
  display: flex;
  gap: 10px;
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-round);
  background: hsla(var(--surface-card) / 0.4);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--text-secondary));
  text-decoration: none;
  transition: all var(--transition-smooth);
}

.social-icon-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
}

.social-icon-btn:hover, .social-icon-btn:focus-visible {
  border-color: hsl(var(--accent-gold) / 0.4);
  color: hsl(var(--accent-gold));
  transform: translateY(-1px);
}

.social-icon-btn:focus-visible {
  outline: 2px solid hsl(var(--accent-gold) / 0.5);
  outline-offset: 2px;
}

.footer-copy {
  font-size: 0.58rem;
  color: hsl(var(--text-muted));
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
}

/* --- PORTFÓLIO MODAL OVERLAY (TELA ÚNICA) --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh; /* Garante centralização vertical perfeita no mobile */
  background: rgba(6, 4, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  width: 90%;
  max-width: 380px;
  background: hsl(var(--bg-dark));
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  transform: scale(0.95) translateY(12px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.close-modal-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: hsl(var(--text-secondary));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-round);
  background: hsla(43, 10%, 15%, 0.5);
  border: 1px solid var(--border-hairline);
  transition: all var(--transition-smooth);
}

.close-modal-btn:hover {
  color: hsl(var(--accent-gold));
  border-color: hsl(var(--accent-gold) / 0.4);
  transform: rotate(90deg);
}

.close-modal-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2px;
}

.modal-header {
  text-align: center;
  margin-bottom: 16px;
  width: 100%;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: hsl(var(--accent-gold));
}

/* Slider de Imagem no Modal */
.modal-slider-wrapper {
  width: 100%;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background: hsla(var(--surface-card) / 0.5);
  margin-bottom: 12px;
}

.modal-slides-container {
  display: flex;
  width: 300%; /* 3 fotos */
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-slide-img {
  width: 33.333%;
  height: 100%;
  object-fit: cover;
}

.slider-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 10, 14, 0.7);
  border: 1px solid var(--border-hairline);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-round);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
  z-index: 10;
}

.slider-nav-arrow:hover {
  background: hsl(var(--accent-gold));
  color: #000;
  border-color: transparent;
}

.slider-nav-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2px;
}

.arrow-left { left: 8px; }
.arrow-right { right: 8px; }

.modal-slide-desc {
  font-size: 0.8rem;
  color: hsl(var(--text-secondary));
  text-align: center;
  font-weight: 300;
  min-height: 38px;
  padding: 0 10px;
}

.modal-slider-dots {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.slider-dot {
  width: 5px;
  height: 5px;
  background: hsl(var(--text-muted));
  border-radius: var(--radius-round);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.slider-dot.active {
  background: hsl(var(--accent-gold));
  width: 15px;
  border-radius: 4px;
}

/* --- RIPPLE CLICK EFFECT --- */
.ripple {
  position: absolute;
  border-radius: var(--radius-round);
  background: rgba(255, 204, 0, 0.25); /* Ripple com cor Dourada Viva */
  transform: scale(0);
  animation: rippleAnimation 0.5s linear;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* --- QUIZ GAMIFICADO MODAL SYSTEM --- */
.quiz-progress-bar {
  width: 100%;
  height: 4px;
  background: hsla(43, 10%, 15%, 0.5);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 20px;
}

.quiz-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, hsl(var(--accent-purple)) 0%, hsl(var(--accent-gold)) 100%);
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Efeito elástico sofisticado */
}

.quiz-step {
  display: none;
  width: 100%;
  flex-direction: column;
}

@keyframes quizStepEnter {
  0% {
    opacity: 0;
    transform: translateX(16px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.quiz-step.active {
  display: flex;
  animation: quizStepEnter 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.quiz-step-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  text-align: center;
  color: hsl(var(--accent-gold));
  margin-bottom: 18px;
  line-height: 1.4;
}

.quiz-options-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.quiz-opt-btn {
  width: 100%;
  padding: 10px 14px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(43, 10%, 12%, 0.6);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  color: hsl(var(--text-primary));
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  outline: none;
  position: relative;
  overflow: hidden;
}

/* Shimmer sutil de luz no hover */
.quiz-opt-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.12), transparent);
  pointer-events: none;
}

.quiz-opt-btn:hover::after, .quiz-opt-btn:focus-visible::after {
  left: 200%;
  transition: left 0.7s ease-in-out;
}

.quiz-opt-btn:hover, .quiz-opt-btn:focus-visible {
  background: hsla(var(--surface-card) / 0.85);
  border-color: var(--border-active);
  transform: translateY(-2px); /* Elevação suave balanceada */
}

/* Feedback tátil imediato de seleção */
.quiz-opt-btn.selected {
  background: hsla(var(--accent-purple) / 0.12) !important;
  border-color: hsl(var(--accent-gold) / 0.6) !important;
  color: hsl(var(--accent-gold)) !important;
  box-shadow: 0 0 12px hsl(var(--accent-gold) / 0.15);
  transform: scale(0.97) translateY(-2px);
}

.quiz-opt-btn:active {
  transform: scale(0.97);
}

.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

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

.quiz-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: hsl(var(--text-muted));
  font-weight: 600;
}

.quiz-input {
  width: 100%;
  padding: 12px 14px;
  background: hsla(43, 10%, 5%, 0.8);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-smooth);
}

.quiz-input:focus {
  border-color: hsl(var(--accent-purple));
  background: hsla(43, 10%, 8%, 0.9);
}

.quiz-submit-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  border: none;
  background: linear-gradient(135deg, hsl(var(--accent-purple)) 0%, hsl(var(--accent-gold)) 100%);
  color: #07040d; /* Fundo escuro para auto-contraste do texto */
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
  margin-top: 8px;
  box-shadow: 0 4px 15px hsl(var(--accent-purple) / 0.25);
}

.quiz-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsl(var(--accent-purple) / 0.4);
}

.quiz-submit-btn:active {
  transform: scale(0.98);
}

.quiz-success-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0;
}

.quiz-success-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-round);
  background: hsl(var(--accent-gold) / 0.1);
  color: hsl(var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 15px hsl(var(--accent-gold) / 0.2);
}

.quiz-success-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2px;
}

.quiz-success-desc {
  font-size: 0.88rem;
  color: hsl(var(--text-secondary));
  line-height: 1.5;
  margin-bottom: 18px;
  font-weight: 400;
}

/* --- QUIZ PRODUCTS CATALOG SYSTEM --- */
.quiz-products-list {
  display: flex;
  flex-direction: row; /* Horizontal scroll para vitrine de cursos */
  gap: 12px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 4px 12px;
  margin-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.quiz-products-list::-webkit-scrollbar {
  height: 4px; /* Scrollbar horizontal sutil */
}

.quiz-products-list::-webkit-scrollbar-track {
  background: transparent;
}

.quiz-products-list::-webkit-scrollbar-thumb {
  background: hsl(var(--accent-purple) / 0.3);
  border-radius: 2px;
}

.product-card {
  background: hsla(43, 10%, 8%, 0.6);
  border: 1px solid var(--border-hairline);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center; /* Centralização interna */
  transition: all var(--transition-smooth);
  flex: 0 0 85%; /* Largura fixa do card para scroll horizontal */
  scroll-snap-align: center;
  min-height: 220px;
}

.product-card:hover {
  border-color: hsl(var(--accent-purple) / 0.35);
  background: hsla(43, 10%, 10%, 0.85);
  transform: translateY(-2px);
}

.product-card.recommended {
  border-color: hsl(var(--accent-purple) / 0.5);
  background: hsla(var(--accent-purple) / 0.03);
}

.product-card.recommended:hover {
  border-color: hsl(var(--accent-purple) / 0.6);
  background: hsla(var(--accent-purple) / 0.06);
}

.product-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  background: hsl(var(--accent-purple) / 0.15);
  color: hsl(var(--accent-purple));
  padding: 2px 6px;
  border-radius: 4px;
  align-self: flex-start;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.product-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: hsl(var(--text-primary));
}

.product-desc {
  font-size: 0.7rem;
  color: hsl(var(--text-muted));
  line-height: 1.3;
  font-weight: 400;
}

.product-price-container {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  margin: 2px 0 6px;
}

.price-original {
  font-size: 0.68rem;
  text-decoration: line-through;
  color: hsl(var(--text-muted));
}

.price-promo {
  font-size: 0.76rem;
  color: hsl(var(--text-secondary));
  font-weight: 500;
}

.price-promo strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: hsl(var(--accent-gold));
}

.price-cash {
  font-size: 0.68rem;
  color: hsl(var(--text-secondary));
}

.product-btn {
  margin-top: 4px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  background: linear-gradient(135deg, hsl(var(--accent-purple)) 0%, hsl(var(--accent-gold)) 100%);
  border: none;
  border-radius: 6px;
  color: #07040d;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-smooth);
}

.product-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px hsl(var(--accent-purple) / 0.2);
}

.product-btn:active {
  transform: scale(0.98);
}

/* --- KEYFRAMES --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- RESPONSIVIDADE DESKTOP --- */
@media (min-width: 768px) {
  body {
    padding: 30px 20px;
  }
  
  .container {
    height: 680px; /* Limita a altura no desktop para parecer um celular */
    border: 1px solid hsla(var(--accent-gold) / 0.15);
    background: hsla(var(--bg-dark) / 0.5);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 32px 28px 24px;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
  }
}

