.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  animation: fadeIn 0.7s ease-out;
}

.project-card {
  background: var(--glass-effect);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent), transparent, var(--highlight), transparent);
  z-index: -1;
  border-radius: 13px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.project-card:hover::before {
  opacity: 1;
  animation: borderRotate 3s linear infinite;
}

.project-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: var(--secondary);
  position: relative;
  padding-bottom: 8px;
}

.project-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.project-card:hover .project-title::after {
  width: 70px;
}

.project-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95em;
  margin-bottom: 15px;
  flex: 1;
  line-height: 1.5;
}

.project-stats {
  display: flex;
  gap: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9em;
}

.project-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.3s ease;
}

.project-stats span:hover {
  color: var(--highlight);
  transform: translateY(-3px);
}

.user-card {
  background: var(--glass-effect);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 20px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.user-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 0, 64, 0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}

.user-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 0, 64, 0.3);
}

.user-card:hover::after {
  transform: translateX(100%);
}

.user-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  transition: all 0.5s ease;
  box-shadow: 0 0 10px rgba(255, 0, 64, 0.5);
}

.user-card:hover .user-avatar {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(255, 0, 64, 0.7);
}

.user-info {
  flex: 1;
}

.user-name {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: var(--highlight);
  position: relative;
  display: inline-block;
}

.user-name::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.user-card:hover .user-name::after {
  width: 100%;
}

.user-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95em;
  line-height: 1.6;
}

.art-card {
  position: relative;
  background: var(--glass-effect);
  border-radius: 12px;
  padding: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.art-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 0, 64, 0.3);
}

.delimiter {
  font-size: 0.9em;
  color: var(--accent);
  margin-bottom: 10px;
  animation: glow 2s infinite alternate;
}

.visitor-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.visitor-name {
  color: var(--highlight);
  font-weight: bold;
}

.visitor-time {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9em;
}

.art-content {
  font-family: monospace;
  color: var(--highlight);
  white-space: pre;
  overflow-x: auto;
  font-size: 0.85em;
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--accent);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.tag {
  background: rgba(255, 0, 64, 0.15);
  color: var(--text);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
}

.copy-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  color: white;
  cursor: pointer;
  font-size: 0.85em;
  transition: all 0.3s ease;
  opacity: 0;
}

.art-card:hover .copy-btn {
  opacity: 1;
}

.copy-btn:hover {
  background: var(--highlight);
  transform: scale(1.05);
}

.copy-btn.copied {
  background: #4CAF50;
}

.delete-project-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 0, 64, 0.8);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 10;
  opacity: 0.8;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.delete-project-btn:hover {
  opacity: 1;
  transform: scale(1.1);
  background: #ff0040;
  box-shadow: 0 5px 15px rgba(255, 0, 64, 0.5);
}

.project-card:hover .delete-project-btn {
  display: block;
}

@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

