/* =========================================
   RESET BÁSICO & FUNDOS GERAIS
   ========================================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f172a;
  color: #e5e7eb;

  /* Constantes visuais do sistema (baseadas na .credits-amount/.hud-value) */
  --mq-credits-font: "Orbitron", sans-serif;
  --mq-credits-size: 3rem;
  --mq-credits-weight: normal;
  /* "Orbitron" já tem peso visual */
  --mq-credits-letter: normal;
  --mq-credits-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

a {
  color: #38bdf8;
}

/* Imagens responsivas por padrão */
img {
  max-width: 100%;
  display: block;
}

/* Overlay escuro sobre o fundo com foto do bar */
.bg-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.95));
  z-index: -1;
  pointer-events: none;
}

/* =========================================
     BASE: LAYOUT, TIPOGRAFIA & COMPONENTES
     ========================================= */

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

h1 {
  margin: 0 0 4px;
  font-size: 1.4rem;
}

h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.muted {
  margin: 0;
  font-size: 0.9rem;
  color: #9ca3af;
}

.small {
  font-size: 0.8rem;
}

.card {
  background: #020617;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid #1f2937;
  margin-bottom: 12px;
}

/* Campos de formulário gerais */
.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #38bdf8;
}

/* Botões base (usados em telas mais simples) */
button {
  padding: 8px 12px;
  border-radius: 999px;
  border: none;
  background: #38bdf8;
  color: #020617;
  cursor: pointer;
  font-weight: 600;
}

button.small {
  padding: 6px 10px;
  font-size: 0.8rem;
}

button.secondary {
  background: #111827;
  color: #e5e7eb;
  border: 1px solid #4b5563;
}

button:disabled {
  opacity: 0.5;
  cursor: default;
}

.actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.venue-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:stretch;
}
.venue-actions .btn-gamer{
  flex: 1 1 140px;
  min-width: 140px;
  white-space: nowrap;
  line-height: 1.1;
}
.venue-actions.danger-row .btn-gamer{
  flex: 1 1 100%;
  min-width: 100%;
}

@media (max-width: 420px){
  .venue-actions .btn-gamer{
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    font-size: 12px;
    padding: 10px 10px;
  }
  .venue-actions.danger-row .btn-gamer{
    flex: 1 1 100%;
  }
}

.autosale-metrics { font-size: 200%; line-height: 1.25; }
@media (max-width: 420px){ .autosale-metrics { font-size: 180%; } }

.message {
  font-size: 0.85rem;
  min-height: 1.2em;
  margin-top: 8px;
}

/* Listas genéricas */
.link-list {
  list-style: none;
  padding-left: 0;
  margin-top: 8px;
  font-size: 0.85rem;
}

.link-list li {
  border-bottom: 1px solid #1f2937;
  padding: 4px 0;
}

/* Campo de código (cliente) */
.code-input {
  display: flex;
  gap: 8px;
}

.code-input input {
  flex: 1;
  text-transform: uppercase;
}

/* =========================================
     LOGIN / TELA INICIAL
     ========================================= */

.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020617 url("../assets/logo.jpg") center / cover no-repeat fixed;
  color: #e5e7eb;
}

.login-body .container.auth-container {
  max-width: 420px;
  width: 100%;
}

.auth-card {
  background: rgba(2, 6, 23, 0.88);
  border-radius: 16px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
}

.auth-header {
  margin-bottom: 16px;
}

.auth-tag {
  margin: 0 0 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93c5fd;
  font-family: "Share Tech Mono", monospace;
}

.auth-title {
  margin: 0 0 6px;
  font-size: 1.8rem;
}

.auth-divider {
  border: none;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  margin: 16px 0 10px;
}

.auth-signup-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.auth-signup-cta button {
  min-width: 160px;
}

/* CTA de Novidades no login */
.news-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 18px;
  padding: 10px 18px;

  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.7);
  /* azul neon */
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.25), transparent 55%),
    rgba(15, 23, 42, 0.95);

  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;

  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.news-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(56, 189, 248, 0.5);
  border-color: rgba(45, 212, 191, 0.9);
  /* leve ciano */
}

.news-cta-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}

.news-pill-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: linear-gradient(90deg, #22c55e, #22d3ee);
  color: #020617;
  text-transform: uppercase;
}

.news-cta-text {
  white-space: nowrap;
}

/* No mobile, deixa o texto quebrar bonitinho */
@media (max-width: 480px) {
  .news-cta-btn {
    font-size: 0.8rem;
    padding-inline: 14px;
  }

  .news-cta-text {
    white-space: normal;
    text-align: center;
  }
}


