/* ==========================================================================
   07. BEYOND CODE HOLOGRAM, CAPSULE & HUD CALLOUTS
   ========================================================================== */

.hologram-scroll-track {
  position: relative;
  z-index: 2;
  height: 360vh;
  width: 100%;
}

.hologram-sticky-stage {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  --holo-color: #00ff66;
  --holo-glow: rgba(0, 255, 102, 0.42);
  background:
    radial-gradient(ellipse at 35% 55%, rgba(0, 255, 102, 0.11), transparent 60%),
    linear-gradient(180deg, rgba(2, 6, 4, 0.92) 0%, rgba(5, 14, 9, 0.96) 100%);
  transition: background 0.45s ease;
}

.hologram-sticky-stage[data-mode="designer"] {
  --holo-color: #ff4df0;
  --holo-glow: rgba(255, 77, 240, 0.45);
  background:
    radial-gradient(ellipse at 35% 55%, rgba(255, 77, 240, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(6, 2, 7, 0.92) 0%, rgba(14, 5, 15, 0.96) 100%);
}

.hologram-sticky-stage[data-mode="cyber"] {
  --holo-color: #00f0ff;
  --holo-glow: rgba(0, 240, 255, 0.45);
  background:
    radial-gradient(ellipse at 35% 55%, rgba(0, 240, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(2, 6, 8, 0.92) 0%, rgba(4, 13, 18, 0.96) 100%);
}

.holo-header-overlay {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  text-align: center;
  pointer-events: none;
  width: 92%;
}

.holo-header-overlay .glow-divider {
  margin: 0 auto;
}

.holo-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 6vw, 95px);
  width: 100%;
  max-width: 1200px;
  padding: 60px 28px 20px;
  z-index: 10;
}

.holo-projector-zone {
  position: relative;
  width: 340px;
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.holo-light-cone {
  position: absolute;
  bottom: 48px;
  width: 320px;
  height: 350px;
  background: linear-gradient(0deg,
      var(--holo-color) 0%,
      var(--holo-glow) 35%,
      transparent 100%);
  opacity: 0.28;
  clip-path: polygon(28% 100%, 72% 100%, 100% 0%, 0% 0%);
  pointer-events: none;
  filter: blur(2px);
  transform-origin: bottom center;
  transition: background 0.35s ease, transform 0.28s ease, opacity 0.28s ease;
}

.holo-projector-zone.retracting .holo-light-cone {
  transform: scaleY(0.08) scaleX(0.35);
  opacity: 0.75;
}

.holo-projector-zone.emerging .holo-light-cone {
  animation: coneBurstOut 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes coneBurstOut {
  0% {
    transform: scaleY(0.08) scaleX(0.35);
    opacity: 0.9;
  }

  60% {
    transform: scaleY(1.06) scaleX(1.05);
    opacity: 0.45;
  }

  100% {
    transform: scaleY(1) scaleX(1);
    opacity: 0.28;
  }
}

.holo-rings {
  position: absolute;
  bottom: 52px;
  width: 240px;
  height: 295px;
  pointer-events: none;
  z-index: 7;
  background: repeating-linear-gradient(0deg,
      transparent 0px,
      transparent 28px,
      var(--holo-glow) 29px,
      transparent 31px);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 100%);
  animation: ringsRise 2s linear infinite;
}

@keyframes ringsRise {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 -31px;
  }
}

.holo-laser-scanner {
  position: absolute;
  bottom: 54px;
  width: 260px;
  height: 4px;
  background: #ffffff;
  box-shadow:
    0 0 12px 3px var(--holo-color),
    0 0 28px 6px var(--holo-color);
  border-radius: 999px;
  opacity: 0;
  z-index: 20;
  pointer-events: none;
}

.holo-laser-scanner.scanning {
  animation: laserSweepUp 0.46s cubic-bezier(0.2, 0.85, 0.3, 1) forwards;
}

@keyframes laserSweepUp {
  0% {
    bottom: 54px;
    width: 110px;
    opacity: 1;
  }

  75% {
    bottom: 350px;
    width: 270px;
    opacity: 0.95;
  }

  100% {
    bottom: 375px;
    width: 280px;
    opacity: 0;
  }
}

.holo-figure-frame {
  position: relative;
  width: 270px;
  height: 310px;
  margin-bottom: 6px;
  z-index: 6;
  overflow: hidden;
  filter:
    drop-shadow(0 0 12px var(--holo-color)) drop-shadow(0 0 24px var(--holo-glow));
}

