/* ==========================================================================
   DEVOCIONAL BÍBLICO — WEB AUDIO PLAYER & MEMBROS
   Estilo: Dark Luxury & Sacred Gold (Mobile-First)
   ========================================================================== */

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

:root {
  --bg-deep: #090908;
  --bg-surface: #131210;
  --bg-card: #1c1a17;
  --bg-card-hover: #24221e;
  --bg-player: rgba(14, 13, 11, 0.94);

  --gold-primary: #c59b27;
  --gold-light: #e6c86e;
  --gold-dark: #8c6d1b;
  --gold-glow: rgba(197, 155, 39, 0.28);
  --gold-subtle: rgba(197, 155, 39, 0.12);
  --gold-border: rgba(197, 155, 39, 0.22);
  --gold-border-strong: rgba(230, 200, 110, 0.5);

  --text-main: #f8f6f0;
  --text-muted: #b8b19e;
  --text-subtle: #7a7465;
  --text-gold: #e6c86e;

  --success: #38a169;
  --success-glow: rgba(56, 161, 105, 0.25);

  --font-serif: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-gold: 0 4px 20px rgba(197, 155, 39, 0.15);
  --shadow-deep: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 120px; /* Espaço para o Floating Sticky Player */
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Fundo com Textura Sutil e Halo Dourado */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse at top, rgba(197, 155, 39, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  position: relative;
  z-index: 1;
}

/* ==========================================
   HEADER & HERO DO PRODUTO
   ========================================== */
.hero-header {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
  border-bottom: 1px solid var(--gold-border);
  margin-bottom: 2rem;
}

.sacred-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.sacred-badge svg {
  color: var(--gold-light);
}

.hero-cover-wrap {
  width: 160px;
  height: 220px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 24px var(--gold-glow);
  border: 1px solid var(--gold-border-strong);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.hero-cover-wrap:hover {
  transform: translateY(-4px) scale(1.02);
}

.hero-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.hero-title span {
  color: var(--gold-light);
  background: linear-gradient(135deg, #f8f6f0 0%, #e6c86e 50%, #c59b27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto 1.25rem;
}

.meta-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-item strong {
  color: var(--text-gold);
}

/* ==========================================
   APRESENTAÇÃO DOS 2 FORMATOS DA JORNADA
   (Diferenciação clara: Livro Digital vs Áudio)
   ========================================== */
.formats-showcase {
  margin-bottom: 2.5rem;
}

.formats-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.formats-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
}

.formats-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.formats-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
}

.formats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .formats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.format-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.format-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-primary);
}

.format-card.format-audio {
  background: linear-gradient(145deg, #161411 0%, #1c1914 100%);
  border-color: var(--gold-border-strong);
  box-shadow: var(--shadow-gold);
}

.format-card-header {
  margin-bottom: 1rem;
}

.format-type-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.75rem;
}

.format-type-badge.audio-badge {
  background: var(--gold-subtle);
  color: var(--gold-light);
  border-color: var(--gold-border);
}

.format-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.format-card.format-audio .format-name {
  color: var(--gold-light);
}

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

.format-features {
  list-style: none;
  margin: 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(197, 155, 39, 0.1);
  padding-top: 1rem;
}

.format-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.format-features li svg {
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.format-features strong {
  color: var(--text-main);
}

.format-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(197, 155, 39, 0.1);
}

.btn-format-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--gold-border);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-format-primary:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn-format-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: #090908;
  border: none;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px var(--gold-glow);
  text-align: center;
}

.btn-format-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.4);
}

.btn-format-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(197, 155, 39, 0.2);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-format-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  background: rgba(197, 155, 39, 0.05);
}

/* Guia de Integração dos 2 Recursos */
.integration-guide {
  background: linear-gradient(135deg, #131210 0%, #1a1713 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.25rem;
}

.guide-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.guide-text h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}

.guide-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Header da Seção do Audio Player */
.audio-section-header {
  text-align: center;
  margin: 3rem 0 1.5rem;
  padding-top: 2rem;
  border-top: 1px dashed rgba(197, 155, 39, 0.2);
}

.audio-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 8px var(--gold-light);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.audio-section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.audio-section-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.action-texts {
  flex-grow: 1;
}

.action-label {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.action-card.primary .action-label {
  color: var(--gold-light);
}

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

/* ==========================================
   PROGRESS BAR CARD
   ========================================== */
.progress-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-deep);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.progress-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-stats {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
}

.progress-track {
  width: 100%;
  height: 8px;
  background: #24221e;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold-primary) 50%, var(--gold-light) 100%);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
  box-shadow: 0 0 12px var(--gold-glow);
}

.progress-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.btn-reset-progress {
  background: none;
  border: none;
  color: var(--text-subtle);
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.2rem;
}