/* =========================================
     BOTÃO DE VÍDEO (NOVO)
     ========================================= */

.auth-video-cta {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  /* Divisória sutil */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.video-cta-btn {
  display: inline-flex;
  /* O segredo do alinhamento horizontal */
  align-items: center;
  /* Centraliza verticalmente o ícone e texto */
  justify-content: center;
  gap: 10px;
  /* Espaço entre o ícone e o texto */
  padding: 10px 20px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  /* Borda azulada sutil */
  border-radius: 999px;
  /* Formato de pílula arredondada */
  background: rgba(15, 23, 42, 0.6);
  /* Fundo escuro semi-transparente */
  color: #e5e7eb;
  /* Texto claro */
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-cta-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  /* Fundo azulado leve no hover */
  border-color: #38bdf8;
  /* Borda azul neon */
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
  /* Brilho sutil */
  transform: translateY(-2px);
}

.video-cta-icon {
  display: flex;
  /* Garante que o SVG não "pule" linha */
  align-items: center;
  color: #38bdf8;
  /* Ícone na cor destaque (azul) */
}

/* Ajuste para o texto explicativo abaixo do botão */
.auth-video-cta .muted.tiny {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Ajuste do modal de vídeo para telas menores */
.modal-video {
  max-width: 640px;
  width: 95%;
  padding: 20px;
}

/* ===========================
     INDEX: vídeo + menu suspenso
     =========================== */

.info-panel {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-cta {
  text-align: center;
}

.link-like {
  background: none;
  border: none;
  color: #bfdbfe;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.video-wrapper video {
  width: 100%;
  border-radius: 12px;
  margin-top: 4px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.8);
}

.info-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.info-menu select {
  width: 100%;
  background: rgba(2, 6, 23, 0.92);
  border-radius: 8px;
  border: 1px solid #4b5563;
  color: #e5e7eb;
  padding: 8px 10px;
  font-size: 0.9rem;
}

.info-content {
  margin-top: 8px;
  line-height: 1.4;
}

/* link do WhatsApp dentro do painel de info */
.whats-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #22c55e;
  color: #022c22;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.whats-link:hover {
  filter: brightness(1.05);
}

/* rodapé fixo da tela de login */
.site-footer {
  margin-top: 16px;
  text-align: center;
  color: #64748b;
  opacity: 0.9;
}


/* =========================================
     TELA DO CLIENTE (QR / LANÇAR MÚSICAS)
     ========================================= */

.client-body {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #020617 url("../assets/logo.jpg") center / cover no-repeat fixed;
  color: #e5e7eb;
}

.client-container {
  max-width: 480px;
  width: 100%;
  padding-top: 24px;
  padding-bottom: 24px;
}

.client-card {
  background: rgba(2, 6, 23, 0.88);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
}

.client-body .topbar h1 {
  text-shadow: 0 10px 30px rgba(15, 23, 42, 1);
}

.client-body .muted {
  color: #cbd5f5;
}

/* Topo do client com logo oficial alinhada a direita */
.client-body .topbar.gamer-header .mq-topbar-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.client-body .topbar.gamer-header .mq-topbar-left {
  min-width: 0;
}

.client-body .topbar.gamer-header .mq-topbar-title {
  margin: 0;
  line-height: 1.05;
}

.client-body .topbar.gamer-header .mq-topbar-sub {
  margin-top: 6px;
}

.client-body .topbar.gamer-header .mq-topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.client-body .topbar.gamer-header .mq-topbar-logo {
  display: block;
  flex: 0 0 auto;
  max-height: 28px;
  max-width: min(120px, 28vw);
  width: auto;
  height: auto;
  object-fit: contain;
  margin-top: 2px;
}

@media (max-width: 360px) {
  .client-body .topbar.gamer-header .mq-topbar-logo {
    max-height: 24px;
    max-width: min(100px, 30vw);
  }
}

/* =========================================
     PLAYER DO BAR (TV)
     ========================================= */

/* Cole isso no final do seu styles.css */

#playerSessionInfo {
  /* Tamanho e cor */
  font-size: 2rem;
  /* Aumenta o tamanho da letra */
  font-weight: 800;
  /* Texto bem grosso/negrito */
  color: #ffffff;
  /* Texto branco */
  text-transform: uppercase;
  /* Força tudo em MAIÚSCULO */
  letter-spacing: 2px;
  /* Espaço entre letras estilo letreiro */

  /* Remove a cor cinza antiga */
  opacity: 1 !important;
  margin-top: 10px;

  /* O Efeito Neon (Brilho Azul Ciano) */
  text-shadow:
    0 0 5px #00d2ff,
    0 0 15px #00d2ff,
    0 0 30px #00d2ff;
}

