:root {
  --bg: #050005;
  --card: rgba(255, 255, 255, 0.06);
  --card-2: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.14);
  --text: #ff2dfb;
  --muted: rgba(255, 45, 251, 0.7);
  --primary: #ff2dfb;
  --primary-2: #ff6fe9;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  --radius: 22px;
  --radius-sm: 16px;
  --max: 980px;
  --font: 'SF Mono', 'Menlo', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(circle at top, rgba(255, 45, 251, 0.18), transparent 55%),
    radial-gradient(circle at bottom, rgba(255, 45, 251, 0.12), transparent 60%),
    linear-gradient(160deg, #000000 0%, #070007 45%, #050005 100%);
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6rem 1.25rem 3rem;
}

.page {
  width: min(100%, var(--max));
  max-width: var(--max);
  display: grid;
  gap: 2rem;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.top-bar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar__handle {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  color: var(--text);
}

.top-bar__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.top-bar__label {
  font-weight: 600;
  color: var(--text);
}

.top-bar__time {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.top-bar__icon {
  display: inline-flex;
  height: 1.3em;
  width: 1.3em;
  align-items: center;
  justify-content: center;
}

.status-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(255, 45, 251, 0.94);
  box-shadow: 0 0 0 0.2rem rgba(255, 45, 251, 0.25);
}

.profile-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.avatar {
  flex: 0 0 160px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.4);
  /* border removed for avatar */
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-info {
  }

  .mini-terminal {
    /* background removed for transparency */
    border-radius: 8px;
    padding: 1.1rem 1.3rem 1.1rem 1.1rem;
    margin-bottom: 1.2rem;
    font-family: inherit;
    font-size: 1.18rem;
    color: var(--primary);
    width: 100%;
    max-width: 340px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .mini-terminal .prompt {
    color: #ff2dfb;
    font-weight: 700;
    letter-spacing: 0.03em;
  }
  .mini-terminal .output {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 0.3rem;
    white-space: pre;
  }
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
}

.name {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin: 0;
}

.job {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.7rem;
  justify-content: center;
  width: 100%;
}

.button {
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: rgba(10, 10, 12, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.button--secondary {
  background: rgba(255, 45, 251, 0.12);
  color: var(--text);
  border: 1px solid rgba(255, 45, 251, 0.35);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
}

.section {
  display: grid;
  gap: 1rem;
}

.section__title {
  font-size: 2.1rem;
  margin: 0 0 1.5rem 0;
  padding: 0.2em 0;
  width: 100%;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: none;
  border: none;
  text-shadow: 0 0 18px rgba(255,45,251,0.18), 0 2px 8px #050005;
}

.card {
  padding: 1.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.card p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.card p:last-child {
  margin-bottom: 0;
}

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

.project-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 260px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(18px);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(124, 255, 203, 0.16), transparent 60%),
    radial-gradient(circle at bottom, rgba(111, 191, 255, 0.12), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 255, 203, 0.5);
}

.project-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.project-card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.project-card__arrow {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 45, 251, 0.18);
  color: var(--primary);
  font-size: 1.35rem;
  border-radius: 999px;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  z-index: 2;
}
.project-card__arrow:hover {
  background: var(--primary);
  color: #050005;
  border-color: var(--primary);
}
.project-card__title {
  margin: 0;
  font-size: 1.15rem;
}

.project-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  padding: 1.25rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .top-bar {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 0.7rem;
  }
  .top-bar__brand {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .top-bar__handle {
    font-size: 1.15rem;
    text-align: center;
    width: 100%;
  }
  .top-bar__nav {
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .top-bar__label, .top-bar__time {
    text-align: center;
    width: 100%;
  }
  .profile-card {
    flex-direction: column;
    align-items: center;
    padding: 1.2rem;
    gap: 1.2rem;
  }
  .avatar {
    margin: 0 auto;
  }
  .profile-info {
    align-items: center;
    text-align: center;
  }
}
