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

body {
  font-family: --font-primary;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: transparent;
  height: 100vh;
  position: relative;
  background: url('/assets/images/backgrounds/minimalist\ full-page.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

header {
  background: transparent;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
  padding: 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
}

.logo {
  font-size: 1.2rem;
  color: #333;
  position: static;
  transform: none;
  margin-left: 40px;
}

.logo:hover {
  background-color: transparent;
  color: #319795;
}

.menu_navegacao {
  list-style: none;
  display: flex;
  position: absolute;
  right: 60px;
  top: 0;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 5px;
}

.menu_navegacao li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 24px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  text-underline-offset: 4px;
}

.menu_navegacao li a:hover {
  text-decoration: underline;
  background-color: transparent;
  color: #319795;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: #333;
  padding: 20px 0;
}

#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  background-size: 600% 600%;
  animation: gradientBackground 15s ease infinite;
  z-index: 0;
}

canvas#particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.titulo_principal,
.descricao_principal {
  position: relative;
  z-index: 1;
}

.titulo_principal {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.descricao_principal {
  font-size: 1.2rem;
  color: #333;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
}

section {
  padding: 80px 20px;
}

body.dark-mode {
  background: #121212;
  color: #eee;
}

body.dark-mode a {
  color: #eee;
}

body.dark-mode .logo {
  color: #eee;
}

body.dark-mode .logo:hover {
  color: #319795;
}

body.dark-mode .descricao_principal {
  color: #eee;
}

body.dark-mode footer {
  color: #eee;
}

.menu-wrapper {
  position: relative;
  margin-right: 20px;
}

body.dark-mode .menu-toggle {
  color: #eee;
}

.menu-toggle {
  font-size: 24px;
  cursor: pointer;
  display: block;
}

.side-panel {
  position: absolute;
  top: 40px;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 20px;
  white-space: nowrap;
  min-width: 160px;
  text-align: left;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.side-panel button {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s;
  text-align: left;
}

body.dark-mode .side-panel {
  background-color: #1e1e1e;
  color: #eee;
}

body.dark-mode #toggle-theme {
  color: #eee;
}

body.dark-mode #zen-mode {
  color: #eee;
}

body.dark-mode #game-mode {
  color: #eee;
}