:root {
  --ink: #0a4b3f;
  --ink-2: #0f6a4f;
  --muted: #5f665f;
  --line: rgba(17, 67, 52, 0.13);
  --paper: #fbfbf7;
  --card: rgba(255, 255, 255, 0.88);
  --green: #11843f;
  --green-soft: #eef7ec;
  --orange: #eb7400;
  --orange-soft: #fff3e7;
  --shadow: 0 28px 75px rgba(52, 65, 45, 0.16);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 83% 13%, rgba(125, 163, 89, 0.28), transparent 16rem),
    radial-gradient(circle at 10% 82%, rgba(133, 175, 89, 0.26), transparent 18rem),
    linear-gradient(120deg, #fffefb 0%, #f4f7ec 45%, #eef5e9 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  content: "";
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.68;
}

body::before {
  left: -5rem;
  bottom: 3rem;
  width: 24rem;
  height: 11rem;
  background:
    radial-gradient(ellipse at 20% 70%, rgba(121, 167, 73, 0.5), transparent 48%),
    radial-gradient(ellipse at 45% 55%, rgba(166, 191, 116, 0.45), transparent 44%),
    radial-gradient(ellipse at 70% 40%, rgba(80, 134, 65, 0.36), transparent 44%);
  transform: rotate(-11deg);
}

body::after {
  right: -5rem;
  top: 7rem;
  width: 16rem;
  height: 26rem;
  background:
    radial-gradient(ellipse at 35% 18%, rgba(102, 148, 68, 0.38), transparent 38%),
    radial-gradient(ellipse at 55% 42%, rgba(151, 182, 101, 0.42), transparent 40%),
    radial-gradient(ellipse at 25% 72%, rgba(108, 158, 76, 0.31), transparent 42%);
  transform: rotate(17deg);
}

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

.portal-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.topbar {
  min-height: 7rem;
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(0, 0, 0, 0.055);
  box-shadow: 0 10px 34px rgba(53, 64, 50, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  position: relative;
  width: 3.7rem;
  height: 3.3rem;
  flex: 0 0 auto;
}

.brand-mark span {
  position: absolute;
  display: block;
  background: linear-gradient(135deg, #0c7549, #063f35);
  box-shadow: 0 12px 28px rgba(13, 91, 67, 0.14);
}

.brand-mark span:first-child {
  left: 0.25rem;
  top: 1rem;
  width: 2.5rem;
  height: 1.1rem;
  border-radius: 100% 0 100% 15%;
  transform: rotate(-32deg);
}

.brand-mark span:last-child {
  right: 0.2rem;
  bottom: 0.35rem;
  width: 2.85rem;
  height: 1.05rem;
  border-radius: 100% 18% 100% 0;
  transform: rotate(-22deg);
}

.brand-copy {
  display: grid;
  gap: 0.2rem;
}

.brand-copy strong {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.brand-copy small {
  color: #626961;
  font-size: clamp(0.9rem, 1.4vw, 1.12rem);
  font-weight: 700;
}

.world-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 4.25rem;
  padding: 0.42rem 0.85rem 0.42rem 0.45rem;
  border-radius: 999px;
  color: #21422d;
  border: 1px solid rgba(87, 126, 66, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 248, 230, 0.88)),
    rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 42px rgba(53, 64, 50, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.world-top-link:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 132, 63, 0.25);
  box-shadow: 0 22px 52px rgba(53, 64, 50, 0.17);
}

.world-top-spirit {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 36%, rgba(255, 248, 218, 0.98), rgba(216, 235, 188, 0.88) 64%, rgba(135, 169, 92, 0.42));
  box-shadow: inset 0 0 0 1px rgba(98, 140, 62, 0.14), 0 10px 22px rgba(58, 86, 40, 0.12);
}

.world-top-spirit img {
  position: relative;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  transform: translateY(0.18rem);
}

.world-top-spirit i {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.34rem;
  height: 0.36rem;
  border-radius: 999px;
  background: rgba(84, 117, 52, 0.18);
}

.world-top-copy {
  display: grid;
  gap: 0.08rem;
}

.world-top-copy strong {
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}

.world-top-copy small {
  color: #738057;
  font-size: 0.78rem;
  line-height: 1.15;
  font-weight: 800;
}

.world-top-arrow {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  color: #0f6a4f;
  background: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  transition: transform 180ms ease;
}

.world-top-link:hover .world-top-arrow {
  transform: translateX(2px);
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.chevron {
  width: 1rem;
  height: 1rem;
  stroke-width: 3;
}

.hero {
  position: relative;
  min-height: calc(100vh - 10.8rem);
  padding: clamp(3.2rem, 7vw, 8.8rem) 1.75rem 4.6rem;
  display: grid;
  align-content: start;
  justify-items: center;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.6)),
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.7), transparent 27rem);
}

.hero-copy {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5.2rem);
}

.kicker {
  margin: 0 0 0.9rem;
  color: rgba(11, 75, 63, 0.56);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0;
  max-width: 46rem;
  color: var(--ink);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-shadow: 0 9px 28px rgba(25, 82, 63, 0.08);
}

.hero p:not(.kicker) {
  margin: 1.1rem 0 0;
  color: #6a6d6d;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 600;
}

.workspace-grid {
  width: min(100%, 50rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2rem);
}

.workspace-card {
  min-height: 28rem;
  padding: clamp(1.45rem, 3vw, 2.4rem);
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82)),
    rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.workspace-card:hover {
  transform: translateY(-8px);
  border-color: rgba(13, 91, 67, 0.25);
  box-shadow: 0 34px 90px rgba(52, 65, 45, 0.22);
}

.workspace-card:focus-visible {
  outline: 4px solid rgba(17, 132, 63, 0.28);
  outline-offset: 5px;
}

