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

/* --- DESIGN SYSTEM --- */
:root {
  --bg-dark: #070312;
  --bg-card: rgba(15, 8, 30, 0.75);
  --bg-input: rgba(26, 15, 48, 0.6);
  --neon-cyan: #00f0ff;
  --neon-pink: #ff007f;
  --neon-orange: #ff5f00;
  --neon-yellow: #ffaa00;
  --xbox-green: #107c10;
  --xbox-neon: #2eeb2e;
  --text-main: #f3effa;
  --text-muted: #aaa3bb;
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --glow-cyan: 0 0 15px rgba(0, 240, 255, 0.4);
  --glow-pink: 0 0 15px rgba(255, 0, 127, 0.4);
  --glow-xbox: 0 0 15px rgba(46, 235, 46, 0.4);
  --glass-border: 1px solid rgba(255, 255, 255, 0.07);
  --glass-border-active: 1px solid rgba(0, 240, 255, 0.3);
}

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--neon-cyan);
  outline-offset: 3px;
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #251642;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-pink);
  box-shadow: var(--glow-pink);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Mesh Gradiente e Partículas */
#bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: 
    radial-gradient(circle at 10% 20%, rgba(255, 0, 127, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(46, 235, 46, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #070312 0%, #0c061f 50%, #05020c 100%);
  background-attachment: fixed;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* --- EFEITOS E ANIMAÇÕES GERAIS --- */
.gradient-text-cyan-pink {
  background: linear-gradient(135deg, var(--neon-cyan) 20%, var(--neon-pink) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Efeito 3D/profundidade do XBOX — filter:drop-shadow() ANIMADO (GPU, zero repaint)
   Idêntico visualmente ao text-shadow, mas roda no compositor (GPU), não na CPU. */
.hero-title .gradient-text-cyan-pink {
  display: inline-block;
  transform: translateZ(0);       /* promove para camada GPU própria */
  will-change: filter;            /* avisa o browser pra pré-alocar GPU */
  animation: glitch-xbox 4s ease-in-out infinite alternate;
}

.gradient-text-xbox {
  background: linear-gradient(135deg, #a6ff8a 0%, var(--xbox-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes float {
  /* Usa apenas transform: compositor-only, zero repaint */
  0%   { transform: translateY(0px) translateZ(0) rotate(0deg); }
  50%  { transform: translateY(-12px) translateZ(0) rotate(1deg); }
  100% { transform: translateY(0px) translateZ(0) rotate(0deg); }
}

@keyframes pulse-glow {
  /* Opacity é compositor-only: substitui box-shadow animation (paint-heavy) */
  0%   { opacity: 0.88; }
  50%  { opacity: 1; }
  100% { opacity: 0.88; }
}

@keyframes glitch {
  /* Usa transform em vez de text-shadow para evitar repaint a cada frame */
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-1px, 1px); }
  40%  { transform: translate(1px, -1px); }
  60%  { transform: translate(-1px, -1px); }
  80%  { transform: translate(1px, 1px); }
  100% { transform: translate(0, 0); }
}

/* Efeito 3D animado do XBOX — drop-shadow rotacionando cria ilusão de profundidade.
   filter: drop-shadow() é compositor-only (GPU). Sem repaint, sem CPU alto. */
@keyframes glitch-xbox {
  0%   { filter: drop-shadow( 3px  3px 0px rgba(255,0,127,0.80)) drop-shadow(-3px -3px 0px rgba(0,240,255,0.80)) drop-shadow(0 0 10px rgba(0,240,255,0.25)); }
  25%  { filter: drop-shadow(-3px  3px 0px rgba(255,0,127,0.80)) drop-shadow( 3px -3px 0px rgba(0,240,255,0.80)) drop-shadow(0 0 10px rgba(255,0,127,0.25)); }
  50%  { filter: drop-shadow( 3px -3px 0px rgba(255,0,127,0.80)) drop-shadow(-3px  3px 0px rgba(0,240,255,0.80)) drop-shadow(0 0 10px rgba(0,240,255,0.25)); }
  75%  { filter: drop-shadow(-3px -3px 0px rgba(255,0,127,0.80)) drop-shadow( 3px  3px 0px rgba(0,240,255,0.80)) drop-shadow(0 0 10px rgba(255,0,127,0.25)); }
  100% { filter: drop-shadow( 3px  3px 0px rgba(255,0,127,0.80)) drop-shadow(-3px -3px 0px rgba(0,240,255,0.80)) drop-shadow(0 0 10px rgba(0,240,255,0.25)); }
}

/* --- NAVBAR --- */
header {
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  background: rgba(7, 3, 18, 0.7);
  border-bottom: var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: 1px;
}

.logo-link span {
  font-style: italic;
}

.logo-dot {
  color: var(--xbox-neon);
  text-shadow: var(--glow-xbox);
}

nav {
  flex: 1 1 auto;
  min-width: 0;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 1.4vw, 1.4rem);
  list-style: none;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--text-main);
  text-shadow: var(--glow-cyan);
}

nav a:hover::after {
  width: 100%;
}

.btn-nav-discord {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: #5865F2; /* Discord color */
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-nav-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.5);
  background: #4752c4;
}

/* --- HERO SECTION --- */
.hero {
  max-width: 1200px;
  margin: 1rem auto 2rem;
  padding: 6rem 4rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  min-height: calc(85vh - 70px);
  position: relative;
  background: linear-gradient(135deg, rgba(10, 10, 12, 0.92) 0%, rgba(10, 10, 12, 0.78) 50%, rgba(10, 10, 12, 0.95) 100%),
              url('./Banner_galera-1280.webp') no-repeat center center;
  background-size: cover;
  background-position: center 30%;
  border-radius: 24px;
  border: var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(46, 235, 46, 0.3), rgba(0, 240, 255, 0.3), rgba(255, 0, 127, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-info {
  flex: 1.2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(46, 235, 46, 0.1);
  border: 1px solid rgba(46, 235, 46, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-family: var(--font-heading);
  color: var(--xbox-neon);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.5rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  animation: glitch 4s infinite alternate;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 510px;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-ctas .btn-secondary {
  border-width: 2px;
}

.btn-primary {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 1.2rem 2.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-pink) 100%);
  animation: pulse-glow 3s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  will-change: opacity;
  /* Mantém glow fixo para evitar box-shadow animado (paint-heavy) */
  box-shadow: 0 0 18px rgba(255, 0, 127, 0.45);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 0, 127, 0.5);
}

.btn-secondary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 1.2rem 2rem;
  border-radius: 8px;
  background: transparent;
  color: var(--text-main);
  border: var(--glass-border);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.hero-visual {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo-frame {
  position: relative;
  background: var(--bg-card);
  border: var(--glass-border);
  padding: 0.6rem;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.logo-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink), var(--neon-orange));
  z-index: -1;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.logo-frame:hover::before {
  opacity: 0.8;
}

.hero-logo-img {
  width: 105%;
  height: auto;
  max-width: 350px;
  border-radius: 12px;
  display: block;
}

.glow-spot {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(var(--neon-pink) 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0.3;
  z-index: -1;
  top: 10%;
  right: 10%;
}

/* --- STATS SECTION --- */
.stats-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  /* backdrop-filter removido dos stat-cards: economiza GPU em cards estáticos */
  border: var(--glass-border);
  border-radius: 16px;
  padding: 1.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.stat-card.xbox-card::before {
  background: var(--xbox-neon);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.stat-icon.cyan { color: var(--neon-cyan); text-shadow: var(--glow-cyan); }
.stat-icon.pink { color: var(--neon-pink); text-shadow: var(--glow-pink); }
.stat-icon.xbox { color: var(--xbox-neon); text-shadow: var(--glow-xbox); }
.stat-icon.orange { color: var(--neon-orange); text-shadow: 0 0 15px rgba(255, 95, 0, 0.4); }

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* --- SECTION GENERALS --- */
.section-title-wrapper {
  margin-bottom: 3rem;
  text-align: center;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* --- GAMES SECTION --- */
.games-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* --- SERVER GAMES SECTION (ARCANA + HORIZON) --- */
.server-games-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.server-games-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.server-games-tabs .filter-btn {
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.server-game-content {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.server-game-content.active {
  display: block;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.server-game-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .server-game-layout { grid-template-columns: 1fr; }
}

/* Badge de tipo de jogo */
.server-game-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

.horizon-badge {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #F97316;
}

.arcana-badge {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--neon-cyan);
}

.server-game-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.server-game-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.server-game-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card.server-stat {
  padding: 1.2rem 1rem;
  text-align: center;
}

.stat-card.server-stat .stat-num {
  font-size: 1.8rem;
}

/* Showcase de carros/cartas */
.server-game-showcase {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 18px;
  padding: 1.5rem;
}

.showcase-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
}

.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.showcase-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: var(--glass-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.showcase-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  border-radius: 3px 0 0 3px;
  transition: opacity 0.3s ease;
}

.showcase-item.horizon-item::before { background: #F97316; }
.showcase-item.arcana-item::before  { background: linear-gradient(180deg, var(--neon-cyan), var(--neon-pink)); }

.showcase-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.06);
}

.showcase-item.horizon-item:hover { box-shadow: 0 4px 20px rgba(249, 115, 22, 0.15); border-color: rgba(249, 115, 22, 0.3); }
.showcase-item.arcana-item:hover  { box-shadow: 0 4px 20px rgba(0, 240, 255, 0.12); border-color: rgba(0, 240, 255, 0.25); }

.showcase-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.horizon-item .showcase-item-icon {
  background: rgba(249, 115, 22, 0.15);
  color: #F97316;
}

.arcana-item .showcase-item-icon {
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
}

.showcase-item-info {
  flex: 1;
  min-width: 0;
}

.showcase-item-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}

.showcase-item-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.showcase-rarity {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.rarity-common   { background: rgba(156,163,175,0.15); color: #9ca3af; border: 1px solid rgba(156,163,175,0.3); }
.rarity-uncommon { background: rgba(46,235,46,0.12);  color: var(--xbox-neon); border: 1px solid rgba(46,235,46,0.3); }
.rarity-rare     { background: rgba(0,240,255,0.12);  color: var(--neon-cyan); border: 1px solid rgba(0,240,255,0.3); }
.rarity-epic     { background: rgba(168,85,247,0.15); color: #a855f7; border: 1px solid rgba(168,85,247,0.3); }
.rarity-legendary{ background: rgba(255,170,0,0.15);  color: var(--neon-yellow); border: 1px solid rgba(255,170,0,0.35); }

.showcase-item-cta {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.3s ease;
}
.showcase-item:hover .showcase-item-cta { color: var(--neon-cyan); }

/* ---- SLASH COMMANDS ---- */
.slash-commands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.slash-cmd {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.07);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  cursor: default;
  user-select: all;
}

.slash-cmd:hover {
  background: rgba(0, 240, 255, 0.14);
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

/* Horizon usa acento laranja nos comandos */
#sg-content-horizon .slash-cmd {
  color: #F97316;
  background: rgba(249, 115, 22, 0.07);
  border-color: rgba(249, 115, 22, 0.25);
}

#sg-content-horizon .slash-cmd:hover {
  background: rgba(249, 115, 22, 0.14);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.2);
}

.server-game-showcase {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 18px;
  padding: 1.5rem;
  overflow: visible;
}

/* ---- CARD DECK SHOWCASE (LEQUE 3D) ---- */
.card-deck-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  overflow: visible;
}

.card-deck-stack {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 380px;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: visible;
}

/* Todas as 5 cartas visíveis em leque 3D */
.deck-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 205px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, filter 0.3s ease, border-color 0.3s ease;
  user-select: none;
  transform-origin: center bottom;
  will-change: transform;
  padding: 0;
  color: var(--text-main);
  background: var(--bg-dark);
  font-family: inherit;
  text-align: left;
}

.deck-card.horizon-card {
  border-color: rgba(249, 115, 22, 0.4);
}

.deck-card.arcana-card {
  border-color: rgba(0, 240, 255, 0.35);
}

.deck-card.active {
  border-color: var(--neon-cyan);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.35);
}

