/* MirNova Hub Entry — home page only (/) */

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  overflow: hidden !important;
  background: #020617 !important;
}

.page.page-home,
.page.page-home main {
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

.mn-clean-stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #020617 0%, #06133a 48%, #020617 100%);
}

#mnCleanCanvas {
  position: fixed;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

/* Overlay layer */

/* =========================================================
   HUD NAVIGATION LAYER
   ========================================================= */

.mn-hud-nav {
  position: fixed;
  top: 26px;
  right: clamp(22px, 4vw, 54px);
  z-index: 20;

  display: flex;
  align-items: center;
  gap: 18px;

  pointer-events: auto;
}

.mn-hud-link {
  position: relative;

  color: rgba(235,245,255,.72);
  text-decoration: none;

  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;

  transition:
    color .22s ease,
    opacity .22s ease,
    transform .22s ease;
}

.mn-hud-link:hover {
  color: rgba(255,255,255,.96);
  transform: translateY(-1px);
}

.mn-hud-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;

  width: 100%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(120,220,255,.95),
      transparent
    );

  opacity: 0;
  transform: scaleX(.4);

  transition:
    opacity .22s ease,
    transform .22s ease;
}

.mn-hud-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.mn-hud-divider {
  width: 1px;
  height: 11px;
  background: rgba(180,220,255,.18);
}

@media (max-width: 768px) {
  .mn-hud-nav {
    top: 16px;
    right: 16px;
    gap: 12px;
  }

  .mn-hud-link {
    font-size: 11px;
    letter-spacing: .14em;
  }
}


.mn-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Logo layer */
.mn-logo-block {
  position: absolute;
  left: clamp(54px, 7vw, 120px);
  top: clamp(150px, 23vh, 230px);
  width: min(760px, 56vw);
  pointer-events: none;
}

.mn-logo-svg {
  width: 100%;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 10px rgba(255,255,255,.14))
    drop-shadow(0 0 30px rgba(80,170,255,.16));
}

.mn-svg-main {
  font-family: Orbitron, Inter, system-ui, sans-serif;
  font-size: 118px;
  font-weight: 800;
  letter-spacing: -7px;
}

.mn-svg-sub {
  font-family: Orbitron, Inter, system-ui, sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 18px;
}



.mn-portal-description {
  position: absolute;
  left: clamp(58px, 7vw, 124px);
  top: clamp(430px, 58vh, 540px);

  max-width: 620px;

  pointer-events: none;
}

.mn-portal-kicker {
  margin-bottom: 12px;

  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;

  color: rgba(110, 220, 255, .72);

  text-shadow:
    0 0 12px rgba(0, 210, 255, .22);
}

.mn-portal-text {
  color: rgba(225,238,255,.58);

  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(14px, .95vw, 16px);
  line-height: 1.72;
  font-weight: 450;
  letter-spacing: .01em;

  text-shadow:
    0 0 18px rgba(80,170,255,.08);
}

@media (max-width: 768px) {
  .mn-portal-description {
    left: 20px;
    right: 20px;
    top: 340px;

    max-width: calc(100vw - 40px);
  }

  .mn-portal-kicker {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .mn-portal-text {
    font-size: 13px;
    line-height: 1.68;
  }
}



.mn-portal-action {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 16px;

  color: rgba(220, 250, 255, .96);
  text-decoration: none;

  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .26em;
  text-transform: uppercase;

  pointer-events: auto;

  transition:
    color .22s ease,
    transform .22s ease,
    text-shadow .22s ease;
}

.mn-portal-action:hover {
  color: rgba(250, 254, 255, 1);
  transform: translateX(3px);
  text-shadow:
    0 0 14px rgba(0, 220, 255, .55),
    0 10px 26px rgba(0, 190, 255, .20);
}

.mn-portal-action-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(80, 230, 255, .82);
  box-shadow:
    0 0 10px rgba(80, 230, 255, .92),
    0 0 24px rgba(80, 230, 255, .35);
}

.mn-portal-action::after {
  content: "";
  width: 88px;
  height: 1px;
  margin-left: 8px;
  opacity: .72;
  background: linear-gradient(90deg, rgba(95,230,255,.9), transparent);
  transition:
    opacity .22s ease,
    transform .22s ease;
}

.mn-portal-action:hover::after {
  opacity: 1;
  transform: translateX(14px);
}

@media (max-width: 768px) {
  .mn-portal-action {
    margin-top: 18px;
    font-size: 12px;
    letter-spacing: .20em;
    gap: 12px;
  }

  .mn-portal-action::after {
    width: 56px;
    margin-left: 4px;
  }
}

