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

:root {
  --bg: #1a1030;
  --bg-2: #241640;
  --accent: #f2a01c;
  --accent-2: #b98cf277;
  --purple: #8e5fd8;
  --white: #FFFFFF;
  --soft: #e3daf2;
  --muted: #a498bd;
  --line: rgba(242, 160, 28, .28);
  --line-strong: rgba(242, 160, 28, .55);
  --glow: 0 0 35px rgba(242, 160, 28, .25);
  --card: rgba(36, 22, 64, .72);
  --card-2: rgba(46, 28, 78, .9);
  --radius: 20px;
  --max: 560px;
  --headline: "Inter", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  color: var(--white);
  background:
    radial-gradient(circle at 50% -10%, rgba(242, 160, 28, .10), transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(142, 95, 216, .09), transparent 34%),
    radial-gradient(circle at 8% 70%, rgba(142, 95, 216, .08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #faf8fc 45%, #ffffff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: .5;
  background-image:
    linear-gradient(rgba(242, 160, 28, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 160, 28, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 20%, black 0%, transparent 75%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 40px;
}

/* Header banner */
.profile {
  margin-bottom: 36px;
}

.banner-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35), var(--glow);
}

.banner {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Section label */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 34px 0 14px;
}

.section-label span {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.section-label::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}

.profile + .section-label {
  margin-top: 0;
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: border-color .25s ease, background .25s ease, transform .2s ease, box-shadow .25s ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: var(--line-strong);
  background: var(--card-2);
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.link-card:active {
  transform: translateY(0);
}

.link-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--accent);
}

.link-icon svg {
  width: 19px;
  height: 19px;
}

.link-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-title {
  font-family: var(--headline);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.005em;
  color: var(--white);
}

.link-sub {
  font-family: var(--body);
  font-size: 12.5px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-arrow {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 16px;
  opacity: .7;
  transition: transform .25s ease, opacity .25s ease;
}

.link-card:hover .link-arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* Pending links (no destination yet) */
.link-card.is-pending {
  opacity: .68;
  cursor: default;
}

.link-card.is-pending:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
  background: var(--card);
}

.link-badge {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* Footer */
.foot {
  margin-top: 44px;
  text-align: center;
}

.foot-logos {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 18px;
}

.foot-logos img {
  width: 100%;
  height: auto;
}

.foot p {
  font-family: var(--body);
  font-size: 11.5px;
  color: #7a7286;
  margin: 0;
}

@media (max-width: 420px) {
  .container { padding: 40px 0 32px; }
  .link-card { padding: 14px 15px; gap: 12px; }
  .link-badge { font-size: 9px; padding: 3px 8px; }
}
