/* ============================================================
   娱乐天地会馆 · 共享样式 /assets/site.css
   深海蓝夜场底 · 电光青 + 荧光珊瑚橙高亮 · 暖金节点 · 霓紫筛选态
   ============================================================ */

/* ---------- 01 · Reset ---------- */
*,
*::before,
*::after{box-sizing:border-box;}

html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:36px;
}

body,
h1,h2,h3,h4,p,ul,ol,li,figure,blockquote{margin:0;}
ul,ol{padding:0;list-style:none;}
img,svg,video{display:block;max-width:100%;}
button{font:inherit;color:inherit;background:none;border:0;}
a{color:inherit;}

/* ---------- 02 · 变量 ---------- */
:root{
  --c-deep:#071A2F;
  --c-night:#0E2A48;
  --c-ink:#04101C;
  --c-cyan:#2BE3D6;
  --c-coral:#FF6B4A;
  --c-gold:#F2B75C;
  --c-mist:#9FB6C6;
  --c-paper:#F4F7FA;
  --c-violet:#7A5CFF;
  --c-mint:#7BE0A8;

  --f-display:"PingFang SC","HarmonyOS Sans SC","Source Han Sans SC","Noto Sans SC","Microsoft YaHei",sans-serif;
  --f-body:"PingFang SC","HarmonyOS Sans SC","Source Han Sans SC","Noto Sans SC","Microsoft YaHei",sans-serif;
  --f-mono:"SFMono-Regular","JetBrains Mono",Menlo,Consolas,"Liberation Mono","Courier New",monospace;

  --fs-12:12px;
  --fs-14:14px;
  --fs-16:16px;
  --fs-20:20px;
  --fs-28:28px;
  --fs-40:40px;
  --fs-64:64px;

  --shell:1240px;
  --pad:clamp(20px,4vw,56px);
  --notch:18px;
  --ease:cubic-bezier(0.22,1,0.36,1);
  --t-in:.44s;
  --t-ui:.22s;
  --t-hover:.14s;
}

/* ---------- 03 · 基础排版 ---------- */
body{
  margin:0;
  min-height:100vh;
  font-family:var(--f-body);
  font-size:var(--fs-16);
  line-height:1.75;
  color:var(--c-paper);
  background:
    radial-gradient(120% 90% at 6% -12%, rgba(122,92,255,.20), transparent 62%),
    radial-gradient(90% 70% at 100% 0%, rgba(43,227,214,.11), transparent 60%),
    var(--c-deep);
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

a{color:var(--c-cyan);text-underline-offset:3px;}

::selection{background:var(--c-coral);color:#1B0703;}

:focus-visible{
  outline:2px solid var(--c-cyan);
  outline-offset:3px;
  border-radius:2px;
}

.h-display{
  font-family:var(--f-display);
  font-weight:800;
  font-size:clamp(38px,7vw,var(--fs-64));
  line-height:1.06;
  letter-spacing:.02em;
  margin:0;
}

.h-section{
  font-family:var(--f-display);
  font-weight:800;
  font-size:clamp(24px,3.4vw,var(--fs-40));
  line-height:1.18;
  letter-spacing:.02em;
  margin:0;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--f-mono);
  font-size:11px;
  font-weight:500;
  letter-spacing:.24em;
  line-height:1;
  text-transform:uppercase;
  color:var(--c-cyan);
}
.eyebrow::before{
  content:"";
  width:24px;
  height:2px;
  background:currentColor;
  transform:skewX(-24deg);
  flex:0 0 auto;
}

.lead{
  font-size:17px;
  line-height:1.75;
  color:#D6E3ED;
  max-width:36em;
}

.mono{
  font-family:var(--f-mono);
  font-size:var(--fs-12);
  letter-spacing:.16em;
  color:var(--c-mist);
}

.prose{max-width:38em;}
.prose p{
  position:relative;
  padding-left:20px;
  margin-bottom:1.1em;
  color:#DCE7EF;
}
.prose p::before{
  content:"\203A";
  position:absolute;
  left:0;
  top:0;
  font-family:var(--f-mono);
  color:var(--c-cyan);
}
.prose p:last-child{margin-bottom:0;}

/* ---------- 04 · 布局工具 ---------- */
.shell{
  width:100%;
  max-width:var(--shell);
  margin-inline:auto;
  padding-inline:var(--pad);
}

.grid-12{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:clamp(16px,2.2vw,28px);
}

.stack{display:grid;gap:clamp(16px,2.2vw,26px);}

.section{padding-block:clamp(36px,6vw,72px);}

.section-head{
  display:grid;
  gap:12px;
  margin-bottom:clamp(20px,3vw,34px);
}

.notch{
  clip-path:polygon(0 0,100% 0,100% calc(100% - var(--notch)),calc(100% - var(--notch)) 100%,0 100%);
}

.breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:.16em;
  color:rgba(159,182,198,.9);
}
.breadcrumb a{
  color:var(--c-cyan);
  text-decoration:none;
  border-bottom:1px solid rgba(43,227,214,.35);
}
.breadcrumb a:hover{border-bottom-color:var(--c-cyan);}
.breadcrumb .sep{color:rgba(159,182,198,.45);}

