﻿/* ============================================================
   SOVA CAMP — link-in-bio
   ------------------------------------------------------------
   Палітра 1:1 з sovacamp.com:
     purple  #5E3FB5  (primary)   deep #3D2780  soft #9B82DB
     gold    #F5C842  (accent)    soft #FFD96B
     cream   #FBF1D0 / #FAF3D9    text #1F1A35 / #5C547A
   Шрифт — Manrope. Мотив — сова, ліс і багаття (з логотипа).
   ============================================================ */
:root {
  --paper: #ffffff; /* чистий білий фон (як на сайті) */
  --paper-2: #f6f3fc;
  --paper-3: #ffffff;

  --purple: #c0568f; /* головний бренд-колір Kids (малиново-рожевий) */
  --purple-deep: #8e2f5e;
  --purple-soft: #db8fb6;
  --lilac: #f0c3da;

  --gold: #f5c842; /* акцент */
  --gold-soft: #ffd96b;
  --gold-deep: #e0a91f;

  --ink: #2a1b24; /* заголовки */
  --ink-soft: #6e5560; /* основний текст */
  --muted: #a6909c; /* приглушений */

  --card: #ffffff;
  --border: rgba(192, 86, 143, 0.14);
  --border-hover: rgba(192, 86, 143, 0.42);
  --shadow: rgba(42, 27, 36, 0.16);
  --shadow-purple: rgba(192, 86, 143, 0.42);
  --shadow-gold: rgba(245, 200, 66, 0.45);

  /* світлий текст поверх фіолетового фону */
  --on-purple: #f5f1ff;
  --on-purple-soft: rgba(238, 232, 255, 0.8);
  --on-purple-muted: rgba(214, 203, 245, 0.72);

  --font-display: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --radius: 22px;
  --maxw: 466px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  min-height: 100svh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  background:
    radial-gradient(
      54% 36% at 12% 0%,
      rgba(192, 86, 143, 0.18),
      transparent 60%
    ),
    /* рожевий серпанок зверху */
    radial-gradient(
        48% 32% at 92% 6%,
        rgba(245, 200, 66, 0.18),
        transparent 62%
      ),
    /* теплий золотий акцент */
    radial-gradient(
        46% 32% at 86% 58%,
        rgba(86, 196, 184, 0.16),
        transparent 64%
      ),
    /* ледь бірюзовий, як на сайті */
    linear-gradient(180deg, #fff3f8 0%, #ffe9f1 34%, #fdf4ea 70%, #fef0f6 100%); /* світлий рожево-кремовий */
  background-attachment: fixed;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   LANG — перемикач мови
   ============================================================ */
.lang {
  display: inline-flex;
  align-self: center;
  gap: 3px;
  margin: 0 auto 20px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px -14px var(--shadow);
}
.lang__btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 7px 13px;
  border-radius: 999px;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.15s;
}
.lang__btn:hover {
  color: var(--purple);
}
.lang__btn.is-active {
  background: var(--purple);
  color: #f6efe6;
  box-shadow: 0 6px 14px -6px var(--shadow-purple);
}
.lang__btn:active {
  transform: scale(0.93);
}

/* ============================================================
   SCENE — атмосфера лісового табору
   ============================================================ */
.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* декоративні бульбашки на фоні (грайливо, як на sovakidsevents.com) */
.scene__sketches {
  position: absolute;
  inset: 0;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  background: radial-gradient(
    circle at 32% 28%,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.3) 38%,
    rgba(192, 86, 143, 0.12) 64%,
    rgba(192, 86, 143, 0.04) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.6),
    0 6px 16px -6px rgba(192, 86, 143, 0.25);
  animation: bubbleFloat var(--t, 12s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.bubble::after {
  /* блик */
  content: "";
  position: absolute;
  top: 16%;
  left: 20%;
  width: 24%;
  height: 24%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  filter: blur(0.5px);
}
.bubble--gold {
  background: radial-gradient(
    circle at 32% 28%,
    rgba(255, 255, 255, 0.95),
    rgba(255, 217, 107, 0.34) 42%,
    rgba(245, 200, 66, 0.1) 70%,
    rgba(245, 200, 66, 0.03) 100%
  );
}
.bubble--teal {
  background: radial-gradient(
    circle at 32% 28%,
    rgba(255, 255, 255, 0.95),
    rgba(120, 214, 202, 0.34) 42%,
    rgba(86, 196, 184, 0.1) 70%,
    rgba(86, 196, 184, 0.03) 100%
  );
}
@keyframes bubbleFloat {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-26px) translateX(8px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* тепле світло за курсором */
.scene__glow {
  position: absolute;
  inset: -10%;
  opacity: 0.4;
  background: radial-gradient(
    24% 18% at var(--mx, 50%) var(--my, 10%),
    rgba(219, 143, 182, 0.55),
    transparent 72%
  );
  mix-blend-mode: multiply;
  transition: opacity 0.4s;
}

.scene__grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   BIO — контейнер
   ============================================================ */
.bio {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============================================================
   PROFILE — табличка з лого + назва + чипи активностей
   ============================================================ */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.profile__badge {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 38px 24px;
  border-radius: 26px;
  /* суцільна малинова панель — щоб біле лого читалося */
  background: linear-gradient(
    155deg,
    #d96fa6 0%,
    var(--purple) 55%,
    var(--purple-deep) 100%
  );
  box-shadow:
    0 26px 50px -18px var(--shadow-purple),
    inset 0 2px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: bob 6s ease-in-out infinite;
}
.profile__logo-img {
  position: relative;
  width: min(252px, 60vw);
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(12, 6, 40, 0.35));
}

.profile__lead {
  position: relative;
  margin-top: 34px;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--purple-deep);
  font-size: clamp(1.55rem, 6.4vw, 2.05rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
}
.profile__bio {
  margin-top: 10px;
  max-width: 40ch;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.58;
}

/* чипи активностей */
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.tags__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--border);
  color: var(--purple-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  backdrop-filter: blur(4px);
  transition:
    transform 0.3s,
    background 0.3s,
    border-color 0.3s;
}
.tags__item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c, var(--purple));
}
.tags__item:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: var(--border-hover);
}

