/* ==========================================================================
   CINEMATIC GALAXY & EARTH THEME
   - Organized Structure & Scaffolding
   - Fixed Horizon Earth & Mobile Responsive Tooltip
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CORE VARIABLES & BASE STYLES
   -------------------------------------------------------------------------- */
:root {
  --galaxy-bg: #010207;
  --mouse-x: 0px;
  --mouse-y: 0px;
}

html,
body {
  min-height: 100%;
}

body {
  background: radial-gradient(
    ellipse at 50% 50%,
    #080d20 0%,
    #02040d 42%,
    #000105 100%
  ) !important;
  color: #e7eaf3;
  overflow-x: hidden;
}

/* Custom Font Definition */
@font-face {
  font-family: "Ombudsman Alternat";
  src:
    url("fonts/OmbudsmanAlternat.woff2") format("woff2"),
    url("fonts/OmbudsmanAlternat.woff") format("woff"),
    url("fonts/OmbudsmanAlternat.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* Container overflow fix for tooltips */
.row,
[class*="col-"],
.galaxy-tooltip-wrapper {
  overflow: visible !important;
}

/* --------------------------------------------------------------------------
   2. GALAXY BACKGROUND & PARALLAX LAYERS
   -------------------------------------------------------------------------- */
.galaxy-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 48%,
    rgba(32, 43, 92, 0.18) 0%,
    rgba(5, 9, 25, 0.45) 42%,
    rgba(0, 0, 0, 0.92) 100%
  );
  transform: translateZ(0);
}

/* Layer 1 — Deep Space Nebula Glow */
.galaxy-layer-1 {
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(
      ellipse at 12% 25%,
      rgba(30, 75, 155, 0.18),
      transparent 38%
    ),
    radial-gradient(
      ellipse at 88% 70%,
      rgba(105, 45, 155, 0.16),
      transparent 42%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(25, 50, 120, 0.14),
      transparent 65%
    );
  transform: translate3d(
    calc(var(--mouse-x) * -0.01),
    calc(var(--mouse-y) * -0.01),
    0
  );
  transition: transform 1.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* Layer 2 — Milky Way Main Core */
.galaxy-layer-2 {
  position: absolute;
  width: 190%;
  height: 190%;
  top: -45%;
  left: -45%;
  opacity: 0.95;
  transform: rotate(-22deg)
    translate3d(calc(var(--mouse-x) * -0.025), calc(var(--mouse-y) * -0.025), 0);
  transition: transform 1.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.galaxy-layer-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 82% 25% at 50% 50%,
    rgba(225, 235, 255, 0.15) 0%,
    rgba(170, 195, 255, 0.11) 18%,
    rgba(105, 135, 210, 0.075) 35%,
    rgba(70, 90, 165, 0.045) 50%,
    transparent 76%
  );
  filter: blur(24px);
}

.galaxy-layer-2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 76% 8% at 50% 50%,
    rgba(255, 255, 255, 0.19) 0%,
    rgba(220, 230, 255, 0.13) 18%,
    rgba(165, 185, 240, 0.07) 36%,
    transparent 68%
  );
  filter: blur(9px);
}

/* Dark Dust Lanes */
.galaxy-dust {
  position: absolute;
  width: 175%;
  height: 175%;
  top: -38%;
  left: -38%;
  transform: rotate(-22deg)
    translate3d(calc(var(--mouse-x) * -0.03), calc(var(--mouse-y) * -0.03), 0);
  background:
    radial-gradient(
      ellipse 70% 5% at 45% 48%,
      rgba(0, 0, 0, 0.32),
      transparent 65%
    ),
    radial-gradient(
      ellipse 65% 4% at 60% 53%,
      rgba(0, 0, 0, 0.24),
      transparent 70%
    );
  filter: blur(5px);
  opacity: 0.8;
  transition: transform 1.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* Nebula Accent */
.galaxy-nebula {
  position: absolute;
  width: 110vw;
  height: 55vw;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-22deg);
  background: radial-gradient(
    ellipse at center,
    rgba(95, 110, 255, 0.075),
    rgba(70, 90, 190, 0.045) 28%,
    rgba(80, 40, 140, 0.025) 48%,
    transparent 72%
  );
  filter: blur(38px);
  opacity: 0.8;
}

/* Center Safe Vignette */
.galaxy-center-vignette {
  position: absolute;
  z-index: 3;
  width: 80%;
  height: 75%;
  left: 10%;
  top: 12%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 3, 12, 0.28) 0%,
    rgba(0, 3, 12, 0.14) 38%,
    transparent 75%
  );
  pointer-events: none;
}

.galaxy-vignette {
  background: radial-gradient(
    ellipse at 50% 42%,
    transparent 25%,
    rgba(0, 0, 0, 0.08) 55%,
    rgba(0, 0, 0, 0.3) 82%,
    rgba(0, 0, 0, 0.62) 100%
  );
}