.holo-figure-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      rgba(0, 0, 0, 0.4) 0px,
      rgba(0, 0, 0, 0.4) 2px,
      transparent 2px,
      transparent 5px);
  pointer-events: none;
  z-index: 15;
  mix-blend-mode: multiply;
}

.holo-avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  image-rendering: pixelated;
  transform-origin: 50% 100%;
  opacity: 0;
  transform: translateY(105%) scaleX(0.15) scaleY(0.05);
  pointer-events: none;
  will-change: transform, opacity, filter;
}

.holo-avatar-img.is-visible {
  opacity: 0.93;
  transform: translateY(0) scaleX(1) scaleY(1);
  filter: contrast(1.18) brightness(1.06);
  animation: holoIdleFloat 2.6s ease-in-out infinite alternate;
}

@keyframes holoIdleFloat {
  0% {
    transform: translateY(0px) scale(1);
  }

  100% {
    transform: translateY(-8px) scale(1);
  }
}

.holo-avatar-img.is-retracting {
  animation: holoRetractIntoBox 0.28s cubic-bezier(0.55, 0.05, 0.85, 0.25) forwards !important;
}

@keyframes holoRetractIntoBox {
  0% {
    opacity: 0.93;
    transform: translateY(0) scaleX(1) scaleY(1);
    filter: brightness(1.2) contrast(1.2);
  }

  40% {
    opacity: 1;
    transform: translateY(18%) scaleX(0.55) scaleY(0.85) skewX(6deg);
    filter: brightness(2.4) drop-shadow(0 0 18px var(--holo-color));
  }

  100% {
    opacity: 0;
    transform: translateY(105%) scaleX(0.08) scaleY(0.02);
    filter: brightness(3.5) blur(2px);
  }
}

.holo-avatar-img.is-emerging {
  animation: holoEmergeFromBox 0.46s cubic-bezier(0.18, 1.15, 0.32, 1) forwards !important;
}

@keyframes holoEmergeFromBox {
  0% {
    opacity: 0;
    transform: translateY(105%) scaleX(0.08) scaleY(0.02);
    filter: brightness(3.5) blur(2px);
  }

  35% {
    opacity: 0.95;
    transform: translateY(25%) scaleX(0.48) scaleY(0.82) skewX(-5deg);
    filter: brightness(2.5) drop-shadow(0 0 22px var(--holo-color));
  }

  75% {
    opacity: 1;
    transform: translateY(-4px) scaleX(1.04) scaleY(1.02) skewX(2deg);
    filter: brightness(1.4) contrast(1.2);
  }

  100% {
    opacity: 0.93;
    transform: translateY(0) scaleX(1) scaleY(1) skewX(0deg);
    filter: contrast(1.18) brightness(1.06);
  }
}

