/* HHPOKER 德州扑克 — 独立主题（与 web-hhpoker 区分） */
:root {
  --emerald: #0a5c44;
  --emerald-light: #12a37a;
  --emerald-dark: #063d2e;
  --felt: #0f2922;
  --cream: #f7f3eb;
  --cream-dark: #e8e0d0;
  --copper: #c45c26;
  --copper-light: #e07a3f;
  --ink: #1a1f1e;
  --ink-muted: #5c6b66;
  --white: #ffffff;
  --card-shadow: 0 20px 60px rgba(6, 61, 46, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --max-w: 1180px;
  --header-h: 72px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --font-display: "Noto Serif SC", "Songti SC", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--copper); }

.container {
  width: min(100% - 32px, var(--max-w));
  margin-inline: auto;
}

/* —— 顶栏 —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(15, 41, 34, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand:hover { color: var(--cream); }

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--emerald-light), var(--emerald));
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-family: var(--font-display);
  color: var(--cream);
  border: 2px solid rgba(255,255,255,0.15);
}

.brand-logo {
  height: 36px;
  width: auto;
  max-width: min(172px, 42vw);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.brand-cert {
  height: 28px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  background: var(--white);
  padding: 3px 6px;
  border-radius: 5px;
}

.logo-cert-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.brand--footer {
  display: inline-flex;
  margin-bottom: 12px;
}

.brand--footer .brand-logo {
  height: 32px;
  margin-bottom: 0;
  filter: brightness(1.05);
}

.brand--footer .brand-cert {
  height: 26px;
}

.mock-logo {
  height: 20px;
  width: auto;
  margin: 0 auto;
  opacity: 0.95;
}

/* GLI 认证专区 */
.section--cert {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.cert-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 48px;
  border: 1px solid var(--cream-dark);
  box-shadow: var(--card-shadow);
}

.cert-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--cream-dark);
}

.cert-visual.logo-cert-group {
  gap: 16px;
}

.cert-panel-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.cert-badge {
  width: auto;
  height: 48px;
  max-width: 130px;
  object-fit: contain;
  background: var(--white);
  padding: 4px 8px;
  border-radius: 6px;
  image-rendering: -webkit-optimize-contrast;
}

.cert-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--emerald-dark);
  margin-bottom: 14px;
  line-height: 1.35;
}

.cert-copy p {
  color: var(--ink-muted);
  margin-bottom: 18px;
  font-size: 0.98rem;
}

.cert-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.cert-list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.cert-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald-light);
  font-weight: 700;
}

.bento-icon--img {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  padding: 6px;
}

.bento-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bento-card--cert .bento-icon {
  background: var(--white);
}

.download-panel-brand {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cream-dark);
}

.download-panel-brand.logo-cert-group {
  gap: 14px;
}

.download-logo {
  height: 40px;
  width: auto;
}

.download-cert {
  height: 44px;
  width: auto;
  background: var(--cream);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--cream-dark);
}

.download-panel-left {
  display: flex;
  flex-direction: column;
}

.footer-brand-col {
  grid-column: span 1;
}

.footer-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-trust span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

.footer-cert {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  background: var(--white);
  padding: 4px 8px;
  border-radius: 6px;
}

.page-hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 16px;
  flex-wrap: wrap;
}

.page-hero--logo .page-hero-logo {
  height: 44px;
  width: auto;
  margin: 0;
  display: block;
}

.page-hero-cert {
  height: 36px;
  width: auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 8px;
  border-radius: 6px;
  object-fit: contain;
}

.cert-inline-logo {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

/* App 社区截图 */
.section--gallery {
  background: var(--white);
}

.app-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
}

.app-gallery__item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--cream-dark);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s, border-color 0.25s;
  max-width: 200px;
}

.app-gallery__item--active {
  border-color: var(--emerald-light);
  transform: scale(1.03);
}

.app-gallery__item img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 768px) {
  .app-gallery {
    justify-content: flex-start;
  }

  .app-gallery__item {
    max-width: 160px;
  }

  .app-gallery__item img {
    max-height: 280px;
  }
}

