* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0b0f17;
  overflow-x: hidden;
  color: #fff;
}

/* Splash screen */
#splash {
  position: fixed;
  inset: 0;
  background: black;
  color: #0ff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  font-family: 'Orbitron', sans-serif;
  z-index: 9999;
  animation: fadeOut 3s ease forwards;
  animation-delay: 2.5s;
}
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Mini-map */
#minimap {
  position: fixed;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99;
}
#minimap button {
  background: #111;
  border: 2px solid #00ffe7;
  color: #00ffe7;
  font-size: 1.2rem;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  transition: 0.3s;
}
#minimap button:hover {
  background: #00ffe7;
  color: #111;
}

/* Bubbles in background */
.bubbles::before {
  content: '';
  position: fixed;
  width: 100%;
  height: 100%;
  background: url('https://i.ibb.co/P9Rvt9y/bubbles.png') repeat;
  opacity: 0.05;
  animation: float 60s linear infinite;
  z-index: 0;
}
@keyframes float {
  0% { background-position: 0 0; }
  100% { background-position: 1000px 1000px; }
}

/* Section styles */
.section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.bubble-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  color: #fff;
}
.bubble-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
}
.bubble-box p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Unique background colors for each section */
#welcome { background: linear-gradient(to right, #1f1c2c, #928dab); }
#nucleus { background: linear-gradient(to right, #00c9ff, #92fe9d); }
#mitochondria { background: linear-gradient(to right, #fc466b, #3f5efb); }
#er { background: linear-gradient(to right, #1f4037, #99f2c8); }
#ribosomes { background: linear-gradient(to right, #2b5876, #4e4376); }
#golgi { background: linear-gradient(to right, #f7971e, #ffd200); }
#membrane { background: linear-gradient(to right, #4568dc, #b06ab3); }
#lysosomes { background: linear-gradient(to right, #000000, #434343); }
#cytoplasm { background: linear-gradient(to right, #1c92d2, #f2fcfe); }
#vacuole { background: linear-gradient(to right, #8e9eab, #eef2f3); }
#wall { background: linear-gradient(to right, #7b4397, #dc2430); }
#chloroplast { background: linear-gradient(to right, #56ab2f, #a8e063); }

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #000;
  color: #00ffe7;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
}

/* Responsive mini-map */
@media (max-width: 768px) {
  #minimap {
    top: auto;
    bottom: 20px;
    right: 20px;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.4);
    padding: 8px;
    border-radius: 10px;
  }
}
