/* ===== RESET E VARIÁVEIS GLOBAIS ===== */
/* Reset básico para remover margens e paddings padrão */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Definição de variáveis CSS para cores e estilos reutilizáveis */
:root {

  --primary-color: #ff6b35;
  --secondary-color: #1a1a2e;
  --accent-color: #16213e;
  --gold-color: #ffd700;
  --silver-color: #c0c0c0;
  --success-color: #00ff88;
  --danger-color: #ff4757;
  --warning-color: #ffa502;
  --info-color: #3742fa;
  --dark-bg: #0f0f23;
  --card-bg: rgba(26, 26, 46, 0.9);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --text-light: #ffffff;
  --text-muted: #a0a0a0;
}

/* ===== ESTILOS GERAIS DO BODY ===== */
/* Estilos base da página com gradiente de fundo */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f0f23, #1a1a2e, #16213e);
  color: var(--text-light);
  overflow-x: hidden;
  position: relative;
}

/* Efeito de background animado com gradientes radiais */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(255, 107, 53, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 215, 0, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(58, 123, 213, 0.05) 0%,
      transparent 50%
    );
  z-index: -1;
  animation: backgroundPulse 10s ease-in-out infinite alternate;
}

/* Animação para o efeito de pulsação do background */
@keyframes backgroundPulse {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* ===== SCROLLBAR CUSTOMIZADA ===== */
/* Estilização da barra de rolagem */
::-webkit-scrollbar {
  width: 12px;
}

/* Trilha da scrollbar */
::-webkit-scrollbar-track {
  background: var(--dark-bg);
  border-radius: 10px;
}

/* Alça da scrollbar */
::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  border-radius: 10px;
  border: 2px solid var(--dark-bg);
}

/* Efeito hover na scrollbar */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, var(--gold-color), var(--primary-color));
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

/* ===== HEADER/NAVEGAÇÃO ===== */
/* Estilo do cabeçalho fixo no topo */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--primary-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Estilo do logo com gradiente e efeito de brilho */
.logo {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
  animation: logoGlow 2s ease-in-out infinite alternate;
}

/* Animação para o efeito de brilho do logo */
@keyframes logoGlow {
  0% {
    filter: brightness(1);
  }
  100% {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 107, 53, 0.8));
  }
}

/* Container do menu de navegação */
.nav-menu {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

/* Itens do menu de navegação */
.nav-item {
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

/* Efeito hover nos itens do menu */
.nav-item:hover {
  background: var(--primary-color);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Estilo para item ativo no menu */
.nav-item.active {
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
}

/* ===== CONTEÚDO PRINCIPAL ===== */
/* Espaçamento para compensar o header fixo */
.main-content {
  margin-top: 80px;
  padding: 2rem;
  min-height: calc(100vh - 80px);
}

/* ===== DASHBOARD DE ESTATÍSTICAS ===== */
/* Grid responsivo para os cards de estatísticas */
.stats-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

/* Animação de entrada dos cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilo dos cards de estatística */
.stat-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Efeito de brilho que passa no hover */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

/* Efeito quando o brilho passa pelo card */
.stat-card:hover::before {
  left: 100%;
}

/* Efeitos de hover no card */
.stat-card:hover {
  transform: translateY(-5px) rotateX(5deg);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
  border-color: var(--primary-color);
}

/* Estilo do valor numérico no card */
.stat-value {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  animation: countUp 2s ease;
}

/* Rótulo descritivo abaixo do valor */
.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== SEÇÃO DE MVPs ATIVOS ===== */
/* Container da seção de MVPs ativos */
.active-mvps {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1),
    rgba(255, 215, 0, 0.1)
  );
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

/* Estilo do título da seção */
.section-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

/* Linha decorativa abaixo do título */
.section-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  border-radius: 2px;
}

/* ===== GRID DE MVPs ===== */
/* Grid responsivo para os cards de MVP */
.mvp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Estilo do card de MVP */
.mvp-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Efeito de conic gradient animado */
.mvp-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    var(--primary-color),
    transparent
  );
  animation: rotate 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Camada sobre o efeito para manter legibilidade */
.mvp-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--card-bg);
  border-radius: 18px;
  z-index: 1;
}

/* Mostra o efeito no hover */
.mvp-card:hover::before {
  opacity: 0.3;
}

