﻿
:root{--blue:#003a92;--red:#dc2626;--bg:#f3f4f6;--text:#0f172a;--muted:#6b7280;--card:#ffffff;--line:#e5e7eb;}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;background:var(--bg);color:var(--text)}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
.container{width:min(430px, calc(100% - 10px));margin:0 auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* fixed header (compact) */
.fixedHeader{position:fixed;top:0;left:0;right:0;z-index:50;border-bottom:1px solid var(--line)}
.topbar{background:var(--blue);color:#fff}
.topbar .row{display:flex;align-items:center;justify-content:space-between;padding:6px 6px}
.brand{display:flex;align-items:center;gap:8px}
.brand img{width:28px;height:28px;border-radius:7px}
.brand strong{font-weight:900;letter-spacing:.2px}
.actions{display:flex;align-items:center;gap:8px}
.joinBtn{display:inline-flex;align-items:center;gap:6px;background:#16a34a;border:2px solid rgba(255,255,255,.4);color:#fff;padding:6px 10px;border-radius:999px;font-weight:900;font-size:12px}
.menuBtn{width:34px;height:34px;border-radius:10px;border:1px solid rgba(255,255,255,.25);display:grid;place-items:center;cursor:pointer}
.subbar{background:#fff}
.subbar .tabs{display:flex}
.subbar a,.subbar span{flex:1;text-align:center;padding:8px 0;font-weight:900;border-right:1px solid #374151;cursor:pointer}
.subbar a:last-child,.subbar span:last-child{border-right:0}
.subbar a.active{color:#7f1d1d;border-bottom:2px solid #7f1d1d}

.main{padding-top:86px}

/* hero + overlay cta */
.heroWrap{position:relative;border-radius:10px;overflow:hidden;background:#000}
.heroWrap img{width:100%}
.heroCta{position:absolute;left:0;right:0;bottom:210px;margin:auto;width:86%;height:0}
.heroCta .download{position:absolute;left:0;right:0;margin:auto;display:block;text-align:center;background:linear-gradient(#ffd27a,#f59e0b);border:3px solid #000;border-radius:999px;padding:14px 0;font-size:22px;font-weight:1000;color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.55)}
.heroBadges{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:8px 0}
.badge{flex:1;background:linear-gradient(#2b1247,#120a24);color:#fff;border-radius:12px;padding:10px;border:1px solid rgba(255,255,255,.14)}
.badge strong{display:block;font-size:14px}
.badge small{opacity:.85;font-weight:800}

/* claim button */
.claimss{margin:10px 0}
.claimss button{width:100%;background:linear-gradient(#36aee0,#1c96d1);border:2px solid #000;color:#fff;border-radius:10px;padding:12px;font-weight:1000;font-size:15px;display:flex;align-items:center;justify-content:center;gap:8px}

/* section title */
.sectionTitle{margin:10px 0 6px 0;background:#b91c1c;color:#fff;border:2px solid #000;border-radius:10px;padding:8px;text-align:center;font-weight:1000}

/* list */
.list .row{display:flex;align-items:center;gap:10px;padding:10px 6px}
.rank{width:22px;text-align:center;color:#9ca3af;font-weight:1000}
.icon{width:56px;height:56px;border-radius:12px;border:1px solid var(--line);background:#fff}
.meta{flex:1}
.meta .name{font-weight:1000;font-size:14px;color:#374151}
.meta .sub{font-weight:900;color:#4b5563;font-size:12px}
.meta .min{font-weight:1000;color:#15803d;font-size:12px}
.dlBtn{background:var(--red);color:#fff;border-radius:12px;padding:10px 14px;font-weight:1000;display:inline-flex;align-items:center;gap:6px;box-shadow:0 10px 18px rgba(220,38,38,.18)}
.hr{height:1px;background:rgba(229,231,235,.9)}

/* search + category buttons */
.searchBar{margin:8px 0;display:flex;gap:8px}
.searchBar input{flex:1;padding:10px 12px;border:1px solid #6b7280;border-radius:12px;background:rgb(225 239 254);outline:none;font-weight:800}
.cats{display:flex;gap:8px;margin:8px 0}
.cats button{flex:1;border-radius:12px;border:1px solid #cbd5e1;background:#fff;padding:10px 8px;font-weight:1000;cursor:pointer}
.cats button.active{background:#2563eb;color:#fff;border-color:#1d4ed8}

/* game icon grid */
.gameGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}
.gameGrid img{border-radius:12px;border:2px solid rgba(255,255,255,.25)}

/* floating join */
.floatJoin{position:fixed;right:10px;top:52%;transform:translateY(-50%);z-index:45}
.floatJoin img{width:72px}

/* footer */
.footer{background:var(--blue);color:#fff;margin-top:12px;padding:14px 10px}
.footer .btns{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:8px 0}
.footer .btns a{background:#0b4aa0;border:1px solid rgba(255,255,255,.2);padding:10px 12px;border-radius:12px;font-weight:1000}
.footer small{display:block;text-align:center;opacity:.85}

/* modal */
.modalOverlay{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;z-index:90}
.modalOverlay.open{display:block}
.modal{position:fixed;inset:0;display:none;z-index:95;align-items:center;justify-content:center;padding:14px}
.modal.open{display:flex}
.modalBox{width:min(420px,100%);background:#fff;border-radius:14px;overflow:hidden;border:1px solid var(--line)}
.modalHead{background:#0f172a;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:12px;font-weight:1000}
.modalBody{padding:12px;color:#111827;max-height:70vh;overflow:auto}
.modalClose{background:transparent;border:0;color:#fff;font-size:18px;font-weight:1000;cursor:pointer}
/*
Theme Name: Rummy Landing Pro
Theme URI: https://example.com/
Author: ChatGPT
Description: Mobile-first App Download Landing Page theme (modal legal pages, no-body app pages), inspired by common rummy landing patterns.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: rummy-landing-pro
*/
.app-faq {
  margin: 20px 0;
}

.app-faq h2 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.faq-item {
  border: 2px solid #111;
  border-radius: 14px;
  margin-bottom: 10px;
  background: #fff;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: bold;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-answer {
  padding: 0 16px 14px;
  font-size: 14px;
  line-height: 1.6;
}
/* Sticky Bottom CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.96);
  padding: 10px 12px;
  z-index: 999;
  box-shadow: 0 -6px 20px rgba(0,0,0,.35);
}

.sticky-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-left img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.sticky-text strong {
  display: block;
  font-size: 14px;
  color: #fff;
  line-height: 1.2;
}

.sticky-text span {
  font-size: 12px;
  color: #cbd5f5;
}

.sticky-btn {
  background: #22c55e;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

/* 防止挡住正文 */

.meta h3 { font-size:16px; margin:0; }
.meta h4 { font-size:14px; margin:2px 0; font-weight:500; }
.meta h5 { font-size:12px; margin:0; font-weight:400; color:#555; }
.faq-item summary h3 {
  font-size: 16px;
  margin: 0;
  font-weight: 600;
  display: inline;
}
.sectionTitle.subtle {
  font-size:14px;
  font-weight:500;
  opacity:.75;
  margin-top:10px;
}
.list .meta h3 { font-size:15px; font-weight:500; }
.list .meta h4 { font-size:13px; font-weight:400; opacity:.85; }
.list .meta h5 { font-size:12px; font-weight:400; opacity:.7; }
/* 让它属于 main 内容，但视觉不占空间（不要 display:none） */
.legal-inline{
  max-height: 1px;
  overflow: hidden;
  opacity: 0.01;
  pointer-events: none;
}
.page-title {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;          /* 灰色 */
  margin: 12px auto 8px;
  text-align: center;
  max-width: 480px;
}
/* === SEO structural content (334 Rummy style) === */
.seo-content{
  max-height: 8px;        /* 关键：极小高度 */
  overflow: hidden;      /* 裁剪 */
  line-height: 1px;      /* 行距压缩 */
  font-size: 1px;        /* 字体压缩 */
  color: transparent;    /* 不显示文字 */
}
/* ===== Play Responsibly / Disclaimer strip (334 Rummy style) ===== */
.play-responsibly {
  background: #0b3c8d;          /* 深蓝但不发亮 */
  color: rgba(255,255,255,.85); /* 不要纯白 */
  font-size: 12px;              /* 明显小于正文 */
  line-height: 1.4;             /* 紧凑 */
  padding: 14px 16px 18px;
  margin-top: 12px;
}

/* 段落之间不要太开 */
.play-responsibly p {
  margin: 0 0 6px;
}

/* 18+ Only 强调，但别太大 */
.play-responsibly strong {
  font-weight: 600;
}

/* 手机端进一步压缩（对标站就是这样） */
@media (max-width: 480px) {
  .play-responsibly {
    font-size: 11px;
    line-height: 1.35;
  }
}
.searchBox {
  max-width: 720px;
  margin: 20px auto 30px;
  padding: 0 12px;
}

.searchBox input {
  width: 100%;
  height: 54px;
  font-size: 18px;
  padding: 0 16px;
  border-radius: 12px;
  border: 2px solid #ddd;
  outline: none;
}

.searchBox input:focus {
  border-color: #ff4d4f;
  box-shadow: 0 0 0 3px rgba(255,77,79,.15);
}
.list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 12px;
}
.heroWrap.slider{
  max-width: 900px;
  margin: 0 auto 18px;
  position: relative;
}
.heroWrap.slider img{
  width: 100%;
  border-radius: 18px;
  display: none;
}
.heroWrap.slider img:first-child{
  display: block;
}
.home-title {
  font-size: 20px;
  font-weight: 500;
  color: #222;          
  margin: 12px auto 8px;
  text-align: center;
  max-width: 480px;
}
