@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=DynaPuff:wght@400..700&display=swap");

:root {
  --ink: #36425e;
  --muted: #6c7885;
  --paper: #f5f9ff;
  --line: #d6deea;
  --accent: #86a6ef;
  --card: #fafcff;
  --card-hover: #edf4ff;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "DynaPuff", system-ui;
  min-height: 100dvh;
  margin: 0;
  padding: 1rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: -1;
  width: 200%;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath fill='%23bac8e0' fill-opacity='0.7' d='M0 5 Q12.5 3 25 5 T50 5 T75 5 T100 5 V10 H0 Z'/%3E%3C/svg%3E")
    repeat-x;
  background-size: 50% 100%;
  animation: drift 14s linear infinite;
}

@keyframes drift {
  to {
    transform: translateX(-50%);
  }
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 900px;
  text-align: center;
}

.avatar {
  width: 225px;
  height: 225px;
  border: 3px solid #7398ff;
  border-radius: 50%;
  object-fit: cover;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 3rem;
}

.content p {
  margin: 0;
  overflow-wrap: anywhere;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top: 1rem;
}

.link-card {
  display: grid;
  flex: 0 0 45px;
  place-items: center;
  height: 45px;
  width: 45px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

iconify-icon {
  width: 1em;
  height: 1em;
}

.link-card iconify-icon {
  font-size: 1.25rem;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--card-hover);
  color: var(--accent);
  outline: none;
}

.link-card:active {
  transform: scale(1);
}

footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
  text-align: center;
}

.flag {
  margin-top: 1rem;
}

.site-name {
  margin: 0;
  font-size: 0.87rem;
  color: #9eb4d9;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

#token {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgb(245 249 255 / 35%);
  backdrop-filter: blur(12px);
  transition: opacity 0.4s;
}

#token.is-hidden {
  opacity: 0;
  pointer-events: none;
}

#token-button {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 15px 20px;
  transition: transform 0.15s;
}

#token-button:hover,
#token-button:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

#token-button:active {
  transform: scale(0.95);
}

.token {
  width: 10em;
  height: 10em;
  transition: transform 0.2s;
}

#token-button:hover .token,
#token-button:focus-visible .token {
  transform: rotate(-10deg);
}
