.video-background {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
}

#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  background: url('space.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  text-align: center;
  overflow-x: hidden;
  position: relative;
  margin-left: 250px;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('space.jpg') no-repeat center center fixed;
  background-size: cover;
  z-index: -1;
  animation: spacePulse 15s infinite;
}

@keyframes spacePulse {
  0% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1) contrast(1) hue-rotate(0deg);
  }
  25% {
    transform: scale(1.1) rotate(0.5deg);
    filter: brightness(1.3) contrast(1.2) hue-rotate(5deg);
  }
  50% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1) contrast(1) hue-rotate(0deg);
  }
  75% {
    transform: scale(1.1) rotate(-0.5deg);
    filter: brightness(1.3) contrast(1.2) hue-rotate(-5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1) contrast(1) hue-rotate(0deg);
  }
}

.star-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle 2s infinite;
  box-shadow: 0 0 4px white;
}

@keyframes twinkle {
  0%, 100% { 
    opacity: 0.2;
    transform: scale(0.8);
  }
  50% { 
    opacity: 1;
    transform: scale(1.2);
  }
}

h1, p, button, input {
  opacity: 0;
  transform: translateY(-30px);
  animation: slideIn 1s ease-out forwards;
}

h1 {
  font-size: 2.4rem;
  font-family: 'Orbitron', sans-serif;
  color: #ffd700;
  margin: 28px 0 10px 0;
  text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700, 0 0 30px #ffd700;
  animation-delay: 0.2s;
}

p {
  font-size: 1.1rem;
  margin-top: 5px;
  animation-delay: 0.4s;
}

button, input {
  padding: 10px;
  margin: 10px 5px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  background-color: #0ff;
  color: #000;
  cursor: pointer;
}

button:nth-of-type(1) { animation-delay: 0.6s; }
input { animation-delay: 0.8s; }
button:nth-of-type(2) { animation-delay: 1s; }
button:nth-of-type(3) { animation-delay: 1.2s; }

#output img {
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
  margin-top: 20px;
}

.story {
  max-width: 800px;
  margin: 20px auto;
  background: rgba(0,0,0,0.6);
  padding: 20px;
  border-radius: 15px;
}

#speakBtn {
  display: none;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cosmic Control Panel Sidebar */
.cosmic-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 250px;
  height: 100vh;
  background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(20,20,50,0.8));
  backdrop-filter: blur(10px);
  border-right: 2px solid #0ff;
  box-shadow: 0 0 20px rgba(0,255,255,0.3);
  z-index: 1000;
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.sidebar-header {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0,255,255,0.3);
  opacity: 0;
  transform: translateY(-20px);
  animation: slideInHeader 0.6s ease-out forwards;
}

@keyframes slideInHeader {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sidebar-header h3 {
  color: #0ff;
  margin: 0;
  font-size: 1.2rem;
  text-shadow: 0 0 10px #0ff;
}

.sidebar-buttons {
  padding: 20px 10px;
}

.sidebar-btn {
  width: 100%;
  padding: 12px 15px;
  margin: 5px 0;
  background: linear-gradient(45deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 8px;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInSidebar 0.8s ease-out forwards;
}

/* Staggered animation delays for sidebar buttons */
.sidebar-btn:nth-child(1) { animation-delay: 0.1s; }
.sidebar-btn:nth-child(2) { animation-delay: 0.2s; }
.sidebar-btn:nth-child(3) { animation-delay: 0.3s; }
.sidebar-btn:nth-child(4) { animation-delay: 0.4s; }
.sidebar-btn:nth-child(5) { animation-delay: 0.5s; }
.sidebar-btn:nth-child(6) { animation-delay: 0.6s; }
.sidebar-btn:nth-child(7) { animation-delay: 0.7s; }
.sidebar-btn:nth-child(8) { animation-delay: 0.8s; }
.sidebar-btn:nth-child(9) { animation-delay: 0.9s; }
.sidebar-btn:nth-child(10) { animation-delay: 1.0s; }
.sidebar-btn:nth-child(11) { animation-delay: 1.1s; }
.sidebar-btn:nth-child(12) { animation-delay: 1.2s; }
.sidebar-btn:nth-child(13) { animation-delay: 1.3s; }
.sidebar-btn:nth-child(14) { animation-delay: 1.4s; }
.sidebar-btn:nth-child(15) { animation-delay: 1.5s; }

@keyframes slideInSidebar {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sidebar-btn:hover {
  background: linear-gradient(45deg, rgba(0,255,255,0.2), rgba(0,255,255,0.1));
  border-color: #0ff;
  box-shadow: 0 0 15px rgba(0,255,255,0.5);
  transform: translateX(5px);
}

.sidebar-btn:active {
  transform: translateX(5px) scale(0.98);
}

/* Panel Overlay */
.panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
}

.panel-content {
  background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(20,20,50,0.9));
  border: 2px solid #0ff;
  border-radius: 15px;
  padding: 30px;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 30px rgba(0,255,255,0.3);
}

.close-panel {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #0ff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-panel:hover {
  background: rgba(0,255,255,0.1);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .cosmic-sidebar {
    transform: translateX(-100%);
    width: 280px;
  }
  
  .cosmic-sidebar.open {
    transform: translateX(0);
  }
  
  .panel-content {
    margin: 20px;
    padding: 20px;
  }
}

/* Adjust main content for sidebar */
@media (max-width: 768px) {
  body {
    margin-left: 0;
  }
}

/* Moon Panel Styles */
.moon-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.moon-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.info-card {
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  background: linear-gradient(135deg, rgba(0,255,255,0.2), rgba(0,255,255,0.1));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,255,255,0.3);
}

.info-card h3 {
  color: #0ff;
  margin: 0 0 10px 0;
  font-size: 14px;
  text-shadow: 0 0 5px #0ff;
}

.info-card div {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
}

.phase-icon {
  font-size: 24px;
  margin-right: 8px;
}

.phase-text {
  font-size: 14px;
}

.distance-value {
  color: #0ff;
  text-shadow: 0 0 5px #0ff;
}

.moon-facts {
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  padding: 20px;
}

.moon-facts h3 {
  color: #0ff;
  margin: 0 0 15px 0;
  text-shadow: 0 0 5px #0ff;
}

.moon-facts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.moon-facts li {
  color: #fff;
  margin: 8px 0;
  padding: 8px;
  background: rgba(0,255,255,0.05);
  border-radius: 5px;
  border-left: 3px solid #0ff;
}

.refresh-btn {
  background: linear-gradient(45deg, #0ff, #00ccff);
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.refresh-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,255,255,0.5);
}

/* Responsive design for moon panel */
@media (max-width: 768px) {
  .moon-container {
    grid-template-columns: 1fr;
  }
  
  .moon-info {
    grid-template-columns: 1fr;
  }
}

/* Sun Panel Styles */
.sun-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.sun-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.sun-facts {
  background: linear-gradient(135deg, rgba(255,165,0,0.1), rgba(255,165,0,0.05));
  border: 1px solid rgba(255,165,0,0.3);
  border-radius: 10px;
  padding: 20px;
}

.sun-facts h3 {
  color: #ffa500;
  margin: 0 0 15px 0;
  text-shadow: 0 0 5px #ffa500;
}

.sun-facts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sun-facts li {
  color: #fff;
  margin: 8px 0;
  padding: 8px;
  background: rgba(255,165,0,0.05);
  border-radius: 5px;
  border-left: 3px solid #ffa500;
}

.solar-activity {
  background: linear-gradient(135deg, rgba(255,165,0,0.1), rgba(255,165,0,0.05));
  border: 1px solid rgba(255,165,0,0.3);
  border-radius: 10px;
  padding: 20px;
  grid-column: 1 / -1;
}

.solar-activity h3 {
  color: #ffa500;
  margin: 0 0 15px 0;
  text-shadow: 0 0 5px #ffa500;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
  background: rgba(255,165,0,0.05);
  border-radius: 5px;
}

.activity-label {
  color: #ffa500;
  font-weight: bold;
}

.activity-value {
  color: #fff;
  font-weight: bold;
}

/* Responsive design for sun panel */
@media (max-width: 768px) {
  .sun-container {
    grid-template-columns: 1fr;
  }
  
  .sun-info {
    grid-template-columns: 1fr;
  }
}

/* Satellites Panel Styles */
.satellites-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.date-selector {
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.date-selector h3 {
  color: #0ff;
  margin: 0 0 15px 0;
  text-shadow: 0 0 5px #0ff;
}

.date-selector input {
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 5px;
  padding: 10px;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  margin-right: 10px;
}

.load-btn {
  background: linear-gradient(45deg, #0ff, #00ccff);
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,255,255,0.5);
}

.satellite-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.stat-card {
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: linear-gradient(135deg, rgba(0,255,255,0.2), rgba(0,255,255,0.1));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,255,255,0.3);
}

.stat-card h4 {
  color: #0ff;
  margin: 0 0 10px 0;
  font-size: 14px;
  text-shadow: 0 0 5px #0ff;
}