/* --------------------------------------------------------------------------
   3. STARS & METEORS
   -------------------------------------------------------------------------- */
.galaxy-random-stars {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform: translate3d(
    calc(var(--mouse-x) * -0.055),
    calc(var(--mouse-y) * -0.055),
    0
  );
  transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.galaxy-star {
  position: absolute;
  width: var(--size);
  height: var(--size);
  left: var(--x);
  top: var(--y);
  border-radius: 50%;
  background: var(--star-color);
  opacity: var(--opacity);
  box-shadow: 0 0 var(--glow) var(--star-color);
  animation: star-twinkle var(--duration) ease-in-out var(--delay) infinite
    alternate;
  will-change: opacity, transform, filter;
}

.galaxy-star.bright::before,
.galaxy-star.bright::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    transparent,
    rgba(255, 255, 255, 0.9),
    transparent
  );
  opacity: 0.45;
}

.galaxy-star.bright::before {
  width: 1px;
  height: 14px;
}
.galaxy-star.bright::after {
  width: 14px;
  height: 1px;
}

@keyframes star-twinkle {
  0% {
    opacity: calc(var(--opacity) * 0.35);
    transform: scale(0.75);
    filter: brightness(0.65);
  }
  35% {
    opacity: var(--opacity);
    transform: scale(1);
    filter: brightness(1);
  }
  65% {
    opacity: calc(var(--opacity) * 0.55);
    transform: scale(0.82);
    filter: brightness(0.75);
  }
  100% {
    opacity: 1;
    transform: scale(var(--pulse));
    filter: brightness(1.9);
  }
}

/* Shooting Star */
.shooting-star {
  position: fixed;
  top: -80px;
  left: 50%;
  width: 4px;
  height: 4px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow:
    0 0 6px 2px rgba(255, 255, 255, 0.95),
    0 0 16px 5px rgba(180, 210, 255, 0.7);
  opacity: 0;
  z-index: 2;
  transform: rotate(45deg);
  pointer-events: none;
}

.shooting-star::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  width: 2px;
  height: 130px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9),
    rgba(180, 210, 255, 0.45),
    rgba(120, 150, 255, 0)
  );
  filter: blur(1px);
}

@keyframes shootingStarFall {
  0% {
    opacity: 0;
    transform: translate3d(0, -100px, 0) rotate(45deg);
  }
  8% {
    opacity: 1;
  }
  65% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate3d(350px, 700px, 0) rotate(45deg);
  }
}

.shooting-star.active {
  animation: shootingStarFall 1.8s cubic-bezier(0.15, 0.55, 0.35, 1) forwards;
}

/* --------------------------------------------------------------------------
   4. EARTH HORIZON (DIAMETER LEBIH LEBAR)
   -------------------------------------------------------------------------- */
.earth-horizon {
  position: absolute;
  /* Diperlebar dari 125vw menjadi 220vw agar kelengkungan lebih luas dan megah */
  width: 220vw;
  height: 55vw;
  max-height: 650px;
  left: 50%;
  bottom: -36vw;
  transform: translateX(-50%)
    translate3d(calc(var(--mouse-x) * -0.018), calc(var(--mouse-y) * -0.008), 0);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 7;
  pointer-events: none;
  isolation: isolate;

  /* Gradient Permukaan Bumi & Lautan */
  background:
    radial-gradient(
      ellipse at 48% 17%,
      rgba(255, 215, 145, 0.35) 0,
      rgba(255, 190, 110, 0.18) 4%,
      transparent 18%
    ),
    radial-gradient(
      ellipse at 35% 22%,
      rgba(255, 205, 120, 0.2) 0,
      transparent 12%
    ),
    radial-gradient(
      ellipse at 63% 26%,
      rgba(255, 210, 140, 0.25) 0,
      transparent 15%
    ),
    radial-gradient(
      ellipse at 38% 30%,
      rgba(55, 80, 100, 0.34) 0,
      rgba(20, 35, 50, 0.18) 20%,
      transparent 38%
    ),
    radial-gradient(
      ellipse at 68% 35%,
      rgba(40, 70, 85, 0.3) 0,
      rgba(15, 25, 40, 0.12) 22%,
      transparent 42%
    ),
    radial-gradient(
      ellipse at 52% 45%,
      rgba(25, 45, 65, 0.3) 0,
      transparent 42%
    ),
    radial-gradient(
      ellipse at 50% 30%,
      #102538 0%,
      #071421 34%,
      #030912 65%,
      #010308 100%
    );

  box-shadow:
    0 -2px 5px rgba(160, 225, 255, 0.95),
    0 -5px 18px rgba(70, 190, 255, 0.75),
    0 -12px 45px rgba(30, 150, 255, 0.45),
    0 -25px 90px rgba(20, 90, 255, 0.25),
    inset 0 30px 70px rgba(0, 0, 0, 0.35),
    inset 0 -80px 140px rgba(0, 0, 0, 0.9);

  filter: saturate(0.85) brightness(0.82);
  transition: transform 1.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.earth-horizon::before {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: -7px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(180, 235, 255, 0.95) 0%,
    rgba(80, 190, 255, 0.75) 18%,
    rgba(30, 130, 255, 0.35) 42%,
    transparent 72%
  );
  filter: blur(4px);
  opacity: 0.95;
}

