
:root {
  --bg-gradient: linear-gradient(180deg, #fff6cc, #ffeb99, #ffe066);
  --text-color: #4a3b1c;
  --accent: #ffb703;
  --muted: #7a6a2d;
  --link-color: #755f00;
  --header-bg: rgba(255, 240, 180, 0.95);
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: var(--bg-gradient);
  color: var(--text-color);
  transition: background 1s ease, color 0.8s ease;
}

.mode-input { position: absolute; left: -9999px; }


header {
  text-align: center;
  background: var(--header-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-links a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.2);
  color: #fff;
  transform: scale(1.05);
}


.mode-switch {
  position: fixed;
  top: 70px;
  right: 25px;
  display: flex;
  gap: 10px;
  z-index: 2000;
}

.mode-switch label {
  cursor: pointer;
  font-size: 1.2rem;
  transition: transform 0.3s, text-shadow 0.3s;
}

.mode-switch label:hover {
  transform: scale(1.2);
}

#day:checked ~ .mode-switch label[for="day"] {
  transform: scale(1.3);
  text-shadow: 0 0 10px gold;
}

#night:checked ~ .mode-switch label[for="night"] {
  transform: scale(1.3);
  text-shadow: 0 0 10px cyan;
}

#night:checked ~ .site {
  --bg-gradient: linear-gradient(180deg, #0f2027, #203a43, #2c5364);
  --text-color: #e0fbfc;
  --accent: #00e5ff;
  --muted: #90e0ef;
  --link-color: #00e5ff;
  --header-bg: rgba(15,32,39,0.95);
  background: var(--bg-gradient);
  color: var(--text-color);
}

#night:checked ~ header {
  background: var(--header-bg);
}


.site {
  padding: 30px 16px 60px;
  transition: background 1s ease, color 0.8s ease;
  background: var(--bg-gradient);
  color: var(--text-color);
}

h1 {
  text-align: center;
  color: var(--accent);
  margin-top: 8px;
}

h2 {
  text-align: center;
  color: var(--accent);
  margin-top: 26px;
}

p {
  max-width: 850px;
  margin: 14px auto;
  text-align: center;
  line-height: 1.7;
}

.facts-list {
  list-style: none;
  max-width: 700px;
  margin: 20px auto;
  padding: 0;
}

.facts-list li {
  background: rgba(255,255,255,0.2);
  margin: 10px 0;
  padding: 12px 16px;
  border-radius: 8px;
  transition: transform 0.3s ease, background 0.4s ease;
}

.facts-list li:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.03);
}

blockquote {
  max-width: 720px;
  margin: 40px auto;
  padding: 18px;
  border-left: 4px solid var(--accent);
  color: var(--muted);
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  font-style: italic;
}

footer {
  text-align: center;
  color: var(--muted);
  margin-top: 40px;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .nav-links { flex-direction: column; }
  .mode-switch { top: 60px; right: 15px; }
}
