:root {
  --bg: #070707;
  --text: #f4ecd2;
  --muted: #d2c394;
  --line: rgba(213, 177, 74, 0.28);
  --gold: #d4af37;
  --gold-soft: #f0d67a;
  --panel: rgba(18, 18, 18, 0.82);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.14), transparent 34%),
    radial-gradient(circle at right 20%, rgba(212, 175, 55, 0.09), transparent 28%),
    linear-gradient(180deg, #090909 0%, #0b0b0b 44%, #050505 100%);
}

a { color: inherit; text-decoration: none; }

.page-shell {
  position: relative;
  width: min(980px, calc(100% - 24px));
  padding: 24px 0;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(72px);
  pointer-events: none;
  opacity: 0.42;
}
.bg-orb-1 { top: 6%; left: 2%; width: 240px; height: 240px; background: rgba(212, 175, 55, 0.15); }
.bg-orb-2 { right: 4%; bottom: 8%; width: 280px; height: 280px; background: rgba(212, 175, 55, 0.1); }

.tree-stage {
  position: relative;
  padding: 34px 28px 48px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(22, 22, 22, 0.94), rgba(8, 8, 8, 0.96)),
    radial-gradient(circle at top, rgba(240, 214, 122, 0.05), transparent 40%);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 1px rgba(240, 214, 122, 0.04);
  overflow: hidden;
}

.tree-stage::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 28px;
  border: 1px solid rgba(240, 214, 122, 0.06);
  pointer-events: none;
}

.tree-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(240, 214, 122, 0.045), transparent 30%, transparent 70%, rgba(212, 175, 55, 0.04));
  pointer-events: none;
}

.tree-header {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.tree-header--with-corner-link {
  position: relative;
  width: 100%;
}

.tree-header-line {
  width: min(220px, 36vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 214, 122, 0.55), transparent);
  box-shadow: 0 0 12px rgba(240, 214, 122, 0.12);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(240, 214, 122, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.03));
  color: var(--gold-soft);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.74rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.construction-stage {
  min-height: 420px;
  display: grid;
  align-content: start;
}

.construction-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 64px 24px 84px;
  text-align: center;
}

.construction-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f6e5a5;
  text-shadow: 0 8px 30px rgba(212, 175, 55, 0.16);
}

.construction-copy p {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.7;
}

.construction-slogan {
  margin: -2px 0 0;
  color: #e6d49a;
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  font-style: italic;
  letter-spacing: 0.03em;
  text-align: center;
}

.corner-social {
  position: absolute;
  top: calc(50% - 31px);
  right: 10px;
  transform: translate3d(0, -50%, 0);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffd54f;
  border: 1px solid rgba(240, 214, 122, 0.34);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.08));
  box-shadow: 0 0 0 1px rgba(240, 214, 122, 0.12) inset, 0 8px 20px rgba(0,0,0,0.28);
  backdrop-filter: blur(8px);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, color 160ms ease;
  z-index: 4;
  line-height: 1;
  overflow: hidden;
  will-change: transform;
  text-decoration: none;
}

.corner-social:hover {
  transform: translate3d(0, calc(-50% - 2px), 0);
  border-color: rgba(240, 214, 122, 0.56);
  box-shadow: 0 0 0 1px rgba(240, 214, 122, 0.18) inset, 0 9px 22px rgba(0,0,0,0.32);
  color: #ffe082;
}

.corner-social::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.corner-social:focus-visible {
  transform: translate3d(0, calc(-50% - 2px), 0);
  border-color: rgba(240, 214, 122, 0.72);
  box-shadow: 0 0 0 2px rgba(240, 214, 122, 0.16), 0 10px 24px rgba(0,0,0,0.34);
  outline: none;
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 16px, 980px);
    padding: 16px 0;
  }

  .tree-stage {
    padding: 20px 14px 28px;
  }

  .construction-stage {
    min-height: 360px;
  }

  .construction-copy {
    padding: 44px 14px 56px;
  }

  .corner-social {
    top: calc(50% - 23px);
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}