.stat-card div {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.satellite-events {
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  padding: 20px;
}

.satellite-events h3 {
  color: #0ff;
  margin: 0 0 15px 0;
  text-shadow: 0 0 5px #0ff;
}

.event-item {
  display: flex;
  align-items: center;
  margin: 10px 0;
  padding: 15px;
  background: rgba(0,255,255,0.05);
  border-radius: 8px;
  border-left: 4px solid #0ff;
  transition: all 0.3s ease;
}

.event-item:hover {
  background: rgba(0,255,255,0.1);
  transform: translateX(5px);
}

.event-item.launch {
  border-left-color: #ff6b6b;
}

.event-item.pass {
  border-left-color: #4ecdc4;
}

.event-item.event {
  border-left-color: #45b7d1;
}

.event-time {
  background: rgba(0,255,255,0.2);
  color: #000;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 12px;
  margin-right: 15px;
  min-width: 80px;
  text-align: center;
}

.event-content {
  flex: 1;
}

.event-title {
  color: #fff;
  font-weight: bold;
  margin-bottom: 5px;
}

.event-description {
  color: #ccc;
  font-size: 14px;
}

.notable-satellites {
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  padding: 20px;
}

.notable-satellites h3 {
  color: #0ff;
  margin: 0 0 15px 0;
  text-shadow: 0 0 5px #0ff;
}

.satellite-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.satellite-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: rgba(0,255,255,0.05);
  border-radius: 8px;
  border-left: 3px solid #0ff;
  transition: all 0.3s ease;
}

.satellite-item:hover {
  background: rgba(0,255,255,0.1);
  transform: translateX(5px);
}

.satellite-name {
  color: #fff;
  font-weight: bold;
}

.satellite-desc {
  color: #ccc;
  font-size: 14px;
}

/* Responsive design for satellites panel */
@media (max-width: 768px) {
  .satellite-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .satellite-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .event-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .event-time {
    margin-right: 0;
    margin-bottom: 5px;
  }
}

/* Constellation Panel Styles */
.constellation-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.constellation-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.control-btn {
  background: linear-gradient(45deg, #0ff, #00ccff);
  color: #000;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,255,255,0.5);
}

.constellation-info {
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  padding: 20px;
}

.constellation-info h3 {
  color: #0ff;
  margin: 0 0 15px 0;
  text-shadow: 0 0 5px #0ff;
}

.star-info h4 {
  color: #0ff;
  margin: 0 0 10px 0;
  text-shadow: 0 0 5px #0ff;
}

.star-info p {
  color: #fff;
  margin: 5px 0;
}

.constellation-canvas-container {
  position: relative;
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(20,20,50,0.6));
  border: 2px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  justify-content: center;
}

#constellationCanvas {
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 5px;
  cursor: crosshair;
  background: radial-gradient(circle, rgba(0,0,0,0.9), rgba(20,20,50,0.8));
}

.constellation-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
}

.zoom-controls {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.zoom-btn {
  background: rgba(0,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(0,255,255,0.5);
  border-radius: 3px;
  padding: 5px 8px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s ease;
}

.zoom-btn:hover {
  background: rgba(0,255,255,0.3);
  transform: scale(1.1);
}

.constellation-list {
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  padding: 20px;
}

.constellation-list h3 {
  color: #0ff;
  margin: 0 0 15px 0;
  text-shadow: 0 0 5px #0ff;
}

.constellation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.constellation-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: rgba(0,255,255,0.05);
  border-radius: 8px;
  border-left: 3px solid #0ff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.constellation-item:hover {
  background: rgba(0,255,255,0.1);
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0,255,255,0.3);
}

.constellation-name {
  color: #fff;
  font-weight: bold;
}

.constellation-desc {
  color: #ccc;
  font-size: 14px;
}

/* Responsive design for constellation panel */
@media (max-width: 768px) {
  .constellation-controls {
    flex-direction: column;
    align-items: center;
  }
  
  .constellation-canvas-container {
    padding: 10px;
  }
  
  #constellationCanvas {
    width: 100%;
    height: auto;
    max-width: 400px;
  }
  
  .constellation-grid {
    grid-template-columns: 1fr;
  }
  
  .constellation-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

/* Panel Loading Animation */
.panel-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
}

.loading-spinner {
  font-size: 48px;
  animation: cosmicSpin 2s linear infinite;
  margin-bottom: 20px;
}

.panel-loading p {
  color: #0ff;
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  text-shadow: 0 0 10px #0ff;
  animation: cosmicPulse 1.5s ease-in-out infinite;
}

@keyframes cosmicSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes cosmicPulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Panel Content Animation */
.panel-content > div:not(.panel-loading) {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Space Weather Panel Styles */
.weather-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.weather-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,165,0,0.1), rgba(255,165,0,0.05));
  border: 1px solid rgba(255,165,0,0.3);
  border-radius: 10px;
  padding: 20px;
}

.weather-header h3 {
  color: #ffa500;
  margin: 0;
  text-shadow: 0 0 5px #ffa500;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.weather-card {
  background: linear-gradient(135deg, rgba(255,165,0,0.1), rgba(255,165,0,0.05));
  border: 1px solid rgba(255,165,0,0.3);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.weather-card:hover {
  background: linear-gradient(135deg, rgba(255,165,0,0.2), rgba(255,165,0,0.1));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,165,0,0.3);
}

.weather-card h4 {
  color: #ffa500;
  margin: 0 0 15px 0;
  font-size: 16px;
  text-shadow: 0 0 5px #ffa500;
}

