:root {
  --bg: #0b0c10;
  --text: #e0e0e0;
  --accent: #8f00ff;
  --glow: #ff00cc;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  transition: background 0.5s, color 0.5s;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.glow {
  font-size: 2.5rem;
  color: var(--accent);
  text-shadow: 0 0 10px var(--glow), 0 0 20px var(--glow);
}

#toggleMode {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

.hero {
  position: relative;
  height: 60vh;
  background: linear-gradient(to bottom, #1a1a1a, #000);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  z-index: 1;
  position: relative;
  color: var(--text);
}


.fog {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/fog.png') repeat;
  animation: drift 30s linear infinite;
  opacity: 0.2;
}

@keyframes drift {
  from { background-position: 0 0; }
  to { background-position: 1000px 0; }
}

.tagline {
  font-size: 1.5rem;
  z-index: 1;
  color: var(--text);
}

.mission {
  text-align: center;
  margin: 2rem;
}

#revealMission {
  padding: 0.5rem 1rem;
  background-color: var(--accent);
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

.hidden {
  display: none;
  margin-top: 1rem;
}

.ghosts {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem;
}

.ghost-ping {
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--glow);
  cursor: pointer;
  transition: transform 0.3s;
}

.ghost-ping:hover {
  transform: scale(1.3);
  box-shadow: 0 0 20px var(--glow);
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--accent);
}

main {
  padding: 2rem;
}

.log-entry {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent);
}

.contact-section {
  padding: 2rem;
  text-align: center;
}

.contact-details {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  line-height: 2;
}

.contact-details a {
  color: var(--accent);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-section .ghost-ping {
  margin: 2rem auto;
  width: 60px;
  height: 60px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}
.intro {
  padding: 2rem;
  text-align: center;
}

.step {
  margin: 2rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.03);
  border-left: 4px solid var(--accent);
  border-radius: 5px;
}

.step h2 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.step ul {
  list-style: none;
  padding-left: 0;
}

.step li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.ghost-divider {
  width: 40px;
  height: 40px;
  margin: 2rem auto;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--glow);
}
/* Flexbox for header */
header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #0b0c10;
}

header h1.glow {
  flex: 1 1 auto;
  font-size: 2.5rem;
  color: var(--accent);
  text-shadow: 0 0 10px var(--glow), 0 0 20px var(--glow);
}

#toggleMode {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  margin-left: auto;
}

/* Flexbox for nav */
nav {
  flex: 1 1 100%;
  margin-top: 1rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Flexbox for ghost pings */
.ghosts {
  padding: 2rem;
  text-align: center;
}

.ghosts h2 {
  margin-bottom: 1rem;
}

.ghosts div {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.ghost-ping {
  width: 60px;
  height: 60px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--glow);
  cursor: pointer;
  transition: transform 0.3s;
}

.ghost-ping:hover {
  transform: scale(1.3);
  box-shadow: 0 0 20px var(--glow);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .ghosts div {
    justify-content: center;
  }
}
.log-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin: 2rem;
}

.log-entry {
  flex: 1 1 45%;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-left: 4px solid var(--accent);
  border-radius: 5px;
}
@media (max-width: 768px) {
  .log-entry {
    flex: 1 1 100%;
  }
}
body.ghost-shift {
  animation: ghostFade 1s ease-in-out;
}

@keyframes ghostFade {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
  100% { filter: brightness(1); }
}
