
body.day-mode {
  background: radial-gradient(circle at center, #eafccf 0%, #d9f871 30%, #91e676 100%);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.sun, .clouds {
  position: absolute;
  width: 100%;
  max-width: 1400px;
  height: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.clouds-front {
  animation: cloudsDrift 60s linear infinite;
  z-index: 2;
}

.clouds-back {
  animation: cloudsDriftBack 90s linear infinite;
  z-index: 0;
}

.character-wrapper {
  text-align: center;
  position: relative;
  z-index: 3;
  padding-top: 40px;
}

.character-wrapper h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2e7d32;
  text-shadow: 1px 1px 0 white;
  margin: 0;
}

.character-wrapper p {
  font-size: 1.2rem;
  color: #4caf50;
  margin-bottom: 12px;
}

#turfImage {
  width: clamp(180px, 42vw, 440px);
  margin: 0 auto -200px;
  display: block;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.15));
}

.links-on-hills {
  position: relative;
  z-index: 5;
  text-align: center;
  margin-top: 30px;
}

.links-on-hills a {
  color: white;
  margin: 0 18px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.links-on-hills a:hover {
  color: #58a6ff;
}

.hills-bottom {
  position: relative;
  bottom: 0;
  width: 100%;
  height: 180px;
  z-index: 4;
  pointer-events: none;
  margin-top: 60px;
}

footer {
  text-align: center;
  padding: 20px 0;
}

footer .contract {
  font-size: 1.4rem;
  color: #388e3c;
  opacity: 0.9;
}

@keyframes cloudsDrift {
  0% { transform: translateX(0); }
  100% { transform: translateX(-1200px); }
}

@keyframes cloudsDriftBack {
  0% { transform: translateX(0); }
  100% { transform: translateX(-900px); }
}

@media (max-width: 768px) {
  .character-wrapper h1 {
    font-size: 1.8rem;
  }

  .character-wrapper p {
    font-size: 1rem;
  }

  #turfImage {
    width: 75vw;
    margin-bottom: -160px;
  }

  .links-on-hills a {
    font-size: 1rem;
  }

  .hills-bottom {
    height: 160px;
  }

  footer .contract {
    font-size: 1.2rem;
  }
}


.sun-left {
  top: 0;
  left: 0;
  transform: none;
  width: 200px;
  height: 200px;
}

#turfImage::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  filter: blur(6px);
  z-index: -1;
}

html, body {
  overflow: hidden;
  height: 100%;
}

footer {
  text-align: center;
  padding: 20px 0;
  position: relative;
  z-index: 10;
  background: transparent;
}


footer {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer .contract {
  font-size: 1.1rem;
  color: #2e7d32;
  opacity: 0.95;
  padding: 4px 16px;
}


html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

footer {
  margin-top: auto;
}


footer .contract {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  word-break: break-all;
  padding: 4px 12px;
}

@media (max-width: 768px) {
  footer .contract {
    font-size: 0.9rem;
  }
}


/* Toggle Button */
#toggleMode {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10;
}

/* NIGHT MODE */
body.night-mode {
  background: linear-gradient(to bottom, #0a0f1f 0%, #1a2a40 100%);
  color: #e0f7fa;
}

body.night-mode .character-wrapper h1 {
  color: #90caf9;
  text-shadow: 0 0 6px #4fc3f7;
}

body.night-mode .character-wrapper p {
  color: #b2ebf2;
}

body.night-mode .links-on-hills a {
  color: #e0f7fa;
  text-shadow: 0 0 4px #80deea;
}

body.night-mode .links-on-hills a:hover {
  color: #81d4fa;
}

body.night-mode footer {
  background: rgba(0, 0, 0, 0.4);
}

body.night-mode footer .contract {
  color: #b3e5fc;
}


.bubble-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  pointer-events: none;
  animation: floatBubbles 12s infinite ease-in-out;
  opacity: 0.75;
}
@keyframes floatBubbles {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px) scale(1.02); }
  100% { transform: translateY(0); }
}
.trench-lore {
  text-align: center;
  color: white;
  font-size: clamp(16px, 2.2vw, 20px);
  padding: 0 1rem 1.5rem;
  font-family: 'Orbitron', monospace;
}
.trench-lore a {
  color: #00ccff;
  text-decoration: underline;
}
.trench-lore a:hover {
  color: #ffffff;
}

.footer-links {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: clamp(14px, 2vw, 18px);
}
.footer-links a {
  color: white;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
}
.footer-links a:hover {
  color: #00ccff;
}
