.palette-section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #666;
  text-align: center;
}

.color-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.color-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.color-item:hover {
  transform: translateY(-5px);
}

.color-pill {
  width: 80px;
  height: 140px;
  border-radius: 40px;
  margin-bottom: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.color-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.color-item:hover .color-pill, .color-item:hover .color-circle {
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
  transform: scale(1.05);
}

.color-code {
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 12px;
  font-weight: bold;
  color: #666;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.color-item:hover .color-code {
  color: #333;
}

.copy-feedback {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.copy-feedback.show {
  opacity: 1;
}

.copy-feedback::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
}

@media (max-width: 480px) {
  .color-pill, .color-circle {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .color-pill {
    height: 105px;
    border-radius: 30px;
  }
}

@media (max-width: 480px) {
  .color-row {
    gap: 10px;
  }
}