.weather-value {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.weather-status {
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.weather-status.quiet {
  background: rgba(0,255,0,0.2);
  color: #00ff00;
  border: 1px solid rgba(0,255,0,0.3);
}

.weather-status.normal {
  background: rgba(255,255,0,0.2);
  color: #ffff00;
  border: 1px solid rgba(255,255,0,0.3);
}

.weather-status.high {
  background: rgba(255,0,0,0.2);
  color: #ff6b6b;
  border: 1px solid rgba(255,0,0,0.3);
}

.weather-alerts {
  background: linear-gradient(135deg, rgba(255,165,0,0.1), rgba(255,165,0,0.05));
  border: 1px solid rgba(255,165,0,0.3);
  border-radius: 10px;
  padding: 20px;
}

.weather-alerts h3 {
  color: #ffa500;
  margin: 0 0 15px 0;
  text-shadow: 0 0 5px #ffa500;
}

.alert-item {
  background: rgba(255,165,0,0.05);
  border-left: 3px solid #ffa500;
  padding: 12px;
  margin: 8px 0;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
}

.weather-info {
  background: linear-gradient(135deg, rgba(255,165,0,0.1), rgba(255,165,0,0.05));
  border: 1px solid rgba(255,165,0,0.3);
  border-radius: 10px;
  padding: 20px;
}

.weather-info h3 {
  color: #ffa500;
  margin: 0 0 15px 0;
  text-shadow: 0 0 5px #ffa500;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.info-item {
  background: rgba(255,165,0,0.05);
  border-radius: 8px;
  padding: 15px;
  border-left: 3px solid #ffa500;
}

.info-item h4 {
  color: #ffa500;
  margin: 0 0 8px 0;
  font-size: 14px;
  text-shadow: 0 0 5px #ffa500;
}

.info-item p {
  color: #fff;
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
}

/* Responsive design for weather panel */
@media (max-width: 768px) {
  .weather-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .weather-grid {
    grid-template-columns: 1fr;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* Credits Footer */
.credits-footer {
  background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(20,20,50,0.9));
  border-top: 2px solid #0ff;
  margin-top: 50px;
  padding: 30px 20px;
  box-shadow: 0 -5px 20px rgba(0,255,255,0.2);
}

.credits-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 30px auto;
}

.credits-section {
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  padding: 20px;
}

.credits-section h4 {
  color: #0ff;
  margin: 0 0 15px 0;
  font-size: 16px;
  text-shadow: 0 0 5px #0ff;
  border-bottom: 1px solid rgba(0,255,255,0.3);
  padding-bottom: 8px;
}

.credits-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credits-section li {
  color: #fff;
  margin: 8px 0;
  padding: 5px 0;
  font-size: 14px;
  line-height: 1.4;
}

.credits-section strong {
  color: #0ff;
  text-shadow: 0 0 3px #0ff;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(0,255,255,0.3);
  padding-top: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.copyright p {
  color: #ccc;
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.5;
}

.copyright p:first-child {
  color: #0ff;
  font-weight: bold;
  font-size: 16px;
  text-shadow: 0 0 5px #0ff;
}

.copyright p:last-child {
  color: #ff69b4;
  font-style: italic;
  margin-top: 15px;
}

/* Responsive design for credits footer */
@media (max-width: 768px) {
  .credits-footer {
    padding: 20px 15px;
    margin-top: 30px;
  }
  
  .credits-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .credits-section {
    padding: 15px;
  }
  
  .credits-section h4 {
    font-size: 14px;
  }
  
  .credits-section li {
    font-size: 12px;
  }
  
  .copyright p {
    font-size: 12px;
  }
  
  .copyright p:first-child {
    font-size: 14px;
  }
}

/* Credits Button Container */
.credits-container {
  position: fixed;
  bottom: 10px;
  right: 20px;
  z-index: 1001;
}

.credits-btn {
  background: linear-gradient(135deg, #0ff, #00b3b3);
  color: #000;
  border: none;
  padding: 6px 12px;
  border-radius: 15px;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(0,255,255,0.7);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
  transition: all 0.3s ease;
}

.credits-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0,255,255,0.7);
}

.credits-btn:active {
  transform: translateY(-1px) scale(1.02);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(20,20,50,0.9));
  border: 2px solid #0ff;
  border-radius: 15px;
  margin: 5% auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 30px rgba(0,255,255,0.3);
  animation: slideIn 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(0,255,255,0.3);
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
}

.modal-header h2 {
  color: #0ff;
  margin: 0;
  font-size: 20px;
  text-shadow: 0 0 10px #0ff;
}

.close {
  color: #0ff;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close:hover {
  color: #fff;
  text-shadow: 0 0 10px #0ff;
  transform: scale(1.1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateY(-50px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

/* Credits Content */
.credits-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.credits-section {
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  padding: 15px;
}

.credits-section h4 {
  color: #0ff;
  margin: 0 0 12px 0;
  font-size: 14px;
  text-shadow: 0 0 5px #0ff;
  border-bottom: 1px solid rgba(0,255,255,0.3);
  padding-bottom: 6px;
}

.credits-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credits-section li {
  color: #fff;
  margin: 6px 0;
  padding: 3px 0;
  font-size: 12px;
  line-height: 1.4;
}

.credits-section strong {
  color: #0ff;
  text-shadow: 0 0 3px #0ff;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(0,255,255,0.3);
  padding: 15px 20px;
  background: linear-gradient(135deg, rgba(0,255,255,0.05), rgba(0,255,255,0.02));
}

.copyright p {
  color: #ccc;
  margin: 3px 0;
  font-size: 12px;
  line-height: 1.4;
}

.copyright p:first-child {
  color: #0ff;
  font-weight: bold;
  font-size: 14px;
  text-shadow: 0 0 5px #0ff;
}

.copyright p:last-child {
  color: #ff69b4;
  font-style: italic;
  margin-top: 10px;
}

/* Responsive design for credits */
@media (max-width: 768px) {
  .credits-container {
    bottom: 10px;
    right: 15px;
  }
  
  .credits-btn {
    padding: 6px 12px;
    font-size: 10px;
  }
  
  .modal-content {
    width: 95%;
    margin: 10% auto;
    max-height: 85vh;
  }
  
  .credits-content {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }
  
  .credits-section {
    padding: 12px;
  }
  
  .credits-section h4 {
    font-size: 13px;
  }
  
  .credits-section li {
    font-size: 11px;
  }
  
  .copyright p {
    font-size: 11px;
  }
  
  .copyright p:first-child {
    font-size: 13px;
  }
  
  .modal-header h2 {
    font-size: 18px;
  }
}

/* Parallax Space Journey Styles */
.parallax-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.parallax-controls {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px;
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  flex-wrap: wrap;
}

.control-btn {
  background: linear-gradient(135deg, #0ff, #00b3b3);
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  transition: all 0.3s ease;
}

.control-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,255,255,0.4);
}

.speed-control {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
}

.speed-control input[type="range"] {
  width: 100px;
  height: 6px;
  background: rgba(0,255,255,0.3);
  border-radius: 3px;
  outline: none;
}

.speed-control input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: #0ff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,255,255,0.5);
}

.parallax-viewport {
  flex: 1;
  position: relative;
  height: 400px;
  overflow: hidden;
  background: linear-gradient(135deg, #000428, #004e92);
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  perspective: 1000px;
}

.parallax-scene {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.parallax-element {
  position: absolute;
  transition: all 0.3s ease;
}

.parallax-element.star {
  animation: twinkle 3s infinite ease-in-out;
}

.parallax-element.planet {
  animation: float 6s infinite ease-in-out;
}

.parallax-element.asteroid {
  animation: rotate 8s infinite linear;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.journey-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  padding: 15px;
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
}

.location-display, .distance-display, .speed-display {
  text-align: center;
  padding: 15px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  border: 1px solid rgba(0,255,255,0.2);
}

.location-display h3, .distance-display h3, .speed-display h3 {
  color: #0ff;
  margin: 0 0 10px 0;
  font-size: 14px;
  font-family: 'Orbitron', sans-serif;
}

.location-display div, .distance-display div, .speed-display div {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  font-family: 'Orbitron', sans-serif;
}

.journey-progress {
  padding: 15px;
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(0,0,0,0.5);
  border-radius: 4px;
  overflow: visible;
  margin-bottom: 15px;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0ff, #00b3b3);
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(0,255,255,0.5);
}

.progress-rocket {
  position: absolute;
  top: -18px;
  left: 0%;
  font-size: 40px;
  transition: left 0.3s ease;
  z-index: 10;
  transform: translateX(-50%);
}

.milestones {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.milestone {
  padding: 8px 12px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 20px;
  color: #fff;
  font-size: 12px;
  font-family: 'Orbitron', sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
}

.milestone:hover {
  background: rgba(0,255,255,0.1);
  border-color: #0ff;
}

.milestone.reached {
  background: linear-gradient(135deg, #0ff, #00b3b3);
  color: #000;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(0,255,255,0.6);
  animation: milestoneReached 0.5s ease-out;
}

@keyframes milestoneReached {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.journey-log {
  flex: 1;
  min-height: 200px;
  padding: 15px;
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.journey-log h3 {
  color: #0ff;
  margin: 0 0 15px 0;
  font-family: 'Orbitron', sans-serif;
}

#journeyLog {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-entry {
  padding: 8px 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-family: 'Orbitron', sans-serif;
  animation: logEntryFade 0.3s ease-out;
}

.log-time {
  color: #0ff;
  font-weight: bold;
}

@keyframes logEntryFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive design for parallax panel */
@media (max-width: 768px) {
  .parallax-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .journey-info {
    grid-template-columns: 1fr;
  }
  
  .milestones {
    flex-direction: column;
    align-items: stretch;
  }
  
  .milestone {
    text-align: center;
  }
  
  .parallax-viewport {
    height: 300px;
  }
}

/* Dynamic Color Themes Styles */
.themes-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.theme-preview {
  padding: 15px;
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
}

.theme-preview h3 {
  color: #0ff;
  margin: 0 0 15px 0;
  font-family: 'Orbitron', sans-serif;
}

.preview-window {
  display: flex;
  height: 200px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 8px;
  overflow: hidden;
}

.preview-sidebar {
  width: 120px;
  background: rgba(0,0,0,0.3);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-btn {
  padding: 8px 12px;
  background: rgba(0,255,255,0.1);
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-family: 'Orbitron', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.preview-btn:hover {
  background: rgba(0,255,255,0.2);
  border-color: #0ff;
}

.preview-content {
  flex: 1;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-card {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  max-width: 300px;
}

.preview-card h4 {
  color: #0ff;
  margin: 0 0 10px 0;
  font-family: 'Orbitron', sans-serif;
}

.preview-card p {
  color: #fff;
  font-size: 14px;
  margin: 0;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px;
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
}

.theme-card {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.theme-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,255,255,0.3);
  border-color: #0ff;
}

.theme-card.active {
  border-color: #0ff;
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
  background: rgba(0,255,255,0.1);
}

.theme-preview-box {
  height: 80px;
  border-radius: 8px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.theme-sample {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.theme-card h4 {
  color: #fff;
  margin: 0 0 8px 0;
  font-family: 'Orbitron', sans-serif;
}

.theme-card p {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  margin: 0;
}

/* Theme Color Schemes */
.cosmic-blue .theme-preview-box {
  background: linear-gradient(135deg, #000428, #004e92);
}

.solar-orange .theme-preview-box {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.nebula-purple .theme-preview-box {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.aurora-green .theme-preview-box {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}

.deep-space .theme-preview-box {
  background: linear-gradient(135deg, #0c0c0c, #1a1a2e);
}

.mars-red .theme-preview-box {
  background: linear-gradient(135deg, #cb356b, #bd3f32);
}

.theme-controls {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px;
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  flex-wrap: wrap;
}

.theme-btn {
  background: linear-gradient(135deg, #0ff, #00b3b3);
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  transition: all 0.3s ease;
}

.theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,255,255,0.4);
}

.auto-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
}

.auto-switch input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0ff;
}

.theme-info {
  padding: 15px;
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,255,255,0.05));
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
}

.theme-info h3 {
  color: #0ff;
  margin: 0 0 15px 0;
  font-family: 'Orbitron', sans-serif;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.info-item {
  padding: 15px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 8px;
}

.info-item h4 {
  color: #0ff;
  margin: 0 0 8px 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
}

.info-item p {
  color: #fff;
  font-size: 12px;
  margin: 0;
}

/* Theme Notifications */
.theme-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, rgba(0,255,255,0.9), rgba(0,255,255,0.8));
  color: #000;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,255,255,0.4);
  z-index: 10000;
  animation: slideInRight 0.3s ease-out;
  max-width: 300px;
}

.theme-notification.success {
  background: linear-gradient(135deg, rgba(0,255,0,0.9), rgba(0,255,0,0.8));
  box-shadow: 0 5px 20px rgba(0,255,0,0.4);
}

.theme-notification.error {
  background: linear-gradient(135deg, rgba(255,0,0,0.9), rgba(255,0,0,0.8));
  box-shadow: 0 5px 20px rgba(255,0,0,0.4);
}

.notification-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.notification-content span {
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
}

.notification-content button {
  background: none;
  border: none;
  color: #000;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.notification-content button:hover {
  background: rgba(0,0,0,0.2);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Theme Color Schemes for Body */
body.cosmic-blue {
  --primary-color: #0ff;
  --secondary-color: #00b3b3;
  --accent-color: #0080ff;
  --background-gradient: linear-gradient(135deg, #000428, #004e92);
}

body.solar-orange {
  --primary-color: #ff6b35;
  --secondary-color: #f7931e;
  --accent-color: #ff4500;
  --background-gradient: linear-gradient(135deg, #ff6b35, #f7931e);
}

body.nebula-purple {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #9b59b6;
  --background-gradient: linear-gradient(135deg, #667eea, #764ba2);
}

body.aurora-green {
  --primary-color: #11998e;
  --secondary-color: #38ef7d;
  --accent-color: #00ff88;
  --background-gradient: linear-gradient(135deg, #11998e, #38ef7d);
}

body.deep-space {
  --primary-color: #ffffff;
  --secondary-color: #cccccc;
  --accent-color: #888888;
  --background-gradient: linear-gradient(135deg, #0c0c0c, #1a1a2e);
}

body.mars-red {
  --primary-color: #cb356b;
  --secondary-color: #bd3f32;
  --accent-color: #ff4444;
  --background-gradient: linear-gradient(135deg, #cb356b, #bd3f32);
}

/* Apply theme colors to existing elements */
body.cosmic-blue .sidebar-btn,
body.solar-orange .sidebar-btn,
body.nebula-purple .sidebar-btn,
body.aurora-green .sidebar-btn,
body.deep-space .sidebar-btn,
body.mars-red .sidebar-btn {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

body.cosmic-blue .sidebar-btn:hover,
body.solar-orange .sidebar-btn:hover,
body.nebula-purple .sidebar-btn:hover,
body.aurora-green .sidebar-btn:hover,
body.deep-space .sidebar-btn:hover,
body.mars-red .sidebar-btn:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 15px var(--primary-color);
}

/* Responsive design for themes panel */
@media (max-width: 768px) {
  .theme-grid {
    grid-template-columns: 1fr;
  }
  
  .theme-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .preview-window {
    height: 150px;
  }
  
  .preview-sidebar {
    width: 100px;
  }
}

/* Floating Space Debris Panel */
.debris-sim-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 400px;
  padding: 20px 0 10px 0;
}
.debris-animation {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 220px;
  background: rgba(0,0,0,0.3);
  border-radius: 18px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 0 16px #0ff4, 0 0 32px #0ff2;
}
.debris-piece {
  position: absolute;
  will-change: transform;
  user-select: none;
  pointer-events: none;
  animation: debrisFloat linear infinite;
  opacity: 0.85;
  filter: drop-shadow(0 0 6px #0ff8);
}
@keyframes debrisFloat {
  0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.7; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(-180px) rotate(360deg) scale(1.1); opacity: 0.2; }
}
.debris-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #0ff;
  text-shadow: 0 0 8px #0ff8;
}
.debris-stat {
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
  padding: 6px 16px;
  margin: 0 2px;
}
.debris-info {
  margin-top: 18px;
  max-width: 500px;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 12px 18px;
  color: #fff;
  text-align: left;
  box-shadow: 0 0 8px #0ff4;
}
.debris-info h3 {
  color: #ffd700;
  margin-top: 0;
  margin-bottom: 6px;
  text-shadow: 0 0 8px #ffd70088;
}
.debris-info p {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

/* Mission Simulator Panel */
.mission-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.mission-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.mission-btn {
  background: linear-gradient(135deg, #0ff, #00b3b3);
  color: #000;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0,255,255,0.3);
}

.mission-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
}

.mission-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0,255,255,0.2);
}

.mission-status, .mission-progress {
  text-align: center;
}

.mission-status h3, .mission-progress h3 {
  color: #0ff;
  margin-bottom: 10px;
  text-shadow: 0 0 8px #0ff;
}

.mission-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.stat-item {
  background: rgba(0,0,0,0.4);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(0,255,255,0.2);
}

.stat-label {
  color: #0ff;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 5px;
}

.stat-item span:last-child {
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
}

.mission-log {
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 15px;
  max-height: 200px;
  overflow-y: auto;
}

.mission-log h3 {
  color: #0ff;
  margin-bottom: 10px;
  text-shadow: 0 0 8px #0ff;
}

/* Quiz Panel */
.quiz-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.3);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,255,255,0.2);
}

.quiz-info {
  display: flex;
  gap: 20px;
  color: #0ff;
  font-weight: bold;
  flex-wrap: wrap;
}

.quiz-btn {
  background: linear-gradient(135deg, #0ff, #00b3b3);
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quiz-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0,255,255,0.5);
}

.quiz-question {
  background: rgba(0,0,0,0.3);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.quiz-question h3 {
  color: #ffd700;
  margin-bottom: 20px;
  text-shadow: 0 0 8px #ffd700;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}

.option-btn {
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: 2px solid rgba(0,255,255,0.3);
  padding: 15px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.option-btn:hover {
  border-color: #0ff;
  background: rgba(0,255,255,0.1);
  transform: translateY(-2px);
}

.quiz-feedback, .quiz-results {
  background: rgba(0,0,0,0.3);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.quiz-results h3 {
  color: #ffd700;
  margin-bottom: 15px;
  text-shadow: 0 0 8px #ffd700;
}

.quiz-stats {
  background: rgba(0,0,0,0.3);
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}

.quiz-stats h3 {
  color: #0ff;
  margin-bottom: 15px;
  text-shadow: 0 0 8px #0ff;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.stats-grid .stat-item {
  background: rgba(0,0,0,0.4);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(0,255,255,0.2);
}

.stats-grid .stat-label {
  color: #0ff;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 5px;
}

.stats-grid .stat-item span:last-child {
  color: #fff;
  font-weight: bold;
}

.difficulty-stat {
  background: rgba(0,0,0,0.4);
  padding: 8px 12px;
  border-radius: 6px;
  margin: 5px 0;
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-weight: bold;
}

#difficultyBreakdown h4 {
  color: #0ff;
  margin-bottom: 10px;
  text-shadow: 0 0 6px #0ff;
}

/* Voice Commands Panel */
.voice-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.voice-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.3);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,255,255,0.2);
}

.status-indicator {
  font-weight: bold;
  font-size: 1.1rem;
}

.voice-btn {
  background: linear-gradient(135deg, #0ff, #00b3b3);
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.voice-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
}

.voice-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.voice-input, .voice-output {
  background: rgba(0,0,0,0.3);
  padding: 15px;
  border-radius: 12px;
  min-height: 100px;
}

.voice-input h3, .voice-output h3 {
  color: #0ff;
  margin-bottom: 10px;
  text-shadow: 0 0 8px #0ff;
}

.voice-text {
  color: #fff;
  font-style: italic;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.voice-commands {
  background: rgba(0,0,0,0.3);
  padding: 20px;
  border-radius: 12px;
}

.voice-commands h3 {
  color: #0ff;
  margin-bottom: 15px;
  text-shadow: 0 0 8px #0ff;
}

.commands-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.command-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  border-left: 3px solid #0ff;
}

.command {
  color: #ffd700;
  font-weight: bold;
}

.description {
  color: #fff;
  font-size: 0.9rem;
}

/* News Panel */
.news-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.3);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,255,255,0.2);
}

.news-header h3 {
  color: #0ff;
  margin: 0;
  text-shadow: 0 0 8px #0ff;
}

.news-btn {
  background: linear-gradient(135deg, #0ff, #00b3b3);
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0,255,255,0.5);
}

.news-ticker {
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,255,255,0.3);
}

.ticker-content {
  white-space: nowrap;
  color: #0ff;
  font-weight: bold;
  font-size: 1.1rem;
}

.news-feed {
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.news-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-item {
  background: rgba(0,0,0,0.4);
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid #0ff;
  transition: all 0.3s ease;
}

.news-item:hover {
  transform: translateX(5px);
  box-shadow: 0 0 10px rgba(0,255,255,0.3);
}

.news-item h4 {
  color: #ffd700;
  margin: 0 0 8px 0;
  text-shadow: 0 0 6px #ffd700;
}

.news-item p {
  color: #fff;
  margin: 0 0 10px 0;
}

.news-date, .news-category {
  font-size: 0.8rem;
  color: #0ff;
  margin-right: 15px;
}

.news-categories {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.category-btn {
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: 1px solid rgba(0,255,255,0.3);
  padding: 8px 16px;
  border-radius: 6px;
  font-family: 'Orbitron', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover, .category-btn.active {
  background: rgba(0,255,255,0.2);
  border-color: #0ff;
  color: #0ff;
}

.news-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0,255,255,0.9);
  color: #000;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  animation: slideInRight 0.5s ease;
  z-index: 1000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mission-display {
    grid-template-columns: 1fr;
  }
  
  .mission-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .options-grid {
    grid-template-columns: 1fr;
  }
  
  .voice-display {
    grid-template-columns: 1fr;
  }
  
  .news-header {
    flex-direction: column;
    gap: 10px;
  }
  
  .news-categories {
    justify-content: center;
  }
}

/* Historical Events Styles */
.historical-events-main {
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding: 30px;
  background: rgba(0,0,0,0.7);
  border: 2px solid rgba(0,255,255,0.3);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0,255,255,0.2);
}

.events-header {
  text-align: center;
  margin-bottom: 30px;
}

.events-header h2 {
  color: #0ff;
  font-size: 2rem;
  margin: 0 0 10px 0;
  text-shadow: 0 0 10px #0ff;
}

.current-date {
  color: #ffd700;
  font-size: 1.1rem;
  margin: 0;
  font-style: italic;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.event-item {
  display: flex;
  align-items: flex-start;
  background: rgba(0,255,255,0.1);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
}

.event-item:hover {
  background: rgba(0,255,255,0.2);
  border-color: #0ff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,255,255,0.3);
}

.event-year {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 10px 15px;
  border-radius: 8px;
  margin-right: 20px;
  min-width: 80px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(255,215,0,0.3);
}

.event-content h3 {
  color: #0ff;
  margin: 0 0 8px 0;
  font-size: 1.3rem;
  text-shadow: 0 0 5px #0ff;
}

.event-content p {
  color: #ccc;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.events-footer {
  text-align: center;
  padding: 20px;
  background: rgba(255,215,0,0.1);
  border-radius: 8px;
  border: 1px solid rgba(255,215,0,0.2);
}

.events-footer p {
  color: #ffd700;
  margin: 0;
  font-size: 1.1rem;
  font-style: italic;
}

/* Cosmic Quote Styling */
.cosmic-quote {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(20,20,50,0.6));
  border: 2px solid rgba(255,215,0,0.3);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 25px rgba(255,215,0,0.2);
  animation: quoteGlow 3s ease-in-out infinite alternate;
}

@keyframes quoteGlow {
  0% {
    box-shadow: 0 0 25px rgba(255,215,0,0.2);
    border-color: rgba(255,215,0,0.3);
  }
  100% {
    box-shadow: 0 0 35px rgba(255,215,0,0.4);
    border-color: rgba(255,215,0,0.5);
  }
}

.cosmic-quote p {
  color: #ffd700;
  font-size: 1.1rem;
  font-style: italic;
  margin: 0 0 15px 0;
  text-shadow: 0 0 10px rgba(255,215,0,0.5);
  line-height: 1.6;
  font-weight: 300;
}

.quote-author {
  color: #0ff;
  font-size: 1rem;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(0,255,255,0.5);
  letter-spacing: 1px;
}

/* Historical Events Panel Styles */
.historical-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.date-explorer {
  background: rgba(0,255,255,0.1);
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
}

.date-explorer h3 {
  color: #0ff;
  margin: 0 0 10px 0;
  font-size: 1.8rem;
}

.date-explorer p {
  color: #ccc;
  margin: 0 0 20px 0;
  font-size: 1.1rem;
}

.date-input-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.date-input-section input[type="date"] {
  background: rgba(0,0,0,0.7);
  border: 1px solid #0ff;
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  min-width: 200px;
}

/* Sidebar date input specific styling */
.cosmic-sidebar .date-input-section input[type="date"] {
  width: 152px;
  height: 40.4px;
  background: #00FFFF;
  margin: 10px 5px;
  padding: 10px;
  border: none;
  border-radius: 0;
  color: #000;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  min-width: auto;
}

/* Panel date input specific styling */
.panel-content .date-input-section input[type="date"] {
  width: 180px !important;
  height: 40.4px !important;
  background: #00FFFF !important;
  margin: 10px 5px !important;
  padding: 10px !important;
  border: none !important;
  border-radius: 8px !important;
  color: #000 !important;
  font-family: 'Orbitron', sans-serif !important;
  font-size: 1rem !important;
  min-width: 180px !important;
  max-width: 180px !important;
  box-sizing: border-box !important;
}

.whisper-btn {
  background: linear-gradient(45deg, #0ff, #00ccff);
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.whisper-btn:hover {
  background: linear-gradient(45deg, #00cccc, #0099cc);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,255,255,0.4);
}

.current-btn {
  background: rgba(255,215,0,0.2);
  color: #ffd700;
  border: 1px solid rgba(255,215,0,0.3);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.current-btn:hover {
  background: rgba(255,215,0,0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

.historical-output {
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  min-height: 200px;
}

.historical-story {
  max-width: 800px;
  margin: 0 auto;
}

.historical-story h3 {
  color: #0ff;
  font-size: 2rem;
  margin: 0 0 20px 0;
  text-align: center;
  text-shadow: 0 0 10px #0ff;
}

.historical-events-display {
  margin-bottom: 30px;
}

.historical-quote {
  text-align: center;
  padding: 20px;
  background: rgba(0,255,255,0.1);
  border-radius: 8px;
  border-left: 4px solid #0ff;
}

.historical-quote p {
  color: #ffd700;
  font-style: italic;
  margin: 0;
  font-size: 1.1rem;
}

.historical-info {
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 10px;
  padding: 25px;
}

.historical-info h3 {
  color: #0ff;
  margin: 0 0 20px 0;
  font-size: 1.5rem;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.info-item {
  background: rgba(0,255,255,0.1);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(0,255,255,0.2);
  border-color: #0ff;
  transform: translateY(-2px);
}

.info-item h4 {
  color: #0ff;
  margin: 0 0 10px 0;
  font-size: 1.1rem;
}

.info-item p {
  color: #ccc;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.whisper-text {
  font-size: 1.2rem;
  color: #ffd700;
  text-shadow: 0 0 10px #ffd700;
  margin: 20px 0;
  font-style: italic;
  animation: whisperGlow 2s ease-in-out infinite alternate;
}

@keyframes whisperGlow {
  0% {
    text-shadow: 0 0 10px #ffd700;
  }
  100% {
    text-shadow: 0 0 20px #ffd700, 0 0 30px #ffd700;
  }
}

/* Responsive Design for Historical Events */
@media (max-width: 768px) {
  .historical-events-main {
    margin: 10px;
    padding: 20px;
  }
  
  .events-header h2 {
    font-size: 2rem;
  }
  
  .event-item {
    flex-direction: column;
    text-align: center;
  }
  
  .event-year {
    margin: 0 0 15px 0;
    align-self: center;
  }
  
  .historical-event-item {
    flex-direction: column;
    text-align: center;
  }
  
  .historical-event-item .event-year {
    margin: 0 0 15px 0;
    align-self: center;
  }
  
  .date-explorer {
    padding: 20px;
  }
  
  .date-input-section {
    flex-direction: column;
    gap: 10px;
  }
  
  .date-input-section input[type="date"] {
    width: 100%;
    min-width: auto;
  }
  
  .whisper-btn, .current-btn {
    width: 100%;
    margin: 5px 0;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .historical-story h3 {
    font-size: 1.5rem;
  }
  
  .cosmic-quote {
    margin-top: 20px;
    padding: 20px;
  }
  
  .cosmic-quote p {
    font-size: 1.2rem;
  }
}

/* Aurora Panel Styles */
.aurora-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.aurora-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(0,255,128,0.1), rgba(0,255,128,0.05));
  border: 1px solid rgba(0,255,128,0.3);
  border-radius: 10px;
  padding: 20px;
}

.aurora-header h3 {
  color: #00ff80;
  margin: 0;
  text-shadow: 0 0 5px #00ff80;
}

.aurora-facts {
  background: linear-gradient(135deg, rgba(0,255,128,0.1), rgba(0,255,128,0.05));
  border: 1px solid rgba(0,255,128,0.3);
  border-radius: 10px;
  padding: 20px;
}

.aurora-facts h3 {
  color: #00ff80;
  margin: 0 0 15px 0;
  text-shadow: 0 0 5px #00ff80;
}

.aurora-facts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aurora-facts li {
  color: #fff;
  margin: 8px 0;
  padding: 8px;
  background: rgba(0,255,128,0.05);
  border-radius: 5px;
  border-left: 3px solid #00ff80;
}

.aurora-animation-container {
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(20,20,50,0.6));
  border: 2px solid rgba(0,255,128,0.3);
  border-radius: 10px;
  padding: 20px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.aurora-animation-container h3 {
  color: #00ff80;
  margin: 0 0 15px 0;
  text-shadow: 0 0 5px #00ff80;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 2px;
  background: linear-gradient(135deg, rgba(0,255,128,0.1), rgba(0,255,128,0.05));
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(0,255,128,0.3);
  box-shadow: 0 0 15px rgba(0,255,128,0.2);
}

.aurora-video {
  width: 100%;
  height: 350px;
  background: radial-gradient(circle, rgba(0,0,0,0.9), rgba(20,20,50,0.8));
  border: 1px solid rgba(0,255,128,0.3);
  border-radius: 8px;
  cursor: pointer;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(0,255,128,0.2);
}

.aurora-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
  flex-wrap: wrap;
}

.aurora-btn {
  background: linear-gradient(45deg, #00ff80, #00cc66);
  color: #000;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.aurora-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,255,128,0.5);
}

.aurora-visibility {
  background: linear-gradient(135deg, rgba(0,255,128,0.1), rgba(0,255,128,0.05));
  border: 1px solid rgba(0,255,128,0.3);
  border-radius: 10px;
  padding: 20px;
}

.aurora-visibility h3 {
  color: #00ff80;
  margin: 0 0 15px 0;
  text-shadow: 0 0 5px #00ff80;
}

.visibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.visibility-card {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(0,255,128,0.2);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.visibility-card:hover {
  background: rgba(0,255,128,0.1);
  border-color: #00ff80;
  transform: translateY(-2px);
}

.visibility-card h4 {
  color: #00ff80;
  margin: 0 0 10px 0;
  font-size: 14px;
  text-shadow: 0 0 5px #00ff80;
}

.visibility-card div {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
}

.visibility-status {
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 8px;
  display: inline-block;
}

.visibility-status.high {
  background: rgba(0,255,0,0.2);
  color: #00ff00;
  border: 1px solid rgba(0,255,0,0.3);
}

.visibility-status.moderate {
  background: rgba(255,255,0,0.2);
  color: #ffff00;
  border: 1px solid rgba(255,255,0,0.3);
}

.visibility-status.low {
  background: rgba(255,0,0,0.2);
  color: #ff6b6b;
  border: 1px solid rgba(255,0,0,0.3);
}

.aurora-info {
  background: linear-gradient(135deg, rgba(0,255,128,0.1), rgba(0,255,128,0.05));
  border: 1px solid rgba(0,255,128,0.3);
  border-radius: 10px;
  padding: 20px;
}

.aurora-info h3 {
  color: #00ff80;
  margin: 0 0 15px 0;
  text-shadow: 0 0 5px #00ff80;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.info-item {
  background: rgba(0,255,128,0.05);
  border-radius: 8px;
  padding: 15px;
  border-left: 3px solid #00ff80;
}

.info-item h4 {
  color: #00ff80;
  margin: 0 0 8px 0;
  font-size: 14px;
  text-shadow: 0 0 5px #00ff80;
}

.info-item p {
  color: #fff;
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
}

/* Responsive design for aurora panel */
@media (max-width: 768px) {
  .aurora-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .formation-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .aurora-formation-image {
    max-width: 100%;
    justify-self: center;
  }
  
  .visibility-grid {
    grid-template-columns: 1fr;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .aurora-controls {
    flex-direction: column;
    align-items: center;
  }
}

.aurora-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,255,128,0.5);
}

.aurora-formation {
  background: linear-gradient(135deg, rgba(0,255,128,0.1), rgba(0,255,128,0.05));
  border: 1px solid rgba(0,255,128,0.3);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}

.aurora-formation h3 {
  color: #00ff80;
  margin: 0 0 20px 0;
  text-shadow: 0 0 5px #00ff80;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.formation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: start;
}

.aurora-formation-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  border: 2px solid rgba(0,255,128,0.3);
  box-shadow: 0 0 20px rgba(0,255,128,0.2);
  object-fit: cover;
}

.formation-text {
  color: #fff;
}

.formation-text h4 {
  color: #00ff80;
  margin: 0 0 15px 0;
  font-size: 1.2rem;
  text-shadow: 0 0 5px #00ff80;
}

.formation-text p {
  margin: 0 0 15px 0;
  line-height: 1.6;
  font-size: 14px;
}

.formation-text ol {
  margin: 0 0 15px 0;
  padding-left: 20px;
}

.formation-text li {
  margin: 8px 0;
  line-height: 1.5;
  font-size: 14px;
}

.formation-text strong {
  color: #00ff80;
  text-shadow: 0 0 3px #00ff80;
}

/* Creators Panel Styles */
.creators-panel {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin: 30px 0 10px 0;
}
.creator {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, rgba(0,255,255,0.08), rgba(0,255,255,0.03));
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 16px;
  padding: 18px 24px 16px 24px;
  box-shadow: 0 0 12px rgba(0,255,255,0.12);
  min-width: 180px;
}
.creator-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #0ff;
  box-shadow: 0 0 18px #0ff6;
  margin-bottom: 14px;
  background: #111;
}
.creator-role {
  color: #ffd700;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  margin: 0;
  text-align: center;
  text-shadow: 0 0 8px #0ff8, 0 0 2px #000;
}
.role-desc {
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Orbitron', sans-serif;
  display: block;
  margin-top: 4px;
  text-shadow: 0 0 4px #0ff6;
}
@media (max-width: 900px) {
  .creators-panel {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .creator {
    min-width: 0;
    width: 80vw;
    max-width: 320px;
  }
}

.creator-about {
  color: #fff;
  font-size: 0.98rem;
  font-family: 'Orbitron', sans-serif;
  margin: 10px 0 0 0;
  text-align: center;
  background: rgba(0,0,0,0.18);
  border-radius: 8px;
  padding: 8px 10px 6px 10px;
  box-shadow: 0 0 6px #0ff3;
  text-shadow: 0 0 4px #0ff4, 0 0 1px #000;
}
.creators-footer {
  margin-top: 32px;
  text-align: center;
}
.creators-together {
  color: #ffd700;
  font-size: 1.15rem;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 10px #0ff8, 0 0 2px #000;
  margin: 0 auto;
  background: rgba(0,0,0,0.18);
  border-radius: 10px;
  padding: 12px 18px 10px 18px;
  display: inline-block;
}

.creators-panel .creator {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s, transform 0.6s;
}
.creators-panel.show .creator {
  opacity: 1;
  transform: translateY(0);
}
.creators-panel.show .creator:nth-child(1) {
  transition-delay: 0.1s;
}
.creators-panel.show .creator:nth-child(2) {
  transition-delay: 0.3s;
}


/* --- Chatbot Widget Styles --- */
#chatbot-trigger-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#chatbot-label {
  background: linear-gradient(90deg, #0ff, #ffd700);
  color: #222;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  padding: 6px 16px;
  border-radius: 16px;
  margin-bottom: 8px;
  box-shadow: 0 2px 12px #0ff4;
  animation: chatbotLabelFloat 2s infinite alternate;
  transition: background 0.3s;
  pointer-events: none;
}
#chatbot-label.float {
  background: linear-gradient(90deg, #ffd700, #0ff);
}
@keyframes chatbotLabelFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}
#chatbot-trigger {
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  border-radius: 50%;
  box-shadow: 0 0 18px #0ff8, 0 0 8px #ffd70080;
  transition: box-shadow 0.3s, transform 0.2s;
  padding: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#chatbot-trigger:hover {
  box-shadow: 0 0 32px #ffd700cc, 0 0 16px #0ffccc;
  transform: scale(1.08);
}
#rocket-svg {
  width: 56px;
  height: 56px;
  display: block;
}
#chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 32px;
  width: 450px;
  max-width: 99vw;
  background: linear-gradient(135deg, #0a0a23 80%, #0ff2 100%);
  border: 2px solid #0ff;
  border-radius: 18px;
  box-shadow: 0 0 32px #0ff8, 0 0 12px #ffd70080, 0 8px 40px 0 #0008;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.55s cubic-bezier(0.4, 0.2, 0.2, 1), transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1), box-shadow 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.chatbot-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px) scale(0.93);
  box-shadow: 0 0 0 #0000;
}
.chatbot-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  box-shadow: 0 0 32px #0ff8, 0 0 12px #ffd70080, 0 8px 40px 0 #0008;
}
.chatbot-header {
  background: linear-gradient(90deg, #0ff, #ffd700);
  color: #222;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #0ff;
}
#chatbot-close {
  background: none;
  border: none;
  color: #222;
  font-size: 1.3rem;
  cursor: pointer;
  border-radius: 50%;
  padding: 2px 8px;
  transition: background 0.2s;
}
#chatbot-close:hover {
  background: #0ff2;
}
.chatbot-messages {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  max-height: 400px;
}
.chatbot-message {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.97rem;
  font-family: 'Orbitron', sans-serif;
  max-width: 80%;
  word-break: break-word;
  box-shadow: 0 2px 8px #0ff2;
  opacity: 0;
  transform: translateY(20px);
  animation: chatbotMsgIn 0.4s forwards;
}
@keyframes chatbotMsgIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.chatbot-message.user {
  background: linear-gradient(90deg, #0ff2, #ffd7002a);
  align-self: flex-end;
  box-shadow: 0 2px 8px #ffd7002a;
}
.chatbot-message.bot {
  background: linear-gradient(90deg, #222, #0ff2);
  align-self: flex-start;
  box-shadow: 0 2px 8px #0ff2;
}
.chatbot-message.user, .chatbot-message.bot {
  color: #fff !important;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.97rem;
}
#chatbot-form {
  display: flex;
  border-top: 1px solid #0ff4;
  background: #0a0a23;
  padding: 8px 10px;
  gap: 8px;
  align-items: center;
}

.chatbot-input-container {
  display: flex;
  flex: 1;
  gap: 8px;
  align-items: center;
  order: 2;
}

#chatbot-input {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1.08rem;
  font-family: 'Orbitron', sans-serif;
  background: #111;
  color: #fff;
  outline: none;
  box-shadow: 0 0 6px #0ff2;
  transition: box-shadow 0.2s;
  height: 44px;
}

#chatbot-input:focus {
  box-shadow: 0 0 12px #0ff8;
}

#chatbot-mic-btn {
  background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: bold;
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#chatbot-mic-btn:hover {
  background: linear-gradient(90deg, #ff8e8e, #ff6b6b);
  transform: scale(1.05);
  box-shadow: 0 0 12px #ff6b6b80;
}

#chatbot-mic-btn.listening {
  background: linear-gradient(90deg, #ff4444, #ff6666);
  animation: micPulse 1.5s infinite;
}

@keyframes micPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

#chatbot-form button[type="submit"] {
  background: linear-gradient(90deg, #0ff, #ffd700);
  color: #222;
  border: none;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 1rem;
  font-family: 'Orbitron', sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-weight: bold;
  min-width: 48px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  order: 1;
}

#chatbot-form button[type="submit"]:hover {
  background: linear-gradient(90deg, #ffd700, #0ff);
  color: #111;
}
@media (max-width: 600px) {
  #chatbot-trigger-container {
    right: 10px;
    bottom: 10px;
  }
  #chatbot-window {
    right: 10px;
    bottom: 70px;
    width: 98vw;
    max-width: 98vw;
    min-width: 0;
  }
  .chatbot-messages {
    max-height: 260px;
    min-height: 120px;
  }
  #chatbot-form button[type="submit"] {
    min-width: 60px;
    height: 40px;
    font-size: 1rem;
  }
  #chatbot-input {
    height: 40px;
    font-size: 1rem;
  }
}
/* --- End Chatbot Widget Styles --- */

#chatbot-trigger .alien {
  position: relative;
  width: 56px;
  height: 80px;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: transform 0.2s;
  z-index: 9999;
  background: none !important;
  border: none !important;
  box-shadow: 0 0 16px #7fff00cc, 0 0 8px #ff69b4cc;
}
#chatbot-trigger .alien * {
  z-index: 9999;
  background: none;
  border: none;
}

