/* =====================
   RESET & BASE
===================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Cormorant Garamond", sans-serif;
  color: #ffffff;           /* texto claro para que respire */
  background: #000000;      /* NEGRO PURO */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

/* =====================
   HEADER / NAVBAR
===================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #000000;
  background-size: 600% 600%;
  animation: gradientFlow 18s ease infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.9rem;
  letter-spacing: 0.5em;
}

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-toast {
  font-size: 1.4rem;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-toast:hover {
  opacity: 1;
  transform: scale(1.2);
}

.btn-menu {
  font-size: 1.4rem;
}

/* =====================
   MOBILE MENU
===================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(48, 48, 48, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 90;
}

.menu-overlay.active {
  transform: translateX(0);
}

.menu-overlay a {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  opacity: 0.85;
  transition: letter-spacing 0.3s ease, opacity 0.3s ease;
}

.menu-overlay a:hover {
  letter-spacing: 0.3em;
  opacity: 1;
}
@media (min-width: 1024px) {
  .menu-overlay a {
    font-size: 1.6rem;
    letter-spacing: 0.25em;
  }
}

/* =====================
   MAIN
===================== */
main {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}





/* =====================
   TOAST
===================== */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 260px;
  background: linear-gradient(180deg, #0b0b0b, #141414);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 16px;
  font-family: "Tagesschrift", system-ui;
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   Anomaly flower
===================== */
.anomaly-section {
  position: fixed;
  top: 110px;
  left: 0;
  width: 100%;
  height: calc(100vh - 110px);

  /* Evita cualquier desborde raro en mobile */
  max-width: 100vw;
  max-height: calc(100vh - 110px);

  margin: 0;
  padding: 0;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

.anomaly-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;

  /* Esto ayuda MUCHO en celulares */
  transform: translateZ(0);
}


  /* Esto ayuda MUCHO en celulares */
  transform: translateZ(0);
}