/* ---------- 05 · 按钮 / 芯片 / 标签 ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 24px;
  font-family:var(--f-body);
  font-size:var(--fs-14);
  font-weight:600;
  line-height:1.2;
  letter-spacing:.05em;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%);
  transition:background var(--t-hover) var(--ease),color var(--t-hover) var(--ease),
             transform var(--t-hover) var(--ease),border-color var(--t-hover) var(--ease);
}
.btn--primary{background:var(--c-coral);color:#22090300;color:#220903;}
.btn--primary:hover{background:#ff8266;transform:translateY(-2px);}
.btn--ghost{background:rgba(43,227,214,.06);border-color:rgba(43,227,214,.55);color:var(--c-cyan);}
.btn--ghost:hover{background:rgba(43,227,214,.16);transform:translateY(-2px);}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 16px;
  font-family:var(--f-body);
  font-size:13px;
  font-weight:500;
  line-height:1;
  letter-spacing:.06em;
  color:var(--c-mist);
  background:rgba(159,182,198,.08);
  border:1px solid rgba(159,182,198,.26);
  cursor:pointer;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%);
  transition:color var(--t-hover) var(--ease),background var(--t-hover) var(--ease),
             border-color var(--t-hover) var(--ease);
}
.chip:hover{color:var(--c-paper);border-color:rgba(159,182,198,.55);}
.chip[aria-pressed="true"]{
  background:var(--c-violet);
  border-color:var(--c-violet);
  color:#08122B;
  font-weight:600;
}

.tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 9px;
  font-family:var(--f-mono);
  font-size:11px;
  font-weight:500;
  line-height:1;
  letter-spacing:.14em;
  color:var(--c-cyan);
  background:rgba(43,227,214,.12);
  border:1px solid rgba(43,227,214,.36);
}
.tag--coral{color:var(--c-coral);background:rgba(255,107,74,.12);border-color:rgba(255,107,74,.4);}
.tag--gold{color:var(--c-gold);background:rgba(242,183,92,.12);border-color:rgba(242,183,92,.4);}
.tag--violet{color:#B6A8FF;background:rgba(122,92,255,.18);border-color:rgba(122,92,255,.46);}
.tag--mint{color:var(--c-mint);background:rgba(123,224,168,.12);border-color:rgba(123,224,168,.4);}

/* ---------- 06 · 面板与图片容器 ---------- */
.card{
  position:relative;
  padding:clamp(18px,2.4vw,26px);
  background:linear-gradient(158deg,rgba(14,42,72,.94),rgba(7,26,47,.96));
  border:1px solid rgba(159,182,198,.16);
  clip-path:polygon(0 0,100% 0,100% calc(100% - var(--notch)),calc(100% - var(--notch)) 100%,0 100%);
  transition:border-color var(--t-hover) var(--ease),transform var(--t-hover) var(--ease);
}
.card:hover{border-color:rgba(43,227,214,.5);transform:translateY(-2px);}

