:root{
  --red:#E60012;--orange:#F39800;--yellow:#FFF100;--green:#009944;--cyan:#00A0E9;--blue:#0068B7;--purple:#920783;
  --white:#FFFFFF;--offwhite:#F5F5F5;--black:#111111;--text-dark:#222;--text-light:#fff;
  --font-bold:'Helvetica Neue',Helvetica,Arial,'PingFang SC','Microsoft YaHei',sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box;}
body{background:var(--white);color:var(--black);font-family:var(--font-bold);-webkit-font-smoothing:antialiased;overflow-x:hidden;line-height:1.6;}
a{text-decoration:none;color:inherit;}
img{display:block;max-width:100%;object-fit:cover;aspect-ratio:3/4;}
ul{list-style:none;}
h1,h2,h3,h4{line-height:1.1;letter-spacing:-0.03em;}

/* Header */
header{position:fixed;top:0;left:0;width:100%;z-index:1000;background:var(--black);border-bottom:2px solid transparent;border-image:linear-gradient(to right,var(--red),var(--orange),var(--yellow),var(--green),var(--cyan),var(--blue),var(--purple)) 1;}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:0.8rem 2rem;max-width:1440px;margin:0 auto;height:72px;}
.brand{display:flex;align-items:center;gap:12px;color:var(--white);font-size:1.4rem;font-weight:900;}
.brand img{height:32px;width:auto;aspect-ratio:auto;border-radius:4px;}
.nav-links{display:flex;gap:1.5rem;color:var(--white);font-size:0.9rem;}
.nav-links a{opacity:0.8;transition:opacity 0.2s;}
.nav-links a:hover{opacity:1;}
.btn-download{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--black);color:var(--white);padding:0 1.5rem;height:48px;border-radius:50px;font-weight:900;font-size:1.1rem;position:relative;box-shadow:0 0 0 3px var(--black);border:2px solid transparent;background-clip:padding-box;transition:transform 0.2s;}
.btn-download::before{content:'';position:absolute;inset:-4px;z-index:-1;border-radius:50px;background:linear-gradient(to right,var(--red),var(--orange),var(--yellow),var(--green),var(--cyan),var(--blue),var(--purple));}
.btn-download span{font-size:1rem;}
.btn-download:hover{transform:scale(1.05);}
.header-right{display:flex;align-items:center;gap:1rem;}

