@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Space+Grotesk:wght@500;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: #05060b;
  color: #e2e8f0;
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  padding-bottom: 90px;
}

.simple-switcher {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(10, 12, 22, 0.95); backdrop-filter: blur(16px);
  border: 1px solid rgba(168, 85, 247, 0.35); border-radius: 40px;
  padding: 8px 16px; display: flex; align-items: center; gap: 8px;
  z-index: 9999; max-width: 95vw; overflow-x: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
.simple-switcher span { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #a855f7; font-weight: 600; white-space: nowrap; }
.simple-switcher a { color: #94a3b8; text-decoration: none; font-size: 12px; padding: 4px 10px; border-radius: 20px; white-space: nowrap; transition: 0.2s; }
.simple-switcher a:hover, .simple-switcher a.active { background: #a855f7; color: #fff; font-weight: 600; }

.astro-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 6%; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.astro-logo { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: #a855f7; text-decoration: none; letter-spacing: 2px; }
.astro-logo span { font-size: 10px; color: #64748b; margin-left: 8px; font-family: 'Outfit', sans-serif; }
.astro-menu { display: flex; gap: 28px; list-style: none; }
.astro-menu a { color: #94a3b8; text-decoration: none; font-size: 13px; transition: 0.2s; }
.astro-menu a:hover { color: #a855f7; }

.btn-starlight {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff; font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; padding: 12px 24px; border-radius: 4px;
  text-decoration: none; font-size: 13px; border: none; cursor: pointer; transition: 0.3s;
}
.btn-starlight:hover { background: #c084fc; transform: translateY(-1px); box-shadow: 0 0 20px rgba(168, 85, 247, 0.4); }
.btn-astro-ghost {
  border: 1px solid rgba(168, 85, 247, 0.35); color: #a855f7; padding: 12px 24px;
  border-radius: 4px; text-decoration: none; font-size: 13px; transition: 0.3s;
}
.btn-astro-ghost:hover { background: rgba(168, 85, 247, 0.1); }

.astro-hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  padding: 60px 6% 80px; max-width: 1400px; margin: 0 auto;
}
.astro-tag { font-family: 'Space Grotesk', sans-serif; font-size: 11px; letter-spacing: 2px; color: #a855f7; font-weight: 700; text-transform: uppercase; }
.astro-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: 50px; line-height: 1.12; margin: 16px 0 20px; color: #fff; font-weight: 700; }
.astro-hero h1 em { font-style: normal; color: #a855f7; }
.astro-hero p { font-size: 16px; color: #94a3b8; max-width: 520px; margin-bottom: 32px; }
.astro-actions { display: flex; gap: 16px; }
.astro-hero-media img {
  width: 100%; height: 500px; object-fit: cover; border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.25); box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.bortle-section { padding: 80px 6%; max-width: 1400px; margin: 0 auto; }
.bortle-head span { font-size: 11px; letter-spacing: 3px; color: #a855f7; text-transform: uppercase; font-family: 'Space Grotesk', sans-serif; }
.bortle-head h2 { font-family: 'Space Grotesk', sans-serif; font-size: 36px; color: #fff; margin: 8px 0 36px; }
.bortle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bortle-card {
  background: #0c0e18; border: 1px solid rgba(168, 85, 247, 0.2); border-radius: 8px;
  padding: 32px; transition: 0.3s;
}
.bortle-card.featured { border-color: #a855f7; background: #141728; }
.bortle-card:hover { transform: translateY(-4px); border-color: #a855f7; }
.bc-rate { font-size: 10px; letter-spacing: 1.5px; color: #a855f7; font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.bortle-card h4 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; color: #fff; margin: 12px 0 14px; }
.bortle-card p { font-size: 13px; color: #94a3b8; }

.telescope-section { padding: 40px 6% 100px; max-width: 1300px; margin: 0 auto; }
.telescope-box {
  background: #0c0e18; border: 1px solid rgba(168, 85, 247, 0.3); border-radius: 12px;
  padding: 44px; box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}
.tb-head span { font-size: 11px; letter-spacing: 3px; color: #a855f7; text-transform: uppercase; font-family: 'Space Grotesk', sans-serif; }
.tb-head h2 { font-family: 'Space Grotesk', sans-serif; font-size: 34px; color: #fff; margin: 8px 0 10px; }
.tb-head p { font-size: 14px; color: #94a3b8; margin-bottom: 32px; }

.tb-controls { margin-bottom: 32px; }
.t-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.tp-btn {
  background: #171b30; border: 1px solid rgba(168, 85, 247, 0.25); color: #94a3b8;
  padding: 10px 18px; border-radius: 6px; font-size: 12px; cursor: pointer; transition: 0.2s; font-family: 'Space Grotesk', sans-serif;
}
.tp-btn.active, .tp-btn:hover { background: #a855f7; color: #fff; font-weight: 700; border-color: #a855f7; }

.tb-readout {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: #05060c;
  border: 1px solid rgba(168, 85, 247, 0.2); border-radius: 8px; padding: 24px; margin-bottom: 36px;
}
.tbr-stat { text-align: center; }
.tbrs-lbl { font-size: 10px; letter-spacing: 1px; color: #64748b; font-family: 'Space Grotesk', sans-serif; display: block; margin-bottom: 6px; }
.tbrs-val { font-family: 'Space Grotesk', sans-serif; font-size: 20px; color: #fff; font-weight: 700; display: block; }
.tbrs-val.violet { color: #a855f7; }
.tbrs-sub { font-size: 11px; color: #94a3b8; margin-top: 4px; display: block; }

.tb-foot { text-align: center; }
.astro-footer { text-align: center; padding: 40px 6%; border-top: 1px solid rgba(255, 255, 255, 0.08); color: #64748b; font-size: 13px; }

@media (max-width: 900px) {
  .astro-hero { grid-template-columns: 1fr; }
  .bortle-grid { grid-template-columns: 1fr; }
  .tb-readout { grid-template-columns: 1fr 1fr; }
}
