@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=ZCOOL+XiaoWei&display=swap");

:root {
  --grove-ink: #0c1210;
  --grove-moss: #1a2e28;
  --grove-leaf: #3d7a62;
  --grove-bloom: #ff6f4c;
  --grove-sun: #f2c14e;
  --grove-mist: #d7e4de;
  --grove-fog: #9bb5ab;
  --grove-glass: rgba(26, 46, 40, 0.72);
  --grove-line: rgba(215, 228, 222, 0.14);
  --grove-radius: 18px;
  --grove-max: 1080px;
  --grove-nav-h: 64px;
  --grove-rail-h: 0px;
  --grove-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", sans-serif;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(61, 122, 98, 0.35), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 111, 76, 0.18), transparent 55%),
    linear-gradient(180deg, #0a100e 0%, var(--grove-ink) 40%, #101816 100%);
  color: var(--grove-mist);
  line-height: 1.85;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--grove-sun);
  text-decoration: none;
  transition: color 0.25s var(--grove-ease);
}

a:hover {
  color: var(--grove-bloom);
}

.grove-wrap {
  width: min(100% - 2rem, var(--grove-max));
  margin-inline: auto;
}

.grove-brand-font {
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
}

/* top promo */
.grove-promo {
  background: rgba(8, 12, 10, 0.88);
  border-bottom: 1px solid var(--grove-line);
  padding: 0.65rem 0 0.35rem;
}

.grove-promo #ads,
.grove-rail #ads-rail {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.35rem 0.2rem;
  background: transparent;
  margin: 0;
}

.grove-promo #ads > div,
.grove-rail #ads-rail > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  box-sizing: border-box;
}

.grove-promo #ads img,
.grove-rail #ads-rail img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: none;
  background: linear-gradient(135deg, #fff, #fff);
}

.grove-promo #ads a,
.grove-rail #ads-rail a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
}

.grove-promo #ads img:hover,
.grove-rail #ads-rail img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.grove-promo #ads .caption,
.grove-rail #ads-rail .caption {
  height: 15px;
  font-size: 11px;
  color: #9aa;
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* header */
.grove-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--grove-glass);
  border-bottom: 1px solid var(--grove-line);
}

.grove-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--grove-nav-h);
  gap: 1rem;
}

.grove-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--grove-mist);
}

.grove-logo-link img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.grove-logo-link span {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.grove-burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--grove-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.grove-burger i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--grove-mist);
  transition: transform 0.3s var(--grove-ease), opacity 0.3s;
}

.grove-burger.is-open i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.grove-burger.is-open i:nth-child(2) {
  opacity: 0;
}

.grove-burger.is-open i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.grove-nav {
  position: fixed;
  inset: calc(var(--grove-nav-h) + var(--grove-rail-h)) 0 auto 0;
  background: rgba(10, 16, 14, 0.96);
  border-bottom: 1px solid var(--grove-line);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--grove-ease), opacity 0.35s;
  z-index: 99;
}

.grove-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.grove-nav ul {
  list-style: none;
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
}

.grove-nav a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  color: var(--grove-mist);
  background: rgba(255, 255, 255, 0.03);
}

.grove-nav a:hover,
.grove-nav a.is-current {
  background: rgba(61, 122, 98, 0.28);
  color: #fff;
}

@media (min-width: 900px) {
  .grove-burger {
    display: none;
  }

  .grove-nav {
    position: static;
    inset: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border: 0;
  }

  .grove-nav ul {
    display: flex;
    gap: 0.35rem;
    padding: 0;
  }

  .grove-nav a {
    padding: 0.45rem 0.8rem;
    background: transparent;
    font-size: 0.92rem;
  }
}

/* sticky download rail */
.grove-rail {
  position: sticky;
  top: var(--grove-nav-h);
  z-index: 90;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  background: rgba(8, 14, 12, 0.94);
  border-bottom: 1px solid transparent;
  transition: max-height 0.35s var(--grove-ease), opacity 0.35s, padding 0.35s, border-color 0.35s;
}

.grove-rail.is-show {
  max-height: 220px;
  opacity: 1;
  padding: 0.45rem 0 0.25rem;
  border-bottom-color: var(--grove-line);
}

.grove-rail #ads-rail > div {
  width: 25%;
  max-width: 78px;
}

@media (min-width: 768px) {
  .grove-rail #ads-rail > div {
    width: 12.5%;
  }
}

/* hero */
.grove-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  padding: 3.5rem 0 3rem;
  isolation: isolate;
  overflow: hidden;
}

.grove-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 10%, rgba(12, 18, 16, 0.35) 45%, rgba(12, 18, 16, 0.92) 100%),
    url("shot-hot-pick.jpg") center / cover no-repeat;
  z-index: -2;
  transform: scale(1.04);
  animation: grove-drift 18s ease-in-out infinite alternate;
}

.grove-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 193, 78, 0.2), transparent 35%),
    linear-gradient(120deg, rgba(12, 18, 16, 0.55), transparent 50%);
  z-index: -1;
}

@keyframes grove-drift {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.1) translateY(-2%);
  }
}

.grove-hero-kicker {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grove-fog);
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: grove-rise 0.8s 0.1s var(--grove-ease) forwards;
}