/* Efeitos de hover no card */
.mvp-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(255, 107, 53, 0.4);
  border-color: var(--primary-color);
}

/* Garante que o conteúdo fique acima dos efeitos */
.mvp-card > * {
  position: relative;
  z-index: 2;
}

/* Animação de rotação para o efeito do card */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ===== ELEMENTOS DO CARD DE MVP ===== */
/* Container da imagem do MVP */
.mvp-image {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* Animação de flutuação para a imagem */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Nome do MVP */
.mvp-name {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--gold-color);
}

/* Mapa onde o MVP aparece */
.mvp-map {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Container do timer de respawn */
.mvp-timer {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
  margin-bottom: 1rem;
}

/* Display do tempo restante */
.timer-display {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--success-color);
  font-family: 'Courier New', monospace;
}

/* Status do timer (ex: "Respawn em") */
.timer-status {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ===== BOTÕES DE AÇÃO ===== */
/* Container dos botões de ação */
.mvp-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

/* Botão de registrar MVP */
.btn-register {
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  color: white;
  border: none;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* Efeito hover no botão */
.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Botão de edição */
.btn-edit {
  background: linear-gradient(45deg, var(--info-color), #74b9ff);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* Efeito hover no botão de edição */
.btn-edit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(55, 66, 250, 0.4);
}

/* ===== MODAL DE REGISTRO ===== */
/* Container de informações do MVP selecionado */
.selected-mvp-info {
  background: rgba(26, 26, 46, 0.7);
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

/* Preview do mapa no modal */
.map-preview {
  background-color: rgba(15, 15, 35, 0.8);
  border: 2px dashed var(--primary-color);
}

/* Estilo para selects no formulário */
.form-select {
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-light);
  border: 1px solid var(--primary-color);
}

/* Efeito de focus no select */
.form-select:focus {
  border-color: var(--gold-color);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Estilo das opções do select */
.form-select option {
  background: var(--dark-bg);
  color: var(--text-light);
}

/* Estilo dos inputs de coordenadas */
.coordinate-inputs input {
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-light);
  border: 1px solid var(--primary-color);
}

/* Efeito de focus nos inputs */
.coordinate-inputs input:focus {
  border-color: var(--gold-color);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* ===== MODAL ===== */
/* Estilo base do modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Classe para mostrar o modal */
.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

/* Conteúdo do modal */
.modal-content {
  background: var(--card-bg);
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  padding: 2rem;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  backdrop-filter: blur(20px);
  animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animação de entrada do modal */
@keyframes modalSlideIn {
  from {
    transform: scale(0.7) translateY(-50px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* Cabeçalho do modal */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Título do modal */
.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Botão de fechar o modal */
.close-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Efeito hover no botão de fechar */
.close-btn:hover {
  background: var(--danger-color);
  transform: rotate(90deg);
}

/* Grupo de formulário */
.form-group {
  margin-bottom: 1.5rem;
}

/* Rótulo do formulário */
.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--gold-color);
}

/* Inputs do formulário */
.form-input,
.form-select {
  width: 100%;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
}

/* Efeito de focus nos inputs */
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

/* Inputs de coordenadas lado a lado */
.coordinate-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Seletor de mapa */
.map-selector {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

/* Preview do mapa no modal */
.map-preview {
  width: 100%;
  height: 300px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px dashed var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: crosshair;
  position: relative;
  overflow: hidden;
}

/* Efeito hover no preview do mapa */
.map-preview:hover {
  border-color: var(--gold-color);
  background: rgba(255, 107, 53, 0.1);
}

/* Marcador de tumba no mapa */
.tomb-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--danger-color);
  border: 2px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s infinite;
}

/* Animação do marcador */
@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* Ações do formulário (botões no rodapé) */
.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

/* Botão primário */
.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Efeito hover no botão primário */
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

/* Botão secundário */
.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Efeito hover no botão secundário */
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== NOTIFICAÇÕES ===== */
/* Estilo da notificação */
.notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--card-bg);
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(20px);
  z-index: 3000;
  transform: translateX(400px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Classe para mostrar a notificação */
.notification.show {
  transform: translateX(0);
}

/* Conteúdo da notificação */
.notification-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Ícone da notificação */
.notification-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: bounce 0.6s ease;
}

/* Animação de bounce para o ícone */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Texto da notificação */
.notification-text {
  flex: 1;
}

/* Título da notificação */
.notification-title {
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 0.3rem;
}

/* Mensagem da notificação */
.notification-message {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== FOOTER ===== */
/* Estilo do rodapé */
.footer {
  background: var(--dark-bg);
  border-top: 2px solid var(--primary-color);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

/* Conteúdo do rodapé */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Links sociais */
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Versão alternativa dos links sociais */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

/* Link social individual */
.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.3s ease;
  width: 80px;
}

/* Ícone do link social */
.social-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Efeito hover no ícone social */
.social-link:hover .social-icon {
  background: var(--primary-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Nome do link social */
.social-name {
  font-size: 0.8rem;
  text-align: center;
}

/* Versão alternativa do link social */
.social-link {
  width: 60px;
  height: 60px;
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

/* Efeito hover na versão alternativa */
.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

/* Texto do rodapé */
.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== DESIGN RESPONSIVO ===== */
/* Tablet e telas menores */
@media (max-width: 768px) {
  .header {
    padding: 0 1rem;
  }

  .nav-menu {
    display: none;
  }

  .main-content {
    padding: 1rem;
  }

  .mvp-grid {
    grid-template-columns: 1fr;
  }

  .stats-dashboard {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-links {
    gap: 1rem;
  }

  .social-link {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Celulares e telas pequenas */
@media (max-width: 480px) {
  .stats-dashboard {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 1rem;
    width: 95%;
  }

  .coordinate-inputs {
    grid-template-columns: 1fr;
  }
}

/* ===== COMPONENTES ADICIONAIS ===== */
/* Botão flutuante de adição */
.floating-add-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1500;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* Efeito hover no botão flutuante */
.floating-add-btn:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
}

/* Barra de pesquisa */
.search-bar {
  position: relative;
  margin-bottom: 2rem;
}

/* Input de pesquisa */
.search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  color: var(--text-light);
  font-size: 1rem;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

/* Efeito focus no input de pesquisa */
.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 25px rgba(255, 107, 53, 0.3);
}

/* Ícone da barra de pesquisa */
.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* Spinner de carregamento */
.loading-spinner {
  display: none;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 107, 53, 0.3);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

/* Animação do spinner */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ===== ESTILOS CONDICIONAIS ===== */
/* Ações para MVP não registrado */
.mvp-card.unregistered .mvp-actions {
  display: flex;
  justify-content: center;
}

/* Ações para MVP registrado */
.mvp-card.registered .mvp-actions {
  display: flex;
  justify-content: center;
}

/* Esconde botão de deletar quando não registrado */
.mvp-card.unregistered .btn-delete {
  display: none;
}

/* Esconde botão de registrar quando já registrado */
.mvp-card.registered .btn-register {
  display: none;
}

/* Esconde botão de editar quando não registrado */
.mvp-card.unregistered .btn-edit {
  display: none;
}

/* Estilo para coordenadas inválidas */
.coordinate-error {
  border-color: var(--danger-color) !important;
  box-shadow: 0 0 10px rgba(255, 71, 87, 0.5) !important;
}

/* Estilo do modal quando há MVP selecionado */
.modal-content.has-selection {
  background: rgba(26, 26, 46, 0.95);
}

/* Estilo do preview do mapa com seleção */
.map-preview.has-selection {
  background-color: rgba(15, 15, 35, 0.9);
  border: 2px solid var(--gold-color);
}

/* ===== COMPONENTES DE MVP ===== */
/* Container da imagem do MVP */
.mvp-image-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Efeito de sol por trás da imagem */
.sun-effect {
  position: absolute;
  width: 80px;
  height: 80px;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.8) 0%,
    rgba(255, 215, 0, 0) 70%
  );
  border-radius: 50%;
  z-index: 1;
  animation: pulse 3s infinite alternate;
}

/* Imagem do MVP */
.mvp-image {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Estilo da imagem dentro do container */
.mvp-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Animação de pulsação para o efeito de sol */
@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* ===== COMPONENTES DO MAPA ===== */
/* Marcador customizado no mapa */
.custom-marker {
  width: 32px;
  height: 32px;
  background-image: url('./Assets/mvp_tomb.png');
  background-size: contain;
  background-repeat: no-repeat;
  animation: pulse 1.5s infinite;
}

/* Imagem do mapa */
.map-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: crosshair;
}

/* ===== AÇÕES DE MVP ATIVO ===== */
/* Container de ações para MVP ativo */
.mvp-active-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

/* Botão de reset */
.btn-reset {
  background: linear-gradient(45deg, #4caf50, #8bc34a);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* Efeito hover no botão de reset */
.btn-reset:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* Botão de deletar */
.btn-delete {
  background: linear-gradient(45deg, #f44336, #e91e63);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* Efeito hover no botão de deletar */
.btn-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(244, 67, 54, 0.4);
}

/* Timer ativo com animação */
.active-timer {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  animation: pulse 1s infinite alternate;
}
/* NOTIFICAÇÃO DE RESPAWN */
.respawn-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 350px;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.95),
    rgba(22, 33, 62, 0.95)
  );
  border-left: 5px solid var(--primary-color);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 15px;
  backdrop-filter: blur(10px);
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.respawn-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.notification-content {
  flex-grow: 1;
}

.notification-title {
  color: var(--gold-color);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 5px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.notification-message {
  color: var(--text-light);
  font-size: 0.9rem;
}

.notification-message div {
  margin-bottom: 3px;
}

/* Efeitos de animação */
@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.8);
  }
}

.respawn-notification {
  animation: pulseGlow 2s infinite;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}
/* ===== NOTIFICAÇÕES DE RESPAWN ===== */
#respawn-notification-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  max-height: 80vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

#respawn-notification-container::-webkit-scrollbar {
  width: 6px;
}

#respawn-notification-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.respawn-notification {
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.95),
    rgba(22, 33, 62, 0.95)
  );
  border-left: 5px solid var(--primary-color);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 15px;
  backdrop-filter: blur(10px);
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  max-width: 350px;
}

.respawn-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.respawn-notification .notification-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.respawn-notification .notification-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.respawn-notification .fallback-icon {
  font-size: 1.5rem;
  color: var(--gold-color);
}

.respawn-notification .notification-content {
  flex-grow: 1;
  min-width: 0;
}

.respawn-notification .notification-title {
  color: var(--gold-color);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 5px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.respawn-notification .notification-message {
  color: var(--text-light);
  font-size: 0.9rem;
}

.respawn-notification .notification-message div {
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.respawn-notification .close-notification {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 0 0 10px;
  align-self: flex-start;
  transition: color 0.3s ease;
}

.respawn-notification .close-notification:hover {
  color: var(--danger-color);
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.8);
  }
}

.respawn-notification {
  animation: pulseGlow 2s infinite;
}

/* Responsividade para notificações */
@media (max-width: 480px) {
  #respawn-notification-container {
    bottom: 10px;
    right: 10px;
    max-width: 95vw;
  }

  .respawn-notification {
    max-width: 280px;
    font-size: 0.9rem;
    padding: 10px;
    gap: 10px;
  }

  .respawn-notification .notification-icon {
    width: 40px;
    height: 40px;
  }

  .respawn-notification .notification-title {
    font-size: 1rem;
  }

  .respawn-notification .notification-message {
    font-size: 0.8rem;
  }
}
/* ===== SEÇÃO DO NEGOCIADOR ===== */
.negotiator-section {
  background: linear-gradient(
    135deg,
    rgba(0, 255, 136, 0.1),
    rgba(255, 215, 0, 0.1)
  );
  border: 2px solid var(--success-color);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.negotiator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.negotiator-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.negotiator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.negotiator-card:hover::before {
  left: 100%;
}

.negotiator-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.3);
  border-color: var(--success-color);
}