.media{
  position:relative;
  overflow:hidden;
  width:100%;
  background:linear-gradient(145deg,var(--c-night),var(--c-ink));
  clip-path:polygon(0 0,100% 0,100% calc(100% - var(--notch)),calc(100% - var(--notch)) 100%,0 100%);
}
.media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(1.08) contrast(1.04);
}
.media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(85% 60% at 18% 0%, rgba(43,227,214,.18), transparent 62%),
    radial-gradient(70% 55% at 92% 100%, rgba(255,107,74,.16), transparent 64%);
}
.media--wide{aspect-ratio:16/9;}
.media--tall{aspect-ratio:3/4;}
.media--square{aspect-ratio:1/1;}

/* ---------- 07 · 跳转链接 / 滚动进度 ---------- */
.skip-link{
  position:fixed;
  top:12px;
  left:12px;
  z-index:400;
  padding:11px 18px;
  font-family:var(--f-body);
  font-size:13px;
  font-weight:600;
  letter-spacing:.04em;
  color:var(--c-ink);
  background:var(--c-cyan);
  text-decoration:none;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%);
  transform:translateY(-160%);
  transition:transform var(--t-ui) var(--ease);
}
.skip-link:focus{transform:translateY(0);}

.scroll-progress{
  --progress:0;
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:3px;
  z-index:300;
  pointer-events:none;
  background:rgba(159,182,198,.14);
}
.scroll-progress::after{
  content:"";
  display:block;
  height:100%;
  width:calc(var(--progress) * 100%);
  background:linear-gradient(90deg,var(--c-cyan),var(--c-violet) 55%,var(--c-coral));
  transition:width .12s linear;
}

/* ---------- 08 · 头部 ---------- */
.site-header{
  position:relative;
  z-index:120;
  background:linear-gradient(180deg,rgba(7,26,47,.98),rgba(14,42,72,.9));
  border-bottom:1px solid rgba(159,182,198,.2);
}
.site-header::before{
  content:"";
  display:block;
  height:3px;
  background:linear-gradient(90deg,var(--c-cyan),var(--c-violet) 38%,var(--c-coral) 74%,var(--c-gold));
}

.header-bar-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px 20px;
  padding-block:18px 14px;
}

.brand{
  position:relative;
  display:inline-flex;
  flex-direction:column;
  gap:7px;
  padding-left:15px;
  text-decoration:none;
  color:var(--c-paper);
}
.brand::before{
  content:"";
  position:absolute;
  left:0;
  top:4px;
  bottom:4px;
  width:3px;
  background:linear-gradient(180deg,var(--c-coral),var(--c-gold));
  transform:skewY(-12deg);
}
.brand-word{display:inline-flex;align-items:center;gap:10px;}
.brand-name{
  font-family:var(--f-display);
  font-weight:800;
  font-size:clamp(20px,3vw,26px);
  line-height:1;
  letter-spacing:.1em;
  color:var(--c-paper);
  text-shadow:2px 2px 0 rgba(43,227,214,.3);
}
.brand-tag{
  font-family:var(--f-mono);
  font-size:11px;
  font-weight:600;
  line-height:1;
  letter-spacing:.22em;
  color:#220903;
  background:var(--c-coral);
  padding:5px 9px 5px 10px;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%);
}
.brand-line{
  font-family:var(--f-mono);
  font-size:11px;
  line-height:1.4;
  letter-spacing:.2em;
  color:var(--c-mist);
}

.header-nav-zone{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  width:100%;
}

