/* ============================================================
   Tree — hidden link-in-bio page (not linked from the nav).
   Looping GIF background behind a 60% black overlay; centered
   white wordmark, 3 social circles, 3 stacked link buttons.
   Chrome comes from styles.css.
   ============================================================ */

body.tree-page {
  background-color: #17130d;
}

.tree-page .desktop-view-wrapper,
.tree-page .mobile-view-wrapper {
  min-height: 0;
}

.tree-page .navigation-tab p[data-nav-link] {
  cursor: pointer;
}

/* ---------------- stage ---------------- */
.tree-main {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  background: #17130d; /* shows briefly if the gif is still loading */
}

.tree-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tree-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 60% black wash so white text/buttons stay legible over the gif
   regardless of which frame is showing */
.tree-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
}

/* ---------------- content ---------------- */
.tree-hero {
  position: relative;
  z-index: 2;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 64px 24px;
  animation: tree-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes tree-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tree-hero {
    animation: none;
  }
}

/* white wordmark: reuses the header's compact logo markup, recoloured
   via the --fill-0 custom property every path already reads from, and
   scaled up by overriding the fixed 108.678x30 box the header uses
   with a responsive one at the same aspect ratio */
.tree-logo {
  --fill-0: #fff;
  width: clamp(220px, 34vw, 400px);
  aspect-ratio: 108.678 / 30;
  position: relative;
  overflow: visible;
}

/* ---------------- social circles ---------------- */
.tree-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tree-social {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.tree-social:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.tree-social:active {
  transform: translateY(0);
}

/* ---------------- link buttons ---------------- */
.tree-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(440px, 100%);
}

.tree-link {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  text-align: center;
  background: #f35933;
  border-radius: 14px;
  padding: 18px 24px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.tree-link:hover {
  background: #d94a29;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.4);
}

.tree-link:active {
  transform: translateY(0);
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 767px) {
  .tree-main,
  .tree-hero {
    min-height: 86vh;
  }

  .tree-hero {
    gap: 32px;
    padding: 48px 20px;
  }

  .tree-logo {
    width: clamp(200px, 62vw, 320px);
  }

  .tree-social {
    width: 50px;
    height: 50px;
  }

  .tree-link {
    font-size: 16px;
    padding: 16px 22px;
  }
}