.deck-card.horizon-card.active {
  border-color: #F97316;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(249, 115, 22, 0.4);
}

.deck-card:hover {
  filter: brightness(1.15) !important;
}

.deck-card-img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Rodapé da carta com info */
.deck-card-footer {
  background: linear-gradient(0deg, rgba(7,3,18,0.98) 0%, rgba(7,3,18,0.85) 100%);
  padding: 0.75rem 1rem;
  flex-shrink: 0;
}

.deck-card-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deck-card-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deck-card-rarity {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Responsividade do Leque 3D para Celulares (Mobile) */
@media (max-width: 600px) {
  .server-game-showcase,
  .card-deck-showcase {
    overflow: visible;
    padding: 1rem 0.5rem;
  }

  .card-deck-stack {
    max-width: 100%;
    height: 300px;
  }

  .deck-card {
    width: 150px;
    height: 250px;
    border-radius: 12px;
  }

  .deck-card-footer {
    padding: 0.5rem 0.6rem;
  }

  .deck-card-name {
    font-size: 0.8rem;
  }

  .deck-card-sub {
    font-size: 0.65rem;
  }
}

/* Navegação do deck */
.deck-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.deck-nav-btn {
  background: var(--bg-card);
  border: var(--glass-border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.deck-nav-btn:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

.deck-counter {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 40px;
  text-align: center;
}

/* Modal de detalhe de carta/carro */
.card-detail-modal {
  max-width: 540px;
  width: 92%;
}

.card-detail-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-detail-img-wrap {
  position: relative;
  width: 180px;
  height: 270px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 2px solid rgba(0,240,255,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 20px rgba(0,240,255,0.15);
  flex-shrink: 0;
}

.card-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.card-detail-rarity {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.card-detail-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.2rem;
  text-align: center;
}

.card-detail-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  text-align: center;
}

.card-detail-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  text-align: center;
  max-width: 420px;
}

.card-detail-attrs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1rem;
  width: 100%;
}

.attr-pill {
  background: rgba(255, 255, 255, 0.04);
  border: var(--glass-border);
  border-radius: 10px;
  padding: 0.6rem 0.5rem;
  text-align: center;
}

.attr-pill-val {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.attr-pill-key {
  font-size: 0.63rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
  display: block;
}

.card-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.meta-tag {
  background: rgba(255,255,255,0.05);
  border: var(--glass-border);
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}


.game-card {
  background: var(--bg-card);
  /* backdrop-filter removido: muito caro em grids de cards */
  border: var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(255, 0, 127, 0.4);
  box-shadow: 0 15px 35px rgba(255, 0, 127, 0.2);
}

.game-image-container {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.game-image-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.game-card:hover .game-image-fallback {
  transform: scale(1.1);
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 8, 30, 0.95) 100%);
}

.game-lfg-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 240, 255, 0.2);
  border: 1px solid var(--neon-cyan);
  color: var(--text-main);
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-shadow: var(--glow-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
  z-index: 2;
}

