/* R星51精选漫画 - xcxeen.cn stylesheet (variant A) */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background:linear-gradient(135deg,#0f0c29 0%,#302b63 50%,#24243e 100%);
  background-attachment:fixed;
  color:#f5f5f7;
  line-height:1.6;
  min-height:100vh;
  overflow-x:hidden;
}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none;transition:color .25s ease}
a:hover{color:#22d3ee}

/* ---------- glass nav ---------- */
.xc7k-nav{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  backdrop-filter:saturate(180%) blur(18px);
  -webkit-backdrop-filter:saturate(180%) blur(18px);
  background:rgba(15,12,41,.55);
  border-bottom:1px solid rgba(255,255,255,.08);
  transition:all .3s ease;
}
.xc7k-nav-wrap{
  max-width:1280px;margin:0 auto;padding:14px 24px;
  display:flex;align-items:center;gap:24px;
}
.xc7k-logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px;flex-shrink:0}
.xc7k-logo svg{width:34px;height:34px;filter:drop-shadow(0 0 10px #7c3aed)}
.xc7k-nav-list{display:flex;list-style:none;gap:6px;flex:1}
.xc7k-nav-list a{
  display:inline-block;padding:8px 14px;border-radius:10px;font-size:14px;
  transition:all .2s;
}
.xc7k-nav-list a:hover{background:rgba(255,255,255,.08);color:#22d3ee}
.xc7k-search{
  position:relative;flex:0 0 280px;
}
.xc7k-search input{
  width:100%;padding:10px 16px 10px 40px;border-radius:999px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);
  color:#fff;font-size:14px;outline:none;transition:all .25s;
}
.xc7k-search input::placeholder{color:rgba(245,245,247,.5)}
.xc7k-search input:focus{
  background:rgba(255,255,255,.12);border-color:#7c3aed;
  box-shadow:0 0 0 4px #7c3aed33;
}
.xc7k-search::before{
  content:"";position:absolute;left:14px;top:50%;transform:translateY(-50%);
  width:16px;height:16px;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") no-repeat center/contain;
  opacity:.6;pointer-events:none;
}
.xc7k-burger{display:none;background:none;border:0;color:#fff;font-size:26px;cursor:pointer}

/* ---------- hero ---------- */
.xc7k-hero{
  padding:140px 24px 80px;max-width:1280px;margin:0 auto;
  display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:center;
}
.xc7k-hero h1{
  font-size:clamp(32px,5vw,56px);line-height:1.1;font-weight:800;
  background:linear-gradient(135deg,#7c3aed,#ec4899);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  margin-bottom:20px;
}
.xc7k-hero p{font-size:17px;color:rgba(245,245,247,.78);margin-bottom:28px;max-width:560px}
.xc7k-cta{display:inline-flex;gap:14px;flex-wrap:wrap}
.xc7k-btn{
  display:inline-block;padding:12px 28px;border-radius:999px;font-weight:600;
  background:linear-gradient(135deg,#7c3aed,#ec4899);
  color:#fff;box-shadow:0 10px 30px #7c3aed55;transition:transform .2s,box-shadow .2s;
}
.xc7k-btn:hover{transform:translateY(-2px);box-shadow:0 14px 36px #7c3aed77;color:#fff}
.xc7k-btn-ghost{
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);box-shadow:none;
}
.xc7k-hero-art{position:relative;border-radius:24px;overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,.5);
  border:1px solid rgba(255,255,255,.1);
}
.xc7k-hero-art img{width:100%;height:420px;object-fit:cover}

/* ---------- section ---------- */
.xc7k-section{max-width:1280px;margin:0 auto;padding:60px 24px}
.xc7k-section h2{
  font-size:clamp(24px,3vw,34px);font-weight:700;margin-bottom:8px;
}
.xc7k-section .sub{color:rgba(245,245,247,.6);margin-bottom:28px}

/* ---------- breadcrumb ---------- */
.xc7k-crumb{
  max-width:1280px;margin:90px auto 0;padding:14px 24px 0;
  font-size:13px;color:rgba(245,245,247,.6);
}
.xc7k-crumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px}
.xc7k-crumb li:not(:last-child)::after{content:" / ";opacity:.5;margin-left:6px}

/* ---------- categories ---------- */
.xc7k-cats{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.xc7k-cat{
  position:relative;overflow:hidden;border-radius:18px;aspect-ratio:1;
  border:1px solid rgba(255,255,255,.08);cursor:pointer;
  transition:transform .3s, box-shadow .3s;
}
.xc7k-cat img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.xc7k-cat:hover img{transform:scale(1.08)}
.xc7k-cat:hover{box-shadow:0 14px 40px #7c3aed55}
.xc7k-cat-label{
  position:absolute;left:0;right:0;bottom:0;padding:14px;
  background:linear-gradient(transparent,rgba(0,0,0,.85));
  font-weight:600;
}

/* ---------- comic grid ---------- */
.xc7k-grid{display:grid;gap:20px}
.xc7k-card{
  position:relative;overflow:hidden;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.xc7k-card:hover{box-shadow:0 24px 60px rgba(0,0,0,.55)}
.xc7k-card .xc7k-thumb{position:relative;overflow:hidden;aspect-ratio:3/4}
.xc7k-card .xc7k-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.xc7k-card:hover .xc7k-thumb img{transform:scale(1.06)}
.xc7k-card .xc7k-meta{padding:14px 16px}
.xc7k-card h3{font-size:15px;font-weight:600;margin-bottom:6px;line-height:1.35}
.xc7k-card .desc{font-size:12.5px;color:rgba(245,245,247,.6);line-height:1.5}
.xc7k-tags{margin-top:10px;display:flex;flex-wrap:wrap;gap:6px}
.xc7k-tag{
  font-size:11px;padding:3px 10px;border-radius:999px;
  background:#7c3aed33;color:#22d3ee;
  border:1px solid #7c3aed66;
}

/* ---------- video card ---------- */
.xc7k-video-grid{display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.xc7k-video{
  position:relative;overflow:hidden;border-radius:16px;aspect-ratio:16/9;
  border:1px solid rgba(255,255,255,.08);cursor:pointer;
}
.xc7k-video img{width:100%;height:100%;object-fit:cover;transition:transform .5s, filter .3s}
.xc7k-video:hover img{transform:scale(1.06);filter:brightness(.55)}
.xc7k-video .xc7k-mask{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  opacity:0;transition:opacity .3s;
  background:radial-gradient(circle at center, rgba(0,0,0,.0) 0%, rgba(0,0,0,.4) 100%);
}
.xc7k-video:hover .xc7k-mask{opacity:1}
.xc7k-play{
  width:64px;height:64px;border-radius:50%;
  background:linear-gradient(135deg,#7c3aed,#ec4899);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 30px #7c3aed88;
  transform:scale(.85);transition:transform .3s;
}
.xc7k-video:hover .xc7k-play{transform:scale(1)}
.xc7k-play svg{width:26px;height:26px;fill:#fff;margin-left:4px}
.xc7k-video-info{
  position:absolute;left:0;right:0;bottom:0;padding:14px 16px;
  background:linear-gradient(transparent,rgba(0,0,0,.9));
}
.xc7k-video-info h4{font-size:14px;font-weight:600;margin-bottom:4px}
.xc7k-video-info p{font-size:12px;color:rgba(245,245,247,.7);line-height:1.4}

/* ---------- reviews ---------- */
.xc7k-reviews{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.xc7k-review{
  padding:20px;border-radius:16px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
}
.xc7k-review-head{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.xc7k-review-head img{width:42px;height:42px;border-radius:50%;object-fit:cover}
.xc7k-review-head .name{font-weight:600;font-size:14px}
.xc7k-review-head .stars{color:#fbbf24;font-size:12px}
.xc7k-review p{font-size:13.5px;color:rgba(245,245,247,.78);line-height:1.6}

/* ---------- contact ---------- */
.xc7k-contact{
  display:grid;gap:24px;grid-template-columns:1.1fr .9fr;align-items:start;
}
.xc7k-contact-card{
  padding:24px;border-radius:18px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
}
.xc7k-contact-card h3{margin-bottom:14px;font-size:18px;font-weight:600}
.xc7k-contact-card ul{list-style:none;display:grid;gap:10px;font-size:14px;color:rgba(245,245,247,.8)}
.xc7k-contact-card img{border-radius:14px;margin-bottom:14px}
.xc7k-qr-row{display:flex;gap:18px;margin-top:14px}
.xc7k-qr-row figure{text-align:center;font-size:12px;color:rgba(245,245,247,.65)}
.xc7k-qr-row img{width:120px;height:120px;border-radius:12px;background:#fff;padding:8px}

/* ---------- share ---------- */
.xc7k-share{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap}
.xc7k-share a{
  width:42px;height:42px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);
  transition:all .25s;
}
.xc7k-share a:hover{background:linear-gradient(135deg,#7c3aed,#ec4899);transform:translateY(-2px)}
.xc7k-share svg{width:18px;height:18px;fill:#fff}

/* ---------- FAQ ---------- */
.xc7k-faq details{
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
  border-radius:14px;padding:14px 18px;margin-bottom:10px;
  transition:background .25s;
}
.xc7k-faq details[open]{background:rgba(255,255,255,.07)}
.xc7k-faq summary{
  cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;
}
.xc7k-faq summary::-webkit-details-marker{display:none}
.xc7k-faq summary::after{content:"+";font-size:20px;transition:transform .25s}
.xc7k-faq details[open] summary::after{content:"−"}
.xc7k-faq-body{margin-top:10px;color:rgba(245,245,247,.75);font-size:14px;line-height:1.7;animation:xc7k-fade .3s ease}
@keyframes xc7k-fade{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}

/* ---------- footer ---------- */
.xc7k-footer{
  margin-top:60px;padding:48px 24px 28px;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.25);
}
.xc7k-footer-wrap{
  max-width:1280px;margin:0 auto;
  display:grid;gap:32px;grid-template-columns:1.4fr 1fr 1fr 1fr;
}
.xc7k-footer h4{font-size:14px;margin-bottom:14px;color:#fff}
.xc7k-footer ul{list-style:none;display:grid;gap:8px;font-size:13px;color:rgba(245,245,247,.65)}
.xc7k-footer .copy{
  max-width:1280px;margin:32px auto 0;padding-top:18px;
  border-top:1px solid rgba(255,255,255,.06);
  text-align:center;font-size:12px;color:rgba(245,245,247,.5);
}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .xc7k-nav-list{display:none}
  .xc7k-burger{display:inline-block}
  .xc7k-search{flex:0 0 160px}
  .xc7k-hero{grid-template-columns:1fr;padding-top:110px}
  .xc7k-hero-art img{height:260px}
  .xc7k-contact{grid-template-columns:1fr}
  .xc7k-footer-wrap{grid-template-columns:1fr 1fr}
  .xc7k-nav-list.open{
    display:flex;flex-direction:column;position:absolute;top:100%;left:0;right:0;
    background:rgba(15,12,41,.95);padding:16px;gap:0;
    backdrop-filter:blur(18px);
  }
  .xc7k-nav-list.open a{display:block;padding:12px}
}
@media (max-width:560px){
  .xc7k-search{display:none}
  .xc7k-footer-wrap{grid-template-columns:1fr}
  .xc7k-qr-row{flex-wrap:wrap}
}


.xc7k-card { border-radius: 22px; }
.xc7k-card:hover { transform: translateY(-8px) rotate(-0.5deg); }
.xc7k-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

