.page-home {
  --hero-radius: 2rem;
}

.page-home .breadcrumb {
  background: var(--color-night);
  color: rgba(248, 249, 250, 0.7);
  padding: 0.75rem var(--page-gutter);
}

.page-home .breadcrumb a,
.page-home .breadcrumb span {
  color: rgba(248, 249, 250, 0.7);
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem 3rem;
  text-align: center;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 10%, rgba(245, 194, 66, 0.12), transparent 70%),
    linear-gradient(rgba(245, 194, 66, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 194, 66, 0.05) 1px, transparent 1px);
  background-size: 100%, 40px 40px, 40px 40px;
}

.page-home .home-hero__inner {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-home .hero-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--color-red);
  color: var(--color-paper);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(211, 47, 47, 0.35);
  margin-bottom: 1rem;
}

.page-home .home-hero__eyebrow {
  color: var(--color-gold);
  letter-spacing: 0.2em;
}

.page-home .hero-vertical-note {
  display: none;
}

.page-home .hero-figure {
  margin: 1.5rem 0 1rem;
}

.page-home .hero-figure img {
  width: min(72vw, 340px);
  height: auto;
  border-radius: 50% 50% var(--hero-radius) var(--hero-radius);
  box-shadow: 0 0 0 6px rgba(245, 194, 66, 0.15), 0 20px 50px rgba(0, 0, 0, 0.35);
}

.page-home .hero-title {
  font-size: clamp(2.4rem, 8vw, 4.75rem);
  line-height: 1.08;
  color: var(--color-paper);
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}

.page-home .hero-lead {
  max-width: 42ch;
  margin: 1rem auto 0;
  color: rgba(248, 249, 250, 0.78);
  font-size: 1.05rem;
  line-height: 1.75;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-home .hero-split {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 48rem;
  margin-top: 2rem;
}

.page-home .hero-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
  padding: 1.25rem 1.5rem;
  border-radius: 1.5rem;
  background: rgba(248, 249, 250, 0.04);
  border: 1px solid rgba(245, 194, 66, 0.28);
  color: var(--color-porcelain);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .hero-card:hover,
.page-home .hero-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(245, 194, 66, 0.65);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.page-home .hero-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-coral);
  text-transform: uppercase;
}

.page-home .hero-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-paper);
  line-height: 1.35;
}

.page-home .hero-card__text {
  font-size: 0.9rem;
  color: rgba(248, 249, 250, 0.65);
}

.page-home .hero-changelog {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: rgba(211, 47, 47, 0.12);
  border: 1px solid rgba(211, 47, 47, 0.35);
  color: var(--color-porcelain);
  text-decoration: none;
  font-size: 0.9rem;
  max-width: 100%;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.page-home .hero-changelog:hover {
  background: rgba(211, 47, 47, 0.22);
  border-color: rgba(211, 47, 47, 0.55);
}

.page-home .hero-changelog p {
  margin: 0;
  font-size: 0.9rem;
}

.page-home .hero-changelog__more {
  margin-left: auto;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

.page-home .home-hero img,
.page-home .home-settle img,
.page-home .home-desktop img,
.page-home .home-history img {
  max-width: 100%;
  height: auto;
}

.page-home .home-settle,
.page-home .home-desktop,
.page-home .home-history,
.page-home .home-download,
.page-home .home-trust {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.page-home .settle-content,
.page-home .desktop-content,
.page-home .history-content,
.page-home .download-content,
.page-home .trust-content {
  min-width: 0;
}

.page-home .settle-lead,
.page-home .desktop-lead,
.page-home .history-lead,
.page-home .download-lead,
.page-home .trust-lead {
  font-size: 1.05rem;
  line-height: 1.75;
}

.page-home .settle-lead {
  color: var(--color-ink);
  max-width: 60ch;
}

.page-home .rule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.page-home .rule-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: var(--color-porcelain);
  border: 1px solid rgba(245, 194, 66, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .rule-card:hover,
.page-home .rule-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.page-home .rule-card:hover .rule-multiplier,
.page-home .rule-card:focus-within .rule-multiplier {
  animation: page-home-multiplier-float 0.35s ease;
}

.page-home .rule-fish {
  font-weight: 600;
  color: var(--color-ink);
  font-size: 0.95rem;
}

.page-home .rule-multiplier {
  font-family: var(--font-numeric);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-red);
  white-space: nowrap;
}

.page-home .rule-card--rare .rule-multiplier {
  color: var(--color-gold);
  background: var(--color-night);
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
}

@keyframes page-home-multiplier-float {
  0% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-4px) scale(1.08);
  }
  100% {
    transform: translateY(0);
  }
}

.page-home .settle-figure {
  margin: 1.5rem 0 0;
}

.page-home .settle-figure img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
}

.page-home .settle-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(17, 17, 17, 0.65);
  border-left: 3px solid var(--color-gold);
  padding-left: 0.75rem;
}

.page-home .desktop-lead {
  color: rgba(248, 249, 250, 0.72);
  max-width: 58ch;
}

