/* GitHub Stats Page Styles */

/* Base styles for normal viewing */
body {
  background-color: #0D1117;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}

/* Stats container */
#stats-link {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  display: inline-block;
  text-decoration: none;
}

/* Stats image styling */
img {
  border-radius: 12px;
  border: 1px solid #C0C0C0;
  max-width: 100%;
  height: auto;
  display: block;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

/* Hover effects for stats container */
#stats-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(192, 192, 192, 0.1);
}

/* Hover effects for stats image */
#stats-link:hover img {
  border-color: #58A6FF;
  transform: scale(1.02);
}

/* Credits styling */
a#credits {
  color: #999;
  font-size: 0.9em;
  margin-top: 16px;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
}

/* Credits hover effect */
a#credits:hover {
  opacity: 1;
  color: #C0C0C0;
  background-color: rgba(255, 255, 255, 0.05);
}



/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    padding: 16px;
  }
  
  #stats-link:hover {
    transform: translateY(-3px);
  }
  
  #stats-link:hover img {
    transform: scale(1.01);
  }
}



/* Subtle glow effect on hover */
#stats-link:hover::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #58A6FF, #7C3AED, #F97316, #58A6FF);
  border-radius: 14px;
  opacity: 0.3;
  z-index: -1;
  filter: blur(8px);
  animation: rotate 3s linear infinite;
}

#stats-link {
  position: relative;
  z-index: 1;
}

/* Portfolio Button Styles */
.portfolio-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 24px;
  margin-bottom: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
}

.portfolio-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.portfolio-button:active {
  transform: translateY(0);
}

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

.portfolio-button:hover::before {
  left: 100%;
}

/* Three.js Canvas Styles */
#rocket-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  pointer-events: none;
  background: transparent;
}

.rocket-canvas-hidden {
  display: none;
}

.rocket-canvas-visible {
  display: block;
}


