/* styles.css - mobile-first aesthetic */
:root{
  --bg:#061026;
  --card:#0f1724;
  --accent1:#7c3aed;
  --accent2:#ec4899;
  --muted: #9aa4b2;
  --glass: rgba(255,255,255,0.04);
}

*{box-sizing:border-box}
html,body{
    width: 100%;
    height:100%}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial;
  background:linear-gradient(180deg,var(--bg), #021026 120%);
  color: #e6eef8;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding:16px;
}

/* container */
.container{
  /* max-width:720px; */
  margin:0 auto;
}

/* header */
.header{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.logo{
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover; /* 推荐，避免图片变形 */
  /* width:44px;height:44px;border-radius:10px; */
  /* display:flex;align-items:center;justify-content:center; */
  box-shadow:0 6px 18px rgba(12,15,30,0.6);
}
.site-title{font-size:16px;font-weight:700;line-height:1}
.site-sub{font-size:12px;color:var(--muted)}

/* nav */
.nav{
  display:flex;
  gap:8px;
  margin:12px 0 18px 0;
}
.nav a{
  flex:1;
  text-align:center;
  padding:10px 8px;
  border-radius:10px;
  text-decoration:none;
  color:inherit;
  background:var(--glass);
  border:1px solid rgba(255,255,255,0.03);
  font-size:14px;
}
.nav a.active{
  background:linear-gradient(90deg,var(--accent1),var(--accent2));
  color:white;
  box-shadow:0 8px 24px rgba(124,58,237,0.18);
  font-weight:600;
}

/* banner */
.banner{
  width:100%;
  border-radius:14px;
  overflow:hidden;
  background:#111827;
  box-shadow: 0 10px 30px rgba(2,6,23,0.6);
}
.banner img{display:block;width:100%;height:420px;object-fit:cover}

/* card */
.card{
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding:14px;border-radius:12px;margin-top:12px;border:1px solid rgba(255,255,255,0.03);
}
.h1{font-size:30px;font-weight:800;margin:6px 0}
.h2{font-size:20px;font-weight:500;margin:6px 0}
.lead{color:var(--muted);font-size:16px;line-height:1.5}

/* footer */
.footer{margin:18px 0 60px 0;text-align:center;color:var(--muted);font-size:13px}

/* responsive tweaks */
@media(min-width:768px){
  .banner img{height: 486px;}
  body{padding:24px}
  .site-title{font-size:18px}
}