.game-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.game-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex: 1;
}

.game-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: var(--glass-border);
}

.game-players {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.game-players i {
  color: var(--xbox-neon);
}

.btn-game-lfg {
  background: transparent;
  border: 1px solid var(--neon-pink);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-game-lfg:hover {
  background: var(--neon-pink);
  box-shadow: var(--glow-pink);
  transform: translateY(-1px);
}

/* --- CARD OUTROS JOGOS --- */
.game-card--outro {
  border-color: rgba(0, 240, 255, 0.35);
  background: linear-gradient(145deg, rgba(0, 240, 255, 0.04) 0%, rgba(255, 0, 127, 0.04) 100%);
}

.game-card--outro:hover {
  border-color: rgba(0, 240, 255, 0.7);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.18), 0 0 0 1px rgba(0, 240, 255, 0.2);
  transform: translateY(-8px) scale(1.01);
}

.game-image-container--outro {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(255, 0, 127, 0.08) 100%);
}

.game-outro-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0, 240, 255, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(255, 0, 127, 0.15) 0%, transparent 60%);
}

.game-outro-icon {
  font-size: 4.5rem;
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(0, 240, 255, 0.5)) drop-shadow(0 0 8px rgba(255, 0, 127, 0.4));
  animation: pulse-outro 3s ease-in-out infinite;
}

