* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background: linear-gradient(135deg, #0a0a1a, #1a0033);
  color: white;
}

/* HEADER */
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  align-items: center;
}

/* LOGO */
.logo {
  background: linear-gradient(45deg,#6366f1,#a855f7);
  padding: 10px;
  border-radius: 8px;
  font-weight: bold;
}

/* MENU DESKTOP */
.menu a {
  margin: 0 10px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.menu a:hover {
  color: white;
}

/* BOTÕES */
.btn-secondary {
  padding: 10px 18px;
  border-radius: 999px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  color: white;
}

.btn-primary {
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(45deg,#6366f1,#a855f7);
  color: white;
  text-decoration: none;
}

/* BOTÃO MENU MOBILE */
#menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 26px;
  cursor: pointer;
}

/* MENU MOBILE */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;

  background: rgba(10, 10, 25, 0.85);
  backdrop-filter: blur(20px);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;

  transform: translateY(-100%);
  transition: transform 0.5s ease;

  z-index: 9999;
}

/* ATIVO (abre com animação) */
.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu a {
  display: flex;              /* 🔥 MUDA ISSO */
  align-items: center;
  justify-content: center;

  width: 80%;
  max-width: 320px;

  padding: 16px;

  border-radius: 16px;

  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255,255,255,0.15);

  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;

  transition: all 0.3s ease;
}

/* efeito underline animado */
.mobile-menu a::after {
  content: "";
  position: relative;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg,#6366f1,#a855f7);
  transition: 0.3s;
  transform: translateX(-50%);
}

.mobile-menu a:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.03);
}

.mobile-menu a:hover::after {
  width: 100%;
}

/* RESPONSIVO */
#menu-btn {
  display: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-size: 20px;
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
  transition: 0.3s;
}

/* MOBILE */
@media (max-width: 768px) {
  .menu,
  .actions {
    display: none;
  }

  #menu-btn {
    display: block; /* 🔥 AQUI É O FIX */
  }
}

#menu-btn:hover {
  background: rgba(255,255,255,0.1);
}

.menu-main {
  background: linear-gradient(45deg,#6366f1,#a855f7) !important;
  border: none !important;
  font-weight: 600;
}

.menu-main:hover {
  transform: scale(1.05);
}

.menu-login {
  width: 80%;
  max-width: 320px;

  padding: 14px;

  border-radius: 14px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);

  color: rgba(255,255,255,0.9);
  text-decoration: none;
  text-align: center;
  font-weight: 500;

  transition: 0.3s;
}

.menu-login:hover {
  background: rgba(255,255,255,0.12);
  color: white;
}

.close-btn {
  position: absolute;
  top: 25px;
  right: 25px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);

  color: white;
  font-size: 22px;

  width: 40px;
  height: 40px;

  border-radius: 10px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.3s;
}

.close-btn:hover {
  background: rgba(255,255,255,0.1);
}