/* Landing-only visuals (index.html). Shared chrome, world-map, portal
   pages stay on style.css. */

:root {
  --purple: #7c3aed;
  --purple-soft: rgba(124, 58, 237, 0.28);
  --gold: #f4b740;
  --fire: #f0475a;
}

.page-home {
  --home-pad: clamp(1.25rem, 4vw, 3rem);
  color: var(--paper);
}

.home-section {
  scroll-margin-top: 5.5rem;
  padding: clamp(3.2rem, 7vw, 4.8rem) var(--home-pad);
}
.home-section__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.home-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.65rem;
}
.home-section .lede {
  max-width: 50ch;
  color: var(--muted-on-dark);
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

.page-home .nav__cta {
  background: var(--purple);
  border-color: transparent;
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.4);
}
.page-home .nav__cta:hover {
  background: #6d28d9;
  border-color: transparent;
}
.page-home .btn--primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(124, 58, 237, 0.55);
}
.page-home .btn--primary:hover {
  box-shadow: 0 12px 34px -8px rgba(124, 58, 237, 0.65);
}
.page-home .btn--ghost {
  border-color: rgba(155, 122, 232, 0.4);
  color: #e9ddff;
}

/* --- hero --- */
.page-home .hero {
  min-height: 0;
  display: block;
  padding: 6.2rem var(--home-pad) 3rem;
}
.page-home .hero__inner {
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.page-home .hero__title {
  font-size: clamp(2.15rem, 8vw, 4rem);
}
.page-home .hero__title em {
  background: linear-gradient(90deg, #57e38c 0%, #6bc4a8 55%, #9b7ae8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 24px rgba(124, 58, 237, 0.35));
}
.page-home .hero__desc { max-width: 38ch; }
.page-home .hero__store {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: #7b7690;
}
.page-home .hero__store a {
  color: #c4b5fd;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.hero-visual__glow {
  position: absolute;
  left: 8%;
  top: 8%;
  width: 72%;
  height: 72%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35), transparent 64%);
  pointer-events: none;
}
.hero-visual__frog {
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 68%;
  max-width: 280px;
  z-index: 2;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.55));
  pointer-events: none;
  height: auto;
}
.hero-phone {
  position: relative;
  z-index: 3;
  margin-left: 26%;
  width: min(46vw, 168px);
  height: min(94vw, 340px);
  border-radius: 28px;
  background: #0a0810;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}
.hero-phone__screen {
  position: absolute;
  inset: 7px 6px 7px;
  border-radius: 22px;
  overflow: hidden;
  background: #1a1228;
}
.hero-phone__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  max-width: none;
}

@media (min-width: 900px) {
  .page-home .hero__inner {
    grid-template-columns: 1.02fr 1.08fr;
    gap: 1.25rem;
  }
  .hero-visual { min-height: 460px; }
  .hero-visual__frog {
    left: -4%;
    width: 78%;
    max-width: 430px;
  }
  .hero-phone {
    margin-left: 38%;
    width: 210px;
    height: 428px;
    border-radius: 32px;
  }
  .hero-phone__screen { inset: 8px 7px 8px; border-radius: 26px; }
}

/* --- play loops --- */
.play {
  background: var(--paper);
  color: var(--ink);
}
.play .eyebrow { color: #5a4d7a; }
.play .eyebrow::before { background: var(--purple); box-shadow: 0 0 0 4px var(--purple-soft); }
.play .lede { color: var(--muted); }
.play-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.loop {
  background: #fff;
  border: 1px solid rgba(12, 13, 11, 0.08);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.loop__scene {
  height: 210px;
  position: relative;
  overflow: hidden;
}
.loop__body { padding: 1.1rem 1.2rem 1.35rem; }
.loop__tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a6b9c;
  margin-bottom: 0.45rem;
}
.loop h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
}
.loop p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.loop-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.loop-pills span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--paper-alt);
  color: var(--ink-soft);
}
@media (min-width: 900px) {
  .play-grid { grid-template-columns: 1fr 1fr; }
  .loop--feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
  }
  .loop--feature .loop__scene { height: 280px; }
  .loop--feature .loop__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.75rem 1.75rem 1.75rem 0.5rem;
  }
  .loop--feature h3 { font-size: 2rem; }
}