.negotiator-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--success-color), var(--gold-color));
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  animation: float 3s ease-in-out infinite;
}

.negotiator-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 0.5rem;
}

.negotiator-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.negotiator-btn {
  background: linear-gradient(45deg, var(--success-color), #4caf50);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 0.9rem;
}

.negotiator-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 255, 136, 0.4);
}

/* Responsividade da seção do negociador */
@media (max-width: 768px) {
  .negotiator-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .negotiator-section {
    padding: 1.5rem;
  }

  .negotiator-card {
    padding: 1.2rem;
  }
}

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

p a {
  color: var(--gold-color);
  text-decoration: none;
}

p a:hover {
  text-decoration: underline;
}
/* ===== SEÇÃO DE CONFIANÇA ===== */
.trust-section {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.1),
    rgba(0, 255, 136, 0.1)
  );
  border: 2px solid var(--gold-color);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.trust-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
  border-color: var(--gold-color);
}

.trust-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: bounce 2s ease-in-out infinite;
}

.trust-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 0.5rem;
}

.trust-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Referências */
.trust-references {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  border-left: 4px solid var(--success-color);
}

.references-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--success-color);
  margin-bottom: 1rem;
  text-align: center;
}

.references-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.reference-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 10px;
  border-left: 3px solid var(--primary-color);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Aviso de Segurança */
