:root {
  --red:#ef4444;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    'Segoe UI', Roboto, Arial;
}

body {
  background: #080707;
  color:#e6e6e6;
  -webkit-font-smoothing: antialiased;
}

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .45s ease, visibility .45s ease;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#loader video {
  width: 600px;
  max-width: 95vw;
  max-height: 60vh;
  object-fit: contain;
}

#page {
  opacity: 0;
  transition: opacity .45s ease;
}
#page.visible {
  opacity: 1;
}

/* Header */
header {
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.36);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.hero-card {
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.04);
  backdrop-filter: blur(4px);
}

.btn-cta {
  background: linear-gradient(90deg,var(--red),#d93e3e);
  padding:.75rem 1.25rem;
  border-radius:9999px;
  font-weight:700;
}

/* Mobile menu */
#mobileMenuOverlay {
  transition: opacity .3s ease;
}

#mobileMenu {
  position: fixed;
  top:0;
  right:0;
  width:280px;
  height:100%;
  background: rgba(0,0,0,.9);
  padding:2rem;
  transform: translateX(100%);
  opacity:0;
  transition:.3s;
  z-index:50;
}
#mobileMenu.show {
  transform: translateX(0);
  opacity:1;
}

/* Cursor */
.cursor {
  animation: blink 1s infinite;
}
@keyframes blink {
  0%,100% {opacity:1;}
  50% {opacity:0;}
}

/* ================= MENU HOVER ================= */
nav a {
  position: relative;
  transition: color .25s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #ef4444;
  transition: width .25s ease;
}

nav a:hover {
  color: #ffffff;
}

nav a:hover::after {
  width: 100%;
}

/* Menu ativo */
.menu-active {
  color: #ef4444;
  font-weight: 600;
}

.menu-active::after {
  width: 100%;
}