.player-body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #020617 url("../assets/logo.jpg") center / cover no-repeat fixed;
  color: #e5e7eb;
}

.player-container {
  max-width: 1100px;
  width: 100%;
  padding: 20px 16px 18px;
  margin: 0 auto;
  border-radius: 24px;
  background: rgba(2, 6, 23, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(14px);
}

.player-body .topbar h1 {
  font-size: 1.6rem;
  margin-bottom: 4px;
  text-shadow: 0 14px 40px rgba(15, 23, 42, 1);
}

/* Topbar do player com logo oficial alinhada a direita */
.player-body .topbar .mq-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.player-body .topbar .mq-topbar-left {
  min-width: 0;
}

.player-body .topbar .mq-topbar-title {
  margin: 0;
}

.player-body .topbar .mq-topbar-venue {
  margin: 6px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-body .topbar .mq-topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.player-body .topbar .mq-topbar-logo {
  display: block;
  max-height: 54px;
  max-width: min(220px, 35vw);
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 520px) {
  .player-body .topbar .mq-topbar-logo {
    max-height: 42px;
    max-width: min(160px, 40vw);
  }
}

/* Letreiro textual (banner do bar) */
.player-banner {
  margin: 8px 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(96, 165, 250, 0.4);
  overflow: hidden;
}

.player-banner p {
  margin: 0;
  white-space: nowrap;
  display: inline-block;
  will-change: transform;
  animation: marquee-scroll 25s linear infinite;
}

/* Área principal: vídeo + marketing */
.player-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Painéis de vídeo e marketing compartilham o mesmo “visual” */
.player-video,
.player-marketing {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(244, 114, 182, 0.12), transparent 55%),
    rgba(15, 23, 42, 0.95);
  border-radius: 16px;
  padding: 10px;
  border: 1px solid rgba(30, 64, 175, 0.7);
}

/* ✅ YouTube compliance: viewport mínimo do embed (>= 200x200) */
.player-video {
  min-width: 200px;
}

.player-video #player {
  width: 100%;
  aspect-ratio: 16 / 9;

  /* garante o mínimo exigido */
  min-width: 200px;
  min-height: 200px;

  background: #020617;
}

/* o iframe é injetado pelo JS (YouTube IFrame API) — force a preencher o container */
.player-video #player iframe {
  width: 100% !important;
  height: 100% !important;

  min-width: 200px !important;
  min-height: 200px !important;
}


/* Janela de marketing */
.player-marketing h2 {
  margin-top: 0;
  font-size: 1rem;
}

.marketing-frame {
  position: relative;
  width: 100%;
  min-height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marketing-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Faixa horizontal da fila de músicas */
.player-queue-strip {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  overflow: hidden;
}

.queue-strip-label {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #38bdf8;
}

.queue-strip-marquee {
  flex: 1;
  overflow: hidden;
}

.queue-ticker-inner {
  white-space: nowrap;
  display: inline-block;
  will-change: transform;
  animation: queue-marquee 35s linear infinite, neon-cycle-colors 9s infinite alternate;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 1rem;
  text-shadow: 0 0 6px rgba(56, 189, 248, 0.65);
}

@keyframes queue-marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes neon-cycle-colors {
  0% {
    color: #38bdf8;
    text-shadow: 0 0 10px #38bdf8;
  }

  50% {
    color: #e879f9;
    text-shadow: 0 0 10px #e879f9;
  }

  100% {
    color: #facc15;
    text-shadow: 0 0 10px #facc15;
  }
}

/* Controles do player (pular música) */
.player-controls {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 16px;
}

.player-controls button {
  min-width: 220px;
  font-size: 15px;
  font-weight: 600;
}

/* Rodapé do player */
.player-footer {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  opacity: 0.9;
  padding: 4px 8px 4px;
}

.player-footer a {
  color: inherit;
  text-decoration: underline;
}

/* Layout desktop: vídeo e marketing lado a lado */
@media (min-width: 800px) {
  .player-main {
    flex-direction: row;
    align-items: flex-start;
  }

  .player-video {
    flex: 2;
  }

  .player-marketing {
    flex: 1;
  }
}

/* =========================================
     MODAL DE CADASTRO (INDEX)
     ========================================= */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal {
  background: rgba(2, 6, 23, 0.96);
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 1);
  max-width: 440px;
  width: 100%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border-radius: 999px;
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1;
}

