html, body {
  height: 100%;
  margin: 0;
  background-color: #000;
  color: white;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.background {
  position: relative;
  height: 100vh;
  background-color: #000;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.centered {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#earth {
  width: 800px;
  max-width: 95vw;
  height: auto;
  border-radius: 50%;
  transform-origin: center;

  cursor: default;
}

#earth:hover {

  cursor: pointer;
}

.landing-title {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  font-weight: 900;
  color: #ff9900; 
  margin: 0;
  z-index: 10;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.ai-feelings {
  position: fixed;
  bottom: 20px;
  left: 20px;
  font-size: 3rem;
  font-weight: 700;
  color: #ff6600; 
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
  user-select: none;

}

.scroll-button {
  position: fixed;
  bottom: 100px;
  left: 20px;
  padding: 12px 24px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  background-color: #e32727;    
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #ffffff;        
  transition: background-color 0.3s ease, opacity 0.5s ease-in-out;
  z-index: 20;
  opacity: 1;
}

.scroll-button:hover {
  background-color: #fd8c01;  
}

.hover-panels {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 80px auto;
  padding: 0 40px;
  max-width: 1000px;
}

.panel {
  background: #111;
  color: white;
  flex: 1;
  padding: 40px 20px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.panel h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.panel p {
  opacity: 0;
  max-height: 0;
  transition: opacity 0.4s ease, max-height 0.4s ease;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.5;
}

.panel:hover {
  background: #ff6600;
}

.panel:hover p {
  opacity: 1;
  max-height: 300px;
}

.panel:hover h2 {
  color: #fff;
}

#moreInfo {
  position: relative;
  background: transparent;  
  overflow: visible;        
  padding: 50px 40px;
  color: white;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  z-index: 5;
  min-height: auto;     
  margin: 50px auto;
  max-width: 700px;
}

#moreInfo > * {
  position: relative;
  z-index: 10;
}

#moreInfo h2 {
  font-size: 2.8rem;
  color: #ff9900;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #c60404;
  position: relative;
}

#moreInfo p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #f0c080;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

#moreInfo p strong {
  color: #ffcc66;
  font-weight: 700;
}


.star {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, rgba(255, 255, 180, 1) 0%, rgba(255, 255, 150, 0.6) 70%, transparent 100%);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(255, 255, 150, 0.9));
  animation: starFade 1s forwards;
  transform: translate(-50%, -50%);
}


@keyframes starFade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2);
  }
}
@media (max-width: 768px) {
  .hover-panels {
    flex-direction: column;
    padding: 0 20px;
  }

  .panel h2 {
    font-size: 1.5rem;
  }

  .panel p {
    font-size: 0.9rem;
  }
}