.holo-emitter-box {
  position: relative;
  width: 235px;
  height: 48px;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.holo-box-aperture {
  width: 195px;
  height: 14px;
  background: radial-gradient(ellipse at center, #ffffff 15%, var(--holo-color) 65%, #07120c 100%);
  border: 2px solid var(--holo-color);
  border-radius: 50%;
  box-shadow:
    0 0 22px 4px var(--holo-color),
    inset 0 0 10px #ffffff;
  z-index: 2;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.holo-emitter-box.box-pulse .holo-box-aperture {
  transform: scaleX(1.12) scaleY(1.35);
  box-shadow:
    0 0 38px 12px var(--holo-color),
    0 -12px 30px 6px #ffffff;
}

.holo-box-body {
  width: 235px;
  height: 36px;
  margin-top: -6px;
  background: linear-gradient(180deg, #1b2822 0%, #09100d 100%);
  border: 2px solid var(--holo-color);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.85),
    0 0 18px var(--holo-glow),
    inset 0 0 12px rgba(0, 255, 102, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 22px 0;
  clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.holo-box-label {
  font-family: 'Silkscreen', monospace;
  font-size: 10px;
  color: var(--holo-color);
  letter-spacing: 1px;
  text-shadow: 0 0 6px var(--holo-color);
}

.holo-box-led {
  width: 8px;
  height: 8px;
  background: var(--holo-color);
  box-shadow: 0 0 8px var(--holo-color);
}

.holo-dialogue-card {
  position: relative;
  width: min(560px, 100%);
  background-color: rgba(6, 15, 10, 0.92);
  background-image:
    linear-gradient(rgba(0, 255, 102, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 102, 0.04) 1px, transparent 1px);
  background-size: 6px 6px;
  border: 2px solid var(--holo-color);
  padding: 28px 30px;
  box-shadow:
    0 0 28px var(--holo-glow),
    inset 0 0 20px rgba(0, 255, 102, 0.05);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.25s ease;
  clip-path: polygon(0px 10px, 10px 10px, 10px 0px,
      calc(100% - 10px) 0px, calc(100% - 10px) 10px, 100% 10px,
      100% calc(100% - 10px), calc(100% - 10px) calc(100% - 10px), calc(100% - 10px) 100%,
      10px 100%, 10px calc(100% - 10px), 0px calc(100% - 10px));
}

.holo-dialogue-card.card-switching {
  animation: holoCardPulse 0.35s steps(4);
}

@keyframes holoCardPulse {
  0% {
    opacity: 0.45;
    transform: translateY(8px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.holo-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1.5px dashed rgba(255, 255, 255, 0.16);
}

.holo-mode-badge {
  font-family: 'Silkscreen', monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: #041408;
  background: var(--holo-color);
  padding: 4px 12px;
  letter-spacing: 0.5px;
  transition: background 0.4s ease;
}

.holo-freq {
  font-family: 'VT323', monospace;
  font-size: 18px;
  color: var(--holo-color);
  letter-spacing: 1px;
}

.holo-role-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.45;
  text-shadow: 2px 2px 0 #041208;
}

.holo-main-quote {
  font-family: 'Share Tech Mono', monospace;
  font-size: 17px;
  line-height: 1.6;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border-left: 4px solid var(--holo-color);
  padding: 12px 16px;
  margin-bottom: 14px;
  text-shadow: 0 0 10px var(--holo-glow);
  transition: border-color 0.4s ease;
}

.holo-subtext {
  font-family: 'Share Tech Mono', monospace;
  font-size: 15px;
  line-height: 1.55;
  color: #b8c9be;
  margin-bottom: 18px;
}

.holo-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.holo-tag {
  font-family: 'Silkscreen', monospace;
  font-size: 11.5px;
  color: var(--holo-color);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--holo-color);
  padding: 5px 10px;
}

.holo-dots-nav {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(6, 14, 9, 0.92);
  border: 1px solid rgba(0, 255, 102, 0.35);
  padding: 7px 14px;
  border-radius: 30px;
}

.holo-dot-btn {
  font-family: 'Silkscreen', monospace;
  font-size: 11.5px;
  color: #8fa395;
  background: transparent;
  border: none;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.2s;
}

.holo-dot-btn.active {
  color: #041408;
  background: var(--holo-color);
  font-weight: 700;
  box-shadow: 0 0 12px var(--holo-color);
}



#hologramTrack .relative { position: relative; }
#hologramTrack .absolute { position: absolute; }
#hologramTrack .fixed { position: fixed; }
#hologramTrack .sticky { position: sticky; }
#hologramTrack .inset-0 { inset: 0; }
#hologramTrack .inset-8 { inset: 2rem; }
#hologramTrack .top-0 { top: 0; }
#hologramTrack .left-0 { left: 0; }
#hologramTrack .bottom-6 { bottom: 1.5rem; }
#hologramTrack .left-1\/2 { left: 50%; }
#hologramTrack .-translate-x-1\/2 { transform: translateX(-50%); }
#hologramTrack .z-0 { z-index: 0; }
#hologramTrack .z-10 { z-index: 10; }
#hologramTrack .z-20 { z-index: 20; }
#hologramTrack .z-25 { z-index: 25; }
#hologramTrack .z-30 { z-index: 30; }
#hologramTrack .z-40 { z-index: 40; }
#hologramTrack .z-50 { z-index: 50; }
#hologramTrack .w-full { width: 100%; }
#hologramTrack .h-full { height: 100%; }
#hologramTrack .h-screen { height: 100vh; }
#hologramTrack .max-w-full { max-width: 100%; }
#hologramTrack .max-h-full { max-height: 100%; }
#hologramTrack .flex { display: flex; }
#hologramTrack .flex-1 { flex: 1 1 0%; }
#hologramTrack .flex-col { flex-direction: column; }
#hologramTrack .flex-wrap { flex-wrap: wrap; }
#hologramTrack .items-center { align-items: center; }
#hologramTrack .justify-center { justify-content: center; }
#hologramTrack .justify-between { justify-content: space-between; }
#hologramTrack .shrink-0 { flex-shrink: 0; }
#hologramTrack .gap-1\.5 { gap: 0.35rem; }
#hologramTrack .gap-2\.5 { gap: 0.5rem; }
#hologramTrack .overflow-hidden { overflow: hidden; }
#hologramTrack .overflow-visible { overflow: visible; }
#hologramTrack .object-cover { object-fit: cover; }
#hologramTrack .object-contain { object-fit: contain; }
#hologramTrack .pointer-events-none { pointer-events: none; }
#hologramTrack .pointer-events-auto { pointer-events: auto; }
#hologramTrack .opacity-0 { opacity: 0; }
#hologramTrack .opacity-45 { opacity: 0.45; }
#hologramTrack .opacity-95 { opacity: 0.95; }
#hologramTrack .opacity-100 { opacity: 1; }
#hologramTrack .p-2\.5 { padding: 0.45rem 0.55rem; }
#hologramTrack .p-4 { padding: 0.85rem; }
#hologramTrack .px-1\.5 { padding-left: 0.35rem; padding-right: 0.35rem; }
#hologramTrack .px-2 { padding-left: 0.45rem; padding-right: 0.45rem; }
#hologramTrack .py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
#hologramTrack .py-1 { padding-top: 0.2rem; padding-bottom: 0.2rem; }
#hologramTrack .pb-2\.5 { padding-bottom: 0.55rem; }
#hologramTrack .pt-2\.5 { padding-top: 0.55rem; }
#hologramTrack .mt-1 { margin-top: 0.15rem; }
#hologramTrack .mt-3 { margin-top: 0.65rem; }
#hologramTrack .mb-3 { margin-bottom: 0.65rem; }
#hologramTrack .w-8 { width: 1.75rem; }
#hologramTrack .h-8 { height: 1.75rem; }
#hologramTrack .w-5 { width: 1.05rem; }
#hologramTrack .h-5 { height: 1.05rem; }
#hologramTrack .w-2\.5 { width: 0.55rem; }
#hologramTrack .h-2\.5 { height: 0.55rem; }
#hologramTrack .text-white { color: #ffffff; }
#hologramTrack .font-bold { font-weight: 700; }
#hologramTrack .font-medium { font-weight: 500; }
#hologramTrack .uppercase { text-transform: uppercase; }
#hologramTrack .leading-tight { line-height: 1.15; min-width: 0; flex: 1; }
#hologramTrack .leading-relaxed { line-height: 1.5; }

#hologramTrack .cyber-callout-card {
  position: absolute;
  background-color: #06140b !important;
  background-image:
    linear-gradient(rgba(0, 255, 102, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 102, 0.05) 1px, transparent 1px) !important;
  background-size: 4px 4px !important;
  border: 1.5px solid var(--neon-border) !important;
  border-radius: 0 !important;
  padding: 7px 9px !important;
  gap: 8px !important;
  box-shadow: 3px 3px 0 #020804, inset 0 0 0 1.5px #0b2915 !important;
  clip-path: polygon(
    0px 5px, 5px 5px, 5px 0px,
    calc(100% - 5px) 0px, calc(100% - 5px) 5px, 100% 5px,
    100% calc(100% - 5px), calc(100% - 5px) calc(100% - 5px), calc(100% - 5px) 100%,
    5px 100%, 5px calc(100% - 5px), 0px calc(100% - 5px)
  ) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease, box-shadow 0.18s ease !important;
  cursor: pointer;
}

#hologramTrack .cyber-callout-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: none !important;
  clip-path: none !important;
  background:
    linear-gradient(#5eff65, #5eff65) 0 0 / 3px 3px no-repeat,
    linear-gradient(#5eff65, #5eff65) 100% 0 / 3px 3px no-repeat,
    linear-gradient(#5eff65, #5eff65) 0 100% / 3px 3px no-repeat,
    linear-gradient(#5eff65, #5eff65) 100% 100% / 3px 3px no-repeat !important;
}

#hologramTrack .cyber-callout-card:hover,
#hologramTrack .cyber-callout-card.active-card {
  border-color: #ffe600 !important;
  background-color: #0b2213 !important;
  box-shadow: 3px 3px 0 #000000, 0 0 14px rgba(255, 230, 0, 0.4), inset 0 0 0 1.5px rgba(255, 230, 0, 0.3) !important;
  transform: translateY(-2px) !important;
}

#hologramTrack .cyber-callout-card > div:first-child {
  width: 28px !important;
  height: 28px !important;
  background: #040d07 !important;
  border: 1.5px solid #1f5c32 !important;
  border-radius: 0 !important;
  box-shadow: inset 0 0 0 1.5px #020603, 2px 2px 0 #000000 !important;
  clip-path: polygon(
    0px 3px, 3px 3px, 3px 0px,
    calc(100% - 3px) 0px, calc(100% - 3px) 3px, 100% 3px,
    100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%,
    3px 100%, 3px calc(100% - 3px), 0px calc(100% - 3px)
  );
}

#hologramTrack .cyber-callout-card > div:first-child svg {
  width: 16px !important;
  height: 16px !important;
}

#card-cyber { left: 2%; top: 11%; width: 164px; }
#card-net { right: 2%; top: 19%; width: 164px; }
#card-design { left: 2%; top: 43%; width: 164px; }
#card-problem { right: 2%; top: 50%; width: 164px; }

#card-cyber .leading-tight > div:first-child,
#card-net .leading-tight > div:first-child,
#card-design .leading-tight > div:first-child,
#card-problem .leading-tight > div:first-child {
  font-family: 'Silkscreen', monospace !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-shadow: 1px 1px 0 #020804 !important;
  letter-spacing: 0px !important;
  line-height: 1.15 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#card-cyber .leading-tight > div:last-child,
#card-net .leading-tight > div:last-child,
#card-design .leading-tight > div:last-child,
#card-problem .leading-tight > div:last-child {
  font-family: 'Share Tech Mono', monospace !important;
  font-size: 10.5px !important;
  margin-top: 2px !important;
  letter-spacing: 0.2px !important;
  line-height: 1.1 !important;
  text-shadow: 1px 1px 0 #000000 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#card-cyber .leading-tight > div:last-child { color: #5eff65 !important; }
#card-net .leading-tight > div:last-child { color: #00f0ff !important; }
#card-design .leading-tight > div:last-child { color: #ffcc00 !important; }
#card-problem .leading-tight > div:last-child { color: #c084fc !important; }

@media (max-width: 900px) {
  #hologramTrack .beyond-header-overlay .section-title {
    font-size: clamp(16px, 4.5vw, 21px) !important;
    margin-bottom: 8px !important;
  }

  #hologramTrack .beyond-header-overlay .glow-divider {
    width: min(72vw, 240px) !important;
    margin-bottom: 6px !important;
  }

  #character-callouts-hud {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 350px !important;
    margin: 0 auto !important;
  }

  #hologramTrack .cyber-callout-card {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    padding: 6px 8px !important;
    gap: 7px !important;
    opacity: 1 !important;
    transform: none !important;
  }

  #hologramTrack .cyber-callout-card > div:first-child {
    width: 24px !important;
    height: 24px !important;
  }

  #hologramTrack .cyber-callout-card > div:first-child svg {
    width: 14px !important;
    height: 14px !important;
  }

  #card-cyber .leading-tight > div:first-child,
  #card-net .leading-tight > div:first-child,
  #card-design .leading-tight > div:first-child,
  #card-problem .leading-tight > div:first-child {
    font-size: 10px !important;
  }

  #card-cyber .leading-tight > div:last-child,
  #card-net .leading-tight > div:last-child,
  #card-design .leading-tight > div:last-child,
  #card-problem .leading-tight > div:last-child {
    font-size: 9.5px !important;
    margin-top: 1px !important;
  }
}

