:root[data-theme="light"] {
  --bg: #ffffff;
  --text: #000000;
  --box: #f5f5f5;
  --link: #0047ab;
  --accent: #111111;
  --star-color: #222222;
}

:root[data-theme="dark"] {
  --bg: #0d1117;
  --text: #ffffff;
  --box: #161b22;
  --link: #58a6ff;
  --accent: #ccc;
  --star-color: #58a6ff;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  transition: background 0.3s, color 0.3s;
}

canvas#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: transparent;
}

.container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: var(--box);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
  z-index: 1;
  position: relative;
  text-align: center;
}

h1 {
  font-size: 2rem;
  color: var(--link);
  margin-bottom: 1rem;
}

.tagline {
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--accent);
}

.links a {
  display: inline-block;
  margin: 0.25rem 0.5rem;
  color: var(--link);
  text-decoration: underline;
  font-weight: 500;
}

button, .copy-btn {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  background-color: var(--link);
  color: var(--bg);
  cursor: pointer;
  transition: background 0.3s, opacity 0.2s;
  margin-top: 1rem;
}

button:hover, .copy-btn:hover {
  opacity: 0.9;
}

.theme-switch {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 999;
}

.copy-btn {
  display: inline-block;
  background-color: #222;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  border: 1px solid #444;
}
canvas#stars {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  z-index: -9999 !important;
  pointer-events: none;
  background: transparent !important;
}
