:root {
  --bg: #0a0a0f;
  --panel: #0f0f16;
  --text: #e6e6f0;
  --muted: #9aa0aa;
  --neon: #ff2fb3;
  /* rosa */
  --vio: #7a2cff;
  /* roxo */
  --blue: #00d0ff;
  /* azul ciano */
  --glass: rgba(255, 255, 255, 0.06);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: #000;
  background-color: #000;
}

html,
body,
#app {
  height: 100%;
}

body {
  margin: 0;
  background: #000;
  background-color: #000;
  background-image: radial-gradient(
    1200px 800px at 70% -10%,
    #1a1030 0%,
    #0a0a0f 50%,
    #07070b 100%
  );
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--text);
  font:
    16px/1.4 -apple-system,
    BlinkMacSystemFont,
    Inter,
    system-ui,
    Segoe UI,
    Roboto,
    Ubuntu;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Classe .blur removida - não utilizada para evitar duplicação com .topbar */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  padding: env(safe-area-inset-top) 16px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  background: linear-gradient(
    180deg,
    rgba(16, 16, 24, 0.65),
    rgba(8, 8, 12, 0.35)
  );
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  isolation: isolate;
  will-change: backdrop-filter, background;
}

/* Header com scroll blur */
.topbar.scrolled {
  -webkit-backdrop-filter: saturate(1.4) blur(20px);
  backdrop-filter: saturate(1.4) blur(20px);
  background: linear-gradient(
    180deg,
    rgba(16, 16, 24, 0.85),
    rgba(8, 8, 12, 0.75)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 1rem;
  background: transparent !important;
  background-color: transparent !important;
  /* Remove qualquer fundo que possa afetar a logo */
  isolation: isolate;
  /* Garante que não há backdrop-filter afetando */
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  /* Separa completamente a logo do menu */
  gap: 0;
}

/* Botão Wallet Connect */
.wallet-connect-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.9),
    rgba(59, 130, 246, 0.9)
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  text-transform: uppercase;
}

.wallet-connect-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 1),
    rgba(59, 130, 246, 1)
  );
}

.wallet-connect-btn:active {
  transform: translateY(0);
}

.wallet-connect-btn.connected {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.9),
    rgba(16, 185, 129, 0.9)
  );
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.wallet-connect-btn.connected:hover {
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
}

.wallet-btn-icon {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.wallet-connect-btn:hover .wallet-btn-icon {
  transform: translateX(3px);
}

.wallet-connect-btn.connected .wallet-btn-icon {
  transform: none;
}

/* === MOBILE MENU HAMBURGER === */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* Animação X quando ativo */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Dropdown Menu */
.mobile-menu-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 30, 0.95),
    rgba(12, 12, 18, 0.98)
  );
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  backdrop-filter: saturate(180%) blur(30px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-menu-dropdown.show {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  animation: slideDownMenu 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

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

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Botão Wallet Mobile */
.wallet-connect-btn-mobile {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.25),
    rgba(59, 130, 246, 0.25)
  );
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 16px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.wallet-connect-btn-mobile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.4),
    rgba(59, 130, 246, 0.4)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wallet-connect-btn-mobile:hover::before {
  opacity: 1;
}

.wallet-connect-btn-mobile:active {
  transform: scale(0.98);
}

.wallet-btn-icon-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.5),
    rgba(59, 130, 246, 0.5)
  );
  border-radius: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.wallet-btn-icon-mobile svg {
  color: white;
}

.wallet-btn-text-mobile {
  flex: 1;
  text-align: left;
  position: relative;
  z-index: 1;
}

.wallet-btn-arrow {
  font-size: 18px;
  opacity: 0.7;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  position: relative;
  z-index: 1;
}

.wallet-connect-btn-mobile:hover .wallet-btn-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* Estado conectado no mobile */
.wallet-connect-btn-mobile.connected {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.25),
    rgba(16, 185, 129, 0.25)
  );
  border-color: rgba(34, 197, 94, 0.4);
}

.wallet-connect-btn-mobile.connected .wallet-btn-icon-mobile {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.5),
    rgba(16, 185, 129, 0.5)
  );
}

.wallet-connect-btn-mobile.connected .wallet-btn-arrow {
  content: '✓';
}

/* Desktop only class */
.desktop-only {
  display: flex;
}

/* Responsivo - Mobile */
@media (max-width: 600px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .topbar {
    position: fixed;
  }

  .header-content {
    padding: 8px 12px;
  }
}

/* Container isolado para a logo */
.header-logo-container {
  flex-shrink: 0;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
  isolation: isolate;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  position: relative;
  z-index: 2;
}

/* Container isolado para o menu */
.header-menu-container {
  flex-shrink: 0;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
  isolation: isolate;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  position: relative;
  z-index: 1003;
  margin-left: auto;
}

/* Menu Hambúrguer */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 28px;
  background: transparent !important;
  background-color: transparent !important;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1003;
  position: relative;
  /* Garante que não afeta a logo */
  isolation: isolate;
  flex-shrink: 0;
  /* Remove qualquer fundo que possa vazar */
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  /* Garante que está em camada separada */
  margin-left: auto;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Menu de Navegação */
.header-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: linear-gradient(
    180deg,
    rgba(16, 16, 24, 0.98),
    rgba(8, 8, 12, 0.95)
  );
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  border-left: 2px solid #ff2fb3;
  padding: calc(env(safe-area-inset-top) + 20px) 24px
    calc(24px + env(safe-area-inset-bottom));
  z-index: 1005 !important;
  transition:
    right 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0.4s ease,
    box-shadow 0.5s ease;
  overflow-y: auto;
  box-shadow:
    -8px 0 32px rgba(0, 0, 0, 0.4),
    -4px 0 20px rgba(255, 47, 179, 0.4),
    0 0 30px rgba(255, 47, 179, 0.25),
    inset -2px 0 8px rgba(255, 47, 179, 0.1);
  visibility: hidden;
  opacity: 0;
  display: flex !important;
  flex-direction: column;
  transform: translateX(0);
}