textarea {
  resize: vertical;
}

/* =========================================
     GAMER MODE (CLIENTE / ADMIN)
     ========================================= */

/* Fonte “gamer” global para páginas com classe gamer-mode no body */
.gamer-mode {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.02em;
}

.gamer-mode h1,
.gamer-mode h2,
.gamer-mode h3 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =========================================
   LEGAL FOOTER
   ========================================= */
.legal-footer {
  margin-top: 18px;
  padding: 12px 12px;
  text-align: center;
  font-size: 12px;
  opacity: .92;
  border-top: 1px solid rgba(148, 163, 184, .25);
}

.legal-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.legal-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-footer a:hover {
  opacity: 1;
}

.legal-footer .sep {
  margin: 0 8px;
  opacity: .8;
}

.neon-text {
  color: #38bdf8;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

/* Status de conexão (cliente) */
.connection-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #4ade80;
  margin-top: 5px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ade80;
  animation: pulse-dot 2s infinite;
}

/* HUD de créditos (cliente) */
.hud-panel {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.hud-label {
  font-family: "Orbitron", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 8px;
}

.hud-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hud-icon {
  color: #fbbf24;
  font-size: 1.2rem;
}

.hud-value {
  font-family: var(--mq-credits-font, "Orbitron", sans-serif);
  font-size: var(--mq-credits-size, 3rem);
  line-height: 1;
  color: #fff;
  text-shadow: var(--mq-credits-shadow, 0 0 10px rgba(255, 255, 255, 0.5));
}

/* Barra de progresso de créditos */
.hud-bar-container {
  height: 6px;
  background: #1e293b;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.hud-bar-fill {
  height: 100%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  width: 0%;
  /* controlado via JS */
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Inputs gamer (cliente) */
.gamer-input-group,
.gamer-input-wrapper {
  margin-bottom: 15px;
}

.gamer-mode input[type="text"],
.gamer-mode input[type="url"] {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-bottom: 2px solid rgba(56, 189, 248, 0.3);
  border-radius: 4px 4px 0 0;
  color: #fff;
  padding: 14px;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.1rem;
  width: 100%;
  transition: all 0.3s;
}

.gamer-mode input:focus {
  background: rgba(56, 189, 248, 0.1);
  border-bottom-color: #38bdf8;
  box-shadow: 0 10px 20px -10px rgba(56, 189, 248, 0.2);
}

/* Botão gamer com loader e estado de sucesso */
.btn-gamer {
  width: 100%;
  padding: 16px;
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #38bdf8;
  color: #0f172a;
  border: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  font-weight: 700;
  position: relative;
  transition: all 0.2s;
  border-radius: 0;
}

.btn-gamer:hover {
  background: #bae6fd;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

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

/* Estados (loading / success) */
.btn-gamer.loading .btn-content {
  display: none;
}

.btn-gamer.loading .btn-loader {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(15, 23, 42, 0.3);
  border-top-color: #0f172a;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-gamer.success {
  background: #4ade80;
  color: #020617;
  pointer-events: none;
}

/* Lista de pedidos do cliente */
.gamer-list .track-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 8px;
  padding: 10px;
  border-left: 3px solid #38bdf8;
}

/* =========================================
     ADMIN DASHBOARD (COMMAND CENTER)
     ========================================= */

.admin-container {
  max-width: 900px;
}

/* Cabeçalho do admin */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

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

.brand-icon {
  font-size: 2.5rem;
  color: #38bdf8;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
}

.venue-display {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.1rem;
  color: #fff;
}

.status-dot.online {
  width: 8px;
  height: 8px;
  background-color: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
}

.header-actions {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.system-status {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.85rem;
  color: #64748b;
}

/* Botão de logout */
.btn-logout {
  background: transparent;
  border: 1px solid #ef4444;
  color: #ef4444;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-family: "Orbitron", sans-serif;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-logout:hover {
  background: #ef4444;
  color: white;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

/* =========================================
     ADMIN: ATALHOS + GRID
     ========================================= */

html {
  scroll-behavior: smooth;
}

/* Atalhos */
.shortcuts-card .shortcuts-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.shortcut-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: var(--shortcut-unified-width, auto);
  padding: 10px 12px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #e2e8f0;
  text-decoration: none;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  transition: all 0.15s;
}

.shortcut-btn i {
  color: #38bdf8;
}

.shortcut-btn:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25) inset;
}

.shortcut-btn.session-open {
  border-color: rgba(34, 197, 94, 0.9);
  background: rgba(34, 197, 94, 0.18);
  color: #dcfce7;
}

.shortcut-btn.session-open i {
  color: #4ade80;
}

.shortcut-btn.session-closed {
  border-color: rgba(239, 68, 68, 0.9);
  background: rgba(239, 68, 68, 0.16);
  color: #fee2e2;
}

.shortcut-btn.session-closed i {
  color: #f87171;
}

/* Grid das seções (sessão / letreiro / pacotes / etc.) */
.dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "credits  credits"
      "packages waiter"
      "banner   ads"
      "genres   session";
    align-items: start;
  }

  .credits-card {
    grid-area: credits;
  }

  .packages-card {
    grid-area: packages;
  }

  .banner-card {
    grid-area: banner;
  }

  .ads-card {
    grid-area: ads;
  }

  .genres-card {
    grid-area: genres;
  }

  .session-card {
    grid-area: session;
  }
}

