:root {
  --text: #f8f8fb;
  --muted: #bfc5d6;
  --panel: rgba(10, 10, 14, 0.78);
  --panel-strong: rgba(13, 13, 18, 0.86);
  --link-bg: rgba(20, 20, 28, 0.94);
  --link-bg-hover: rgba(28, 28, 38, 0.98);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 170, 90, 0.24);
  --accent-orange: #ff9a3d;
  --accent-orange-soft: #ffbe7a;
  --accent-blue: #53c8ff;
  --accent-purple: #b268ff;
  --live: #ff4d5f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --radius: 28px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(8, 8, 12, 0.22), rgba(5, 5, 8, 0.82)),
    url("bg.png") top center / cover no-repeat fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 62% 78%, rgba(255, 154, 61, 0.12), transparent 0 18%),
    radial-gradient(circle at 28% 18%, rgba(83, 200, 255, 0.08), transparent 0 18%),
    radial-gradient(circle at 78% 24%, rgba(178, 104, 255, 0.06), transparent 0 18%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025), transparent 18%);
  pointer-events: none;
}

.page-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.24), transparent 20%);
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 780px);
  margin: 0 auto;
  padding: 42px 0 26px;
}

.hero-card {
  position: relative;
  text-align: center;
  padding: 34px 28px 28px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(18, 18, 24, 0.9), rgba(10, 10, 14, 0.88));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.hero-topline {
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-blue) 20%,
    var(--accent-purple) 50%,
    var(--accent-orange) 80%,
    transparent 100%
  );
  opacity: 0.95;
  box-shadow:
    0 0 18px rgba(83, 200, 255, 0.18),
    0 0 22px rgba(255, 154, 61, 0.12);
}

.hero-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.16;
  pointer-events: none;
}

.hero-glow-left {
  top: -70px;
  left: -40px;
  background: var(--accent-blue);
}

.hero-glow-right {
  right: -40px;
  bottom: -90px;
  background: var(--accent-orange);
}

.avatar-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.avatar {
  width: 118px;
  height: 118px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 8px rgba(255, 154, 61, 0.05),
    0 0 28px rgba(83, 200, 255, 0.08),
    0 0 34px rgba(255, 154, 61, 0.08);
  background: rgba(12, 12, 18, 0.92);
}

.site-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow:
    0 0 16px rgba(83, 200, 255, 0.08),
    0 0 16px rgba(255, 154, 61, 0.06);
}

.site-bio {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.content-card {
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 18px;
  background:
    linear-gradient(180deg, rgba(16, 16, 22, 0.9), rgba(11, 11, 16, 0.92));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.section-title {
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-orange-soft);
}

.spotify-card iframe {
  display: block;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.links {
  display: grid;
  gap: 12px;
}

.link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(24, 24, 34, 0.96), rgba(12, 12, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 8px 20px rgba(0, 0, 0, 0.26);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  overflow: hidden;
}

.link::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--accent-blue),
    var(--accent-purple),
    var(--accent-orange)
  );
  box-shadow:
    0 0 12px rgba(83, 200, 255, 0.18),
    0 0 12px rgba(255, 154, 61, 0.14);
}

.link:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, rgba(30, 30, 42, 0.98), rgba(14, 14, 22, 1));
  border-color: var(--border-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 24px rgba(0, 0, 0, 0.3),
    0 0 14px rgba(255, 154, 61, 0.06);
}

.link-icon {
  width: 22px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.link-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.link-text {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
}

.link-arrow {
  font-size: 1.08rem;
  opacity: 0.82;
  color: var(--accent-orange-soft);
}

.link.featured {
  border-color: rgba(255, 154, 61, 0.22);
  background:
    linear-gradient(135deg, rgba(34, 28, 34, 0.98), rgba(16, 14, 20, 1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 22px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(255, 154, 61, 0.05);
}

.link.live-link {
  border-color: rgba(255, 77, 95, 0.32);
  background:
    linear-gradient(135deg, rgba(62, 18, 26, 0.96), rgba(24, 8, 12, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 225, 230, 0.04),
    0 0 18px rgba(255, 77, 95, 0.08);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 6px 4px 0;
  color: rgba(228, 232, 241, 0.72);
  font-size: 0.92rem;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 20px, 780px);
    padding-top: 18px;
    padding-bottom: 22px;
  }

  .hero-card {
    padding: 24px 18px 22px;
  }

  .avatar {
    width: 100px;
    height: 100px;
  }

  .content-card {
    padding: 16px;
  }

  .link {
    min-height: 58px;
    padding: 14px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}