/* Theme tokens */
:root {
  --bg: #000;
  --text: #fff;
  --muted: #bdbdbd;
  --accent: #ffe082;
  --accent-2: #ffd54f;
  --link: #90caf9;
  --shadow: 0 2px 16px #0006;
}

/* Base layout */
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
}

/* Header */
header {
  width: 100%;
  background: transparent;
  box-shadow: none;
  padding: 2rem 0 1rem 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
header h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--accent);
  text-shadow: 0 2px 16px #000;
}
header p {
  margin: 0.5rem 0 0 0;
  color: var(--muted);
  font-size: 1.2rem;
  text-shadow: 0 1px 8px #000;
}

/* Social links */
ul.social {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0 0 0;
}
ul.social li a {
  color: var(--link);
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.2s;
  text-shadow: 0 1px 8px #000;
}
ul.social li a:hover {
  color: var(--accent);
}
@media (max-width: 700px) {
  header h1 {
    font-size: 2rem;
  }
}

/* Canvas background */
#solar3d {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Fallback message */
#webgl-fallback {
  position: relative;
  z-index: 1;
  margin: 1rem auto 0;
  padding: 0.5rem 0.75rem;
  background: rgba(34, 34, 34, 0.6);
  border-radius: 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
  text-shadow: 0 1px 8px #000;
}

/* Dough calculator CTA */
.dough-btn {
  display: block;
  width: max-content;
  margin: 2.5rem auto 2.5rem auto;
  padding: 0.9rem 2.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent-2) 100%);
  border: none;
  border-radius: 2rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
  position: fixed;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
}
.dough-btn:hover {
  background: linear-gradient(90deg, var(--accent-2) 60%, var(--accent) 100%);
  color: #000;
}
