@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
  --bg: #100d0c;
  --cream: #fff5e9;
  --muted: #b9aaa0;
  --orange: #ed813a;
  --orange-light: #ffb56e;
  --cyan: #55d6df;
  --card: rgba(29, 23, 21, 0.78);
  --line: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  color: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
  background:
    linear-gradient(180deg, rgba(12, 10, 9, .22), rgba(12, 10, 9, .72)),
    url("assets/background.png") center / cover fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.14) .6px, transparent .6px);
  background-size: 5px 5px;
  opacity: .15;
}

.ambient {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .15;
  pointer-events: none;
}

.ambient--orange { left: -15rem; bottom: -14rem; background: var(--orange); }
.ambient--cyan { right: -18rem; top: -15rem; background: var(--cyan); }

.profile-card {
  width: min(100% - 32px, 570px);
  margin: 40px auto;
  padding: 38px 42px 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(31, 25, 23, .86), rgba(15, 13, 12, .76));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: arrive .75s cubic-bezier(.2,.8,.2,1) both;
}

.profile { text-align: center; }

.avatar-wrap {
  position: relative;
  width: 126px;
  height: 126px;
  padding: 4px;
  margin: 0 auto 19px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-light), var(--orange) 52%, var(--cyan));
  box-shadow: 0 0 0 6px rgba(237,129,58,.08), 0 12px 35px rgba(0,0,0,.38);
}

.avatar { width: 100%; height: 100%; display: block; object-fit: cover; border: 3px solid #171210; border-radius: 50%; }

.status {
  position: absolute;
  right: 6px;
  bottom: 10px;
  width: 18px;
  height: 18px;
  border: 4px solid #181311;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(85,214,223,.75);
}

.eyebrow { margin: 0 0 5px; color: var(--orange-light); font-size: 10px; font-weight: 700; letter-spacing: .28em; }

h1 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 42px; line-height: 1.12; letter-spacing: -.025em; }
.sparkle { display: inline-block; margin-left: 8px; color: var(--orange); font-size: 23px; vertical-align: 8px; animation: twinkle 2.4s ease-in-out infinite; }
.sparkle--left { margin-right: 8px; margin-left: 0; animation-delay: -1.2s; }
.intro { margin: 12px 0 26px; color: var(--muted); font-size: 14px; line-height: 1.6; }

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

.link-card {
  --accent: var(--orange);
  position: relative;
  min-height: 70px;
  display: grid;
  grid-template-columns: 44px 1fr 30px;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  overflow: hidden;
  color: var(--cream);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 16px;
  background: linear-gradient(100deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(100deg, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%);
  transition: opacity .25s ease;
}

.link-card:hover, .link-card:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 65%, transparent); box-shadow: 0 12px 30px rgba(0,0,0,.28); outline: none; }
.link-card:hover::before, .link-card:focus-visible::before { opacity: 1; }
.link-card--instagram { --accent: #f3a15d; }
.link-card--twitch { --accent: #a970ff; }
.link-card--tiktok { --accent: #55d6df; }
.link-card--foxlog { --accent: #ed813a; }

.icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 13%, rgba(255,255,255,.03));
}

.icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon svg .fill { fill: currentColor; stroke: none; }
.icon svg.heart-icon { fill: currentColor; stroke: currentColor; }
.link-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.link-copy strong { font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.link-copy small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.arrow { position: relative; z-index: 1; justify-self: end; color: var(--muted); font-size: 21px; transition: color .25s ease, transform .25s ease; }
.link-card:hover .arrow { color: var(--accent); transform: translate(2px, -2px); }

footer { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 25px; color: #80746e; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
footer b { color: var(--orange); }
.footer-line { width: 34px; height: 1px; background: rgba(255,255,255,.1); }

@keyframes arrive { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes twinkle { 0%,100% { opacity: .65; transform: scale(.85) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(15deg); text-shadow: 0 0 16px var(--orange); } }

@media (max-width: 600px) {
  body { place-items: start center; background-attachment: scroll; }
  .profile-card { width: min(100% - 22px, 480px); margin: 18px auto; padding: 27px 18px 22px; border-radius: 24px; }
  .avatar-wrap { width: 108px; height: 108px; margin-bottom: 16px; }
  h1 { font-size: 36px; }
  .intro { margin-bottom: 21px; font-size: 13px; }
  .desktop-break { display: none; }
  .link-card { min-height: 66px; grid-template-columns: 42px 1fr 24px; padding: 10px 13px; }
  footer { margin-top: 21px; gap: 9px; font-size: 9px; letter-spacing: .08em; }
  .footer-line { width: 22px; }
}

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