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

html {
  background: #000000 !important;
  background-color: #000000 !important;
  color: #ffffff !important;
}

html, body {
  background: #000000 !important;
  background-color: #000000 !important;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #0f0f0f 75%, #000000 100%) !important;
  background-size: 400% 400% !important;
  animation: gradientShift 15s ease infinite;
  min-height: 100vh !important;
  color: #ffffff !important;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: transparent !important;
  color: #ffffff !important;
}

header {
  text-align: center;
  margin-bottom: 50px;
  color: #ffffff;
  padding: 40px 0;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3);
  letter-spacing: -0.02em;
}

header p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #cccccc;
  max-width: 700px;
  margin: 0 auto 20px;
  font-weight: 300;
}

.developer-credit {
  font-size: 0.9rem;
  color: #888888;
  margin-top: 15px;
  font-weight: 300;
}

.developer-credit a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
}

.developer-credit a:hover {
  color: #aaaaaa;
  text-decoration: underline;
}

.tagline {
  font-size: 1rem;
  color: #888888;
  margin-top: 10px;
  font-style: italic;
}

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

.climbing-tip {
  font-size: 0.95rem !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  padding: 12px 20px;
  border-radius: 25px;
  margin-top: 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.climbing-tip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.climbing-tip:hover::before {
  left: 100%;
}

.climbing-tip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.update-info {
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  font-style: italic;
}

.bubble-container {
  position: relative;
  width: 98vw;
  height: 80vh;
  max-width: 1400px;
  max-height: 1000px;
  margin: 0 auto;
  background: linear-gradient(135deg, 
      rgba(15, 15, 15, 0.95) 0%, 
      rgba(25, 25, 25, 0.95) 100%);
  border-radius: 15px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 
      0 20px 40px rgba(0,0,0,0.8),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
}

/* Chart Grid and Axes */
.chart-grid {
  position: absolute;
  top: 40px;
  left: 60px;
  right: 40px;
  bottom: 60px;
  background-image: 
      linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100px 80px;
  pointer-events: none;
}

.chart-axes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.x-axis {
  position: absolute;
  bottom: 60px;
  left: 60px;
  right: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.x-axis-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.x-axis-ticks {
  position: absolute;
  bottom: 65px;
  left: 60px;
  right: 40px;
  height: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.x-axis-ticks .tick {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 400;
}

.y-axis {
  position: absolute;
  left: 60px;
  top: 40px;
  bottom: 60px;
  width: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.y-axis-label {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.y-axis-ticks {
  position: absolute;
  left: 25px;
  top: 40px;
  bottom: 60px;
  width: 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.y-axis-ticks .tick {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 400;
}



.chart-area {
  position: absolute;
  top: 40px;
  left: 60px;
  right: 40px;
  bottom: 60px;
}

/* Chart bubble styles */

.bubble {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 
      0 4px 15px rgba(0, 0, 0, 0.3),
      0 0 0 0 rgba(255, 255, 255, 0.4);
  animation: bubbleFloat 6s ease-in-out infinite;
  backdrop-filter: blur(8px);
  z-index: 10;
  overflow: hidden;
}



.bubble:hover {
  transform: scale(1.3);
  box-shadow: 
      0 8px 25px rgba(0, 0, 0, 0.5),
      0 0 0 4px rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 1);
  z-index: 20;
}

.bubble img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bubble:hover img {
  transform: scale(1.05);
}

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: white;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

.error-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: white;
  font-size: 1.1rem;
}

/* 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.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, 
      rgba(20, 20, 20, 0.95) 0%, 
      rgba(30, 30, 30, 0.95) 100%);
  backdrop-filter: blur(20px);
  margin: 8% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 520px;
  position: relative;
  animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
      0 25px 50px rgba(0, 0, 0, 0.8),
      0 10px 20px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

@keyframes modalSlideIn {
  from {
      transform: translateY(-50px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ffffff;
}

.modal-header {
  display: flex;
  align-items: center;
  padding: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.modal-header img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 20px;
  object-fit: cover;
  border: 3px solid #f0f0f0;
}

.modal-title h2 {
  margin-bottom: 5px;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
}

.modal-title p {
  color: #aaaaaa;
  font-size: 1rem;
  font-weight: 500;
}

.modal-body {
  padding: 30px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-label {
  font-weight: 500;
  color: #cccccc;
}

.stat-value {
  font-weight: 600;
  color: #ffffff;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
      padding: 10px;
  }

  header h1 {
      font-size: 2rem;
  }

  .bubble-container {
      width: 95vw;
      height: 95vw;
      max-width: 500px;
      max-height: 500px;
      aspect-ratio: 1;
  }

  .bubble {
      width: 45px;
      height: 45px;
  }

  .bubble img {
      width: 30px;
      height: 30px;
  }

  .modal-content {
      margin: 20% auto;
      width: 95%;
  }

  .modal-header {
      padding: 20px;
      flex-direction: column;
      text-align: center;
  }

  .modal-header img {
      margin-right: 0;
      margin-bottom: 15px;
  }

  .modal-body {
      padding: 20px;
  }
}

@media (max-width: 480px) {
  .bubble {
      width: 40px;
      height: 40px;
  }

  .bubble img {
      width: 25px;
      height: 25px;
  }

  header h1 {
      font-size: 1.5rem;
  }

  header p {
      font-size: 1rem;
  }
}

/* Animation for bubbles appearing */
@keyframes bubbleAppear {
  from {
      opacity: 0;
      transform: scale(0.5);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}

.bubble.animate {
  animation: bubbleAppear 0.5s ease forwards;
}

/* Floating animation for bubbles */
@keyframes bubbleFloat {
  0%, 100% {
      transform: translateY(0px) translateX(0px);
  }
  25% {
      transform: translateY(-8px) translateX(3px);
  }
  50% {
      transform: translateY(-10px) translateX(0px);
  }
  75% {
      transform: translateY(-8px) translateX(-3px);
  }
}

.bubble {
  animation: bubbleFloat 4s ease-in-out infinite;
}

.bubble:hover {
  animation-play-state: paused;
}

.bubble:nth-child(2n) {
  animation-delay: -1s;
  animation-duration: 3.5s;
}

.bubble:nth-child(3n) {
  animation-delay: -2s;
  animation-duration: 4.5s;
}

.bubble:nth-child(4n) {
  animation-delay: -0.5s;
  animation-duration: 3.8s;
}

.bubble:nth-child(5n) {
  animation-delay: -1.5s;
  animation-duration: 4.2s;
}

.bubble:nth-child(6n) {
  animation-delay: -2.5s;
  animation-duration: 3.2s;
}
