:root {
  --bg: #090b12;
  --bg-soft: rgba(14, 16, 24, 0.55);
  --text: #f6f8fc;
  --text-soft: #c5cedb;
  --border: rgba(255, 255, 255, 0.16);
  --border-soft: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.065);
  --accent: #ff4d00;
  --accent-2: #ff8b50;
  --glow-main: rgba(255, 77, 0, 0.2);
  --glow-second: rgba(255, 140, 80, 0.12);
  --shadow: 0 22px 68px rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

button {
  font: inherit;
  color: inherit;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 24% 10%, var(--glow-main) 0, transparent 38%),
    radial-gradient(circle at 78% 14%, var(--glow-second) 0, transparent 40%),
    linear-gradient(180deg, #0c0e18 0%, #070910 100%);
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  z-index: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px);
  background-size: 3px 3px, 4px 4px;
}

.bg-fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(64px);
}

.orb-main {
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
}

.orb-secondary {
  bottom: 12%;
  right: -160px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--glow-purple) 0%, transparent 68%);
}

.grid-mask {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 72% 50% at 50% 0%, #000 56%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 50% at 50% 0%, #000 56%, transparent 100%);
}

.main {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.container {
  width: min(100%, 600px);
  padding: 56px 18px 52px;
}

.profile {
  text-align: center;
  margin-bottom: 32px;
  filter: drop-shadow(0 20px 55px rgba(0, 0, 0, 0.55));
}

.avatar-wrap {
  display: inline-block;
  position: relative;
  margin-bottom: 14px;
}

.avatar-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
  transform: scale(1.34);
  border-radius: 999px;
  filter: blur(18px);
}

.avatar-ring {
  width: 114px;
  height: 114px;
  border-radius: 999px;
  padding: 3px;
  position: relative;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.4), rgba(107, 123, 255, 0.4), rgba(255, 255, 255, 0.18));
}

.avatar {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.profile-name {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.92rem;
  letter-spacing: -0.02em;
}

.profile-subtitle {
  display: inline-flex;
  margin-top: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: #c6d4e6;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

.profile-tagline {
  margin: 14px auto 20px;
  max-width: 460px;
  color: #c9d5e5;
  font-size: 0.96rem;
  line-height: 1.45;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.social-btn {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: #cfd6e4;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.social-btn:hover,
.social-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  outline: none;
}

.social-btn svg {
  width: 22px;
  height: 22px;
}

.stack {
  display: grid;
  gap: 18px;
}

.hero-cta {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 18px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(120deg, rgba(255, 141, 64, 0.2), rgba(255, 77, 0, 0.16)),
    rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  box-shadow: var(--shadow);
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 255, 0.7);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(45, 212, 255, 0.12);
  outline: none;
}

.hero-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), transparent 55%, rgba(255, 255, 255, 0.09));
  pointer-events: none;
}

.hero-content {
  position: relative;
}

.live-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.45);
  animation: pulse 1.5s infinite;
}

.live-label {
  color: #ffd8ca;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 7px;
  font-family: "Manrope", sans-serif;
  font-size: 1.32rem;
  line-height: 1.22;
}

.hero-subtitle {
  margin: 0 0 4px;
  color: #d7deeb;
  font-size: 0.94rem;
  line-height: 1.38;
}

.hero-small {
  margin: 0 0 12px;
  color: #8d9bb1;
  font-size: 0.8rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.link-card {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.04));
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.26);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.08));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  outline: none;
}

.link-card.featured {
  border-color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 255, 0.9));
  margin-bottom: 16px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.link-card.featured .card-title {
  color: #0b1220;
}
.link-card.featured .card-subtitle {
  color: #1f2a3a;
}
.link-card.featured .card-arrow {
  color: #2b3a50;
}
.link-card.featured .card-icon {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.9);
  color: #0b1220;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 26px rgba(0, 0, 0, 0.25);
}

.card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 22px rgba(0, 0, 0, 0.28);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-body {
  min-width: 0;
  flex: 1;
}

.card-title {
  margin: 0;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
}

.card-subtitle {
  margin: 3px 0 0;
  color: #b6c4d7;
  font-size: 0.9rem;
  line-height: 1.38;
}

.card-arrow {
  color: #9bb0c7;
  flex-shrink: 0;
}

.card-arrow svg {
  width: 18px;
  height: 18px;
}

.section {
  margin-top: 18px;
  margin-bottom: 32px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}

.section-line {
  height: 1px;
  flex: 1;
  max-width: 54px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.22));
}

.section-line.right {
  background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.22));
}

.section-title {
  margin: 0;
  color: #9cb2cb;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.items-list {
  display: grid;
  gap: 8px;
}

.footer {
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer a {
  color: #8da0b8;
  font-size: 0.73rem;
  text-decoration: none;
}

.footer a:hover {
  color: #c4d2e5;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10;
  padding: 16px;
  display: grid;
  place-items: center;
  background: rgba(4, 6, 11, 0.75);
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal {
  width: min(100%, 420px);
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #121212;
  padding: 18px;
}

.modal h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
}

.modal p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.modal-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.btn-primary,
.btn-secondary {
  width: 100%;
  border-radius: 12px;
  padding: 11px 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  border: 1px solid rgba(60, 184, 255, 0.7);
  background: rgba(60, 184, 255, 0.18);
  color: #fff;
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #c3cada;
}

.btn-primary:hover,
.btn-secondary:hover {
  filter: brightness(1.08);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

@media (max-width: 520px) {
  .container {
    padding-top: 28px;
  }

  .avatar-ring {
    width: 104px;
    height: 104px;
  }

  .profile-name {
    font-size: 1.62rem;
  }

  .hero-title {
    font-size: 1.16rem;
  }

  .card-title,
  .card-subtitle {
    white-space: normal;
  }
}