.nav-toggle{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
  padding:10px 15px;
  color:var(--c-cyan);
  background:rgba(43,227,214,.07);
  border:1px solid rgba(43,227,214,.5);
  cursor:pointer;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%);
  transition:background var(--t-hover) var(--ease),border-color var(--t-hover) var(--ease);
}
.nav-toggle:hover{background:rgba(43,227,214,.18);border-color:var(--c-cyan);}
.nav-toggle-bars{
  display:inline-flex;
  flex-direction:column;
  justify-content:space-between;
  width:16px;
  height:12px;
}
.nav-toggle-bars i{
  display:block;
  height:2px;
  width:100%;
  background:currentColor;
  transition:transform var(--t-ui) var(--ease),opacity var(--t-ui) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1){transform:translateY(5px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3){transform:translateY(-5px) rotate(-45deg);}
.nav-toggle-label{
  font-family:var(--f-body);
  font-size:12px;
  font-weight:600;
  letter-spacing:.18em;
  line-height:1;
}

.site-nav{
  width:100%;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .34s var(--ease),opacity .2s var(--ease);
}
.site-nav[data-open]{
  max-height:640px;
  opacity:1;
}

.nav-list{
  display:flex;
  flex-direction:column;
  gap:0;
  padding:4px 0 8px;
}
.nav-link{
  display:block;
  padding:13px 2px;
  font-family:var(--f-body);
  font-size:15px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:.06em;
  color:var(--c-mist);
  text-decoration:none;
  border-bottom:1px solid rgba(159,182,198,.12);
  transition:color var(--t-hover) var(--ease),padding-left var(--t-hover) var(--ease);
}
.nav-link:hover{color:var(--c-paper);padding-left:9px;}
.nav-link[aria-current="page"]{
  color:var(--c-paper);
  box-shadow:inset 3px 0 0 var(--c-coral);
  padding-left:12px;
}

.header-tools{
  background:rgba(4,16,28,.62);
  border-top:1px solid rgba(159,182,198,.14);
}
.header-tools-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px 20px;
  padding-block:10px 12px;
}
.tools-index{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-family:var(--f-mono);
  font-size:11px;
  line-height:1;
  letter-spacing:.26em;
  color:var(--c-mist);
  margin:0;
}
.tools-index::before{
  content:"";
  width:14px;
  height:2px;
  background:var(--c-cyan);
  transform:skewX(-24deg);
}
.tools-links{display:flex;flex-wrap:wrap;gap:8px 22px;}
.tool-link{
  font-family:var(--f-body);
  font-size:12px;
  font-weight:500;
  line-height:1.5;
  letter-spacing:.04em;
  color:var(--c-cyan);
  text-decoration:none;
  border-bottom:1px dashed rgba(43,227,214,.42);
  padding-bottom:1px;
  transition:color var(--t-hover) var(--ease),border-color var(--t-hover) var(--ease);
}
.tool-link:hover{color:var(--c-paper);border-bottom-color:var(--c-paper);}
.tool-link--accent{color:var(--c-coral);border-bottom-color:rgba(255,107,74,.46);}
.tool-link--accent:hover{color:#FFB3A1;border-bottom-color:#FFB3A1;}

/* ---------- 09 · 页脚 ---------- */
.site-footer{
  position:relative;
  margin-top:clamp(48px,7vw,96px);
  padding-top:clamp(36px,5vw,64px);
  color:var(--c-mist);
  background:
    repeating-linear-gradient(115deg, rgba(244,247,250,.035) 0 1px, transparent 1px 24px),
    radial-gradient(90% 70% at 14% 0%, rgba(122,92,255,.18), transparent 62%),
    radial-gradient(70% 60% at 92% 10%, rgba(43,227,214,.1), transparent 64%),
    var(--c-ink);
  border-top:1px solid rgba(43,227,214,.24);
  overflow:hidden;
}

.footer-top{
  display:grid;
  gap:10px;
  padding-bottom:clamp(22px,3vw,32px);
  border-bottom:1px solid rgba(159,182,198,.16);
}
.footer-logo{
  font-family:var(--f-display);
  font-weight:800;
  font-size:clamp(26px,4vw,40px);
  line-height:1.1;
  letter-spacing:.08em;
  color:var(--c-paper);
  text-shadow:3px 3px 0 rgba(255,107,74,.26);
}
.footer-motto{
  font-family:var(--f-mono);
  font-size:12px;
  line-height:1.6;
  letter-spacing:.2em;
  color:var(--c-gold);
}

.footer-columns{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(24px,3vw,36px);
  padding-block:clamp(28px,4vw,44px);
}
.footer-col{min-width:0;}
.footer-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 14px;
  font-family:var(--f-mono);
  font-size:11px;
  font-weight:600;
  line-height:1;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--c-cyan);
}
.footer-head::before{
  content:"";
  width:14px;
  height:2px;
  background:var(--c-coral);
  transform:skewX(-24deg);
  flex:0 0 auto;
}
.footer-list{display:grid;gap:11px;}
.footer-link{
  position:relative;
  display:inline-block;
  font-family:var(--f-body);
  font-size:14px;
  line-height:1.6;
  color:var(--c-mist);
  text-decoration:none;
  transition:color var(--t-hover) var(--ease);
}
.footer-link::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-2px;
  height:1px;
  background:rgba(43,227,214,0);
  transition:background var(--t-hover) var(--ease);
}
.footer-link:hover{color:var(--c-paper);}
.footer-link:hover::after{background:rgba(43,227,214,.85);}