@media (max-width: 380px) {
  #character-callouts-hud {
    max-width: 310px !important;
    gap: 6px !important;
  }
  #hologramTrack .cyber-callout-card {
    padding: 5px 6px !important;
    gap: 5px !important;
  }
  #card-cyber .leading-tight > div:first-child,
  #card-net .leading-tight > div:first-child,
  #card-design .leading-tight > div:first-child,
  #card-problem .leading-tight > div:first-child {
    font-size: 9px !important;
  }
  #card-cyber .leading-tight > div:last-child,
  #card-net .leading-tight > div:last-child,
  #card-design .leading-tight > div:last-child,
  #card-problem .leading-tight > div:last-child {
    font-size: 8.5px !important;
  }
}

#skill-dialog-modal.cyber-dialog-box {
  width: min(620px, 92vw) !important;
  background-color: #051109 !important;
  background-image:
    linear-gradient(rgba(0, 255, 102, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 102, 0.05) 1px, transparent 1px) !important;
  background-size: 6px 6px !important;
  border: 2.5px solid var(--dialog-accent, #00ff66) !important;
  box-shadow: 0 0 0 2px #020804, 6px 6px 0 rgba(0, 0, 0, 0.85), inset 0 0 0 1.5px #12381e !important;
  backdrop-filter: none !important;
  clip-path: polygon(
    0px 8px, 8px 8px, 8px 0px,
    calc(100% - 8px) 0px, calc(100% - 8px) 8px, 100% 8px,
    100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%,
    8px 100%, 8px calc(100% - 8px), 0px calc(100% - 8px)
  ) !important;
  transform: translate(-50%, 1.5rem);
  z-index: 9999 !important;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#skill-dialog-modal.translate-y-0 {
  transform: translate(-50%, 0) !important;
}

