:root {
  --page: #1d1d1f;
  --card: #242424;
  --surface: #181818;
  --text: #f5f4f2;
  --muted: #b8b5b1;
  --outline: rgba(255, 255, 255, 0.08);
  --accent: #ff4c62;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  -webkit-appearance: none;
  appearance: none;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px 20px 56px;
  padding:
    max(24px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(56px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  overflow: hidden;
  isolation: isolate;
}

.ambient-backdrop {
  position: fixed;
  z-index: -1;
  inset: -90px;
  width: calc(100% + 180px);
  height: calc(100% + 180px);
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.72;
  -webkit-filter: blur(58px) saturate(0.68) brightness(0.72);
  filter: blur(58px) saturate(0.68) brightness(0.72);
  transform: scale(1.12);
  animation: ambient-drift 14s ease-in-out infinite alternate;
}

.profile-card {
  position: relative;
  width: min(100%, 509px);
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--outline);
  border-radius: 28px;
  background: var(--card);
  box-shadow:
    0 60px 120px -28px rgba(0, 0, 0, 0.6),
    0 28px 56px -20px rgba(0, 0, 0, 0.45),
    0 8px 20px -8px rgba(0, 0, 0, 0.32),
    inset 0 1px 1px rgba(255, 255, 255, 0.16),
    inset 0 -2px 3px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.08);
}

.profile-card-enter {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: card-arrive 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal {
  opacity: 0;
  animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-1 {
  animation-delay: 60ms;
}

.reveal-2 {
  animation-delay: 180ms;
}

.reveal-3 {
  animation-delay: 280ms;
}

.reveal-4 {
  animation-delay: 360ms;
}

.reveal-5 {
  animation-delay: 440ms;
}

.reveal-6 {
  animation-delay: 520ms;
}

.reveal-7 {
  animation-delay: 600ms;
}

.profile-hero {
  position: relative;
  height: 548px;
  overflow: hidden;
  background: #4d4a46;
}

.profile-photo-frame,
.profile-photo {
  width: 100%;
  height: 100%;
}

.profile-photo {
  display: block;
  object-fit: cover;
  object-position: center 28%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(19, 19, 19, 0.65) 73%, var(--card) 100%);
}

.profile-copy {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  padding: 0 28px;
  text-align: center;
}

.profile-copy h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  font-size: 32px;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.verified {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #1d9bf0;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.14);
}

.profile-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 9px 0 20px;
  color: #d0cecb;
  font-size: 14px;
}

.profile-divider {
  width: 1px;
  height: 18px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.38);
}

.online-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.online-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--accent);
}

.online-dot::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent);
  content: "";
  opacity: 0.75;
  animation: online-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 360px;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
}

.social-link {
  display: grid;
  width: clamp(31px, 9.5vw, 38px);
  flex: 0 0 clamp(31px, 9.5vw, 38px);
  max-width: 38px;
  aspect-ratio: 1;
  justify-self: center;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: #575757;
  color: #fff;
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.social-link svg {
  display: block;
  width: 21px;
  height: 21px;
  overflow: visible;
}

.social-link--exclusive svg {
  width: 27px;
  height: 27px;
}

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

.social-link--tiktok svg {
  width: 20px;
  height: 20px;
}

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

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

.link-stack {
  display: grid;
  gap: 16px;
  padding: 16px 16px 22px;
}

.feature-wrap {
  position: relative;
}

.feature-breathe {
  animation: breathe 3s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, opacity;
}

.feature-link {
  position: relative;
  display: block;
  height: 270px;
  overflow: hidden;
  border-radius: 16px;
  background: #514641;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  will-change: transform, box-shadow;
}

.feature-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 31%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.63) 100%);
}

