*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent: #BA00FF;
  --bg: #0d0d14;
  --surface: rgba(255,255,255,0.05);
  --surface-hover: rgba(255,255,255,0.09);
  --border: rgba(255,255,255,0.08);
  --text: #f0eeff;
  --muted: rgba(240,238,255,0.45);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 100;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active {
  display: flex;
}
.modal {
  background: #1a1a2e;
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 90%;
  max-width: 380px;
  padding: 24px;
}
.modal-header {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
.modal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.share-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.share-btn:hover {
  background: var(--surface-hover);
}
.share-btn img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.hero-banner {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.share-icon-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 1rem;
  transition: background 0.2s;
}
.share-icon-btn:hover {
  background: rgba(0,0,0,0.75);
}
.share-icon-btn img {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

.container {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.avatar-wrap {
  display: flex;
  justify-content: flex-start;
  margin-top: -46px;
  padding-left: 24px;
  position: relative;
  z-index: 2;
}
.avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 4px solid var(--bg);
  object-fit: cover;
  display: block;
}

.profile-info {
  padding: 14px 0 6px;
}
.profile-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.verified-badge {
  width: 20px;
  height: 20px;
}
.profile-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 5px;
}
.pin-icon {
  width: 12px;
  height: 12px;
  filter: invert(0.5);
}
.profile-bio {
  font-size: 0.92rem;
  color: rgba(240,238,255,0.7);
  margin-top: 10px;
  line-height: 1.6;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}
.soc-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.soc-btn img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}
.soc-count {
  color: var(--muted);
  font-size: 0.72rem;
}
.soc-btn:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
}
.soc-youtube:hover  { border-color: rgba(255,0,0,0.4); }
.soc-discord:hover  { border-color: rgba(88,101,242,0.4); }
.soc-twitch:hover   { border-color: rgba(145,70,255,0.4); }
.soc-bluesky:hover  { border-color: rgba(0,133,255,0.4); }
.soc-instagram:hover{ border-color: rgba(228,64,95,0.4); }
.soc-x:hover        { border-color: rgba(255,255,255,0.3); }
.soc-tiktok:hover   { border-color: rgba(255,0,80,0.4); }

.yt-icon img {
  padding: 5px;
}

.tw-icon img {
  padding: 7px;
}

.links-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section-heading {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: center;
  padding: 22px 0 12px;
  position: relative;
}
.section-heading::before,
.section-heading::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 80px);
  height: 1px;
  background: var(--border);
}
.section-heading::before { left: 0; }
.section-heading::after  { right: 0; }

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  margin-bottom: 10px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.link-card:hover {
  background: var(--surface-hover);
  border-color: rgba(185,0,255,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.link-card-full {
}

.link-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.link-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.link-text {
  flex: 1;
  min-width: 0;
}
.link-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}
.link-url {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.45;
  transition: transform 0.2s, opacity 0.2s;
  filter: invert(1);
}
.link-card:hover .link-arrow {
  transform: translateX(3px);
  opacity: 0.9;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

.text-block {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}
.text-block-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.text-block-body {
  font-size: 0.85rem;
  color: rgba(240,238,255,0.65);
  line-height: 1.65;
}

@media (max-width: 480px) {
  .hero-banner { height: 150px; }
  .avatar { width: 80px; height: 80px; }
  .avatar-wrap { margin-top: -40px; }
  .profile-name { font-size: 1.3rem; }
}
