:root{
  --bg1:#0c0e18;
  --bg2:#060a14;
  --cardDark:#1b1e2b;
  --cardDark2:#171a26;
  --cardLight:#1b1e2b;
  --text:#e9edf6;
  --muted:#a9b1c5;
  --gold:#f3c36f;
  --gold2:#e0a84f;
  --blue:#1596ff;
  --blue2:#0a6fe5;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background: radial-gradient(1200px 700px at 50% -10%, #1a1f3a 0%, var(--bg1) 45%, var(--bg2) 100%);
  color:var(--text);
}

.page{
  max-width:420px;
  margin:0 auto;
  min-height:100%;
}

.banner{
  height:160px;
  background: linear-gradient(90deg,#f2d09b 0%, #e7be78 55%, #d7a35a 100%);
  padding:14px 16px;
  display:flex;
  gap:12px;
  border-bottom-left-radius:18px;
  border-bottom-right-radius:18px;
}
.banner__left{flex:1; min-width:0}
.banner__title{
  font-weight:700;
  font-size:18px;
  letter-spacing:.5px;
  color:#1b1b1b;
  margin-top:2px;
}
.banner__bullets{margin-top:10px; display:flex; flex-direction:column; gap:8px}
.bullet{display:flex; align-items:center; gap:8px; color:#2a2a2a; font-size:13px}
.bullet__dot{
  width:16px;height:16px;border-radius:50%;
  background: rgba(0,0,0,.08);
  position:relative;
}
.bullet__dot:after{
  content:"";
  position:absolute; inset:4px 5px 5px 4px;
  border-right:2px solid #2a2a2a;
  border-bottom:2px solid #2a2a2a;
  transform: rotate(45deg);
  opacity:.9;
}
.banner__right{width:110px; display:flex; justify-content:flex-end; align-items:flex-end}
.banner__avatar{
  width:92px;height:132px;
  border-radius:14px;
  background:
    radial-gradient(80px 80px at 50% 25%, rgba(255,255,255,.75) 0%, rgba(255,255,255,.2) 55%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.15));
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.content{padding:14px 16px 26px}
.topbar{display:flex; align-items:flex-end; justify-content:space-between; margin-top:4px}
.topbar__title{font-weight:800; font-size:18px}
.topbar__link{
  color:rgba(255,255,255,.85);
  font-size:12px;
  text-decoration:none;
}
.topbar__link span{color:#ffffff; text-decoration:underline}

.plans{margin-top:10px}
.plan-grid{display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px}
.plan{
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:12px 10px 10px;
  text-align:center;
  position:relative;
  cursor:pointer;
  appearance:none;
  background:transparent;
  color:inherit;
}
.plan:active{transform: translateY(1px)}
.plan--dark{
  background: linear-gradient(180deg,var(--cardDark) 0%, var(--cardDark2) 100%);
  box-shadow: 0 10px 20px rgba(0,0,0,.25);
}
.plan--light{
  background: linear-gradient(180deg, #1b1e2b 0%, var(--cardLight) 100%);
  color:#ffffff;
  box-shadow: 0 10px 20px rgba(0,0,0,.18);
}
.plan.is-selected{
  outline: 2px solid rgba(243,195,111,.9);
  box-shadow: 0 0 0 4px rgba(243,195,111,.18), 0 14px 26px rgba(0,0,0,.28);
}
.plan__badge{
  position:absolute;
  left:10px;
  top:-9px;
  padding:3px 7px;
  border-radius:10px;
  font-size:10px;
  font-weight:700;
  border:1px solid rgba(0,0,0,.12);
}
.plan__badge--gold{background: linear-gradient(180deg,#ffe4a8,#f1c773); color:#6b3d00}
.plan__badge--gray{background: rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.18); color:#e9edf6}
.plan__name{font-size:13px; font-weight:800; margin-top:8px}
.plan__price{margin-top:6px; display:flex; align-items:flex-end; justify-content:center; gap:2px}
.plan__yen{font-size:14px; opacity:.9}
.plan__amount{font-size:28px; font-weight:900; letter-spacing:.5px}
.plan__amount--big{font-size:32px}
.plan__sub{margin-top:4px; font-size:11px; opacity:.72}
.plan--light .plan__sub{opacity:.85}
.plan--light .plan__amount{color:#ffffff}

.paybtn{
  width:100%;
  margin-top:14px;
  border:0;
  border-radius:14px;
  padding:14px 14px;
  background: linear-gradient(180deg,var(--blue) 0%, var(--blue2) 100%);
  color:#fff;
  font-size:18px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow: 0 14px 30px rgba(21,150,255,.28);
  cursor:pointer;
}
.paybtn:active{transform: translateY(1px)}
.paybtn__icon{
  width:26px;height:26px;border-radius:8px;
  background: rgba(255,255,255,.16);
  display:flex;align-items:center;justify-content:center;
}
.paybtn__icon svg{filter: drop-shadow(0 2px 4px rgba(0,0,0,.22))}

.agree{
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:12px;
  color:rgba(255,255,255,.78);
}
.agree input{width:14px;height:14px}
.agree a{color:#cfe7ff; text-decoration:underline}

.quick{
  margin-top:14px;
  background: linear-gradient(180deg, #f4e5cf 0%, #e8d3b6 100%);
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:10px 8px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px;
}
.quick__item{display:flex; flex-direction:column; align-items:center; gap:6px; padding:8px 0}
.quick__icon{
  width:44px;height:34px;border-radius:12px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.62));
  display:flex;align-items:center;justify-content:center;
  color:#2a2a2a;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.quick__label{font-size:12px; color:#1d1d1d}

.rights{
  margin-top:14px;
  border-radius:16px;
}
.rights__bar{
  background: linear-gradient(180deg, #f5e7d4 0%, #e9d5bb 100%);
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  padding:10px 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#6b3d00;
  font-weight:900;
  letter-spacing:.5px;
}
.rights__crown{
  width:26px;height:18px;border-radius:9px;
  background: rgba(0,0,0,.06);
  display:flex;align-items:center;justify-content:center;
  color:#6b3d00;
}
.rights__panel{
  margin-top:10px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  padding:12px 12px 12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.rights__row{
  display:flex; align-items:flex-start; gap:10px;
  color:rgba(255,255,255,.88);
  font-size:12.5px;
  line-height:1.45;
}
.rights__dot{
  width:18px;height:18px;border-radius:50%;
  background: rgba(21,150,255,.22);
  position:relative;
  flex:0 0 auto;
  margin-top:1px;
}
.rights__dot:after{
  content:"";
  position:absolute; left:6px; top:4px;
  width:5px; height:9px;
  border-right:2px solid #ffffff;
  border-bottom:2px solid #ffffff;
  transform: rotate(45deg);
  opacity:.95;
}

.foot{
  margin-top:14px;
  padding:8px 2px 0;
  color:rgba(255,255,255,.62);
  font-size:12px;
}
.foot__title{color:rgba(255,255,255,.72); font-weight:800; margin-bottom:6px}
.foot__desc{line-height:1.6}
.foot__links{
  margin-top:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.foot__links a{color:rgba(255,255,255,.78); text-decoration:underline}

