.social-shell {
  width: min(100% - 56px, 900px);
}

.social-main {
  flex: 1;
  padding: 67px 0 48px;
}

.social-intro {
  position: relative;
  padding: 0 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.social-intro h1 {
  margin: 22px 0 15px;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1.28;
}

.social-intro h1 span {
  color: #c9b8ff;
}

.social-description {
  margin: 0;
  color: #a49fb0;
  font-size: 13px;
  line-height: 1.9;
}

.social-page-number {
  position: absolute;
  right: 0;
  bottom: 18px;
  color: #c8baff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.social-page-number span {
  color: #6f6b7c;
}

.social-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 28px;
}

.social-card {
  position: relative;
  min-height: 162px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(36, 34, 49, 0.88), rgba(24, 24, 34, 0.9));
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-card::after {
  position: absolute;
  top: -70px;
  right: -72px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(192, 173, 255, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(192, 173, 255, 0.31);
  background: linear-gradient(140deg, rgba(47, 43, 64, 0.93), rgba(26, 25, 37, 0.94));
}

.social-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: #f2eef9;
}

.social-icon-x {
  font-family: Arial, sans-serif;
  font-size: 27px;
  font-weight: 500;
}

.social-icon-instagram {
  color: #e9b8df;
}

.social-icon-instagram svg {
  width: 27px;
  stroke: currentColor;
  stroke-width: 1.6;
}

.instagram-flash {
  fill: currentColor;
  stroke: none;
}

.social-card-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.social-platform {
  color: #9691a6;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.social-handle {
  overflow: hidden;
  color: #f1edf7;
  font-size: 17px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-hint {
  color: #aaa5b7;
  font-size: 10px;
}

.social-hint span {
  padding-left: 3px;
  color: #c9b8ff;
}

.social-open {
  position: absolute;
  top: 19px;
  right: 19px;
  color: #888397;
  font-size: 15px;
  transition: color 160ms ease, transform 160ms ease;
}

.social-card:hover .social-open {
  transform: translate(2px, -2px);
  color: var(--accent);
}

.social-footnote {
  margin: 20px 0 0;
  color: #797586;
  font-size: 10px;
}

.social-shell .site-footer {
  margin-top: 0;
}

@media (max-width: 700px) {
  .social-shell {
    width: min(100% - 36px, 560px);
  }

  .social-main {
    padding-top: 51px;
  }

  .social-list {
    grid-template-columns: 1fr;
    gap: 11px;
    padding-top: 21px;
  }

  .social-card {
    min-height: 130px;
    padding: 18px;
  }
}

@media (max-width: 430px) {
  .social-shell {
    width: min(100% - 28px, 560px);
  }

  .social-intro {
    padding-bottom: 42px;
  }

  .social-card {
    gap: 14px;
  }

  .social-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 14px;
  }

  .social-handle {
    font-size: 15px;
  }
}