@keyframes pulse-outro {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.5)) drop-shadow(0 0 6px rgba(255, 0, 127, 0.3)); }
  50%       { filter: drop-shadow(0 0 22px rgba(0, 240, 255, 0.8)) drop-shadow(0 0 14px rgba(255, 0, 127, 0.6)); }
}

.btn-game-lfg--outro {
  border-color: var(--neon-cyan);
}

.btn-game-lfg--outro:hover {
  background: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

/* --- MEMBERS SECTION --- */
.members-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.members-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 450px;
  min-width: 280px;
}

.search-input {
  width: 100%;
  background: var(--bg-input);
  border: var(--glass-border);
  padding: 0.9rem 1.2rem 0.9rem 2.8rem;
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  background: rgba(26, 15, 48, 0.9);
}

.search-wrapper i {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.search-input:focus + i {
  color: var(--neon-cyan);
}

.filter-wrapper {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: var(--glass-border);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.15);
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(255, 0, 127, 0.15));
  border-color: var(--neon-cyan);
  color: var(--text-main);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

/* Members Grid */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.member-card {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.member-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

/* Featured / Founder Card (Zezinho Style) */
.member-card.featured {
  border: 1px solid rgba(255, 0, 127, 0.3);
  background: linear-gradient(145deg, rgba(20, 8, 38, 0.8) 0%, rgba(10, 5, 22, 0.8) 100%);
  box-shadow: 0 10px 25px rgba(255, 0, 127, 0.05);
}

.member-card.featured:hover {
  border-color: var(--neon-pink);
  box-shadow: var(--glow-pink);
}

.member-card.featured::before {
  content: 'FOUNDER';
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: rgba(255, 0, 127, 0.15);
  border: 1px solid var(--neon-pink);
  color: var(--neon-pink);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.member-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  object-fit: cover;
  background: #1e1236;
}

.member-card.featured .member-avatar {
  border-color: var(--neon-pink);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.2);
}

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #0f081e;
}

