:root{
  --bg-0:#070b11;
  --bg-1:#0b121b;
  --bg-2:#0f1821;
  --grid:#0f1b28;
  --line:rgba(0, 216, 255,.18);
  --primary:#23c9ea;
  --primary-2:#1099c1;
  --accent:#43e07f;
  --text:#e7f1ff;
  --text-2:#9ab0c8;
  --warn:#ffb547;
  --shadow: 0 4px 14px rgba(0,0,0,.35);
  --shadow-soft: 0 2px 8px rgba(0,0,0,.28);
  --glow: 0 0 16px rgba(0,208,255,.10);
  --focus-ring: 0 0 0 3px rgba(0,208,255,.12);
}

*{margin:0;padding:0;box-sizing:border-box;font-family:"PingFang SC","Helvetica Neue",Arial,sans-serif}
body{
  color:var(--text);
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(0,208,255,.05), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(71,244,138,.04), transparent 70%),
    linear-gradient(to bottom, var(--bg-0), var(--bg-1));
  min-height:100vh; line-height:1.6;
}
body::before{
  content:""; position:fixed; inset:0; pointer-events:none; z-index:0;
  background:
    linear-gradient(transparent 31px, rgba(0,208,255,.035) 32px),
    linear-gradient(90deg, transparent 31px, rgba(0,208,255,.035) 32px);
  background-size:32px 32px; opacity:.6;
}

.container{max-width:100%;margin:0 auto;padding:0 15px;position:relative;z-index:1}

