:root {
  --accent: #ffd166;
  --ink: #fffaf0;
  --glass: rgba(12, 14, 18, 0.4);
  --line: rgba(255, 255, 255, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
 height: 100dvh;
overflow: hidden;
  background: #11151e;
}

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

.stage {
  position: relative;
 min-height: 100dvh;
height: 100dvh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
  isolation: isolate;
  overflow-y: visible;
}

.background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  transform: scale(1.02);
}

.shade {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 209, 102, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.18), rgba(7, 9, 12, 0.68));
}

.identity {
  width: min(100%, 760px);
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
  filter: drop-shadow(var(--shadow));
}

.profile {
  width: clamp(116px, 22vw, 184px);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.72);
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

.tagline {
  margin: 0;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  font-size: clamp(0.72rem, 1.8vw, 0.9rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.logo {
  margin: 0;
  color: #fff;
  font-family: ui-rounded, "Arial Rounded MT Bold", Inter, system-ui, sans-serif;
  font-size: clamp(3.7rem, 14vw, 9.7rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow:
    0 5px 0 rgba(0, 0, 0, 0.22),
    0 14px 40px rgba(0, 0, 0, 0.45);
  paint-order: stroke fill;
  -webkit-text-stroke: clamp(1px, 0.35vw, 4px) rgba(22, 19, 14, 0.8);
}

.socials,
.contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.icon-button,
.handle,
.credits-toggle,
.credits-close {
  border: 1px solid var(--line);
  color: #fff;
  background: var(--glass);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.icon-button {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-icon-image {
  width: 25px;
  height: 25px;
  object-fit: contain;
}
.handle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: min(100%, 320px);
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.95rem;
}

.handle span {
  overflow-wrap: anywhere;
}

.handle svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.credits-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.credits-panel {
  position: fixed;
  right: 18px;
  bottom: 72px;
  width: min(360px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 12, 16, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.credits-panel h2 {
  margin: 0 40px 12px 0;
  font-size: 1rem;
}

.credits-panel ul {
  margin: 0;
  padding-left: 20px;
}

.credits-panel li {
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
}

.credits-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  cursor: pointer;
}

.credits-close span {
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .stage {
    padding: 36px 15px 84px;
  }

  .identity {
    gap: 18px;
  }

  .icon-button {
    width: 50px;
    height: 50px;
  }

  .contacts {
    gap: 9px;
  }
}

@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;
  }
}
.handle-icon {
  width: 23px;
  height: 23px;
  object-fit: contain;
  flex: 0 0 auto;
 filter: brightness(0) invert(1);
}

.handle {
  cursor: pointer;
  font: inherit;
}

.credits-toggle.paw-button {
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: #000 !important;
  font-size: 2.4rem;
}
.credits-toggle.paw-button:hover,
.credits-toggle.paw-button:focus-visible {
  transform: none !important;
  animation: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
.credits-panel .credits-link,
.credits-panel .credits-link:visited {
  color: #fff !important;
  text-decoration: none;
}

.credits-panel .credits-link,
.credits-panel .credits-link:visited {
  display: inline-block;
  margin-left: 20px;
  color: #fff !important;
  text-decoration: none;
}
