.page-home {
  background: var(--bg-gradient);
  color: var(--white);
  overflow-x: hidden;
}

.page-home .breadcrumb {
  position: relative;
  z-index: 6;
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--silver);
}

.page-home .breadcrumb .crumb-link {
  color: var(--accent);
  text-decoration: none;
}

.page-home .breadcrumb .crumb-current {
  color: var(--silver);
}

.page-home .home-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 30, 60, 0.97) 0%, rgba(10, 30, 60, 0.86) 45%, rgba(10, 30, 60, 0.38) 100%);
}

.page-home .hero-diag {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 196, 0, 0.12) 0px,
    rgba(255, 196, 0, 0.12) 2px,
    transparent 2px,
    transparent 14px
  );
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
  padding: 56px 24px 72px;
}

.page-home .hero-code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.page-home .hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(38px, 7.2vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 960px;
  margin: 0;
}

.page-home .hero-sep {
  color: var(--accent);
  margin: 0 0.08em;
}

.page-home .hero-lead {
  max-width: 580px;
  margin-top: 22px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--silver);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 48px;
  max-width: 720px;
}

.page-home .stat-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--accent);
  padding: 16px 18px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.page-home .stat-item .stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--silver);
  text-transform: uppercase;
}

.page-home .stat-item .stat-number {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: 34px;
  line-height: 1.1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}

.page-home .stat-item .stat-number span {
  font-size: 16px;
  color: var(--white);
}

.page-home .section {
  padding: 60px 0;
}

.page-home .section-head {
  margin-bottom: 28px;
}

.page-home .section-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 0;
  border-bottom: 2px solid var(--accent);
}

.page-home .section-title {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
  margin-top: 10px;
  color: inherit;
}

.page-home .section-desc {
  margin-top: 12px;
  max-width: 640px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
}

.page-home .home-report {
  background: var(--gray-light);
  color: var(--gray-dark);
}

.page-home .home-report .section-title {
  color: var(--primary);
}

.page-home .home-report .section-desc {
  color: #5a6478;
}

.page-home .report-ticker {
  display: flex;
  align-items: stretch;
  background: var(--primary);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid rgba(192, 197, 208, 0.24);
}

.page-home .ticker-label {
  flex: 0 0 auto;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  display: flex;
  align-items: center;
  padding: 0 18px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.page-home .ticker-window {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.page-home .ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 13px 20px;
  width: max-content;
  animation: home-ticker-scroll 36s linear infinite;
}

.page-home .report-ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes home-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.page-home .ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--silver);
}

.page-home .ticker-item .ticker-league {
  color: var(--accent);
  font-weight: 700;
}

.page-home .ticker-item .ticker-match {
  color: var(--white);
}

.page-home .ticker-item .ticker-state {
  background: var(--alert);
  color: var(--white);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 2px;
}

.page-home .report-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 32px;
}

.page-home .report-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .report-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  background: var(--white);
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 8px rgba(10, 30, 60, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-home .report-row:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-card);
}

.page-home .report-no {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--silver);
}

.page-home .report-info {
  min-width: 0;
}

.page-home .report-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .report-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8a93a5;
  margin: 4px 0 0;
}

.page-home .report-state {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--alert);
  border: 1px solid rgba(230, 57, 70, 0.4);
  padding: 3px 8px;
  border-radius: 2px;
}

.page-home .report-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  white-space: nowrap;
}

.page-home .report-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
}

.page-home .report-photo {
  border-radius: 6px;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.page-home .report-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .report-figure figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #5a6478;
}

.page-home .report-chart {
  width: 100%;
  height: 110px;
}

.page-home .home-calendar {
  background: var(--bg-gradient);
  color: var(--white);
}

.page-home .calendar-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .calendar-copy .section-desc {
  color: var(--silver);
}

.page-home .month-switch {
  margin-top: 24px;
}

.page-home .month-panel {
  background: var(--white);
  color: var(--gray-dark);
  border-radius: 8px;
  padding: 20px 18px;
  box-shadow: var(--shadow-card);
}

.page-home .month-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.page-home .month-title {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: 22px;
  color: var(--primary);
  margin: 0;
}

.page-home .cal-week {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-home .cal-day {
  background: #eef1f6;
  border-top: 3px solid var(--primary);
  padding: 10px;
  min-width: 0;
}

.page-home .cal-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.page-home .cal-date small {
  font-weight: 400;
  color: #8a93a5;
}

.page-home .cal-event {
  font-size: 13px;
  line-height: 1.5;
  padding: 5px 6px;
  border-bottom: 1px dashed rgba(192, 197, 208, 0.6);
  color: var(--gray-dark);
}

.page-home .cal-event[data-category="football"] {
  border-left: 3px solid var(--accent-strong);
}

.page-home .cal-event[data-category="basketball"] {
  border-left: 3px solid var(--alert);
}

.page-home .cal-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--alert);
  margin-right: 6px;
}

.page-home .home-venues {
  background: var(--gray-light);
  color: var(--gray-dark);
}

.page-home .home-venues .section-title {
  color: var(--primary);
}

.page-home .home-venues .section-desc {
  color: #5a6478;
}

.page-home .venue-filter {
  margin: 24px 0 4px;
}

.page-home .venue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 18px;
  margin-top: 22px;
}

.page-home .venue-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(10, 30, 60, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-home .venue-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.page-home .venue-img {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.page-home .venue-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-home .venue-card:hover .venue-img img {
  transform: scale(1.04);
}

.page-home .venue-img--texture {
  background:
    repeating-linear-gradient(
      -45deg,
      var(--primary) 0px,
      var(--primary) 14px,
      var(--primary-blue) 14px,
      var(--primary-blue) 28px
    );
}

.page-home .venue-img--texture::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 65%, rgba(255, 196, 0, 0.35) 65%),
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.14) 0%, transparent 44%);
}

