@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

body {
  font-family: 'Nunito', sans-serif;
  background: #0b120b; /* Deep forest near-black */
  color: #d6d6d6; /* Soft, not harsh white */
  margin: 0;
  text-align: center;
}

/* Header */
header {
  background: #112811; /* Dark deep green */
  color: #e4ffe4;
  padding: 2.5rem 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

header h1 {
  margin: 0;
  font-size: 2.4rem;
}

header p {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Sections - these used to be white */
section {
  margin: 2rem auto;
  padding: 1.5rem;
  max-width: 700px;
  background: #141f14 !important;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.55);
  border: 1px solid #254525; /* Subtle dark green border */
}

/* Section headers */
h2 {
  color: #8fff8f;
}

/* Links */
a {
  color: #9aff9a;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* IP Box */
.ip-box {
  color: #061f00; /* Dark forest green */
  border: 1px solid #345f34;
  border-radius: 10px;
  padding: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #d0f5c8;
}

@media (max-width: 450px) {
  .ip-box {
    flex-direction: column;
    padding: 0.8rem;
  }
}

.ip-box button {
  background: #2a7a2a;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s;
}

.ip-box button:hover {
  background: #206020;
}

/* Ordered list */
ol {
  text-align: left;
  display: inline-block;
  margin: 0 auto;
  padding-left: 1.3rem;
  line-height: 1.8;
  color: #e4ffe4;
}

/* Footer */
footer {
  background: #112811;
  color: #d0f5c8;
  padding: 1.2rem;
  margin-top: 2rem;
  border-top: 3px solid #0a1a0a;
  box-shadow: 0 -3px 8px rgba(0,0,0,0.5);
}

/* Phone / mobile safety */
@media (prefers-color-scheme: dark) {
  body {
    background: #0b120b;
    color: #949494;
  }

  section {
    background: #141f14;
  }

  header, footer {
    background: #112811;
  }
}
