
:root {
  --bg-gradient: linear-gradient(180deg, #f7b267, #f79d65, #d78521);
  --text-color: #402a1a;
  --accent: #ff9248;
  --muted: #684a2d;
  --link-color: #5a3c2a;
  --header-bg: rgba(247, 182, 103, 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 lightgoldenrodyellow;
}


#night:checked ~ .site {
  --bg-gradient: linear-gradient(180deg, #2d1f14, #3a2619, #1b130c);
  --text-color: #fff4cc;
  --accent: #ffd166;
  --muted: #e9c46a;
  --link-color: #ffdd88;
  --header-bg: rgba(45, 31, 20, 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;
}

.fauna-list {
  list-style: none;
  max-width: 700px;
  margin: 20px auto;
  padding: 0;
}

.fauna-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;
}

.fauna-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; }
}