.earth-horizon::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 2px;
  height: 35px;
  border-radius: 50%;
  border-top: 2px solid rgba(130, 220, 255, 0.75);
  box-shadow:
    0 -3px 15px rgba(80, 190, 255, 0.55),
    0 -8px 35px rgba(30, 150, 255, 0.35);
  opacity: 0.8;
}

/* City Lights Layer */
.earth-city-lights {
  position: absolute;
  inset: 12% 8% 10%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 24% 38%,
      rgba(255, 210, 130, 0.75) 0,
      rgba(255, 180, 100, 0.25) 1px,
      transparent 4px
    ),
    radial-gradient(
      circle at 28% 42%,
      rgba(255, 220, 150, 0.8) 0,
      transparent 2px
    ),
    radial-gradient(
      circle at 34% 31%,
      rgba(255, 210, 120, 0.65) 0,
      transparent 2px
    ),
    radial-gradient(
      circle at 42% 27%,
      rgba(255, 220, 150, 0.75) 0,
      transparent 2px
    ),
    radial-gradient(
      circle at 51% 22%,
      rgba(255, 220, 150, 0.85) 0,
      transparent 2px
    ),
    radial-gradient(
      circle at 56% 25%,
      rgba(255, 200, 120, 0.65) 0,
      transparent 3px
    ),
    radial-gradient(
      circle at 63% 31%,
      rgba(255, 220, 140, 0.7) 0,
      transparent 2px
    ),
    radial-gradient(
      circle at 70% 37%,
      rgba(255, 210, 140, 0.6) 0,
      transparent 3px
    ),
    radial-gradient(
      circle at 77% 43%,
      rgba(255, 220, 140, 0.7) 0,
      transparent 2px
    );
  opacity: 0.65;
  filter: blur(0.2px);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Clouds Layer */
.earth-clouds {
  position: absolute;
  inset: 8% 5% 15%;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at 30% 35%,
      rgba(190, 220, 235, 0.09),
      transparent 25%
    ),
    radial-gradient(
      ellipse at 60% 28%,
      rgba(220, 240, 255, 0.08),
      transparent 22%
    ),
    radial-gradient(
      ellipse at 72% 48%,
      rgba(180, 220, 245, 0.07),
      transparent 25%
    );
  filter: blur(10px);
  opacity: 0.7;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. NAVBAR & HEADER
   -------------------------------------------------------------------------- */
.galaxy-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 78px;
  background: linear-gradient(
    90deg,
    rgba(4, 7, 18, 0.72),
    rgba(8, 12, 30, 0.58),
    rgba(4, 7, 18, 0.72)
  ) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.25),
    inset 0 -1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  transition:
    background 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    backdrop-filter 0.45s ease;
}

.galaxy-header::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(247, 210, 23, 0.15) 20%,
    rgba(247, 210, 23, 0.65) 50%,
    rgba(247, 210, 23, 0.15) 80%,
    transparent 100%
  );
  opacity: 0.75;
  transition: opacity 0.45s ease;
}

.galaxy-header .logo-responsive,
.brand-image.logo-responsive {
  max-height: 70px;
  width: auto;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
}