.security-notice {
  display: flex;
  align-items: center;
  background: linear-gradient(45deg, rgba(0, 255, 136, 0.1), rgba(255, 215, 0, 0.1));
  border: 2px solid var(--success-color);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.security-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.security-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.5;
}

.security-text strong {
  color: var(--success-color);
}

/* Preço nos cards */
.price-tag {
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  margin: 0.5rem 0;
  display: inline-block;
}

/* Footer Trust */
.footer-trust {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-trust-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.footer-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-trust-item {
  text-align: center;
  padding: 1rem;
}

.footer-trust-item strong {
  color: var(--success-color);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer-trust-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.3;
}

.footer-guarantee {
  display: flex;
  align-items: center;
  background: linear-gradient(45deg, rgba(255, 107, 53, 0.1), rgba(255, 215, 0, 0.1));
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  padding: 1.5rem;
  gap: 1rem;
}

.guarantee-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.guarantee-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.5;
}

.guarantee-text strong {
  color: var(--primary-color);
}

/* Responsividade */
@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .security-notice {
    flex-direction: column;
    text-align: center;
  }

  .footer-trust-grid {
    grid-template-columns: 1fr;
  }

  .footer-guarantee {
    flex-direction: column;
    text-align: center;
  }
}

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

  .trust-section,
  .footer-trust {
    padding: 1.5rem;
  }
}