.header-menu.active {
  right: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  transform: translateX(0);
  animation: menuGlow 2s ease-in-out infinite;
}

@keyframes menuGlow {
  0%,
  100% {
    box-shadow:
      -8px 0 32px rgba(0, 0, 0, 0.4),
      -4px 0 20px rgba(255, 47, 179, 0.4),
      0 0 30px rgba(255, 47, 179, 0.25),
      inset -2px 0 8px rgba(255, 47, 179, 0.1);
  }

  50% {
    box-shadow:
      -8px 0 32px rgba(0, 0, 0, 0.4),
      -4px 0 24px rgba(255, 47, 179, 0.5),
      0 0 40px rgba(255, 47, 179, 0.35),
      inset -2px 0 12px rgba(255, 47, 179, 0.15);
  }
}

.menu-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 47, 179, 0.3);
  box-shadow: 0 4px 12px rgba(255, 47, 179, 0.2);
}

.menu-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu-link {
  display: block;
  padding: 16px 20px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-link:hover,
.menu-link:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 47, 179, 0.3);
  color: rgba(255, 255, 255, 1);
  transform: translateX(4px);
}

.menu-link:active {
  transform: translateX(2px) scale(0.98);
}

/* Footer do Menu */
.menu-footer {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.menu-signature {
  width: auto;
  height: 36px;
  max-width: 80px;
  opacity: 0.35;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  filter: brightness(0.9);
  object-fit: contain;
}

.menu-signature:hover {
  opacity: 0.5;
  transform: scale(1.05);
}

.menu-email {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  word-break: break-all;
}

.menu-email:hover {
  color: rgba(255, 47, 179, 0.8);
  text-decoration: underline;
}

/* Overlay quando menu aberto */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 1004;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  pointer-events: none;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.header-title {
  flex: 1;
}

.large-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0;
  background: linear-gradient(135deg, var(--neon), var(--vio), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.3s ease;
}

.large-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  margin: 4px 0 0;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.header-logo {
  flex-shrink: 0;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  /* Força transparência total no container */
  isolation: isolate;
  /* Remove qualquer fundo que possa ser herdado */
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  /* Remove qualquer espaço em branco */
  line-height: 0;
  font-size: 0;
  /* Garante que não há fundo sendo aplicado */
  overflow: visible;
  /* Força que nenhum estilo do menu afete */
  position: relative;
  z-index: 2;
  /* Garante isolamento total da logo */
  will-change: auto;
}

.header-logo-wrapper {
  width: 40px;
  height: 40px;
  background: transparent !important;
  background-color: transparent !important;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
}

.header-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: transparent !important;
  background-color: transparent !important;
  filter: drop-shadow(0 4px 12px rgba(255, 47, 179, 0.4));
  transition: all 0.3s ease;
  object-fit: contain;
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
  /* Usa PNG que tem RGBA confirmado */
  mix-blend-mode: normal;
  /* Garante que a imagem seja renderizada com transparência */
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  /* Remove qualquer estilo padrão do navegador */
  -webkit-appearance: none;
  appearance: none;
  /* Força renderização com alpha channel */
  opacity: 1;
  /* Remove qualquer espaço em branco ao redor da imagem */
  line-height: 0;
  /* Força o navegador a renderizar com transparência real */
  image-rendering: -webkit-optimize-contrast;
  /* image-rendering: crisp-edges;  Removido: não suportado no Edge */
  /* Posiciona a imagem para remover qualquer espaço */
  position: relative;
  top: 0;
  left: 0;
}

.header-logo-img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 16px rgba(255, 47, 179, 0.6));
}

/* Efeito de scroll - títulos ficam menores */
.topbar.scrolled .large-title {
  font-size: 24px;
  opacity: 0.9;
}

.topbar.scrolled .large-subtitle {
  font-size: 14px;
  opacity: 0.8;
}

.topbar.scrolled .header-logo-img {
  width: 32px;
  height: 32px;
}

.status-spacer {
  height: calc(env(safe-area-inset-top));
}

.large-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 10px 4px;
  background: linear-gradient(90deg, var(--neon), var(--vio), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.compact-title {
  opacity: 0;
  transform: translateY(-8px);
  font-weight: 600;
}

main {
  padding-top: 120px;
  /* header aumentado */
  padding-bottom: calc(120px + env(safe-area-inset-bottom));
  /* espaço para glass morphism bottom bar */
  background: #000;
  background-color: #000;
  min-height: 100vh;
}

.route {
  display: none;
  padding: 12px 12px 20px;
}

.route#ecosystem {
  padding-bottom: 120px;
}

.route#projects {
  padding: 12px 12px 20px;
}

.route.active {
  display: block;
  animation: fade 0.25s ease;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 4rem;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: glowFade 10s ease-in-out infinite;
  text-align: center;
  min-height: 60vh;
}

/* Hero com imagem de fundo */
.hero-with-bg {
  padding: 0;
  background: transparent;
  border: none;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay removido para design mais limpo */

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 1.5rem;
  text-align: center;
  margin-top: 0;
  max-width: 100%;
  width: 100%;
}

/* Títulos removidos - mantendo apenas texto principal com efeito neon */

/* Texto principal simples - design refinado sem efeitos */
.hero-text-simple {
  margin: 0 auto;
  padding-top: 0;
  margin-top: -1rem;
  max-width: 98%;
  width: 100%;
}

.hero-text-simple p {
  font-size: 26px;
  font-weight: 300;
  margin: 0.85rem 0;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.12em;
  text-align: center;
  line-height: 32px;
  text-transform: none;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', system-ui,
    sans-serif;
  position: relative;
  font-feature-settings:
    'kern' 1,
    'liga' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  vertical-align: top;
  padding-top: 21px;
  padding-bottom: 21px;
  height: 224px;
}

/* Efeitos removidos - design limpo e refinado */

/* Botão simples - efeitos neon removidos */