.status-dot.online { background-color: #23a55a; }
.status-dot.idle { background-color: #f0b232; }
.status-dot.dnd { background-color: #f23f43; }
.status-dot.offline { background-color: #80848e; }

.member-details {
  flex: 1;
  min-width: 0; /* Permite truncamento correto do flex item */
}

.member-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.member-card.featured .member-role {
  color: var(--neon-pink);
}

/* Gamertag Copiável */
.gamertag-badge {
  background: rgba(255, 255, 255, 0.05);
  border: var(--glass-border);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  max-width: 100%;
  transition: all 0.2s ease;
  color: var(--text-main);
  font-family: inherit;
  text-align: left;
}

.gamertag-badge span {
  font-family: var(--font-body);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gamertag-badge i.fa-xbox {
  color: var(--xbox-neon);
}

.gamertag-badge i.fa-copy {
  color: var(--text-muted);
  font-size: 0.7rem;
  transition: color 0.2s ease;
}

.gamertag-badge:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--neon-cyan);
}

.gamertag-badge:focus-visible {
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

.gamertag-badge:hover i.fa-copy {
  color: var(--neon-cyan);
}

/* Status de Jogo */
.game-status {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-status strong {
  color: var(--xbox-neon);
}

/* --- DISCORD PANEL SECTION --- */
.discord-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.discord-panel-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .discord-panel-container {
    grid-template-columns: 1fr;
  }
}

.discord-app-preview {
  background: #1e1f22; /* Discord app dark theme */
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 670px;
}

/* Banner do servidor Discord */
.discord-server-banner-container {
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  flex-shrink: 0;
}

.discord-server-banner-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.5s ease;
}

.discord-server-banner-container picture {
  display: block;
  width: 100%;
  height: 100%;
}

.discord-app-preview:hover .discord-server-banner-container img {
  transform: scale(1.03);
}

.discord-app-header {
  background: #1e1f22;
  border-bottom: 1px solid #111214;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.discord-server-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: #f2f3f5;
}

.discord-server-badge {
  background: #5865f2;
  font-size: 0.65rem;
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: 900;
}

.discord-status-badge {
  font-size: 0.75rem;
  color: #b5bac1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.discord-status-badge .dot {
  width: 8px;
  height: 8px;
  background-color: #23a55a;
  border-radius: 50%;
  box-shadow: 0 0 8px #23a55a;
}

.discord-app-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  flex: 1;
  min-height: 0;
}

@media (max-width: 600px) {
  .discord-app-body {
    grid-template-columns: 1fr;
  }
  .discord-channels-sidebar {
    display: none;
  }
}

.discord-channels-sidebar {
  background: #2b2d31;
  border-right: 1px solid #1e1f22;
  padding: 1rem 0.5rem;
  overflow-y: auto;
}

.channel-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #949ba4;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  margin-top: 1rem;
}

.channel-category:first-child {
  margin-top: 0;
}

.discord-channel-item {
  color: #949ba4;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 0.1rem;
  text-decoration: none;
}

.discord-channel-item:hover, .discord-channel-item.active {
  background: #35373c;
  color: #dbdee1;
}

.voice-users-list {
  padding-left: 1.5rem;
  margin: 0.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.voice-user {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #dbdee1;
}

.voice-user img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.discord-chat-area {
  background: #313338;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.discord-chat-messages {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.chat-msg {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.chat-msg img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1e1236;
}

.msg-content-wrapper {
  min-width: 0;
}

.msg-meta {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.msg-username {
  font-weight: 600;
  font-size: 0.9rem;
  color: #f2f3f5;
  cursor: pointer;
}

.msg-username:hover {
  text-decoration: underline;
}

.msg-time {
  font-size: 0.7rem;
  color: #949ba4;
}

.msg-text {
  font-size: 0.9rem;
  color: #dbdee1;
  line-height: 1.4;
  word-break: break-word;
}

.discord-chat-input-area {
  padding: 0 1.25rem 1.25rem 1.25rem;
}

.discord-chat-input {
  width: 100%;
  background: #383a40;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: #dbdee1;
  font-size: 0.9rem;
  pointer-events: none; /* Apenas visual */
}

/* Discord Info Panel (Direita) */
.discord-join-info {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: 18px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.discord-join-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #5865f2;
}

.discord-brand-logo {
  font-size: 3rem;
  color: #5865f2;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.4));
}

.discord-join-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.discord-join-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.discord-features-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.discord-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.discord-feature-item i {
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
  font-size: 1.1rem;
}

.discord-feature-item i.fa-xbox {
  color: var(--xbox-neon);
  text-shadow: var(--glow-xbox);
}

.btn-join-large {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 1.1rem 2rem;
  border-radius: 8px;
  background: #5865F2;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3);
}

.btn-join-large:hover {
  background: #4752c4;
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(88, 101, 242, 0.5);
}

/* --- FOOTER --- */
footer {
  background: #04020a;
  border-top: var(--glass-border);
  padding: 3rem 2rem;
  margin-top: 5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  text-decoration: none;
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.footer-link.xbox-link:hover {
  color: var(--xbox-neon);
  text-shadow: var(--glow-xbox);
}

.footer-link.discord-link:hover {
  color: #5865F2;
  text-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
}

/* Toast de Cópia */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(15, 8, 30, 0.95);
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast i {
  color: var(--neon-cyan);
  font-size: 1.1rem;
}

/* LFG Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 2, 9, 0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: 18px;
  padding: 2.5rem;
  width: 90%;
  max-width: 500px;
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
  box-shadow: var(--glow-cyan);
  border-color: var(--neon-cyan);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--neon-pink);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.modal-form-group {
  margin-bottom: 1.25rem;
}

.modal-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
}

.modal-select, .modal-input {
  width: 100%;
  background: var(--bg-input);
  border: var(--glass-border);
  color: var(--text-main);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.modal-select option {
  background: var(--bg-dark);
  color: var(--text-main);
}

.modal-select:focus, .modal-input:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

.btn-modal-submit {
  width: 100%;
  font-family: var(--font-heading);
  font-weight: 900;
  padding: 1rem;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 127, 0.4);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 4rem 2rem !important;
    margin: 1rem !important;
    gap: 3rem;
  }
  
  .hero-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .logo-frame {
    max-width: 320px;
  }
}

@media (max-width: 1050px) {
  .nav-container {
    padding: 1rem;
  }

  .logo-link {
    font-size: 1.45rem;
  }
  
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    padding: 0.75rem;
    border: 1px solid rgba(0, 240, 255, 0.22);
    border-radius: 12px;
    background: rgba(7, 3, 18, 0.98);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.55);
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  nav a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 7px;
  }

  nav a:hover,
  nav a:focus-visible {
    background: rgba(0, 240, 255, 0.08);
  }
  
  .hero-title {
    font-size: 2.35rem;
  }

  .hero {
    background-image: linear-gradient(135deg, rgba(10, 10, 12, 0.94) 0%, rgba(10, 10, 12, 0.76) 50%, rgba(10, 10, 12, 0.95) 100%),
                      url('./Banner_galera-mobile.webp');
  }
}

@media (max-width: 520px) {
  .logo-link {
    font-size: 1.1rem;
    gap: 0.3rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 9vw, 2.2rem);
  }

  .hero-desc {
    font-size: 1.05rem;
  }

  .btn-nav-discord {
    justify-content: center;
    width: 2.75rem;
    height: 2.5rem;
    padding: 0.6rem;
  }

  .btn-nav-label {
    display: none;
  }
}

/* ==========================================================
   NOVA SEÇÃO: PROMOÇÃO CRIE SEU BOT (crieseubot.vercel.app)
   ========================================================== */
.crieseubot-promo {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.crieseubot-container {
  background: linear-gradient(135deg, rgba(26, 11, 56, 0.8) 0%, rgba(13, 6, 31, 0.8) 100%);
  border: 1px solid rgba(255, 0, 127, 0.25);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(255, 0, 127, 0.15);
  position: relative;
  overflow: hidden;
}

.crieseubot-container::before {
  content: '"'"';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.crieseubot-icon-wrapper {
  background: rgba(255, 0, 127, 0.1);
  border: 1px solid var(--neon-pink);
  width: 70px;
  height: 70px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  color: var(--neon-pink);
  text-shadow: var(--glow-pink);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.2);
  flex-shrink: 0;
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

.crieseubot-content {
  flex: 1;
}

.promo-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
  display: block;
}

.promo-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

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

.promo-link {
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px dashed var(--neon-cyan);
}

.promo-link:hover {
  color: #fff;
  border-color: #fff;
  text-shadow: var(--glow-cyan);
}

.btn-promo-visit {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-orange) 100%);
  border: none;
  padding: 1rem 1.8rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(255, 0, 127, 0.3);
  white-space: nowrap;
}

.btn-promo-visit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 0, 127, 0.5);
}