/* ===== BANNERS DE VENDAS ===== */
.banner-top {
  margin-bottom: 2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
  background: var(--card-bg);
  border: 2px solid var(--primary-color);
}

.banner-bottom {
  margin: 2rem 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
  background: var(--card-bg);
  border: 2px solid var(--success-color);
}

.banner-content {
  position: relative;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.banner-content:hover .banner-image {
  transform: scale(1.02);
}

.banner-actions {
  padding: 1.5rem 2rem;
  text-align: center;
  background: var(--card-bg);
  border-radius: 0 0 20px 20px;
}

.banner-btn {
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.banner-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
  background: linear-gradient(45deg, #ff5a25, #ffd700);
}

/* Botão promocional do rodapé */
.promo-btn {
  background: linear-gradient(45deg, var(--success-color), #4caf50);
  box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

.promo-btn:hover {
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6);
  background: linear-gradient(45deg, #00e67a, #45a049);
}

.banner-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

/* Efeitos de destaque */
.banner-top {
  animation: glowPulse 3s ease-in-out infinite;
}

.banner-bottom {
  animation: glowPulseGreen 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
  }
  50% {
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.6);
  }
}

@keyframes glowPulseGreen {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
  }
  50% {
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.6);
  }
}

/* Responsividade dos banners */
@media (max-width: 768px) {
  .banner-image {
    height: 150px;
  }

  .banner-actions {
    padding: 1rem 1.5rem;
  }

  .banner-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .banner-note {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .banner-image {
    height: 120px;
  }

  .banner-actions {
    padding: 0.8rem 1rem;
  }

  .banner-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .banner-note {
    font-size: 0.75rem;
  }

  .banner-top,
  .banner-bottom {
    border-radius: 15px;
  }
}

/* ===== CORREÇÕES E MELHORIAS NO BANNER ===== */

/* Correção estrutural do banner-top */
.banner-top {
  margin-bottom: 0; /* Remove a margem inferior para o botão ficar logo abaixo */
  border-radius: 20px 20px 0 0; /* Apenas bordas superiores arredondadas */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
  background: var(--card-bg);
  border: 2px solid var(--primary-color);
  border-bottom: none; /* Remove borda inferior para conectar com o botão */
}

/* Container das ações do banner separado */
.banner-actions {
  background: var(--card-bg);
  border: 2px solid var(--primary-color);
  border-top: none; /* Remove borda superior para conectar com a imagem */
  border-radius: 0 0 20px 20px; /* Apenas bordas inferiores arredondadas */
  padding: 1.5rem 2rem;
  text-align: center;
  margin-bottom: 2rem; /* Margem abaixo do botão */
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

/* Correção estrutural do banner-bottom */
.banner-bottom {
  margin: 2rem 0 0 0; /* Remove margem superior e inferior */
  border-radius: 20px 20px 0 0; /* Apenas bordas superiores arredondadas */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
  background: var(--card-bg);
  border: 2px solid var(--success-color);
  border-bottom: none; /* Remove borda inferior para conectar com o botão */
}

/* Ações do banner inferior */
.banner-bottom + .banner-actions {
  background: var(--card-bg);
  border: 2px solid var(--success-color);
  border-top: none;
  border-radius: 0 0 20px 20px;
  padding: 1.5rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

/* Melhorias na imagem do banner */
.banner-image {
  width: 100%;
  height: auto; /* Altura automática para manter proporção */
  max-height: 300px; /* Altura máxima para não ficar muito grande */
  object-fit: contain; /* Garante que a imagem inteira seja visível */
  display: block;
  transition: transform 0.3s ease;
}

/* Efeito de hover na imagem do banner */
.banner-content:hover .banner-image {
  transform: scale(1.02);
}

/* Botão do banner com melhor espaçamento */
.banner-btn {
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.banner-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
  background: linear-gradient(45deg, #ff5a25, #ffd700);
}

/* Botão promocional do rodapé */
.promo-btn {
  background: linear-gradient(45deg, var(--success-color), #4caf50);
  box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

.promo-btn:hover {
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6);
  background: linear-gradient(45deg, #00e67a, #45a049);
}

.banner-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

/* Efeitos de destaque para os banners */
.banner-top {
  animation: glowPulse 3s ease-in-out infinite;
}

.banner-actions:first-of-type {
  animation: glowPulse 3s ease-in-out infinite;
}

.banner-bottom {
  animation: glowPulseGreen 3s ease-in-out infinite;
}

.banner-bottom + .banner-actions {
  animation: glowPulseGreen 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
  }
  50% {
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.6);
  }
}

@keyframes glowPulseGreen {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
  }
  50% {
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.6);
  }
}

/* ===== CORREÇÕES DE RESPONSIVIDADE ===== */

/* Tablet e telas menores */
@media (max-width: 768px) {
  .banner-image {
    max-height: 200px; /* Reduz altura máxima em tablets */
  }

  .banner-actions {
    padding: 1rem 1.5rem;
  }

  .banner-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .banner-note {
    font-size: 0.8rem;
  }
}

/* Celulares e telas pequenas */
@media (max-width: 480px) {
  .banner-image {
    max-height: 150px; /* Reduz ainda mais em celulares */
  }

  .banner-actions {
    padding: 0.8rem 1rem;
  }

  .banner-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .banner-note {
    font-size: 0.75rem;
  }
}

/* ===== CORREÇÕES DE ESTRUTURA ===== */

/* Garantir que o conteúdo principal tenha espaçamento adequado */
.main-content {
  margin-top: 80px;
  padding: 2rem;
  min-height: calc(100vh - 80px);
}

/* Melhorar a estrutura da seção de confiança */
.trust-section {
  margin-top: 2rem; /* Adiciona espaçamento acima da seção */
}

/* Ajuste no grid de MVPs para melhor visualização */
.mvp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Correção no modal para garantir que fique centralizado */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
  opacity: 1;
}

/* =============================================
 * ESTILOS DO SELETOR DE IDIOMAS
 * ============================================= */

 .language-selector {
  position: relative;
  display: inline-block;
  margin-left: auto;
  margin-right: 2rem;
}

.language-current {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--card-bg);
  border: 1px solid var(--primary-color);
  border-radius: 12px;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.language-current:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: var(--gold-color);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
  transform: translateY(-2px);
}