.galaxy-header .navbar-brand:hover .logo-responsive {
  transform: scale(1.015);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.galaxy-header.scrolled {
  background: linear-gradient(
    90deg,
    rgba(1, 3, 10, 0.28),
    rgba(5, 8, 20, 0.2),
    rgba(1, 3, 10, 0.28)
  ) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.galaxy-header.scrolled::after {
  opacity: 0.38;
}

/* --------------------------------------------------------------------------
   6. MAIN CONTENT & CARDS
   -------------------------------------------------------------------------- */
.content-galaxy {
  position: relative;
  z-index: 20;
  min-height: calc(100vh - 150px);
  padding-top: 35px;
  padding-bottom: 90px;
}

.galaxy-menu-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
  backdrop-filter: blur(5px);
}

.galaxy-menu-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(130, 160, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.info-box-number {
  font-size: clamp(12px, 2.2vw, 16px);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   7. GALAXY TOOLTIP (OPTIMIZED FOR MOBILE)
   -------------------------------------------------------------------------- */
.galaxy-tooltip-wrapper {
  position: relative;
}

/* Tooltip Box */
.galaxy-tooltip-wrapper::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);
  transform: translateX(-50%) translateY(-8px);

  /* Lebar responsif menggunakan min() & clamp() agar tidak memotong layar mobile */
  width: min(280px, 85vw);
  max-width: calc(100vw - 24px);
  box-sizing: border-box;

  padding: 12px 14px;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  word-wrap: break-word;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(120, 80, 255, 0.25),
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(0, 200, 255, 0.18),
      transparent 35%
    ),
    rgba(8, 10, 25, 0.96);

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 0 10px rgba(100, 100, 255, 0.15),
    0 10px 35px rgba(0, 0, 0, 0.65),
    inset 0 0 20px rgba(255, 255, 255, 0.025);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 9999;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

/* Tooltip Arrow */
.galaxy-tooltip-wrapper::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  width: 8px;
  height: 8px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(8, 10, 25, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 0;
  visibility: hidden;
  z-index: 10000;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

/* Tooltip Hover State */
.galaxy-tooltip-wrapper:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  background-image:
    radial-gradient(
      circle at 10% 20%,
      rgba(255, 255, 255, 0.7) 0,
      rgba(255, 255, 255, 0.7) 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(255, 255, 255, 0.45) 0,
      rgba(255, 255, 255, 0.45) 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 65% 80%,
      rgba(150, 180, 255, 0.5) 0,
      rgba(150, 180, 255, 0.5) 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 30% 70%,
      rgba(255, 255, 255, 0.35) 0,
      rgba(255, 255, 255, 0.35) 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(100, 100, 255, 0.15),
      transparent 60%
    );
}

.galaxy-tooltip-wrapper:hover::before {
  opacity: 1;
  visibility: visible;
}

.galaxy-tooltip-wrapper:hover .galaxy-menu-card {
  transform: translateY(-3px) scale(1.015);
  filter: brightness(1.08);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(120, 100, 255, 0.18) !important;
}

/* --------------------------------------------------------------------------
   8. FOOTER & MARQUEE
   -------------------------------------------------------------------------- */
.footer-custom {
  position: fixed !important;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  min-height: 42px;
  background: linear-gradient(
    90deg,
    rgba(1, 3, 10, 0.94),
    rgba(7, 10, 25, 0.82),
    rgba(1, 3, 10, 0.94)
  ) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 -10px 35px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

.footer-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(247, 210, 23, 0.5),
    transparent
  );
}

.footer-custom a {
  color: rgba(255, 255, 255, 0.82) !important;
  transition: color 0.25s ease;
  text-decoration: none;
}

.footer-custom a:hover {
  color: #f7d217 !important;
}

.footer-custom .marquee-container {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.footer-custom .marquee-text {
  display: inline-block;
  padding-left: 100%;
  font-family: "Calibri Light", sans-serif;
  font-size: 14px;
  letter-spacing: 0.8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  animation: marquee 24s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* --------------------------------------------------------------------------
   9. MEDIA QUERIES & ACCESSIBILITY
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .galaxy-header {
    min-height: 64px;
    background: rgba(3, 6, 16, 0.72) !important;
  }
  .galaxy-header .logo-responsive,
  .brand-image.logo-responsive {
    max-height: 58px;
  }
  .galaxy-header.scrolled {
    background: rgba(2, 4, 12, 0.22) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  /* Penyesuaian Horizon Earth di Perangkat Mobile */
  .earth-horizon {
    width: 280vw;
    height: 70vw;
    bottom: -48vw;
  }
  .earth-city-lights {
    opacity: 0.45;
  }
  .tooltip-text {
    max-width: 80vw; /* Agar lebarnya tidak melebihi 80% lebar layar */
    white-space: normal; /* Biarkan teks melakukan wrap/baris baru */
    word-break: break-word;
    left: 50% !important;
    transform: translateX(-50%) !important; /* Tengahkan posisi di layar */
    z-index: 9999;
    position: fixed; /* Atau absolute tergantung posisi pembungkusnya */
  }
}

@media (max-width: 576px) {
  .brand-image.logo-responsive {
    max-height: 50px;
  }
  .info-box-number {
    font-size: 12px;
  }

  /* Pencegahan Pemotongan Tooltip pada Layar Mobile Sangat Kecil */
  .galaxy-tooltip-wrapper::after {
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: calc(100vw - 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .galaxy-layer-1,
  .galaxy-layer-2,
  .galaxy-dust,
  .galaxy-random-stars,
  .galaxy-header,
  .galaxy-header .logo-responsive {
    transform: none !important;
    transition: none !important;
  }
  .galaxy-star,
  .shooting-star,
  .marquee-text {
    animation: none !important;
  }
}