header{
  position:sticky; top:0; z-index:100;
  background:
    linear-gradient(180deg, rgba(0,208,255,.06), rgba(0,0,0,0)),
    linear-gradient(135deg, var(--bg-1), #0a1216);
  border-bottom:1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding:16px 0; text-align:center; backdrop-filter:saturate(110%) blur(4px);
}
header .container{display:flex;justify-content:center;align-items:center}
.logo-area{display:flex;align-items:center;justify-content:center;flex-direction:column}
.logo{display:flex;align-items:center;margin-bottom:6px;gap:10px}
.brand-logo{width:40px;height:40px;object-fit:contain;display:block;border:none;border-radius:0;background:none;box-shadow:none;}
.logo h1{
  font-size:24px;font-weight:800;letter-spacing:.4px;
  background:linear-gradient(90deg,var(--primary),var(--accent));
  -webkit-background-clip:text;background-clip:text;color:transparent;
  text-shadow:none;
}
.subtitle{font-size:13px;color:var(--text-2)}

.breadcrumb{padding:10px 0;font-size:12.5px;color:var(--text-2)}
.breadcrumb a{color:var(--primary);text-decoration:none}
.breadcrumb a:hover{opacity:.85}
.breadcrumb span{margin:0 6px;color:#6f859c}

main{margin-top:12px}
section{
  background: var(--bg-2);
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px; margin-bottom:16px; box-shadow: var(--shadow);
  position:relative; overflow:hidden;
}
section::before{
  content:""; position:absolute; left:0; right:0; top:0; height:2px;
  background:linear-gradient(90deg,var(--primary),var(--accent)); opacity:.55;
}
h2{
  font-size:16px;margin-bottom:10px;color:#bfefff;padding-bottom:8px;
  border-bottom:1px dashed var(--line);position:relative
}
h2::after{
  content:"";position:absolute;bottom:-1px;left:0;width:48px;height:2px;background:var(--primary);opacity:.75
}

.countdown-bar{
  margin:6px 0 12px;padding:10px 12px;border:1px dashed rgba(0,208,255,.28);
  border-radius:10px;background:rgba(10,16,22,.7);
  display:flex;align-items:center;gap:10px
}
.countdown-dot{width:6px;height:6px;border-radius:50%;background:var(--warn);opacity:.9;}
.countdown-text{font-size:13.5px;color:#ffdca3}

.input-group{margin-bottom:12px}
.input-group input{
  width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:10px;
  background:#0b1218;color:var(--text);font-size:14px;transition:all .18s
}
.input-group input:focus{outline:none;border-color:var(--primary);box-shadow: var(--focus-ring);}
.input-group input::placeholder{color:#5f7590}

.recharge-options{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.option-card{
  position:relative;text-align:center;
  border:1px solid var(--line);border-radius:10px;padding:12px 10px;
  background:#0d1520; transition: border-color .15s ease, background-color .15s ease; cursor:pointer;
}
.option-card:hover{border-color:rgba(71,244,138,.45)}
.option-card.selected{border-color:rgba(71,244,138,.55);background:#0e1723;}
.amount{font-size:17px;font-weight:800;color:#c8f6ff;margin-bottom:2px;letter-spacing:.2px}
.price{font-size:13.5px;color:var(--text-2)}
.bonus{font-size:12px;color:var(--accent);margin-top:6px;font-weight:700}
.bonus.no-bonus{color:var(--text-2)}

.badge-recommend{
  position:absolute;top:-6px;right:-6px;z-index:3;padding:3px 10px;border-radius:999px;
  background:linear-gradient(90deg,var(--primary),var(--accent));
  color:#001419;font-size:10.5px;font-weight:800;letter-spacing:.5px;
  user-select:none;pointer-events:none;line-height:1;opacity:.9;
}

.payment-methods{display:flex;gap:10px;flex-wrap:nowrap}
.payment-method{
  flex:1;min-width:120px;border:1px solid var(--line);border-radius:10px;padding:12px;text-align:center;
  background:#0d1520; display:flex;flex-direction:column;align-items:center;justify-content:center;
  transition: border-color .15s ease, background-color .15s ease; cursor:pointer;
}
.payment-method:hover{border-color:rgba(0,208,255,.5)}
.payment-method.selected{border-color:rgba(71,244,138,.6);background:#0e1723;}
.pay-icon{width:26px;height:26px;object-fit:contain;margin-bottom:8px;display:block}
.payment-name{font-size:13.5px;color:#d7f6ff}

.btn{
  display:block;width:100%;padding:14px;border:none;border-radius:10px;font-size:15px;font-weight:800;cursor:pointer;letter-spacing:.2px
}
.btn-primary{
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  color:#001019;margin-top:14px;border:1px solid rgba(0,208,255,.45);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{filter:brightness(1.02)}

.recharge-news{margin-top:14px;padding:12px;background:#0b131c;border-radius:10px;border:1px solid var(--line);position:relative;overflow:hidden}
.recharge-news::before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,var(--primary),var(--accent));opacity:.45}
.news-header{display:flex;align-items:center;margin-bottom:8px;font-size:13.5px;color:#8edfff}
.news-icon{margin-right:8px;font-size:15px}
.news-container{height:56px;overflow:hidden;position:relative}
.news-list{position:absolute;width:100%;animation:scrollUp 40s linear infinite}
@keyframes scrollUp{0%{transform:translateY(0)}100%{transform:translateY(-100%)}}
.news-item{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:13.5px;height:28px}
.news-account{color:var(--text-2)}
.news-amount{color:#b6f1ff;font-weight:700}
.news-time{color:#7a94ae;font-size:12px}

.faq-item{margin-bottom:12px;border-bottom:1px dashed var(--line);padding-bottom:12px}
.faq-question{font-weight:800;margin-bottom:6px;font-size:14px;color:#bfefff;position:relative;padding-left:12px}
.faq-question::before{content:"▲";position:absolute;left:0;top:1px;font-size:9px;color:var(--primary);opacity:.85}
.faq-answer{color:var(--text-2);font-size:13.5px;padding-left:12px}

footer{
  margin-top:22px;padding:24px 0 18px;
  background:linear-gradient(180deg, rgba(0,208,255,.05), rgba(0,0,0,0)), linear-gradient(135deg, #071019, #090f16);
  color:var(--text-2);border-top:1px solid var(--line)
}
.footer-content{display:flex;flex-direction:column;gap:14px;text-align:center}
.footer-links{display:flex;flex-wrap:wrap;gap:16px;justify-content:center}
.footer-links a{color:#9cc8de;text-decoration:none;font-size:13.5px}
.footer-links a:hover{opacity:.85}
.copyright{font-size:12px;text-align:center;padding-top:16px;border-top:1px dashed var(--line)}
.beian-info{margin-bottom:6px;font-size:12px}
.beian-info a{color:#9cc8de;text-decoration:none}
.beian-info a:hover{opacity:.85}

@media (min-width:768px){
  .container{max-width:750px}
  .recharge-options{grid-template-columns:repeat(3,1fr)}
  .payment-methods{flex-wrap:nowrap}
  .footer-content{flex-direction:row;justify-content:space-between;text-align:left}
  .footer-links{justify-content:flex-start}
}
@media (min-width:992px){
  .container{max-width:800px}
  .recharge-options{grid-template-columns:repeat(4,1fr)}
}

/* ====== 中置弹窗（与站点同风格） ====== */
.modal-backdrop{
  position:fixed; inset:0; background:rgba(3,10,16,.55);
  backdrop-filter: blur(2px) saturate(110%);
  -webkit-backdrop-filter: blur(2px) saturate(110%);
  z-index:999; opacity:0; pointer-events:none; transition:opacity .18s ease;
}
.modal{
  position:fixed; left:50%; top:50%; transform:translate(-50%,-40%) scale(.96);
  width:calc(100% - 32px); max-width:420px; z-index:1000;
  background:linear-gradient(180deg,#0b121b,#0b141c);
  border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow), var(--glow);
  opacity:0; pointer-events:none; transition:opacity .18s ease, transform .18s ease;
  overflow:hidden;
}
.modal.active{opacity:1; transform:translate(-50%,-50%) scale(1); pointer-events:auto;}
.modal-backdrop.active{opacity:1; pointer-events:auto;}
.modal::before{
  content:""; position:absolute; left:0; right:0; top:0; height:2px;
  background:linear-gradient(90deg,var(--primary),var(--accent)); opacity:.75;
}
.modal-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px; border-bottom:1px dashed var(--line);
}
.modal-title{
  font-size:15px; font-weight:800; color:#bfefff; letter-spacing:.2px;
}
.modal-close{
  background:transparent; border:none; color:#9cc8de; font-size:18px; cursor:pointer; line-height:1;
  padding:6px; border-radius:8px;
}
.modal-close:hover{ background:rgba(0,208,255,.08); }
.modal-body{
  padding:14px 16px; color:var(--text-2); font-size:14px;
}
.modal-actions{
  display:flex; gap:10px; padding:14px 16px; border-top:1px dashed var(--line);
}
.btn-secondary{
  flex:1; padding:12px; border-radius:10px; border:1px solid var(--line); background:#0d1520; color:#d7f6ff; font-weight:700; cursor:pointer;
}
.btn-secondary:hover{ border-color:rgba(0,208,255,.5) }
.btn-accent{
  flex:1; padding:12px; border-radius:10px;
  border:1px solid rgba(0,208,255,.45);
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  color:#001019; font-weight:800; cursor:pointer;
}
.btn-accent:hover{ filter:brightness(1.02) }
