/* Planet Visualization Styles */

.planets-section {
  width: 100%;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.planets-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  max-width: 100%;
}

.planet-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.planet {
  border-radius: 50%;
  box-shadow: 0 0 20px currentColor, 0 0 40px currentColor, inset 0 0 20px rgba(255,255,255,0.2);
  animation: planetPulse 2s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.planet-label-container {
  text-align: center;
}

.planet-name {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #f5f5f5;
  margin-bottom: 2px;
}

.planet-percent {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #999;
}

@keyframes planetPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* Mobile Heatmap Styles */
.mobile-heatmap-wrapper {
  width: 100%;
  padding: 16px 0;
}

.mobile-section-header {
  margin-bottom: 16px;
  padding-left: 8px;
}

.mobile-section-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #f5f5f5;
  margin: 0;
}

.mobile-heatmap-grid {
  display: grid;
  /* 7 rows for days of the week */
  grid-template-rows: repeat(7, 1fr);
  /* Auto columns to fill */
  grid-auto-flow: column;
  gap: 4px; /* Gap between cells */
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px;
}

.mobile-heatmap-cell {
  width: 100%; /* Will be controlled by grid */
  aspect-ratio: 1;
  min-width: 30px; /* Target 30-40px per square */
  min-height: 30px;
  border-radius: 2px;
  background-color: #222;
  transition: opacity 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .planets-wrapper {
    gap: 20px;
  }
  
  .planet-container {
    transform: scale(0.9);
  }

  .mobile-heatmap-cell {
    min-width: 25px;
    min-height: 25px;
  }
}

@media (min-width: 1024px) {
  .planets-section,
  .mobile-heatmap-wrapper {
    display: none !important;
  }
}
