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

html {
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  min-height: 100dvh;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 18px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(88, 63, 255, 0.22), transparent 38%),
    radial-gradient(circle at 20% 80%, rgba(47, 76, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #050816 0%, #080c1d 45%, #0a0e20 100%);
}

.card {
  width: min(420px, 91vw);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(19, 21, 36, 0.95);
  border: 1px solid rgba(116, 123, 165, 0.35);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.58),
    0 0 70px rgba(73, 74, 255, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: -30px;
  z-index: -1;
  background: radial-gradient(circle, rgba(82, 80, 255, 0.28), transparent 68%);
  filter: blur(35px);
}

.cover {
  height: min(42vh, 380px);
  min-height: 285px;
  position: relative;
  overflow: hidden;
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(19, 21, 36, 0.68) 48%,
    rgba(19, 21, 36, 1) 100%
  );
}

.card-body {
  position: relative;
  z-index: 3;
  margin-top: -52px;
  padding: 0 24px 24px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* SOCIALS */

.socials-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.social-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: 0.2s ease;
  background: transparent;
}

.social-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.8px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--color1), var(--color2));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.social-icon::after {
  content: "";
  position: absolute;
  inset: 1.6px;
  border-radius: 50%;
  background: rgba(26, 29, 46, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 8px 18px rgba(0,0,0,0.22);
}

.social-icon svg {
  position: relative;
  z-index: 2;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.instagram {
  --color1: #ff8a00;
  --color2: #ff2d92;
}

.tiktok {
  --color1: #00f2ea;
  --color2: #ff0050;
}

.youtube {
  --color1: #ff4545;
  --color2: #ff0000;
}

/* NAME */

.name-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.name-wrap {
  position: relative;
  display: inline-block;
  padding-right: 24px;
}

.name {
  display: block;
  font-size: clamp(28px, 5.5vw, 28px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.name-verified {
  position: absolute;

  width: 32px;
  height: 32px;

  right: -6px;
  top: 2px;
}

/* HANDLE */

.handle-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
}

.handle {
  color: #9ca3bf;
  font-size: 10px;
  font-weight: 700;
}

/* STATUS */

.status-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.status-text {
  font-size: 12px;
  font-weight: 700;
  color: #9ca3bf;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.status-text.online {
  color: #22d56b;
}

/* SUBTEXT */

.distance {
  width: 100%;
  text-align: center;
  color: #858bad;
  font-size: 14px;
  font-weight: 700;
  margin: 0 auto 26px;
}

/* DIVIDER */

.divider {
  width: 100%;
  height: 1px;
  background: rgba(98, 105, 145, 0.35);
  margin-bottom: 24px;
}

/* CTA */

.btn-primary {
  width: 100%;
  min-height: 64px;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background:
    linear-gradient(135deg, #6f7dff 0%, #4b66ff 42%, #3154ff 100%);
  box-shadow:
    0 14px 38px rgba(65, 95, 255, 0.38),
    0 0 30px rgba(49, 84, 255, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.25);
  transition: 0.18s ease;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: scale(0.98);
}

.cta-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.24),
      rgba(255,255,255,.08)
    );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 6px 16px rgba(0,0,0,.18);
  flex-shrink: 0;
  overflow: hidden;
}

.custom-cta-logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

/* AGE GATE */

#gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  background:
    radial-gradient(circle at top, rgba(88, 63, 255, 0.18), transparent 40%),
    rgba(5, 8, 18, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gate-card {
  width: min(360px, 92vw);
  border-radius: 26px;
  padding: 28px;
  text-align: center;
  background: rgba(19, 21, 36, 0.96);
  border: 1px solid rgba(116, 123, 165, 0.35);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}

#gate h2 {
  font-size: 25px;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

#gate p {
  color: #a1a8c4;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.gate-btn {
  width: 100%;
  border: 0;
  border-radius: 15px;
  padding: 15px;
  background: linear-gradient(90deg, #395cff, #2f4be3);
  color: #fff;
  font-weight: 850;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 14px;
}

.gate-no {
  color: #747c9c;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 430px) {
  body {
    padding: 18px 12px;
  }

  .card {
    width: min(390px, 94vw);
    border-radius: 26px;
  }

  .cover {
    height: 350px;
    min-height: 350px;
  }

  .card-body {
    margin-top: -48px;
    padding: 0 18px 20px;
  }

  .social-icon {
    width: 48px;
    height: 48px;
  }

  .name {
  font-size: 38px;
}

.name-verified {
  width: 34px;
  height: 34px;
  right: -42px;
  top: -1px;
}

  .btn-primary {
    min-height: 60px;
    font-size: 19px;
  }

  .cta-icon {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 360px) {
  .cover {
    height: 320px;
    min-height: 320px;
  }

  .name {
    font-size: 50px;
  }

  .name-verified {
    width: 24px;
    height: 24px;
    right: -30px;
  }

  .handle,
  .distance,
  .status-text {
  font-size: 12px;
  font-weight: 700;
  color: #9ca3bf;
  transition: all .3s ease;
}

.status-text.online {
  color: #22d56b;
}

@media (max-height: 720px) and (min-width: 431px) {
  body {
    align-items: flex-start;
  }

  .cover {
    height: 330px;
    min-height: 330px;
  }
}