/* ==========================================================================
   JRK GAMES - DESIGN SYSTEM RESPONSIVO (COMPUTADOR & SMARTPHONE)
   Design PlayStation Dark Glassmorphism
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Rajdhani:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg-app: #060911;
  --bg-sidebar: #0a0f1b;
  --bg-surface: #0f1626;
  --bg-surface-elevated: #162136;
  --bg-glass: rgba(15, 22, 38, 0.88);
  --bg-glass-card: rgba(20, 29, 50, 0.75);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-glow: rgba(0, 112, 209, 0.45);
  
  --ps-blue: #0070d1;
  --ps-blue-light: #2997ff;
  --ps-blue-glow: rgba(0, 112, 209, 0.5);
  --ps2-color: #6366f1;
  --ps1-color: #06b6d4;
  --futebol-color: #10b981;
  --retro-color: #ec4899;
  --whatsapp-green: #25d366;
  --whatsapp-glow: rgba(37, 211, 102, 0.5);
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-gold: #f59e0b;
  --accent-red: #ef4444;
  
  --sidebar-width: 280px;
  --bottom-bar-height: 64px;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-app);
  color: var(--text-primary);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 112, 209, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 90% 60%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
    var(--bg-app);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ps-blue);
}

/* ==========================================================================
   LAYOUT GERAL: WRAPPER RESPONSIVO (COMPUTADOR & SMARTPHONE)
   ========================================================================== */
.site-layout {
  display: flex;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

/* ==========================================================================
   SIDEBAR LATERAL (DESKTOP: FIXA | SMARTPHONE: GAVETA/DRAWER)
   ========================================================================== */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 100;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
}

.sidebar-header {
  padding: 20px 18px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 15, 27, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.sidebar-logo {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 8px rgba(0, 112, 209, 0.6));
}

.sidebar-brand-text h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff, var(--ps-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sidebar-brand-text p {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 3px;
  letter-spacing: 0.5px;
}

.sidebar-close-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}
.sidebar-close-btn:hover { color: #fff; }

.sidebar-section-title {
  padding: 16px 18px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Plataformas na Sidebar */
.sidebar-platforms {
  padding: 0 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sidebar-platform-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sidebar-platform-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.sidebar-platform-btn.active {
  background: var(--ps-blue);
  border-color: var(--ps-blue-light);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 112, 209, 0.4);
}

.sidebar-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 8px 12px;
}

/* Atalhos por Gênero na Sidebar */
.sidebar-nav {
  padding: 4px 10px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  transform: translateX(2px);
}

.sidebar-btn.active {
  background: linear-gradient(90deg, rgba(0, 112, 209, 0.28), rgba(0, 112, 209, 0.08));
  border-color: var(--ps-blue);
  color: #fff;
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--ps-blue), 0 0 12px rgba(0, 112, 209, 0.2);
}

.sidebar-btn-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-btn-icon {
  font-size: 1.1rem;
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-btn-count {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 600;
}

.sidebar-btn.active .sidebar-btn-count {
  background: var(--ps-blue);
  color: #fff;
}

/* Card de Suporte WhatsApp na Sidebar (Computador & Drawer Mobile) */
.sidebar-support-card {
  margin: 16px 10px 12px;
  padding: 14px 12px;
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.09), rgba(9, 14, 25, 0.85));
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.support-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #25d366;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.support-status-dot {
  width: 8px;
  height: 8px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 0 8px #25d366;
  animation: pulse-dot 2s infinite;
}

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

.support-card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.support-card-text {
  font-size: 0.77rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin-bottom: 12px;
}

.btn-sidebar-zap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  background: #25d366;
  color: #03210f;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-sidebar-zap:hover {
  background: #2ee270;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.55);
}

.btn-sidebar-yt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  margin-top: 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-sidebar-yt:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.5);
}

/* Overlay do drawer no smartphone */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 99;
}

/* ==========================================================================
   CONTEÚDO PRINCIPAL (MAIN CONTENT)
   ========================================================================== */
.main-wrapper {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 24px 80px;
}

/* Top App Bar */
.top-header {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.top-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  max-width: 580px;
}

.btn-mobile-menu {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.95rem;
}

.search-input {
  width: 100%;
  padding: 11px 40px 11px 42px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--ps-blue-light);
  box-shadow: 0 0 0 3px rgba(0, 112, 209, 0.3);
  background: rgba(0, 0, 0, 0.75);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
}
.search-clear-btn:hover { color: #fff; }

.top-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.select-custom {
  appearance: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 9px 32px 9px 12px;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) center;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-header:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.btn-header.canva-link,
.btn-header.btn-header-zap {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(18, 140, 126, 0.25));
  border-color: rgba(37, 211, 102, 0.5);
  color: #4ade80;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.2);
}
.btn-header.canva-link:hover,
.btn-header.btn-header-zap:hover {
  background: #25d366;
  color: #042410;
  border-color: #25d366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

.btn-header.btn-header-yt {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(185, 28, 28, 0.25));
  border-color: rgba(239, 68, 68, 0.5);
  color: #f87171;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

.btn-header.btn-header-yt:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
  transform: translateY(-2px);
}

