:root {
  --bg-deep: #05060f;
  --bg-panel: rgba(20, 24, 46, 0.55);
  --border: rgba(255, 255, 255, 0.08);
  --text-primary: #eef1fb;
  --text-muted: #a9b0d0;
  --accent: #e8c766;
  --accent-soft: rgba(232, 199, 102, 0.15);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: radial-gradient(ellipse at top, #131a3a 0%, #05060f 55%, #020208 100%);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin: 0 0 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tagline {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.section-sub {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
}

.moon-panel {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.moon-visual {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moon-disk {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #f4efe0;
  box-shadow: 0 0 32px rgba(244, 239, 224, 0.35), inset -6px -6px 14px rgba(0,0,0,0.15);
  overflow: hidden;
}

.moon-info h2 {
  font-size: 1.35rem;
}

.stat {
  color: var(--accent);
  font-weight: 600;
  margin: 0.25rem 0 0.6rem;
  font-size: 0.95rem;
}

.advice {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
  font-size: 0.95rem;
}

.tip-grid, .constellation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.tip {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
}

.tip-icon {
  font-size: 1.5rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.tip h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
}

.tip p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.constellation {
  background: var(--accent-soft);
  border: 1px solid rgba(232, 199, 102, 0.25);
  border-radius: 14px;
  padding: 1.25rem;
}

.constellation h3 {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 1.05rem;
}

.constellation p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-primary);
}

footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-top: 1.5rem;
  letter-spacing: 0.04em;
}

@media (max-width: 560px) {
  .moon-panel {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-color-scheme: light) {
  html, body {
    background: radial-gradient(ellipse at top, #131a3a 0%, #05060f 55%, #020208 100%);
    color: var(--text-primary);
  }
}