.waiter-card {
  grid-area: waiter;
}

/* Cards e headers */
.gamer-card {
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* Linha de neon no topo do card */
.gamer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}

.card-header h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  color: #38bdf8;
  letter-spacing: 1px;
}

.live-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid #ef4444;
  padding: 2px 8px;
  font-size: 0.7rem;
  border-radius: 4px;
  font-family: "Orbitron", sans-serif;
  animation: blink 2s infinite;
}

/* Controle de sessão */
.control-panel {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.active-controls-group {
  display: flex;
  gap: 10px;
}

.btn-start {
  font-size: 1.2rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid #ef4444;
}

.btn-danger:hover:not(:disabled) {
  background: #ef4444;
  color: white;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

/* Terminal do letreiro */
.terminal-input-wrapper {
  position: relative;
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 2px;
}

.terminal-textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: #38bdf8;
  font-family: "Share Tech Mono", monospace;
  padding: 10px;
  font-size: 0.9rem;
  resize: vertical;
}

.terminal-textarea::placeholder {
  color: #1e293b;
}

.actions-right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.8rem;
  width: auto;
}

/* Gerador de pacotes (QR) */
.generator-controls {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 20px;
}

.generator-vertical {
  flex-direction: column;
  align-items: stretch;
}

.inline-field span {
  font-family: "Orbitron", sans-serif;
  font-size: 0.7rem;
  color: #94a3b8;
  margin-bottom: 5px;
  display: block;
}

/* Centralizar blocos na card de pacotes */
.packages-card .generator-controls {
  max-width: 420px;
  margin: 0 auto;
}

/* Admin — Gerar Créditos: inputs grandes e legíveis */
#packagesCard #maxTracksInput,
#packagesCard #clientPhoneInput {
  font-family: var(--mq-credits-font);
  font-size: var(--mq-credits-size);
  font-weight: var(--mq-credits-weight);
  letter-spacing: var(--mq-credits-letter);
  line-height: 1.1;
  text-shadow: var(--mq-credits-shadow);
  padding: 14px 16px;
  /* aumenta área de toque */
}

#packagesCard #maxTracksInput {
  text-align: center;
}

/* Telefone: melhor leitura com monoespaçada e espaçamento */
#packagesCard #clientPhoneInput {
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 0.10em;
  text-align: center;
}

/* Placeholder menor para não competir com o valor */
#packagesCard #clientPhoneInput::placeholder,
#packagesCard #maxTracksInput::placeholder {
  font-size: .75em;
  opacity: .55;
  letter-spacing: 0;
  text-shadow: none;
}

@media (max-width: 520px) {

  #packagesCard #maxTracksInput,
  #packagesCard #clientPhoneInput {
    font-size: clamp(20px, 6.5vw, var(--mq-credits-size));
  }
}

.packages-card .actions {
  justify-content: center;
}

/* Centralizar botões na seção do garçom */
.waiter-card .actions {
  justify-content: center;
}

/* Quebrar linha no link do garçom */
.waiter-card .package-result-area a {
  word-break: break-all;
  overflow-wrap: break-word;
  display: inline-block;
  max-width: 100%;
}

/* Área do resultado do pacote / QR code */
.package-result-area {
  margin-top: 14px;
  padding: 15px;
  border-radius: 8px;
  border: 1px dashed rgba(56, 189, 248, 0.3);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50px;
}

.package-info-block {
  font-size: 0.9rem;
}

