:root {
  --bg-main: #05080f;
  --bg-alt: #0b1220;
  --panel: rgba(8, 15, 28, 0.86);
  --panel-2: rgba(9, 18, 34, 0.92);
  --line: rgba(48, 236, 197, 0.35);
  --line-soft: rgba(81, 163, 255, 0.25);
  --text-main: #d9faff;
  --text-soft: #9dd4db;
  --accent: #30ecc5;
  --accent-2: #51a3ff;
  --alert: #ff6b8d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 28px 14px 48px;
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  color: var(--text-main);
  background:
    radial-gradient(960px 500px at 8% -2%, rgba(48, 236, 197, 0.18), transparent 62%),
    radial-gradient(920px 520px at 95% 8%, rgba(81, 163, 255, 0.16), transparent 64%),
    linear-gradient(160deg, var(--bg-main), var(--bg-alt));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.25;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.045) 1px,
    transparent 2px,
    transparent 4px
  );
  opacity: 0.08;
  z-index: 4;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(40px);
  z-index: -2;
  opacity: 0.45;
  animation: float 9s ease-in-out infinite;
}

.orb-1 {
  width: 240px;
  height: 240px;
  background: rgba(48, 236, 197, 0.6);
  top: 3%;
  left: 6%;
}

.orb-2 {
  width: 280px;
  height: 280px;
  background: rgba(81, 163, 255, 0.6);
  right: 6%;
  top: 20%;
  animation-delay: -2s;
}

.orb-3 {
  width: 220px;
  height: 220px;
  background: rgba(94, 126, 255, 0.48);
  bottom: 10%;
  left: 18%;
  animation-delay: -4s;
}

.wrapper {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.glass-card {
  position: relative;
  background: linear-gradient(155deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow:
    0 0 0 1px rgba(81, 163, 255, 0.12) inset,
    0 12px 32px rgba(1, 8, 20, 0.7),
    0 0 16px rgba(48, 236, 197, 0.16);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(48, 236, 197, 0.06), transparent 40%, rgba(81, 163, 255, 0.07));
}

.intro-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.avatar-photo {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(48, 236, 197, 0.5);
  box-shadow: 0 0 18px rgba(48, 236, 197, 0.25);
}

.name {
  margin: 0;
  font-family: "Orbitron", "JetBrains Mono", monospace;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e9fdff;
  text-shadow: 0 0 12px rgba(48, 236, 197, 0.35);
}

.title {
  margin: 8px 0 12px;
  color: var(--text-soft);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.95rem;
}

.contact-list a,
.links a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(48, 236, 197, 0.45);
}

.contact-list a:hover,
.links a:hover {
  color: #8ef8de;
  border-bottom-color: #8ef8de;
}

.title a,
.profile-section a,
.awards-section a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(48, 236, 197, 0.45);
}

.title a:hover,
.profile-section a:hover,
.awards-section a:hover {
  color: #8ef8de;
  border-bottom-color: #8ef8de;
}

.section-title {
  margin: 0 0 12px;
  font-family: "Orbitron", "JetBrains Mono", monospace;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8ef8de;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 8px;
}

.section-title::before {
  content: ">_ ";
  color: var(--accent);
}

.phd-note {
  color: var(--alert);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-skip-ink: none;
  font-weight: 700;
}

p {
  margin: 0;
  line-height: 1.68;
}

.row-item + .row-item,
.paper-card + .paper-card,
.news-item + .news-item {
  margin-top: 12px;
}

.upper-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}

.left {
  font-weight: 700;
  color: #d3fcff;
}

.right,
.sub,
.authors,
.venue {
  color: var(--text-soft);
}

.authors strong {
  color: #ffd166;
  background: rgba(255, 209, 102, 0.12);
  padding: 0 4px;
  border-radius: 4px;
}

.sub {
  margin-top: 3px;
}

.paper-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  align-items: start;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(81, 163, 255, 0.22);
  background: linear-gradient(155deg, rgba(8, 15, 28, 0.7), rgba(10, 22, 41, 0.88));
}

.teaser {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(48, 236, 197, 0.4);
  box-shadow: 0 6px 16px rgba(2, 8, 22, 0.8);
}

.paper-title {
  margin: 0 0 3px;
  font-size: 1.02rem;
  color: #e7fafe;
}

.paper-title a {
  color: var(--accent);
  text-decoration: none;
}

.paper-title a:hover {
  color: #8ef8de;
}

.links {
  margin-top: 3px;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.tag {
  min-width: 138px;
  font-weight: 700;
  color: var(--accent-2);
}

.footer {
  width: min(960px, 100%);
  margin: 14px auto 0;
  text-align: center;
  color: #86acb7;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  body {
    padding: 18px 10px 30px;
  }

  .glass-card {
    padding: 16px;
    border-radius: 10px;
  }

  .intro-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .avatar-photo {
    width: 90px;
    height: 90px;
  }

  .paper-card {
    grid-template-columns: 1fr;
  }

  .teaser {
    width: min(220px, 100%);
  }

  .news-item,
  .upper-row {
    flex-direction: column;
    gap: 2px;
  }

  .tag {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-orb {
    animation: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-16px);
  }
}
