@font-face {
  font-family: 'NeueHaasGrotesk';
  src: url('assets/NHaasGroteskDSPro-Md.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

::selection {
  background: #afff59;
  color: #000;
}

html, body {
  height: 100%;
  background: #000;
  color: #fff;
  overflow: hidden;
}

/* ── Page wrapper ── */
.page {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 68px 100px 44px;
}

/* ── Corner star decorations ── */
.corner {
  position: fixed;
  pointer-events: none;
  user-select: none;
  z-index: 20;
}

.corner-tr {
  top: 11px;
  right: 13px;
}

/* ── Rotated side text ── */
.side-text {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  overflow: visible;
  z-index: 10;
}

.side-left  { left: 30px; }
.side-right { right: 30px; }

.side-text span {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 8.9px;
  text-transform: uppercase;
  color: #373737;
  white-space: nowrap;
  transform: rotate(-90deg);
}

/* ── Main content column ── */
.main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 920px;
  gap: 24px;
}

/* ── Logo block ── */
.logo-block {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  height: 50px;
  width: auto;
  display: block;
}

/* ── Name card ── */
.card {
  width: 100%;
  aspect-ratio: 824 / 465;
  background: #0b0b0b;
  border-radius: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Unicorn Studio animation fills the card as background */
#unicorn-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Canvas injected by Unicorn must fill its container */
#unicorn-bg canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.names {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(22px, 5.33vw, 64px);
  line-height: 1.27;
  text-align: center;
  color: #fff;
  text-shadow: 0px 0px 16px rgba(0, 0, 0, 0.9);
  position: relative;
  z-index: 1;
  padding: 0 clamp(16px, 4%, 48px);
}

.name-line {
  white-space: nowrap;
}

.name-note {
  font-size: clamp(16px, 4vw, 50px);
  color: #999;
}

.name-link {
  color: inherit;
  text-decoration: none;
  position: relative;
}

.name-underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 9px;
  background: center / 100% no-repeat;
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
  display: block;
}

.link-arthur .name-underline {
  background-image: url('assets/stroke_01.svg');
}

.link-guile .name-underline {
  background-image: url('assets/stroke_02.svg');
}

/* ── CTA section ── */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.globe {
  width: 47px;
  height: 47px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.cta-text {
  font-family: 'NeueHaasGrotesk', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(15px, 1.67vw, 20px);
  font-weight: 500;
  color: #fff;
  text-align: center;
  line-height: 42px;
  white-space: nowrap;
}

.pills {
  display: flex;
  gap: 12px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 22px;
  background: #afff59;
  color: #000;
  font-family: 'NeueHaasGrotesk', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 34px;
  transition: background-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  line-height: 1.7;
}

.pill:hover {
  background: #fff;
  color: #000;
}

/* ── Desktop: full-screen Unicorn background + anchored logo/CTA ── */
@media (min-width: 1024px) {
  .card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  #unicorn-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
  }

  .logo-block {
    position: fixed;
    top: max(50px, 10vh);
    left: 0;
    right: 0;
    justify-content: center;
    z-index: 5;
  }

  .cta {
    position: fixed;
    bottom: max(50px, 10vh);
    left: 0;
    right: 0;
    align-items: center;
    z-index: 5;
  }

  .globe {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 5;
  }
}

/* ── Tablet (768px – 1023px) ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .page {
    padding: 56px 64px 40px;
  }

  .side-text {
    display: none;
  }

  #unicorn-bg {
    transform: scale(1.4);
  }

  .names {
    font-size: clamp(18px, 9vw, 48px);
  }

  .cta-text {
    font-size: 18px;
  }
}

/* ── Short desktop/tablet viewports (height ≤ 820px) ── */
@media (max-height: 820px) and (min-width: 768px) {
  .page {
    padding-top: 32px;
    padding-bottom: 20px;
  }

  .main {
    gap: 16px;
  }

  .card {
    max-height: 400px;
  }
}

/* ── Mobile (≤ 767px): full-screen animation, logo/CTA fixed ── */
@media (max-width: 767px) {
  html, body {
    overflow: hidden;
  }

  .page {
    height: 100dvh;
  }

  .side-text,
  .corner {
    display: none;
  }

  * {
    -webkit-user-select: none;
    user-select: none;
  }

  .logo {
    height: 34px;
  }

  .card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  #unicorn-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
  }

  .logo-block {
    position: fixed;
    top: max(40px, 8vh);
    left: 0;
    right: 0;
    justify-content: center;
    z-index: 5;
  }

  .cta {
    position: fixed;
    bottom: max(40px, 8vh);
    left: 0;
    right: 0;
    align-items: center;
    z-index: 5;
  }

  .globe {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 5;
  }

  .names {
    font-size: clamp(15px, 9vw, 40px);
    line-height: 1.25;
  }

  .cta-text {
    font-size: 15px;
    line-height: 1.5;
    white-space: normal;
    text-align: center;
  }

  .pill {
    font-size: 13px;
    padding: 5px 18px;
  }
}

/* ── Very small screens (≤ 380px) ── */
@media (max-width: 380px) {
  .names {
    font-size: clamp(15px, 6vw, 32px);
  }
}