/* ============================================================
   FEATURE — пріоритетний банер «Записатися» (вечірнє багаття)
   ============================================================ */
.feature {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow:
    0 24px 48px -22px var(--shadow),
    0 0 0 1px var(--border);
  transform-style: preserve-3d;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s;
  will-change: transform;
}
.feature:hover {
  box-shadow:
    0 34px 66px -22px var(--shadow-purple),
    0 0 0 1px var(--border-hover);
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.5) 48%,
    transparent 60%
  );
  transform: translateX(-120%);
}
.feature:hover::after {
  animation: shine 1.1s ease;
}

.feature__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.feature__media svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.feature__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.feature:hover .feature__photo {
  transform: scale(1.04);
}
.feature__photo {
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.feature__badge {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.32);
}
.feature__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: blink 1.6s ease-in-out infinite;
}
.feature__content {
  position: relative;
  z-index: 2;
  padding: 18px 20px 20px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.feature__title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--purple-deep);
  font-size: clamp(1.5rem, 6.6vw, 1.95rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.feature__text {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 34ch;
}
.feature__cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  font-size: 0.94rem;
  box-shadow: 0 12px 26px -8px var(--shadow-purple);
  transition:
    gap 0.3s ease,
    background 0.3s,
    box-shadow 0.3s;
}
.feature:hover .feature__cta {
  gap: 13px;
  background: var(--purple-deep);
  box-shadow: 0 16px 30px -8px var(--shadow-purple);
}
.feature__cta svg {
  width: 16px;
  height: 16px;
}

/* ---- Живий банер: вогонь, іскри, зорі, сова ---- */
.f-glow {
  transform-box: fill-box;
  transform-origin: center;
  animation: fGlow 4s ease-in-out infinite;
}
.f-flame {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: fFlame 1.1s ease-in-out infinite;
}
.f-flame--in {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: fFlame 1.5s ease-in-out infinite reverse;
}
.f-spark {
  transform-box: fill-box;
  animation: fSpark 2.4s ease-in infinite;
}
.f-spark--2 {
  animation-duration: 3.1s;
  animation-delay: 0.6s;
}
.f-spark--3 {
  animation-duration: 2.7s;
  animation-delay: 1.3s;
}
.f-star {
  transform-box: fill-box;
  transform-origin: center;
  animation: fTwinkle 3s ease-in-out infinite;
}
.f-star--2 {
  animation-delay: 0.9s;
}
.f-star--3 {
  animation-delay: 1.8s;
}
.f-owl-eyes {
  animation: fBlink 4.5s ease-in-out infinite;
}
.f-smoke {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: fSmoke 5s ease-in-out infinite;
}

@keyframes fGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}
@keyframes fFlame {
  0%,
  100% {
    transform: scaleY(1) scaleX(1);
  }
  50% {
    transform: scaleY(1.14) scaleX(0.92);
  }
}
@keyframes fSpark {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-46px) scale(0.3);
  }
}
@keyframes fTwinkle {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.7);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fBlink {
  0%,
  93%,
  100% {
    transform: scaleY(1);
  }
  96% {
    transform: scaleY(0.1);
  }
}
@keyframes fSmoke {
  0% {
    opacity: 0;
    transform: translateY(0) scaleX(1);
  }
  30% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scaleX(1.6);
  }
}
.f-cloud {
  transform-box: fill-box;
  animation: fDrift 9s ease-in-out infinite;
}
.f-cloud--2 {
  animation-duration: 12s;
  animation-delay: 1s;
}
@keyframes fDrift {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(12px);
  }
}

