/* =========================================================================
   VERA C. RUBIN OBSERVATORY SCIENTIFIC PLATFORM - CENTRAL STYLESHEET
   ========================================================================= */

/* Custom astronomical scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #090d19;
}
::-webkit-scrollbar-thumb {
  background: #1b2a4a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

/* Glowing Neon Elements */
.glow-rubin {
  box-shadow: 0 0 25px -5px rgba(2, 132, 199, 0.4);
}
.glow-rubin-sm {
  box-shadow: 0 0 15px -3px rgba(2, 132, 199, 0.45);
}
.glow-pulse {
  animation: pulseGlow 3s infinite ease-in-out;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(56, 189, 248, 0.2); }
  50% { box-shadow: 0 0 30px rgba(56, 189, 248, 0.45); }
}

/* Celestial Grid Background */
.grid-bg {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}

/* Aladin Lite Containers */
.aladin-container {
  width: 100%;
  height: 480px;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #05070f;
}

.aladin-mobile-container {
  width: 100%;
  height: 320px;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #04060d;
}

/* Phone Device Simulator Frame Styles */
.phone-chassis {
  box-shadow: 0 0 0 12px #1e293b, 0 0 0 14px #334155, 0 25px 50px -12px rgba(0, 0, 0, 0.85);
  border-radius: 44px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.dynamic-island {
  width: 96px;
  height: 24px;
  background: #000;
  border-radius: 20px;
}

/* Touch-optimized horizontal scrolling */
.touch-scroll {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.touch-scroll::-webkit-scrollbar {
  display: none;
}
