/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - POKÉCARD VAULT
   ========================================================================== */
:root {
  /* Color Palette */
  --bg-dark: #090B0E;
  --bg-card: rgba(18, 22, 31, 0.85);
  --bg-card-hover: rgba(26, 32, 46, 0.95);
  
  --primary-fire: #FF3B30;
  --primary-orange: #FF9500;
  --primary-glow: rgba(255, 149, 0, 0.4);
  
  --accent-purple: #9D4EDD;
  --accent-water: #00B4D8;
  --accent-lightning: #FFD166;
  --accent-dragon: #7209B7;
  
  --whatsapp-green: #25D366;
  --whatsapp-green-hover: #1DA851;
  
  --text-main: #F8FAFC;
  --text-muted: #CBD5E1;
  --text-dim: #94A3B8;
  
  --border-light: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(255, 149, 0, 0.4);
  
  /* Fonts */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transitions & Shadows */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-neon: 0 0 25px rgba(255, 59, 48, 0.25);
  --shadow-gold: 0 0 30px rgba(255, 209, 102, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  background: radial-gradient(circle at 50% 0%, #1a0808 0%, #090B0E 70%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Glow */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 60vh;
  background: radial-gradient(ellipse at top, rgba(255, 59, 48, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #FFF 20%, var(--primary-orange) 60%, var(--primary-fire) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFF 30%, #FFE57F 70%, #FFB300 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: rgba(9, 11, 14, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-fire), var(--primary-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 12px var(--primary-glow);
}

.nav-cart-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  padding: 0.6rem 1.1rem;
  border-radius: 50px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.nav-cart-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-orange);
}

.cart-badge {
  background: var(--primary-fire);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HERO SECTION (BANNER 100% VISÍVEL E LÍMPIDO NO MOBILE)
   ========================================================================== */
.hero {
  position: relative;
  padding: 6.5rem 1.25rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
  min-height: 85vh;
  justify-content: flex-end;
}

/* Container do Banner do Hero com Nitidez Total */
.hero-banner-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

/* Banner da Imagem com visibilidade limpa e sem filtros pesados */
.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.75; /* Aumentado para 75% de nitidez cristalina */
  filter: contrast(1.05) brightness(0.95);
}

/* Overlay Suave Apenas no Rodapé para Garantir Leitura */
.hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(9, 11, 14, 0.35) 0%, 
    rgba(9, 11, 14, 0.5) 50%, 
    rgba(9, 11, 14, 0.95) 90%,
    #090B0E 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(9, 11, 14, 0.75);
  border: 1px solid rgba(255, 149, 0, 0.5);
  color: var(--primary-orange);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  max-width: 850px;
  margin-bottom: 1rem;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  color: var(--text-main);
  max-width: 620px;
  margin-bottom: 2.2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  background: rgba(9, 11, 14, 0.4);
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 420px;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    max-width: 100%;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.8rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-fire), var(--primary-orange));
  color: #FFF;
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 59, 48, 0.5);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #FFF;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.45);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.8rem;
  width: 100%;
  max-width: 680px;
  padding: 1rem;
  background: rgba(18, 22, 31, 0.85);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: var(--primary-orange);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* Adjusts especifícos para Mobile Viewport */
@media (max-width: 640px) {
  .hero {
    padding-top: 5rem;
    min-height: 80vh;
  }

  .hero-banner-img {
    content: url("hero_banner_mobile.jpg"); /* Usa a arte vertical otimizada de alta resolução */
    object-position: center center;
    opacity: 0.82; /* Nitidez total para exibir a arte limpa */
  }

  .hero-title {
    font-size: 1.85rem;
  }
}

/* ==========================================================================
   SEÇÃO COMUNIDADE DE COLECIONADORES
   ========================================================================== */
.community-section {
  padding: 2.5rem 1.25rem;
}

.community-card {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08) 0%, rgba(18, 22, 31, 0.9) 100%);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.community-content {
  max-width: 600px;
}

.community-content h2 {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  margin: 0.8rem 0;
}

.community-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.community-badge-icon {
  font-size: 5rem;
  display: none;
}

@media (min-width: 768px) {
  .community-badge-icon {
    display: block;
  }
}

/* ==========================================================================
   SEÇÃO COMO FUNCIONA
   ========================================================================== */
.section {
  padding: 4rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 0.8rem;
}

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

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 1.8rem 1.25rem;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.step-number {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  background: rgba(255, 149, 0, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 1px solid rgba(255, 149, 0, 0.2);
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CATÁLOGO DE PRODUTOS
   ========================================================================== */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .filter-bar {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--primary-fire), var(--primary-orange));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.poke-card-wrapper {
  perspective: 1000px;
}

.poke-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.poke-card:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 149, 0, 0.2);
}

.card-img-container {
  position: relative;
  width: 100%;
  height: 270px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  margin-bottom: 1.2rem;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  padding: 0.5rem;
}

.poke-card:hover .card-img {
  transform: scale(1.05);
}

.holo-foil {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    115deg, 
    transparent 20%, 
    rgba(255, 255, 255, 0.4) 45%, 
    rgba(255, 0, 128, 0.3) 50%,
    rgba(0, 255, 255, 0.3) 55%,
    transparent 80%
  );
  mix-blend-mode: color-dodge;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.poke-card:hover .holo-foil {
  opacity: 1;
}

.card-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.card-rarity {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 209, 102, 0.15);
  color: var(--accent-lightning);
  border: 1px solid rgba(255, 209, 102, 0.3);
}

.card-hp {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-fire);
  background: rgba(255, 59, 48, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.card-attack-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.4;
  min-height: 2.4em;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card-price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.card-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.btn-add-deck {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.btn-add-deck:hover {
  background: var(--primary-fire);
  border-color: var(--primary-fire);
  box-shadow: 0 4px 15px rgba(255, 59, 48, 0.4);
}

/* ==========================================================================
   DECK BUILDER / CARRINHO FLUTUANTE (DOCK MOBILE)
   ========================================================================== */
.cart-dock {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: 92%;
  max-width: 480px;
  background: rgba(18, 22, 31, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--primary-orange);
  border-radius: 20px;
  padding: 0.9rem 1.25rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 149, 0, 0.3);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-dock.active {
  transform: translateX(-50%) translateY(0);
}

.dock-info {
  display: flex;
  flex-direction: column;
}

.dock-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dock-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-orange);
}

.btn-checkout-dock {
  background: var(--whatsapp-green);
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
}

.btn-checkout-dock:hover {
  background: var(--whatsapp-green-hover);
  transform: scale(1.03);
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 3rem 1.25rem;
  text-align: center;
  background: rgba(9, 11, 14, 0.95);
  margin-top: 4rem;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 1rem;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
