/* ===== QQ887 shared stylesheet — used by all legal / info pages ===== */
:root{
  --blue:#3D74E1;
  --purple:#7347C1;
  --bg-light:#F4F6FD;
  --text-dark:#1B1D2A;
  --text-mute:#63687D;
  --gold:#FFC542;
  --green:#2ECC71;
  --red:#B9302B;
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  --radius: 16px;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:var(--bg-light);
  color:var(--text-dark);
  display:flex;
  justify-content:center;
  -webkit-font-smoothing:antialiased;
}
.app{
  width:100%;
  max-width:480px;
  min-height:100vh;
  background:var(--bg-light);
  position:relative;
  overflow-x:hidden;
  padding-bottom:90px;
  box-shadow:0 0 40px rgba(0,0,0,0.08);
}
img,svg{display:block;max-width:100%;}
a{text-decoration:none;color:inherit;}
button{font-family:inherit;border:none;cursor:pointer;}
ul{list-style:none;}

/* ===== TOP BAR ===== */
.topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 16px;
  background:#fff;
  position:sticky;top:0;z-index:50;
  box-shadow:0 2px 10px rgba(61,116,225,0.08);
}
.logo{
  display:flex;align-items:center;gap:8px;
  font-weight:900;font-size:20px;
  background:var(--grad);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.logo-badge{
  width:34px;height:34px;border-radius:9px;
  background:var(--grad);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:900;font-size:14px;
  flex-shrink:0;
}
.topbar-cta{
  background:var(--grad);
  color:#fff;font-weight:700;font-size:12.5px;
  padding:9px 14px;border-radius:30px;
  box-shadow:0 4px 12px rgba(115,71,193,0.35);
  white-space:nowrap;
}

/* ===== BREADCRUMB / PAGE HERO ===== */
.page-hero{
  background:var(--grad);
  padding:22px 18px 28px;
  color:#fff;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.page-hero::before{
  content:"";
  position:absolute;inset:0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,0.15) 0%, transparent 45%);
  pointer-events:none;
}
.breadcrumb{
  font-size:11.5px;opacity:0.85;margin-bottom:10px;position:relative;
}
.breadcrumb a{text-decoration:underline;}
.page-hero .ic{font-size:34px;margin-bottom:8px;}
.page-hero h1{font-size:22px;font-weight:900;line-height:1.3;position:relative;}
.page-hero p{font-size:12.5px;opacity:0.9;margin-top:8px;max-width:360px;margin-left:auto;margin-right:auto;position:relative;}

