/* Apple-style front page */
.tzp-home {
  --page-width: 1100px;
  --page-gap: 22px;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --border: #e5e5ea;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --blue: #0066cc;
  --radius: 22px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.06);
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --h1: clamp(1.72rem, 0.72vw + 1.42rem, 2.02rem);
  --h2: clamp(1.22rem, 0.38vw + 1.08rem, 1.5rem);
  --h3: clamp(1rem, 0.18vw + 0.96rem, 1.12rem);
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

.tzp-home a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.tzp-home main {
  background: var(--bg);
}

.tzp-home .apple-radius {
  border-radius: var(--radius);
}

.tzp-home .apple-shadow {
  box-shadow: var(--shadow);
}

.tzp-home .apple-glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tzp-home .home-hero,
.tzp-home .platforms,
.tzp-home .tzp-hubs,
.tzp-home .home-updates,
.tzp-home .pankou-nav-section,
.tzp-home .home-longform,
.tzp-home .bonus-standalone,
.tzp-home .risk-control-section,
.tzp-home .exit-alternatives,
.tzp-home .review-methodology,
.tzp-home .faq-visible,
.tzp-home .expert-team-inner {
  width: calc(100% - 32px);
  max-width: var(--page-width);
  margin: var(--page-gap) auto;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  box-sizing: border-box;
}

.tzp-home .home-hero {
  margin-top: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fb 100%);
}

.tzp-home .home-hero-title {
  max-width: 900px;
  margin: 0 0 12px;
  color: var(--text);
  font-size: var(--h1);
  line-height: 1.18;
  font-weight: 780;
  letter-spacing: 0;
}

.tzp-home .home-hero-subtitle {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.tzp-home .section-title,
.tzp-home .home-longform > h2,
.tzp-home .bonus-standalone > h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: var(--h2);
  line-height: 1.32;
  font-weight: 760;
  letter-spacing: 0;
}

.tzp-home .section-intro {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.tzp-home .platform-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 18px 0 10px;
}

.tzp-home .pf-btn,
.tzp-home .offer-link-ghost,
.tzp-home .offer-link-cta,
.tzp-home .risk-cta-btn,
.tzp-home .tzp-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.tzp-home .pf-btn[aria-pressed="true"],
.tzp-home .offer-link-cta,
.tzp-home .risk-cta-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.tzp-home .pf-note,
.tzp-home .pf-result {
  color: var(--muted);
  font-size: 0.88rem;
}

.tzp-home .platform-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.tzp-home .platform-card-grid {
  display: grid;
  grid-template-columns: 132px minmax(240px, 300px) minmax(250px, 280px) 150px;
  justify-content: center;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.tzp-home .platform-link .offer-link-ghost,
.tzp-home .platform-link .offer-link-cta {
  width: 100%;
  min-height: 42px;
  padding: 9px 14px;
  box-sizing: border-box;
}

.tzp-home .platform-card-grid.gold {
  border-color: rgba(0, 102, 204, 0.24);
  box-shadow: 0 20px 46px rgba(0, 102, 204, 0.08);
}

.tzp-home .platform-card-grid:hover,
.tzp-home .tzp-hub-card:hover,
.tzp-home .home-update-item:hover,
.tzp-home .pankou-nav-card:hover,
.tzp-home .risk-card:hover,
.tzp-home .alt-card:hover,
.tzp-home .expert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 204, 0.24);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.08);
}

.tzp-home .platform-card-grid.is-hidden {
  display: none;
}

.tzp-home .platform-logo {
  grid-column: 1;
  text-align: center;
}

.tzp-home .platform-logo img {
  width: 118px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
}

.tzp-home .platform-logo-rating,
.tzp-home .rating-visible {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.tzp-home .platform-promo .ribbon {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 760;
}

.tzp-home .platform-promo {
  grid-column: 2;
  min-width: 0;
}

.tzp-home .platform-promo ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: #3a3a3c;
  font-size: 0.92rem;
  line-height: 1.45;
  list-style: none;
}

.tzp-home .platform-promo li {
  position: relative;
  padding-left: 16px;
}

.tzp-home .platform-promo li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
}

.tzp-home .howto-list,
.tzp-home .bonus-standalone ul {
  margin: 0;
  padding-left: 18px;
  color: #3a3a3c;
  line-height: 1.75;
}

.tzp-home .platform-link {
  grid-column: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  align-items: stretch;
  align-self: center;
}

.tzp-home .offer-action-group {
  display: grid;
  gap: 10px;
  width: 100%;
}

