/* 3D Weather Globe Styles */
.globe-section {
  margin: 2rem 0;
}

.globe-card {
  background: linear-gradient(135deg, rgba(0, 255, 127, 0.2), rgba(70, 130, 180, 0.2));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px;
  margin: 20px 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

.globe-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.globe-visualization {
  width: 100%;
  height: 400px;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Make sure the globe canvas takes full space */
#globeViz {
  width: 100% !important;
  height: 100% !important;
  min-height: 400px;
}

#globeViz canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Globe controls styling */
.controls-card {
  background: rgba(22, 22, 44, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 1.5rem 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 600px;
  margin-top: 1.5rem;
}

.globe-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.globe-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.9rem;
  min-width: 120px;
}

.globe-btn:hover,
.globe-btn.active {
  background: linear-gradient(45deg, #00ff7f, #00ccff);
  color: #0a0a1a;
  box-shadow: 0 0 20px rgba(0, 255, 127, 0.5);
  transform: translateY(-2px);
}

.globe-btn.active {
  background: linear-gradient(45deg, #ff6b6b, #ffa500);
  color: white;
}

/* Responsive design */
@media (max-width: 768px) {
  .globe-visualization {
    height: 300px;
  }
  
  .globe-btn {
    padding: 0.6rem 1rem;
    min-width: 100px;
    font-size: 0.8rem;
  }
  
  .globe-card {
    padding: 20px;
  }
  
  .controls-card {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .globe-visualization {
    height: 250px;
  }
  
  .globe-controls {
    flex-direction: column;
    align-items: center;
  }
  
  .globe-btn {
    width: 100%;
    max-width: 250px;
  }
}

/* Loading and error states */
.globe-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: white;
  font-size: 1.2rem;
}

.globe-error {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #ff6b6b;
  text-align: center;
  padding: 20px;
}

/* Globe animation effects */
@keyframes globe-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 127, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0, 255, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 127, 0); }
}

.globe-visualization {
  animation: globe-pulse 4s infinite;
}

/* Globe section heading */
.globe-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
  background: linear-gradient(90deg, #00ff7f, #00ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}