/* ===== CONTENT ===== */
.content{padding:26px 18px;}
.last-updated{
  font-size:11px;color:var(--text-mute);font-weight:600;
  background:#fff;display:inline-block;padding:6px 12px;border-radius:20px;
  margin-bottom:20px;border:1px solid rgba(61,116,225,0.12);
}
.legal-block{
  background:#fff;border-radius:14px;padding:16px;margin-bottom:14px;
  box-shadow:0 4px 14px rgba(61,116,225,0.08);
}
.legal-block h2{
  font-size:15px;font-weight:800;margin-bottom:8px;
  display:flex;align-items:center;gap:8px;
}
.legal-block h2 .num{
  width:24px;height:24px;border-radius:7px;background:var(--grad);
  color:#fff;font-size:12px;font-weight:800;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.legal-block h3{font-size:13px;font-weight:700;margin:10px 0 4px;color:var(--purple);}
.legal-block p{font-size:12.5px;color:var(--text-mute);line-height:1.7;margin-bottom:6px;}
.legal-block ul{margin:6px 0 6px 2px;}
.legal-block ul li{
  font-size:12.5px;color:var(--text-mute);line-height:1.7;
  padding-left:16px;position:relative;margin-bottom:4px;
}
.legal-block ul li::before{
  content:"•";color:var(--purple);font-weight:900;
  position:absolute;left:2px;
}

.notice-box{
  border-radius:12px;padding:12px 14px;margin-bottom:14px;
  font-size:12px;line-height:1.6;font-weight:600;
}
.notice-box.warn{background:rgba(225,75,75,0.1);color:#B23131;border:1px solid rgba(225,75,75,0.25);}
.notice-box.info{background:rgba(61,116,225,0.08);color:var(--blue);border:1px solid rgba(61,116,225,0.2);}
.notice-box.gold{background:rgba(255,197,66,0.15);color:#8A5A00;border:1px solid rgba(255,197,66,0.35);}

/* ===== CONTACT CARDS ===== */
.contact-cards{display:flex;flex-direction:column;gap:12px;}
.contact-card{
  display:flex;align-items:center;gap:12px;
  background:#fff;border-radius:14px;padding:14px;
  box-shadow:0 4px 14px rgba(61,116,225,0.08);
}
.contact-card .ic{
  width:42px;height:42px;border-radius:11px;background:var(--grad);
  color:#fff;font-size:19px;display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.contact-card h2{font-size:13.5px;font-weight:700;}
.contact-card p{font-size:12px;color:var(--text-mute);}
.contact-card a.value{color:var(--purple);font-weight:700;font-size:12.5px;}

/* ===== QUICK LINKS GRID (used on some pages) ===== */
.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:6px;}
.quick-grid a{
  background:#fff;border-radius:12px;padding:12px;text-align:center;
  box-shadow:0 4px 14px rgba(61,116,225,0.08);font-size:11.5px;font-weight:700;
  color:var(--text-dark);
}
.quick-grid a .ic{font-size:20px;display:block;margin-bottom:6px;}

/* ===== BACK-HOME CTA ===== */
.back-cta{
  margin:6px 18px 0;background:var(--grad);border-radius:var(--radius);
  padding:20px 18px;text-align:center;color:#fff;
}
.back-cta h2{font-size:16.5px;font-weight:800;margin-bottom:6px;}
.back-cta p{font-size:12px;opacity:0.9;margin-bottom:14px;}
.back-cta .btn{
  display:inline-block;background:var(--gold);color:#3A2400;font-weight:800;
  font-size:13.5px;padding:12px 22px;border-radius:12px;
  box-shadow:0 8px 20px rgba(255,197,66,0.4);
}

/* ===== FOOTER ===== */
footer{padding:22px 18px 20px;text-align:center;}
.footer-nav{
  display:flex;flex-wrap:wrap;justify-content:center;gap:4px 6px;
  margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid rgba(61,116,225,0.12);
}
.footer-nav a{
  font-size:11px;color:var(--text-mute);font-weight:600;
  display:inline-block;padding:9px 10px;line-height:1.2;border-radius:8px;
}
.footer-nav a:hover{color:var(--purple);background:rgba(115,71,193,0.06);}
.footer-badges{display:flex;justify-content:center;gap:10px;margin-bottom:14px;flex-wrap:wrap;}
.footer-badges span{
  font-size:10px;font-weight:700;color:var(--text-mute);
  background:#fff;padding:6px 10px;border-radius:20px;
  border:1px solid rgba(61,116,225,0.12);
}
.age-warning{
  font-size:10.5px;color:#fff;background:var(--red);
  border-radius:10px;padding:10px 12px;margin-bottom:14px;line-height:1.6;font-weight:600;
}
footer p{font-size:10.5px;color:var(--text-mute);line-height:1.7;}

/* ===== STICKY BOTTOM CTA ===== */
.sticky-cta{
  position:fixed;bottom:0;left:50%;transform:translateX(-50%);
  width:100%;max-width:480px;
  background:#fff;
  padding:10px 14px;
  box-shadow:0 -6px 20px rgba(0,0,0,0.12);
  z-index:100;
  display:flex;align-items:center;gap:10px;
}
.sticky-cta .info{flex:1;}
.sticky-cta .info .l1{font-size:10px;color:var(--text-mute);font-weight:600;}
.sticky-cta .info .l2{font-size:13px;font-weight:800;color:var(--purple);}
.sticky-btn{
  background:var(--grad);color:#fff;font-weight:800;font-size:13.5px;
  padding:12px 20px;border-radius:12px;
  box-shadow:0 6px 16px rgba(115,71,193,0.4);
  white-space:nowrap;
}