#dialog-dot {
  border-radius: 0 !important;
  width: 8px !important;
  height: 8px !important;
  box-shadow: 2px 2px 0 #000 !important;
}

#dialog-step-badge {
  font-family: 'Silkscreen', monospace !important;
  font-size: 10px !important;
  background: #091e10 !important;
  border: 1.5px solid var(--dialog-accent, #00ff66) !important;
  color: #ffe680 !important;
  padding: 2px 6px !important;
  box-shadow: 2px 2px 0 #000000 !important;
}

#dialog-title {
  font-family: 'Silkscreen', monospace !important;
  font-size: clamp(11px, 3vw, 13.5px) !important;
  font-weight: 700 !important;
  text-shadow: 1px 1px 0 #000000 !important;
}

#dialog-prev-btn,
#dialog-next-btn,
#dialog-close-btn {
  font-family: 'Silkscreen', monospace !important;
  font-size: 10px !important;
  color: #e2f5e8 !important;
  background: #0a1c10 !important;
  border: 1.5px solid #286e34 !important;
  padding: 3px 7px !important;
  box-shadow: 2px 2px 0 #000000 !important;
  cursor: pointer;
  transition: transform 0.1s steps(2), background 0.1s steps(2), border-color 0.1s steps(2) !important;
}

#dialog-prev-btn:hover,
#dialog-next-btn:hover {
  background: var(--neon) !important;
  color: #031006 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}