.btn-favorites.active {
  background: rgba(239, 68, 68, 0.2);
  border-color: var(--accent-red);
  color: #fff;
}

/* Horizontal Genre Scroll for Quick Mobile Access */
.mobile-genre-scroll {
  display: none;
  overflow-x: auto;
  white-space: nowrap;
  gap: 8px;
  padding: 6px 14px 12px;
  /* Barra de rolagem horizontal visível e estilizada */
  scrollbar-width: thin;
  scrollbar-color: var(--ps-blue) rgba(255,255,255,0.06);
}
.mobile-genre-scroll::-webkit-scrollbar {
  height: 4px;
}
.mobile-genre-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 9999px;
}
.mobile-genre-scroll::-webkit-scrollbar-thumb {
  background: var(--ps-blue);
  border-radius: 9999px;
}

.genre-pill-mobile {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.genre-pill-mobile.active {
  background: var(--ps-blue);
  border-color: var(--ps-blue-light);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 112, 209, 0.4);
}

/* Mini Info Banner */
.results-info-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.results-info-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.results-info-text strong { color: #fff; }

.btn-reset-filter {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: none;
}
.btn-reset-filter:hover { background: var(--accent-red); border-color: var(--accent-red); }

/* ==========================================================================
   SEÇÕES DE GÊNEROS & GRADE DE CAPAS RESPONSIVA
   ========================================================================== */
.genre-section {
  margin-bottom: 38px;
  scroll-margin-top: 24px;
}

.genre-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--ps-blue);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.genre-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.genre-header-left .icon {
  font-size: 1.35rem;
}

.genre-header-left h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.6px;
}

.genre-count-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(0, 112, 209, 0.15);
  border: 1px solid rgba(0, 112, 209, 0.35);
  color: var(--ps-blue-light);
}

/* Grade de Jogos: Fluida e Responsiva */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

/* Card do Jogo (Limpo: Sem Opções de Download) */
.game-card {
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  will-change: transform;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 112, 209, 0.7);
  box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 112, 209, 0.35);
}

.game-cover-container {
  position: relative;
  width: 100%;
  padding-top: 133.33%; /* 3:4 aspect ratio */
  background: #0b0f1a;
  overflow: hidden;
}

.game-cover-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #111827;
}

.game-card:hover .game-cover-img {
  transform: scale(1.06);
}

.cover-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 40%, rgba(6, 9, 17, 0.95) 100%);
  pointer-events: none;
}

/* Badge de Plataforma */
.card-badge-platform {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.6px;
  padding: 2px 7px;
  border-radius: 5px;
  color: #fff;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-badge-platform.PS4 { border-color: var(--ps-blue); background: rgba(0, 80, 180, 0.85); }
.card-badge-platform.PS2 { border-color: var(--ps2-color); background: rgba(60, 50, 160, 0.85); }
.card-badge-platform.PS1 { border-color: var(--ps1-color); background: rgba(6, 140, 160, 0.85); }
.card-badge-platform.FUTEBOL { border-color: var(--futebol-color); background: rgba(16, 150, 80, 0.85); }
.card-badge-platform.RETRÔ { border-color: var(--retro-color); background: rgba(180, 30, 110, 0.85); }

/* Botão de Favoritar */
.card-favorite-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.card-favorite-btn:hover {
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
  transform: scale(1.15);
}

.card-favorite-btn.favorited {
  background: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
}

/* Detalhes do Card */
.game-card-details {
  padding: 10px 12px 12px;
  background: var(--bg-surface);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
}

.game-card-genre {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ps-blue-light);
  margin-bottom: 3px;
  letter-spacing: 0.5px;
}

.game-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.3rem;
}

/* ==========================================================================
   BOTÃO DO WHATSAPP / ZAP FLUTUANTE (COMPUTADOR & SMARTPHONE)
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: pulse-zap 2.8s infinite;
}

@keyframes pulse-zap {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7), 0 8px 24px rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.4); }
}

.whatsapp-float-btn:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.7);
  color: #fff;
}

.whatsapp-float-btn:active {
  transform: scale(0.96);
}

.whatsapp-icon-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-float-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.whatsapp-online-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background: #4ade80;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px #4ade80;
}

.whatsapp-float-content {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.whatsapp-float-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.whatsapp-float-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

/* ==========================================================================
   BARRA DE NAVEGAÇÃO INFERIOR (SMARTPHONE ONLY)
   ========================================================================== */
