/* Final clean hero profile */
.hero-profile { width: 260px; flex-shrink: 0; }

.hero-profile .profile-card-frame {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
  max-height: none !important;
  height: auto !important;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.8);
}

.hero-profile .profile-terminal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
  max-height: none !important;
  height: auto !important;
}

.hero-profile .terminal-header {
  display: flex;
  align-items: center !important;
  gap: 8px;
  min-height: 36px;
  padding: 8px 10px;
  background: #111;
  border-bottom: 1px solid #2a2a2a;
  flex-shrink: 0;
}

.hero-profile .terminal-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0;
}
.hero-profile .dot.red { background: #f87171; }
.hero-profile .dot.yellow { background: #fbbf24; }
.hero-profile .dot.green { background: #4ade80; }

.hero-profile .terminal-title {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  margin-left: 4px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  line-height: 1;
  color: #9ca3af;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
}

.hero-profile .terminal-prompt {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-profile .terminal-output {
  display: none !important;
}

.hero-profile .profile-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.hero-profile .profile-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.hero-profile .profile-card-frame:hover .profile-image-wrap img {
  filter: grayscale(0%);
}

.hero-profile .profile-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  background: #111;
  border-top: 1px solid #2a2a2a;
  text-align: center;
  flex-shrink: 0;
}

.hero-profile .profile-name,
.hero-profile .profile-status {
  display: block;
  width: 100%;
  text-align: center;
  overflow-wrap: break-word;
}

.hero-profile .profile-name {
  font-family: "DM Serif Display", serif;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #f0ece4;
}

.hero-profile .profile-status {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #4ade80;
}

.hero-profile .profile-card-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent, rgba(232,213,183,0.85), transparent);
  background-size: 200% 200%;
  animation: borderBeam 2.5s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes borderBeam {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@media (max-width: 768px) {
  .hero-profile {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-profile .profile-card-frame::before {
    display: none;
    animation: none;
  }
  .hero-profile .profile-image-wrap img {
    filter: grayscale(0%);
  }
}