.page-home .venue-body {
  padding: 18px;
}

.page-home .venue-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.page-home .venue-no {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--silver);
  line-height: 1;
}

.page-home .venue-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--primary);
  border: 1px solid var(--silver);
  padding: 3px 8px;
  border-radius: 2px;
}

.page-home .venue-name {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.page-home .venue-meta {
  font-size: 13px;
  color: #7a8392;
  margin: 6px 0 12px;
}

.page-home .venue-data {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--primary);
  border-top: 1px dashed var(--silver);
  padding-top: 12px;
  margin: 0;
}

.page-home .venue-data em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--alert);
  margin: 0 2px;
}

.page-home .home-leagues {
  background: var(--bg-gradient);
  color: var(--white);
}

.page-home .home-leagues .section-desc {
  color: var(--silver);
}

.page-home .league-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .league-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--silver-alpha);
  padding: 22px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: background 200ms ease;
}

.page-home .league-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-home .league-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  border: 1px solid rgba(255, 196, 0, 0.36);
  padding: 2px 8px;
  border-radius: 2px;
}

.page-home .league-name {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  margin: 12px 0 6px;
}

.page-home .league-links {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.page-home .league-links li + li {
  border-top: 1px dashed rgba(192, 197, 208, 0.28);
}

.page-home .league-links a {
  display: block;
  padding: 9px 0;
  color: var(--silver);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
}

.page-home .league-links a:hover {
  color: var(--white);
  padding-left: 8px;
}

.page-home .home-subscribe {
  background: var(--btn-gradient);
  color: var(--primary);
}

.page-home .home-subscribe .section-desc {
  color: rgba(10, 30, 60, 0.78);
}

.page-home .subscribe-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-home .subscribe-copy .section-index {
  border-bottom-color: var(--primary);
  color: var(--primary);
}

.page-home .subscribe-list {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
}

.page-home .subscribe-list li {
  position: relative;
  padding: 9px 0 9px 28px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px dashed rgba(10, 30, 60, 0.2);
}

.page-home .subscribe-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 6px;
  background: var(--primary);
  clip-path: polygon(0 0, 72% 0, 100% 100%, 28% 100%);
}

.page-home .subscribe-figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(10, 30, 60, 0.24);
}

.page-home .subscribe-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .subscribe-figure figcaption {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 10px 14px;
}

.page-home .home-member {
  background: var(--primary);
  color: var(--white);
}

.page-home .member-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-home .member-desc {
  color: var(--silver);
  font-size: 15px;
  line-height: 1.75;
  max-width: 520px;
  margin-top: 14px;
}

.page-home .member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.page-home .member-log {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--silver-alpha);
  padding: 24px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.page-home .member-log-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.page-home .member-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: member-step;
}

.page-home .member-steps li {
  counter-increment: member-step;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(192, 197, 208, 0.28);
  font-size: 15px;
  color: var(--white);
}

.page-home .member-steps li::before {
  content: "0" counter(member-step);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--primary);
  background: var(--accent);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 0 100%);
}

.page-home .member-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--silver);
  margin: 16px 0 0;
}

.page-home .tag-chip {
  background: transparent;
  border: 1px solid var(--silver);
  color: inherit;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.page-home .tag-chip[data-filter-active] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.page-home .month-switch .tag-chip {
  border-color: rgba(192, 197, 208, 0.5);
  color: var(--white);
}

.page-home .month-switch .tag-chip[data-filter-active] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.page-home .sport-switch .tag-chip {
  border-color: var(--silver);
  color: #5a6478;
}

.page-home .sport-switch .tag-chip[data-filter-active] {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.page-home .venue-filter .tag-chip {
  border-color: var(--silver);
  color: var(--primary);
}

.page-home .venue-filter .tag-chip[data-filter-active] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

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

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

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

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

@media (min-width: 920px) {
  .page-home .report-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .page-home .calendar-layout {
    grid-template-columns: 0.78fr 1.32fr;
    align-items: start;
  }

  .page-home .calendar-panels {
    margin-top: -42px;
  }

  .page-home .month-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-home .cal-week {
    grid-template-columns: repeat(7, 1fr);
  }
}

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

  .page-home .venue-card:nth-child(1) {
    transform: translateY(-14px);
  }

  .page-home .venue-card:nth-child(2) {
    transform: translateY(10px);
  }

  .page-home .venue-card:nth-child(3) {
    transform: translateY(-6px);
  }

  .page-home .venue-card:nth-child(4) {
    transform: translateY(12px);
  }

  .page-home .venue-card:nth-child(5) {
    transform: translateY(-10px);
  }

  .page-home .venue-card:nth-child(6) {
    transform: translateY(6px);
  }

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

  .page-home .subscribe-layout {
    grid-template-columns: 1fr 0.9fr;
  }

  .page-home .member-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

@media (max-width: 520px) {
  .page-home .report-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "no state"
      "info info"
      "link link";
  }

  .page-home .report-no {
    grid-area: no;
  }

  .page-home .report-info {
    grid-area: info;
  }

  .page-home .report-state {
    grid-area: state;
    justify-self: end;
  }

  .page-home .report-link {
    grid-area: link;
    display: inline-block;
    width: fit-content;
  }

  .page-home .ticker-label {
    padding: 0 10px;
    font-size: 10px;
  }
}