#floating-alien {
  position: fixed;
  bottom: 90px;
  right: 90px;
  z-index: 3000;
  width: 56px;
  height: 80px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: none !important;
  flex-direction: column;
}
#floating-alien .alien {
  pointer-events: auto;
}
#floating-alien .head {
  border: 2px solid #333;
  background: #7fff00;
}
#floating-alien .alien, #floating-alien .alien * {
  background: none;
  z-index: 9999;
}
@media (max-width: 600px) {
  #floating-alien {
    right: 20px;
    bottom: 80px;
  }
  .floating-rocket {
    width: 44px;
    height: 44px;
  }
  #floating-label {
    font-size: 0.9rem;
    padding: 4px 10px;
    bottom: 54px;
  }
}

.dynamic-devs {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(90deg, #0ff, #ffd700, #ff69b4, #0ff);
  background-size: 200% auto;
  text-shadow: 0 0 12px #0ff8, 0 0 24px #ffd70088, 0 0 8px #ff69b488;
  animation: devsGradientMove 3s linear infinite;
  letter-spacing: 2px;
  padding: 8px 24px;
  border-radius: 16px;
  display: inline-block;
  background-color: rgba(10, 10, 30, 0.85);
  border: 2px solid #0ff;
  box-shadow: 0 0 16px #0ff4, 0 0 8px #ffd70044;
}
@keyframes devsGradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.floating-rocket {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 18px #0ff8, 0 0 8px #ffd70080;
  background: #111a;
  transition: box-shadow 0.3s, transform 0.2s;
  cursor: pointer;
  animation: rocketFloat 2s infinite alternate;
}
.floating-rocket:hover {
  box-shadow: 0 0 32px #ffd700cc, 0 0 16px #0ffccc;
  transform: scale(1.08);
}
@keyframes rocketFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}
@media (max-width: 600px) {
  #floating-alien {
    right: 10px;
    bottom: 10px;
  }
  .floating-rocket {
    width: 44px;
    height: 44px;
  }
}