@media (max-width: 900px) {
  .crieseubot-container {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================
   NOVA SEÇÃO: ANÚNCIOS DO SERVIDOR (NEWS FEED)
   ========================================================== */
.news-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.news-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 850px) {
  .news-container {
    grid-template-columns: 1fr;
  }
}

.news-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 18px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.05);
}

.news-card-badge {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  padding: 0.25rem 0.65rem;
  border-radius: 5px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-card:nth-child(even) .news-card-badge {
  border-color: var(--xbox-neon);
  color: var(--xbox-neon);
  background: rgba(46, 235, 46, 0.15);
}

.news-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.news-author {
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.news-author i {
  color: #5865f2;
}

.news-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.news-interactions {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: var(--glass-border);
  flex-wrap: wrap;
}

.news-int-btn {
  background: rgba(255, 255, 255, 0.03);
  border: var(--glass-border);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-int-btn:hover {
  background: rgba(255, 0, 127, 0.1);
  border-color: var(--neon-pink);
  color: var(--text-main);
}

.news-lock-prompt {
  font-size: 0.8rem;
  color: var(--neon-pink);
  margin-left: auto;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================
   DISCORD WIDGET - NAVEGAÇÃO POR ABAS E LIVE CONSOLE
   ========================================================== */
.discord-tabs-navigation {
  display: flex;
  background: #111214;
  padding: 0.25rem;
  border-radius: 6px;
  gap: 0.25rem;
}

.discord-tab-btn {
  background: transparent;
  border: none;
  color: #949ba4;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.discord-tab-btn:hover {
  color: #dbdee1;
  background: #35373c;
}

.discord-tab-btn.active {
  background: #313338;
  color: #f2f3f5;
}

.discord-tab-content {
  display: none;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.discord-tab-content.active {
  display: flex;
}

/* Enviar Salve Button */
.discord-chat-input-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.discord-chat-input-row .discord-chat-input {
  flex: 1;
}

.btn-send-salve {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 0 1.25rem;
  height: 38px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-send-salve:hover {
  transform: scale(1.03);
  box-shadow: var(--glow-cyan);
}

.btn-send-salve:active {
  transform: scale(0.98);
}

/* Hacker Console Logs */
#tab-content-console {
  background: #090a0f;
  border-top: none;
  height: 100%;
}

.discord-console-logs {
  flex: 1;
  padding: 1.25rem;
  font-family: '"'"'Courier New'"", Courier, monospace;
  font-size: 0.85rem;
  color: #00ff66; /* Retro green */
  overflow-y: auto;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.console-log-line {
  word-break: break-all;
  animation: fadeInLog 0.2s ease-out forwards;
}

@keyframes fadeInLog {
  from { opacity: 0; transform: translateX(-5px); }
  to { opacity: 1; transform: translateX(0); }
}

.console-log-line .timestamp {
  color: #555868;
}

.console-log-line .bot-tag {
  color: var(--neon-pink);
  font-weight: bold;
}

.console-log-line .cmd {
  color: var(--neon-cyan);
}

.console-log-line .success {
  color: #00ff66;
}

.console-log-line .info {
  color: var(--neon-yellow);
}

.discord-console-status-bar {
  background: #111214;
  padding: 0.6rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #949ba4;
  font-family: var(--font-heading);
}

.console-bot-indicator {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.console-bot-indicator i {
  color: var(--xbox-neon);
}

.console-bot-activity strong {
  text-transform: uppercase;
}

.text-xbox { color: var(--xbox-neon) !important; }
.text-cyan { color: var(--neon-cyan) !important; }
.text-pink { color: var(--neon-pink) !important; }

/* ==========================================================
   HALL DA GALERA — PLACAR PÚBLICO DA COMUNIDADE
   ========================================================== */
.community-pulse-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  contain: layout;
}

.community-pulse-intro {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0.6rem auto 0;
  font-size: 0.98rem;
  line-height: 1.6;
  text-align: center;
}

.community-pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.pulse-card {
  position: relative;
  min-width: 0;
  padding: 1.4rem;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(24, 12, 45, 0.92), rgba(10, 6, 22, 0.94));
  border: var(--glass-border);
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pulse-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  opacity: 0.85;
}

.pulse-cyan::before { background: var(--neon-cyan); }
.pulse-pink::before { background: var(--neon-pink); }
.pulse-xbox::before { background: var(--xbox-neon); }

.pulse-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.pulse-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.pulse-card-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
}

.pulse-pink .pulse-card-icon {
  color: var(--neon-pink);
  background: rgba(255, 0, 127, 0.08);
  border-color: rgba(255, 0, 127, 0.2);
}

.pulse-xbox .pulse-card-icon {
  color: var(--xbox-neon);
  background: rgba(46, 235, 46, 0.08);
  border-color: rgba(46, 235, 46, 0.2);
}

.pulse-card-title {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.94rem;
  letter-spacing: 0.02em;
}

.pulse-card-subtitle {
  margin-top: 0.18rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.pulse-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pulse-player-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.55rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 11px;
}

.pulse-place {
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-align: center;
}

.pulse-avatar {
  width: 34px;
  height: 34px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.pulse-player-name {
  min-width: 0;
  overflow: hidden;
  color: var(--text-main);
  font-size: 0.84rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-player-score {
  color: var(--neon-cyan);
  font-size: 0.72rem;
  white-space: nowrap;
}

.pulse-xbox .pulse-player-score { color: var(--xbox-neon); }

.pulse-reputation-grid {
  min-height: 178px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.55rem;
}

.pulse-reputation-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.35rem;
  text-align: center;
  background: rgba(255, 0, 127, 0.035);
  border: 1px solid rgba(255, 0, 127, 0.1);
  border-radius: 12px;
}

.pulse-reputation-emoji {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.pulse-avatar-large {
  width: 44px;
  height: 44px;
  margin-bottom: 0.45rem;
}

.pulse-reputation-label {
  color: var(--neon-pink);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.pulse-reputation-name {
  width: 100%;
  margin-top: 0.25rem;
  overflow: hidden;
  color: var(--text-main);
  font-size: 0.74rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-reputation-score {
  margin-top: 0.16rem;
  color: var(--text-muted);
  font-size: 0.66rem;
}

.pulse-champions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pulse-champion-group {
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.pulse-champion-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.pulse-champion-heading {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
  font-size: 0.75rem;
}

.pulse-champion-emoji {
  font-size: 0.9rem;
}

.pulse-mini-empty {
  padding: 0.5rem 0.65rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 9px;
  font-size: 0.72rem;
  line-height: 1.35;
}

.pulse-empty {
  grid-column: 1 / -1;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.45;
}

.pulse-empty i {
  color: var(--neon-cyan);
  font-size: 1.35rem;
}

.community-pulse-updated {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: right;
}

.pulse-loading-card {
  min-height: 270px;
}

.pulse-loading-line {
  width: 100%;
  height: 42px;
  margin-bottom: 0.65rem;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.075),
    rgba(255, 255, 255, 0.035)
  );
  background-size: 200% 100%;
  border-radius: 10px;
  animation: pulse-shimmer 1.8s linear infinite;
}

.pulse-loading-line.short {
  width: 65%;
}

@keyframes pulse-shimmer {
  to { background-position: -200% 0; }
}

@media (max-width: 980px) {
  .community-pulse-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pulse-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .community-pulse-section {
    padding: 4rem 1rem;
  }

  .community-pulse-grid {
    grid-template-columns: 1fr;
  }

  .pulse-card:last-child {
    grid-column: auto;
  }

  .pulse-card {
    padding: 1.15rem;
  }

  .pulse-reputation-grid {
    min-height: 0;
  }

  .pulse-player-row {
    grid-template-columns: 26px 32px minmax(0, 1fr);
  }

  .pulse-player-score {
    grid-column: 3;
  }

  .community-pulse-updated {
    text-align: center;
  }
}

/* ==========================================================
   NOVA SEÇÃO: GALERIA DE ARTES / MEMES DA COMUNIDADE
   ========================================================== */
.gallery-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  height: 250px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  width: 100%;
  padding: 0;
  color: var(--text-main);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 3, 18, 0.95) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
  pointer-events: all;
}

.gallery-author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.gallery-author i {
  font-size: 0.8rem;
}

.gallery-caption {
  font-size: 0.8rem;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================================
   NOVA SEÇÃO: CONSOLES (XBOX SERIES X/S)
   ========================================================== */
.consoles-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.consoles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 800px) {
  .consoles-grid {
    grid-template-columns: 1fr;
  }
}

.console-card {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.console-card:hover {
  transform: translateY(-8px);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

.console-card:nth-child(1):hover {
  border-color: var(--xbox-neon);
  box-shadow: var(--glow-xbox);
}

.console-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.console-card-info {
  padding: 2rem;
  flex: 1;
}

.console-card-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.console-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}



/* Gallery Lightbox Modal */
#gallery-lightbox-overlay .lightbox-container {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: 18px;
  padding: 1.5rem;
  width: 95%;
  max-width: 900px;
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: flex;
  flex-direction: column;
}

#gallery-lightbox-overlay.active .lightbox-container {
  transform: scale(1);
  box-shadow: var(--glow-cyan);
  border-color: var(--neon-cyan);
}

.lightbox-content-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .lightbox-content-wrapper {
    grid-template-columns: 1fr;
  }
  #gallery-lightbox-overlay .lightbox-container {
    padding: 1rem;
    max-height: 90vh;
    overflow-y: auto;
  }
}

.lightbox-media-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #090a0f;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  height: 400px;
}

@media (max-width: 768px) {
  .lightbox-media-frame {
    height: 250px;
  }
}

.lightbox-media-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-meta-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.lightbox-author-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.lightbox-author-badge {
  background: rgba(88, 101, 242, 0.2);
  color: #5865f2;
  border: 1px solid rgba(88, 101, 242, 0.4);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lightbox-time {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.lightbox-caption {
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  flex: 1;
}

.lightbox-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lightbox-actions .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 0.8rem;
  text-decoration: none;
  text-align: center;
}

/* ====================================================
   OTIMIZAÇÕES DE PERFORMANCE — NÃO ALTERAM VISUAL
   ==================================================== */

/*
 * 1. Seções com contain:layout evitam que o navegador precise
 *    recalcular o layout da página inteira ao animar um filho.
 */
.stats-section,
.games-section,
.members-section,
.discord-section,
.server-games-section,
.crieseubot-promo {
  contain: layout;
}

/*
 * 2. No mobile (iOS/Android) background-attachment:fixed não é
 *    acelerado por hardware e causa jank grave a cada scroll.
 *    Removemos apenas esse atributo; o fundo continua idêntico.
 */
@media (max-width: 768px) {
  #bg-mesh {
    background-attachment: scroll;
  }

  /*
   * 3. Animação glitch no título consome CPU em mobile.
   *    Reduzimos a duração para diminuir a frequência de updates.
   */
  .hero-title {
    animation-duration: 8s;
  }

  /*
   * 4. Tilt 3D das cartas não funciona em touch (mousemove não dispara).
   *    Garantimos que não haja repaint causado pela animação de tilt.
   */
  .deck-card {
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, filter 0.3s ease;
  }

  /*
   * 5. Backdrop-filter é extremamente caro em mobile.
   *    Removemos do header sticky em telas pequenas.
   */
  header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(7, 3, 18, 0.95);
  }

  .server-game-showcase {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/*
 * 6. prefers-reduced-motion: respeita configurações de acessibilidade
 *    (Android "Remover animações", iOS "Reduzir movimento")
 *    e elimina TODA animação de uma vez nesses dispositivos.
 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #particle-canvas {
    display: none;
  }
}

.pulse-history-card {
  grid-column: 1 / -1;
}

.pulse-history {
  display: grid;
  gap: 0.9rem;
}

.pulse-history-text {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.pulse-history-image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-history-link {
  color: var(--neon-cyan);
  font-weight: 700;
  text-decoration: none;
}

.pulse-history-link:hover {
  text-decoration: underline;
}
