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

html, body{
  width: 100%;
  height: 100%;
}

/* =========================
   BODY / BACKGROUND
   ========================= */
body{
  background: #000;
  visibility: visible;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #d8f6ff;
}

/* =========================
   HEADER BAR
   ========================= */
.topbar{
  width: 100%;
  height: 50px;
  background: rgba(5,7,12,.85);
  border-bottom: 1px solid rgba(216,246,255,.18);
}

.brand-image{
  height: 32px;
  width: auto;
  display: block;
  user-select: none;
  position: relative;
    
  z-index: 1;

  filter:
    brightness(1.15)
    saturate(1.4)
    drop-shadow(0 0 6px rgba(0,255,255,.35))
    drop-shadow(0 0 12px rgba(0,255,255,.18));
}

.brand-wrap{
  position: relative;
  display: inline-block;
  
}

/* Brightening overlay layer */
.brand-wrap::after{
  content: "";
  position: absolute;
 
  inset: 0;

  background: url("../assets/images/nattytwomp-side.svg") center / contain no-repeat;

  mix-blend-mode: screen;
  filter:
    brightness(1.35)
    saturate(1.4);

  pointer-events: none;
  z-index: 2;
}

.nav-wrap{
  max-width: 1200px;
  height: 56px;            /* ← lock the header height */
  margin: 0 auto;
  padding: 0 18px;         /* ← remove vertical padding */
  display: flex;
  align-items: center;     /* ← vertical centering */
  gap: 20px;
  overflow: hidden;
}

.nav{
  margin-left: auto;
  display: flex;
  gap: 14px;
}

.nav-link{
  text-decoration: none;
  font-size: 13px;
  color: rgba(216,246,255,.75);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.nav-link:hover{
  color: #d8f6ff;
  border-color: rgba(216,246,255,.18);
  box-shadow: 0 0 12px rgba(0,255,255,.12);
}

.nav-link.active{
  color: #d8f6ff;
  border-color: rgba(0,255,255,.25);
  box-shadow: 0 0 16px rgba(0,255,255,.16);
}

/* =========================
   CENTERING STAGE
   ========================= */
.stage{
  width: 100%;
  height: calc(100% - 52px); /* header height */
  display: grid;
  place-items: center;
}

/* =========================
   NAT T Y T W O M P CONTAINER
   ========================= */
.nattytwomp-container{
  position: relative;
  display: inline-block;
}

/* Base NattyTwomp logo */
.nattytwomp-logo{
  width: min(740px, 92vw);
  height: auto;
  display: block;
  user-select: none;
}

/* HOME OF text */
.home-of-text{
  position: absolute;
  top: 21%;
  left: 50%;
  transform: translateX(-50%);

  font-family: "AstroSpace", sans-serif;
  font-size: 16px;
  letter-spacing: 0.2em;
  color: #c5d5e2;

  pointer-events: none;
  user-select: none;

  /* NEW */
  opacity: 1;
  animation: homeOfPulse 4s ease-in-out infinite;
}

@keyframes homeOfPulse{
  0%, 100%{
    opacity: 1;
    text-shadow: 0 0 4px rgba(62, 180, 174, 0.85);
  }
  50%{
    opacity: 1;
    text-shadow:
      0 0 6px rgba(54, 196, 240, 0.85),
      0 0 14px rgba(63, 180, 180, 0.85);
  }
}

/* =========================
   WALTZ LOGO (CHILD)
   ========================= */
.waltz-logo{
  position: absolute;
  left: 50%;
  top: 39%;
  transform: translate(-50%, -50%);

  width: 42%;
  height: auto;
  display: block;

  user-select: none;
  pointer-events: auto;
  cursor: pointer;

  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease-out;
}

.waltz-logo:hover{
  transform: translate(-50%, -50%) scale(1.04);
  filter:
    drop-shadow(0 0 8px rgba(0,255,255,0.45))
    drop-shadow(0 0 18px rgba(0,255,255,0.35));
}

/* =========================
   FONT
   ========================= */
@font-face{
  font-family: "AstroSpace";
  src: url("../assets/fonts/AstroSpace-0Wl3o.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