/* Animações neon removidas para design mais limpo */
.hero-card h1 {
  margin: 2px 0 6px;
  font-size: 28px;
}

.hero-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

/* Protocol text simples */
/* Links de Redes Sociais */
.social-links-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 16px;
  padding: 0 16px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 47, 179, 0.3);
  color: rgba(255, 255, 255, 1);
  transform: translateX(4px);
}

.social-link:active {
  transform: translateX(2px) scale(0.98);
}

.social-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.social-link:hover .social-icon {
  color: rgba(255, 47, 179, 0.9);
}

.social-text {
  flex: 1;
  line-height: 1.4;
}

.protocol-text {
  font-size: 10px;
  color: rgba(154, 160, 170, 0.85);
  text-align: center;
  margin-top: 20px;
  padding: 8px 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* === MODAIS DOS PROJETOS === */
.project-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: none;
  margin: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: modalFadeIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Backdrop nativo do dialog para melhor compatibilidade */
.project-modal::backdrop {
  background: rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: backdropFadeIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-modal[open] {
  display: flex;
}

/* Classe para escurecer e desfocar o conteúdo quando modal está aberto */
body.modal-open
  #app
  > *:not(.project-modal):not(.toast-notifications-container):not(.topbar):not(
    .header-menu
  ):not(.menu-overlay):not(.glass-morphism-tabbar) {
  filter: blur(3px) brightness(0.75);
  transition: filter 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

@keyframes backdropFadeIn {
  from {
    opacity: 0;
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
  }

  to {
    opacity: 1;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

.modal-content {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 100%;
  max-height: calc(100vh - 40px);
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin: auto;
  position: relative;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
  }

  to {
    opacity: 1;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: 20px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

.modal-body p {
  margin: 0 0 16px;
  line-height: 1.7;
  color: var(--text);
  font-size: 15px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 400;
}

.modal-body p:first-child {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 18px;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.modal-footer {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
  margin-top: 8px;
  gap: 8px;
}

/* Botões menores apenas nos modais de projetos (botões "Entendi") */
.modal-footer .btn {
  min-width: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  box-shadow: none;
  text-transform: none;
  font-weight: 500;
  font-size: 13px;
  padding: 8px 18px;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.modal-footer .btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  opacity: 1;
  transform: none;
}

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

.modal-signature {
  width: 28px;
  height: 28px;
  opacity: 0.35;
  filter: brightness(0.9);
  transition: opacity 0.2s ease;
  object-fit: contain;
}

.modal-footer:hover .modal-signature {
  opacity: 0.5;
}

/* Partículas decorativas */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: floatParticle 10s linear infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 30%;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  top: 40%;
  left: 80%;
  animation-delay: 4s;
}

@keyframes floatParticle {
  0% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.3);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes glowFade {
  0%,
  100% {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(255, 47, 179, 0.1);
  }

  50% {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(255, 47, 179, 0.2);
  }
}

/* Texto acima das partículas */
.hero-card h1,
.hero-card p,
.hero-card .cta-row {
  position: relative;
  z-index: 2;
}

.neon {
  position: relative;
}

.neon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: conic-gradient(
    from 180deg at 50% 50%,
    var(--neon),
    var(--vio),
    var(--blue),
    var(--neon)
  );
  filter: blur(18px);
  opacity: 0.35;
  z-index: -1;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--panel);
  color: var(--text);
  border-radius: 20px;
  padding: 12px 16px;
  font-weight: 600;
  transition:
    transform 0.08s ease,
    border-color 0.2s ease,
    background 0.2s ease;
  text-decoration: none;
  text-transform: uppercase;
}

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

.btn.primary {
  border-color: transparent;
  background: linear-gradient(180deg, #ff2fb3, #6a1bb8);
  box-shadow: 0 10px 28px rgba(255, 47, 179, 0.35);
  color: #000000;
}

.btn.ghost {
  background: transparent;
}

.btn.block {
  width: 100%;
}

.grid {
  display: grid;
  gap: 14px;
  margin: 16px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 16px 18px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card h3 {
  margin: 12px 0 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.glow {
  position: relative;
}

.glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      200px 120px at 20% 0%,
      rgba(255, 47, 179, 0.35),
      transparent 60%
    ),
    radial-gradient(
      180px 140px at 80% 100%,
      rgba(0, 208, 255, 0.25),
      transparent 60%
    );
  opacity: 0.6;
  filter: blur(14px);
  z-index: -1;
}

.thumb {
  height: 90px;
  border-radius: 12px;
  background: rgba(20, 20, 31, 0.8);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card:hover .thumb {
  transform: scale(1.02);
  filter: brightness(1.1) contrast(1.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Imagens dos cards */
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

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

/* Hover effect mais iOS-like */
.card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  backdrop-filter: blur(24px) saturate(1.3);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Card clicável */
.clickable-card {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.clickable-card:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.2),
    0 6px 16px rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  backdrop-filter: blur(28px) saturate(1.4);
  border-color: rgba(255, 255, 255, 0.25);
}

.clickable-card:active {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.1s ease;
}

/* MELLØ Profile */
.mello-profile {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px;
}

.mello-image {
  flex-shrink: 0;
}

.mello-photo-large {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255, 47, 179, 0.3);
  object-fit: cover;
  transition: all 0.3s ease;
}

.mello-profile:hover .mello-photo-large {
  border-color: rgba(255, 47, 179, 0.6);
  transform: scale(1.05);
}

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

.mello-info h3 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(90deg, #ff2fb3, #00d0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  /* === CORREÇÕES WEBHINT === */

  /* Token NEOFLW section styling */
  .token-neoflw-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .token-neoflw-section h4 {
    margin-bottom: 16px;
    color: #fff;
  }

  /* Estilos para placeholders de widgets */
  .widget-placeholder {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.1);
  }

  .widget-placeholder p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
  }

  .widget-description {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
  }

  .widget-container {
    margin-bottom: 24px;
  }

  line-height: 1.2;
}

.mello-description {
  line-height: 1.5;
}

.mello-description p {
  margin: 3px 0;
  font-size: 14px;
  color: var(--text);
}

.mello-description p strong {
  color: #ff2fb3;
  font-weight: 600;
}

.mello-divider {
  margin: 6px 0;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

.neo-protocol {
  font-family: 'Courier New', monospace;
  color: #00d0ff !important;
  font-weight: 600;
  text-align: center;
  margin-top: 8px !important;
}

/* Card 1: WebApp */
/* Card 1: WebApp */
.thumb-1 {
  background-image:
    linear-gradient(
      135deg,
      rgba(0, 208, 255, 0.25),
      rgba(122, 44, 255, 0.15),
      transparent
    ),
    url('public/cards/webapp_card.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.95;
  filter: brightness(1.05) contrast(1.1);
  transition:
    filter 0.3s ease,
    transform 0.3s ease;
}

/* Card 2: Dashboards Gamificados - Preview especial com animações */
.thumb-2 {
  background: linear-gradient(
    135deg,
    rgba(122, 44, 255, 0.5) 0%,
    rgba(255, 47, 179, 0.4) 30%,
    rgba(0, 208, 255, 0.35) 60%,
    rgba(122, 44, 255, 0.45) 100%
  );
  position: relative;
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  filter: brightness(1.1) saturate(1.2);
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Card 3: POSTØN */
.thumb-3 {
  background-image:
    linear-gradient(135deg, rgba(122, 44, 255, 0.3), transparent),
    url('public/poston_home.png');
  background-size: cover;
  opacity: 0.9;
}

/* Card 4: PRO.IA */
.thumb-4 {
  background-image:
    linear-gradient(135deg, rgba(0, 208, 255, 0.3), transparent),
    url('public/logos/proia.png');
  background-size: cover;
  opacity: 0.9;
}

/* Card 5: NEØ.FLOWOFF */
.thumb-5 {
  background-image:
    linear-gradient(
      135deg,
      rgba(255, 47, 179, 0.35) 0%,
      rgba(122, 44, 255, 0.25) 50%,
      rgba(0, 208, 255, 0.2) 100%
    ),
    url('public/cards/neoflowoff_card.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.95;
  filter: brightness(1.05) contrast(1.15) saturate(1.1);
  transition:
    filter 0.3s ease,
    transform 0.3s ease;
}

/* Card 6: Entre em contato */
.thumb-6 {
  background-image:
    linear-gradient(
      135deg,
      rgba(255, 47, 179, 0.3) 0%,
      rgba(122, 44, 255, 0.2) 50%,
      rgba(0, 208, 255, 0.15) 100%
    ),
    url('public/cards/contato_card.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  opacity: 0.95;
  filter: brightness(1.05) contrast(1.1);
  transition:
    filter 0.3s ease,
    transform 0.3s ease;
}

.contact-icon {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(255, 47, 179, 0.3));
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 16px rgba(255, 47, 179, 0.5));
}

/* Gamificação Preview */
.gamification-preview {
  position: absolute;
  inset: 0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

.xp-bar {
  position: relative;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.xp-fill {
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, #ff2fb3, #7a2cff, #00d0ff);
  border-radius: 6px;
  position: relative;
  animation: xpGlow 2s ease-in-out infinite;
}

.xp-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: xpShine 1.5s ease-in-out infinite;
}

.xp-text {
  position: absolute;
  top: -18px;
  right: 0;
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.badges-row {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 2px 0;
}

.badge-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 8px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: badgeFloat 3s ease-in-out infinite;
}

.badge-icon:nth-child(2) {
  animation-delay: 0.5s;
}

.badge-icon:nth-child(3) {
  animation-delay: 1s;
}

.leaderboard-mini {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 6px;
  color: rgba(255, 255, 255, 0.8);
}

.leader-item {
  padding: 1px 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.microcopy {
  font-size: 11px;
  color: var(--neon);
  font-weight: 600;
  margin-top: 4px;
  text-align: center;
  font-style: italic;
}

@keyframes xpGlow {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(255, 47, 179, 0.4);
  }

  50% {
    box-shadow: 0 0 12px rgba(122, 44, 255, 0.6);
  }
}

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

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

/* Barra de progresso do ecossistema */
.ecosystem-progress {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-link {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 400;
  transition: all 0.2s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0.8;
}

.badge-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  opacity: 1;
  transform: translateY(-0.5px);
}

.progress-label {
  font-size: 10px;
  color: var(--neon);
  font-weight: 600;
  text-align: center;
  margin-top: 4px;
  opacity: 0.8;
}

/* === SEÇÃO GPTs MELLØ === */
.gpts-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: var(--neon);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gpts-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gpt-card {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: 14px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  gap: 12px;
}

.gpt-card:active {
  transform: scale(0.98);
}

.gpt-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.gpt-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--neon), var(--blue));
  border-radius: 10px;
  color: white;
  margin-bottom: 6px;
}

.gpt-icon svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.gpt-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gpt-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.3;
}

.gpt-content p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.gpt-author {
  font-size: 11px;
  color: var(--neon);
  font-weight: 600;
  opacity: 0.8;
  margin-top: 4px;
}

.gpt-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--neon), var(--blue));
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  margin-top: auto;
  justify-content: center;
}

.gpt-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.gpt-btn svg {
  transition: transform 0.3s ease;
}

.gpt-btn:hover svg {
  transform: translate(2px, -2px);
}

/* Novos elementos GPTs */
.gpt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.gpt-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-pro {
  background: linear-gradient(135deg, #ff2fb3, #ff6b35);
  color: white;
}

.badge-popular {
  background: linear-gradient(135deg, #00d0ff, #0099cc);
  color: white;
}

.badge-beta {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
}

.gpt-features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 3px;
}

.feature-tag svg {
  flex-shrink: 0;
  opacity: 0.8;
}

/* CTA GPTs */
.gpt-cta {
  margin-top: 24px;
  padding: 20px 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 47, 179, 0.1),
    rgba(0, 208, 255, 0.1)
  );
  border: 1px solid rgba(255, 47, 179, 0.2);
  border-radius: 16px;
  text-align: center;
}

