/**
 * ROBO NEXIMUS — GALAKTİK KEŞİF
 * Resmî Stellarium Web (stellarium-web.org) Canlı Entegrasyon Stilleri
 * Tema: Cyberpunk / Sci-Fi Deep Space Glassmorphism Floating Bar
 */

:root {
  --rn-space-bg: #000000;
  --rn-hud-bg: rgba(8, 14, 28, 0.78);
  --rn-cyan: #00f0ff;
  --rn-cyan-glow: rgba(0, 240, 255, 0.35);
  --rn-blue: #38bdf8;
  --rn-text-main: #f1f5f9;
  --rn-text-muted: #94a3b8;
  --rn-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --rn-font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.stel-body-official {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--rn-space-bg);
  font-family: var(--rn-font-sans);
  color: var(--rn-text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   RESMÎ STELLARIUM WEB TAM EKRAN GÖRÜNTÜ ALANI (OFFICIAL IFRAME VIEWPORT)
   ========================================================================== */

.stel-official-viewport {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  z-index: 1;
}

#stel-official-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ==========================================================================
   YÜZEN PORTAL VE MARKA BARI (NON-INTRUSIVE FLOATING BAR)
   ========================================================================== */

.stel-portal-floating-bar {
  position: fixed;
  top: 14px;
  right: 175px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  user-select: none;
}

.stel-portal-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: var(--rn-hud-bg);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(0, 240, 255, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.stel-portal-pill-btn:hover {
  background: rgba(0, 240, 255, 0.18);
  border-color: var(--rn-cyan);
  color: var(--rn-cyan);
  box-shadow: 0 6px 24px rgba(0, 240, 255, 0.3);
  transform: translateY(-1px);
}

.stel-portal-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: rgba(10, 16, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.stel-floating-emblem {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.4));
}

.stel-brand-name {
  font-size: 11px;
  font-weight: 800;
  color: var(--rn-text-main);
  letter-spacing: 0.5px;
}

.stel-official-badge {
  font-size: 9px;
  font-weight: 700;
  color: var(--rn-blue);
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 4px;
  padding: 2px 5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ==========================================================================
   DUYARLI TASARIM (RESPONSIVE VIEWPORT STYLES)
   ========================================================================== */

@media (max-width: 768px) {
  .stel-portal-floating-bar {
    top: 66px;
    left: 10px;
    right: auto;
    gap: 6px;
  }

  .stel-portal-pill-btn {
    padding: 6px 10px;
    font-size: 10px;
  }

  .stel-portal-brand-tag {
    padding: 4px 8px 4px 6px;
  }

  .stel-brand-name {
    font-size: 10px;
  }

  .stel-official-badge {
    display: none;
  }
}
