/* Pairo · 官网样式
 * 品牌取自 app_icon：薄荷青绿渐变 + 珊瑚红 + 暖黄点缀
 * 极简现代，刻意区别于老式金红 Vegas 棋牌风
 */

:root {
  /* 品牌色 */
  --mint:        #76DCC5;
  --mint-deep:   #23BFA3;
  --mint-ink:    #0E5E50;
  --coral:       #FF6F61;
  --sun:         #FFD24D;

  /* 中性 */
  --ink:         #15241F;
  --ink-2:       #4A5C56;
  --ink-3:       #7C8C86;
  --line:        #E2EEEA;
  --bg:          #F4FBF9;
  --surface:     #FFFFFF;
  --footer:      #102420;

  /* 圆角 / 阴影 */
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(20, 70, 60, 0.06);
  --shadow-md: 0 18px 48px rgba(20, 70, 60, 0.12);
  --shadow-lg: 0 40px 90px rgba(13, 80, 68, 0.22);

  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC',
               'Segoe UI', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mint-ink);
  background: rgba(118, 220, 197, 0.18);
  padding: 6px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-deep); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--ink-2); font-size: 18px; margin-top: 14px; }

/* ─── Buttons ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 14px;
  border: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--mint-deep); color: var(--mint-ink); }

/* App store 风格按钮 */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  padding: 12px 22px; border-radius: 14px;
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn .st { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn .st small { font-size: 11px; opacity: .8; font-weight: 500; }
.store-btn .st b { font-size: 17px; font-weight: 700; }
.store-btn .soon {
  position: absolute; top: -9px; right: -9px;
  background: var(--sun); color: #4a3a00;
  font-size: 10px; font-weight: 800; letter-spacing: .03em;
  padding: 2px 8px; border-radius: 999px;
}

/* ─── Nav ───────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 251, 249, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; height: 70px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 21px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; gap: 30px; margin-left: 18px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden;
  font-size: 13px; font-weight: 700;
}
.lang-toggle button {
  background: transparent; border: none; cursor: pointer;
  padding: 6px 13px; color: var(--ink-3);
}
.lang-toggle button.active { background: var(--ink); color: #fff; }
.nav-cta { display: inline-flex; }

/* ─── Hero ──────────────────────────── */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); margin: 22px 0 20px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--mint-deep), var(--coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 19px; color: var(--ink-2); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 18px; }
.hero-note { font-size: 13.5px; color: var(--ink-3); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-note .pip { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .pip svg { width: 15px; height: 15px; color: var(--mint-deep); }

/* 背景柔光 */
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0; pointer-events: none; }
.blob.a { width: 460px; height: 460px; background: var(--mint); top: -120px; right: -80px; }
.blob.b { width: 380px; height: 380px; background: var(--sun); bottom: -160px; left: -120px; opacity: .35; }
.hero-grid, .hero .wrap { position: relative; z-index: 1; }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; position: relative; }
.phone {
  width: 290px; height: 600px; background: #1F1F2E;
  border-radius: 42px; border: 9px solid #0d0d16;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden; flex-shrink: 0;
  transform: rotate(-3deg);
}
.phone::before {
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 24px; background: #000; border-radius: 14px; z-index: 5;
}
.scr { position: absolute; inset: 0; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #242438, #1b1b2a); padding: 52px 16px 18px; color: #fff; }
.scr-top { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.scr-top .ava { width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--coral)); flex-shrink: 0; }
.scr-top .who b { font-size: 13px; display: block; }
.scr-top .who span { font-size: 11px; color: #9090a8; }
.scr-top .near { margin-left: auto; font-size: 10px; font-weight: 700; color: #0E5E50;
  background: var(--mint); padding: 3px 9px; border-radius: 999px; }
.hl-card { background: #2A2A40; border-radius: 16px; padding: 14px; margin-bottom: 12px;
  border: 1px solid #3a3a55; }
.hl-card .tag { font-size: 10px; font-weight: 800; color: #1F1F2E; background: var(--sun);
  padding: 3px 8px; border-radius: 6px; display: inline-block; margin-bottom: 9px; }
.hl-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.hl-card p { font-size: 11.5px; color: #9090a8; line-height: 1.45; }
.hl-card .meta { display: flex; gap: 14px; margin-top: 11px; font-size: 11px; color: #b8b8cc; }
.hl-card .meta span { display: inline-flex; align-items: center; gap: 5px; }
.scr-tabs { margin-top: auto; display: flex; justify-content: space-around;
  padding-top: 12px; border-top: 1px solid #3a3a55; }
.scr-tabs .t { font-size: 9px; color: #6e6e85; display: flex; flex-direction: column;
  align-items: center; gap: 4px; }
.scr-tabs .t.on { color: var(--mint); }
.scr-tabs .t i { width: 18px; height: 18px; border-radius: 6px; background: currentColor; opacity: .85; }

/* 浮动游戏小卡 */
.float-chip {
  position: absolute; background: #fff; border-radius: 14px; padding: 11px 15px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; z-index: 3;
}
.float-chip .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  font-size: 16px; color: #fff; }
.float-chip.c1 { top: 60px; left: -18px; animation: floaty 5s ease-in-out infinite; }
.float-chip.c2 { bottom: 120px; right: -26px; animation: floaty 6s ease-in-out infinite .8s; }
.float-chip.c3 { bottom: 28px; left: 0px; animation: floaty 5.5s ease-in-out infinite .4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ─── 信任条 ─────────────────────────── */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust .wrap { display: flex; flex-wrap: wrap; gap: 18px 48px; justify-content: center;
  padding: 26px 24px; }
.trust .item { display: flex; align-items: center; gap: 11px; }
.trust .item .n { font-size: 26px; font-weight: 800; color: var(--mint-deep); }
.trust .item .l { font-size: 13.5px; color: var(--ink-2); font-weight: 600; line-height: 1.25; }

/* ─── Sections ───────────────────────── */
section.pad { padding: 92px 0; }
section.pad.alt { background: var(--surface); }

/* Why — 特性卡 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 28px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
section.alt .feature { background: var(--bg); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature .ficon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  margin-bottom: 20px; color: #fff; }
.feature .ficon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 21px; margin-bottom: 10px; }
.feature p { color: var(--ink-2); font-size: 15.5px; }

/* Games */
.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.game {
  position: relative; border-radius: var(--r-md); padding: 22px 20px; overflow: hidden;
  color: #fff; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .18s ease, box-shadow .18s ease;
}
.game:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-md); }
.game .g-emoji { font-size: 30px; }
.game .g-name { font-size: 18px; font-weight: 800; margin-top: auto; }
.game .g-meta { font-size: 12.5px; opacity: .9; font-weight: 600; margin-top: 3px; }
.game.more {
  background: var(--surface); color: var(--ink); border: 2px dashed var(--mint-deep);
  align-items: flex-start; justify-content: center; text-align: left;
}
.game.more .g-name { color: var(--mint-ink); }
.game.more .g-meta { color: var(--ink-2); opacity: 1; }
.game.more .plus { font-size: 30px; color: var(--mint-deep); font-weight: 800; line-height: 1; }

/* Showcase split (nearby / highlights) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev .split-text { order: 2; }
.split-text h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 16px; }
.split-text p { color: var(--ink-2); font-size: 17px; margin-bottom: 20px; }
.split-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.split-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; }
.split-list li .chk { width: 24px; height: 24px; border-radius: 8px; background: rgba(118,220,197,.22);
  display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.split-list li .chk svg { width: 14px; height: 14px; color: var(--mint-deep); }
.split-list li b { font-weight: 700; }

/* 视觉卡：附近玩家 / 高光 */
.viz { background: linear-gradient(150deg, var(--mint), var(--mint-deep)); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.viz.warm { background: linear-gradient(150deg, #FFE39A, var(--coral)); }
.viz .mini {
  background: rgba(255,255,255,.96); border-radius: 16px; padding: 15px 17px; margin-bottom: 13px;
  display: flex; align-items: center; gap: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.10);
}
.viz .mini:last-child { margin-bottom: 0; }
.viz .mini .ava { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--mint), var(--coral)); }
.viz .mini .info { flex: 1; min-width: 0; }
.viz .mini .info b { font-size: 15px; display: block; }
.viz .mini .info span { font-size: 12.5px; color: var(--ink-3); }
.viz .mini .act { font-size: 12px; font-weight: 800; padding: 7px 14px; border-radius: 999px;
  background: var(--ink); color: #fff; flex-shrink: 0; }
.viz .mini .dist { font-size: 11px; font-weight: 800; color: var(--mint-ink);
  background: rgba(118,220,197,.3); padding: 4px 9px; border-radius: 999px; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: 32px; padding: 60px 48px;
  text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); max-width: 680px; margin: 0 auto 14px; }
.cta-band p { color: rgba(255,255,255,.7); font-size: 18px; max-width: 560px; margin: 0 auto 30px; }
.cta-stores { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.socials { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.socials a { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(255,255,255,.10); transition: background .15s, transform .15s; }
.socials a:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.socials a svg { width: 22px; height: 22px; color: #fff; }
.cta-band .glow { position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: var(--mint-deep); filter: blur(90px); opacity: .35; top: -160px; left: 50%;
  transform: translateX(-50%); }
.cta-band > * { position: relative; z-index: 1; }

/* ─── Footer ─────────────────────────── */
footer { background: var(--footer); color: #c7d6d1; padding: 64px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.foot-brand .brand { color: #fff; margin-bottom: 14px; }
.foot-brand p { font-size: 14px; color: #8ba39c; max-width: 280px; }
.foot-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #fff;
  margin-bottom: 16px; font-weight: 700; }
.foot-col a, .foot-col span { display: block; font-size: 14.5px; color: #a8bdb6; margin-bottom: 11px;
  transition: color .15s; }
.foot-col a:hover { color: var(--mint); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: 13px; color: #7d948d; }
.foot-bottom .disc { max-width: 640px; }

/* ─── 法务页 ─────────────────────────── */
.legal { padding: 60px 0 90px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 10px; }
.legal .updated { color: var(--ink-3); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 23px; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--mint-deep); font-weight: 600; }
.back-home { display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  color: var(--mint-ink); margin-bottom: 30px; }

/* ─── 响应式 ─────────────────────────── */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-text { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .hero { padding: 40px 0 60px; }
  section.pad { padding: 64px 0; }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 44px 24px; border-radius: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .nav-cta { display: none; }
}
