﻿/* =========================================
   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;
}

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;
}

.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;
}

/* =========================================
   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;
}

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

.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);
}

/* 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);
}

/* Container do player YouTube */
.player-video #player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

/* 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;
  animation: queue-marquee 30s linear infinite;
  font-size: 0.85rem;
}

/* 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;
  font-weight: 500;
}

/* Header gamer (cliente/admin) */
.gamer-header h1 {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 2px;
  font-size: 1.8rem;
}

.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: #94a3b8;
  margin-top: 5px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 10px #38bdf8;
  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: "Orbitron", sans-serif;
  font-size: 3rem;
  line-height: 1;
  color: #fff;
  text-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);
}

/* Grid das seções (sessão / letreiro / pacotes) */
.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:
      "session session"
      "banner packages";
  }

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

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

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

/* 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;
}

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

/* Á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;
}

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

/* 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 #38bdf8;
  }
  50% {
    opacity: 0.4;
    box-shadow: 0 0 0px #38bdf8;
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 5px #38bdf8;
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
