/* Space Effects for BioSeekers NASA */

/* Background Effects */
.bg-stars {
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #eee, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 160px 30px, #eee, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
}

.bg-grid-pattern {
  background: 
    linear-gradient(90deg, rgba(138, 43, 226, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(138, 43, 226, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

.bg-orbital-lines {
  background: 
    radial-gradient(ellipse at 20% 30%, transparent 40%, rgba(255,255,255,0.1) 41%, rgba(255,255,255,0.1) 42%, transparent 43%),
    radial-gradient(ellipse at 80% 70%, transparent 40%, rgba(255,255,255,0.1) 41%, rgba(255,255,255,0.1) 42%, transparent 43%);
}

/* Orb Effects */
.bg-orb-cyan {
  background: radial-gradient(circle, #00ffff, transparent);
}

.bg-orb-magenta {
  background: radial-gradient(circle, #ff00ff, transparent);
}

/* Space-themed buttons */
.space-button {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 2px solid #00d4ff;
  color: #00d4ff;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  pointer-events: auto;
}

.space-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  transition: left 0.5s;
  pointer-events: none;
  z-index: 1;
}

.space-button:hover::before {
  left: 100%;
}

.space-button:hover {
  background: #00d4ff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.space-button > * {
  position: relative;
  z-index: 2;
}

/* Glowing effects */
.glow-cyan {
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.glow-yellow {
  filter: drop-shadow(0 0 10px rgba(255, 255, 0, 0.5));
}

.glow-magenta {
  filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.5));
}

/* Space container */
.space-container {
  background: linear-gradient(135deg, #0a0a1a, #1a1a2e);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: var(--font-secondary);
}

/* Floating elements */
.floating-element {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(even) {
  animation-direction: reverse;
  animation-duration: 8s;
}

/* Responsive space effects */
@media (max-width: 768px) {
  .bg-stars {
    background-size: 100px 50px;
  }
  
  .bg-grid-pattern {
    background-size: 25px 25px;
  }
  
  .floating-element {
    display: none;
  }
}

/* Content padding for different window heights */
.content-container {
  padding: 2rem 1rem;
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-height: 800px) {
  .content-container {
    padding: 1rem 1rem;
    min-height: calc(100vh - 2rem);
  }
}

@media (max-height: 600px) {
  .content-container {
    padding: 0.5rem 1rem;
    min-height: calc(100vh - 1rem);
  }
}