/* ============================================================
   LINK — одиночне посилання (вебсайт табору)
   ============================================================ */
.link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-top: 13px;
  padding: 15px 17px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  box-shadow:
    0 12px 26px -18px var(--shadow),
    0 0 0 1px var(--border);
  transition:
    transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.32s;
}
.link:hover,
.link:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 22px 38px -18px var(--shadow-purple),
    0 0 0 1px var(--border-hover);
  outline: none;
}
.link:active {
  transform: translateY(-1px) scale(0.99);
}
.link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--purple);
  transition: height 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.link:hover::before,
.link:focus-visible::before {
  height: 60%;
}
.link__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(155deg, var(--purple-soft), var(--purple));
  color: #fff;
  box-shadow: 0 8px 16px -6px var(--shadow-purple);
  transition: transform 0.3s;
}
.link:hover .link__icon {
  transform: scale(1.07) rotate(-4deg);
}
.link__icon svg {
  width: 22px;
  height: 22px;
}
.link__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.link__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--purple-deep);
}
.link__meta {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 1px;
}
.link__arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(192, 86, 143, 0.09);
  color: var(--purple);
  transition:
    transform 0.3s,
    background 0.3s;
}
.link:hover .link__arrow {
  transform: translate(3px, -3px);
  background: rgba(192, 86, 143, 0.16);
}
.link__arrow svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   PROJECTS — блок «Other Sova Projects»
   ============================================================ */
.projects {
  width: 100%;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  --projects-purple: #5e3fb5;
  --projects-purple-deep: #3d2780;
  --projects-muted: #5c547a;
}
.projects__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 4px 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.95rem;
  color: var(--projects-purple-deep);
  letter-spacing: -0.015em;
}
.projects__title svg {
  width: 22px;
  height: 22px;
  color: var(--projects-purple);
  flex: 0 0 auto;
}
.projects__sub {
  margin: 0px 0 16px 4px;
  color: var(--projects-muted);
  font-size: 0.84rem;
}
.projects__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
}

.project {
  position: relative;
  padding: 16px;
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
  box-shadow:
    0 14px 28px -18px var(--shadow),
    0 0 0 1px var(--border);
  transition:
    transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.32s;
}
.project:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 44px -18px var(--shadow-purple),
    0 0 0 1px var(--border-hover);
}
.project::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pc, var(--purple));
  opacity: 0.9;
}