.mn-svg-beam {
  animation: mnBeamMove 7.2s ease-in-out infinite;
  filter:
    drop-shadow(0 0 10px rgba(0,217,255,.95))
    drop-shadow(0 0 24px rgba(0,217,255,.82))
    drop-shadow(0 0 42px rgba(0,217,255,.55));
}

@keyframes mnBeamMove {
  0% {
    transform: translateX(0) skewX(-14deg);
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  92% {
    transform: translateX(1320px) skewX(-14deg);
    opacity: 1;
  }
  94% {
    opacity: 0;
  }
  100% {
    transform: translateX(1320px) skewX(-14deg);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .mn-logo-block {
    left: 20px;
    right: 20px;
    top: 128px;
    width: calc(100vw - 40px);
  }
}

.mn-about-trigger {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 50;

  display: inline-flex;
  align-items: center;
  gap: 18px;

  border: 0;
  background: transparent;
  color: #e9fbff;

  padding: 10px 0;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;

  cursor: pointer;
  text-shadow: 0 0 14px rgba(0, 220, 255, .48);
}

.mn-about-trigger::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #63f4ff;
  box-shadow: 0 0 18px rgba(0, 220, 255, .95);
  flex: 0 0 auto;
}

.mn-about-trigger::after {
  content: "";
  width: 92px;
  height: 1px;
  background: linear-gradient(90deg, rgba(99, 244, 255, .9), transparent);
  flex: 0 0 auto;
  transition: width .28s ease, opacity .28s ease;
}

.mn-about-trigger:hover::after {
  width: 132px;
}

.mn-about-trigger:hover {
  text-shadow:
    0 0 14px rgba(0, 220, 255, .62),
    0 10px 26px rgba(0, 190, 255, .24);
}

.mn-about-trigger:focus-visible {
  outline: none;
  text-shadow:
    0 0 14px rgba(0, 220, 255, .72),
    0 10px 30px rgba(0, 190, 255, .34);
}

.mn-about-panel {
  position: fixed;
  inset: 0;
  z-index: 80;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  background: rgba(1,5,14,0);
  backdrop-filter: blur(0);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .42s ease,
    visibility .42s ease,
    background .42s ease,
    backdrop-filter .42s ease;
}

.mn-about-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: rgba(1,5,14,.58);
  backdrop-filter: blur(10px);
}

.mn-about-card {
  position: relative;
  width: min(620px, 92vw);
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;

  padding: clamp(64px, 8vh, 90px) 56px 48px;

  background:
    radial-gradient(circle at 20% 20%, rgba(50,140,255,.18), transparent 34%),
    rgba(3,8,20,.92);

  border-left: 1px solid rgba(120,190,255,.22);
  box-shadow: -40px 0 90px rgba(0,0,0,.45);

  transform: translateX(34px);
  opacity: .88;
  transition:
    transform .52s cubic-bezier(.16, 1, .3, 1),
    opacity .42s ease;
}

.mn-about-panel.is-open .mn-about-card {
  transform: translateX(0);
  opacity: 1;
}

.mn-about-close {
  position: absolute;
  top: 32px;
  right: 36px;

  border: 0;
  background: transparent;
  color: #dff7ff;

  font-size: 32px;
  cursor: pointer;
}

.mn-about-kicker {
  font-size: 11px;
  letter-spacing: .42em;
  color: #66e7ff;
  margin-bottom: 36px;
}

.mn-about-card h2 {
  margin: 0 0 34px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.05;
  font-weight: 300;
  color: white;
}

.mn-about-card p {
  max-width: 480px;
  margin: 0 0 22px;

  font-size: 18px;
  line-height: 1.75;
  color: rgba(220,235,255,.72);
}

.mn-about-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;

  margin-top: 18px;
  padding: 12px 0;

  border: 0;
  background: transparent;

  color: #e9fbff;
  text-decoration: none;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(0, 220, 255, .42);
}

.mn-about-cta::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #63f4ff;
  box-shadow: 0 0 18px rgba(0, 220, 255, .95);
  flex: 0 0 auto;
}

.mn-about-cta::after {
  content: "";
  width: 92px;
  height: 1px;
  background: linear-gradient(90deg, rgba(99, 244, 255, .9), transparent);
  flex: 0 0 auto;
  transition: width .28s ease, opacity .28s ease;
}

.mn-about-cta:hover::after {
  width: 132px;
}

.mn-about-cta:hover {
  text-shadow:
    0 0 14px rgba(0, 220, 255, .62),
    0 10px 26px rgba(0, 190, 255, .24);
}

.mn-about-cta:focus-visible {
  outline: none;
  text-shadow:
    0 0 14px rgba(0, 220, 255, .72),
    0 10px 30px rgba(0, 190, 255, .34);
}

