/* ============================================
   ICONIC HBAR ENTRY EXPERIENCE
   Cinematic, sacred, minimal
   ============================================ */

/* Entry Elements - Hidden by Default */
.entry-element {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.entry-element.visible {
  opacity: 1;
}

/* Entry Symbol (ℏ) - Top Left */
#entry-symbol {
  position: fixed;
  top: 2.5rem;
  left: 8%;
  z-index: 200;
  font-family: 'EB Garamond', serif;
  font-size: 3rem;
  color: rgba(232, 230, 227, 0.9);
  font-weight: 300;
  cursor: pointer;
}

#entry-symbol.visible {
  opacity: 0.85;
}

/* Hidden Portal Menu */
.portal-menu {
  position: absolute;
  top: 4.5rem;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.portal-menu.active {
  opacity: 1;
  pointer-events: all;
}

.portal-menu a {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: rgba(232, 230, 227, 0.45);
  text-decoration: none;
  letter-spacing: 1px;
  transition: opacity 0.25s ease;
}

.portal-menu a:hover {
  opacity: 0.8;
  color: rgba(232, 230, 227, 0.8);
}

/* Entry Navigation - Top Right */
#entry-nav {
  position: fixed !important;
  top: 2.5rem !important;
  right: 8% !important;
  left: auto !important;
  z-index: 200 !important;
  display: block !important;
  justify-content: flex-end !important;
  align-items: center !important;
  padding: 0 !important;
  width: auto !important;
}

#entry-nav nav {
  display: block;
}

#entry-nav nav ul {
  display: flex !important;
  list-style: none !important;
  gap: 2rem !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
}

#entry-nav nav ul li {
  display: inline-block;
}

#entry-nav nav ul li a {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  color: rgba(232, 230, 227, 0.55) !important;
  text-decoration: none !important;
  letter-spacing: 0.5px !important;
  transition: opacity 0.25s ease !important;
  opacity: 0.55 !important;
}

#entry-nav nav ul li a:hover {
  opacity: 1.0 !important;
  color: #fff !important;
}

/* Entry Title - Center */
#entry-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 0;
  color: #e8e6e3;
}

/* Divider Line - Below Title */
.divider-line {
  width: 120px;
  height: 1px;
  background: rgba(232, 230, 227, 0.05);
  margin: 1.5rem auto;
}

.divider-line.visible {
  opacity: 1;
}

/* Entry Whisper - Below Title */
#entry-whisper {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 2.5px;
  color: rgba(232, 230, 227, 0.85) !important;
  text-transform: lowercase;
  margin-top: 0.5rem;
}

#entry-whisper.visible {
  opacity: 0.85 !important;
}

/* Bottom Corner Anchors */
.corner-anchor {
  position: fixed;
  bottom: 2.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(232, 230, 227, 0.35);
  letter-spacing: 1px;
  z-index: 10;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.corner-anchor:hover {
  opacity: 0.6;
}

.blog-footer {
  right: 8%;
}

.bottom-left-anchor {
  left: 8%;
}

/* Center Text Container */
.center-text {
  text-align: center;
  position: absolute;
  top: 54% !important;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Responsive */
@media (max-width: 768px) {
  #entry-symbol {
    font-size: 2rem;
    left: 5%;
  }

  #entry-nav {
    right: 5%;
  }

  #entry-nav nav ul {
    gap: 1.5rem;
  }

  #entry-nav nav ul li a {
    font-size: 0.875rem;
  }

  #entry-title {
    font-size: 4rem;
  }

  .blog-footer {
    font-size: 2rem;
    right: 5%;
  }
}

@media (max-width: 480px) {
  #entry-symbol {
    font-size: 1.5rem;
  }

  #entry-title {
    font-size: 3rem;
  }

  #entry-nav nav ul {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
  }

  .blog-footer {
    font-size: 1.5rem;
  }
}