.qr-wrapper {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  /* centraliza o QR dentro do wrapper */
}


.qr-image {
  max-width: 220px;
  border-radius: 8px;
  border: 5px solid #fff;
  margin-bottom: 10px;
}

/* Garante centralização mesmo se o QR vier como <canvas> ou <img> sem classe */
.package-result-area img,
.package-result-area canvas {
  display: block;
  margin: 0 auto;
}


/* Botão de WhatsApp no admin */
.whatsapp-cta {
  margin-top: 12px;
  text-align: center;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #22c55e;
  color: #022c22;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-family: "Rajdhani", sans-serif;
  margin: 0 auto;
}

.btn-whatsapp i {
  font-size: 1rem;
}

/* Seção de marketing visual no admin */
.ads-upload-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.ads-upload-row input[type="file"] {
  flex: 1;
  font-size: 0.8rem;
}

.ads-preview {
  margin-top: 12px;
}

.ads-preview-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at top, #1f2937, #020617);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ads-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rodapé do admin */
.admin-footer {
  margin-top: 40px;
  text-align: center;
  color: #475569;
  font-size: 0.8rem;
  position: relative;
}

.tech-lines {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.2), transparent);
  margin-bottom: 15px;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #4ade80;
  text-decoration: none;
  font-weight: bold;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.support-link:hover {
  opacity: 0.8;
}

/* =========================================
     ANIMAÇÕES
     ========================================= */

