:root {
  --bg: #02050a;

  --text: rgba(235, 245, 255, 0.92);
  --muted: rgba(180, 210, 235, 0.75);

  --dot: rgba(170, 210, 255, 0.7);
  --line: rgba(120, 180, 255, 0.28);

  --chip-bg: rgba(0, 0, 0, 0); /* brak tła */
  --chip-border: rgba(120, 180, 255, 0.22);
  --chip-text: rgba(160, 210, 255, 0.85);

  --chip-hover-bg: rgba(60, 170, 255, 0.12); /* subtelna poświata */
  --chip-hover-border: rgba(140, 210, 255, 0.55);
  --chip-hover-text: rgba(210, 240, 255, 0.95);
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  overflow: hidden;
}

/* Tło canvas */
canvas#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Wyśrodkowanie profilu */
.content {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 48px 16px;
}

/* Profil bez “deski” */
.profile {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;

  /* delikatny “ring” jak na screenie (opcjonalny) */
  padding: 8px 14px 4px;
  border-radius: 18px;
  /* border: 1px solid rgba(120, 180, 255, 0.1); */
  background: transparent;
  /* backdrop-filter: blur(6px); */
}

/* Avatar */
.avatar-wrap {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  padding: 3px;
  border: 1px solid rgba(120, 180, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.avatar {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 999px;
  object-fit: cover;
}

/* Teksty */
.name {
  margin: 2px 0 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.nick {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: rgba(120, 200, 255, 0.9);
  text-decoration: none;
  opacity: 0.95;
}
.nick:hover {
  color: rgba(185, 235, 255, 0.95);
}

/* Chipy */
.chips {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: min(520px, 92vw);
}

.chip {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--chip-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;

  transition: transform 0.15s ease, border-color 0.15s ease,
    background-color 0.15s ease, color 0.15s ease;
}

.chip:hover {
  transform: translateY(-1px);
  background: var(--chip-hover-bg);
  border-color: var(--chip-hover-border);
  color: var(--chip-hover-text);
}

/* Kafelki/linki */
.tiles {
  margin-top: 18px;
  width: min(760px, 92vw);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 640px) {
  .tiles {
    grid-template-columns: 1fr;
  }
}

.tile {
  display: grid;
  grid-template-columns: 38px 1fr 22px;
  align-items: center;
  gap: 12px;

  padding: 14px 14px;
  border-radius: 14px;

  text-decoration: none;
  color: var(--text);

  background: rgba(10, 16, 24, 0.4); /* delikatne wypełnienie jak na screenie */
  border: 1px solid rgba(120, 180, 255, 0.14);
  backdrop-filter: blur(8px);

  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 18px 40px rgba(0, 0, 0, 0.35);

  transition: transform 0.15s ease, border-color 0.15s ease,
    background-color 0.15s ease;
}

.tile:hover {
  transform: translateY(-1px);
  border-color: rgba(140, 210, 255, 0.4);
  background: rgba(60, 170, 255, 0.1);
}

.tile-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;

  color: rgba(170, 220, 255, 0.9);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(120, 180, 255, 0.12);
}

.tile-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.tile-title {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 15px;
  line-height: 1.2;
}

.tile-desc {
  font-size: 12.5px;
  color: rgba(180, 210, 235, 0.78);
  line-height: 1.25;
}

.tile-go {
  justify-self: end;
  color: rgba(120, 200, 255, 0.75);
  transition: color 0.15s ease, transform 0.15s ease;
}

.tile:hover .tile-go {
  color: rgba(210, 240, 255, 0.95);
  transform: translate(1px, -1px);
}
