:root {
  --bg: #040609;
  --fg: #eeeeee;
  --muted: #6b7280;
  --muted-2: #374151;
  --border: #2a2e33;
  --role-color: #b3d0ff;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
  -webkit-user-select: none;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(30, 50, 80, 0.35) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(20, 35, 60, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(20, 35, 60, 0.20) 0%, transparent 55%);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 22px 44px;
  gap: 22px;
}

.nav-icon {
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.nav-icon:hover {
  color: var(--fg);
}

.nav-icon svg {
  width: 19px;
  height: 19px;
}

#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar-ring {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  padding: 3px;
  margin-bottom: 28px;
  background: conic-gradient(from 200deg,
      #252a33 0%,
      #4a5060 25%,
      #2a2f3a 50%,
      #454c58 75%,
      #252a33 100%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.7), 0 0 0 1px #13171e;
  flex-shrink: 0;
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid #08090d;
}

.hero-name {
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 24px;
}

.works-with {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.works-with-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

.company-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.company-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: #111;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  text-decoration: none;
}

.company-icon:hover {
  transform: translateY(-5px);
}

.company-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ci-ticky {
  background: #fb3030;
}

.ci-taqi {
  background: rgb(248, 197, 43);
}

.ci-tafra {
  background: #747ffa;
}

.hero-tags {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hero-tags .dot {
  color: var(--muted-2);
  margin: 0 6px;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  animation: bounce 1.2s ease-in-out infinite;
}

.scroll-hint svg {
  width: 28px;
  height: 28px;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

#background {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}

.section-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 48px;
}

.entry {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  column-gap: 20px;
  padding: 36px 0;
  border-bottom: 1px solid #161a22;
}

.entry:first-of-type {
  border-top: 1px solid #161a22;
}

.entry:last-of-type {
  border-bottom: none;
}

.entry-name {
  grid-column: 1;
  grid-row: 1;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.entry-link {
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.entry-link:hover {
  color: var(--fg);
  transform: translateY(-1px);
}

.entry-link svg {
  width: 14px;
  height: 14px;
}

.entry-role {
  grid-column: 1;
  grid-row: 2;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--role-color);
  margin-bottom: 12px;
}

.entry-desc {
  grid-column: 1 / 3;
  grid-row: 3;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 580px;
}

.entry-time {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.82rem;
  color: var(--muted-2);
  font-weight: 400;
  white-space: nowrap;
  padding-top: 3px;
}

footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.footer-rule {
  max-width: 820px;
  margin: 0 auto;
  height: 1px;
  background: #161a22;
}

.footer-marquee {
  overflow: hidden;
  width: 100%;
  padding-top: 30px;
  padding-bottom: 60px;
  user-select: none;
  pointer-events: none;
}

.footer-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-left 25s linear infinite;
}

.footer-marquee-track.reverse {
  animation: marquee-left 22s linear infinite;
}

.footer-giant-text {
  font-size: clamp(10vw, 14vw, 200px);
  font-weight: 900;
  font-style: italic;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  padding-right: 0.3em;
  flex-shrink: 0;
}

.footer-giant-text.outlined {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.10);
}

@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.footer-links {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--fg);
}

.footer-links .sep {
  margin: 0 10px;
  color: var(--muted-2);
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  nav {
    padding: 18px 24px;
  }

  #background {
    padding: 60px 20px 80px;
  }

  .entry {
    grid-template-columns: 1fr;
  }

  .entry-time {
    grid-column: 1;
    grid-row: auto;
    margin-bottom: 6px;
  }

  .entry-desc {
    grid-column: 1;
  }
}