.bottom-nav-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-bar-height);
  background: rgba(9, 14, 25, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border-subtle);
  z-index: 900;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 10px;
  text-decoration: none;
  flex: 1;
  transition: all var(--transition-fast);
}

.bottom-nav-item svg {
  width: 20px;
  height: 20px;
}

.bottom-nav-item.active, .bottom-nav-item:hover {
  color: var(--ps-blue-light);
}

.bottom-nav-item.bottom-nav-zap {
  color: #4ade80;
  font-weight: 700;
}
.bottom-nav-item.bottom-nav-zap svg {
  fill: #4ade80;
  width: 22px;
  height: 22px;
}
.bottom-nav-item.bottom-nav-zap:hover,
.bottom-nav-item.bottom-nav-zap:active {
  color: #25d366;
}

.bottom-nav-item.bottom-nav-yt {
  color: #f87171;
  font-weight: 700;
}
.bottom-nav-item.bottom-nav-yt svg {
  fill: #f87171;
  width: 22px;
  height: 22px;
}
.bottom-nav-item.bottom-nav-yt:hover,
.bottom-nav-item.bottom-nav-yt:active {
  color: #ff0000;
}

/* ==========================================================================
   MODAL / LIGHTBOX DE CAPA (SEM OPÇÕES DE DOWNLOAD)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 14, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 112, 209, 0.4);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 112, 209, 0.3);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}
.modal-close-btn:hover { background: var(--accent-red); }

.modal-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  padding: 30px;
}

.modal-cover-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-medium);
  background: #080c16;
}

.modal-cover-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.modal-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.modal-badge-plat {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.6px;
  color: #fff;
}

.modal-badge-genre {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.modal-title {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}

.modal-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.modal-tag {
  background: rgba(0, 112, 209, 0.12);
  border: 1px solid rgba(0, 112, 209, 0.3);
  color: var(--ps-blue-light);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.modal-action-row {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.modal-btn {
  flex: 1;
  padding: 11px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.modal-btn.primary {
  background: var(--ps-blue);
  border-color: var(--ps-blue-light);
}

.modal-btn.help-btn,
.modal-btn.zap-modal-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-color: #25d366;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.modal-btn.zap-modal-btn:hover,
.modal-btn.help-btn:hover {
  background: #2ee270;
  color: #03210f;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.6);
  transform: translateY(-2px);
}

.modal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  box-shadow: 0 10px 25px rgba(0,0,0,0.8);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toast-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}
.toast.success { border-color: rgba(16, 185, 129, 0.5); background: #0c2018; }
.toast.info { border-color: rgba(0, 112, 209, 0.5); background: #0c1a2d; }

@keyframes toast-in {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-glass);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  margin: 20px 0;
}
.empty-state-icon { font-size: 3rem; margin-bottom: 10px; opacity: 0.7; }
.empty-state h3 { font-size: 1.3rem; margin-bottom: 6px; }
.empty-state p { color: var(--text-secondary); margin-bottom: 16px; }

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   RESPONSIVIDADE: ADAPTAÇÃO PARA SMARTPHONE (SCREEN < 1024px)
   ========================================================================== */
@media (max-width: 1023px) {
  .site-layout {
    flex-direction: column;
  }

  /* Sidebar vira gaveta retrátil no smartphone */
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 82%;
    max-width: 320px;
    z-index: 1500;
    transform: translateX(-100%);
    transition: transform var(--transition-smooth);
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.9);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-overlay.open {
    display: block;
  }
  .sidebar-close-btn {
    display: block;
  }

  .btn-mobile-menu {
    display: inline-flex;
  }

  .mobile-genre-scroll {
    display: flex;
  }

  .main-wrapper {
    padding: 14px 14px calc(var(--bottom-bar-height) + 20px);
  }

  /* 2 colunas para smartphone */
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Botão do WhatsApp no Smartphone: compacto, acima da barra de navegação */
  .whatsapp-float-btn {
    bottom: calc(var(--bottom-bar-height) + 14px);
    right: 14px;
    padding: 7px 14px 7px 9px;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  }
  .whatsapp-float-btn .whatsapp-icon-wrap {
    width: 32px;
    height: 32px;
  }
  .whatsapp-float-btn svg {
    width: 20px;
    height: 20px;
  }
  .whatsapp-float-sub {
    display: none;
  }
  .whatsapp-float-title {
    font-size: 0.92rem;
  }

  .top-header {
    padding: 10px 14px;
    gap: 10px;
  }
  .top-header-right {
    gap: 6px;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .top-header-right::-webkit-scrollbar {
    display: none;
  }
  .btn-header {
    padding: 7px 11px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .bottom-nav-mobile {
    display: flex;
  }

  .modal-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 18px;
  }
  .modal-cover-wrap {
    max-width: 220px;
    margin: 0 auto;
  }
}