@keyframes marquee-scroll {
  0% {
    transform: translateX(100vw);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes queue-marquee {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-dot {
  0% {
    opacity: 1;
    box-shadow: 0 0 5px #4ade80;
  }

  50% {
    opacity: 0.4;
    box-shadow: 0 0 0px #4ade80;
  }

  100% {
    opacity: 1;
    box-shadow: 0 0 5px #4ade80;
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Modal de informações (SweetAlert) */
.mq-swal-popup {
  background: #020617;
  /* quase preto */
  color: #f9fafb;
  /* branco suave */
  font-size: 13px;
  border-radius: 14px;
}

.mq-swal-title {
  font-family: "Rajdhani", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.mq-swal-html {
  text-align: left;
  line-height: 1.5;
}

/* =========================================================
     LANDING / HALL – MUSIC QUEUE
     ========================================================= */

body.landing-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at bottom, rgba(244, 114, 182, 0.18), transparent 55%),
    #020617;
  color: #e5e7eb;
  font-family: "Rajdhani", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  position: relative;
}

body.landing-body .bg-overlay {
  opacity: 0.85;
}

/* Container principal da landing */
.landing-shell {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  z-index: 1;
}

@media (min-width: 768px) {
  .landing-shell {
    padding: 28px 24px 56px;
  }
}

/* Header */
.landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

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

.landing-logo-chip {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #38bdf8, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020617;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.5);
}

.landing-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a5b4fc;
  margin: 0 0 2px;
}

.landing-title {
  font-family: "Orbitron", system-ui, sans-serif;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-nav-link,
.landing-nav-cta {
  font-size: 13px;
  border-radius: 999px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.18s ease;
  cursor: pointer;
}

.landing-nav-link {
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.7);
}

.landing-nav-link:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: #38bdf8;
}

.landing-nav-cta {
  background: linear-gradient(135deg, #22c55e, #a3e635);
  color: #052e16;
  font-weight: 600;
  border: none;
  box-shadow: 0 0 22px rgba(34, 197, 94, 0.6);
}

.landing-nav-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* HERO */
.landing-hero {
  margin-bottom: 40px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 900px) {
  .hero-grid {
    flex-direction: row;
    align-items: stretch;
  }
}

.hero-copy {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-media {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.6);
  background: linear-gradient(135deg,
      rgba(15, 23, 42, 0.96),
      rgba(30, 64, 175, 0.9));
  color: #e0f2fe;
}

.dot-live {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

.hero-title {
  font-family: "Orbitron", system-ui, sans-serif;
  font-size: 22px;
  line-height: 1.3;
  margin: 4px 0 4px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 26px;
  }
}

.hero-subtitle {
  font-size: 14px;
  color: #cbd5f5;
  max-width: 520px;
  margin: 0;
}

.hero-bullets {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #c7d2fe;
}

.hero-bullets li i {
  color: #38bdf8;
  margin-right: 6px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

body.landing-body .hero-cta-primary.btn-gamer {
  width: auto;
  padding: 12px 20px;
  font-size: 12px;
}

.hero-cta-secondary {
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e5e7eb;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.7);
}

.hero-cta-secondary:hover {
  border-style: solid;
  border-color: #38bdf8;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    align-items: center;
  }
}

.hero-footnote {
  font-size: 11px;
  opacity: 0.8;
  margin-top: 4px;
}

/* Painel hero */
.hero-panel {
  width: 100%;
  max-width: 460px;
  border-radius: 22px;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow:
    0 24px 80px rgba(15, 23, 42, 0.95),
    0 0 32px rgba(56, 189, 248, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(30, 64, 175, 0.7);
  background: linear-gradient(90deg, #020617, #0b1120);
  font-size: 11px;
  color: #9ca3af;
}

.hero-panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4b5563;
}

.hero-panel-dot:nth-child(1) {
  background: #f97316;
}

.hero-panel-dot:nth-child(2) {
  background: #facc15;
}

.hero-panel-dot:nth-child(3) {
  background: #22c55e;
}

.hero-panel-label {
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-panel-body {
  padding: 6px 10px 10px;
}

.hero-panel-body img {
  display: block;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.hero-panel-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px 12px;
  font-size: 11px;
  border-top: 1px solid rgba(30, 64, 175, 0.7);
  background: radial-gradient(circle at bottom, rgba(56, 189, 248, 0.12), transparent),
    #020617;
  color: #a5b4fc;
}

.hero-panel-footer span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Seções genéricas */
.landing-section {
  margin-bottom: 40px;
}

.section-header {
  margin-bottom: 18px;
}

.section-header h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a5b4fc;
  margin: 0 0 4px;
}

.section-header p {
  margin: 0;
  font-size: 13px;
  color: #cbd5f5;
}

/* Steps */
.steps-grid {
  display: grid;
  gap: 14px;
}

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

.step-card {
  position: relative;
  padding: 14px 14px 14px 16px;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(30, 64, 175, 0.8);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
  font-size: 13px;
}

.step-number {
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: "Orbitron", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #38bdf8;
  opacity: 0.9;
}

.step-card h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.step-card p {
  margin: 0;
  color: #e5e7eb;
}

/* Telas do sistema */
.screens-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .screens-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.screen-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 18px;
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.9);
  padding: 12px 12px 16px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.screen-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a5b4fc;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.screen-card img {
  width: 100%;
  border-radius: 12px;
  margin-top: 6px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.screen-card h4 {
  margin: 4px 0 2px;
  font-size: 14px;
}

/* Features finais */
.features-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.85);
  font-size: 13px;
}

.feature-card h4 {
  margin: 0 0 4px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-card h4 i {
  color: #38bdf8;
}

.feature-card p {
  margin: 0;
  color: #e5e7eb;
}

/* Footer */
.landing-footer {
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  padding-top: 16px;
  font-size: 11px;
  color: #9ca3af;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.landing-footer a {
  color: #cbd5f5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.landing-footer a:hover {
  color: #38bdf8;
}

/* =========================================
     NEON DO LETREIRO (Alternando Cores)
     ========================================= */

/* 1. Cria a animação que troca as cores do neon suavemente */
@keyframes neon-cycle-colors {
  0% {
    color: #fff;
    text-shadow:
      0 0 5px #facc15,
      0 0 15px #facc15,
      0 0 30px #facc15;
    /* Amarelo */
  }

  33% {
    color: #fff;
    text-shadow:
      0 0 5px #4ade80,
      0 0 15px #4ade80,
      0 0 30px #4ade80;
    /* Verde Neon */
  }

  66% {
    color: #fff;
    text-shadow:
      0 0 5px #38bdf8,
      0 0 15px #38bdf8,
      0 0 30px #38bdf8;
    /* Azul Ciano */
  }

  100% {
    color: #fff;
    text-shadow:
      0 0 5px #facc15,
      0 0 15px #facc15,
      0 0 30px #facc15;
    /* Volta pro Amarelo */
  }
}

/* 2. Aplica o estilo ao texto do letreiro */
#barOffers {
  font-family: "Orbitron", sans-serif;
  /* Mesma fonte do título */
  font-size: 1.8rem;
  /* Tamanho grande para destaque */
  font-weight: 800;
  /* Negrito forte */
  text-transform: uppercase;
  letter-spacing: 2px;

  /* IMPORTANTE: Aqui combinamos a animação de andar (marquee-scroll) 
       que já existia, com a nova animação de cor (neon-cycle-colors) */
  animation:
    marquee-scroll 25s linear infinite,
    neon-cycle-colors 9s infinite alternate;
}

/* ===========================
     Termômetro de votação
     =========================== */

.vote-meter-wrapper {
  margin: 4px 0 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(10px);
}

.vote-meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  opacity: 0.8;
}