@media (max-width: 768px) {
  .mn-about-trigger {
    right: 20px;
    bottom: 24px;
    padding: 12px 0;
    font-size: 11px;
    letter-spacing: .26em;
  }

  .mn-about-trigger::after,
  .mn-about-cta::after {
    width: 64px;
  }

  .mn-about-trigger:hover::after,
  .mn-about-cta:hover::after {
    width: 92px;
  }

  .mn-about-panel {
    align-items: stretch;
  }

  .mn-about-card {
    width: 100vw;
    height: 100vh;
    padding: 72px 26px 40px;
    border-left: 0;
  }

  .mn-about-card h2 {
    font-size: clamp(34px, 13vw, 54px);
    line-height: 1.04;
    margin-bottom: 26px;
  }

  .mn-about-card p {
    font-size: 16px;
    line-height: 1.65;
  }

  .mn-about-close {
    top: 24px;
    right: 24px;
  }
}

/* Top story panel opened from HUD nav */
.mn-hud-link.mn-blog-trigger {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.mn-blog-panel {
  position: fixed;
  inset: 0;
  z-index: 85;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  background: rgba(1,5,14,0);
  backdrop-filter: blur(0);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .48s ease,
    visibility .48s ease,
    background .48s ease,
    backdrop-filter .48s ease;
}

.mn-blog-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: rgba(1,5,14,.54);
  backdrop-filter: blur(10px);
}

.mn-blog-card {
  position: relative;
  width: min(980px, calc(100vw - 42px));
  max-height: min(82vh, 760px);
  overflow-y: auto;

  margin-top: 28px;
  padding: clamp(44px, 6vh, 72px) clamp(28px, 5vw, 70px) 44px;

  background:
    radial-gradient(circle at 50% 0%, rgba(80,180,255,.18), transparent 38%),
    rgba(3,8,20,.93);

  border: 1px solid rgba(120,190,255,.20);
  border-top-color: rgba(120,220,255,.42);
  box-shadow:
    0 32px 110px rgba(0,0,0,.48),
    0 0 70px rgba(0,170,255,.10);

  transform: translateY(-34px) scale(.985);
  opacity: .88;

  transition:
    transform .58s cubic-bezier(.16, 1, .3, 1),
    opacity .46s ease;
}

.mn-blog-panel.is-open .mn-blog-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.mn-blog-close {
  position: absolute;
  top: 26px;
  right: 30px;

  border: 0;
  background: transparent;
  color: #dff7ff;

  font-size: 32px;
  cursor: pointer;
}

.mn-blog-card h2 {
  max-width: 820px;
  margin: 0 0 30px;

  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
  font-weight: 300;
  color: white;
}

.mn-blog-card p {
  max-width: 760px;
  margin: 0 0 20px;

  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.72;
  color: rgba(220,235,255,.74);
}

@media (max-width: 768px) {
  .mn-blog-card {
    width: 100vw;
    max-height: 100vh;
    min-height: 100vh;
    margin-top: 0;
    padding: 72px 26px 40px;
    border-left: 0;
    border-right: 0;
  }

  .mn-blog-card h2 {
    font-size: clamp(36px, 12vw, 58px);
  }

  .mn-blog-card p {
    font-size: 16px;
    line-height: 1.65;
  }

  .mn-blog-close {
    top: 24px;
    right: 24px;
  }
}

/* Blog panel scrollbar cleanup */

.mn-blog-card {
  scrollbar-width: thin;
  scrollbar-color: rgba(90,190,255,.35) transparent;
}

.mn-blog-card::-webkit-scrollbar {
  width: 6px;
}

.mn-blog-card::-webkit-scrollbar-track {
  background: transparent;
}

.mn-blog-card::-webkit-scrollbar-thumb {
  background: rgba(90,190,255,.26);
  border-radius: 999px;
}

.mn-blog-card::-webkit-scrollbar-thumb:hover {
  background: rgba(120,220,255,.42);
}

/* smoother reading space */

.mn-blog-card {
  width: min(1080px, calc(100vw - 36px));
  padding-bottom: 80px;
}

.mn-blog-card p {
  max-width: 820px;
  color: rgba(220,235,255,.68);
}

/* softer top atmosphere */

.mn-blog-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at top,
    rgba(120,200,255,.10),
    transparent 42%);

  pointer-events: none;
}


/* Story layout */

.mn-story-block {
  max-width: 860px;
}

.mn-story-label {
  margin-bottom: 18px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;

  color: rgba(110,220,255,.72);
}

.mn-story-divider {
  width: 100%;
  max-width: 860px;
  height: 1px;

  margin: 34px 0;

  background:
    linear-gradient(
      90deg,
      rgba(90,190,255,.28),
      transparent 82%
    );

  opacity: .7;
}

.mn-blog-card p {
  max-width: 820px;

  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.82;

  color: rgba(220,235,255,.72);
}
