:root {
  --bg: #0b0d10;
  --card: rgba(255, 255, 255, 0.075);
  --card-hover: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.14);
  --text: #fffdf8;
  --muted: #b8c0cc;
  --pink: #ff6fae;
  --green: #52e0aa;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 111, 174, 0.2), transparent 32rem),
    radial-gradient(circle at top right, rgba(82, 224, 170, 0.13), transparent 28rem),
    linear-gradient(135deg, #0b0d10, #151922 55%, #0b0d10);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  display: grid;
  justify-items: center;
  margin-bottom: 34px;
  text-align: center;
}

.avatar {
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(3.4rem, 11vw, 6.5rem);
  font-weight: 950;
  line-height: 0.95;
}

.intro {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.6;
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.project-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--card-hover);
  transform: translateY(-4px);
}

.project-card img {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  object-fit: contain;
}

.project-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--pink);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.project-card h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.project-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.5;
}

.highlight {
  background: linear-gradient(135deg, rgba(255, 111, 174, 0.22), rgba(82, 224, 170, 0.1));
}

.soon-page,
.sub-page {
  display: grid;
  min-height: 100vh;
  align-content: center;
}

.back-link {
  width: fit-content;
  margin-bottom: 28px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
}

.back-link:hover {
  background: var(--card-hover);
}

.server-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.server-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: inherit;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.server-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--card-hover);
  transform: translateY(-4px);
}

.server-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.server-card h2 {
  margin-bottom: 10px;
  font-size: 1.65rem;
}

.server-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 750;
}

@media (max-width: 760px) {
  main {
    padding: 48px 0;
  }

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

  .server-list {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
  }
}