.gpt-cta-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.gpt-cta-content h3 svg {
  flex-shrink: 0;
  opacity: 0.9;
  width: 20px;
  height: 20px;
}

.gpt-cta-content p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.4;
}

.gpt-cta-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--neon), var(--vio));
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gpt-cta-btn span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gpt-cta-btn svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.gpt-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 47, 179, 0.35);
}

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

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

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-2px);
  }
}

.section-title {
  font-weight: 700;
  font-size: 22px;
  margin: 4px 4px 12px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.list-item:active {
  transform: scale(0.98);
  background: rgba(255, 255, 255, 0.05);
}

.list-item h4 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.list-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.chip:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.05);
}

.form label {
  display: block;
  margin: 8px 0 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-align: left;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.form input,
.form select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 16, 0.6);
  color: var(--text);
  outline: none;
}

.form input:focus,
.form select:focus {
  border-color: var(--neon);
}

.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

.badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.badge {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  text-align: center;
}

.glass {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
}

.badge div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.badge b {
  font-size: 14px;
  font-weight: 600;
}

.badge span {
  font-size: 11px;
  color: var(--muted);
}

.sheet {
  width: min(480px, 92vw);
  margin: auto;
  border: none;
  padding: 0;
  background: transparent;
}

.sheet::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.sheet-body {
  background: linear-gradient(
    180deg,
    rgba(20, 20, 30, 0.9),
    rgba(10, 10, 16, 0.9)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
}

/* Toast Notifications - Removido estilo antigo, usar novo sistema */
.offline {
  display: none !important;
}

/* Tab bar iOS-like */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(
    180deg,
    rgba(10, 10, 16, 0.95),
    rgba(10, 10, 16, 0.98)
  );
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.tabbar button {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.tabbar button.active {
  background: linear-gradient(180deg, #201328, #110c17);
  border-color: rgba(255, 47, 179, 0.35);
  box-shadow: 0 6px 18px rgba(255, 47, 179, 0.22);
}

/* Footer iOS-like */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 35;
  padding: 4px 16px calc(4px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.8), rgba(4, 4, 8, 0.9));
  -webkit-backdrop-filter: saturate(1.1) blur(8px);
  backdrop-filter: saturate(1.1) blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.footer-text {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  text-align: center;
  margin: 0;
  letter-spacing: 0.1px;
  line-height: 1.2;
  opacity: 0.8;
}

.footer-link {
  text-align: center;
  margin: 2px 0 0;
}

.footer-telegram-link {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-telegram-link:hover,
.footer-telegram-link:focus {
  opacity: 1;
  text-decoration: underline;
}

.footer-legal-links {
  text-align: center;
  margin: 4px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-legal-link {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-legal-link:hover,
.footer-legal-link:focus {
  opacity: 1;
  text-decoration: underline;
}

.footer-separator {
  font-size: 9px;
  color: var(--muted);
  opacity: 0.5;
}

/* Grande título recolhe ao rolar - removido por incompatibilidade */
/* As propriedades animation-timeline e animation-range não são suportadas amplamente */

/* === MODAIS MOBILE === */
@media (max-width: 768px) {
  .project-modal {
    padding: 10px;
    align-items: flex-start;
    justify-content: center;
    padding-top: max(20px, env(safe-area-inset-top));
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .modal-content {
    width: calc(100vw - 20px);
    max-width: 90vw;
    max-height: calc(100vh - 40px);
    margin: auto 0;
    position: relative;
    top: auto;
    transform: none;
    align-self: center;
  }

  .modal-header {
    padding: 16px 16px 0;
  }

  .modal-header h3 {
    font-size: 16px;
  }

  .modal-body {
    padding: 16px;
  }

  .modal-body p {
    font-size: 14px;
    line-height: 1.5;
  }

  .modal-footer {
    padding: 0 16px 16px;
    padding-top: 12px;
    margin-top: 4px;
    gap: 6px;
  }

  .modal-footer .btn {
    width: 100%;
    padding: 8px 16px;
    font-size: 13px;
  }

  .modal-signature {
    width: 24px;
    height: 24px;
  }

  .modal-body p {
    font-size: 14px;
  }

  .modal-body p:first-child {
    font-size: 15px;
  }
}

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

  .badges {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Modal do Agente NEO */
.agent-modal {
  max-width: 500px;
  width: 90vw;
  max-height: 80vh;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    180deg,
    rgba(15, 15, 22, 0.95),
    rgba(10, 10, 16, 0.98)
  );
  -webkit-backdrop-filter: saturate(1.2) blur(20px);
  backdrop-filter: saturate(1.2) blur(20px);
}

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

.agent-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.agent-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s ease;
}

.agent-close:hover {
  color: var(--text);
}

.agent-chat-container {
  display: flex;
  flex-direction: column;
  height: 400px;
  margin-bottom: 20px;
}

.agent-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 300px;
}

.agent-message {
  padding: 12px 16px;
  border-radius: 18px;
  max-width: 80%;
  word-wrap: break-word;
  animation: messageSlide 0.3s ease-out;
}

.agent-message.user {
  background: linear-gradient(135deg, var(--neon), var(--blue));
  color: var(--bg);
  align-self: flex-end;
  margin-left: auto;
}

.agent-message.agent {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.agent-message.system {
  background: rgba(0, 208, 255, 0.1);
  color: var(--blue);
  align-self: center;
  text-align: center;
  font-size: 12px;
  padding: 8px 12px;
}

.agent-input-container {
  display: flex;
  gap: 10px;
  padding: 0 20px;
  margin-top: auto;
}

#agent-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

#agent-input:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 2px rgba(255, 47, 179, 0.2);
}

#agent-input::placeholder {
  color: var(--muted);
}

.agent-send-btn {
  background: linear-gradient(135deg, var(--neon), var(--blue));
  color: var(--bg);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
}

.agent-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 47, 179, 0.3);
}

.agent-send-btn:active {
  transform: scale(0.95);
}

.agent-actions {
  display: flex;
  gap: 10px;
  padding: 0 20px 20px;
  justify-content: center;
}

.agent-actions .btn.small {
  padding: 8px 16px;
  font-size: 12px;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scrollbar personalizada para mensagens */
.agent-messages::-webkit-scrollbar {
  width: 4px;
}

.agent-messages::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.agent-messages::-webkit-scrollbar-thumb {
  background: var(--neon);
  border-radius: 2px;
}

.agent-messages::-webkit-scrollbar-thumb:hover {
  background: #007bff;
}

/* Widget de Atendimento Flutuante */
.agent-widget {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 1000;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Inter,
    system-ui,
    Segoe UI,
    Roboto,
    Ubuntu;
}

.agent-widget-toggle {
  background: linear-gradient(135deg, var(--neon), var(--blue));
  color: var(--bg);
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(255, 47, 179, 0.4);
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.agent-widget-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 47, 179, 0.5);
}

.agent-widget-toggle:active {
  transform: translateY(0);
}

.agent-widget-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  animation: pulse 2s infinite;
}

