/* Project Grid - Command Center Style */
#project-ticker {
  overflow-x: hidden;
  padding: 1rem 2rem 2rem 2rem;
}

#project-ticker::-webkit-scrollbar {
  width: 6px;
}

#project-ticker::-webkit-scrollbar-track {
  background: transparent;
}

#project-ticker::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}

#project-ticker::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.3);
}

.project-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Section containers */
.projects-section,
.services-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 280px));
  grid-auto-rows: minmax(min-content, max-content);
  align-items: start;
  gap: 2rem;
  justify-content: center;
  width: 100%;
  margin-bottom: 2rem;
  max-width: calc(5 * 280px + 4 * 2rem); /* 5 cards max per row */
  margin-left: auto;
  margin-right: auto;
}

/* Section divider for services */
.section-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
  padding: 0;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.2);
}

.divider-text {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Row number divider */
.row-divider {
  margin: 2rem 0 1.5rem 0;
}

.divider-row-numbers {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.row-number {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  transition: all 0.2s ease;
  user-select: none;
  min-width: 24px;
  text-align: center;
}

.row-number:hover {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  transform: translateY(-1px);
}

/* Lock icon for card order */
.order-lock {
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  transition: all 0.2s ease;
  user-select: none;
  margin-left: 0.5rem;
  display: inline-block;
}

.order-lock:hover {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  transform: translateY(-1px);
}

.order-lock.lock-toggle {
  animation: lockPulse 0.3s ease;
}

@keyframes lockPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Weather display */
.divider-weather {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255,255,255,0.2);
}

.weather-period {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.weather-temp {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

.weather-precip {
  color: rgba(100,180,255,0.8);
}

.weather-wind {
  color: rgba(180,255,180,0.7);
}

.weather-separator {
  color: rgba(255,255,255,0.3);
  margin: 0 0.5rem;
}

.weather-prompt {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

/* Tier 3 Services (compact list) */
.tier3-services {
  width: 100%;
  max-width: 1200px;
  margin: 3rem auto 2rem auto;
  padding: 1.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
}

.tier3-header {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
  font-weight: 600;
}

.tier3-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.tier3-item {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tier3-item:hover {
  color: rgba(255,255,255,0.9);
}

.tier3-status {
  font-size: 8px;
  line-height: 1;
}

.tier3-status.live {
  color: rgba(0,255,0,0.6);
}

.tier3-status.paused {
  color: rgba(255,255,255,0.2);
}

.tier3-separator {
  color: rgba(255,255,255,0.2);
  font-size: 12px;
  margin: 0 0.2rem;
}