.cert-inline-card {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cert-inline-card .cert-badge {
  flex-shrink: 0;
  background: var(--cream);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-desktop a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: inherit;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(196, 92, 38, 0.35);
}

.btn-primary:hover {
  color: var(--white);
  box-shadow: 0 6px 24px rgba(196, 92, 38, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--emerald-dark);
  border: 1px solid var(--cream-dark);
}

.btn-ghost:hover { background: var(--cream); color: var(--emerald); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 80px;
  background-color: var(--felt);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 41, 34, 0.92) 0%, rgba(15, 41, 34, 0.75) 48%, rgba(15, 41, 34, 0.35) 100%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(18, 163, 122, 0.2), transparent);
  pointer-events: none;
}

.hero-badge-brand {
  flex-wrap: wrap;
  padding: 8px 14px 8px 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-badge-logo {
  height: 26px;
  width: auto;
  object-fit: contain;
}

.hero-badge-cert {
  height: 24px;
  width: auto;
  background: #fff;
  padding: 2px 5px;
  border-radius: 4px;
  object-fit: contain;
}

.hero-badge-text {
  font-size: 0.8rem;
  color: #7ee8c4;
  letter-spacing: 0.04em;
  width: 100%;
  margin-top: 2px;
}

@media (min-width: 480px) {
  .hero-badge-text {
    width: auto;
    margin-top: 0;
    margin-left: 4px;
  }
}

.hero-device {
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

.hero-app-shot {
  width: min(280px, 78vw);
  height: auto;
  border-radius: 28px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge:not(.hero-badge-brand) {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(18, 163, 122, 0.2);
  border: 1px solid rgba(18, 163, 122, 0.4);
  border-radius: 999px;
  font-size: 0.82rem;
  color: #7ee8c4;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--copper-light);
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.stat-item {
  padding: 14px 20px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.stat-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--emerald-light);
}

.stat-item--link {
  text-decoration: none;
  color: inherit;
}

.stat-item--link:hover {
  color: inherit;
  border-color: var(--copper-light);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
}

/* 手机 mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: min(300px, 90%);
  aspect-ratio: 9/19;
  background: linear-gradient(160deg, #1a3d32 0%, #0a2820 100%);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--card-shadow), 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(180deg, #143528 0%, #0d221c 100%);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.mock-header {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mock-table {
  flex: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #1a6b4f 0%, #0d3d2e 70%);
  border: 3px solid rgba(196, 92, 38, 0.5);
  display: grid;
  place-items: center;
  position: relative;
}

.mock-pot {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
}

.mock-cards {
  position: absolute;
  bottom: 20%;
  display: flex;
  gap: 4px;
}

.mini-card {
  width: 28px;
  height: 40px;
  background: var(--white);
  border-radius: 4px;
  font-size: 0.65rem;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.mini-card.red { color: #c0392b; }

.mock-chips {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
}

.chip {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px dashed rgba(255,255,255,0.3);
}

.chip:nth-child(1) { background: var(--copper); }
.chip:nth-child(2) { background: var(--emerald-light); }
.chip:nth-child(3) { background: #2c3e8f; }

.floating-card {
  position: absolute;
  width: 56px;
  height: 78px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  animation: float 4s ease-in-out infinite;
}

.floating-card.fc-1 {
  top: 10%;
  right: -8%;
  color: #c0392b;
  animation-delay: 0s;
}

.floating-card.fc-2 {
  bottom: 18%;
  left: -12%;
  color: var(--ink);
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

/* —— 通用区块 —— */
.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--white);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.3;
}

.section-head p {
  color: var(--ink-muted);
  font-size: 1.02rem;
}

/* Bento 特性 */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--cream-dark);
  transition: transform 0.25s, box-shadow 0.25s;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.bento-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--emerald-dark);
}

.bento-card p {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.bento-card--lg { grid-column: span 6; }
.bento-card--md { grid-column: span 4; }
.bento-card--sm { grid-column: span 3; }
.bento-card--accent {
  background: linear-gradient(145deg, var(--emerald-dark), var(--felt));
  color: var(--white);
  border: none;
}

.bento-card--accent h3,
.bento-card--accent p { color: var(--white); }
.bento-card--accent p { opacity: 0.85; }

/* 下载区 */
.download-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  border: 1px solid var(--cream-dark);
  box-shadow: var(--card-shadow);
}

.download-list {
  list-style: none;
  margin: 24px 0;
}

.download-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--ink-muted);
}

.download-list li::before {
  content: "♠";
  position: absolute;
  left: 0;
  color: var(--emerald);
}

.store-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: var(--felt);
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
}

.store-btn:hover {
  background: var(--emerald-dark);
  color: var(--white);
}