.agent-widget-text {
  white-space: nowrap;
}

.agent-widget-popup {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 380px;
  max-width: 90vw;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 22, 0.95),
    rgba(10, 10, 16, 0.98)
  );
  -webkit-backdrop-filter: saturate(1.2) blur(20px);
  backdrop-filter: saturate(1.2) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0.1, 0.2, 1);
  overflow: hidden;
}

.agent-widget-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.agent-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    135deg,
    rgba(255, 47, 179, 0.1),
    rgba(0, 208, 255, 0.1)
  );
}

.agent-widget-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.agent-widget-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s ease;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-widget-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.agent-widget-iframe-container {
  height: 500px;
  overflow: hidden;
}

.agent-widget-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0 0 20px 20px;
}

/* Animação de pulse para o ícone */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .agent-widget {
    bottom: 80px;
    right: 15px;
  }

  .agent-widget-popup {
    width: 320px;
    bottom: 60px;
  }

  .agent-widget-iframe-container {
    height: 400px;
  }

  .agent-widget-toggle {
    padding: 10px 16px;
    font-size: 13px;
  }

  .agent-widget-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .agent-widget {
    bottom: 70px;
    right: 10px;
  }

  .agent-widget-popup {
    width: calc(100vw - 20px);
    right: -10px;
    bottom: 50px;
  }

  .agent-widget-iframe-container {
    height: 350px;
  }
}