.footer-bottom{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px 26px;
  padding-block:20px 30px;
  border-top:1px solid rgba(159,182,198,.16);
  font-family:var(--f-mono);
  font-size:12px;
  line-height:1.7;
  letter-spacing:.05em;
  color:rgba(159,182,198,.84);
}
.footer-copy{margin:0;}
.footer-contact{margin:0;max-width:60ch;}
.footer-legal{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;}

/* ---------- 10 · 显隐 / 筛选状态 ---------- */
[data-filtered-out]{display:none !important;}

[data-reveal]{
  opacity:0;
  transform:translate3d(-16px,18px,0);
  transition:opacity var(--t-in) var(--ease),transform var(--t-in) var(--ease);
}
[data-reveal].is-revealed{opacity:1;transform:none;}

@media (scripting: none){
  [data-reveal]{opacity:1;transform:none;}
}

/* ---------- 11 · 断点 ---------- */
@media (min-width:640px){
  .footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (min-width:861px){
  html{scroll-padding-top:24px;}

  .header-bar-inner{padding-block:26px 18px;gap:28px;}
  .header-nav-zone{
    width:auto;
    flex-wrap:nowrap;
    gap:0;
    margin-left:auto;
  }
  .nav-toggle{display:none;}
  .site-nav{
    width:auto;
    max-height:none;
    overflow:visible;
    opacity:1;
  }
  .nav-list{flex-direction:row;align-items:center;gap:clamp(2px,1vw,14px);padding:0;}
  .nav-link{
    position:relative;
    padding:10px 14px;
    font-size:14px;
    border-bottom:0;
  }
  .nav-link:hover{padding-left:14px;}
  .nav-link[aria-current="page"]{box-shadow:none;padding-left:14px;}
  .nav-link::after{
    content:"";
    position:absolute;
    left:14px;
    right:14px;
    bottom:3px;
    height:2px;
    background:linear-gradient(90deg,var(--c-cyan),var(--c-violet));
    transform:scaleX(0);
    transform-origin:left center;
    transition:transform var(--t-ui) var(--ease);
  }
  .nav-link:hover::after{transform:scaleX(1);}
  .nav-link[aria-current="page"]::after{
    transform:scaleX(1);
    background:linear-gradient(90deg,var(--c-coral),var(--c-gold));
  }

  .footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (min-width:1024px){
  .footer-columns{grid-template-columns:1.15fr 1fr 1fr 1.15fr;}
  .footer-bottom{flex-wrap:nowrap;}
}

/* ---------- 12 · 减少动效 ---------- */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,
  *::before,
  *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  [data-reveal]{opacity:1;transform:none;}
  .scroll-progress::after{transition:none;}
}
