/* -------------------------------------------------------------
   SISTEMA DE DESIGN E CONFIGURAÇÕES GERAIS (TEMATIZAÇÃO PREMIUM)
   ------------------------------------------------------------- */
:root {
  --bg-primary: #050512;
  --bg-secondary: rgba(13, 11, 37, 0.7);
  --bg-glass: rgba(20, 20, 45, 0.45);
  --bg-glass-active: rgba(30, 30, 65, 0.7);
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 242, 254, 0.35);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-glow: #00f2fe;
  
  /* Cores Temáticas de Rariade */
  --rarity-common-border: #718096;
  --rarity-common-bg: linear-gradient(135deg, #1a202c, #2d3748);
  
  --rarity-special-border: #ffd700;
  --rarity-special-bg: linear-gradient(135deg, #1b1601, #3c3203);
  --rarity-special-glow: 0 0 15px rgba(255, 215, 0, 0.3);
  
  --rarity-legend-border: #d53f8c;
  --rarity-legend-bg: linear-gradient(135deg, #2a082c, #4a0e4e);
  --rarity-legend-glow: 0 0 25px rgba(213, 63, 140, 0.5);
  
  /* Gradientes de Interface */
  --grad-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --grad-purple: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%);
  --grad-gold: linear-gradient(135deg, #ffe259 0%, #ffa751 100%);
  --grad-dark: linear-gradient(135deg, #0f0c1b 0%, #201a35 100%);
  
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 10% 20%, rgba(127, 0, 255, 0.15) 0px, transparent 50%),
    radial-gradient(at 90% 80%, rgba(0, 242, 254, 0.12) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(13, 11, 37, 0.95) 0px, var(--bg-primary) 100%);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Partículas animadas de fundo */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* -------------------------------------------------------------
   CABEÇALHO DA INTERFACE (GLASSMORPHISM)
   ------------------------------------------------------------- */
.main-header {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.copa-logo {
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.5));
  animation: logoPulse 4s infinite alternate ease-in-out;
}

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Painel de Estatísticas */
.stats-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,0.03);
  padding: 6px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.stat-box {
  display: flex;
  flex-direction: column;
  min-width: 130px;
}

.stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.progress-container-header {
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  height: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.progress-bar-fill {
  background: var(--grad-primary);
  height: 100%;
  width: 0%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.progress-percentage-val {
  position: absolute;
  right: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.stat-box-metrics {
  display: flex;
  gap: 16px;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 16px;
}

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

.metric-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-display);
}

.metric-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Controles */
.header-controls {
  display: flex;
  gap: 8px;
}

.control-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.control-btn:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.control-btn.danger:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
}

/* -------------------------------------------------------------
   ABAS DE NAVEGAÇÃO
   ------------------------------------------------------------- */
.nav-tabs {
  max-width: 1280px;
  margin: 20px auto 0 auto;
  padding: 0 24px;
}

.tabs-container {
  display: flex;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 6px;
  gap: 6px;
  backdrop-filter: blur(10px);
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
}

.tab-btn:hover {
  color: var(--text-main);
  background: rgba(255,255,255,0.03);
}

.tab-btn.active {
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.tab-btn.active .tab-icon {
  transform: scale(1.15);
}

.tab-icon {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.badge {
  background: #ef4444;
  color: white;
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 0.7rem;
  font-weight: 800;
  position: absolute;
  top: 4px;
  right: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  animation: pulseBadge 1.5s infinite;
}

/* -------------------------------------------------------------
   CONTEÚDO PRINCIPAL E ARQUITETURA DE SEÇÕES
   ------------------------------------------------------------- */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  min-height: calc(100vh - 200px);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-content.active {
  display: block;
}

/* -------------------------------------------------------------
   1. SEÇÃO DO ÁLBUM (SIDEBAR + PÁGINAS)
   ------------------------------------------------------------- */
.album-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

.album-sidebar {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 20px;
  height: fit-content;
  backdrop-filter: blur(10px);
}

.album-sidebar h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-glow);
}

.page-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-menu-item {
  width: 100%;
}

.page-menu-btn {
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 14px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.page-menu-btn:hover {
  background: rgba(255,255,255,0.03);
  color: #fff;
}

.page-menu-btn.active {
  background: var(--bg-glass-active);
  color: #fff;
  border-color: var(--border-active);
  box-shadow: inset 0 0 10px rgba(0, 242, 254, 0.1);
}

.menu-page-progress {
  margin-left: auto;
  font-size: 0.75rem;
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--text-muted);
}

.page-menu-btn.active .menu-page-progress {
  background: rgba(0, 242, 254, 0.15);
  color: var(--text-glow);
}

/* Área da Página do Álbum */
.album-page-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(15px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.album-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 16px;
}

.page-header-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.team-flag-large {
  font-size: 2.2rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.page-header-info h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.page-header-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.page-progress {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 180px;
  gap: 6px;
}

.page-progress span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.page-progress-bar {
  width: 100%;
  background: rgba(255,255,255,0.08);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.page-progress-fill {
  height: 100%;
  background: var(--grad-primary);
  width: 0%;
  border-radius: 4px;
  transition: width 0.5s ease-out;
}

/* Grade de Figurinhas */
.stickers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* -------------------------------------------------------------
   SLOT DE FIGURINHA VAZIO E INTERATIVO
   ------------------------------------------------------------- */
.sticker-slot {
  width: 160px;
  height: 220px;
  border-radius: 12px;
  border: 2px dashed rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.01);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.sticker-slot:hover {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.sticker-slot.can-glue {
  border-color: #ffd700;
  background: rgba(255, 215, 0, 0.03);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
  animation: pulseGoldBorder 2s infinite alternate;
}

.slot-silhouette {
  font-size: 2.2rem;
  color: rgba(255,255,255,0.15);
  margin-bottom: 8px;
  transition: transform 0.2s ease;
}

.sticker-slot:hover .slot-silhouette {
  transform: scale(1.1);
}

.sticker-slot.can-glue .slot-silhouette {
  color: rgba(255, 215, 0, 0.4);
}

.slot-code {
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
  padding: 2px 8px;
  border-radius: 4px;
}

.sticker-slot.can-glue .slot-code {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.12);
}

.glue-action-banner {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: var(--grad-gold);
  color: #03001e;
  font-weight: 800;
  font-size: 0.7rem;
  text-align: center;
  padding: 6px 0;
  transform: translateY(100%);
  transition: transform 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sticker-slot.can-glue:hover .glue-action-banner {
  transform: translateY(0);
}

/* Slot preenchido com a figurinha colada */
.sticker-slot.glued {
  border: none;
  background: transparent;
  cursor: zoom-in;
}

.sticker-slot.glued:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* -------------------------------------------------------------
   CARD DA FIGURINHA (REVEAL / ÁLBUM)
   ------------------------------------------------------------- */
.sticker-card {
  width: 160px;
  height: 220px;
  border-radius: 12px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.sticker-card.flipped {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Verso da carta (Face Down) */
.card-back {
  background: var(--bg-primary);
  border: 3px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.card-back::before {
  content: '';
  position: absolute;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  pointer-events: none;
}

.card-back-logo {
  filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.3));
}

.card-back span {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Frente da carta (Face Up) */
.card-front {
  transform: rotateY(180deg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Diferenciação de Rariadade e Efeitos Brilhantes */
.sticker-card.rarity-common .card-front {
  background: var(--rarity-common-bg);
  border: 2px solid var(--rarity-common-border);
}

.sticker-card.rarity-special .card-front {
  background: var(--rarity-special-bg);
  border: 2.5px solid var(--rarity-special-border);
  box-shadow: var(--rarity-special-glow);
}

.sticker-card.rarity-legend .card-front {
  background: var(--rarity-legend-bg);
  border: 3px solid var(--rarity-legend-border);
  box-shadow: var(--rarity-legend-glow);
}

/* Brilhos / Shimmer holográficos */
.card-hologram {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: color-dodge;
  opacity: 0.25;
  transition: opacity 0.3s ease;
}

.sticker-card.rarity-special .card-hologram {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.4) 0%, transparent 50%, rgba(255, 215, 0, 0.4) 100%);
  background-size: 200% 200%;
  animation: hologramMove 3s infinite linear;
}

.sticker-card.rarity-legend .card-hologram {
  background: linear-gradient(135deg, rgba(255, 0, 128, 0.4) 0%, rgba(0, 242, 254, 0.4) 30%, transparent 50%, rgba(0, 242, 254, 0.4) 70%, rgba(255, 0, 128, 0.4) 100%);
  background-size: 300% 300%;
  animation: hologramMove 2s infinite linear;
  opacity: 0.4;
}

.sticker-card:hover .card-hologram {
  opacity: 0.6;
}

/* Conteúdo Interno da Figurinha SVG */
.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.card-team-name {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
}

.card-rarity-badge {
  font-size: 0.55rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 4px;
}

.rarity-common .card-rarity-badge {
  background: rgba(255,255,255,0.1);
  color: var(--text-muted);
}

.rarity-special .card-rarity-badge {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
}

.rarity-legend .card-rarity-badge {
  background: rgba(213, 63, 140, 0.2);
  color: #ff007f;
  animation: pulseLegendBadge 1s infinite alternate;
}

.card-vector-area {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px 0;
  position: relative;
  z-index: 1;
}

.card-vector-svg {
  width: 100%;
  height: 100%;
  max-height: 120px;
}

.card-footer-row {
  display: flex;
  flex-direction: column;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 5px;
}

.card-player-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rarity-legend .card-player-name {
  background: linear-gradient(90deg, #fff, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-player-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Indicador de pilha duplicada */
.duplicate-count-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff7b00;
  border: 2px solid var(--bg-primary);
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 900;
  z-index: 10;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* -------------------------------------------------------------
   2. SEÇÃO DE ABERTURA DE PACOTES
   ------------------------------------------------------------- */
.pack-opener-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pack-inventory-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.pack-card-visual {
  width: 160px;
  height: 220px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  animation: floatingPack 3s infinite ease-in-out;
}

.pack-shimmer {
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  animation: packShimmer 4s infinite ease;
}

.pack-action-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pack-action-details h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pack-action-details p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pack-action-details strong {
  color: #fff;
  font-size: 1.2rem;
  font-family: var(--font-display);
}

.pack-buttons-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Estilos de Botão de Ação */
.action-btn {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  outline: none;
}

.action-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

.action-btn:active:not(:disabled) {
  transform: translateY(0);
}

.action-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.action-btn.primary {
  background: var(--grad-primary);
  border: none;
  color: #03001e;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.action-btn.primary:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4);
}

.action-btn.secondary {
  background: var(--bg-glass-active);
  border-color: var(--border-active);
  color: #fff;
}

.action-btn.large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.action-btn.small {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: 8px;
}

.glow-btn {
  position: relative;
}

.glow-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  box-shadow: 0 0 15px var(--text-glow);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.glow-btn:hover::after {
  opacity: 0.5;
}

.sub-timer {
  font-size: 0.7rem;
  color: #ffd700;
  font-weight: 500;
}

/* Rarity drops */
.rarity-info-glass {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 18px;
}

.rarity-info-glass h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.rarity-info-glass ul {
  list-style: none;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.rarity-info-glass li {
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.rarity-info-glass strong {
  color: #fff;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.common { background-color: var(--rarity-common-border); }
.dot.special { background-color: var(--rarity-special-border); }
.dot.legend { background-color: var(--rarity-legend-border); }

/* Área de Revelação das Cartas */
.pack-reveal-area {
  background: rgba(8, 7, 24, 0.95);
  border: 1px solid var(--border-active);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  box-shadow: 0 0 40px rgba(0, 242, 254, 0.15);
  animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-overlay-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reveal-overlay-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.revealed-cards-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
  perspective: 1000px;
}

/* Animações específicas de virar e interatividade */
.revealed-cards-row .sticker-card {
  cursor: pointer;
}

.revealed-cards-row .sticker-card:hover:not(.flipped) {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 242, 254, 0.2);
}

/* -------------------------------------------------------------
   3. SEÇÃO MINHA COLEÇÃO GERAL
   ------------------------------------------------------------- */
.collection-control-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.collection-control-panel h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.collection-control-panel p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.filters-container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.filter-btn.active {
  background: var(--bg-glass-active);
  border-color: var(--border-active);
  color: var(--text-glow);
  box-shadow: inset 0 0 8px rgba(0, 242, 254, 0.1);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  justify-items: center;
}

/* Cartas trancadas (ainda não conseguidas) */
.sticker-card.locked {
  filter: grayscale(1) brightness(0.4);
  opacity: 0.6;
  cursor: not-allowed;
}

/* -------------------------------------------------------------
   4. SEÇÃO DE TROCA DE REPETIDAS
   ------------------------------------------------------------- */
.trade-center-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 24px;
}

.trade-info-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 24px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 20px;
  backdrop-filter: blur(10px);
}

.trade-info-panel h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.intro-p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trade-ratio-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.recycle-icon {
  font-size: 2.2rem;
  animation: rotatingRecycle 10s infinite linear;
}

.trade-ratio-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-glow);
}

.trade-ratio-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.recycler-box {
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.selection-tracker {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selection-tracker span {
  font-size: 0.8rem;
  font-weight: 700;
}

/* Mostrador de progresso linear circular na reciclagem */
.recycler-progress-ring {
  background: rgba(255,255,255,0.06);
  height: 6px;
  width: 100px;
  border-radius: 3px;
  overflow: hidden;
}

.recycler-progress-fill {
  height: 100%;
  background: var(--grad-primary);
  width: 0%;
  transition: width 0.3s ease;
}

/* Lado direito: Seletor de duplicatas */
.duplicates-selector-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(10px);
}

.duplicates-selector-panel h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

.duplicates-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
  justify-items: center;
}

.duplicates-list-grid .sticker-card {
  width: 130px;
  height: 180px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.duplicates-list-grid .sticker-card:hover {
  transform: translateY(-4px);
}

.duplicates-list-grid .sticker-card.selected-for-trade {
  outline: 3px solid #ff7b00;
  outline-offset: 4px;
  transform: scale(0.95);
  box-shadow: 0 0 15px rgba(255, 123, 0, 0.4);
}

.duplicates-list-grid .sticker-card.selected-for-trade::before {
  content: '✓';
  position: absolute;
  top: -8px;
  left: -8px;
  background: #ff7b00;
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  z-index: 12;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.empty-state-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.3;
}

.empty-state-message p {
  font-size: 0.85rem;
  max-width: 300px;
}

/* -------------------------------------------------------------
   MODAL DE ZOOM / DETALHE DE CARTAS
   ------------------------------------------------------------- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 2, 8, 0.85);
  backdrop-filter: blur(12px);
}

.modal-content {
  background: rgba(18, 16, 45, 0.95);
  border: 1px solid var(--border-active);
  border-radius: 24px;
  padding: 32px;
  width: 90%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1001;
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.25);
  animation: scaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.close-modal-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.05);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
}

.close-modal-btn:hover {
  background: rgba(255,255,255,0.12);
  transform: rotate(90deg);
}

.modal-card-display {
  perspective: 1000px;
}

.modal-card-display .sticker-card {
  width: 220px;
  height: 300px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  cursor: default;
}

.modal-card-display .card-vector-svg {
  max-height: 160px;
}

.modal-card-display .card-player-name {
  font-size: 1.1rem;
}

.modal-card-display .card-player-meta {
  font-size: 0.8rem;
  margin-top: 4px;
}

.modal-card-display .card-team-name {
  font-size: 0.8rem;
}

.modal-card-display .card-rarity-badge {
  font-size: 0.7rem;
}

.modal-actions-panel {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

#modal-sticker-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

#modal-sticker-details {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-status-badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.modal-action-buttons {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* -------------------------------------------------------------
   ANIMAÇÕES E EFEITOS ESPECIAIS
   ------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulseGoldBorder {
  0% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.1); }
  100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.35); }
}

@keyframes pulseBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes pulseLegendBadge {
  0% { box-shadow: 0 0 3px rgba(213, 63, 140, 0.2); }
  100% { box-shadow: 0 0 10px rgba(213, 63, 140, 0.7); }
}

@keyframes hologramMove {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes floatingPack {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes packShimmer {
  0% { left: -150%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

@keyframes logoPulse {
  0% { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.3)); }
  50% { transform: rotate(2deg) scale(1.02); filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.6)); }
  100% { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.3)); }
}

@keyframes rotatingRecycle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* -------------------------------------------------------------
   RESPONSIVIDADE E ADAPTAÇÃO MOBILE
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .album-layout {
    grid-template-columns: 1fr;
  }
  
  .album-sidebar {
    height: auto;
  }
  
  .page-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
  }
  
  .page-menu-item {
    width: auto;
    flex-shrink: 0;
  }
  
  .page-menu-btn {
    width: auto;
    white-space: nowrap;
  }
  
  .trade-center-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 12px 16px;
    align-items: center;
  }
  
  .brand-logo {
    margin-bottom: 6px;
  }
  
  .stats-panel {
    width: 100%;
    justify-content: space-between;
    padding: 8px 12px;
  }
  
  .tabs-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .tab-btn {
    padding: 10px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  
  .album-page-wrapper {
    padding: 16px;
  }
  
  .album-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .page-progress {
    width: 100%;
    align-items: flex-start;
  }
  
  .pack-inventory-panel {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }
  
  .rarity-info-glass ul {
    justify-content: center;
  }
}