/* Efeito shimmer no botão */
.agent-widget-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.agent-widget-toggle:hover::before {
  left: 100%;
}

/* === P5.JS BACKGROUND INTEGRATION === */
#app {
  position: relative;
  z-index: 1;
  background: #000;
  background-color: #000;
  min-height: 100vh;
}

/* === GLASS MORPHISM OVERLAY === */
.glass-morphism-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 10, 16, 0.3) 20%,
    rgba(10, 10, 16, 0.6) 60%,
    rgba(10, 10, 16, 0.8) 100%
  );
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-morphism-overlay.active {
  opacity: 1;
}

/* === TOAST NOTIFICATIONS SYSTEM - iOS Style Glassmorphism === */
.toast-notifications-container {
  position: fixed;
  bottom: calc(80px + env(safe-area-inset-bottom));
  right: 16px;
  z-index: 99999;
  /* Camada máxima - acima de tudo incluindo modais */
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  /* Isolamento de camada para garantir renderização no topo */
  isolation: isolate;
}

.toast-notification {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  min-width: 200px;
  max-width: 320px;
  border-radius: 20px;
  pointer-events: auto;
  cursor: pointer;

  /* iOS Advanced Glassmorphism */
  background: linear-gradient(
    135deg,
    rgba(30, 30, 40, 0.75) 0%,
    rgba(20, 20, 28, 0.65) 100%
  );
  -webkit-backdrop-filter: saturate(180%) blur(40px);
  backdrop-filter: saturate(180%) blur(40px);

  /* Multi-layer border for depth */
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);

  /* Animation */
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-notification.show {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}

.toast-notification:hover {
  transform: translateX(-4px) scale(1.02);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.toast-notification:active {
  transform: translateX(-2px) scale(0.98);
}

/* Toast Icon */
.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  color: #fff;
}

.toast-icon-spin svg {
  animation: toastRotate 2s linear infinite;
}

@keyframes toastRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Toast Content */
.toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.toast-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.2;
}

/* Toast Action Button */
.toast-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(0, 208, 255, 0.4),
    rgba(122, 44, 255, 0.4)
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.toast-action-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 208, 255, 0.6),
    rgba(122, 44, 255, 0.6)
  );
  transform: scale(1.1);
}

.toast-action-btn:active {
  transform: scale(0.95);
}

/* Toast Dismiss */
.toast-dismiss {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s ease;
}

.toast-notification:hover .toast-dismiss {
  opacity: 1;
  transform: scale(1);
}

.toast-dismiss:hover {
  background: rgba(255, 47, 179, 0.4);
  color: #fff;
}

/* Offline Toast - Red/Pink accent */
.toast-offline {
  border-left: 3px solid rgba(255, 47, 179, 0.8);
}

.toast-offline .toast-icon {
  background: linear-gradient(
    135deg,
    rgba(255, 47, 179, 0.3),
    rgba(255, 47, 179, 0.1)
  );
  color: #ff2fb3;
}

/* Update Toast - Cyan/Purple accent */
.toast-update {
  border-left: 3px solid rgba(0, 208, 255, 0.8);
  position: relative;
}

.toast-update .toast-icon {
  background: linear-gradient(
    135deg,
    rgba(0, 208, 255, 0.3),
    rgba(122, 44, 255, 0.2)
  );
  color: #00d0ff;
}

