/* ==========================================================================
   Design System & Variáveis CSS (Acervo Festa 16K)
   ========================================================================== */
:root {
  /* Paleta de Cores Harmoniosa e Premium */
  --bg-primary: #FAF8F5;        /* Creme quente muito suave */
  --text-main: #142230;         /* Azul-marinho profundo para legibilidade extrema */
  --text-muted: #4F5E6E;        /* Azul-cinzento para descrição e apoio */
  
  --color-mint: #23B596;        /* Verde-menta moderno */
  --color-mint-light: #EBF8F5;  /* Fundo verde-menta suave */
  --color-mint-dark: #1B8C74;   /* Verde-menta para hover e foco */
  
  --color-coral: #FF7070;       /* Rosa-coral para detalhes e selos */
  --color-coral-light: #FFF0F0; /* Rosa-coral suave para fundos bônus */
  --color-coral-dark: #E65555;  /* Rosa-coral para hover secundário */
  
  --color-yellow: #FFE885;      /* Amarelo-baunilha para estrelas e detalhes festivos */
  --color-white: #FFFFFF;
  
  /* Sombras & Profundidade */
  --shadow-sm: 0 4px 12px rgba(20, 34, 48, 0.03);
  --shadow-md: 0 10px 30px rgba(20, 34, 48, 0.05);
  --shadow-lg: 0 20px 40px rgba(20, 34, 48, 0.08);
  --shadow-inset: inset 0 2px 4px rgba(20, 34, 48, 0.02);
  
  /* Bordas Arredondadas */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transições Suaves */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   Reset & Configurações de Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Elementos de Decoração em Background */
.bg-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  color: var(--color-yellow);
  opacity: 0.6;
  animation: float-star 6s ease-in-out infinite;
}

.star-1 { top: 8%; left: 8%; animation-delay: 0s; }
.star-2 { top: 22%; right: 10%; animation-delay: 2s; }
.star-3 { top: 45%; left: 5%; animation-delay: 4s; }

.confetti {
  position: absolute;
  border-radius: var(--radius-full);
  opacity: 0.45;
}

.confetti-1 {
  top: 15%; left: 88%; width: 12px; height: 12px;
  background-color: var(--color-coral);
  animation: float-confetti 8s ease-in-out infinite;
}

.confetti-2 {
  top: 35%; left: 12%; width: 8px; height: 8px;
  background-color: var(--color-mint);
  animation: float-confetti 10s ease-in-out infinite;
  animation-delay: 1.5s;
}

.confetti-3 {
  top: 55%; right: 15%; width: 10px; height: 10px;
  background-color: var(--color-yellow);
  animation: float-confetti 9s ease-in-out infinite;
  animation-delay: 3s;
}

@keyframes float-star {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-10px) rotate(15deg) scale(1.15); }
}

@keyframes float-confetti {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-5px, -15px) rotate(45deg); }
}

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.app-header {
  background-color: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 34, 48, 0.05);
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.exclusive-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  background-color: var(--color-white);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(20, 34, 48, 0.08);
  box-shadow: var(--shadow-sm);
}

.exclusive-badge svg {
  color: var(--color-mint);
}

/* ==========================================================================
   Layout Geral & Container Principal
   ========================================================================== */
.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 60px 16px;
  width: 100%;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Seção Hero de Confirmação da Compra
   ========================================================================== */
.hero-section {
  text-align: center;
  padding: 16px 8px 32px 8px;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp var(--transition-slow);
}

.success-icon-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.success-icon-circle {
  width: 72px;
  height: 72px;
  background-color: var(--color-mint-light);
  color: var(--color-mint);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(35, 181, 150, 0.15);
}

.success-check {
  width: 32px;
  height: 32px;
  animation: check-scale var(--transition-normal) forwards;
}

@keyframes check-scale {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Caixa de Favorito (Bookmark Banner) */
.bookmark-box {
  background-color: var(--color-white);
  border: 1px solid rgba(20, 34, 48, 0.06);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.bookmark-text {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
}

/* Gerenciar visibilidade de textos do banner de favoritos conforme tela */
#bookmark-text-desktop { display: block; }
#bookmark-text-mobile { display: none; }

.btn-help-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--bg-primary);
  border: 1px solid rgba(20, 34, 48, 0.08);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  min-height: 48px;
  width: 100%;
  transition: all var(--transition-fast);
}

.btn-help-save:hover {
  background-color: var(--color-white);
  border-color: var(--color-mint);
  color: var(--color-mint-dark);
  box-shadow: var(--shadow-sm);
}

.btn-help-save svg {
  transition: transform var(--transition-fast);
}

.btn-help-save:hover svg {
  transform: translateX(2px);
}

/* ==========================================================================
   Seção de Orientação (3 Passos)
   ========================================================================== */
.orientation-section {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
  border: 1px solid rgba(20, 34, 48, 0.03);
  animation: fadeInUp var(--transition-slow);
}