.btn-reset-progress:hover {
  color: #e53e3e;
}

/* ==========================================
   MÓDULOS E PLAYLIST ACCORDION
   ========================================== */
.modules-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.module-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.module-card.active {
  border-color: var(--gold-primary);
}

.module-header {
  padding: 1.1rem 1.25rem;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.module-header:hover {
  background: var(--bg-card);
}

.module-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.module-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.module-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.module-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 600px;
}

.module-toggle-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.module-card.open .module-toggle-icon {
  transform: rotate(180deg);
}

.module-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  background: var(--bg-deep);
  border-top: 1px solid transparent;
}

.module-card.open .module-body {
  max-height: 2500px;
  transition: max-height 0.5s ease-in-out;
  border-top-color: var(--gold-border);
}

/* ==========================================
   TRACK ITEM NA PLAYLIST
   ========================================== */
.track-item {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(197, 155, 39, 0.08);
  transition: background 0.2s ease;
}

.track-item:last-child {
  border-bottom: none;
}

.track-item:hover {
  background: var(--bg-card-hover);
}

.track-item.playing {
  background: linear-gradient(90deg, rgba(197, 155, 39, 0.15) 0%, rgba(197, 155, 39, 0.03) 100%);
  border-left: 3px solid var(--gold-light);
}

/* Checkbox Concluído */
.track-check {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-check input {
  display: none;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.track-check input:checked + .custom-checkbox {
  background: var(--success);
  border-color: var(--success);
  box-shadow: 0 0 8px var(--success-glow);
}

.custom-checkbox svg {
  display: none;
  color: #fff;
  width: 14px;
  height: 14px;
}

.track-check input:checked + .custom-checkbox svg {
  display: block;
}

/* Botão Play Individual */
.btn-track-play {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-track-play:hover {
  background: var(--gold-primary);
  color: #090908;
  border-color: var(--gold-primary);
  transform: scale(1.06);
}

.track-item.playing .btn-track-play {
  background: var(--gold-light);
  color: #090908;
  border-color: var(--gold-light);
  box-shadow: 0 0 12px var(--gold-glow);
}

/* Informações da Faixa */
.track-info {
  min-width: 0;
}

.track-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.15rem;
}

.track-item.completed .track-title {
  color: var(--text-subtle);
  text-decoration: line-through;
}

.track-item.playing .track-title {
  color: var(--gold-light);
}

.track-meta-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.track-scripture {
  color: var(--text-gold);
  background: rgba(197, 155, 39, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 500;
}

.track-duration {
  font-variant-numeric: tabular-nums;
}

/* Ações da Faixa (Download MP3 individual) */
.track-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-track-download {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-track-download:hover {
  color: var(--gold-light);
  border-color: var(--gold-border);
  background: var(--bg-card);
}

/* ==========================================
   FLOATING STICKY AUDIO PLAYER (RODAPÉ)
   ========================================== */
.floating-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-player);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--gold-border-strong);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7);
  z-index: 100;
  padding: 0.75rem 1rem 1rem;
}

.player-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Linha Superior: Info e Scrubber */
.player-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.now-playing-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.now-playing-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--gold-border);
  flex-shrink: 0;
}

.now-playing-text {
  min-width: 0;
}

.now-playing-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  font-weight: 700;
}

.now-playing-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing-verse {
  font-size: 0.75rem;
  color: var(--text-subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Scrubber / Barra de Progresso */
.scrubber-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.time-stamp {
  font-size: 0.72rem;
  color: var(--text-subtle);
  font-variant-numeric: tabular-nums;
  min-width: 36px;
  text-align: center;
}

.scrubber-slider {
  flex-grow: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: var(--radius-full);
  background: #2b2721;
  outline: none;
  cursor: pointer;
  position: relative;
}

.scrubber-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-light);
  cursor: pointer;
  box-shadow: 0 0 10px var(--gold-glow);
  transition: transform 0.15s ease;
}

.scrubber-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

.scrubber-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-light);
  border: none;
  cursor: pointer;
}

/* Linha de Controles Centrais */
.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .player-inner {
    display: grid;
    grid-template-columns: 240px 1fr 180px;
    align-items: center;
    gap: 1.5rem;
  }
  .player-top-row {
    grid-column: 1 / 2;
  }
  .player-center-wrap {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  .player-side-wrap {
    grid-column: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
  }
}

.btn-ctrl {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0.35rem;
  border-radius: var(--radius-full);
}

.btn-ctrl:hover {
  color: var(--gold-light);
}

.btn-skip {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.6rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.btn-skip:hover {
  background: var(--gold-subtle);
  border-color: var(--gold-light);
}

.btn-main-play {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  border: none;
  color: #090908;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--gold-glow);
  transition: all 0.2s ease;
}

.btn-main-play:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.4);
}