/* Responsive - Mobile */
@media (max-width: 480px) {
  .toast-notifications-container {
    right: 12px;
    left: 12px;
    bottom: calc(90px + env(safe-area-inset-bottom));
  }

  .toast-notification {
    max-width: 100%;
    min-width: 0;
    border-radius: 16px;
    padding: 12px 14px;
  }

  .toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .toast-title {
    font-size: 13px;
  }

  .toast-subtitle {
    font-size: 11px;
  }
}

/* Animation for entry */
@keyframes toastSlideIn {
  0% {
    transform: translateX(120%);
    opacity: 0;
  }

  60% {
    transform: translateX(-8px);
    opacity: 1;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastSlideOut {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

.toast-notification.show {
  animation: toastSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast-notification.hiding {
  animation: toastSlideOut 0.3s ease-in forwards;
}

/* Canvas p5.js como fundo */
canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: -1 !important;
  pointer-events: none !important;
  opacity: 0.6;
  /* Opacidade aumentada para estrelas */
  mix-blend-mode: screen;
  filter: none;
  /* Sem blur para estrelas nítidas */
}

/* Melhorar contraste dos elementos sobre o fundo animado */
.hero-card,
.card,
.flowoff-section .flowoff-card {
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  backdrop-filter: saturate(1.3) blur(16px);
  background: linear-gradient(
    180deg,
    rgba(15, 15, 22, 0.85),
    rgba(8, 8, 12, 0.75)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Efeito de profundidade nos cards */
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Melhorar legibilidade do texto */
.hero-card h1,
.hero-card p,
.card h3,
.card p {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Efeito de interação com partículas */
.hero-card:hover,
.card:hover {
  -webkit-backdrop-filter: saturate(1.4) blur(20px);
  backdrop-filter: saturate(1.4) blur(20px);
  transition: backdrop-filter 0.3s ease;
}

/* Performance: reduzir efeitos em mobile */
@media (max-width: 768px) {
  canvas {
    opacity: 0.5;
    /* Opacidade adequada para estrelas em mobile */
    filter: none;
  }

  .hero-card,
  .card,
  .flowoff-section .flowoff-card {
    -webkit-backdrop-filter: saturate(1.2) blur(12px);
    backdrop-filter: saturate(1.2) blur(12px);
  }
}

/* Desabilitar efeitos em dispositivos de baixa performance */
@media (prefers-reduced-motion: reduce) {
  canvas {
    display: none;
  }
}

/* === SEÇÃO FLOWOFF MODERNA === */
.flowoff-section {
  position: relative;
  margin: 24px 0;
}

.flowoff-card {
  background: linear-gradient(
    135deg,
    rgba(15, 15, 22, 0.95),
    rgba(8, 8, 12, 0.85)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 0;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
}

.flowoff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--vio), var(--blue));
  opacity: 0.8;
}

.flowoff-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    135deg,
    rgba(255, 47, 179, 0.05),
    rgba(0, 208, 255, 0.05)
  );
}

.flowoff-logo {
  flex-shrink: 0;
}

.flowoff-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  filter: drop-shadow(0 4px 12px rgba(255, 47, 179, 0.3));
  transition: transform 0.3s ease;
}

.flowoff-logo-img:hover {
  transform: scale(1.05);
}

.flowoff-title h2 {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

.flowoff-subtitle {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.flowoff-content {
  padding: 24px;
}

.flowoff-description {
  margin: 0 0 24px;
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  text-align: center;
  opacity: 0.9;
}

.flowoff-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 47, 179, 0.2);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 24px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(255, 47, 179, 0.3));
}

.feature-text h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.feature-text p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.flowoff-cta {
  text-align: center;
  padding-top: 8px;
}

.flowoff-btn {
  position: relative;
  overflow: hidden;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-transform: none;
  letter-spacing: 0.01em;
}

.flowoff-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 47, 179, 0.4);
  box-shadow:
    0 4px 16px rgba(255, 47, 179, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
  color: rgba(255, 255, 255, 1);
}

.flowoff-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transition: left 0.8s ease;
  pointer-events: none;
}

.flowoff-btn:hover .btn-shimmer {
  left: 100%;
}

/* Foto do MELLØ */
.mello-photo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  flex-shrink: 0;
  opacity: 0.9;
}

.flowoff-btn:hover .mello-photo {
  transform: scale(1.05);
  border-color: rgba(255, 47, 179, 0.5);
  opacity: 1;
}

.nav-cta .mello-photo {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}

/* Responsividade */
@media (max-width: 768px) {
  .flowoff-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 20px 20px 16px;
  }

  .flowoff-content {
    padding: 20px;
  }

  .flowoff-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-item {
    padding: 14px;
  }

  .flowoff-title h2 {
    font-size: 24px;
  }

  /* Header responsivo */
  .header-content {
    justify-content: center;
  }

  .header-logo {
    margin-left: 0;
  }

  .large-title {
    font-size: 28px;
  }

  .large-subtitle {
    font-size: 16px;
  }

  .topbar.scrolled .large-title {
    font-size: 20px;
  }

  .topbar.scrolled .large-subtitle {
    font-size: 12px;
  }

  main {
    padding-top: 140px;
    /* Mais espaço para mobile */
  }

  .article-preview {
    padding: 16px;
  }
}