/* Hero */
.hero{position:relative;min-height:100vh;padding-top:100px;display:flex;overflow:hidden;background:var(--white);}
.hero-wall{position:absolute;top:0;right:0;width:60%;height:100%;display:flex;gap:10px;opacity:0.15;pointer-events:none;z-index:0;mask-image:linear-gradient(to left,black,transparent);-webkit-mask-image:linear-gradient(to left,black,transparent);}
.hero-col{flex:1;display:flex;flex-direction:column;gap:10px;animation:scrollUp 30s linear infinite;}
.hero-col:nth-child(even){animation-direction:reverse;animation-duration:35s;}
.hero-col:nth-child(1){filter:drop-shadow(0 0 20px var(--red)) hue-rotate(0deg);}
.hero-col:nth-child(2){filter:drop-shadow(0 0 20px var(--orange)) hue-rotate(30deg);}
.hero-col:nth-child(3){filter:drop-shadow(0 0 20px var(--yellow)) hue-rotate(60deg);}
.hero-col:nth-child(4){filter:drop-shadow(0 0 20px var(--green)) hue-rotate(120deg);}
.hero-col:nth-child(5){filter:drop-shadow(0 0 20px var(--blue)) hue-rotate(220deg);}
@keyframes scrollUp{0%{transform:translateY(0);}100%{transform:translateY(-50%);}}
.hero-container{position:relative;z-index:1;display:grid;grid-template-columns:1fr 2fr;gap:2rem;max-width:1440px;margin:0 auto;padding:2rem;width:100%;}
.hero-text{display:flex;flex-direction:column;justify-content:center;gap:1.5rem;}
.hero-text h1{font-size:3.5rem;font-weight:900;line-height:1.1;color:var(--black);}
.hero-text p.sub{font-size:1.1rem;color:#555;font-weight:500;}
.hero-actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;}
.btn-sub{display:inline-flex;align-items:center;justify-content:center;background:var(--offwhite);color:var(--black);border:1px solid #ddd;border-radius:8px;height:44px;padding:0 1.2rem;font-size:0.95rem;font-weight:700;transition:background 0.2s;}
.btn-sub:hover{background:#eee;}
.soft-qr{display:none;position:absolute;top:80px;left:0;background:var(--white);padding:1rem;border-radius:8px;box-shadow:0 4px 20px rgba(0,0,0,0.1);z-index:10;}
.soft-qr.show{display:block;}
.soft-qr img{width:120px;height:120px;aspect-ratio:auto;object-fit:contain;border:1px solid #eee;padding:4px;}
.trust-row{font-size:0.85rem;color:#888;display:flex;gap:1.5rem;}
.hero-content{display:flex;flex-direction:column;gap:2rem;}
.main-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;height:360px;}
.card{position:relative;border-radius:8px;overflow:hidden;background:var(--black);transition:transform 0.3s;}
.card:hover{transform:scale(1.02);}
.card img{width:100%;height:100%;object-fit:cover;aspect-ratio:auto;}
.card .tag{position:absolute;bottom:0;left:0;width:100%;padding:0.5rem;background:rgba(0,0,0,0.7);color:var(--white);font-size:0.85rem;font-weight:bold;}
.rank-list{background:var(--offwhite);border-radius:12px;padding:1rem 1.5rem;}
.rank-list h3{font-size:1.2rem;margin-bottom:1rem;display:flex;justify-content:space-between;}
.rank-list ul{display:flex;flex-direction:column;gap:0.8rem;}
.rank-list li{display:flex;align-items:center;gap:1rem;font-size:0.95rem;}
.rank-list img{width:32px;height:auto;aspect-ratio:3/4;border-radius:4px;}
.rank-list .r-num{font-weight:900;color:#aaa;width:20px;}
.rank-list .r-title{flex:1;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rank-list .r-tag{font-size:0.8rem;background:#ddd;padding:2px 6px;border-radius:4px;}
.speed-bar{display:flex;justify-content:space-between;gap:0.5rem;padding:1rem 0;}
.speed-bar a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0.5rem;border-radius:6px;font-size:0.85rem;color:var(--white);font-weight:bold;}
.stats-row{display:flex;justify-content:space-around;padding:1.5rem;background:var(--black);color:var(--white);border-radius:12px;}
.stat-item{text-align:center;}
.stat-item span{display:block;font-size:1.5rem;font-weight:900;}
.stat-item small{font-size:0.8rem;color:#aaa;}

/* Prism */
.prism-sec{padding:6rem 2rem;background:var(--black);color:var(--white);text-align:center;overflow:hidden;}
.prism-svg{max-width:800px;width:100%;margin:0 auto;display:block;}
.prism-desc{margin-top:2rem;color:#888;font-size:1.1rem;}

/* Color Sections */
.color-sec{padding:6rem 2rem;position:relative;overflow:hidden;}
.color-sec:nth-child(even){background:var(--white);color:var(--black);}
.color-sec:nth-child(odd){background:var(--offwhite);color:var(--black);}
.theme-red{background:var(--red);color:var(--white);}
.theme-orange{background:var(--orange);color:var(--white);}
.theme-yellow{background:var(--yellow);color:var(--black);}
.theme-green{background:var(--green);color:var(--white);}
.theme-cyan{background:var(--cyan);color:var(--black);}
.theme-blue{background:var(--blue);color:var(--white);}
.theme-purple{background:var(--purple);color:var(--white);}

.sec-header{margin-bottom:3rem;}
.sec-header h2{font-size:3rem;margin-bottom:1rem;}
.sec-header p{font-size:1.2rem;opacity:0.9;}
.grid-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;}
.card-tag{position:relative;border-radius:8px;overflow:hidden;background:var(--black);}
.card-tag img{width:100%;aspect-ratio:3/4;object-fit:cover;transition:transform 0.3s;}
.card-tag:hover img{transform:scale(1.05);}
.card-tag .info{position:absolute;bottom:0;left:0;width:100%;padding:1rem;background:linear-gradient(to top,rgba(0,0,0,0.9),transparent);color:var(--white);}
.card-tag .info h4{font-size:1.1rem;margin-bottom:0.2rem;}
.card-tag .info p{font-size:0.85rem;color:#ccc;}

/* Merge Section */
.merge-sec{padding:6rem 2rem;background:var(--white);color:var(--black);}
.merge-sec .sec-header h2{color:var(--black);}
/* Footer */
footer{padding:4rem 2rem 2rem;background:var(--offwhite);border-top:1px solid #ddd;font-size:0.85rem;color:#777;}
.footer-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;margin-bottom:3rem;}
.footer-col h4{color:var(--black);font-size:1rem;margin-bottom:1rem;}
.footer-links{display:flex;flex-direction:column;gap:0.5rem;}
.footer-bottom{text-align:center;border-top:1px solid #ddd;padding-top:2rem;display:flex;flex-direction:column;gap:0.5rem;align-items:center;}

/* About Details */
details{margin-top:1rem;font-size:0.85rem;color:#777;}
summary{cursor:pointer;list-style:none;outline:none;}
summary::-webkit-details-marker{display:none;}
.about-content{padding:1rem 0;display:flex;flex-direction:column;gap:0.5rem;}

/* Responsive */
@media(max-width:1024px){
  .hero-container{grid-template-columns:1fr;gap:3rem;}
  .hero-wall{width:100%;opacity:0.08;}
  .main-cards{grid-template-columns:repeat(2,1fr);height:auto;}
  .grid-cards{grid-template-columns:repeat(2,1fr);}
  .footer-inner{grid-template-columns:repeat(2,1fr);}
  .nav-links{display:none;}
}
@media(max-width:768px){
  .hero-text h1{font-size:2.5rem;}
  .prism-svg{height:150px;}
  .sec-header h2{font-size:2rem;}
  .main-cards{display:flex;overflow-x:auto;gap:1rem;padding-bottom:1rem;scroll-snap-type:x mandatory;}
  .main-cards .card{min-width:200px;scroll-snap-align:start;height:280px;}
  .speed-bar{overflow-x:auto;}
  .speed-bar a{min-width:80px;}
  .grid-cards{display:flex;overflow-x:auto;gap:1rem;padding-bottom:1rem;}
  .grid-cards .card-tag{min-width:200px;}
  .footer-inner{grid-template-columns:1fr;}
  .rank-list ul{max-height:300px;overflow-y:auto;}
}
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;}
}

.theme-red .card-tag .info p { color: var(--red); }
.theme-orange .card-tag .info p { color: var(--orange); }
.theme-green .card-tag .info p { color: #a4ffcb; }
.theme-blue .card-tag .info p { color: #90caff; }
.theme-purple .card-tag .info p { color: #f7a8ff; }