/* Compact Design System */
.compact-design {
  max-width: 600px !important;
  margin: 2rem auto !important;
  position: relative;
  background: rgba(10, 14, 26, 0.95);
  border: 1px solid rgba(0, 255, 140, 0.3);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

/* Neon Border Glow - Distinctive Visual */
.neon-border-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--accent),
    #00ffff,
    #8a2be2,
    var(--accent)
  );
  background-size: 300% 300%;
  border-radius: 14px;
  z-index: -1;
  opacity: 0;
  animation: neon-glow 4s ease-in-out infinite;
  transition: opacity 0.3s ease;
}

.compact-design:hover .neon-border-glow {
  opacity: 0.6;
}

@keyframes neon-glow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Compact Header */
.compact-header {
  padding: 16px 20px !important;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 140, 0.1) 0%,
    rgba(0, 0, 0, 0.8) 50%,
    rgba(138, 43, 226, 0.1) 100%
  );
  border-bottom: 2px solid var(--accent);
}

.project-identity-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.project-title-header {
  flex: 1;
}

.project-name-compact {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  text-shadow: 0 0 10px rgba(0, 255, 140, 0.5);
}

.framework-badge.nestjs {
  background: linear-gradient(45deg, #ea4435, #8a2be2);
  color: white;
  padding: 4px 12px;
  border-radius: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  box-shadow: 0 2px 8px rgba(234, 68, 53, 0.3);
}

.tech-stack-visual.compact {
  display: flex;
  gap: 8px;
}

.tech-stack-visual.compact .stack-layer {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 255, 140, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tech-stack-visual.compact .stack-layer:hover {
  transform: scale(1.1);
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 255, 140, 0.4);
}

.tech-stack-visual.compact img {
  width: 20px;
  height: 20px;
}

/* Compact Body */
.compact-body {
  padding: 20px !important;
}

.project-description-compact {
  margin-bottom: 16px;
}

.description-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cbd5e0;
  margin: 0;
}

/* Features Showcase - Compact Grid */
.features-showcase-compact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.feature-item-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 255, 140, 0.05);
  border: 1px solid rgba(0, 255, 140, 0.2);
  border-radius: 6px;
  font-size: 0.8rem;
  color: #e2e8f0;
  transition: all 0.3s ease;
}

.feature-item-compact:hover {
  background: rgba(0, 255, 140, 0.1);
  transform: translateY(-1px);
}