.scene--people {
  background:
    radial-gradient(ellipse 40% 50% at 18% 70%, #1a3a28 0 42%, transparent 70%),
    radial-gradient(ellipse 36% 40% at 82% 20%, #1a1630 0 40%, transparent 72%),
    linear-gradient(180deg, #12161a, #0c1014);
}
.scene-roads {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,.06) 18% 20%, transparent 20% 58%, rgba(255,255,255,.05) 58% 60%, transparent 60%),
    linear-gradient(0deg, transparent 0 42%, rgba(255,255,255,.05) 42% 44%, transparent 44% 70%, rgba(255,255,255,.04) 70% 72%, transparent 72%);
}
.scene-park {
  position: absolute;
  left: 8%;
  bottom: 10%;
  width: 34%;
  height: 46%;
  border-radius: 40% 48% 36% 50%;
  background: rgba(87, 227, 140, 0.12);
  border: 1px solid rgba(87, 227, 140, 0.18);
}
.ppl {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
}
.ppl__face {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #211c2b;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.ppl__face img {
  width: 140%;
  height: 140%;
  max-width: none;
  object-fit: cover;
  object-position: center 18%;
}
.ppl__nm {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(12, 12, 16, 0.78);
  color: #e9ddff;
}
.ppl--you .ppl__face {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.28), 0 0 18px rgba(124, 58, 237, 0.5);
}
.ppl--you .ppl__nm { background: var(--purple); color: #fff; }
.ppl--1 { left: 18%; top: 38%; }
.ppl--2 { left: 46%; top: 26%; }
.ppl--3 { left: 68%; top: 52%; }
.ppl--4 { left: 38%; top: 62%; }
.ppl__ring {
  position: absolute;
  top: 4px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(87, 227, 140, 0.55);
  pointer-events: none;
}
.scene-chat {
  position: absolute;
  left: 52%;
  top: 10%;
  background: rgba(18, 15, 26, 0.9);
  border: 1px solid rgba(124, 58, 237, 0.45);
  border-radius: 14px 14px 14px 4px;
  padding: 8px 12px;
  color: #f5f3fa;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 3;
}
.scene-chat small {
  display: block;
  color: #b9b2c9;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.scene-near {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(8, 12, 10, 0.78);
  border: 1px solid rgba(87, 227, 140, 0.35);
  border-radius: 999px;
  padding: 6px 10px;
  color: #e8f6ee;
  font-size: 0.7rem;
  font-weight: 700;
}

.scene--farm {
  background:
    repeating-linear-gradient(32deg, transparent 0 28px, rgba(87, 227, 140, 0.07) 28px 29px),
    radial-gradient(circle at 50% 80%, #1a2a22, #0c1410);
}
.plot {
  position: absolute;
  bottom: 18px;
  width: 72px;
  text-align: center;
}
.plot__em { font-size: 2.4rem; display: block; line-height: 1; filter: drop-shadow(0 8px 12px rgba(0,0,0,.4)); }
.plot__g { font-family: var(--font-display); font-size: 0.7rem; font-weight: 800; color: var(--gold); margin-top: 4px; }
.plot--a { left: 10%; }
.plot--b { left: 50%; transform: translateX(-50%); bottom: 28px; }
.plot--b .plot__em { font-size: 3rem; }
.plot--c { right: 10%; }
.coin {
  position: absolute;
  width: 12px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #ffe38a, #f4b740 58%, #c4844a);
  box-shadow: 0 0 10px rgba(244, 183, 64, 0.7);
}
.coin--1 { left: 46%; bottom: 38%; }
.coin--2 { left: 54%; bottom: 34%; }
.coin--3 { left: 50%; bottom: 30%; }
.hud-pill {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(8, 12, 10, 0.78);
  border: 1px solid rgba(87, 227, 140, 0.35);
  border-radius: 12px;
  padding: 7px 10px;
  color: #e8f6ee;
  font-size: 0.7rem;
}
.hud-pill b { display: block; font-family: var(--font-display); font-size: 0.88rem; color: var(--gold); }
.collect-chip {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #57e38c;
  color: #0c0d0b;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 12px;
}

.scene--rank { background: radial-gradient(circle at 50% 0%, #163024, #0c1410); }
.podium {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.pod { width: 64px; text-align: center; }
.pod__face { font-size: 1.6rem; display: block; margin-bottom: 4px; }
.pod__bar {
  border-radius: 10px 10px 0 0;
  background: rgba(87, 227, 140, 0.16);
  border: 1px solid rgba(87, 227, 140, 0.35);
  color: #80e094;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  padding-top: 8px;
}
.pod--1 .pod__bar { height: 84px; background: rgba(244, 183, 64, 0.22); border-color: rgba(244, 183, 64, 0.5); color: var(--gold); }
.pod--2 .pod__bar { height: 60px; }
.pod--3 .pod__bar { height: 44px; }
.you-rank {
  position: absolute;
  right: 12px;
  top: 12px;
  background: rgba(128, 224, 148, 0.12);
  border: 1px solid rgba(128, 224, 148, 0.55);
  color: #80e094;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
}
.board-chip {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #cfead8;
  background: rgba(8, 12, 10, 0.7);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(87, 227, 140, 0.25);
}

.scene--clan { background: radial-gradient(circle at 50% 40%, #24183a, #0b0912); }
.vs-row {
  position: absolute;
  left: 0;
  right: 0;
  top: 38%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.clan-banner {
  width: 110px;
  text-align: center;
  background: rgba(33, 28, 43, 0.85);
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 16px;
  padding: 10px 8px;
}
.clan-banner__mark { font-size: 1.6rem; display: block; }
.clan-banner__nm {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 4px;
  color: #e9ddff;
}
.clan-banner--foe { border-color: rgba(240, 71, 90, 0.4); }
.vs-mark { font-family: var(--font-display); font-size: 0.75rem; font-weight: 800; color: #7b7690; }
.window-chip {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  background: rgba(240, 71, 90, 0.16);
  border: 1px solid rgba(240, 71, 90, 0.55);
  color: var(--fire);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 999px;
}
.branches {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.branches span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #b9b2c9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.branches span.is-on {
  background: rgba(240, 71, 90, 0.18);
  border-color: rgba(240, 71, 90, 0.45);
  color: #f5f3fa;
}

.scene--hunt { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.hunt-half { position: relative; overflow: hidden; }
.hunt-half--mon {
  background: radial-gradient(circle at 40% 70%, #1a231c, #0c100e);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.hunt-half--boss { background: radial-gradient(circle at 60% 40%, #24183a, #0b0912); }
.hunt-ico {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  font-size: 2.8rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}
.st-pill {
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  border-radius: 999px;
}
.st-pill--ok { background: #57e38c; color: #0c0d0b; }
.st-pill--hot { background: var(--fire); color: #fff; }
.hunt-cracks {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 70px;
  height: 18px;
  margin-left: -35px;
  background: repeating-linear-gradient(90deg, transparent 0 8px, rgba(240, 71, 90, 0.7) 8px 9px);
  opacity: 0.7;
  transform: rotate(-8deg);
}
.hunt-arena {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  border: 1.5px dashed rgba(155, 122, 232, 0.55);
  border-radius: 50%;
}
.loot-mini {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  gap: 4px;
  font-size: 0.9rem;
}

/* --- street is alive --- */
.street { background: var(--void); color: var(--paper); }
.alive-board {
  position: relative;
  height: 240px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--line-on-dark);
  background:
    radial-gradient(ellipse 42% 54% at 22% 78%, #1a3a28 0 40%, transparent 72%),
    radial-gradient(ellipse 38% 44% at 78% 22%, #2a1424 0 38%, transparent 72%),
    linear-gradient(180deg, #14181c, #0c1014);
}
.alive-park {
  position: absolute;
  left: 48%;
  bottom: 10%;
  width: 28%;
  height: 46%;
  border-radius: 54% 42% 60% 40%;
  background: rgba(87, 227, 140, 0.12);
  border: 1px solid rgba(87, 227, 140, 0.2);
}
.alive-chip {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(12, 12, 16, 0.82);
  border: 1px solid rgba(244, 183, 64, 0.45);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
}
.alive-house {
  position: absolute;
  left: 58%;
  bottom: 22%;
  transform: translateX(-50%);
  text-align: center;
}
.alive-house__em { font-size: 2.6rem; display: block; line-height: 1; }
.alive-house__lbl { display: block; margin-top: 4px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; color: #b9b2c9; }
.alive-rabbit { position: absolute; left: 18%; bottom: 38%; font-size: 2rem; z-index: 2; }
.alive-bag { position: absolute; left: 22%; bottom: 14%; font-size: 1.5rem; z-index: 2; filter: drop-shadow(0 0 12px rgba(244,183,64,.75)); }
.alive-loot {
  position: absolute;
  left: 20%;
  bottom: 32%;
  z-index: 3;
  background: rgba(18, 15, 26, 0.92);
  border: 1px solid rgba(244, 183, 64, 0.5);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 12px 12px 12px 4px;
}
.alive-alien { position: absolute; left: 56%; bottom: 44%; font-size: 2.2rem; z-index: 2; filter: drop-shadow(0 0 18px rgba(240,71,90,.55)); }
.alive-you {
  position: absolute;
  left: 8%;
  bottom: 10%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.alive-you__face {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: #211c2b;
  border: 1.5px solid var(--purple);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.28);
  overflow: hidden;
}
.alive-you__face img {
  width: 140%;
  height: 140%;
  max-width: none;
  object-fit: cover;
  object-position: center 18%;
}
.alive-you__tag {
  background: var(--purple);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}
@media (min-width: 760px) { .alive-board { height: 320px; } }

.rest { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.tile {
  border: 1px solid var(--line-on-dark);
  border-radius: 20px;
  padding: 1.1rem 1.1rem 1.25rem;
  background: #0c0e12;
}
.tile__viz {
  height: 84px;
  border-radius: 14px;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 2rem;
  position: relative;
  overflow: hidden;
}
.tile--fauna .tile__viz { background: radial-gradient(circle at 30% 70%, #1a231c, #101410); }
.tile--wanted .tile__viz { background: radial-gradient(circle at 70% 40%, #24183a, #100e16); }
.tile h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.4rem; }
.tile p { color: var(--muted-on-dark); font-size: 0.88rem; line-height: 1.55; }
.pouch { font-size: 1.3rem; filter: drop-shadow(0 0 8px rgba(244,183,64,.5)); }
.want-stars { position: absolute; left: 12px; top: 10px; font-size: 0.75rem; letter-spacing: 2px; color: var(--gold); }
@media (min-width: 760px) { .rest { grid-template-columns: 1fr 1fr; } }

/* --- empire --- */
.empire { background: var(--paper); color: var(--ink); }
.empire .lede { color: var(--muted); }
.street-map {
  position: relative;
  height: 240px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  background: #0c0c0d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
@media (min-width: 760px) { .street-map { height: 420px; } }
.map-land {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 42% 36% at 8% 82%, #16321f 0 50%, transparent 74%),
    radial-gradient(ellipse 36% 44% at 92% 12%, #0a1210 0 48%, transparent 74%),
    repeating-linear-gradient(32deg, transparent 0 70px, rgba(59, 47, 34, 0.45) 78px 84px, transparent 84px 160px),
    #0c0c0d;
}
.grid-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.grid-svg polygon { stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; }
.grid-svg .empty { fill: rgba(255, 255, 255, 0.11); }
.grid-svg .occ { fill: rgba(255, 255, 255, 0.30); }
.grid-svg .sel { fill: rgba(242, 193, 78, 0.48); }
.grid-svg .burn { fill: rgba(240, 71, 90, 0.36); }
.grid-svg .range { fill: none; stroke: rgba(232, 220, 184, 0.32); stroke-width: 1.5; }
.grid-svg text { font-size: 34px; filter: drop-shadow(0 5px 6px rgba(0,0,0,.55)); pointer-events: none; }
.grid-svg text.on-fire { filter: drop-shadow(0 0 8px #f0475a) drop-shadow(0 5px 6px rgba(0,0,0,.5)); }
.grid-svg .you-dot { fill: var(--purple); stroke: rgba(124, 58, 237, 0.4); stroke-width: 6; }
.map-chip {
  position: absolute;
  z-index: 4;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(12, 12, 13, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  font-weight: 600;
  color: #e8dcb8;
}
.map-chip--tl { top: 12px; left: 12px; }
.map-chip--tr { top: 12px; right: 12px; color: var(--gold); }
.map-chip--bl { bottom: 12px; left: 12px; right: 12px; color: #b8b0a0; font-weight: 500; }
.gear {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.gear-card {
  background: #fff;
  border: 1px solid rgba(12, 13, 11, 0.08);
  border-radius: 18px;
  padding: 1rem 0.9rem 1.15rem;
  min-width: 0;
}
.gear-card__glyph {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}
.gear-card--clan { border-color: rgba(124, 58, 237, 0.28); background: rgba(124, 58, 237, 0.06); }
.gear-card h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.35rem; color: var(--ink); }
.gear-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }
@media (min-width: 640px) { .gear { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .gear { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* --- ranks teaser --- */
.home-ranks { background: #0c1410; color: var(--paper); }
.home-ranks .lede { color: #9aa39a; }
.rank-split { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.rank-board {
  background: #101816;
  border: 1px solid rgba(87, 227, 140, 0.22);
  border-radius: 22px;
  padding: 1rem;
}
.rank-board h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #80e094;
}
.rank-row {
  display: grid;
  grid-template-columns: 28px 36px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
}
.rank-row__n { font-family: var(--font-display); font-weight: 800; color: #80e094; }
.rank-row__av { font-size: 1.3rem; }
.rank-row__nm { font-weight: 700; }
.rank-row__lv { font-family: var(--font-display); color: var(--gold); }
.rank-empty { color: #9aa39a; font-size: 0.88rem; padding: 0.5rem 0.5rem 0.2rem; }
.home-ranks__more {
  display: inline-block;
  margin-top: 1.1rem;
  color: #c4b5fd;
  font-weight: 600;
  font-size: 0.9rem;
}
@media (min-width: 800px) { .rank-split { grid-template-columns: 1.1fr 0.9fr; } }

/* --- news teaser --- */
.home-news { background: var(--paper); color: var(--ink); }
.home-news .lede { color: var(--muted); }
.news-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.news-card {
  background: #fff;
  border: 1px solid rgba(12, 13, 11, 0.08);
  border-radius: 22px;
  padding: 1.25rem;
}
.news-card__when {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a6b9c;
  margin-bottom: 0.5rem;
}
.news-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.45rem; }
.news-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
@media (min-width: 760px) { .news-grid { grid-template-columns: 1fr 1fr; } }

/* --- faq --- */
.home-faq { background: var(--void); padding-bottom: 1.6rem; }
.home-faq details {
  border: 1px solid var(--line-on-dark);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
  background: #131019;
}
.home-faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  list-style: none;
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::before {
  content: "▸ ";
  color: #7b7690;
}
.home-faq details[open] summary::before { content: "▾ "; }
.home-faq details p {
  color: #b9b2c9;
  margin-top: 0.5rem;
  line-height: 1.55;
  font-size: 0.9rem;
}
.home-faq a { color: #c4b5fd; }

/* --- get --- */
.home-get {
  padding: 2.4rem var(--home-pad) 3rem;
  text-align: center;
}
.home-get__frog {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: cover;
  object-position: center 14%;
  margin: 0 auto 10px;
  filter: drop-shadow(0 12px 24px rgba(124, 58, 237, 0.45));
}
.home-get .eyebrow {
  display: flex;
  justify-content: center;
  margin: 0 0 8px;
}
.home-get__mark {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 3rem);
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1;
}
.home-get .caption {
  margin: 0 0 1.1rem;
  color: var(--muted-on-dark);
  font-size: 0.95rem;
}
.home-get .hero__actions {
  margin-top: 0;
  justify-content: center;
}
.legal-note { margin-top: 1.1rem; font-size: 0.78rem; color: #7b7690; }
.legal-note a { color: #c4b5fd; }

.page-home .footer__links {
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: no-preference) {
  .ppl__ring { animation: homeRing 2.8s ease-out infinite; }
  .alive-rabbit { animation: hop 1.8s ease-in-out infinite; }
  .alive-bag { animation: bagPulse 2s ease-in-out infinite; }
  .alive-alien { animation: dropIn 2.4s ease-in-out infinite; }
  .coin { animation: rise 2.4s ease-in infinite; }
  .coin--2 { animation-delay: 0.8s; }
  .coin--3 { animation-delay: 1.5s; }
}
@keyframes homeRing { 0% { transform: scale(0.42); opacity: 0.7; } 100% { transform: scale(1); opacity: 0; } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes bagPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes dropIn { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
@keyframes rise { 0% { opacity: 0; transform: translateY(8px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-64px); } }

.rank-row__nm {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .page-home .hero {
    padding: 5.4rem var(--home-pad) 2.2rem;
  }
  .page-home .hero__actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 1.6rem;
  }
  .page-home .btn {
    white-space: normal;
    width: 100%;
    letter-spacing: 0.06em;
    padding: 0.9em 1.1em;
    min-height: 44px;
  }
  .hero-phone { width: 148px; height: 300px; margin-left: 22%; }
  .hero-visual { min-height: 300px; }
  .hero-visual__frog { width: 64%; max-width: 220px; }
  .scene-chat { left: 42%; max-width: 46%; }
  .vs-row { gap: 6px; }
  .clan-banner { width: 92px; padding: 8px 6px; }
  .branches { gap: 4px; max-width: 100%; padding: 0 8px; }
  .branches span { padding: 5px 6px; font-size: 0.58rem; }
  .map-chip--bl { font-size: 0.68rem; }
  .home-get .hero__actions { width: min(100%, 22rem); margin-inline: auto; }
}