#floating-label {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #0ff, #ffd700);
  color: #222;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  padding: 6px 16px;
  border-radius: 16px;
  box-shadow: 0 2px 12px #0ff4;
  animation: labelFloat 2s infinite alternate;
  pointer-events: none;
  z-index: 1;
}
@keyframes labelFloat {
  0% { transform: translateX(-50%) translateY(0); }
  100% { transform: translateX(-50%) translateY(-8px); }
}
#floating-alien {
  position: fixed;
  bottom: 90px;
  right: 90px;
  z-index: 3000;
  width: 56px;
  height: 80px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: none !important;
  flex-direction: column;
}

@media (max-width: 600px) {
  #floating-alien {
    right: 20px;
    bottom: 80px;
  }
  .floating-rocket {
    width: 44px;
    height: 44px;
  }
  #floating-label {
    font-size: 0.9rem;
    padding: 4px 10px;
    bottom: 54px;
  }
}

/* Chatbot Window Styles */
#chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 32px;
  width: 450px;
  max-width: 99vw;
  background: linear-gradient(135deg, #0a0a23 80%, #0ff2 100%);
  border: 2px solid #0ff;
  border-radius: 18px;
  box-shadow: 0 0 32px #0ff8, 0 0 12px #ffd70080, 0 8px 40px 0 #0008;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.55s cubic-bezier(0.4, 0.2, 0.2, 1), transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1), box-shadow 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.chatbot-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px) scale(0.93);
  box-shadow: 0 0 0 #0000;
}
.chatbot-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  box-shadow: 0 0 32px #0ff8, 0 0 12px #ffd70080, 0 8px 40px 0 #0008;
}
.chatbot-header {
  background: linear-gradient(90deg, #0ff, #ffd700);
  color: #222;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #0ff;
}
#chatbot-close {
  background: none;
  border: none;
  color: #222;
  font-size: 1.3rem;
  cursor: pointer;
  border-radius: 50%;
  padding: 2px 8px;
  transition: background 0.2s;
}
#chatbot-close:hover {
  background: #0ff2;
}
.chatbot-messages {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  max-height: 400px;
}
.chatbot-message {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.97rem;
  font-family: 'Orbitron', sans-serif;
  max-width: 80%;
  word-break: break-word;
  box-shadow: 0 2px 8px #0ff2;
  opacity: 0;
  transform: translateY(20px);
  animation: chatbotMsgIn 0.4s forwards;
}
@keyframes chatbotMsgIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.chatbot-message.user {
  background: linear-gradient(90deg, #0ff2, #ffd7002a);
  align-self: flex-end;
  box-shadow: 0 2px 8px #ffd7002a;
}
.chatbot-message.bot {
  background: linear-gradient(90deg, #222, #0ff2);
  align-self: flex-start;
  box-shadow: 0 2px 8px #0ff2;
}
.chatbot-message.user, .chatbot-message.bot {
  color: #fff !important;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.97rem;
}
#chatbot-form {
  display: flex;
  border-top: 1px solid #0ff4;
  background: #0a0a23;
  padding: 8px 10px;
  gap: 8px;
  align-items: center;
}
#chatbot-input {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1.08rem;
  font-family: 'Orbitron', sans-serif;
  background: #111;
  color: #fff;
  outline: none;
  box-shadow: 0 0 6px #0ff2;
  transition: box-shadow 0.2s;
  height: 44px;
}
#chatbot-input:focus {
  box-shadow: 0 0 12px #0ff8;
}
#chatbot-form button[type="submit"] {
  background: linear-gradient(90deg, #0ff, #ffd700);
  color: #222;
  border: none;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 1.08rem;
  font-family: 'Orbitron', sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-weight: bold;
  min-width: 54px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  order: 1;
}
#chatbot-form button[type="submit"]:hover {
  background: linear-gradient(90deg, #ffd700, #0ff);
  color: #111;
}
@media (max-width: 600px) {
  #floating-alien {
    right: 10px;
    bottom: 10px;
  }
  .floating-rocket {
    width: 44px;
    height: 44px;
  }
  #chatbot-window {
    right: 10px;
    bottom: 70px;
    width: 98vw;
    max-width: 98vw;
    min-width: 0;
  }
  .chatbot-messages {
    max-height: 260px;
    min-height: 120px;
  }
  #floating-label {
    font-size: 0.9rem;
    padding: 4px 10px;
    bottom: 54px;
  }
  #chatbot-form button[type="submit"] {
    min-width: 60px;
    height: 40px;
    font-size: 1rem;
  }
  #chatbot-input {
    height: 40px;
    font-size: 1rem;
  }
}