.btn-speed {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-gold);
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-width: 46px;
  text-align: center;
}

.btn-speed:hover {
  border-color: var(--gold-light);
  background: var(--gold-subtle);
}

/* Banner PWA */
.pwa-prompt-banner {
  display: none;
  background: linear-gradient(90deg, #1f1b13 0%, #161513 100%);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pwa-prompt-banner.show {
  display: flex;
}

.btn-pwa-install {
  background: var(--gold-primary);
  color: #090908;
  font-weight: 700;
  font-size: 0.78rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

/* ==========================================
   FOOTER SACRO
   ========================================== */
.sacred-footer {
  text-align: center;
  padding: 3rem 1rem 1rem;
  border-top: 1px solid rgba(197, 155, 39, 0.12);
  margin-top: 3rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.sacred-footer p {
  margin-bottom: 0.4rem;
}


/* ==========================================================================
   FUNIL & ENTITLEMENTS: CARD DE ACESSO, TRAVAS E MODAL DE UPGRADE
   ========================================================================== */

/* Card de Status do Passe de Acesso */
.access-pass-card {
  margin: 1.5rem auto 2rem;
  background: linear-gradient(135deg, rgba(28, 26, 23, 0.95), rgba(19, 18, 16, 0.98));
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(230, 200, 110, 0.2);
  position: relative;
  overflow: hidden;
}

.access-pass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.access-pass-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.access-pass-left {
  flex: 1;
  min-width: 260px;
}

.access-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.access-badge.vip {
  color: #f7fafc;
  background: linear-gradient(135deg, #c59b27, #8c6d1b);
  border-color: var(--gold-light);
  box-shadow: 0 0 12px rgba(230, 200, 110, 0.4);
}

.access-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.access-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.access-pass-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-unlock-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  color: #0b0a09;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(197, 155, 39, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-unlock-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.45);
}

/* Faixas Bloqueadas */
.track-item.track-locked {
  opacity: 0.65;
  background: rgba(19, 18, 16, 0.4);
  border-left: 2px solid rgba(197, 155, 39, 0.25);
  cursor: pointer;
  transition: opacity 0.2s, background-color 0.2s;
}

.track-item.track-locked:hover {
  opacity: 0.95;
  background: rgba(28, 26, 23, 0.8);
  border-left-color: var(--gold-light);
}

.btn-track-lock {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 155, 39, 0.1);
  border: 1px solid rgba(197, 155, 39, 0.2);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background 0.2s;
}

.track-item.track-locked:hover .btn-track-lock {
  background: rgba(197, 155, 39, 0.25);
  box-shadow: 0 0 8px rgba(230, 200, 110, 0.3);
}

.lock-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(197, 155, 39, 0.15);
  border: 1px solid rgba(197, 155, 39, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: 0.4rem;
}

/* Modal de Upgrade */
.upgrade-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;                 /* celular: o cartão com o PIX passa da tela e precisa rolar */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  animation: fadeIn 0.2s ease-out;
}

/* com o QR do PIX na tela, o texto de venda sai para o pagamento caber no celular */
.upgrade-modal-card.com-pix .upgrade-modal-icon,
.upgrade-modal-card.com-pix .upgrade-modal-desc,
.upgrade-modal-card.com-pix .upgrade-price-box { display: none; }

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

.upgrade-modal-card {
  background: #181613;
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  margin: auto;                     /* centraliza quando cabe e fica no topo, rolável, quando não cabe */
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(197, 155, 39, 0.2);
  position: relative;
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.upgrade-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--text-subtle);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.upgrade-modal-close:hover {
  color: var(--text-main);
}

.upgrade-modal-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 12px rgba(230, 200, 110, 0.4));
}

.upgrade-modal-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.upgrade-modal-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.upgrade-modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.upgrade-price-box {
  background: rgba(197, 155, 39, 0.08);
  border: 1px dashed var(--gold-border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-bottom: 1.5rem;
}

.price-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.25rem;
}

.price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-light);
}

.price-strike {
  font-size: 0.85rem;
  color: var(--text-subtle);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 0.4rem;
}

.upgrade-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-upgrade-confirm {
  display: block;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  color: #090908;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(197, 155, 39, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-upgrade-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 155, 39, 0.5);
}

.btn-upgrade-dismiss {
  background: none;
  border: none;
  color: var(--text-subtle);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.4rem;
  transition: color 0.2s;
}

.btn-upgrade-dismiss:hover {
  color: var(--text-muted);
}

/* Acessibilidade: foco visível no teclado e respeito a "reduzir movimento" */
:focus-visible { outline: 3px solid #e6c86e; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