.project__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 14px;
  margin-bottom: 14px;
}
.project__avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--plate, var(--purple));
  transition: transform 0.3s;
}
.project:hover .project__avatar {
  transform: scale(1.08) rotate(-4deg);
}
.project__avatar svg {
  width: 34px;
  height: 34px;
}
/* лого прямо на фірмовому фоні картки */
.project__logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 2px 4px;
}
.project__logo {
  height: 48px;
  width: auto;
  max-width: 210px;
  display: block;
  object-fit: contain;
}
.project__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}
.project__name {
  font-weight: 800;
  font-size: 1.32rem;
  color: var(--pc2, #3d2780);
  letter-spacing: -0.015em;
}
.project__domain {
  color: var(--projects-muted);
  font-size: 0.82rem;
  line-height: 1.35;
  margin-top: 3px;
}

/* дві кнопки: Сайт + Instagram */
.project__actions {
  display: flex;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
  padding: 11px 12px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  transition:
    transform 0.25s,
    background 0.3s,
    box-shadow 0.3s,
    border-color 0.3s,
    color 0.3s;
}
.btn:active {
  transform: scale(0.97);
}
.btn svg {
  width: 17px;
  height: 17px;
}
.btn--site {
  background: #fff;
  color: var(--pc2, #3d2780);
  border: 1px solid var(--border);
}
.btn--site:hover,
.btn--site:focus-visible {
  background: #fff;
  border-color: var(--pc, #5e3fb5);
  color: var(--pc, #5e3fb5);
  outline: none;
}
.btn--ig {
  color: #fff;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--pc, #9b82db), var(--pc2, #5e3fb5));
  box-shadow: 0 9px 20px -8px var(--pc-sh, rgba(94, 63, 181, 0.4));
}
.btn--ig:hover,
.btn--ig:focus-visible {
  filter: brightness(1.06);
  box-shadow: 0 12px 26px -8px var(--pc-sh, rgba(94, 63, 181, 0.4));
  outline: none;
}

/* кольори проєктів — взяті з реальних логотипів брендів */
.project--ent {
  --pc: #5e3347;
  --pc2: #2c1a27;
  --pc-sh: rgba(44, 26, 39, 0.5);
  --plate: #2c1a27;
  --logo: #e8b0a0;
}
.project--kids {
  --pc: #c0568f;
  --pc2: #9c3a6f;
  --pc-sh: rgba(176, 57, 127, 0.45);
  --plate: #9e3a6e;
  --logo: #f4f0e6;
}
.project--found {
  --pc: #13917e;
  --pc2: #0c6f60;
  --pc-sh: rgba(15, 115, 101, 0.5);
  --plate: #0d4f46;
  --logo: #0e7365;
}
.project--camp {
  --pc: #7d5fd6;
  --pc2: #3d2780;
  --pc-sh: rgba(94, 63, 181, 0.45);
  --plate: #2a1b5e;
  --logo: #cdbef2;
}
.project__avatar--found {
  color: #0e7365;
}
.project__avatar--found svg {
  width: 28px;
  height: 28px;
}
.project--kozak {
  --pc: #9a7b4f;
  --pc2: #6b5230;
  --pc-sh: rgba(107, 82, 48, 0.45);
  --plate: #3a2a1c;
  --logo: #caa46e;
}

/* ============================================================
   HUB — sovaeventsgroup.com (без Instagram)
   ============================================================ */
.hub {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 30px;
  padding: 18px;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--purple-deep) 0%,
    var(--purple) 62%,
    #e07fb0 100%
  );
  box-shadow: 0 20px 42px -16px var(--shadow-purple);
  transition:
    transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.32s;
}
.hub:hover,
.hub:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 28px 56px -16px var(--shadow-purple);
  outline: none;
}
.hub::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background:
    radial-gradient(2px 2px at 22% 28%, #fff, transparent),
    radial-gradient(2px 2px at 72% 66%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 86% 24%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 42% 80%, #fff, transparent);
}
.hub__icon {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.hub__icon svg {
  width: 24px;
  height: 24px;
}
.hub__body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.hub__label {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.hub__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.14rem;
  margin-top: 2px;
  letter-spacing: -0.01em;
}
.hub__meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 1px;
}
.hub__arrow {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition:
    transform 0.3s,
    background 0.3s;
}
.hub:hover .hub__arrow {
  transform: translate(4px, -4px);
  background: rgba(255, 255, 255, 0.26);
}
.hub__arrow svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.socials {
  display: flex;
  gap: 12px;
}
.social {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--card);
  color: var(--purple);
  box-shadow:
    0 10px 22px -12px var(--shadow),
    0 0 0 1px var(--border);
  transition:
    transform 0.3s,
    background 0.3s,
    color 0.3s;
}
.social:hover,
.social:focus-visible {
  transform: translateY(-3px) scale(1.05);
  background: var(--purple);
  color: #fff;
  box-shadow: 0 12px 24px -10px var(--shadow-purple);
  outline: none;
}
.social svg {
  width: 20px;
  height: 20px;
}
.footer__note {
  color: var(--purple-deep);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.footer__note b {
  color: var(--purple);
  font-weight: 800;
}

/* хвиля по кліку */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: radial-gradient(
    circle,
    rgba(192, 86, 143, 0.26),
    transparent 70%
  );
  pointer-events: none;
  animation: ripple 0.65s ease-out forwards;
}

/* ============================================================
   АНІМАЦІЇ
   ============================================================ */
.reveal {
  opacity: 0;
  animation: reveal 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: calc(var(--i, 0) * 85ms);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes skFloat {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r, 0deg));
  }
  50% {
    transform: translateY(-12px) rotate(var(--r, 0deg));
  }
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-7px) rotate(1deg);
  }
}
@keyframes shine {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
@keyframes ripple {
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
  }
}
@media (max-width: 520px) {
  .sk {
    opacity: 0.26;
  }
  .sk--soft {
    display: none;
  }
}

@media (min-width: 520px) {
  .bio {
    padding-top: 7svh;
  }
}

@media (max-width: 400px) {
  .bio {
    padding-left: 15px;
    padding-right: 15px;
  }
  .feature__content {
    padding: 15px 16px 17px;
  }
  .feature__badge {
    top: 12px;
    left: 12px;
    padding: 5px 11px;
    font-size: 0.68rem;
  }
  .project {
    padding: 14px;
  }
  .project__head {
    gap: 11px;
    margin-bottom: 12px;
  }
  .project__avatar {
    width: 44px;
    height: 44px;
  }
  .project__actions {
    gap: 8px;
  }
  .btn {
    padding: 11px 6px;
    font-size: 0.8rem;
    gap: 5px;
  }
  .lang__btn {
    padding: 6px 9px;
    font-size: 0.74rem;
  }
  .tags {
    gap: 6px;
  }
}