.language-flag {
  font-size: 18px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.language-name {
  font-weight: 600;
  color: var(--gold-color);
}

.language-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.language-selector.active .language-arrow {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--card-bg);
  border: 1px solid var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.language-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background: rgba(255, 107, 53, 0.1);
  transform: translateX(5px);
}

.language-option.active {
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  color: white;
  position: relative;
}

.language-option.active::before {
  content: '✓';
  position: absolute;
  right: 16px;
  font-weight: bold;
  font-size: 12px;
}

.language-option.active .language-flag {
  filter: brightness(0) invert(1);
}

/* =============================================
 * ANIMAÇÕES ESPECÍFICAS PARA INTERNACIONALIZAÇÃO
 * ============================================= */

@keyframes languageSwitch {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.language-transitioning * {
  animation: languageSwitch 0.5s ease;
}

/* =============================================
 * ESTILOS PARA ELEMENTOS TRADUZIDOS
 * ============================================= */

/* Melhorias para textos longos em diferentes idiomas */
[data-i18n] {
  transition: all 0.3s ease;
}

/* Ajustes para textos em árabe (direção RTL) */
[lang="ar"] {
  direction: rtl;
  text-align: right;
}

[lang="ar"] .language-selector {
  margin-left: 2rem;
  margin-right: auto;
}

[lang="ar"] .language-dropdown {
  right: auto;
  left: 0;
}

[lang="ar"] .language-option:hover {
  transform: translateX(-5px);
}

/* Ajustes para textos em japonês e chinês */
[lang="ja"], [lang="zh"] {
  font-family: 'Segoe UI', 'Meiryo', 'Microsoft YaHei', sans-serif;
}

/* =============================================
 * RESPONSIVIDADE DO SELETOR DE IDIOMAS
 * ============================================= */

@media (max-width: 768px) {
  .language-selector {
    margin-left: 0;
    margin-right: 1rem;
    position: static;
  }

  .language-current {
    font-size: 12px;
    padding: 8px 12px;
  }

  .language-dropdown {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 90vw;
    max-width: 300px;
  }

  .language-dropdown.show {
    transform: translateX(-50%) translateY(0);
  }

  .language-option {
    font-size: 13px;
    padding: 10px 14px;
  }

  .language-flag {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .language-current {
    padding: 6px 10px;
    font-size: 11px;
  }

  .language-name {
    display: none; /* Esconde o nome em telas muito pequenas */
  }

  .language-current .language-flag {
    margin-right: 0;
  }
}

/* =============================================
 * ESTILOS PARA ESTADOS DE CARREGAMENTO DE TRADUÇÃO
 * ============================================= */

.translation-loading {
  position: relative;
  overflow: hidden;
}

.translation-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* =============================================
 * MELHORIAS DE ACESSIBILIDADE PARA TRADUÇÕES
 * ============================================= */

.language-selector:focus-within {
  outline: 2px solid var(--gold-color);
  outline-offset: 2px;
}

.language-option:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: -2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .language-current {
    border-width: 2px;
  }

  .language-option.active {
    border: 2px solid var(--text-light);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .language-current,
  .language-option,
  .language-dropdown {
    transition: none;
  }

  .language-current:hover {
    transform: none;
  }
}

/* =============================================
 * ESTILOS PARA ELEMENTOS DINÂMICOS DE TRADUÇÃO
 * ============================================= */

/* Placeholders traduzidos */
[data-i18n-placeholder]::placeholder {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

[data-i18n-placeholder]:focus::placeholder {
  color: var(--gold-color);
}

/* Títulos com gradiente mantido após tradução */
[data-i18n].section-title {
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

[data-i18n].section-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(45deg, var(--primary-color), var(--gold-color));
  border-radius: 2px;
}

/* =============================================
 * ANIMAÇÕES DE TRANSIÇÃO ENTRE IDIOMAS
 * ============================================= */

.page-transition {
  animation: pageFadeIn 0.5s ease;
}

@keyframes pageFadeIn {
  from {
    opacity: 0.8;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================
 * ESTILOS PARA TEXTOS MULTILÍNGUES ESPECÍFICOS
 * ============================================= */

/* Ajuste para textos longos em alemão */
[lang="de"] .mvp-name,
[lang="de"] .negotiator-title,
[lang="de"] .trust-title {
  font-size: 0.95em;
  line-height: 1.3;
}

/* Ajuste para textos em árabe */
[lang="ar"] .mvp-card,
[lang="ar"] .negotiator-card,
[lang="ar"] .trust-card {
  text-align: right;
}

[lang="ar"] .mvp-actions,
[lang="ar"] .form-actions {
  flex-direction: row-reverse;
}

/* Ajuste para textos em japonês/chinês */
[lang="ja"] .stat-value,
[lang="zh"] .stat-value,
[lang="ja"] .timer-display,
[lang="zh"] .timer-display {
  font-family: 'Courier New', 'MS Gothic', 'SimHei', monospace;
}

/* =============================================
 * MELHORIAS VISUAIS PARA O SELETOR
 * ============================================= */

.language-selector {
  perspective: 1000px;
}

.language-dropdown {
  transform-origin: top right;
  transform: translateY(-10px) rotateX(-5deg);
}

.language-dropdown.show {
  transform: translateY(0) rotateX(0);
}

.language-option {
  transform-origin: center left;
}

.language-option:hover {
  transform: translateX(5px) scale(1.02);
}

[lang="ar"] .language-option:hover {
  transform: translateX(-5px) scale(1.02);
}

/* =============================================
 * BADGE DE IDIOMA ATUAL
 * ============================================= */

.language-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary-color);
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: bold;
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* =============================================
 * ESTADOS DE ERRO/SUCESSO NA TRADUÇÃO
 * ============================================= */

.translation-error {
  border: 2px solid var(--danger-color) !important;
  animation: errorShake 0.5s ease;
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.translation-success {
  border: 2px solid var(--success-color) !important;
  animation: successGlow 1s ease;
}

@keyframes successGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(0, 255, 136, 0); }
  50% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.5); }
}

/* ===== CORREÇÕES ESPECÍFICAS ===== */

/* Garantir que o modal fique centralizado corretamente */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
  opacity: 1;
}

