.zodiac-detail-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.zodiac-detail-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 3rem;
  margin-bottom: 2rem;
}

.zodiac-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #f0f0f0;
}

.zodiac-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 4px solid #f8f9fa;
}

.zodiac-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.zodiac-system-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #667eea;
  display: inline-block;
}

.traits-box {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2c3e50;
}

.editable-textarea {
  width: 100%;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.editable-textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.crystals-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid #f0f0f0;
}

.crystals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.crystal-card {
  text-decoration: none;
  display: block;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.crystal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #764ba2;
  background: #ffffff;
}

.crystal-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.crystal-name {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: block;
}

.crystal-traits {
  color: #6c757d;
  font-size: 0.875rem;
  line-height: 1.4;
}

.description-section {
  margin-top: 2rem;
}

.description-text {
  background: #fafbfc;
  border-left: 4px solid #667eea;
  padding: 1.5rem;
  border-radius: 8px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2c3e50;
}

.admin-controls {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #f0f0f0;
  text-align: center;
}

.btn-upload {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #ffffff;
  border: 2px solid #667eea;
  color: #667eea;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.btn-upload:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

.btn-save {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.save-status {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #28a745;
  font-weight: 600;
}

@media (max-width: 768px) {
  .zodiac-detail-card {
    padding: 1.5rem;
  }
  
  .zodiac-main-title {
    font-size: 2rem;
  }
  
  .zodiac-image {
    width: 150px;
    height: 150px;
  }
  
  .crystals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.zodiac-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.zodiac-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.zodiac-section {
  margin-bottom: 4rem;
}

.zodiac-section:last-child {
  margin-bottom: 0;
}

.zodiac-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.zodiac-divider {
  border: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, #e0e0e0, transparent);
  margin: 0 auto 2.5rem;
  max-width: 200px;
}

.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}

.zodiac-item {
  display: block;
  text-decoration: none;
  color: #2c3e50;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1.75rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.zodiac-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border-color: #667eea;
  background: #ffffff;
  color: #667eea;
}

.zodiac-symbol {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  display: block;
  line-height: 1;
}

.zodiac-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .zodiac-card {
    padding: 1.5rem;
  }
  
  .zodiac-title {
    font-size: 1.5rem;
  }
  
  .zodiac-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .zodiac-item {
    padding: 1.25rem 0.75rem;
  }
  
  .zodiac-symbol {
    font-size: 2.5rem;
  }
}