@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap");

:root {
  --bg: #050509;
  --glass: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.12);
  --txt: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);
  --muted2: rgba(255, 255, 255, 0.38);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --radius2: 24px;
}

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

body {
  font-family: "Poppins", sans-serif;
  color: var(--txt);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 28px 18px;
  overflow-x: hidden;
  position: relative;
  background: var(--bg);
}



body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

body::before {
  background: url("images/Glow\ Black\ And\ White\ GIF\ by\ xponentialdesign.gif") center/cover no-repeat;
  opacity: 0.75;
  transform: scale(1.05);
}

body::after {
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(108, 92, 231, 0.22), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(0, 245, 212, 0.16), transparent 60%),
    radial-gradient(circle at 50% 90%, rgba(255, 0, 128, 0.10), transparent 60%),
    rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


body::after {
  animation: bgMove 12s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes bgMove {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-18px, 12px, 0); }
}


.container {
  width: 100%;
  max-width: 480px;
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
  will-change: transform;
}


.profile-header {
  text-align: center;
  padding: 26px 22px;
  border-radius: var(--radius2);
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: fadeUp 0.7s ease both;
  will-change: transform, opacity;
}

.profile-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,255,255,0.08) 40%,
    transparent 80%);
  transform: translateX(-120%);
  animation: shineHeader 5s ease-in-out infinite;
  will-change: transform;
}

@keyframes shineHeader {
  0% { transform: translateX(-120%); }
  55% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 4px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 6px rgba(108, 92, 231, 0.18),
              0 0 25px rgba(108, 92, 231, 0.30);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: floaty 3.6s ease-in-out infinite;
  will-change: transform;
}

@keyframes floaty {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-6px,0); }
}

.profile-header:hover .avatar {
  transform: scale(1.04);
  box-shadow: 0 0 0 6px rgba(0, 245, 212, 0.14),
              0 0 28px rgba(0, 245, 212, 0.30);
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
  background: linear-gradient(90deg, #fff, rgba(108,92,231,0.95), rgba(0,245,212,0.85));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bio {
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 340px;
  margin: 0 auto;
}


.links-section {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--txt);
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  overflow: hidden;

  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: fadeUp 0.7s ease both;
  will-change: transform;
}


.link-card:nth-child(1) { animation-delay: 0.06s; }
.link-card:nth-child(2) { animation-delay: 0.12s; }
.link-card:nth-child(3) { animation-delay: 0.18s; }
.link-card:nth-child(4) { animation-delay: 0.24s; }
.link-card:nth-child(5) { animation-delay: 0.30s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translate3d(0,14px,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}


.link-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -70%;
  width: 65%;
  height: 180%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: rotate(20deg);
  transition: left 0.6s ease;
  opacity: 0.55;
}

.link-card:hover::before { left: 140%; }

.link-card:hover {
  transform: translate3d(0,-5px,0);
  box-shadow: 0 18px 55px rgba(0,0,0,0.55), 0 0 22px rgba(108,92,231,0.22);
  border-color: rgba(255,255,255,0.18);
}

.link-card:active {
  transform: translate3d(0,-1px,0) scale(0.985);
  transition: transform 0.08s ease;
}


.icon {
  font-size: 1.9rem;
  min-width: 42px;
  margin-right: 14px;
  transition: transform 0.25s ease;
}

.link-card:hover .icon {
  transform: scale(1.06);
}

.text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
}

.platform-name {
  font-weight: 700;
  font-size: 1.06rem;
}

.action-text {
  font-size: 0.86rem;
  color: var(--muted2);
}

.arrow-icon {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.50);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.link-card:hover .arrow-icon {
  transform: translate3d(4px,0,0);
  opacity: 0.95;
}


.site-footer {
  text-align: center;
  margin-top: 26px;
  padding: 14px 0 6px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}


.link-card.instagram .icon { color: #E1306C; }
.link-card.github .icon { color: #ffffff; }
.link-card.paypal .icon { color: #009cde; }
.link-card.tiktok .icon { color: #69C9D0; }
.link-card.snapchat .icon { color: #fffc00; }

@media (max-width: 768px) {
  body { padding: 20px 14px; }
  .container {
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
