*,*::before,*::after{box-sizing:border-box}

html{
scroll-behavior:smooth;
-webkit-text-size-adjust:100%;
color-scheme:dark;
}

:root{
--red:#ff0000;
--vio:#8b00ff;
--ink:#261717;
--paper:#f9f2f1;
--dim:#cfb9b7;
--glass:rgba(255,255,255,.10);
--glass2:rgba(255,255,255,.17);
--edge:rgba(255,255,255,.22);
--edge2:rgba(255,255,255,.36);
--blur:16px;
--r:10px;
--shadow:0 18px 48px rgba(12,4,4,.48);
}

body{
margin:0;
font-family:"Noto Sans Arabic","Noto Naskh Arabic",-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
font-size:17px;
line-height:1.78;
color:var(--paper);
background-color:#1b0f0f;
overflow-x:hidden;
background-image:
radial-gradient(58vw 58vw at 10% -6%,rgba(255,0,0,.42),transparent 60%),
radial-gradient(62vw 62vw at 94% 2%,rgba(139,0,255,.42),transparent 62%),
radial-gradient(84vw 60vw at 50% 106%,rgba(255,0,0,.18),transparent 72%),
linear-gradient(#2b1a1a,#1a0f0f 66%);
background-attachment:fixed;
}

img{max-width:100%;height:auto;display:block}
a{color:var(--paper);text-decoration:none}
a:focus-visible,button:focus-visible{outline:2px solid var(--edge2);outline-offset:3px}

.page{position:relative;z-index:2;min-height:100vh}

/* ---------- 光晕背景层 ---------- */
.aura{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.aura span{position:absolute;display:block;border-radius:50%;filter:blur(70px);opacity:.5}
.aura span:nth-child(1){width:44vw;height:44vw;left:-10vw;top:6vh;background:radial-gradient(circle,rgba(255,0,0,.85),transparent 68%)}
.aura span:nth-child(2){width:40vw;height:40vw;right:-8vw;top:26vh;background:radial-gradient(circle,rgba(139,0,255,.9),transparent 68%)}
.aura span:nth-child(3){width:52vw;height:34vw;left:24vw;bottom:-12vh;background:radial-gradient(circle,rgba(255,90,90,.6),transparent 70%)}

/* ---------- 页头：细条 → 品牌行 → 菜单行 ---------- */
.masthead{position:relative;z-index:30}

.strip{
display:flex;
align-items:center;
gap:14px;
padding:8px 18px;
background:rgba(20,10,10,.55);
border-bottom:1px solid rgba(255,255,255,.12);
backdrop-filter:blur(10px);
-webkit-backdrop-filter:blur(10px);
}
.strip-line{
margin:0;
font-size:12px;
letter-spacing:.28em;
line-height:1.6;
color:rgba(255,255,255,.72);
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}
.strip-rule{
flex:1;
height:1px;
background:linear-gradient(90deg,rgba(255,0,0,.7),rgba(139,0,255,.7),transparent);
}

.brandrow{
display:flex;
justify-content:center;
padding:14px 18px 10px;
}
.brand{
display:inline-flex;
align-items:center;
gap:12px;
padding:8px 16px;
border-radius:999px;
border:1px solid var(--edge);
background:var(--glass);
backdrop-filter:blur(var(--blur));
-webkit-backdrop-filter:blur(var(--blur));
box-shadow:inset 0 1px 0 rgba(255,255,255,.28),var(--shadow);
min-height:44px;
transition:transform .3s ease,border-color .3s ease,background .3s ease;
}
.brand:hover{transform:translateY(-2px);border-color:var(--edge2);background:var(--glass2)}
.brand-logo{width:28px;height:28px;border-radius:6px;object-fit:cover}
.brand-dot{
width:14px;height:14px;border-radius:50%;
background:conic-gradient(from 20deg,var(--red),var(--vio),var(--red));
box-shadow:0 0 14px rgba(255,0,0,.8);
}
.brand-name{font-size:17px;font-weight:500;letter-spacing:.14em}

.navline{
position:sticky;
top:0;
z-index:40;
background:rgba(24,12,12,.62);
border-top:1px solid rgba(255,255,255,.10);
border-bottom:1px solid rgba(255,255,255,.14);
backdrop-filter:blur(18px) saturate(140%);
-webkit-backdrop-filter:blur(18px) saturate(140%);
box-shadow:0 8px 26px rgba(10,3,3,.35);
}
.nav{padding:4px 10px}
.navlist{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:2px 4px;
margin:0;
padding:0;
list-style:none;
}
.navlist a{
display:inline-flex;
align-items:center;
min-height:44px;
padding:0 13px;
border-radius:999px;
font-size:15px;
letter-spacing:.04em;
color:rgba(255,255,255,.86);
transition:background .25s ease,color .25s ease,box-shadow .25s ease;
}
.navlist a:hover{
background:linear-gradient(120deg,rgba(255,0,0,.34),rgba(139,0,255,.34));
color:#fff;
box-shadow:inset 0 1px 0 rgba(255,255,255,.4);
}

/* ---------- 主视觉 ---------- */
.hero{
position:relative;
display:flex;
align-items:center;
justify-content:center;
min-height:70vh;
padding:64px 20px 74px;
overflow:hidden;
isolation:isolate;
}
.hero-media{position:absolute;inset:0;z-index:-2;overflow:hidden}
.hero-media img,
.hero-img{
width:100%;
height:100%;
object-fit:cover;
transform:scale(1.06);
will-change:transform;
}
.hero.has-media .hero-media::after{
content:"";
position:absolute;inset:0;
background:
linear-gradient(180deg,rgba(28,14,14,.72),rgba(28,14,14,.42) 42%,rgba(24,12,12,.94)),
radial-gradient(70% 70% at 50% 30%,rgba(255,0,0,.34),transparent 70%);
backdrop-filter:blur(2px);
-webkit-backdrop-filter:blur(2px);
}
.hero-glow{
position:absolute;
z-index:-1;
width:min(78vw,760px);
height:min(78vw,760px);
border-radius:50%;
background:radial-gradient(circle,rgba(139,0,255,.34),rgba(255,0,0,.26) 45%,transparent 70%);
filter:blur(40px);
pointer-events:none;
}
.hero-inner{
position:relative;
width:100%;
max-width:900px;
text-align:center;
}
.hero-title{
margin:0 auto;
max-width:18em;
font-size:clamp(30px,6.2vw,62px);
font-weight:600;
line-height:1.2;
letter-spacing:.02em;
text-wrap:balance;
text-shadow:0 6px 30px rgba(12,4,4,.72),0 0 1px rgba(255,255,255,.4);
}
.chips{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:10px;
margin:26px 0 0;
padding:0;
list-style:none;
}
.chips li{
padding:7px 16px;
border-radius:999px;
font-size:14px;
letter-spacing:.1em;
color:#fff;
background:rgba(255,255,255,.14);
border:1px solid var(--edge);
backdrop-filter:blur(var(--blur));
-webkit-backdrop-filter:blur(var(--blur));
box-shadow:inset 0 1px 0 rgba(255,255,255,.4);
animation:float 6s ease-in-out infinite;
}
.chips li:nth-child(2){animation-delay:-2s}
.chips li:nth-child(3){animation-delay:-4s}
@keyframes float{
0%,100%{transform:translateY(0)}
50%{transform:translateY(-6px)}
}

/* ---------- 主体框架：左栏目录 + 右栏内容 ---------- */
.shell{
display:grid;
grid-template-columns:244px minmax(0,1fr);
gap:0 30px;
max-width:1160px;
margin:0 auto;
padding:42px 20px 30px;
align-items:start;
}

.rail{
grid-column:1;
grid-row:1 / span 2;
position:sticky;
top:74px;
align-self:start;
padding:18px 16px;
border-radius:var(--r);
background:var(--glass);
border:1px solid var(--edge);
backdrop-filter:blur(var(--blur));
-webkit-backdrop-filter:blur(var(--blur));
box-shadow:inset 0 1px 0 rgba(255,255,255,.24),var(--shadow);
}
.rail-title{
margin:0 0 10px;
font-size:13px;
letter-spacing:.32em;
color:var(--dim);
}
.rail-list{
margin:0;
padding:0;
list-style:none;
counter-reset:rail;
}
.rail-list li{counter-increment:rail}
.rail-list a{
display:flex;
align-items:center;
gap:9px;
min-height:42px;
padding:6px 8px;
border-radius:8px;
font-size:15px;
color:rgba(255,255,255,.84);
transition:background .25s ease,color .25s ease;
}
.rail-list a::before{
content:counter(rail,decimal-leading-zero);
font-size:11px;
letter-spacing:.06em;
color:rgba(255,255,255,.42);
}
.rail-list a:hover{background:rgba(255,255,255,.13);color:#fff}

main > section{grid-column:2;min-width:0}

.lede{
grid-row:1;
position:relative;
padding:clamp(20px,3.2vw,34px);
border-radius:var(--r);
background:var(--glass);
border:1px solid var(--edge);
backdrop-filter:blur(var(--blur));
-webkit-backdrop-filter:blur(var(--blur));
box-shadow:inset 0 1px 0 rgba(255,255,255,.26),var(--shadow);
}
.lede::before{
content:"";
position:absolute;
left:clamp(20px,3.2vw,34px);
top:0;
width:76px;
height:2px;
background:linear-gradient(90deg,var(--red),var(--vio));
}
.lede-title{
margin:6px 0 0;
font-size:clamp(21px,2.6vw,28px);
font-weight:600;
line-height:1.35;
letter-spacing:.06em;
}
.subtitle{
margin:10px 0 0;
font-size:16px;
line-height:1.8;
color:var(--dim);
}
.lede-figure{
margin:22px 0 0;
border-radius:var(--r);
overflow:hidden;
border:1px solid var(--edge);
background:rgba(255,255,255,.06);
}
.lede-img{width:100%;height:auto;object-fit:cover}
.lede-void{
height:96px;
background:
linear-gradient(115deg,rgba(255,0,0,.34),rgba(139,0,255,.34) 55%,rgba(255,255,255,.1)),
radial-gradient(60% 120% at 20% 0%,rgba(255,255,255,.32),transparent 70%);
}

/* ---------- 正文区 ---------- */
.body{
grid-row:2;
margin-top:26px;
}
.body > section{
position:relative;
margin:0 0 22px;
padding:clamp(20px,3.2vw,34px);
border-radius:var(--r);
background:rgba(255,255,255,.075);
border:1px solid rgba(255,255,255,.16);
backdrop-filter:blur(12px);
-webkit-backdrop-filter:blur(12px);
box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 12px 34px rgba(10,3,3,.34);
scroll-margin-top:84px;
}
.body > section + section::before{
content:"";
position:absolute;
left:clamp(20px,3.2vw,34px);
right:clamp(20px,3.2vw,34px);
top:-12px;
height:1px;
background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);
}
.body h2{
margin:0 0 12px;
font-size:clamp(20px,2.4vw,26px);
line-height:1.4;
letter-spacing:.04em;
border-left:3px solid var(--red);
padding-left:12px;
}
.body h3{
margin:26px 0 10px;
font-size:19px;
line-height:1.5;
letter-spacing:.04em;
color:#ffe9e8;
}
.body p{margin:0 0 15px}
.body ul,.body ol{margin:0 0 16px;padding-left:22px}
.body li{margin:0 0 8px}
.body li::marker{color:var(--red)}
.body a{
color:#fff;
border-bottom:1px solid rgba(255,0,0,.7);
transition:border-color .25s ease,color .25s ease;
}
.body a:hover{border-color:var(--vio);color:#ffd9d8}
.body strong{color:#fff;font-weight:600}
.body blockquote{
margin:0 0 16px;
padding:12px 16px;
border-left:2px solid var(--vio);
background:rgba(139,0,255,.12);
border-radius:0 8px 8px 0;
color:#f0e2ff;
}
.body figure{margin:0 0 16px}
.body img{border-radius:8px}
.body table{
display:block;
width:100%;
overflow-x:auto;
border-collapse:collapse;
margin:0 0 16px;
}
.body th,.body td{padding:10px 12px;border:1px solid rgba(255,255,255,.18);text-align:left}
.body th{background:rgba(255,255,255,.1)}
.body code{
font-size:15px;
padding:2px 6px;
border-radius:6px;
background:rgba(0,0,0,.34);
}
.body pre{
overflow-x:auto;
padding:14px;
border-radius:8px;
background:rgba(0,0,0,.38);
border:1px solid rgba(255,255,255,.14);
}
.body pre code{padding:0;background:none}

/* ---------- 页脚 ---------- */
.foot{
position:relative;
z-index:2;
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:16px 22px;
max-width:1160px;
margin:26px auto 0;
padding:34px 20px 40px;
border-top:1px solid rgba(255,255,255,.16);
}
.foot p{margin:0}
.foot-cta{
grid-column:1 / -1;
display:flex;
justify-content:center;
padding:22px 18px;
margin-bottom:8px;
border-radius:var(--r);
border:1px solid var(--edge);
background:
linear-gradient(120deg,rgba(255,0,0,.30),rgba(139,0,255,.30)),
var(--glass);
backdrop-filter:blur(var(--blur));
-webkit-backdrop-filter:blur(var(--blur));
box-shadow:inset 0 1px 0 rgba(255,255,255,.34),var(--shadow);
}
.foot-cta a{
font-size:clamp(19px,2.4vw,24px);
font-weight:600;
letter-spacing:.14em;
padding:8px 18px;
border-radius:999px;
min-height:44px;
display:inline-flex;
align-items:center;
transition:transform .3s ease;
}
.foot-cta a:hover{transform:translateY(-2px)}
.foot-brand{font-size:15px;letter-spacing:.16em;color:#fff}
.foot-col{display:flex;flex-direction:column;gap:2px;font-size:15px}
.foot-col a{
display:inline-flex;
align-items:center;
min-height:40px;
color:rgba(255,255,255,.82);
transition:color .25s ease,transform .25s ease;
}
.foot-col a:hover{color:#fff;transform:translateX(3px)}
.foot-note{
grid-column:1 / 3;
align-self:center;
margin-top:12px;
padding-top:14px;
border-top:1px solid rgba(255,255,255,.12);
font-size:14px;
color:var(--dim);
}
.foot-small{
grid-column:3 / 5;
align-self:center;
justify-self:end;
margin-top:12px;
padding-top:14px;
border-top:1px solid rgba(255,255,255,.12);
font-size:14px;
}
.foot-small a{
display:inline-flex;
align-items:center;
min-height:40px;
padding:0 12px;
border-radius:999px;
border:1px solid var(--edge);
background:var(--glass);
}
.foot-small a:hover{background:var(--glass2)}

/* ---------- 滚动显现 ---------- */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}
.js .reveal.in{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
html{scroll-behavior:auto}
*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
.js .reveal{opacity:1;transform:none}
}

/* ---------- 平板 ---------- */
@media (max-width:900px){
.shell{grid-template-columns:1fr;gap:22px;padding:30px 16px 20px}
.rail{
grid-column:1;
grid-row:auto;
position:static;
order:2;
}
.rail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 10px}
main > section{grid-column:1;grid-row:auto}
.lede{order:1}
.body{order:3;margin-top:0}
.hero{min-height:64vh;padding:52px 18px 60px}
.foot{grid-template-columns:repeat(2,minmax(0,1fr))}
.foot-note{grid-column:1 / 2;border-top:0;text-align:left}
.foot-small{grid-column:2 / 3;justify-self:end}
}

/* ---------- 手机 ---------- */
@media (max-width:620px){
body{font-size:16px}
.strip{padding:6px 14px}
.brandrow{padding:12px 14px 8px}
.nav{padding:2px 8px}
.navlist a{font-size:14px;padding:0 10px;min-height:42px}
.hero{min-height:58vh;padding:44px 16px 52px}
.hero-title{font-size:clamp(26px,8.4vw,36px);max-width:100%}
.chips li{font-size:13px;padding:6px 13px}
.shell{padding:24px 14px 16px}
.rail-list{grid-template-columns:1fr}
.foot{grid-template-columns:1fr;padding:26px 14px 34px}
.foot-cta{padding:18px 14px}
.foot-note,.foot-small{grid-column:1;justify-self:start}
.foot-note{margin-bottom:0}
.body h2{font-size:20px}
}

button[aria-expanded]{min-width:44px;min-height:44px}
