:root {
  --bg: #071009;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(29, 76, 43, 0.72);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f4f7f2;
  --muted: rgba(244, 247, 242, 0.68);
  --green: #79e04f;
  --green-deep: #10a75b;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 18% 10%, rgba(121, 224, 79, 0.2), transparent 30%),
    radial-gradient(circle at 90% 18%, rgba(16, 167, 91, 0.18), transparent 34%),
    linear-gradient(140deg, #1b2b20 0%, #071009 46%, #103419 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(26px) saturate(145%);
  -webkit-backdrop-filter: blur(26px) saturate(145%);
  background: rgba(7, 16, 9, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  left: 50%;
  max-width: 560px;
  padding: 10px 12px 10px 14px;
  position: fixed;
  top: 18px;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  z-index: 20;
}

.brand,
.nav,
.nav a {
  align-items: center;
  display: inline-flex;
}

.brand {
  gap: 9px;
  font-weight: 900;
  min-width: 0;
}

.brand img {
  border-radius: 50%;
  height: 28px;
  object-fit: cover;
  width: 28px;
}

.nav {
  gap: 6px;
}

.nav a {
  border-radius: 999px;
  color: var(--muted);
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  transition: background 180ms ease, color 180ms ease;
}

.nav a:hover {
  background: rgba(121, 224, 79, 0.12);
  color: var(--text);
}

.nav svg {
  fill: none;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 16px;
}

.shell {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 560px;
  min-height: calc(100vh - 64px);
  padding: 104px 18px 28px;
}

.profile-card,
.link-card {
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  overflow: hidden;
  position: relative;
}

.profile-card::after,
.link-card::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  content: "";
  inset: -40% auto -40% -70%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%) rotate(12deg);
  width: 42%;
}

.profile-card:hover::after,
.link-card:hover::after {
  animation: shine 900ms ease;
}

.profile-card {
  align-items: center;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    var(--panel-strong);
  border-radius: 26px;
  display: grid;
  gap: 16px;
  grid-template-columns: 86px 1fr;
  min-height: 128px;
  padding: 18px;
  text-align: left;
}

.avatar-wrap {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  height: 86px;
  overflow: hidden;
  padding: 4px;
  width: 86px;
}

.avatar-wrap img {
  border-radius: 18px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

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

h1 {
  font-size: clamp(2rem, 7vw, 3rem);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
}

.bio {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 9px 0 0;
  max-width: 390px;
}

.links {
  display: grid;
  gap: 22px;
}

.link-group {
  display: grid;
  gap: 10px;
}

.section-label {
  align-items: center;
  color: var(--green);
  display: flex;
  font-size: 0.76rem;
  font-weight: 900;
  gap: 12px;
  letter-spacing: 0.13em;
  margin: 2px 0 2px;
  text-transform: uppercase;
}

.section-label::after {
  background: linear-gradient(90deg, rgba(121, 224, 79, 0.42), transparent);
  content: "";
  flex: 1;
  height: 1px;
}

.link-card {
  align-items: center;
  border-radius: 22px;
  border-width: 1px;
  display: grid;
  gap: 14px;
  grid-template-columns: 48px 1fr 34px;
  font: inherit;
  min-height: 88px;
  padding: 18px;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  width: 100%;
}

.link-card:hover,
.link-card:focus-visible {
  background: rgba(121, 224, 79, 0.11);
  border-color: rgba(121, 224, 79, 0.34);
  outline: 0;
  transform: translateY(-2px);
}

.platform-icon,
.link-card i {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
}

.platform-icon {
  color: #fff;
  height: 48px;
  width: 48px;
}

.platform-icon svg {
  height: 24px;
  width: 24px;
}

.youtube .platform-icon {
  background: #ff0033;
}

.youtube .platform-icon svg path:first-child {
  fill: currentColor;
  stroke: none;
}

.youtube .platform-icon svg path:last-child {
  fill: #fff;
  stroke: none;
}

.tiktok .platform-icon {
  background: #050505;
  box-shadow: inset -4px 0 0 rgba(37, 244, 238, 0.64), inset 4px 0 0 rgba(254, 44, 85, 0.64);
}

.instagram .platform-icon {
  background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4);
}