/* === ESTILOS PARA VALIDAÇÃO API INVERTEXTO === */
.validation-message {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.validation-message:empty {
  display: none;
}

/* Validação inline */
.inline-validation {
  position: absolute;
  top: -25px;
  left: 0;
  background: var(--neon);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  z-index: 1000;
  pointer-events: none;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Botão de teste */
.test-button {
  position: fixed;
  bottom: 100px; /* Acima do bottom bar */
  right: 20px;
  z-index: 100; /* Abaixo do bottom bar (z-index: 101) */
  background: var(--blue);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.test-button:hover {
  background: var(--vio);
  transform: translateY(-2px);
}

/* Esconder em mobile para evitar conflito com bottom bar */
@media (max-width: 768px) {
  .test-button {
    display: none;
  }
}

/* Status de validação */
.validation-success {
  color: #4ade80;
}

.validation-error {
  color: #ef4444;
}

.validation-warning {
  color: #f59e0b;
}

/* Campos com validação - apenas mensagens de texto */

/* Loading spinner para validação */
.validation-loading {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* === SEÇÃO DE LOGOS DOS PROJETOS === */
.projects-logos-wrapper {
  margin: 32px 0;
  padding: 0;
}

.projects-logos-title {
  font-size: 9px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
  margin: 0 0 -12px 0;
  padding-bottom: 4px;
  position: relative;
  z-index: 1;
  opacity: 0.6;
}

.projects-logos-section {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 24px 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 0;
}

.projects-logos-section::-webkit-scrollbar {
  display: none;
}

.projects-logos-section {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.project-logo {
  width: 65px;
  height: 65px;
  object-fit: contain;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0.85;
  flex-shrink: 0;
}

.project-logo:hover {
  transform: translateY(-4px) scale(1.1);
  opacity: 1;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .projects-logos-section {
    gap: 8px;
    padding: 24px 8px;
    justify-content: center;
  }

  .project-logo {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .projects-logos-section {
    gap: 6px;
    padding: 24px 4px;
  }

  .project-logo {
    width: 42px;
    height: 42px;
  }
}

/* ============================================
   CHAT IA / ASI NEO
   ============================================ */

.chat-container {
  max-width: 100%;
  margin: 20px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 200px);
  min-height: 500px;
  background: rgba(10, 10, 15, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.chat-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.chat-header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--neon);
  box-shadow: 0 0 20px rgba(255, 47, 179, 0.3);
}

.chat-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #00ff00;
  border-radius: 50%;
  border: 2px solid var(--bg);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.chat-header-info h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--neon), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.chat-status {
  margin: 4px 0 0 0;
  font-size: 12px;
  color: rgba(154, 160, 170, 0.9);
  font-weight: 400;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 47, 179, 0.3) transparent;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 47, 179, 0.3);
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 47, 179, 0.5);
}

.chat-message {
  display: flex;
  gap: 12px;
  animation: messageSlide 0.3s ease-out;
  max-width: 85%;
}

.chat-message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-message.agent {
  align-self: flex-start;
}

.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.message-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-content {
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  line-height: 1.6;
  word-wrap: break-word;
  font-size: 14px;
}

.chat-message.user .message-content {
  background: linear-gradient(135deg, var(--neon), var(--blue)) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(255, 47, 179, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.chat-message.user .message-content p {
  color: #ffffff !important;
  margin: 0 !important;
}

.chat-message.user .message-content * {
  color: #ffffff !important;
}

.chat-message.user .message-content,
.chat-message.user .message-content p,
.chat-message.user .message-content span,
.chat-message.user .message-content div {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Garantir que o texto do usuário seja sempre branco e visível */
.chat-message.user .message-content p,
.chat-message.user .message-content span,
.chat-message.user .message-content div,
.chat-message.user .message-content * {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Override qualquer cor cinza que possa estar sendo aplicada */
.chat-message.user {
  color: #ffffff !important;
}

.chat-message.user * {
  color: #ffffff !important;
}

.message-content p {
  margin: 0 0 8px 0;
}

.message-content p:last-child {
  margin-bottom: 0;
}

.chat-input-container {
  display: flex;
  gap: 10px;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  padding: 12px 20px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.chat-input:focus {
  border-color: var(--neon);
  box-shadow:
    0 0 0 3px rgba(255, 47, 179, 0.25),
    0 0 20px rgba(255, 47, 179, 0.15);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.chat-input::placeholder {
  color: rgba(154, 160, 170, 0.7);
  opacity: 1;
}

.chat-send-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon), var(--blue));
  border: none;
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow:
    0 4px 20px rgba(255, 47, 179, 0.5),
    0 0 30px rgba(0, 208, 255, 0.3);
}

.chat-send-btn:focus {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.chat-send-btn:active {
  transform: scale(0.95);
}

.chat-quick-actions {
  display: flex;
  gap: 10px;
  padding: 0 20px 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.quick-action-btn {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.quick-action-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--neon);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 47, 179, 0.2);
}

.quick-action-btn:active {
  transform: translateY(0);
}

.typing-dots {
  display: flex;
  gap: 4px;
  padding: 8px 0;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: typingDot 1.4s infinite;
  opacity: 0.7;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }

  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Chat */
@media (max-width: 768px) {
  .chat-container {
    height: calc(100vh - 160px);
    min-height: 400px;
    margin: 10px;
    border-radius: 20px;
  }

  .chat-message {
    max-width: 90%;
  }

  .message-content {
    padding: 10px 14px;
    font-size: 14px;
  }

  .chat-quick-actions {
    padding: 0 15px 15px;
  }

  .quick-action-btn {
    font-size: 12px;
    padding: 8px 14px;
  }

  .message-content {
    font-size: 13px;
    padding: 10px 14px;
  }

  .chat-input {
    font-size: 14px;
    padding: 10px 16px;
  }
}

/* === HACKER CTA === */
.hacker-cta-container {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.hacker-btn {
  background: rgba(0, 0, 0, 0.9);
  color: #00ff41;
  /* Green Matrix */
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border: 1px solid #00ff41;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-transform: uppercase;
  letter-spacing: 2px;
  backdrop-filter: blur(4px);
}

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

.hacker-btn:hover::before {
  left: 100%;
}

.hacker-btn:hover {
  background: rgba(0, 255, 65, 0.1);
  box-shadow:
    0 0 30px rgba(0, 255, 65, 0.4),
    inset 0 0 10px rgba(0, 255, 65, 0.2);
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.8);
  transform: translateY(-2px);
  border-color: #00ff41;
}

.terminal-cursor {
  display: inline-block;
  width: 10px;
  height: 3px;
  background: #00ff41;
  margin-left: 8px;
  animation: blink 1s step-end infinite;
}

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

  50% {
    opacity: 0;
  }
}
