/* Muhammad Agung Fajrin — Social Links */
:root {
  --ink: #26332f;
  --muted: #78857f;
  --paper: #f3f6f1;
  --card: rgba(255, 255, 255, 0.82);
  --line: #e7ece6;
  --sage: #718b7d;
  --sage-dark: #496657;
  --shadow: 0 18px 50px rgba(48, 69, 57, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(ellipse at 12% 10%, rgba(194, 214, 196, .48), transparent 34%),
    radial-gradient(ellipse at 90% 85%, rgba(220, 226, 207, .58), transparent 32%),
    var(--paper);
  display: grid;
  place-items: center;
  padding: 56px 20px;
}

.page {
  width: min(100%, 760px);
  margin: auto;
}

.intro {
  text-align: center;
  margin: 0 auto 38px;
  max-width: 580px;
}

.eyebrow {
  display: inline-block;
  color: var(--sage-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  margin-bottom: 15px;
}

h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 8vw, 58px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 800;
}

h1 span {
  color: var(--sage);
}

.intro p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 16px 0 0;
}

.social-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.social-card {
  --accent: #9b6ca3;
  --tint: #f4edf5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 15px;
  min-height: 220px;
  padding: 25px 15px;
  
  background: var(--card);
  border: 1px solid rgba(224, 232, 224, .9);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all .35s ease
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(48, 69, 57, .13);
  border-color: color-mix(in srgb, var(--accent), white 65%);
}

.instagram { --accent: #a66f91; --tint: #f7eef3; }
.facebook  { --accent: #557da8; --tint: #edf3f9; }
.github    { --accent: #53645b; --tint: #edf1ed; }

.social-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--accent);
  background: var(--tint);
}

.social-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.facebook .social-icon svg,
.github .social-icon svg {
  fill: currentColor;
  stroke: none;
}

.social-icon .dot { fill: currentColor; stroke: none; }

.social-info {
  flex: 1;
  min-width: 0;
}

.social-type {
  display: block;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  margin-bottom: 7px;
}

.social-info h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(11px, 2vw, 14px);
  line-height: 1.5;
  letter-spacing: .025em;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.follow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 11px 16px;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  transition: transform .2s ease, filter .2s ease;
}

.follow-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.follow-link span { font-size: 14px; }

footer {
  margin-top: 34px;
  text-align: center;
  color: #98a39c;
  font-size: 11px;
  letter-spacing: .02em;
}

.footer-dot { padding: 0 5px; color: #b5c2b7; }

@media (max-width: 560px) {
  body { padding: 42px 16px; }
  .intro { margin-bottom: 29px; }
  .social-card { gap: 13px; padding: 17px 14px; min-height: 96px; border-radius: 16px; }
  .social-icon { flex-basis: 47px; width: 47px; height: 47px; border-radius: 14px; }
  .social-icon svg { width: 23px; height: 23px; }
  .social-info h2 { font-size: 10px; }
  .social-type { font-size: 8px; margin-bottom: 5px; }
  .follow-link { padding: 10px 11px; gap: 6px; font-size: 9px; }
}

@media (max-width: 360px) {
  .social-card { gap: 10px; padding-inline: 11px; }
  .social-icon { flex-basis: 42px; width: 42px; height: 42px; }
  .follow-link { padding: 9px 8px; font-size: 8px; }
}
/* PROFILE SECTION */

.profile-picture {
  width: 145px;
  height: 145px;
  margin: 0 auto 22px;
  padding: 5px;

  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #b08a4b,
    #d9c8a2,
    #718b7d
  );

  box-shadow: 0 10px 30px rgba(48, 69, 57, 0.15);
  overflow: hidden;
}

.profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.profile-title {
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 5px;
  color: #26332f;
  margin: 0;
}

.intro p {
  margin-top: 12px;
  color: #78857f;
  font-size: 13px;
  letter-spacing: 1px;
}
.profile-picture {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: profileAppear 1s ease;
}

.profile-picture:hover {
  transform: scale(1.06);
  box-shadow: 0 15px 35px rgba(48, 69, 57, 0.22);
}

@keyframes profileAppear {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.social-info {
  flex: none;
}

.social-info h2 {
  font-size: 11px;
  line-height: 1.6;
}

.social-icon {
  width: 55px;
  height: 55px;
  flex: 0 0 55px;
}

.follow-link {
  margin-top: 5px;
}
@media (max-width: 560px) {
  .social-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .social-card {
    min-height: 190px;
    padding: 15px 6px;
    gap: 10px;
  }

  .social-info h2 {
    font-size: 9px;
  }

  .follow-link {
    font-size: 8px;
    padding: 9px 7px;
  }
}
/* FIX SOCIAL CARD LAYOUT */

.social-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  width: 100%;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  min-height: 230px;
  padding: 25px 12px;
  gap: 15px;
}

.social-icon {
  flex-shrink: 0;
}

.social-info {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.social-info h2 {
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.6;
}

.follow-link {
  margin-top: 5px;
}
/* SOCIAL CARD ENTRANCE ANIMATION */

.social-card {
  opacity: 0;
  animation: cardAppear 0.8s ease forwards;
}

.social-card:nth-child(1) {
  animation-delay: 0.2s;
}

.social-card:nth-child(2) {
  animation-delay: 0.4s;
}

.social-card:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* PREMIUM HOVER EFFECT */

.social-card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.social-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(48, 69, 57, 0.16);
  border-color: var(--accent);
}

.social-icon {
  transition: transform 0.35s ease;
}

.social-card:hover .social-icon {
  transform: scale(1.12) rotate(-5deg);
}

.follow-link {
  transition: all 0.3s ease;
}

.follow-link:hover {
  filter: brightness(1.12);
  transform: scale(1.06);
}
/* ELEGANT FOOTER */

.main-footer {
  margin-top: 45px;
  text-align: center;
}

.footer-line {
  width: 55px;
  height: 2px;
  background: #b08a4b;
  margin: 0 auto 20px;
  border-radius: 10px;
}

.main-footer p {
  color: #53645b;
  font-size: 10px;
  letter-spacing: 2px;
}

.main-footer strong {
  color: #26332f;
}

.footer-caption {
  color: #98a39c;
  font-size: 10px;
  letter-spacing: 1px;
}
/* MOBILE LEGENDS STYLE */

.mobile-legends {
  --accent: #c49a52;
  --tint: #f8f1e4;
}

.mobile-legends .social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}
.share-website {
  text-align: center;
  margin: 35px auto;
}

#copy-link-button {
  padding: 13px 25px;
  border: 1px solid #b08a4b;
  border-radius: 30px;
  background: transparent;
  color: #b08a4b;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#copy-link-button:hover {
  background: #b08a4b;
  color: white;
  transform: translateY(-4px);
}

#copy-message {
  margin-top: 12px;
  font-size: 13px;
  color: #b08a4b;
}