.page-home .desktop-figure {
  margin: 1.5rem 0 0;
}

.page-home .desktop-figure img {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.page-home .entry-steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  counter-reset: page-home-step;
}

.page-home .entry-steps li {
  counter-increment: page-home-step;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(248, 249, 250, 0.05);
  border: 1px solid rgba(245, 194, 66, 0.16);
  font-size: 0.92rem;
  color: rgba(248, 249, 250, 0.78);
  line-height: 1.6;
}

.page-home .entry-steps li::before {
  content: counter(page-home-step);
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-night);
  font-weight: 700;
  font-size: 0.8rem;
  font-family: var(--font-numeric);
  margin-top: 0.1rem;
}

.page-home .entry-steps li span {
  color: var(--color-gold);
  font-weight: 700;
  margin-right: 0.2rem;
}

.page-home .history-lead {
  color: var(--color-ink);
  max-width: 62ch;
}

.page-home .history-figure {
  margin: 1.5rem 0 0;
}

.page-home .history-figure img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
}

.page-home .version-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin: 1.75rem 0 1.25rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--color-paper);
  border: 1px solid rgba(245, 194, 66, 0.35);
}

.page-home .version-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-ink);
}

.page-home .version-item b {
  font-family: var(--font-numeric);
  font-size: 1rem;
  color: var(--color-red);
  background: rgba(211, 47, 47, 0.08);
  border-radius: 0.5rem;
  padding: 0.15rem 0.45rem;
}

.page-home .version-arrow {
  color: var(--color-teal);
  font-weight: 700;
}

.page-home .download-lead {
  color: rgba(248, 249, 250, 0.72);
  max-width: 62ch;
}

.page-home .download-grid {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0;
}

.page-home .download-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.25rem;
  text-decoration: none;
  color: var(--color-paper);
  background: rgba(248, 249, 250, 0.05);
  border: 1px solid rgba(245, 194, 66, 0.22);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.page-home .download-card:hover,
.page-home .download-card:focus-visible {
  transform: translateY(-3px);
  background: rgba(248, 249, 250, 0.1);
  border-color: rgba(245, 194, 66, 0.5);
}

.page-home .download-card__platform {
  font-size: 1.15rem;
  font-weight: 700;
}

.page-home .download-card__desc {
  font-size: 0.85rem;
  color: rgba(248, 249, 250, 0.6);
}

.page-home .download-tip {
  font-size: 0.9rem;
  color: rgba(248, 249, 250, 0.6);
  margin-top: 0.5rem;
}

.page-home .trust-lead {
  color: var(--color-ink);
  max-width: 66ch;
}

.page-home .trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.page-home .trust-stat {
  padding: 1.25rem 1rem;
  border-radius: 1.25rem;
  text-align: center;
  background: var(--color-porcelain);
  border: 1px solid rgba(245, 194, 66, 0.3);
}

.page-home .trust-stat .stat-num {
  display: block;
  font-family: var(--font-numeric);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-red);
  line-height: 1.2;
}

.page-home .trust-stat .stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(17, 17, 17, 0.65);
  margin-top: 0.25rem;
}

.page-home .trust-cert {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin: 1.5rem 0 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: var(--color-paper);
  border: 1px dashed rgba(245, 194, 66, 0.7);
  font-size: 0.9rem;
  color: var(--color-ink);
}

.page-home .trust-cert__icp {
  font-weight: 700;
  color: var(--color-red);
}

.page-home .trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
}

.page-home .trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--color-porcelain);
  border: 1px solid rgba(26, 138, 122, 0.35);
  color: var(--color-teal);
  font-size: 0.8rem;
  font-weight: 600;
}

.page-home .trust-contact {
  font-size: 0.95rem;
  color: var(--color-ink);
  max-width: 60ch;
  line-height: 1.7;
}

.page-home .trust-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .page-home .home-hero {
    padding: 4.5rem 2rem 4rem;
  }

  .page-home .home-hero__inner {
    position: relative;
  }

  .page-home .hero-vertical-note {
    display: block;
    position: absolute;
    left: 0.5rem;
    top: 48%;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: rgba(245, 194, 66, 0.5);
    text-transform: uppercase;
    white-space: nowrap;
  }

  .page-home .hero-figure img {
    width: 380px;
  }

  .page-home .hero-title {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
  }

  .page-home .hero-split {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-settle,
  .page-home .home-desktop,
  .page-home .home-history,
  .page-home .home-download,
  .page-home .home-trust {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .page-home .section-note {
    border-right: 1px solid rgba(245, 194, 66, 0.35);
    padding-right: 1.5rem;
  }

  .page-home .rule-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .page-home .rule-card {
    padding: 1.1rem 1.25rem;
  }

  .page-home .entry-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .page-home .entry-steps li {
    flex-direction: column;
    gap: 0.6rem;
  }

  .page-home .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .trust-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .page-home .trust-stat {
    padding: 1.5rem 1.25rem;
  }
}
