* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background: #0a0e27;
  color: #ffffff;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
}

/* Navigation styling for globe page */
.nav {
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 102, 0, 0.1);
  z-index: 100;
}

/* Globe header inside the globe section */
.globe-header {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  animation: fadeInDown 0.8s ease-out;
}

.globe-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(255, 102, 0, 0.3);
}

.globe-header p {
  font-size: 1.1rem;
  opacity: 0.85;
  color: #e0e0e0;
  letter-spacing: 0.5px;
}

.globe-section {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 14, 39, 1) 0%, rgba(25, 30, 65, 0.5) 50%, rgba(10, 14, 39, 1) 100%);
}

#globe-container {
  width: 100%;
  height: 100%;
}

/* Tooltip styling */
.tooltip {
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 102, 0, 0.5);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.tooltip strong {
  color: #ff6600;
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

/* Stats panel */
.globe-stats {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 102, 0, 0.3);
  border-radius: 12px;
  padding: 20px 25px;
  z-index: 10;
  backdrop-filter: blur(10px);
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.stats-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.stats-item:last-child {
  margin-bottom: 0;
}

.stats-icon {
  font-size: 1.5rem;
  margin-right: 12px;
  color: #ff6600;
}

.stats-text {
  font-size: 0.9rem;
}

.stats-number {
  font-weight: 700;
  color: #ff6600;
  font-size: 1.1rem;
}

.stats-label {
  opacity: 0.7;
  margin-left: 4px;
}

/* Instructions */
.globe-instructions {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 102, 0, 0.3);
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 0.85rem;
  z-index: 10;
  backdrop-filter: blur(10px);
  opacity: 0.8;
  transition: opacity 0.3s ease;
  animation: slideInUp 0.8s ease-out 0.3s both;
}

.globe-instructions:hover {
  opacity: 1;
}

.instruction-line {
  margin-bottom: 8px;
  color: #e0e0e0;
}

.instruction-line:last-child {
  margin-bottom: 0;
}

.instruction-key {
  color: #ff6600;
  font-weight: 600;
}

/* Loading spinner */
.globe-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 102, 0, 0.2);
  border-top-color: #ff6600;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .globe-header h1 {
    font-size: 1.8rem;
  }

  .globe-header p {
    font-size: 0.95rem;
  }

  .globe-stats,
  .globe-instructions {
    font-size: 0.8rem;
    padding: 12px 15px;
    bottom: 15px;
    left: 15px;
  }

  .globe-instructions {
    right: 15px;
    left: auto;
  }

  .stats-item {
    margin-bottom: 8px;
  }

  .instruction-line {
    margin-bottom: 6px;
  }
}

/* Mobile Menu Styling */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #ff7a00;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
  position: fixed;
  top: 70px;
  right: -300px;
  width: 280px;
  height: calc(100vh - 70px);
  background: rgba(10, 14, 26, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-left: 1px solid rgba(255, 122, 0, 0.15);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  color: #d1d5db;
  text-decoration: none;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.mobile-menu a:hover {
  background: rgba(255, 122, 0, 0.1);
  color: #ff7a00;
  padding-left: 20px;
}

.mobile-menu .btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .menu-btn {
    display: flex;
  }
}