/* Melhorar a aparência do select de MVPs */
.form-select {
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-light);
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  padding: 0.8rem;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.form-select:focus {
  outline: none;
  border-color: var(--gold-color);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.form-select option {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 10px;
}

/* Garantir que os cards de MVP fiquem bem alinhados */
.mvp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Melhorar responsividade dos selects no modal */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    padding: 1rem;
  }

  .form-select {
    font-size: 16px; /* Prevenir zoom no iOS */
  }
}

/* Correção para garantir que todos os MVPs apareçam no select */
#mvpSelect {
  max-height: 200px;
  overflow-y: auto;
}

/* Estilo para quando há muitos MVPs no select */
#mvpSelect option {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mvpSelect option:last-child {
  border-bottom: none;
}

/* ===== MELHORIAS NO MARCADOR DO MAPA ===== */

.custom-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 1000;
  width: 32px;
  height: 32px;
  background-image: url('./Assets/mvp_tomb.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  animation: pulse 1.5s infinite;
  filter: drop-shadow(0 0 8px rgba(255, 71, 87, 0.8));
  cursor: crosshair;
}


/* Efeito de pulsação mais suave */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
  }
  70% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 10px rgba(255, 71, 87, 0);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
  }
}

/* Melhorar a área clicável do mapa */
.map-preview {
  position: relative;
  cursor: crosshair;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.map-preview img {
  display: block;
  max-width: 100%;
  height: auto;
  cursor: crosshair;
}

/* Feedback visual ao passar o mouse sobre o mapa */
.map-preview:hover::before {
  content: '🎯 Clique para marcar a localização';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.map-preview:hover::before {
  opacity: 1;
}

/* Estilo para coordenadas inválidas */
.coordinate-inputs input.error {
  border-color: var(--danger-color);
  box-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Tooltip para o marcador */
.custom-marker:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1001;
}

/* Instrução do mapa */
.map-instruction {
  margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid var(--gold-color);
  border-radius: 5px;
  font-size: 12px;
  color: var(--gold-color);
}

.map-instruction small {
  color: var(--gold-color);
}
.custom-marker {
  position: absolute;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 10;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.custom-marker svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.marker-pulse {
  animation: markerPulse 2s infinite;
}

@keyframes markerPulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

.map-container {
  position: relative;
  cursor: crosshair;
}

.map-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