.canvas-card:focus-visible {
  outline-color: rgba(235, 116, 0, 0.28);
}

.icon-orb {
  width: clamp(7.3rem, 14vw, 9.5rem);
  height: clamp(7.3rem, 14vw, 9.5rem);
  margin: 0.25rem 0 1.55rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.green-orb {
  color: #239848;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.94), rgba(232, 244, 229, 0.82) 54%, #e2f0de 100%);
  box-shadow: inset 0 0 0 1px rgba(34, 152, 72, 0.08), 0 24px 50px rgba(25, 129, 57, 0.12);
}

.orange-orb {
  color: #ec7800;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.98), rgba(255, 239, 221, 0.9) 56%, #ffe9d2 100%);
  box-shadow: inset 0 0 0 1px rgba(235, 116, 0, 0.11), 0 24px 50px rgba(235, 116, 0, 0.12);
}

.icon-orb svg {
  width: 4.5rem;
  height: 4.5rem;
  stroke-width: 4.3;
}

.card-title {
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.16;
  font-weight: 900;
}

.canvas-card .card-title {
  color: var(--orange);
}

.card-desc {
  max-width: 17rem;
  min-height: 4.8rem;
  margin-top: 1.15rem;
  color: #61656d;
  font-size: clamp(1rem, 1.7vw, 1.1rem);
  line-height: 1.72;
  font-weight: 700;
}

.enter-pill {
  width: 100%;
  min-height: 3.8rem;
  margin-top: 2.25rem;
  padding: 0.85rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 900;
}

.enter-pill svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 3.2;
  transition: transform 180ms ease;
}

.workspace-card:hover .enter-pill svg {
  transform: translateX(4px);
}

.green-pill {
  color: var(--green);
  background: linear-gradient(180deg, rgba(241, 248, 238, 0.98), rgba(232, 242, 225, 0.96));
  border: 1px solid rgba(17, 132, 63, 0.14);
}

.orange-pill {
  color: var(--orange);
  background: linear-gradient(180deg, rgba(255, 247, 239, 0.99), rgba(255, 237, 219, 0.96));
  border: 1px solid rgba(235, 116, 0, 0.18);
}

.world-entry {
  grid-column: 1 / -1;
  min-height: 8.5rem;
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  text-align: left;
  border: 1px solid rgba(79, 126, 72, 0.2);
  border-radius: 1.15rem;
  background:
    linear-gradient(135deg, rgba(255, 253, 246, 0.96), rgba(239, 248, 232, 0.88)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 52px rgba(52, 65, 45, 0.12);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.world-entry:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 91, 67, 0.28);
  box-shadow: 0 26px 64px rgba(52, 65, 45, 0.16);
}

.world-badge {
  display: inline-grid;
  place-items: center;
  min-height: 2.25rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  color: #5d6b35;
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(238, 247, 224, 0.92);
  border: 1px solid rgba(98, 140, 62, 0.18);
  white-space: nowrap;
}

.world-copy {
  display: grid;
  gap: 0.35rem;
}

.world-copy strong {
  color: #264a2f;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.2;
  font-weight: 900;
}

.world-copy small {
  color: #687160;
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  line-height: 1.55;
  font-weight: 700;
}

.world-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.2rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: #0f6a4f;
  font-size: 0.95rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 132, 63, 0.12);
  white-space: nowrap;
}

.world-action svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 3.2;
  transition: transform 180ms ease;
}

.world-entry:hover .world-action svg {
  transform: translateX(3px);
}

.leaf {
  position: absolute;
  width: 2.1rem;
  height: 0.95rem;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, rgba(109, 162, 60, 0.5), rgba(56, 125, 56, 0.26));
  filter: blur(0.2px);
}

.leaf-one {
  left: 27%;
  top: 18%;
  transform: rotate(23deg);
}

.leaf-two {
  right: 28%;
  top: 17%;
  transform: rotate(-27deg);
}

.leaf-three {
  left: 4%;
  bottom: 26%;
  width: 2.8rem;
  height: 1.2rem;
  transform: rotate(-21deg);
  opacity: 0.38;
}

.leaf-four {
  right: 5%;
  top: 29%;
  width: 3rem;
  height: 1.25rem;
  transform: rotate(13deg);
  opacity: 0.42;
}

.footer {
  min-height: 3.8rem;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: #8a8c8f;
  font-size: 0.95rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(0, 0, 0, 0.055);
}

@media (max-width: 760px) {
  .topbar {
    min-height: 5.8rem;
    padding: 1rem 1rem;
  }

  .brand-mark {
    width: 3rem;
    height: 2.7rem;
  }

  .world-top-link {
    min-height: 3.35rem;
    gap: 0.45rem;
    padding: 0.34rem 0.42rem;
  }

  .world-top-spirit {
    width: 2.65rem;
    height: 2.65rem;
  }

  .world-top-spirit img {
    width: 2.25rem;
    height: 2.25rem;
  }

  .world-top-copy {
    display: none;
  }

  .world-top-arrow {
    display: none;
  }

  .hero {
    padding: 2.6rem 1rem 3.1rem;
  }

  .hero-copy {
    margin-bottom: 2.25rem;
    width: 100%;
  }

  .hero h1 {
    max-width: 18rem;
    margin-inline: auto;
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .workspace-grid {
    grid-template-columns: 1fr;
    width: min(calc(100vw - 3rem), 19.5rem);
  }

  .workspace-card {
    min-height: 24rem;
    border-radius: 1rem;
  }

  .world-entry {
    grid-template-columns: 1fr;
    justify-items: start;
    min-height: auto;
  }

  .world-action {
    width: 100%;
  }

  .card-desc {
    min-height: auto;
  }

  .enter-pill {
    margin-top: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