.facebook .platform-icon {
  background: #1877f2;
}

.whatsapp .platform-icon {
  background: #25d366;
}

.discord .platform-icon {
  background: #5865f2;
}

.roblox .platform-icon {
  background: #111;
}

.kick .platform-icon {
  background: #53fc18;
  color: #081009;
}

.twitch .platform-icon {
  background: #9146ff;
}

.x .platform-icon {
  background: #050505;
}

.web .platform-icon,
.media-kit .platform-icon,
.email-card .platform-icon {
  background: linear-gradient(135deg, rgba(121, 224, 79, 0.92), rgba(16, 167, 91, 0.92));
  color: #081009;
}

.platform-icon svg,
.link-card i svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.facebook .platform-icon svg {
  fill: currentColor;
  stroke: none;
}

.kick .platform-icon svg,
.roblox .platform-icon svg {
  fill: currentColor;
  stroke: none;
}

.link-card strong,
.link-card small {
  display: block;
}

.link-card strong {
  font-size: 1.16rem;
  line-height: 1.1;
}

.link-card small {
  color: var(--muted);
  font-weight: 700;
  margin-top: 5px;
}

.link-card i {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  height: 34px;
  width: 34px;
}

.link-card i svg {
  height: 17px;
  width: 17px;
}

button.link-card {
  appearance: none;
  -webkit-appearance: none;
  color: var(--text);
  cursor: pointer;
}

.footer {
  align-items: center;
  background: rgba(8, 10, 9, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(244, 247, 242, 0.62);
  display: flex;
  font-size: 0.9rem;
  font-weight: 700;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 18px;
  text-align: center;
}

.redirect-shell {
  align-content: center;
  padding-top: 28px;
}

.redirect-card {
  min-height: 420px;
}

.redirect-card h1 {
  font-size: clamp(2rem, 7vw, 3.2rem);
}

.fallback-link {
  background: linear-gradient(135deg, rgba(121, 224, 79, 0.95), rgba(16, 167, 91, 0.9));
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(121, 224, 79, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  color: #fff;
  font-weight: 900;
  margin-top: 22px;
  padding: 13px 18px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

@keyframes shine {
  from {
    transform: translateX(-120%) rotate(12deg);
  }
  to {
    transform: translateX(260%) rotate(12deg);
  }
}

@media (max-width: 430px) {
  .site-header {
    gap: 8px;
    padding: 8px 9px 8px 10px;
    top: 12px;
    width: calc(100% - 28px);
  }

  .brand {
    gap: 7px;
  }

  .brand img {
    height: 24px;
    width: 24px;
  }

  .brand span {
    font-size: 0.94rem;
  }

  .nav {
    flex: 1;
    gap: 4px;
    justify-content: flex-end;
  }

  .nav a {
    gap: 0;
    min-height: 34px;
    min-width: 34px;
    padding: 0;
  }

  .nav span {
    display: none;
  }

  .shell {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 84px;
  }

  .profile-card {
    border-radius: 26px;
    gap: 14px;
    grid-template-columns: 76px 1fr;
    padding: 16px;
  }

  .avatar-wrap {
    height: 76px;
    width: 76px;
  }

  h1 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .bio {
    font-size: 0.92rem;
  }

  .link-card {
    border-radius: 20px;
    gap: 12px;
    grid-template-columns: 44px 1fr 32px;
    min-height: 82px;
    padding: 16px;
  }

  .platform-icon {
    height: 44px;
    width: 44px;
  }

  .footer {
    font-size: 0.86rem;
    gap: 8px;
    padding: 16px 14px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
