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

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

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #fff;
  background: #1f5fd1;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 3.5rem;
}

/* Blurred blue background image (served resized via Netlify Image CDN) */
body::before {
  content: "";
  position: fixed;
  inset: -40px;
  z-index: -2;
  background: url("/.netlify/images?url=/img/background.png&w=1600&fm=webp") center / cover no-repeat;
  filter: blur(22px) saturate(1.1);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(10, 25, 80, 0.1), rgba(5, 15, 50, 0.45));
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 3.5rem 2rem;
  text-align: center;
  animation: rise 0.8s ease-out both;
}

.title {
  margin: 0;
  font-size: clamp(2.6rem, 11vw, 6.5rem);
  font-weight: 200;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.45), 0 4px 30px rgba(0, 0, 40, 0.35);
}

.socials {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 30, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.icon.instagram svg,
.icon.vinted svg {
  fill: none;
}

.icon:hover,
.icon:focus-visible {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 30px rgba(0, 0, 30, 0.4);
}

.youtube { background: #ff0000; }
.tiktok { background: #010101; }
.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.vinted { background: #09b1ba; }

.bio {
  display: inline-block;
  padding: 0.95rem 3.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #9b4dff, #7a2ff0);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.3em;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(122, 47, 240, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bio:hover,
.bio:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(122, 47, 240, 0.6);
}

a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.footer {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card { animation: none; }
  .icon, .bio { transition: none; }
}