.universe-whisper {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(90deg, #0ff, #ffd700, #ff69b4, #0ff);
  background-size: 200% auto;
  text-shadow: 0 0 12px #0ff8, 0 0 24px #ffd70088, 0 0 8px #ff69b488;
  animation: devsGradientMove 3s linear infinite;
  letter-spacing: 1.5px;
  padding: 8px 24px;
  border-radius: 16px;
  display: inline-block;
  background-color: rgba(10, 10, 30, 0.85);
  border: 2px solid #0ff;
  box-shadow: 0 0 16px #0ff4, 0 0 8px #ffd70044;
  margin-bottom: 10px;
}

.front-whisper {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffd700;
  text-shadow: 0 0 8px #ffd700, 0 0 12px #0ff8;
  letter-spacing: 1px;
  margin: 8px auto 18px auto;
  text-align: center;
  opacity: 1;
  transform: none;
  font-style: italic;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  display: inline;
}

@keyframes rocketFlyUp {
  0% {
    transform: translateY(0) scale(1) rotate(-10deg);
    opacity: 1;
  }
  80% {
    transform: translateY(-180px) scale(1.2) rotate(-10deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-300px) scale(0.8) rotate(-10deg);
    opacity: 0;
  }
}
.floating-rocket.fly-up {
  animation: rocketFlyUp 1s cubic-bezier(0.4,1.4,0.6,1) forwards;
  z-index: 99999;
}
@keyframes rocketFlyDown {
  0% {
    transform: translateY(-300px) scale(0.8) rotate(-10deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
  }
}
.floating-rocket.fly-down {
  animation: rocketFlyDown 1s cubic-bezier(0.4,1.4,0.6,1) forwards;
  z-index: 99999;
}

.rocket-left {
  position: fixed;
  left: calc(32px - 56px - 16px); /* 32px (chatbox right) - rocket width - gap */
  top: calc(100vh - 100px - 28px); /* 100px (chatbox bottom) + half rocket height */
  z-index: 4001;
  transition: left 0.5s, top 0.5s;
}
@media (max-width: 600px) {
  .rocket-left {
    left: 10px;
    top: calc(100vh - 70px - 22px);
  }
}

@keyframes rocketFlyBack {
  0% {
    transform: translate(-320px, -60px) scale(1) rotate(0deg);
    opacity: 1;
  }
  30% {
    transform: translate(-180px, -220px) scale(1.1) rotate(-10deg);
    opacity: 1;
  }
  60% {
    transform: translate(0, -180px) scale(1.2) rotate(-10deg);
    opacity: 1;
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(-10deg);
    opacity: 1;
  }
}
.floating-rocket.fly-back {
  animation: rocketFlyBack 1.1s cubic-bezier(0.4,1.4,0.6,1) forwards;
  z-index: 99999;
}

#chatbot-input::placeholder {
  font-size: 0.95rem;
  color: #b0eaff;
  opacity: 0.8;
  font-family: 'Orbitron', sans-serif;
}

/* Shubhanshu Shukla Banner Styles */
.shukla-banner {
  max-width: 800px;
  margin: 30px auto 30px auto;
  padding: 28px 24px 24px 24px;
  background: linear-gradient(135deg, #0ff 0%, #003366 100%);
  border: 3px solid #ffd700;
  border-radius: 18px;
  box-shadow: 0 0 30px 0 rgba(0,255,255,0.25), 0 0 10px 0 #ffd700;
  text-align: center;
  position: relative;
  z-index: 10;
  animation: shuklaBannerPop 1.2s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes shuklaBannerPop {
  0% { transform: scale(0.8) translateY(-40px); opacity: 0; }
  80% { transform: scale(1.05) translateY(10px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.shukla-badge {
  display: inline-block;
  background: linear-gradient(90deg, #ffd700 60%, #fffbe6 100%);
  color: #003366;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 12px;
  box-shadow: 0 0 10px #ffd700;
  letter-spacing: 1px;
  animation: badgeGlow 2s infinite alternate;
}

@keyframes badgeGlow {
  0% { box-shadow: 0 0 10px #ffd700; }
  100% { box-shadow: 0 0 25px #ffd700, 0 0 10px #fffbe6; }
}

.shukla-headline {
  color: #ffd700;
  font-size: 2rem;
  margin: 10px 0 12px 0;
  text-shadow: 0 0 12px #ffd700, 0 0 4px #fff;
  font-family: 'Orbitron', sans-serif;
}

.shukla-summary {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 18px;
  line-height: 1.6;
  font-family: 'Orbitron', sans-serif;
}

.shukla-share-btn {
  background: linear-gradient(90deg, #ffd700 60%, #0ff 100%);
  color: #003366;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  cursor: pointer;
  box-shadow: 0 0 10px #ffd700, 0 0 8px #0ff;
  transition: all 0.2s;
  font-family: 'Orbitron', sans-serif;
}

.shukla-share-btn:hover {
  background: linear-gradient(90deg, #0ff 60%, #ffd700 100%);
  color: #003366;
  transform: scale(1.05);
  box-shadow: 0 0 20px #ffd700, 0 0 16px #0ff;
}

@media (max-width: 768px) {
  .shukla-banner {
    padding: 16px 6px 16px 6px;
    margin: 12px 6px 18px 6px;
  }
  .shukla-headline {
    font-size: 1.2rem;
  }
  .shukla-summary {
    font-size: 0.95rem;
  }
  .shukla-share-btn {
    font-size: 0.95rem;
    padding: 10px 12px;
  }
}

/* Professional Shubhanshu Shukla Banner Styles */
.shukla-banner-pro {
  max-width: 800px;
  margin: 32px auto 0 auto;
  padding: 22px 28px 18px 28px;
  background: #f7f9fa;
  border: 1.5px solid #e0e4ea;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
  color: #222;
  text-align: left;
  position: relative;
}

.shukla-headline-pro {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a237e;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.shukla-summary-pro {
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.6;
}

.shukla-quote-pro {
  display: block;
  color: #607d8b;
  font-style: italic;
  margin-top: 8px;
  font-size: 0.98rem;
}

.shukla-share-btn-pro {
  float: right;
  background: #e0e4ea;
  color: #1a237e;
  border: none;
  border-radius: 5px;
  padding: 6px 18px;
  font-size: 0.98rem;
  font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}

.shukla-share-btn-pro:hover {
  background: #cfd8dc;
}

@media (max-width: 768px) {
  .shukla-banner-pro {
    padding: 12px 6px 12px 6px;
    margin: 18px 6px 0 6px;
    font-size: 0.97rem;
  }
  .shukla-headline-pro {
    font-size: 1.05rem;
  }
  .shukla-share-btn-pro {
    float: none;
    display: block;
    width: 100%;
    margin-top: 10px;
  }
}

/* Indian Flag Themed Shubhanshu Shukla Banner */
.shukla-banner-india {
  border: 0;
  border-top: 6px solid #FF9933; /* Saffron */
  border-bottom: 6px solid #138808; /* Green */
  background: linear-gradient(135deg, #fff 70%, #e3f6e3 100%);
  box-shadow: 0 2px 16px rgba(19,136,8,0.07), 0 0 0 2px #fff;
  position: relative;
  /* Add flag background */
  background-image: url('flag.jpg'), linear-gradient(135deg, #fff 70%, #e3f6e3 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.shukla-banner-india::before {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, #FF9933 0%, #fff 50%, #138808 100%);
  border-radius: 10px 10px 0 0;
  z-index: 1;
}

.shukla-banner-india::after {
  /* Add a semi-transparent dark overlay for readability and to enhance flag colors */
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(0,0,0,0.28);
  z-index: 2;
  pointer-events: none;
  border-radius: 10px;
}

.shukla-banner-india > * {
  position: relative;
  z-index: 3;
}

/* White semi-transparent background for Shukla banner text */
.shukla-banner-text-bg {
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  padding: 22px 28px 18px 28px;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: relative;
  z-index: 4;
  /* For mobile, reduce padding */
}
@media (max-width: 768px) {
  .shukla-banner-text-bg {
    padding: 12px 6px 12px 6px;
    max-width: 98vw;
  }
}

/* 3D Solar System Styles */
.solar-system-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
  z-index: 1000;
  display: none;
  overflow: hidden;
}

.solar-system-container.active {
  display: block;
}

.solar-system-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.solar-system-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1001;
}

.solar-system-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #00eaff;
  border-radius: 10px;
  padding: 15px;
  pointer-events: all;
  backdrop-filter: blur(10px);
}

.solar-system-controls h3 {
  color: #00eaff;
  margin: 0 0 10px 0;
  font-size: 16px;
  font-family: 'Orbitron', monospace;
}

.control-group {
  margin-bottom: 10px;
}

.control-group label {
  color: #ffffff;
  font-size: 12px;
  display: block;
  margin-bottom: 5px;
}

.control-group input[type="range"] {
  width: 100%;
  max-width: 400px;
  background: #333;
  border-radius: 5px;
  outline: none;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
}

.control-group input[type="range"]::-webkit-slider-track {
  width: 100%;
  height: 8px;
  background: #333;
  border-radius: 4px;
  border: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #00eaff;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 5px rgba(0, 234, 255, 0.5);
}

.control-group input[type="range"]::-moz-range-track {
  width: 100%;
  height: 8px;
  background: #333;
  border-radius: 4px;
  border: none;
}

.control-group input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #00eaff;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 5px rgba(0, 234, 255, 0.5);
}

.control-btn {
  background: linear-gradient(45deg, #00eaff, #0099cc);
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  margin: 2px;
  transition: all 0.3s ease;
}

.control-btn:hover {
  background: linear-gradient(45deg, #0099cc, #00eaff);
  transform: translateY(-2px);
}

.control-btn.active {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

.solar-system-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  gap: 20px;
  pointer-events: all;
}

.info-panel {
  flex: 1;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid #00eaff;
  border-radius: 10px;
  padding: 20px;
  backdrop-filter: blur(10px);
  transform: translateY(100%);
  transition: transform 0.5s ease;
  max-height: 300px;
  overflow-y: auto;
}

.info-panel.active {
  transform: translateY(0);
}

.info-panel h3 {
  color: #00eaff;
  margin: 0 0 15px 0;
  font-size: 18px;
  font-family: 'Orbitron', monospace;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-panel h3 .planet-icon {
  font-size: 24px;
}

.info-data {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
}

.info-data strong {
  color: #00eaff;
}

.info-data ul {
  margin: 10px 0;
  padding-left: 20px;
}

.info-data li {
  margin-bottom: 8px;
}

.close-solar-system {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 0, 0, 0.8);
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  z-index: 1002;
  pointer-events: all;
  transition: all 0.3s ease;
}

.close-solar-system:hover {
  background: rgba(255, 0, 0, 1);
  transform: scale(1.1);
}

.solar-system-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #00eaff;
  font-size: 24px;
  font-family: 'Orbitron', monospace;
  text-align: center;
  z-index: 1003;
}

.solar-system-loading .spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 234, 255, 0.3);
  border-top: 3px solid #00eaff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.planet-label {
  position: absolute;
  color: #ffffff;
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #00eaff;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1004;
}

.planet-label.visible {
  opacity: 1;
}

/* Responsive Design for 3D Solar System */
@media (max-width: 768px) {
  .solar-system-controls {
    top: 10px;
    right: 10px;
    padding: 10px;
  }
  
  .solar-system-controls h3 {
    font-size: 14px;
  }
  
  .control-btn {
    padding: 6px 8px;
    font-size: 10px;
  }
  
  .solar-system-info {
    bottom: 10px;
    left: 10px;
    right: 10px;
    flex-direction: column;
    gap: 10px;
  }
  
  .info-panel {
    padding: 15px;
    max-height: 200px;
  }
  
  .info-panel h3 {
    font-size: 16px;
  }
  
  .info-data {
    font-size: 12px;
  }
  
  .close-solar-system {
    top: 10px;
    left: 10px;
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Performance optimization for mobile */
@media (max-width: 480px) {
  .solar-system-container {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 100%);
  }
  
  .info-panel {
    max-height: 150px;
  }
}

.info-panel h3 .planet-icon {
  font-size: 24px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 234, 255, 0.3);
}

.panel-header h4 {
  color: #00eaff;
  margin: 0;
  font-size: 18px;
  font-family: 'Orbitron', monospace;
}

.panel-close-btn {
  background: rgba(255, 0, 0, 0.8);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.panel-close-btn:hover {
  background: rgba(255, 0, 0, 1);
  transform: scale(1.1);
}

.info-data {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}

.solar-system-container, .solar-system-canvas {
  user-select: none;
}