.store-btn small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
  font-weight: 400;
}

.store-btn strong {
  font-size: 1.05rem;
}

.store-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

/* 评价 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--cream-dark);
  position: relative;
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 4rem;
  line-height: 1;
  color: var(--cream-dark);
  font-family: Georgia, serif;
}

.review-stars {
  color: var(--copper);
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.review-card p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-light), var(--emerald));
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.review-author span {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--cream-dark);
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--cream-dark);
}

.faq-q {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--emerald);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.is-open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a-inner {
  padding: 0 24px 20px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.faq-item.is-open .faq-a {
  max-height: 400px;
}

/* SEO 文章区 */
.seo-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.seo-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--cream-dark);
}

.seo-nav h4 {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.seo-nav ul { list-style: none; }
.seo-nav a {
  display: block;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--cream);
}

.seo-nav a:hover { color: var(--emerald); }

.seo-article h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 32px 0 12px;
  color: var(--emerald-dark);
}

.seo-article h3:first-child { margin-top: 0; }

.seo-article p {
  margin-bottom: 14px;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.keyword-tags span {
  padding: 6px 12px;
  background: var(--cream);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* CTA 条 */
.cta-band {
  background: linear-gradient(135deg, var(--emerald-dark), var(--felt));
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.cta-band p {
  opacity: 0.85;
  margin-bottom: 28px;
  max-width: 560px;
  margin-inline: auto;
}

/* 页脚 */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 24px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: rgba(255,255,255,0.6); }
.footer-grid a:hover { color: var(--cream); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.82rem;
}

/* 浮动工具栏 */
.float-bar {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s;
  text-decoration: none;
}

.float-btn:hover { transform: scale(1.08); color: var(--white); }
.float-btn--chat { background: var(--copper); font-size: 1.2rem; }
.float-btn--id { background: var(--emerald); }
.float-btn--club { background: var(--copper); text-decoration: none; }

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--felt);
  padding: 10px 12px;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-bar button,
.mobile-bar a {
  flex: 1;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  text-decoration: none;
}

.mobile-bar button {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.mobile-bar a.primary {
  background: var(--copper);
  color: var(--white);
}

.mobile-bar a:not(.primary) {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-card--highlight {
  border-color: var(--emerald-light);
  background: linear-gradient(135deg, var(--white) 0%, rgba(18, 163, 122, 0.06) 100%);
}

/* 弹窗 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 400px;
  width: 100%;
  padding: 32px;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s;
}

.modal-overlay.is-open .modal {
  transform: scale(1);
}

.modal h3 {
  font-family: var(--font-display);
  margin-bottom: 8px;
  color: var(--emerald-dark);
}

.modal-id {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--copper);
  margin: 20px 0;
  letter-spacing: 0.05em;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink-muted);
}

.modal-wrap { position: relative; }

.toast {
  position: fixed;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--felt);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 内页 */
.page-hero {
  padding: calc(var(--header-h) + 48px) 0 48px;
  background: var(--felt);
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.breadcrumb a { color: rgba(255,255,255,0.8); }

.content-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--cream-dark);
  margin-bottom: 24px;
}

.content-card h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--emerald-dark);
  margin-bottom: 16px;
}

.steps {
  counter-reset: step;
  list-style: none;
}

.steps li {
  counter-increment: step;
  padding: 20px 0 20px 56px;
  border-bottom: 1px solid var(--cream);
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 20px;
  width: 36px;
  height: 36px;
  background: var(--emerald);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* 响应式 */
@media (max-width: 1024px) {
  .bento-card--lg,
  .bento-card--md,
  .bento-card--sm { grid-column: span 6; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .seo-content { grid-template-columns: 1fr; }
  .seo-nav { position: static; }
}

@media (max-width: 768px) {
  .cert-panel {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    text-align: center;
  }

  .cert-visual.logo-cert-group {
    justify-content: center;
    margin: 0 auto;
  }
  .cert-list { grid-template-columns: 1fr; text-align: left; }
  .cert-copy h2 { text-align: center; }

  .nav-desktop { display: none; }
  .nav-desktop.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--felt);
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-toggle { display: flex; }
  .hero-grid,
  .download-panel { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .bento-card--lg,
  .bento-card--md,
  .bento-card--sm { grid-column: span 12; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-bar { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
  .download-panel { padding: 28px; }
  .section { padding: 56px 0; }
}