.section-title-small {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

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

.step-card {
  position: relative;
  background-color: var(--bg-primary);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 34, 48, 0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(35, 181, 150, 0.12);
  line-height: 1;
}

.step-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-white);
  color: var(--color-mint);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 34, 48, 0.04);
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.orientation-notice {
  background-color: rgba(255, 112, 112, 0.06);
  border: 1px dashed rgba(255, 112, 112, 0.25);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-main);
}

.orientation-notice svg {
  color: var(--color-coral);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   Grid de Coleções e Estilização de Cards
   ========================================================================== */
.main-acervo-section {
  margin-bottom: 48px;
  animation: fadeInUp var(--transition-slow);
}

.section-header {
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.loading-placeholder {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Estrutura Base do Card (Design Premium e App-like) */
.item-card {
  background-color: var(--color-white);
  border: 1px solid rgba(20, 34, 48, 0.05);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.item-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-mint);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(35, 181, 150, 0.2);
}

.item-card:hover::after {
  opacity: 1;
}

.card-top {
  margin-bottom: 20px;
}

.card-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-icon-container {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  color: var(--text-main);
  box-shadow: var(--shadow-inset);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.item-card:hover .card-icon-container {
  background-color: var(--color-mint-light);
  color: var(--color-mint);
}

.card-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: var(--bg-primary);
  color: var(--text-muted);
  border: 1px solid rgba(20, 34, 48, 0.05);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.card-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Botões do Grid */
.btn-card-access {
  width: 100%;
  min-height: 48px;
  background-color: var(--color-mint);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(35, 181, 150, 0.15);
}

.btn-card-access:hover {
  background-color: var(--color-mint-dark);
  box-shadow: 0 6px 16px rgba(27, 140, 116, 0.25);
  transform: translateY(-1px);
}

.btn-card-access:active {
  transform: translateY(0);
}

.btn-card-access svg {
  transition: transform var(--transition-fast);
}

.btn-card-access:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Seção de Bônus Especiais
   ========================================================================== */
.bonus-section {
  background-color: var(--color-coral-light);
  border-radius: var(--radius-lg);
  padding: 32px 16px;
  margin-bottom: 48px;
  border: 1px solid rgba(255, 112, 112, 0.08);
  animation: fadeInUp var(--transition-slow);
}

.bonus-container {
  max-width: 1100px;
  margin: 0 auto;
}

.bonus-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  background-color: var(--color-coral);
  color: var(--color-white);
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(255, 112, 112, 0.2);
}

.bonus-title {
  color: var(--text-main);
  margin-bottom: 8px;
}

.bonus-subtitle {
  margin-bottom: 32px;
}

.bonus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Cards Maiores de Bônus */
.bonus-card {
  background-color: var(--color-white);
  border: 1px solid rgba(255, 112, 112, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.bonus-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-coral);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 112, 112, 0.25);
}

.bonus-card:hover::after {
  opacity: 1;
}

.bonus-card .card-icon-container {
  background-color: var(--color-coral-light);
  color: var(--color-coral);
}

.bonus-card:hover .card-icon-container {
  background-color: var(--color-coral);
  color: var(--color-white);
}

.card-badge-bonus {
  background-color: var(--color-coral-light);
  color: var(--color-coral);
  border-color: rgba(255, 112, 112, 0.15);
}

.btn-bonus-access {
  background-color: var(--color-coral);
  box-shadow: 0 4px 12px rgba(255, 112, 112, 0.15);
}

.btn-bonus-access:hover {
  background-color: var(--color-coral-dark);
  box-shadow: 0 6px 16px rgba(230, 85, 85, 0.25);
}

/* ==========================================================================
   Barra de Acesso Rápido
   ========================================================================== */
.quick-access-section {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  margin-bottom: 48px;
  border: 1px solid rgba(20, 34, 48, 0.03);
  box-shadow: var(--shadow-sm);
  animation: fadeInUp var(--transition-slow);
}

.quick-links-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.quick-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  border: 1px solid rgba(20, 34, 48, 0.06);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  min-height: 40px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.quick-link-btn:hover {
  background-color: var(--color-white);
  border-color: var(--color-mint);
  color: var(--color-mint-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.quick-link-btn svg {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.quick-link-btn:hover svg {
  color: var(--color-mint);
}

/* ==========================================================================
   Seção Dicas Importantes (Accordion)
   ========================================================================== */
.dicas-section {
  margin-bottom: 48px;
  animation: fadeInUp var(--transition-slow);
}

.tips-accordion-wrapper {
  background-color: var(--color-white);
  border: 1px solid rgba(20, 34, 48, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tips-accordion-trigger {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  min-height: 48px;
  transition: background-color var(--transition-fast);
}

.tips-accordion-trigger:hover {
  background-color: var(--bg-primary);
}

.tips-accordion-trigger:focus-visible {
  outline: 2px solid var(--color-mint);
  outline-offset: -2px;
}

.trigger-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.trigger-title svg {
  color: var(--color-mint);
}

.chevron-icon {
  transition: transform var(--transition-normal);
  color: var(--text-muted);
}

.tips-accordion-trigger[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.tips-accordion-content {
  border-top: 1px solid rgba(20, 34, 48, 0.05);
  transition: max-height var(--transition-normal) ease-out;
  background-color: var(--color-white);
}

.tips-accordion-body {
  padding: 20px;
}

.tips-list {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.tips-list li {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
}

.tips-list li::before {
  content: "✨";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
}

.tips-google-notice {
  background-color: var(--color-mint-light);
  border: 1px solid rgba(35, 181, 150, 0.15);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-main);
}

.tips-google-notice svg {
  color: var(--color-mint);
  flex-shrink: 0;
}

/* ==========================================================================
   Área de Suporte
   ========================================================================== */
.support-section {
  margin-bottom: 48px;
  animation: fadeInUp var(--transition-slow);
}

.support-card {
  background-color: var(--color-white);
  border: 1px solid rgba(20, 34, 48, 0.05);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.support-icon {
  width: 64px;
  height: 64px;
  background-color: var(--color-mint-light);
  color: var(--color-mint);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

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

.support-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.support-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-support {
  min-height: 48px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
  width: 100%;
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  box-shadow: 0 6px 16px rgba(32, 186, 90, 0.3);
  transform: translateY(-1px);
}

.btn-email {
  background-color: var(--bg-primary);
  color: var(--text-main);
  border: 1px solid rgba(20, 34, 48, 0.08);
}

.btn-email:hover {
  background-color: var(--color-white);
  border-color: var(--color-mint);
  color: var(--color-mint-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-support:active {
  transform: translateY(0);
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
.app-footer {
  background-color: var(--text-main);
  color: #8C9CAE;
  padding: 40px 20px 48px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand {
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 800;
}

.footer-text {
  font-size: 0.85rem;
}

.footer-alert {
  font-size: 0.8rem;
  color: var(--color-coral);
  font-weight: 600;
  margin-top: 8px;
}

.footer-copyright {
  font-size: 0.75rem;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

/* ==========================================================================
   Modal / Popover de Salvamento
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 34, 48, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 16px;
}

.modal-overlay:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  border: 1px solid rgba(20, 34, 48, 0.05);
}

.modal-overlay:not([hidden]) .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--bg-primary);
  color: var(--text-main);
}

.modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.modal-icon-badge {
  font-size: 2rem;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.modal-body {
  margin-bottom: 24px;
}

.guide-device-block {
  background-color: var(--bg-primary);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 34, 48, 0.03);
}

.guide-device-block:not(:last-child) {
  margin-bottom: 16px;
}

.device-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.device-title svg {
  color: var(--color-mint);
}

.guide-list {
  padding-left: 20px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.guide-list li:not(:last-child) {
  margin-bottom: 8px;
}

.guide-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.shortcut-key-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.key-badge {
  background-color: var(--color-white);
  border: 1px solid rgba(20, 34, 48, 0.12);
  border-bottom-width: 3px;
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  font-family: inherit;
  box-shadow: var(--shadow-sm);
}

.shortcut-or {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.guide-text-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

.modal-footer {
  text-align: center;
}

.btn-modal-primary {
  width: 100%;
  min-height: 48px;
  background-color: var(--color-mint);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(35, 181, 150, 0.15);
  transition: all var(--transition-fast);
}

.btn-modal-primary:hover {
  background-color: var(--color-mint-dark);
  box-shadow: 0 6px 16px rgba(27, 140, 116, 0.25);
}

/* ==========================================================================
   Animações Globais
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsividade - Mobile First
   ========================================================================== */

/* Ajustes Gerais para Celulares Médios/Grandes */
@media (min-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .bookmark-box {
    padding: 20px;
  }
}

/* Tablet (Telas acima de 768px) */
@media (min-width: 768px) {
  .app-container {
    padding: 40px 24px 80px 24px;
  }
  
  .hero-section {
    padding-bottom: 40px;
  }
  
  .bookmark-box {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 20px 24px;
  }
  
  .bookmark-content {
    flex: 1;
  }
  
  .btn-help-save {
    width: auto;
    padding: 10px 24px;
  }
  
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .step-card {
    padding: 24px 20px;
  }
  
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .bonus-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .support-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
  
  .btn-support {
    width: auto;
    padding: 12px 32px;
  }
}

/* Notebook / Desktop (Telas acima de 1024px) */
@media (min-width: 1024px) {
  .app-container {
    padding-top: 48px;
  }
  
  .hero-title {
    font-size: 2.5rem;
    letter-spacing: -0.8px;
  }
  
  #bookmark-text-desktop { display: block; }
  #bookmark-text-mobile { display: none; }
  
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .bonus-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .bonus-section {
    padding: 48px 40px;
  }
  
  .quick-access-section {
    padding: 32px 40px;
  }
}

/* Modals & Otimizações por Dispositivo no Modal */
@media (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}