#dialog-close-btn:hover {
  background: #ff4444 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}

#skill-dialog-modal .dialog-body-font {
  font-family: 'Share Tech Mono', monospace !important;
  font-size: clamp(13px, 3.4vw, 14.5px) !important;
  color: #e9f5ec !important;
  line-height: 1.45 !important;
  min-height: 25px !important;
}

@keyframes tagStaggerReveal {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#dialog-tags span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 25px !important;
  height: 25px !important;
  font-family: 'VT323', monospace !important;
  font-size: 13.5px !important;
  line-height: 1 !important;
  letter-spacing: 0.3px !important;
  background: #09170e !important;
  border: 1.5px solid var(--dialog-accent, #00ff66) !important;
  color: #ffffff !important;
  padding: 0 8px !important;
  box-shadow: 2px 2px 0 #000000 !important;
  opacity: 0;
  animation: tagStaggerReveal 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
  clip-path: polygon(
    0px 3px, 3px 3px, 3px 0px,
    calc(100% - 3px) 0px, calc(100% - 3px) 3px, 100% 3px,
    100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%,
    3px 100%, 3px calc(100% - 3px), 0px calc(100% - 3px)
  );
}

#dialog-tags span:nth-child(1) { animation-delay: 0.06s !important; }
#dialog-tags span:nth-child(2) { animation-delay: 0.16s !important; }
#dialog-tags span:nth-child(3) { animation-delay: 0.26s !important; }
#dialog-tags span:nth-child(4) { animation-delay: 0.36s !important; }
#dialog-tags span:nth-child(5) { animation-delay: 0.46s !important; }
#dialog-tags span:nth-child(6) { animation-delay: 0.56s !important; }

#callout-lines-svg polyline,
#callout-lines-svg rect {
  shape-rendering: crispEdges !important;
}



/* ==========================================================================
   إنزال الكبسولة والشخصية في قسم BEYOND CODE مسافة كافية أسفل العنوان
   ========================================================================== */

#hologramTrack .beyond-header-overlay {
  top: 86px !important;
  z-index: 45 !important;
}

#hologramTrack .beyond-header-overlay .section-title {
  color: #ffffff !important;
  margin-bottom: 14px !important;
}

#hologramTrack #sticky-viewport > main {
  padding-top: clamp(145px, 19vh, 195px) !important;
  box-sizing: border-box !important;
}

#hologramTrack #camera-stage {
  margin-top: clamp(30px, 4.5vh, 60px) !important;
}

#hologramTrack #capsule-unit {
  width: min(82vw, 400px) !important;
  height: min(60vh, 480px) !important;
  margin-top: clamp(20px, 3vh, 45px) !important;
}

