* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #1f1c2c, #928dab);
  color: white;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
}

body.menu-open {
  overflow: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
}

.logo {
  font-size: 1.8em;
  font-weight: bold;
}
.logo span {
  color: #ffffff;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.5em;
  cursor: pointer;
}

/* MENU MODERNO - NOVA VERSÃO CORRIGIDA */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
}

.menu-container {
  max-width: 500px;
  width: 100%;
  margin: 20px auto;
  background: #1a1a1a;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  animation: fadeInUp 0.4s ease;
}

.menu-container h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  font-weight: 600;
  color: white;
  text-align: center;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.menu-links a {
  background: #2a2a2a;
  padding: 15px;
  width: 100%;
  text-align: center;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-size: 1em;
  transition: all 0.3s ease;
}

.menu-links a:hover {
  background: #00ffc8;
  color: #1a1a1a;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.6em;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.close-btn:hover {
  transform: rotate(90deg) scale(1.1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESTANTE DO SITE */
.hero {
  text-align: center;
  padding: 70px 20px 40px;
}
.hero h1 {
  font-size: 3em;
}
.hero span {
  color: #ffffff;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px 20px;
}
.card {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  width: 260px;
  border-radius: 15px;
  box-shadow: 0 0 10px #00000050;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card h2 {
  font-size: 1.2em;
  margin-bottom: 10px;
}
.card p {
  font-size: 0.9em;
}
.card a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background: #00ffc8;
  color: black;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}
.card a:hover {
  background: #00dab2;
}

footer {
  text-align: center;
  padding: 30px;
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.4);
  margin-top: 40px;
}

@media (max-width: 768px) {
  nav a {
    display: none;
  }
  
  .menu-container {
    margin: 10px auto;
    padding: 20px 15px;
  }
  
  .menu-links a {
    padding: 12px;
  }
}