.tzp-home .platform-link-meta,
.tzp-home .platform-mobile-meta {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.tzp-home .platform-extra {
  grid-column: 3;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

.tzp-home .evidence-tags,
.tzp-home .platform-evidence-links,
.tzp-home .support-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.tzp-home .platform-evidence-compact {
  display: grid;
  gap: 9px;
}

.tzp-home .e-tag,
.tzp-home .chip,
.tzp-home .platform-evidence-links a {
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
  text-decoration: none;
}

.tzp-home .platform-link-meta {
  display: grid;
  gap: 3px;
  margin-top: 4px;
  text-align: center;
}

.tzp-home .platform-more-info {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  color: var(--muted);
  line-height: 1.75;
}

.tzp-home .tzp-hub-grid,
.tzp-home .rank-criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tzp-home .risk-control-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tzp-home .expert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: none;
  margin: 0 auto;
}

.tzp-home .tzp-hub-card,
.tzp-home .risk-card,
.tzp-home .rank-criteria-grid article,
.tzp-home .expert-card,
.tzp-home .alt-card,
.tzp-home .home-update-item,
.tzp-home .pankou-nav-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.tzp-home .tzp-hub-icon,
.tzp-home .risk-card-icon,
.tzp-home .alt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #eef5ff;
  color: var(--blue);
}

.tzp-home .tzp-hub-title,
.tzp-home .risk-card-title,
.tzp-home .home-update-title {
  color: var(--text);
  font-weight: 760;
  line-height: 1.35;
}

.tzp-home .tzp-hub-desc,
.tzp-home .risk-card-desc,
.tzp-home .expert-role,
.tzp-home .expert-card p,
.tzp-home .home-update-item time {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.tzp-home .home-updates-list,
.tzp-home .pankou-nav-grid,
.tzp-home .alternatives-grid {
  display: grid;
  gap: 10px;
}

.tzp-home .home-update-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.tzp-home .pankou-nav-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tzp-home .pankou-nav-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.tzp-home .pankou-nav-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.tzp-home .pankou-nav-label {
  min-width: 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}

.tzp-home .home-longform li,
.tzp-home .bonus-standalone li {
  margin-bottom: 12px;
}

.tzp-home .bonus-standalone li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.tzp-home .bonus-standalone li:last-child {
  border-bottom: 0;
}

.tzp-home .risk-control-section {
  background: var(--surface);
  color: var(--text);
}

.tzp-home .risk-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tzp-home .alternatives-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tzp-home .alt-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.tzp-home .alt-content h3,
.tzp-home .rank-criteria-grid h3,
.tzp-home .expert-card h3,
.tzp-home .faq-card h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: var(--h3);
  line-height: 1.35;
}

.tzp-home .alt-content p,
.tzp-home .rank-criteria-grid p,
.tzp-home .faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.tzp-home .table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.tzp-home .odds-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

.tzp-home .odds-table caption {
  padding: 12px;
  color: var(--muted);
  text-align: left;
}

.tzp-home .odds-table th,
.tzp-home .odds-table td {
  padding: 12px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.tzp-home .odds-table th {
  background: var(--surface-soft);
  color: var(--text);
  font-size: 0.86rem;
}

.tzp-home .faq-card {
  padding: 0;
  border: 0;
  background: transparent;
}

.tzp-home .faq-card article,
.tzp-home .faq-more {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.tzp-home .faq-more ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tzp-home .faq-more li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.tzp-home .expert-card {
  text-align: left;
}

.tzp-home .expert-more {
  max-width: 560px;
  margin: 16px auto 0;
}

.tzp-home .tzp-avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  margin-bottom: 12px;
}

.tzp-home .fade-in-up {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  html.motion-ready .tzp-home .fade-in-up {
    transform: translateY(12px);
    transition: transform 0.35s var(--ease);
  }

  html.motion-ready .tzp-home .fade-in-up.is-visible,
  html.motion-ready .tzp-home .lazy-block.loaded {
    transform: none;
  }
}

@media (max-width: 980px) {
  .tzp-home .platform-card-grid {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .tzp-home .platform-link,
  .tzp-home .platform-extra {
    grid-column: 1 / -1;
  }

  .tzp-home .platform-extra {
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .tzp-home .platform-link {
    align-items: stretch;
  }

  .tzp-home .tzp-hub-grid,
  .tzp-home .risk-control-grid,
  .tzp-home .rank-criteria-grid,
  .tzp-home .expert-grid,
  .tzp-home .pankou-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tzp-home .home-hero,
  .tzp-home .platforms,
  .tzp-home .tzp-hubs,
  .tzp-home .home-updates,
  .tzp-home .pankou-nav-section,
  .tzp-home .home-longform,
  .tzp-home .bonus-standalone,
  .tzp-home .risk-control-section,
  .tzp-home .exit-alternatives,
  .tzp-home .review-methodology,
  .tzp-home .faq-visible,
  .tzp-home .expert-team-inner {
    width: calc(100% - 24px);
    padding: 20px 16px;
    border-radius: 18px;
  }

  .tzp-home .home-hero-title {
    font-size: clamp(1.62rem, 7vw, 2rem);
  }

  .tzp-home .platform-card-grid,
  .tzp-home .tzp-hub-grid,
  .tzp-home .risk-control-grid,
  .tzp-home .rank-criteria-grid,
  .tzp-home .expert-grid,
  .tzp-home .pankou-nav-grid,
  .tzp-home .alternatives-grid {
    grid-template-columns: 1fr;
  }

  .tzp-home .platform-logo {
    text-align: left;
  }

  .tzp-home .home-update-item,
  .tzp-home .bonus-standalone li,
  .tzp-home .faq-more li {
    flex-direction: column;
    align-items: flex-start;
  }
}