.feature-copy {
  position: absolute;
  right: 16px;
  bottom: 18px;
  left: 16px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.social-tile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.social-tile {
  position: relative;
  display: grid;
  height: 68px;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px;
  background: #171717;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  will-change: transform;
}

.social-tile-icon {
  display: grid;
  width: 34px;
  height: 34px;
  justify-self: center;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: #fff;
}

.social-tile-icon svg {
  display: block;
  width: 17px;
  height: 17px;
}

.social-tile--youtube .social-tile-icon {
  color: #ff0000;
}

.social-tile--snapchat .social-tile-icon {
  color: #fffc00;
}

.social-tile--twitch .social-tile-icon {
  color: #9146ff;
}

.social-tile-copy {
  grid-column: 2;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 750;
}

.profile-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px 26px;
  color: #85827f;
  font-size: 11px;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-arrive {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.95;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes online-ping {
  75%,
  100% {
    opacity: 0;
    transform: scale(2);
  }
}

@keyframes ambient-drift {
  from {
    transform: scale(1.12) translate3d(-0.6%, -0.4%, 0);
  }

  to {
    transform: scale(1.16) translate3d(0.8%, 0.6%, 0);
  }
}

.gate-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  padding:
    max(24px, env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
  isolation: isolate;
  background: #1d1d1f;
}

.gate-backdrop {
  position: fixed;
  z-index: -1;
  inset: -90px;
  width: calc(100% + 180px);
  height: calc(100% + 180px);
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.58;
  -webkit-filter: blur(52px) saturate(0.55) brightness(0.7);
  filter: blur(52px) saturate(0.55) brightness(0.7);
  transform: scale(1.12);
}

.gate-card {
  width: min(100%, 490px);
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(35, 35, 35, 0.97);
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.gate-badge {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #181818;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.gate-card h1 {
  margin: 0;
  font-size: clamp(30px, 7vw, 40px);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.gate-card--human h1 {
  font-size: clamp(29px, 7vw, 38px);
}

.gate-badge--shield {
  border-color: rgba(143, 211, 255, 0.24);
  background: rgba(46, 104, 143, 0.18);
  color: #8fd3ff;
  font-size: 29px;
}

.gate-intro {
  margin: 16px 0 26px;
  color: #c8c5c1;
  font-size: 16px;
  line-height: 1.6;
}

.gate-notice {
  margin: 0 0 22px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: #1b1b1b;
  color: #a9a6a2;
  font-size: 13px;
  line-height: 1.55;
}

.gate-error {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 146, 146, 0.24);
  border-radius: 13px;
  background: rgba(110, 35, 35, 0.24);
  color: #ffc0c0;
  font-size: 13px;
  line-height: 1.45;
}

.gate-form {
  display: grid;
  gap: 12px;
}

.human-check-form {
  display: block;
  margin: 0 0 12px;
}

.human-check {
  display: grid;
  width: 100%;
  min-height: 88px;
  grid-template-columns: 42px minmax(0, 1fr) 34px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #f7f7f7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  color: #202020;
  font: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.human-check__box {
  display: block;
  width: 30px;
  height: 30px;
  border: 2px solid #656565;
  border-radius: 3px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.human-check__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.human-check__copy strong {
  font-size: 15px;
  font-weight: 680;
}

.human-check__copy small {
  color: #6d6d6d;
  font-size: 10px;
}

.human-check__mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid #2c86c4;
  border-radius: 50%;
  color: #267fbd;
  font-size: 16px;
  font-weight: 900;
}

.gate-primary,
.gate-secondary {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 15px;
  font: inherit;
  font-size: 15px;
  font-weight: 760;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, background 180ms ease;
}

.gate-secondary--standalone {
  width: 100%;
}

.gate-primary {
  background: #f2f0ec;
  color: #171717;
}

.gate-secondary {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #191919;
  color: #b8b5b1;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .site-shell {
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom);
    overflow: visible;
  }

  .ambient-backdrop {
    display: none;
  }

  .profile-card {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .profile-hero {
    height: auto;
    padding: max(42px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
    overflow: visible;
    background: var(--card);
  }

  .profile-photo-frame {
    width: 228px;
    height: 228px;
    margin: 0 auto;
    overflow: hidden;
    border: 4px solid #f4f4f4;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
  }

  .profile-photo {
    object-position: center 26%;
  }

  .hero-shade {
    display: none;
  }

  .profile-copy {
    position: static;
    padding: 22px 0 4px;
  }

  .profile-copy h1 {
    font-size: 32px;
  }

  .profile-status {
    margin: 12px 0 14px;
  }

  .social-row {
    width: 100%;
  }

  .link-stack {
    gap: 14px;
    padding: 16px 8px 22px;
  }

  .feature-link {
    height: 270px;
  }

  .social-tile {
    height: 62px;
  }

}

@media (hover: hover) and (pointer: fine) {
  .social-link:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    -webkit-filter: brightness(1.08);
    filter: brightness(1.08);
  }

  .feature-wrap:hover .feature-breathe {
    opacity: 1;
    transform: scale(1);
    animation: none;
  }

  .feature-link:hover {
    z-index: 1;
    transform: scale(1.05);
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
  }

  .feature-link:hover .feature-photo {
    transform: none;
    -webkit-filter: brightness(1.04);
    filter: brightness(1.04);
  }

  .social-tile:hover {
    z-index: 1;
    transform: scale(1.035);
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
  }

  .social-tile:hover .social-tile-photo {
    transform: scale(1.03);
    -webkit-filter: brightness(1.04);
    filter: brightness(1.04);
  }

  .profile-footer a:hover {
    color: #bbb8b4;
  }

  .gate-primary:hover,
  .gate-secondary:hover,
  .human-check:hover {
    transform: translateY(-1px);
    -webkit-filter: brightness(1.06);
    filter: brightness(1.06);
  }

  .human-check:hover {
    border-color: #aaa;
    background: #fff;
  }
}

@media (max-width: 420px) {
  .profile-hero {
    padding-top: max(34px, env(safe-area-inset-top));
  }

  .profile-photo-frame {
    width: 210px;
    height: 210px;
  }

  .profile-copy h1 {
    font-size: 30px;
  }

  .profile-status {
    gap: 8px;
    font-size: 14px;
  }

  .gate-card {
    padding: 34px 24px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .feature-breathe,
  .online-dot,
  .ambient-backdrop,
  .profile-card-enter {
    animation: none !important;
  }

  .feature-link:hover,
  .social-tile:hover,
  .social-link:hover,
  .feature-link:hover .feature-photo,
  .social-tile:hover .social-tile-photo {
    transform: none;
  }
}

@supports (-webkit-touch-callout: none) {
  html,
  body,
  .site-shell,
  .gate-shell {
    min-height: -webkit-fill-available;
  }
}