.grove-hero h1 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(2.2rem, 8vw, 3.8rem);
  line-height: 1.25;
  color: #fff;
  max-width: 16ch;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  animation: grove-rise 0.9s 0.2s var(--grove-ease) forwards;
}

.grove-hero-lead {
  margin-top: 1rem;
  max-width: 36ch;
  font-size: 1.05rem;
  color: var(--grove-mist);
  opacity: 0;
  animation: grove-rise 0.9s 0.35s var(--grove-ease) forwards;
}

@keyframes grove-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* sections */
.grove-section {
  padding: 3.2rem 0;
  border-top: 1px solid var(--grove-line);
}

.grove-section h2 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(1.55rem, 4.5vw, 2.15rem);
  color: #fff;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.grove-section h3 {
  font-size: 1.15rem;
  color: var(--grove-sun);
  margin: 1.4rem 0 0.55rem;
  font-weight: 700;
}

.grove-section p {
  margin-bottom: 1rem;
  color: var(--grove-mist);
}

.grove-section p + p {
  margin-top: 0;
}

.grove-lead {
  font-size: 1.05rem;
  color: #e7f0eb;
}

/* mosaic / media layouts */
.grove-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.grove-split.is-flip .grove-media {
  order: -1;
}

.grove-media {
  position: relative;
  border-radius: calc(var(--grove-radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--grove-line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.grove-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  max-height: 520px;
  transition: transform 0.7s var(--grove-ease);
}

.grove-media:hover img {
  transform: scale(1.04);
}

.grove-media-glow {
  position: absolute;
  inset: auto 10% -20% 10%;
  height: 40%;
  background: radial-gradient(circle, rgba(255, 111, 76, 0.35), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.grove-duo {
  display: grid;
  gap: 1rem;
}

.grove-duo .grove-media img {
  max-height: 420px;
}

.grove-panel-grid {
  display: grid;
  gap: 1rem;
}

.grove-panel {
  background: linear-gradient(160deg, rgba(61, 122, 98, 0.18), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--grove-line);
  border-radius: var(--grove-radius);
  padding: 1.25rem 1.2rem;
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--grove-ease), border-color 0.35s;
}

.grove-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 193, 78, 0.35);
}

.grove-panel h3 {
  margin-top: 0;
}

.grove-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.1rem 0 0.4rem;
}

.grove-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--grove-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--grove-fog);
  font-size: 0.85rem;
}

.grove-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.grove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.grove-btn-main {
  background: linear-gradient(135deg, var(--grove-bloom), #ff8f4a);
  color: #1a0f0c;
  box-shadow: 0 10px 28px rgba(255, 111, 76, 0.35);
}

.grove-btn-main:hover {
  color: #1a0f0c;
  filter: brightness(1.06);
}

.grove-btn-ghost {
  background: transparent;
  border-color: var(--grove-line);
  color: var(--grove-mist);
}

.grove-btn-ghost:hover {
  border-color: var(--grove-sun);
  color: var(--grove-sun);
}

.grove-quote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--grove-bloom);
  background: rgba(255, 111, 76, 0.08);
  border-radius: 0 14px 14px 0;
  color: #f3ebe7;
}

.grove-timeline {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.2rem;
}

.grove-timeline article {
  position: relative;
  padding-left: 1.35rem;
}

.grove-timeline article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grove-sun);
  box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.2);
}

.grove-crumb {
  padding: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--grove-fog);
}

.grove-crumb a {
  color: var(--grove-fog);
}

.grove-crumb span {
  color: var(--grove-mist);
}

.grove-legal {
  padding: 1.5rem 0 3.5rem;
}

.grove-legal h1 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: #fff;
  margin: 0.8rem 0 1rem;
}

.grove-legal h2 {
  font-size: 1.25rem;
  color: var(--grove-sun);
  margin: 1.8rem 0 0.7rem;
}

.grove-legal p,
.grove-legal li {
  margin-bottom: 0.85rem;
}

.grove-legal ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.grove-error {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 0;
}

.grove-error h1 {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(2.4rem, 10vw, 4.5rem);
  color: #fff;
}

.grove-error p {
  margin: 1rem auto 1.5rem;
  max-width: 28ch;
}

.grove-footer {
  border-top: 1px solid var(--grove-line);
  padding: 2rem 0 2.5rem;
  background: rgba(0, 0, 0, 0.28);
}

.grove-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.grove-footer-nav a {
  color: var(--grove-fog);
}

.grove-footer-nav a:hover {
  color: var(--grove-sun);
}

.grove-copy {
  color: var(--grove-fog);
  font-size: 0.88rem;
}

.grove-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--grove-ease), transform 0.7s var(--grove-ease);
}

.grove-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .grove-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }

  .grove-split.is-flip {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .grove-split.is-flip .grove-media {
    order: 0;
  }

  .grove-duo {
    grid-template-columns: 1fr 1fr;
  }

  .grove-panel-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .grove-media img {
    aspect-ratio: 3 / 4;
  }
}

@media (min-width: 980px) {
  .grove-panel-grid.is-four {
    grid-template-columns: repeat(4, 1fr);
  }
}