.vote-meter-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 1);
  overflow: hidden;
  margin-top: 4px;
}

.vote-meter-left,
.vote-meter-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
}

.vote-meter-left {
  left: 50%;
  transform-origin: right center;
  /* ESQUERDA (direita visual) = GOSTEI = VERDE */
  background: linear-gradient(to left, #4ade80, #16a34a);
}

.vote-meter-right {
  right: 50%;
  transform-origin: left center;
  /* DIREITA (esquerda visual) = PULAR = VERMELHO */
  background: linear-gradient(to right, #f97373, #7f1d1d);
}


.vote-meter-center-line {
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 50%;
  width: 2px;
  background: rgba(148, 163, 184, 0.6);
}

.vote-meter-values {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 10px;
  opacity: 0.85;
}

/* ===========================
     Letreiro na tela do cliente
     =========================== */

/* ===========================
     Letreiro na tela do cliente – versão NEON
     =========================== */

.client-banner {
  margin: 8px 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.7);
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.25), transparent 55%),
    rgba(15, 23, 42, 0.95);
  font-size: 11px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  color: #e5e7eb;

  /* brilho neon pulsando ao redor */
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 1),
    0 0 14px rgba(56, 189, 248, 0.7),
    0 0 30px rgba(37, 99, 235, 0.45);

  animation: client-banner-glow 3.5s ease-in-out infinite alternate;
}

/* borda extra mais “futurista” */
.client-banner::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(129, 140, 248, 0.6);
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* texto andando com efeito neon */
.client-banner-inner {
  display: inline-block;
  padding-left: 100%;
  animation: client-banner-marquee 18s linear infinite;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  /* brilho neon no texto */
  text-shadow:
    0 0 4px rgba(56, 189, 248, 1),
    0 0 10px rgba(37, 99, 235, 0.9),
    0 0 16px rgba(37, 99, 235, 0.9);
}

/* animação do letreiro passando */
@keyframes client-banner-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* animação do brilho pulsando */
@keyframes client-banner-glow {
  0% {
    box-shadow:
      0 0 0 1px rgba(15, 23, 42, 1),
      0 0 10px rgba(56, 189, 248, 0.5),
      0 0 20px rgba(37, 99, 235, 0.35);
  }

  100% {
    box-shadow:
      0 0 0 1px rgba(15, 23, 42, 1),
      0 0 18px rgba(56, 189, 248, 0.9),
      0 0 40px rgba(37, 99, 235, 0.7);
  }
}


/* ===========================
     Status das faixas
     =========================== */

.track-status.status-waiting {
  color: #e5e7eb;
}

.track-status.status-playing {
  color: #38bdf8;
}

.track-status.status-played {
  color: #4ade80;
}

.track-status.status-skipped {
  color: #fb923c;
}

.track-item .track-index {
  color: #38bdf8;
}

/* =========================================
     ADMIN: HUD DE CRÉDITOS (NOVO)
     ========================================= */

.credits-hud-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(250, 204, 21, 0.4);
  /* Borda Dourada */
  border-left: 4px solid #facc15;
  /* Tarja lateral Dourada */
  border-radius: 8px;
  padding: 16px 20px;
  margin: 12px 0 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(250, 204, 21, 0.05);
  position: relative;
  overflow: hidden;
}

/* Efeito de brilho sutil passando no fundo */
.credits-hud-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.1), transparent);
  transform: skewX(-20deg);
  animation: shine-pass 6s infinite;
}

@keyframes shine-pass {

  0%,
  70% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

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

.credits-label {
  font-family: "Rajdhani", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fbbf24;
  /* Amarelo suave */
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.credits-amount {
  font-family: "Orbitron", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
  /* Brilho Dourado */
}

.credits-unit {
  font-size: 1rem;
  color: #9ca3af;
  font-family: "Rajdhani", sans-serif;
  font-weight: 500;
  margin-left: 4px;
}

/* Ajuste no botão de refresh para ficar alinhado à direita */
.credits-actions {
  z-index: 2;
  /* Ficar acima do brilho */
}

/* Ajuste Mobile */
@media (max-width: 480px) {
  .credits-hud-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .credits-actions {
    width: 100%;
  }

  .credits-actions button {
    width: 100%;
  }
}
