.page-home {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.8;
  overflow-x: hidden;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home a:focus-visible {
  outline: 2px solid var(--color-highlight);
  outline-offset: 2px;
}

.page-home .container {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.page-home .home-section {
  padding-block: 2.5rem;
}

.page-home .home-section-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
}

.page-home .home-section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2rem);
  line-height: 1.2;
  margin: 0 0 1.25rem;
}

.page-home .home-section-label-light {
  color: var(--color-highlight);
}

.page-home .breadcrumb {
  font-size: var(--fs-small);
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.page-home .breadcrumb [aria-current="page"] {
  color: var(--color-primary);
}

.page-home .home-hero {
  padding: 2rem 0 3rem;
  position: relative;
}

.page-home .home-hero-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.page-home .home-hero-copy {
  position: relative;
  z-index: 1;
}

.page-home .home-hero-kicker {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-home .home-hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.15;
  font-size: clamp(2.75rem, 10vw, var(--fs-display));
  margin: 0 0 1.25rem;
}

.page-home .home-hero-title-line {
  display: block;
}

.page-home .home-hero-title-bg {
  display: inline-block;
  background: var(--color-secondary);
  padding: 0.05em 0.3em;
  box-shadow: 0.15em 0.15em 0 var(--color-primary);
  color: var(--color-text);
  margin-top: 0.15em;
}

.page-home .home-hero-lead {
  color: var(--color-muted);
  max-width: 36rem;
  margin: 0 0 1rem;
}

.page-home .home-directory {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.page-home .home-directory-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  color: var(--color-text);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.page-home .home-directory-card:hover,
.page-home .home-directory-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  background: var(--color-bg);
}

.page-home .home-directory-index {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.page-home .home-directory-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.page-home .home-directory-desc {
  font-size: var(--fs-small);
  color: var(--color-muted);
}

.page-home .home-hero-art {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

.page-home .home-hero-art::before {
  content: "";
  position: absolute;
  inset: 8% -5% -5% 5%;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-bg));
  clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
  z-index: -1;
}

.page-home .home-hero-mark {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  transform: rotate(-4deg);
  background: var(--color-primary);
  color: var(--color-bg);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 4rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  box-shadow: 0.2rem 0.2rem 0 var(--color-secondary);
  z-index: 1;
}

.page-home .home-hero-img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 800 / 1000;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.page-home .home-stats {
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 40px 40px;
  border-block: 1px solid var(--color-border);
}

.page-home .home-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--color-border);
  gap: 1px;
  background: var(--color-border);
  margin-top: 2rem;
}

.page-home .home-stat {
  background: rgba(26, 10, 14, 0.92);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 150px;
}

.page-home .home-stat-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  color: var(--color-primary);
  line-height: 1.1;
}

.page-home .home-stat-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
}

.page-home .home-stat-desc {
  font-size: var(--fs-small);
  color: var(--color-muted);
}

.page-home .home-stats-trust {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface);
  color: var(--color-muted);
  font-size: var(--fs-small);
}

.page-home .home-news {
  background: var(--color-surface);
}

.page-home .home-news-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.page-home .home-news-lead {
  color: var(--color-muted);
  max-width: 32rem;
  margin: 0;
}

.page-home .home-news-more {
  flex-shrink: 0;
}

.page-home .home-news-layout {
  display: grid;
  gap: 2rem;
}

.page-home .home-news-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  border-left: 2px solid var(--color-border);
  margin-left: 0.25rem;
}

.page-home .home-news-item {
  position: relative;
  padding: 0 0 1.5rem 1.5rem;
}

.page-home .home-news-item::before {
  content: "";
  position: absolute;
  left: -0.4375rem;
  top: 0.375rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-primary);
  transform: rotate(45deg);
}

.page-home .home-news-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-bg);
  background: var(--color-accent);
  padding: 0.1rem 0.5rem;
  margin-bottom: 0.5rem;
}

.page-home .home-news-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.page-home .home-news-title:hover,
.page-home .home-news-title:focus-visible {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-home .home-news-item p {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--color-muted);
}

.page-home .home-news-figure {
  display: none;
  margin: 0;
}

.page-home .home-players {
  background: var(--color-bg);
}

.page-home .home-players-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .home-players-copy {
  position: relative;
  z-index: 1;
}

.page-home .home-players-lead {
  color: var(--color-muted);
  max-width: 36rem;
}

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

.page-home .home-players-steps li {
  counter-increment: home-step;
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  color: var(--color-text);
  font-size: var(--fs-body);
}

.page-home .home-players-steps li::before {
  content: counter(home-step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.page-home .home-players-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-home .home-players-figure {
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 0.75rem;
  max-width: 280px;
}

.page-home .home-players-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 500 / 800;
  object-fit: cover;
}

.page-home .home-activity .container {
  padding-inline: 0;
}

.page-home .home-activity-card {
  display: grid;
  gap: 2rem;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-bg));
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.page-home .home-activity-card::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 12rem;
  height: 12rem;
  border: 2px solid rgba(212, 175, 55, 0.35);
  transform: rotate(45deg);
  pointer-events: none;
}

.page-home .home-activity-copy {
  position: relative;
  z-index: 1;
}

.page-home .home-activity-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 1rem;
  color: var(--color-text);
}

.page-home .home-activity-desc {
  color: rgba(245, 230, 200, 0.85);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.page-home .home-activity-figure {
  max-width: 320px;
  margin-inline: auto;
  padding: 0.5rem;
  background: rgba(26, 10, 14, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.5);
}

.page-home .home-activity-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 600;
  object-fit: cover;
}

.page-home .home-brand {
  background: var(--color-surface);
}

.page-home .home-brand-inner {
  max-width: 52rem;
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  background:
    linear-gradient(120deg, rgba(212, 175, 55, 0.12), transparent 70%),
    var(--color-bg);
}

.page-home .home-brand-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.page-home .home-brand-desc {
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.page-home .home-brand-link {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--color-primary);
}

.page-home .home-brand-link:hover,
.page-home .home-brand-link:focus-visible {
  color: var(--color-highlight);
  border-bottom-color: var(--color-highlight);
}

@media (min-width: 640px) {
  .page-home .home-directory {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 720px) {
  .page-home .home-section {
    padding-block: 4rem;
  }

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

  .page-home .home-stat {
    min-height: 180px;
    padding: 2rem;
  }

  .page-home .home-news-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: start;
  }

  .page-home .home-news-figure {
    display: block;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    padding: 1rem;
  }

  .page-home .home-news-figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 400 / 400;
    object-fit: cover;
  }

  .page-home .home-activity-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr);
    align-items: center;
    padding: 3rem;
  }

  .page-home .home-activity-figure {
    margin-left: auto;
    margin-right: 0;
    max-width: 360px;
  }
}

@media (min-width: 800px) {
  .page-home .home-players-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .page-home .home-players-figure {
    max-width: 340px;
    margin-left: auto;
    margin-right: 0;
    padding: 1rem;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    padding: 3rem 0 5rem;
  }

  .page-home .home-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 3rem;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
  }

  .page-home .home-hero-art {
    max-width: 460px;
    margin-left: 0;
    margin-right: 0;
    margin-inline: 0 0 0 auto;
  }

  .page-home .home-hero-img {
    max-width: 460px;
  }
}
