/* app-index-20260208.css: concatenated critical CSS for homepage to reduce render-blocking requests */

/* ---- BEGIN tailwind.generated.css ---- */
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.top-0{top:0}.z-10{z-index:10}.z-40{z-index:40}.-mx-4{margin-left:-1rem;margin-right:-1rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-16{height:4rem}.h-28{height:7rem}.h-auto{height:auto}.min-h-\[1\.5em\]{min-height:1.5em}.w-10{width:2.5rem}.w-16{width:4rem}.w-28{width:7rem}.w-full{width:100%}.max-w-4xl{max-width:56rem}.max-w-6xl{max-width:72rem}.max-w-none{max-width:none}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem*var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem*var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-t{border-top-width:1px}.border-cyan-500\/20{border-color:rgba(6,182,212,.2)}.border-gray-700\/20{border-color:rgba(55,65,81,.2)}.border-gray-700\/30{border-color:rgba(55,65,81,.3)}.border-pink-500\/20{border-color:rgba(236,72,153,.2)}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-cyan-500\/5{--tw-gradient-from:rgba(6,182,212,.05) var(--tw-gradient-from-position);--tw-gradient-to:rgba(6,182,212,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-pink-500\/5{--tw-gradient-from:rgba(236,72,153,.05) var(--tw-gradient-from-position);--tw-gradient-to:rgba(236,72,153,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-transparent{--tw-gradient-to:transparent var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-7{padding:1.75rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-10{padding-bottom:2.5rem}.pb-16{padding-bottom:4rem}.pt-12{padding-top:3rem}.pt-6{padding-top:1.5rem}.text-center{text-align:center}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-6xl{font-size:3.75rem;line-height:1}.text-\[0\.6rem\]{font-size:.6rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-4{line-height:1rem}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.tracking-\[0\.25em\]{letter-spacing:.25em}.tracking-\[0\.2em\]{letter-spacing:.2em}.tracking-\[0\.3em\]{letter-spacing:.3em}.tracking-wide{letter-spacing:.025em}.text-cyan-200{--tw-text-opacity:1;color:rgb(165 243 252/var(--tw-text-opacity,1))}.text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-pink-300{--tw-text-opacity:1;color:rgb(249 168 212/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.outline{outline-style:solid}.drop-shadow{--tw-drop-shadow:drop-shadow(0 1px 2px rgba(0,0,0,.1)) drop-shadow(0 1px 1px rgba(0,0,0,.06))}.drop-shadow,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-md{--tw-backdrop-blur:blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\:opacity-100:hover{opacity:1}@media (min-width:640px){.sm\:ml-2{margin-left:.5rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:gap-4{gap:1rem}.sm\:self-center{align-self:center}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width:768px){.md\:-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.md\:flex{display:flex}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:p-10{padding:2.5rem}.md\:p-8{padding:2rem}.md\:pt-16{padding-top:4rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-8xl{font-size:6rem;line-height:1}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1024px){.lg\:-mx-8{margin-left:-2rem;margin-right:-2rem}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* ---- END tailwind.generated.css ---- */

/* ---- BEGIN fonts-local.css ---- */
/* Localized Orbitron font to avoid external Google Fonts dependency */
@font-face {
  font-family: 'Orbitron';
  src: url('/assets/fonts/orbitron-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('/assets/fonts/orbitron-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('/assets/fonts/orbitron-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('/assets/fonts/orbitron-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('/assets/fonts/orbitron-latin-800-normal.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('/assets/fonts/orbitron-latin-900-normal.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---- END fonts-local.css ---- */

/* ---- BEGIN base.css ---- */
/**
 * K4电竞 - 基础样式层（底盘）
 * 职责：设计 tokens、通用组件、装饰模块基类
 * 禁止：页面定位、背景图、Hero/Contact 特定样式
 */

/* ===== 设计 Tokens ===== */
:root {
  /* 颜色系统 */
  --bg: #05070a;
  --panel: rgba(255,255,255,.045);
  --line: rgba(255,255,255,.09);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --cyan: #22d3ee;
  --pink: #fb7185;
  
  /* Z-index 层级系统 */
  --z-deco: 0;
  --z-content: 1;
  --z-header: 40;
  --z-loader: 9999;
  
  /* 圆角系统 */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Glow 系统 */
  --glow-sm: 0 0 10px rgba(34,211,238,.1);
  --glow-md: 0 0 22px rgba(34,211,238,.1), 0 0 34px rgba(251,113,133,.06);
  --glow-lg: 0 0 30px rgba(34,211,238,.2), 0 0 50px rgba(251,113,133,.1);
  
  /* Premium Pass: 战术HUD质感 tokens */
  /* 默认档位（更狠、更高级） */
  --hero-overlay-dark: rgba(0, 0, 0, 0.56);
  --hero-cyan-bloom: rgba(57, 213, 255, 0.09);
  --glow-strength: 0.42;
  
  /* A档位：更狠更暗（注释掉，需要时启用）
  --hero-overlay-dark: rgba(0, 0, 0, 0.62);
  --hero-cyan-bloom: rgba(57, 213, 255, 0.07);
  --glow-strength: 0.34;
  */
  
  /* B档位：更亮更清（注释掉，需要时启用）
  --hero-overlay-dark: rgba(0, 0, 0, 0.51);
  --hero-cyan-bloom: rgba(57, 213, 255, 0.11);
  --glow-strength: 0.47;
  */
  --glow-soft: rgba(57, 213, 255, 0.08);
  --glow-edge: rgba(57, 213, 255, 0.15);
  --border-ice: rgba(57, 213, 255, 0.12);
  
  /* 间距系统 */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  
  /* Header 高度（供页面层使用） */
  --header-h: 72px;
  
  /* ===== 背景系统 Tokens（从跑刀页提取） ===== */
  /* 背景基底色（偏冷黑，不是纯黑） */
  --bg-base: #050607;
  
  /* Overlay 遮罩参数 */
  --bg-overlay-opacity-pc: 0.4;        /* PC端 overlay 透明度 */
  --bg-overlay-opacity-tablet: 0.5;    /* 平板端 overlay 透明度 */
  --bg-overlay-opacity-mobile: 0.6;    /* 移动端 overlay 透明度 */
  --bg-overlay-opacity-small: 0.7;     /* 超小屏 overlay 透明度 */
  
  /* Overlay 渐变颜色（偏冷黑，不是纯黑） */
  --bg-overlay-color-top: rgba(5, 6, 7, 0.2);      /* 顶部遮罩色（跑刀页标准） */
  --bg-overlay-color-bottom: rgba(5, 6, 7, 0.3);   /* 底部遮罩色（跑刀页标准） */
  
  /* 护航页专用 overlay（降低15-25%，让背景更可见） */
  --bg-overlay-color-top-huhang: rgba(5, 6, 7, 0.15);    /* 护航页顶部遮罩色（降低25%） */
  --bg-overlay-color-bottom-huhang: rgba(5, 6, 7, 0.22);  /* 护航页底部遮罩色（降低约27%） */
  
  /* 背景图滤镜参数 */
  --bg-image-blur: 0px;                 /* 背景图模糊度 */
  --bg-image-brightness-pc: 1.0;        /* PC端亮度 */
  --bg-image-brightness-tablet: 0.9;   /* 平板端亮度 */
  --bg-image-brightness-mobile: 0.85;  /* 移动端亮度 */
  --bg-image-brightness-small: 0.8;     /* 超小屏亮度 */
  --bg-image-contrast: 1.1;             /* 对比度 */
  
  /* 内容卡片背景（前景层） */
  --content-panel-bg: rgba(5, 7, 10, 0.85);
  --content-panel-blur: blur(12px) saturate(130%);
  --content-sub-panel-bg: rgba(5, 7, 10, 0.75);
  --content-sub-panel-blur: blur(8px) saturate(120%);
}

/* ===== 基础重置 ===== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  color: var(--text);
  overflow-x: hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ===== 字体工具类 ===== */
.font-orbitron {
  font-family: 'Orbitron', system-ui, sans-serif;
}

/* ===== 通用组件：Glass 玻璃拟态 ===== */
.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.glass:hover {
  border-color: rgba(34,211,238,.25);
  box-shadow: var(--glow-md);
}

/* ===== 通用组件：K4 Card ===== */
.k4-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
}

.k4-card--clickable {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.k4-card--clickable:hover {
  transform: translateY(-2px);
  border-color: rgba(34,211,238,.3);
  box-shadow: var(--glow-lg);
}

/* ===== 通用组件：K4 Button ===== */
.k4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.k4-btn:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-md);
  transform: translateY(-1px);
}

/* ===== 通用组件：Section Title ===== */
.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--spacing-lg);
}

/* ===== 通用组件：Link Underline ===== */
.link-underline {
  text-decoration: none;
  background: linear-gradient(to right, rgba(34,211,238,.55), rgba(251,113,133,.45));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .25s ease;
}

.link-underline:hover {
  background-size: 100% 2px;
}

/* ===== 通用组件：Hot Badge ===== */
.hot-badge {
  display: inline-flex;
  align-items: center;
  padding: .12rem .5rem;
  border-radius: var(--radius-full);
  font-size: .72rem;
  line-height: 1rem;
  background: rgba(251,113,133,.12);
  border: 1px solid rgba(251,113,133,.22);
  color: #fda4af;
  margin-left: .45rem;
  vertical-align: middle;
  white-space: nowrap;
}

/* ===== 通用组件：Hairline ===== */
.hairline {
  height: 1px;
  background: var(--line);
}

/* ===== 装饰模块基类（.deco） ===== */
.deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: var(--z-deco);
  filter: drop-shadow(0 24px 60px rgba(0,0,0,.55));
}

.deco img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ===== Header 基础样式 ===== */
header {
  background: rgba(5,7,10,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* ---- END base.css ---- */

/* ---- BEGIN loader.css ---- */
/* --- Loader 基础设置（只影响加载层） --- */
body.is-loading {
  overflow: hidden; /* 加载时禁止滚动 */
}

.font-orbitron { font-family: 'Orbitron', sans-serif; }

/* --- 1. Loader 容器 (全屏居中) --- */
#loader {
  position: fixed;
  inset: 0;
  background-color: #0a0a0a;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* --- 2. 银灰色发光特效 (用于上下小字) --- */
.text-silver-glow {
  color: #e2e8f0; /* Slate-200 */
  text-shadow: 0 0 5px rgba(226, 232, 240, 0.3), 0 0 10px rgba(148, 163, 184, 0.2);
}

/* --- 3. 打字机光标闪烁 --- */
.typing-cursor::after {
  content: '_';
  animation: blink 1s step-start infinite;
  color: #cbd5e1;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

/* --- 4. 故障 LOGO 特效 --- */
.neon-text-cyan {
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.8), 0 0 10px rgba(0, 255, 255, 0.6);
}

#loader-text {
  position: relative;
  animation: glitch 3s infinite;
}

/* 故障红蓝偏移层 */
#loader-text::before, #loader-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #0a0a0a;
  overflow: hidden;
}
#loader-text::before {
  left: 2px; text-shadow: -2px 0 #ff0080;
  animation: glitch-top 2s linear infinite reverse;
}
#loader-text::after {
  left: -2px; text-shadow: -2px 0 #00ffff;
  animation: glitch-bottom 3s linear infinite reverse;
}

/* 故障动画关键帧 */
@keyframes glitch {
  2%, 64% { transform: translate(2px,0) skew(0deg); }
  4%, 60% { transform: translate(-2px,0) skew(0deg); }
  62% { transform: translate(0,0) skew(5deg); }
}
@keyframes glitch-top {
  0%, 100% { clip-path: inset(0 0 55% 0); }
  50% { clip-path: inset(80% 0 5% 0); }
}
@keyframes glitch-bottom {
  0%, 100% { clip-path: inset(50% 0 0 0); }
  50% { clip-path: inset(5% 0 20% 0); }
}

/* --- 5. 扫描线特效 --- */
.scanline {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: rgba(0, 255, 255, 0.7);
  box-shadow: 0 0 15px #00ffff;
  animation: scan 1.5s linear infinite;
  opacity: 0.5;
}
@keyframes scan {
  0% { top: -10%; opacity: 0; }
  50% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}
/* ---- END loader.css ---- */

/* ---- BEGIN theme-ice.css ---- */
/**
 * K4鐢电珵 - 鍐拌摑HUD涓婚鏍峰紡灞? * 鑱岃矗锛氫富棰樺彉閲忋€丠UD璐ㄦ劅銆佸啺钃濋鏍? * 绂佹锛欻ero/Contact 甯冨眬銆侀〉闈㈠畾浣? */

/* ===== 涓婚鍙橀噺绯荤粺锛堝彉閲忛┍鍔級 ===== */
body.theme-ice {
  /* 鑳屾櫙鑹茬郴 */
  --bg-0: #05070a;
  --bg-1: #0a0e14;
  --bg-2: #0f1419;
  --bg-3: #141920;
  
  /* Premium Pass: 闈㈡澘涓庡鍣紙杈规鏀舵暃锛?*/
  --panel-bg: rgba(0, 229, 255, 0.05);
  --panel-border: rgba(57, 213, 255, 0.12);
  --panel-border-glow: rgba(57, 213, 255, 0.22);
  
  /* 鏂囧瓧鑹茬郴 */
  --text-primary: #f0f9ff;
  --text-muted: #a8d5e2;
  
  /* 鍝佺墝鑹诧紙鍐拌摑锛?*/
  --cyan: #00e5ff;
  --cyan-light: #4af5ff;
  --cyan-dark: #00b8cc;
  --cyan-glow: rgba(0, 229, 255, 0.4);
  
  /* Premium Pass: HUD 鍙戝厜鏁堟灉锛堝鍙戝厜鍑忓崐+缁嗚竟+鍐呭彂鍏夛級 */
  --glow-hud: 
    0 0 0 1px rgba(57, 213, 255, 0.12) inset,
    0 0 12px rgba(57, 213, 255, 0.18),
    0 0 20px rgba(57, 213, 255, 0.09),
    inset 0 0 0 1px rgba(57, 213, 255, 0.08),
    inset 0 0 20px rgba(57, 213, 255, 0.04);
  
  /* Premium Pass: 鍙皟 tokens */
  --glow-soft: rgba(57, 213, 255, 0.08);
  --glow-edge: rgba(57, 213, 255, 0.15);
  --border-ice: rgba(57, 213, 255, 0.12);
  
  /* START: Glow Hierarchy */
  --glow-soft: rgba(57, 213, 255, 0.04); /* 鏋佸急锛氶粯璁よ竟缂橀珮鍏?*/
  --glow-focus: rgba(57, 213, 255, 0.12); /* 閲嶇偣鑺傜偣锛氭爣棰?CTA/Proof */
  --glow-hover: rgba(57, 213, 255, 0.18); /* 浜や簰鏃讹細hover 鎵嶆彁鍗?*/
  /* END: Glow Hierarchy */
}

/* ===== 鍏ㄥ眬鑳屾櫙锛堜富棰樹笓灞烇級 ===== */
body.theme-ice {
  background: var(--bg-0);
  background-image:
    radial-gradient(ellipse 1200px 800px at 15% 8%, rgba(0, 229, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 1000px 600px at 85% 25%, rgba(0, 212, 255, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 30%, var(--bg-2) 60%, var(--bg-1) 80%, var(--bg-0) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(0, 229, 255, 0.02) 1px, rgba(0, 229, 255, 0.02) 2px),
    repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(0, 229, 255, 0.02) 1px, rgba(0, 229, 255, 0.02) 2px);
  background-attachment: fixed;
  background-size: 100% 100%, 100% 100%, 100% 100%, 30px 30px, 30px 30px;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  body.theme-ice {
    background-attachment: scroll;
  }
}


/* ===== START: Premium Pass - 鐜荤拑鎷熸€侀潰鏉垮崌绾?===== */
/* 鐜荤拑鎷熸€侀潰鏉匡紙浣跨敤涓婚鍙橀噺锛?*/
body.theme-ice .k4-panel {
  position: relative;
  background: var(--panel-bg);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  border: 1px solid var(--panel-border);
  border-radius: 1rem;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -12px 24px rgba(0, 0, 0, 0.28);
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Premium Pass: 杈圭紭楂樺厜 + 寰汗鐞?*/
body.theme-ice .k4-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    linear-gradient(135deg, rgba(57, 213, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 20% 20%, rgba(57, 213, 255, 0.04) 0%, transparent 40%),
    repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(57, 213, 255, 0.015) 1px, rgba(57, 213, 255, 0.015) 2px);
  background-size: 100% 100%, 60% 60%, 30px 30px;
  opacity: 1;
  border-radius: inherit;
}

body.theme-ice .k4-panel > * {
  position: relative;
  z-index: 1;
}
/* ===== END: Premium Pass - 鐜荤拑鎷熸€侀潰鏉垮崌绾?===== */

/* 闄嶇骇鏀寔 */
@supports not (backdrop-filter: blur(12px)) {
  body.theme-ice .k4-panel {
    background: rgba(15, 25, 35, 0.85);
  }
}

/* ===== HUD杈圭紭鍏夋晥鏋?===== */
body.theme-ice .k4-glow {
  box-shadow: var(--glow-hud);
}

body.theme-ice .k4-panel:hover.k4-glow,
body.theme-ice .k4-glow:hover {
  box-shadow: 
    0 0 0 1px rgba(0, 229, 255, 0.15) inset,
    0 0 30px rgba(0, 229, 255, 0.4),
    0 0 50px rgba(0, 229, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: var(--panel-border-glow);
}

/* ===== 鏍囬鏍峰紡 ===== */
/* Premium Pass: 鏍囬楂樼閿愬埄鎰?*/
body.theme-ice .k4-title {
  color: var(--text-primary);
  text-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 0 4px rgba(57, 213, 255, 0.2);
  font-weight: 600;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
}

/* ===== 鎸夐挳鏍峰紡锛堜娇鐢ㄤ富棰樺彉閲忥級 ===== */
body.theme-ice .k4-btn {
  background: linear-gradient(135deg, 
    rgba(0, 229, 255, 0.15) 0%,
    rgba(0, 212, 255, 0.1) 100%
  );
  border: 1px solid var(--cyan);
  color: var(--text-primary);
  box-shadow: 
    0 4px 16px rgba(0, 229, 255, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.4);
}

body.theme-ice .k4-btn:hover {
  background: linear-gradient(135deg, 
    rgba(0, 229, 255, 0.25) 0%,
    rgba(0, 212, 255, 0.2) 100%
  );
  border-color: var(--cyan-light);
  box-shadow: 
    0 6px 20px rgba(0, 229, 255, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: var(--cyan-light);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

body.theme-ice .k4-btn:active {
  transform: translateY(0);
  box-shadow: 
    0 2px 8px rgba(0, 229, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ===== HUD寰界珷 ===== */
body.theme-ice .k4-badge {
  background: linear-gradient(135deg, 
    rgba(0, 229, 255, 0.12) 0%,
    rgba(0, 212, 255, 0.08) 100%
  );
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 9999px;
  color: var(--cyan-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.6);
  box-shadow: 
    0 0 10px rgba(0, 229, 255, 0.25),
    0 2px 4px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ===== 鍏ㄥ眬閾炬帴鏍峰紡 ===== */
body.theme-ice a {
  color: var(--text-primary);
  transition: all 0.3s ease;
  text-decoration: none;
}

body.theme-ice a:hover {
  color: var(--cyan-light);
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.5);
}

/* ===== 閾炬帴涓嬪垝绾挎晥鏋?===== */
body.theme-ice .link-underline {
  position: relative;
}

body.theme-ice .link-underline::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent,
    var(--cyan),
    var(--cyan-light),
    var(--cyan),
    transparent
  );
  box-shadow: 0 0 6px var(--cyan-glow);
  transition: width 0.3s ease;
  border-radius: 2px;
}

body.theme-ice .link-underline:hover::after {
  width: 100%;
}

/* ===== 鍒楄〃涓庢钀戒紭鍖?===== */
body.theme-ice p {
  line-height: 1.7;
  color: var(--text-muted);
}

body.theme-ice ul, 
body.theme-ice ol {
  color: var(--text-muted);
}

body.theme-ice li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ===== 鍒嗛殧绾?===== */
body.theme-ice hr,
body.theme-ice .hairline {
  border: none;
  height: 1px;
  background: rgba(0, 229, 255, 0.15);
  margin: 2rem 0;
  box-shadow: 0 0 4px rgba(0, 229, 255, 0.08);
}

/* ===== 涓庣幇鏈夋牱寮忓吋瀹?===== */
/* START: Glow Hierarchy */
/* Premium Pass: Glass 鏉愯川鍗囩骇锛堥粯璁ゆ瀬寮?glow锛?*/
body.theme-ice .glass {
  position: relative;
  background: var(--panel-bg) !important;
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  border: 1px solid rgba(57, 213, 255, 0.06) !important; /* 闄嶄綆榛樿杈规 alpha */
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2),
    0 0 0 1px var(--glow-soft) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -12px 24px rgba(0, 0, 0, 0.28) !important;
  overflow: hidden;
}

/* 鍗＄墖 hover 鎵嶅寮?glow */
body.theme-ice .glass:hover {
  border-color: rgba(57, 213, 255, 0.12) !important;
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.25),
    0 0 0 1px var(--glow-hover) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -12px 24px rgba(0, 0, 0, 0.3) !important;
}

/* 閲嶇偣鑺傜偣浣跨敤 --glow-focus */
.hero-section .section-title,
.hero-cta,
.section-title,
.proof-item .proof-title,
.proof-item .proof-icon {
  text-shadow: 0 0 8px var(--glow-focus);
}

/* Proof item icon 鍜屾爣棰樻湁鍏?*/
.proof-item .proof-icon {
  box-shadow: 0 0 6px var(--glow-focus);
}

.proof-item .proof-title {
  text-shadow: 0 0 6px var(--glow-focus);
}

/* hover 鏃跺寮?*/
.hero-cta:hover,
.proof-item:hover .proof-title {
  text-shadow: 0 0 12px var(--glow-hover);
}

.proof-item:hover .proof-icon {
  box-shadow: 0 0 10px var(--glow-hover);
}
/* END: Glow Hierarchy */

/* Premium Pass: Glass 寰汗鐞?*/
body.theme-ice .glass::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    linear-gradient(135deg, rgba(57, 213, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 30% 30%, rgba(57, 213, 255, 0.04) 0%, transparent 45%);
  opacity: 1;
  border-radius: inherit;
}

body.theme-ice .glass > * {
  position: relative;
  z-index: 1;
}

body.theme-ice .glow {
  box-shadow: var(--glow-hud) !important;
}

/* Premium Pass: Glass glow hover锛堝鍙戝厜鍑忓崐锛?*/
body.theme-ice .glass.glow:hover,
body.theme-ice .glass:hover.glow {
  box-shadow: 
    0 0 0 1px rgba(57, 213, 255, 0.15) inset,
    0 0 18px rgba(57, 213, 255, 0.24),
    0 0 30px rgba(57, 213, 255, 0.12),
    inset 0 0 0 1px rgba(57, 213, 255, 0.1),
    inset 0 0 20px rgba(57, 213, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  border-color: var(--panel-border-glow) !important;
}

@supports not (backdrop-filter: blur(12px)) {
  body.theme-ice .glass {
    background: rgba(15, 25, 35, 0.85) !important;
  }
}

/* ===================================================================
 * === ICE CORE: dynamic light engine (do not remove) ===
 * 鍐拌摑HUD鍔ㄦ€佸厜绾挎牳蹇冨紩鎿? * 鍖呭惈锛氬懠鍚稿厜銆佹壂鍏夈€佽竟缂樺厜鍔ㄧ敾
 * =================================================================== */

/* ===== 鍔ㄦ€佸厜绾垮彉閲?===== */
body.theme-ice {
  --ice-glow-1: rgba(0, 229, 255, 0.15);
  --ice-glow-2: rgba(0, 229, 255, 0.3);
  --ice-glow-3: rgba(0, 229, 255, 0.5);
  --ice-border: rgba(0, 229, 255, 0.4);
  --ice-scan-alpha: rgba(0, 229, 255, 0.2);
}

/* ===== 鍏抽敭甯э細鍛煎惛鍏?===== */
@keyframes ice-breathe {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

/* ===== 鍏抽敭甯э細鎵厜 ===== */
@keyframes ice-scan {
  0% {
    background-position: -100% 0;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    background-position: 200% 0;
    opacity: 0;
  }
}

/* ===== 鍏抽敭甯э細杈圭紭娴佺嚎 ===== */
@keyframes ice-flow {
  0% {
    stroke-dashoffset: 0;
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    stroke-dashoffset: -200%;
    opacity: 0.3;
  }
}

/* ===== 鍏抽敭甯э細杈圭紭鍏夎剦鍐?===== */
@keyframes ice-edge-pulse {
  0%, 100% {
    opacity: 0.3;
    box-shadow: 
      0 0 0 1px rgba(0, 229, 255, 0.1) inset,
      0 0 20px rgba(0, 229, 255, 0.2),
      0 0 40px rgba(0, 229, 255, 0.1);
  }
  50% {
    opacity: 0.6;
    box-shadow: 
      0 0 0 1px rgba(0, 229, 255, 0.2) inset,
      0 0 30px rgba(0, 229, 255, 0.4),
      0 0 60px rgba(0, 229, 255, 0.2);
  }
}

/* ===== 鍏抽敭甯э細鍐呴儴鍙嶅厜 ===== */
@keyframes ice-shimmer {
  0% {
    background-position: -200% 0;
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    background-position: 200% 0;
    opacity: 0;
  }
}

/* ===== .k4-panel 鍔ㄦ€佸厜绾垮寮?===== */
body.theme-ice .k4-panel {
  position: relative;
  overflow: visible;
}

/* ===== .k4-glow 鍔ㄦ€佽竟缂樺厜 ===== */
body.theme-ice .k4-glow {
  position: relative;
}

/* 杈圭紭鍏変吉鍏冪礌锛堝懠鍚告晥鏋滐級- 浠呮部杈圭紭锛屼笉瑕嗙洊鍐呭 */
body.theme-ice .k4-glow::before {
  content: "";
  position: absolute;
  inset: -4px;
  pointer-events: none;
  z-index: -1;
  border-radius: inherit;
  background: 
    radial-gradient(circle at 0% 0%, var(--ice-glow-2) 0%, transparent 35%),
    radial-gradient(circle at 100% 0%, var(--ice-glow-2) 0%, transparent 35%),
    radial-gradient(circle at 100% 100%, var(--ice-glow-2) 0%, transparent 35%),
    radial-gradient(circle at 0% 100%, var(--ice-glow-2) 0%, transparent 35%);
  background-size: 25% 25%, 25% 25%, 25% 25%, 25% 25%;
  background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%;
  background-repeat: no-repeat;
  opacity: 0.35;
  animation: ice-breathe 4s ease-in-out infinite;
  filter: blur(8px);
}

/* 杈圭紭娴佺嚎鏁堟灉 - 宸茬鐢?*/
body.theme-ice .k4-glow::after {
  display: none;
}

/* Hover鏃跺寮鸿竟缂樺厜 */
body.theme-ice .k4-panel:hover.k4-glow::before,
body.theme-ice .k4-glow:hover::before {
  opacity: 0.4;
  animation-duration: 2.5s;
}

/* ===== prefers-reduced-motion 闄嶇骇 ===== */
@media (prefers-reduced-motion: reduce) {
  body.theme-ice .k4-glow::before,
  body.theme-ice .k4-glow::after {
    animation: none;
    opacity: 0.3;
  }
  
  body.theme-ice .k4-panel:hover.k4-glow::before,
  body.theme-ice .k4-glow:hover::before {
    animation: none;
    opacity: 0.4;
  }
}

/* ---- END theme-ice.css ---- */

/* ---- BEGIN theme-obsidian.css ---- */
/**
 * K4电竞 - Obsidian Tactical Luxury 主题
 * 职责：黑奢战术风主题变量、材质、重点节点光效
 * 禁止：布局定位、Hero/Contact 特定布局
 */

/* ===== START: Obsidian Tactical Luxury ===== */

/* ===== Step 2: 狠但低调的 Token（变量驱动） ===== */
body.theme-obsidian {
  /* 硬黑层级 + 冷金属强调 + 极弱冷青点缀 */
  --bg-0: #050608;  /* 最深墨黑，偏冷 */
  --bg-1: #070a0e;  /* 底层 */
  --bg-2: #0a1016;  /* 内容区底 */
  --bg-3: #0f1720;  /* 卡片暗面 */
  
  /* 文字层级 */
  --text-0: rgba(245, 248, 255, 0.92);
  --text-1: rgba(245, 248, 255, 0.72);
  --text-2: rgba(245, 248, 255, 0.52);
  
  /* 强调色：冷香槟金（方案A） */
  --accent: #d8c38f;
  /* 战术电流点缀（几乎不可见） */
  --accent-cyan: rgba(57, 213, 255, 0.14);
  
  /* Glow 三档（更克制，重点才亮） */
  --glow-soft: 0 0 0 rgba(0, 0, 0, 0);  /* 默认直接 0 */
  --glow-focus: 0 0 18px rgba(216, 195, 143, 0.16);  /* 重点节点极轻 */
  --glow-hover: 0 0 22px rgba(216, 195, 143, 0.22);  /* hover 才出现 */
  
  /* Panel/Glass - 奢华版 */
  --panel-bg: rgba(10, 16, 22, 0.72);  /* 提高不透明度，更实 */
  --panel-bg-2: rgba(10, 16, 22, 0.52);
  --panel-border: rgba(216, 195, 143, 0.14);  /* 金属边稍明显，但依然低调 */
  --panel-hairline: rgba(255, 255, 255, 0.08);  /* 刀口线：更明显的内高光 */
  --shadow-deep: 0 32px 100px rgba(0, 0, 0, 0.7);  /* 更深更大的阴影 */
}

/* ===== Step 3: 背景（狠的关键：干净 + 大尺度渐变 + 暗角） ===== */
body.theme-obsidian {
  background: var(--bg-0);
  background-image:
    radial-gradient(ellipse 1400px 900px at 20% 10%, rgba(57, 213, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 1200px 800px at 80% 30%, rgba(216, 195, 143, 0.02) 0%, transparent 50%),
    radial-gradient(ellipse 2000px 1500px at 50% 50%, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
  background-attachment: fixed;
  background-size: 100% 100%, 100% 100%, 100% 100%;
  color: var(--text-0);
}

/* 移动端禁用 fixed 背景（避免卡顿） */
@media (max-width: 768px) {
  body.theme-obsidian {
    background-attachment: scroll;
  }
}

/* ===== Step 4: 材质升级（钛合金玻璃）- 奢华版 ===== */
body.theme-obsidian .glass,
body.theme-obsidian .k4-panel {
  /* 默认态：几乎无外发光，更精致的质感 */
  background: linear-gradient(180deg, 
    var(--panel-bg) 0%,
    rgba(10, 16, 22, 0.58) 50%,
    rgba(10, 16, 22, 0.42) 100%
  );
  border: 1px solid var(--panel-border);
  box-shadow:
    inset 0 1px 0 var(--panel-hairline),  /* 刀口线 */
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),  /* 底部内边框 */
    inset 0 -24px 48px rgba(0, 0, 0, 0.52),  /* 内阴影（更深） */
    0 24px 80px rgba(0, 0, 0, 0.6),  /* 深阴影（更大） */
    0 0 0 1px rgba(0, 0, 0, 0.2) inset;  /* 内边框增强 */
  /* 禁止外发光 */
  position: relative;
  overflow: hidden;
}

/* 内部微光效 */
body.theme-obsidian .glass::before,
body.theme-obsidian .k4-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(216, 195, 143, 0.02) 0%,
    transparent 30%,
    transparent 70%,
    rgba(216, 195, 143, 0.01) 100%
  );
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

body.theme-obsidian .glass > *,
body.theme-obsidian .k4-panel > * {
  position: relative;
  z-index: 1;
}

/* START: Hero 取消毛玻璃 */
/* Hero 区域取消毛玻璃特效 */
body.theme-obsidian .hero-section .glass,
body.theme-obsidian .hero-section .hero-content.glass {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: var(--panel-bg) !important;
}
/* END: Hero 取消毛玻璃 */

/* hover（狠但低调）- 奢华版 */
body.theme-obsidian .glass:hover,
body.theme-obsidian .k4-panel:hover {
  transform: translateY(-3px);  /* 轻微抬升 */
  border-color: rgba(216, 195, 143, 0.24);  /* 边缘 accent 光（更细腻） */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),  /* 顶部高光增强 */
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    inset 0 -24px 48px rgba(0, 0, 0, 0.58),  /* 内阴影更深 */
    0 28px 90px rgba(0, 0, 0, 0.7),  /* 外阴影更大 */
    0 0 0 1px rgba(0, 0, 0, 0.3) inset,
    var(--glow-hover);  /* hover 才给 glow */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-obsidian .glass:hover::before,
body.theme-obsidian .k4-panel:hover::before {
  opacity: 0.8;
}

/* ===== Step 5: 重点节点"开刃"（狠劲来源） ===== */
/* Hero 主标题 */
body.theme-obsidian .hero-section h1,
body.theme-obsidian .hero-section .section-title {
  text-shadow: 0 0 18px rgba(216, 195, 143, 0.18);
  color: var(--text-0);
}

/* Hero CTA 区 */
body.theme-obsidian .hero-cta {
  border-color: rgba(216, 195, 143, 0.22);
  text-shadow: 0 0 12px rgba(216, 195, 143, 0.16);
}

body.theme-obsidian .hero-cta:hover {
  border-color: rgba(216, 195, 143, 0.32);
  text-shadow: 0 0 18px rgba(216, 195, 143, 0.24);
  box-shadow: var(--glow-hover);
}

/* Section title */
body.theme-obsidian .section-title {
  text-shadow: 0 0 16px rgba(216, 195, 143, 0.16);
  color: var(--text-0);
}

/* 当前导航 active */
body.theme-obsidian .fx-nav-link.active,
body.theme-obsidian a.active {
  border-color: rgba(216, 195, 143, 0.22);
  text-shadow: 0 0 12px rgba(216, 195, 143, 0.16);
}

/* 可点击卡片 hover */
body.theme-obsidian .fx-card:hover,
body.theme-obsidian a.fx-card:hover {
  border-color: rgba(216, 195, 143, 0.22);
  box-shadow:
    inset 0 1px 0 var(--panel-hairline),
    inset 0 -18px 36px rgba(0, 0, 0, 0.52),
    0 24px 75px rgba(0, 0, 0, 0.6),
    var(--glow-hover);
}

/* Proof item icon 和标题 */
body.theme-obsidian .proof-item .proof-icon {
  box-shadow: 0 0 8px rgba(216, 195, 143, 0.16);
}

body.theme-obsidian .proof-item .proof-title {
  text-shadow: 0 0 10px rgba(216, 195, 143, 0.14);
}

body.theme-obsidian .proof-item:hover .proof-icon {
  box-shadow: 0 0 12px rgba(216, 195, 143, 0.22);
}

body.theme-obsidian .proof-item:hover .proof-title {
  text-shadow: 0 0 14px rgba(216, 195, 143, 0.20);
}

/* ===== Step 6: Typography 更狠（但不花） ===== */
/* h1：更紧的 tracking，略低行高，形成"压迫感" */
body.theme-obsidian h1,
body.theme-obsidian .hero-section h1 {
  letter-spacing: -0.01em;  /* 略微负 tracking */
  line-height: 1.08;  /* 略低行高 */
}

/* 小标题：tracking 略增，形成层级差 */
body.theme-obsidian .section-title {
  letter-spacing: 0.02em;
  line-height: 1.15;
}

body.theme-obsidian .section-subtitle {
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* 正文：行高略高一点，让黑奢更"从容" */
body.theme-obsidian p {
  line-height: 1.75;
}

body.theme-obsidian .text-sm,
body.theme-obsidian .text-xs {
  letter-spacing: 0.02em;
}

/* ===== 文字颜色覆盖 ===== */
body.theme-obsidian {
  color: var(--text-0);
}

body.theme-obsidian .text-gray-400 {
  color: var(--text-2);
}

body.theme-obsidian .text-gray-300 {
  color: var(--text-1);
}

body.theme-obsidian .text-gray-200 {
  color: var(--text-1);
}

/* ===== 禁止全站平均发光 ===== */
/* 确保默认态无 glow */
body.theme-obsidian .glass:not(:hover),
body.theme-obsidian .k4-panel:not(:hover),
body.theme-obsidian .fx-card:not(:hover) {
  box-shadow:
    inset 0 1px 0 var(--panel-hairline),
    inset 0 -18px 36px rgba(0, 0, 0, 0.48),
    0 22px 70px rgba(0, 0, 0, 0.55);
  /* 无外发光 */
}

/* ===== END: Obsidian Tactical Luxury ===== */


/* ---- END theme-obsidian.css ---- */

/* ---- BEGIN page-index.css ---- */
/**
 * K4鐢电珵 - 棣栭〉椤甸潰灞傛牱寮? * 鑱岃矗锛欻ero / Contact 甯冨眬銆佽楗板眰瀹氫綅
 * 绂佹锛氬叏灞€鍙橀噺銆佷富棰樺彉閲忋€佺壒鏁堝姩鐢? */

/* ===== Hero Section 甯冨眬 ===== */
.hero-section {
  position: relative;
  overflow: hidden;
}

/* ===== START: Premium Pass - Hero 鑳屾櫙涓?Overlay 鍗囩骇 ===== */
/* A灞傦細鏆楅儴娣卞害锛堟暣浣撳帇鏆楋紝涓嶅彂钃濓級- 绉诲埌 hero-bg 鍐呴儴锛屼笉閬尅瑙嗛 */
/* B灞傦細灞€閮ㄥ喎鍏夎仛鐒︼紙鍙湪鏍囬/鍗＄墖杈圭紭锛岃寖鍥村彈鎺э級- 绉诲埌 hero-overlay 鍐呴儴 */
/* 娉ㄦ剰锛?:before 鍜?::after 瑕嗙洊灞傚凡绉婚櫎锛屾敼鐢?.hero-overlay 缁熶竴绠＄悊 */
/* ===== END: Premium Pass - Hero 鑳屾櫙涓?Overlay 鍗囩骇 ===== */

/* ===== START: WeChat Video Fix - Hero 瑙嗛鑳屾櫙灞傦紙鏈寸礌娓叉煋閾捐矾锛岄伩鍏嶅井淇″悎鎴恇ug锛?===== */

/* Hero 鑳屾櫙瀹瑰櫒锛堟渶鏈寸礌锛岄伩鍏嶅井淇″悎鎴恇ug锛?*/
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0; /* 瑙嗛灞?*/
  pointer-events: none;
}

/* 瑙嗛鍏冪礌锛堟湸绱犳覆鏌擄紝绂佹 mask/blend/filter锛?*/
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 30%;
  opacity: 0.6; /* 鎻愰珮鍙搴?*/
  transform: translateZ(0);
  display: block;
  z-index: 0;
}

/* 绉诲姩绔細瑙嗛鏇撮€忥紝鎻愰珮鍙鎬?*/
@media (max-width: 767px) {
  .hero-video {
    opacity: 0.75; /* 绉诲姩绔洿閫?*/
  }
}

/* 閬僵灞傦紙鍙敤 background锛屼笉鐢?mask/blend/filter锛?*/
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* 鍚堝苟 Premium Pass 鐨勪袱灞傝鐩栵細鏆楅儴娣卞害 + 灞€閮ㄥ喎鍏?*/
  background: 
    radial-gradient(60% 80% at 50% 35%, rgba(57, 213, 255, 0.08) 0%, transparent 50%),
    rgba(0, 0, 0, 0.35); /* 杩涗竴姝ラ檷浣?overlay 閫忔槑搴︼紝璁╄棰戞洿鍙 */
  pointer-events: none;
}

/* 绉诲姩绔細闄嶄綆閬僵锛岃瑙嗛鏇撮€?*/
@media (max-width: 767px) {
  .hero-overlay {
    background: 
      radial-gradient(80% 120% at 70% 20%, rgba(0,0,0,.15), rgba(0,0,0,.45)); /* 闄嶄綆閬僵閫忔槑搴?*/
  }
}

/* START: Video Autoplay Silent Start - 绉婚櫎鏄剧溂鎻愮ず鎸夐挳 */
/* 鎻愮ず灞傚凡绉婚櫎锛屾敼涓洪〉闈换鎰忛娆¤Е鎽歌Е鍙戞挱鏀?*/
/* END: Video Autoplay Silent Start */

/* START: Hero Video 鍏滃簳绛栫暐 */
/* 瑙嗛閿欒锛氬彧闅愯棌瑙嗛锛屼繚鐣?overlay 鍜岃儗鏅?*/
html.hero-video-off .hero-video {
  opacity: 0 !important;
  pointer-events: none;
}

html.hero-video-off .hero-bg {
  background: radial-gradient(
    60% 80% at 50% 35%,
    rgba(57, 213, 255, 0.03) 0%,
    rgba(0, 0, 0, 0.6) 70%
  ),
  url('/assets/img/bg/sanjiaozhou-bg-960.webp') center/cover no-repeat;
}

html.hero-video-off .hero-overlay {
  background: rgba(0, 0, 0, var(--hero-overlay-dark, 0.55));
}
/* END: Hero Video 鍏滃簳绛栫暐 */

/* prefers-reduced-motion锛氬仠鎾棰?*/
@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    display: block;
    background:
      radial-gradient(60% 80% at 50% 35%, rgba(57, 213, 255, 0.06) 0%, rgba(0, 0, 0, 0.58) 70%),
      url('/assets/img/bg/sanjiaozhou-bg-960.webp') center/cover no-repeat;
  }
  .hero-video {
    opacity: 0.45;
  }
}

/* ===== END: WeChat Video Fix ===== */

/* Hero 鍐呭瀹瑰櫒锛堢‘淇濆湪瑙嗛鑳屾櫙涔嬩笂锛?*/
.hero-section > .hero-content,
.hero-section .hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 34px;
  text-align: center;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 
    0 2px 16px rgba(0, 0, 0, 0.75),
    0 0 8px rgba(0, 0, 0, 0.5);
}

/* START: WeChat Video Fix - 纭繚鍐呭灞傚湪瑙嗛灞備箣涓?*/
.hero-content {
  position: relative;
  z-index: 2;
}
/* END: WeChat Video Fix */

/* START: Hero 鍘绘帀姣涚幓鐠?*/
/* 鍙栨秷 hero 姣涚幓鐠冪壒鏁堬紙鍏ㄧ锛?*/
.hero-section .glass,
.hero-section .hero-content.glass {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: var(--panel-bg) !important;
}
/* END: Hero 鍘绘帀姣涚幓鐠?*/

/* Hero 涓绘爣棰橈紙Premium Pass锛氶珮绔攼鍒╂劅锛?*/
.hero-content h1,
.hero-section h1 {
  color: rgba(255, 255, 255, 1);
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.8),
    0 0 4px rgba(57, 213, 255, 0.2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
  letter-spacing: 0.01em;
}

/* Hero 鍐呭鏂囧瓧澧炲己瀵规瘮搴?*/
.hero-content .text-gray-400,
.hero-content .text-gray-300 {
  color: rgba(220, 230, 240, 0.95);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hero-content .text-gray-200 {
  color: rgba(240, 245, 250, 0.98);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}

.hero-section .mx-auto {
  position: relative;
  z-index: 2;
}

/* 妗岄潰绔細鍑忓皯宸︿晶鐣欑櫧 */
@media (min-width: 1200px) {
  .hero-section .hero-content {
    padding-left: clamp(20px, 2vw, 40px);
  }
}

/* 骞虫澘绔?*/
@media (max-width: 1199px) and (min-width: 768px) {
  .hero-section {
    --hero-bottom-pad: 12px;
  }
  
  .hero-section .hero-content {
    padding-left: clamp(20px, 2vw, 40px);
    padding-bottom: 12px;
  }
}

/* 鎵嬫満绔?*/
@media (max-width: 767px) {
  .hero-section .hero-content {
    padding-left: 0;
    padding-bottom: 0;
  }
  
  /* 鍙栨秷鎵嬫満绔?hero 姣涚幓鐠冪壒鏁?*/
  .hero-section .glass,
  .hero-section .hero-content.glass {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--panel-bg) !important;
  }
}

/* ===== START: Premium Pass - 濞侀緳瑙掕壊铻嶅悎鍗囩骇 ===== */
/* Hero 瑁呴グ灞傦細濞侀緳锛?deco--weilon锛?*/
.deco--weilon {
  position: fixed;
  left: clamp(18px, 4vw, 96px);
  top: 0; /* 鐢?JS 鍔ㄦ€佽缃?*/
  bottom: auto;
  width: clamp(320px, 34vw, 760px);
  height: auto;
  z-index: 1; /* 浠嬩簬鑳屾櫙锛?锛夊拰鍐呭锛?锛変箣闂?*/
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease;
  /* Premium Pass: 鎺ヨЕ闃村奖锛堢煭鑰岄噸锛氬崐寰勬洿灏忋€侀粦搴︽洿楂橈級+ 鑹茶皟缁熶竴锛堣交寰級 */
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.75)) saturate(0.9) contrast(1.02) brightness(0.92);
  /* Premium Pass: 搴曢儴/鍙充晶娓愰殣锛堝寮猴細搴曢儴鏇撮€忔槑锛岃瀺鍏ョ幆澧冿級 */
  -webkit-mask-image: linear-gradient(
    135deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,0.4) 75%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    135deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,0.4) 75%,
    rgba(0,0,0,0) 100%
  );
}
/* ===== END: Premium Pass - 濞侀緳瑙掕壊铻嶅悎鍗囩骇 ===== */

.deco--weilon img {
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  object-fit: contain;
  object-position: left bottom;
}

.deco--weilon.is-on {
  opacity: .92;
  transform: translateY(0);
}

/* 骞虫澘缂╁皬 */
@media (max-width: 1199px) and (min-width: 768px) {
  .deco--weilon {
    left: clamp(10px, 2vw, 24px);
    width: clamp(260px, 40vw, 560px);
  }
  
  .deco--weilon.is-on {
    opacity: .88;
  }
}

/* 鎵嬫満闅愯棌 */
@media (max-width: 767px) {
  .deco--weilon {
    display: none;
  }
}

/* ===== Contact 瑁呴グ灞傦細濂冲尰锛?deco--doctor锛?===== */
.deco--doctor {
  position: fixed;
  right: 0;
  bottom: 0;
  height: clamp(360px, 52vh, 720px);
  width: auto;
  z-index: var(--z-deco);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease;
  filter: drop-shadow(0 18px 48px rgba(0,0,0,.55));
}

.deco--doctor img {
  height: 100%;
  width: auto;
  display: block;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  /* 宸︿晶娓愰殣杈圭紭 */
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 18%, rgba(0,0,0,1) 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 18%, rgba(0,0,0,1) 100%);
}

.deco--doctor.is-on {
  opacity: .92;
  transform: translateY(0);
}

/* 骞虫澘缂╁皬 */
@media (max-width: 1199px) and (min-width: 768px) {
  .deco--doctor {
    height: clamp(280px, 42vh, 520px);
  }
  
  .deco--doctor.is-on {
    opacity: .88;
  }
}

/* 鎵嬫満闅愯棌 */
@media (max-width: 767px) {
  .deco--doctor {
    display: none;
  }
}

/* ===== Contact Section 甯冨眬 ===== */
#contact {
  position: relative;
  overflow: hidden;
}

#contact .mx-auto {
  position: relative;
  z-index: 2;
}

/* ===== START: Rhythm Premium ===== */

/* 3.1 缁熶竴 section 缁撴瀯 */
.rhythm-section {
  position: relative;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-title {
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.section-subtitle {
  color: rgba(168, 213, 226, 0.8);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* 3.2 楂樼骇鎰?reveal 瑙勫垯锛堝厠鍒讹級 */
.section-title,
.section-subtitle,
.hero-cta,
.proof-item {
  opacity: 0.92;
  transform: translate3d(0, 10px, 0);
  transition:
    transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0ms),
    opacity 420ms ease-out var(--d, 0ms);
}

.section-title.is-in,
.section-subtitle.is-in,
.hero-cta.is-in,
.proof-item.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 3.3 鑺傚閿欎綅锛堝欢杩燂級 */
.section-title {
  --d: 0ms;
}

.section-subtitle {
  --d: 120ms;
}

.hero-cta {
  --d: 220ms;
}

.proof-item:nth-child(1) { --d: 0ms; }
.proof-item:nth-child(2) { --d: 80ms; }
.proof-item:nth-child(3) { --d: 160ms; }
.proof-item:nth-child(4) { --d: 240ms; }
.proof-item:nth-child(5) { --d: 320ms; }
.proof-item:nth-child(6) { --d: 400ms; }

/* 3.4 Section 鍛煎惛鍒嗛殧 */
.rhythm-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1200px);
  max-width: calc(100% - 2rem);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(57, 213, 255, 0.12) 20%,
    rgba(57, 213, 255, 0.18) 50%,
    rgba(57, 213, 255, 0.12) 80%,
    transparent 100%
  );
  opacity: 0.3;
  pointer-events: none;
}

.rhythm-section:last-child::after {
  display: none;
}

/* Section 鑳屾櫙灞傜骇杞诲樊寮?*/
#services.rhythm-section {
  background-image: radial-gradient(
    ellipse 800px 600px at 50% 50%,
    rgba(57, 213, 255, 0.015) 0%,
    transparent 60%
  );
}

#proof.rhythm-section {
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(57, 213, 255, 0.02) 1px,
      rgba(57, 213, 255, 0.02) 2px
    );
  background-size: 40px 40px;
  opacity: 1;
}

#faq.rhythm-section {
  /* 淇濇寔骞插噣 */
}

#blog.rhythm-section .section-title {
  border-bottom: 1px solid rgba(57, 213, 255, 0.08);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

#contact.rhythm-section::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 30%;
  max-width: 400px;
  background: radial-gradient(
    ellipse 300px 600px at 100% 50%,
    rgba(57, 213, 255, 0.02) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

#contact.rhythm-section > * {
  position: relative;
  z-index: 1;
}

/* 3.5 Hover锛堝厠鍒讹級 */
.fx-card:hover {
  transform: translateY(-2px);
  border-color: rgba(57, 213, 255, 0.18);
}

.fx-card:active {
  transform: translateY(0);
}

/* 3.6 绉诲姩绔笌鏃犲姩鐢婚檷绾?*/
@media (max-width: 768px) {
  .section-title,
  .section-subtitle,
  .hero-cta,
  .proof-item {
    transform: translate3d(0, 6px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-title,
  .section-subtitle,
  .hero-cta,
  .proof-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== END: Rhythm Premium ===== */

/* ===== START: Typography Rhythm ===== */
:root {
  /* Typography Tokens */
  --t-title-tracking: 0.01em;
  --t-title-leading: 1.12;
  --t-subtitle-tracking: 0.005em;
  --t-subtitle-leading: 1.6;
  --t-body-leading: 1.7;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
}

/* Hero 涓绘爣棰?*/
.hero-section .section-title,
.hero-section h1 {
  letter-spacing: var(--t-title-tracking);
  line-height: var(--t-title-leading);
  margin-bottom: var(--space-2);
}

/* Section 鏍囬 */
.section-title {
  letter-spacing: var(--t-title-tracking);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

/* Section 鍓爣棰?*/
.section-subtitle {
  letter-spacing: var(--t-subtitle-tracking);
  line-height: var(--t-subtitle-leading);
  max-width: 65ch; /* 鎺у埗闃呰琛岄暱 */
  margin-top: var(--space-1);
  margin-bottom: var(--space-3);
}

/* 姝ｆ枃娈佃惤 */
.rhythm-section p:not(.section-subtitle) {
  line-height: var(--t-body-leading);
  margin-bottom: var(--space-2);
}

/* 灏忓瓧璇存槑锛坢eta/鏍囩锛?*/
.text-sm.text-gray-400,
.text-xs.text-gray-400 {
  letter-spacing: 0.02em;
  opacity: 0.85;
}

/* 绉诲姩绔皟鏁?*/
@media (max-width: 768px) {
  :root {
    --t-title-tracking: 0.005em; /* 闄嶄綆 tracking */
    --t-title-leading: 1.15; /* 澧炲姞 leading */
    --t-subtitle-leading: 1.65;
    --t-body-leading: 1.75;
  }
  
  .section-subtitle {
    max-width: 100%; /* 绉诲姩绔笉闄愬埗瀹藉害 */
  }
}

/* reduced-motion 涓嶅奖鍝嶆帓鐗?*/
@media (prefers-reduced-motion: reduce) {
  /* 鍙叧鍔ㄧ敾锛屾帓鐗堜笉鍙?*/
}
/* ===== END: Typography Rhythm ===== */

/* ===== START: Rhythm Pass - 鑺傚鍙欎簨绯荤粺 ===== */

/* ===== 1. Section 缁熶竴澶撮儴缁撴瀯 ===== */
.rhythm-section {
  position: relative;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-title {
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.section-subtitle {
  color: rgba(168, 213, 226, 0.8);
  font-size: 0.875rem;
  line-height: 1.5;
}

.section-body {
  position: relative;
}

/* ===== 2. Section Divider 杩囧満锛堟涓庢涔嬮棿锛?===== */
.rhythm-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1200px);
  max-width: calc(100% - 2rem);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(57, 213, 255, 0.15) 20%,
    rgba(57, 213, 255, 0.25) 50%,
    rgba(57, 213, 255, 0.15) 80%,
    transparent 100%
  );
  filter: blur(10px);
  opacity: 0.4;
  pointer-events: none;
}

.rhythm-section:last-child::after {
  display: none;
}

/* ===== 3. Section 宸紓鑳屾櫙锛堥潪甯稿厠鍒讹級 ===== */

/* Services锛氭瀬娣?radial-gradient */
#services.rhythm-section {
  background-image: radial-gradient(
    ellipse 800px 600px at 50% 50%,
    rgba(57, 213, 255, 0.02) 0%,
    transparent 60%
  );
  background-attachment: fixed;
}

/* Proof锛氱粏缃戞牸寰汗鐞嗭紙閫忔槑搴︽瀬浣庯級 */
#proof.rhythm-section {
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(57, 213, 255, 0.04) 1px,
      rgba(57, 213, 255, 0.04) 2px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 1px,
      rgba(57, 213, 255, 0.04) 1px,
      rgba(57, 213, 255, 0.04) 2px
    );
  background-size: 40px 40px, 40px 40px;
  background-position: 0 0, 0 0;
  opacity: 1;
}

/* FAQ锛氫繚鎸佸共鍑€锛屽噺灏慻low */
#faq.rhythm-section .glass {
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

#faq.rhythm-section .glass:hover {
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* Blog锛氬井寮卞垎闅旂嚎涓庢爣棰樺己璋?*/
#blog.rhythm-section .section-title {
  border-bottom: 1px solid rgba(57, 213, 255, 0.1);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Contact锛氬彸渚х┖鐧芥瀬娣℃笎鍙?*/
#contact.rhythm-section::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 30%;
  max-width: 400px;
  background: radial-gradient(
    ellipse 300px 600px at 100% 50%,
    rgba(57, 213, 255, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

#contact.rhythm-section > * {
  position: relative;
  z-index: 1;
}

/* ===== 4. Proof/Trust 鏉＄洰寮忚瘉鎹崱 ===== */
.proof-item {
  padding: 1rem 1.25rem;
  border: 1px solid rgba(57, 213, 255, 0.08);
  border-radius: 0.75rem;
  background: rgba(57, 213, 255, 0.02);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.proof-item:hover {
  border-color: rgba(57, 213, 255, 0.15);
  background: rgba(57, 213, 255, 0.04);
  transform: translateY(-1px);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.proof-icon {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(57, 213, 255, 0.6);
  margin-bottom: 0.75rem;
  position: relative;
}

.proof-icon::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(57, 213, 255, 0.4),
    transparent
  );
}

.proof-title {
  color: rgba(240, 249, 255, 0.95);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.proof-desc {
  color: rgba(168, 213, 226, 0.7);
  line-height: 1.5;
}

/* ===== START: Reveal 涓濇粦浼樺寲 ===== */
/* ===== 5. Reveal 鍔ㄧ敾锛堥粯璁ゅ叧闂紝杩涘叆瑙嗗彛瑙﹀彂锛?===== */
.rhythm-section .reveal {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  filter: blur(1.5px);
  will-change: transform, opacity;
  transition:
    opacity 520ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms),
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms),
    filter 520ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms);
}

.rhythm-section .reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* 绉诲姩绔檷绾?blur锛堟洿涓濇粦鏇寸渷鐢碉級 */
@media (max-width: 767px) {
  .rhythm-section .reveal {
    filter: none;
  }
  .rhythm-section .reveal.is-in {
    filter: none;
  }
}

/* prefers-reduced-motion锛氭棤鍔ㄧ敾 */
@media (prefers-reduced-motion: reduce) {
  .rhythm-section .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
/* ===== END: Reveal 涓濇粦浼樺寲 ===== */

/* ===== 6. 鍗＄墖寰姮鍗囷紙hover鏃讹級 ===== */
.rhythm-section .fx-card {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rhythm-section .fx-card:hover {
  transform: translateY(-2px);
}

.rhythm-section .fx-card:active {
  transform: translateY(0);
}

/* ===== START: Video Autoplay Silent Start - 绉诲姩绔?鏇寸嫚浣嗕笉鍚? ===== */
/* 绉诲姩绔噺灏戝ぇ闈㈢Н glow锛屽鍔犲垁鍙ｈ竟鐣岋紝瑙︽帶鍙嶉鏇夸唬 hover */
@media (max-width: 767px) {
  /* 鍑忓皯澶ч潰绉?glow锛氶粯璁ゆ€佹洿鍏嬪埗 */
  .glass:not(:active),
  .k4-panel:not(:active),
  .fx-card:not(:active) {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      inset 0 -12px 24px rgba(0, 0, 0, 0.4),
      0 16px 48px rgba(0, 0, 0, 0.5);
    /* 鏃犲鍙戝厜 */
  }

  /* 澧炲姞鍒€鍙ｈ竟鐣岋細鏇存竻鏅扮殑 1px hairline + 鍐呬晶楂樺厜 */
  .glass,
  .k4-panel,
  .fx-card {
    border: 1px solid rgba(57, 213, 255, 0.08);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08), /* 鍐呬晶楂樺厜 */
      inset 0 -12px 24px rgba(0, 0, 0, 0.4),
      0 16px 48px rgba(0, 0, 0, 0.5);
  }

  /* 瑙︽帶鍙嶉鏇夸唬 hover锛歛ctive 杞诲井涓嬪帇 + 杈规寰寒 + glow-hover 杞诲井澧炲己 */
  .k4-btn:active,
  .fx-card:active,
  a.fx-card:active {
    transform: translateY(1px); /* 杞诲井涓嬪帇 */
    border-color: rgba(57, 213, 255, 0.18); /* 杈规寰寒 */
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -12px 24px rgba(0, 0, 0, 0.45),
      0 18px 52px rgba(0, 0, 0, 0.55),
      0 0 16px rgba(57, 213, 255, 0.12); /* glow-hover 杞诲井澧炲己 */
  }

  /* 涓绘爣棰樺崱/涓绘寜閽?active 鎵嶆湁 focus glow */
  .hero-section .glass:active,
  .hero-cta:active {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -12px 24px rgba(0, 0, 0, 0.45),
      0 18px 52px rgba(0, 0, 0, 0.55),
      0 0 20px rgba(57, 213, 255, 0.16); /* focus glow */
  }

  /* 绂佺敤绉诲姩绔?blur/filter */
  .glass,
  .k4-panel {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
  }
}
/* ===== END: Video Autoplay Silent Start ===== */

/* ===== 7. 鏍囬鎺掔増浼樺寲锛堟洿鍒╄惤锛?===== */
.rhythm-section .section-title {
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.rhythm-section .section-subtitle {
  letter-spacing: 0.01em;
  line-height: 1.6;
}

/* ===== END: Rhythm Pass - 鑺傚鍙欎簨绯荤粺 ===== */



/* ---- END page-index.css ---- */

/* ---- BEGIN fx-tactical.css ---- */
/**
 * K4电竞 - 特效层（可开关）
 * 职责：glow / scanline / noise / reveal / 微交互 等特效
 * 禁止：布局、尺寸、页面定位
 * 开关：通过 body.fx-on 控制
 */

/* ===== 特效开关：默认关闭，需 body.fx-on 启用 ===== */

/* ===== START: 新增动效体系（可回滚点） ===== */

/* ===== 1. Reveal 滚动出现动效 ===== */
body.fx-on .reveal {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(6px);
  transition: 
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--d, 0ms);
}

body.fx-on .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 移动端降级：只保留淡入，不做 blur */
@media (max-width: 767px) {
  body.fx-on .reveal {
    filter: none;
    transform: translateY(8px);
  }
}

/* prefers-reduced-motion：关闭位移动画 */
@media (prefers-reduced-motion: reduce) {
  body.fx-on .reveal {
    opacity: 0;
    transform: none;
    filter: none;
    transition: opacity 0.3s ease;
  }
  
  body.fx-on .reveal.is-in {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ===== 2. 卡片微交互（.fx-card） ===== */
body.fx-on .fx-card {
  transition: 
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

body.fx-on .fx-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 229, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg,
    rgba(255,255,255,.06) 0%,
    rgba(255,255,255,.04) 50%,
    rgba(255,255,255,.03) 100%
  );
}

body.fx-on .fx-card:active {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  body.fx-on .fx-card:hover,
  body.fx-on .fx-card:active {
    transform: none;
  }
}

/* ===== 3. 按钮微交互（.fx-btn） ===== */
body.fx-on .fx-btn {
  transition: 
    transform 0.2s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

body.fx-on .fx-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 20px rgba(0, 229, 255, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  filter: brightness(1.1);
}

body.fx-on .fx-btn:active {
  transform: translateY(0);
  box-shadow: 
    0 2px 8px rgba(0, 229, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  body.fx-on .fx-btn:hover,
  body.fx-on .fx-btn:active {
    transform: none;
  }
}

/* ===== 4. 导航微交互（.fx-nav-link） ===== */
body.fx-on .fx-nav-link {
  position: relative;
}

body.fx-on .fx-nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent,
    rgba(0, 229, 255, 0.8),
    rgba(74, 245, 255, 1),
    rgba(0, 229, 255, 0.8),
    transparent
  );
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

body.fx-on .fx-nav-link:hover::after,
body.fx-on .fx-nav-link:active::after {
  width: 100%;
}

/* ===== 5. 背景细噪声/扫描线（极轻） ===== */
body.fx-on::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'>\
<filter id='n'>\
<feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/>\
</filter>\
<rect width='180' height='180' filter='url(%23n)' opacity='.22'/>\
</svg>");
  background-repeat: repeat;
  opacity: 0.03;
  mix-blend-mode: overlay;
  animation: fx-noise-breathe 8s ease-in-out infinite;
}

@keyframes fx-noise-breathe {
  0%, 100% { opacity: 0.02; }
  50% { opacity: 0.04; }
}

body.fx-on::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 229, 255, 0.15),
    rgba(0, 229, 255, 0.3),
    rgba(0, 229, 255, 0.15),
    transparent
  );
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
  animation: fx-scanline 4s linear infinite;
  opacity: 0.2;
}

@keyframes fx-scanline {
  0% { 
    top: -2px;
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% { 
    top: 100vh;
    opacity: 0;
  }
}

/* 移动端降低扫描线强度 */
@media (max-width: 767px) {
  body.fx-on::after {
    opacity: 0.1;
    animation-duration: 6s;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.fx-on::before,
  body.fx-on::after {
    animation: none;
    opacity: 0.02;
  }
}

/* ===== END: 新增动效体系（可回滚点） ===== */

/* ===== 原有特效（保留） ===== */
body.fx-on .scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 255, 255, 0.7);
  box-shadow: 0 0 15px #00ffff;
  animation: scan 1.5s linear infinite;
  opacity: 0.5;
}

@keyframes scan {
  0% { top: -10%; opacity: 0; }
  50% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

/* ===== 1. Glitch信号故障效果（标题） ===== */

/* Glitch基础样式 - 默认隐藏 */
.k4-glitch {
  position: relative;
  display: inline-block;
}

/* Glitch激活状态 - 通过JS添加.k4-glitch-active触发 */
body.fx-on .k4-glitch-active {
  animation: k4-glitch-effect 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes k4-glitch-effect {
  0%, 100% {
    transform: translate(0);
    text-shadow: 
      0 0 10px rgba(0, 229, 255, 0.5),
      0 0 20px rgba(0, 229, 255, 0.3);
  }
  10% {
    transform: translate(-1px, 1px);
    text-shadow: 
      -1px 0 0 rgba(255, 0, 0, 0.3),
      1px 0 0 rgba(0, 255, 255, 0.3),
      0 0 10px rgba(0, 229, 255, 0.5);
  }
  20% {
    transform: translate(1px, -1px);
    text-shadow: 
      1px 0 0 rgba(255, 0, 0, 0.3),
      -1px 0 0 rgba(0, 255, 255, 0.3),
      0 0 10px rgba(0, 229, 255, 0.5);
  }
  30% {
    transform: translate(-1px, 0);
    text-shadow: 
      -1px 0 0 rgba(255, 0, 0, 0.2),
      1px 0 0 rgba(0, 255, 255, 0.2);
  }
  40% {
    transform: translate(1px, 0);
    text-shadow: 
      1px 0 0 rgba(255, 0, 0, 0.2),
      -1px 0 0 rgba(0, 255, 255, 0.2);
  }
  50% {
    transform: translate(0);
    text-shadow: 
      0 0 10px rgba(0, 229, 255, 0.5),
      0 0 20px rgba(0, 229, 255, 0.3);
  }
}

/* Glitch Hover效果 - 轻微触发（仅特效开启时） */
body.fx-on .k4-glitch:hover {
  transition: all 0.2s ease;
}

body.fx-on .k4-glitch:hover::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  clip-path: inset(0 0 0 0);
  animation: k4-glitch-hover 0.4s ease-out;
  pointer-events: none;
}

@keyframes k4-glitch-hover {
  0%, 100% {
    clip-path: inset(0 0 0 0);
    transform: translate(0);
  }
  25% {
    clip-path: inset(20% 0 60% 0);
    transform: translate(-1px, 0);
  }
  50% {
    clip-path: inset(60% 0 20% 0);
    transform: translate(1px, 0);
  }
  75% {
    clip-path: inset(40% 0 40% 0);
    transform: translate(0, 0);
  }
}

/* ===== 2. "电池充电"按钮填充效果（仅特效开启时） ===== */

body.fx-on .k4-btn {
  position: relative;
  overflow: hidden;
}

/* 充电填充层 */
body.fx-on .k4-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(0, 229, 255, 0.3) 20%,
    rgba(0, 229, 255, 0.5) 50%,
    rgba(74, 245, 255, 0.6) 80%,
    rgba(0, 229, 255, 0.4) 100%
  );
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}

/* Hover时填充 */
body.fx-on .k4-btn:hover::after {
  left: 0;
}

/* Active时快速填充 */
body.fx-on .k4-btn:active::after {
  left: 0;
  transition: left 0.15s ease-out;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(0, 229, 255, 0.4) 20%,
    rgba(0, 229, 255, 0.7) 50%,
    rgba(74, 245, 255, 0.8) 80%,
    rgba(0, 229, 255, 0.5) 100%
  );
}

/* 能量边缘高光 */
body.fx-on .k4-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, 
    transparent,
    rgba(74, 245, 255, 0.9),
    rgba(0, 229, 255, 1),
    rgba(74, 245, 255, 0.9),
    transparent
  );
  box-shadow: 
    0 0 8px rgba(74, 245, 255, 0.8),
    0 0 16px rgba(0, 229, 255, 0.6);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  pointer-events: none;
}

body.fx-on .k4-btn:hover::before,
body.fx-on .k4-btn:active::before {
  left: 100%;
}

/* 确保按钮文字在填充层之上 */
body.fx-on .k4-btn > * {
  position: relative;
  z-index: 2;
}

/* ===== 3. "机械展开 Deploy"模块进场效果（仅特效开启时） ===== */

body.fx-on .k4-deploy {
  opacity: 0;
  position: relative;
}

/* 已进入视口 - 通过JS添加.k4-deploy-active触发 */
body.fx-on .k4-deploy-active {
  animation: k4-deploy-in 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 描边动画 */
body.fx-on .k4-deploy::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: inherit;
  clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  animation: k4-deploy-border 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
  z-index: 1;
}

body.fx-on .k4-deploy-active::before {
  animation: k4-deploy-border 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes k4-deploy-border {
  0% {
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    opacity: 0;
  }
  25% {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    opacity: 0.5;
  }
  50% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
    opacity: 0.7;
  }
  75% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 0.8;
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 0;
  }
}

/* 色块渐入 */
@keyframes k4-deploy-in {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  50% {
    opacity: 0.5;
    transform: translateY(5px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== 4. 移动端重力感应视差（可选，默认关闭） ===== */

/* 仅在body有.fx-parallax-on时启用 */
body.fx-parallax-on .k4-parallax-bg {
  transition: transform 0.1s ease-out;
}

body.fx-parallax-on .k4-parallax-fg {
  transition: transform 0.15s ease-out;
}

/* 视差层标记（通过JS添加class） */
.k4-parallax-bg {
  will-change: transform;
}

.k4-parallax-fg {
  will-change: transform;
}

/* ===== 无障碍支持：prefers-reduced-motion ===== */

@media (prefers-reduced-motion: reduce) {
  /* 禁用所有动画 */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Glitch效果禁用 */
  .k4-glitch-active {
    animation: none;
  }
  
  .k4-glitch:hover::before {
    animation: none;
  }
  
  /* Deploy效果禁用 */
  .k4-deploy-active {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .k4-deploy-active::before {
    animation: none;
    opacity: 0;
  }
  
  /* 按钮填充保留（但更快） */
  .k4-btn::after,
  .k4-btn::before {
    transition-duration: 0.05s !important;
  }
  
  /* 视差禁用 */
  body.fx-parallax-on .k4-parallax-bg,
  body.fx-parallax-on .k4-parallax-fg {
    transform: none !important;
    transition: none !important;
  }
}

/* ===== 移动端优化 ===== */

@media (max-width: 768px) {
  /* 移动端Glitch幅度更小 */
  @keyframes k4-glitch-effect {
    0%, 100% {
      transform: translate(0);
      text-shadow: 
        0 0 8px rgba(0, 229, 255, 0.4),
        0 0 15px rgba(0, 229, 255, 0.2);
    }
    10% {
      transform: translate(-0.5px, 0.5px);
      text-shadow: 
        -0.5px 0 0 rgba(255, 0, 0, 0.2),
        0.5px 0 0 rgba(0, 255, 255, 0.2);
    }
    20% {
      transform: translate(0.5px, -0.5px);
      text-shadow: 
        0.5px 0 0 rgba(255, 0, 0, 0.2),
        -0.5px 0 0 rgba(0, 255, 255, 0.2);
    }
    30%, 40% {
      transform: translate(0);
    }
    50% {
      transform: translate(0);
      text-shadow: 
        0 0 8px rgba(0, 229, 255, 0.4),
        0 0 15px rgba(0, 229, 255, 0.2);
    }
  }
  
  /* 移动端按钮填充更快 */
  .k4-btn:hover::after,
  .k4-btn:active::after {
    transition-duration: 0.2s;
  }
  
  /* 移动端Deploy更快 */
  .k4-deploy-active {
    animation-duration: 0.6s;
  }
  
  .k4-deploy-active::before {
    animation-duration: 0.5s;
  }
}





/* ---- END fx-tactical.css ---- */

/* ---- BEGIN bg-stack.css ---- */
/**
 * K4电竞 - 全站背景系统（Background Stack System）
 * 职责：三层背景架构（base + image + vignette），参数化控制
 * 作用域：全站通用，通过 body class 控制 preset
 * 禁止：页面级硬编码、全站灯带感、过度发光
 */

/* ===== Step 1: 通用背景模块 ===== */

/* 背景容器 */
.bg-stack {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  /* 性能优化 */
  will-change: transform;
  transform: translateZ(0);
}

/* Layer 1: 基底（纯色，图片加载失败时的回退） */
.bg-stack .bg-base {
  position: absolute;
  inset: 0;
  background: var(--bg-base, #050607);
  z-index: 1;
}

/* Layer 2: 背景图 */
.bg-stack .bg-image {
  position: absolute;
  inset: 0;
  background-image: var(--page-bg-url, none);
  background-size: var(--bg-scale, cover);
  background-position: var(--bg-position, center);
  background-repeat: no-repeat;
  opacity: var(--bg-image-opacity, 0.42);
  filter: blur(var(--bg-image-blur, 0px)) brightness(var(--bg-image-brightness, 0.95)) contrast(var(--bg-image-contrast, 1.1));
  z-index: 2;
  /* 图片加载优化 */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
}

/* Layer 3: 暗角聚焦（vignette） */
.bg-stack .bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 100% at center,
    transparent 0%,
    transparent 30%,
    rgba(5, 6, 7, calc(var(--bg-vignette-strength, 0.75) * 0.3)) 50%,
    rgba(5, 6, 7, calc(var(--bg-vignette-strength, 0.75) * 0.7)) 70%,
    rgba(5, 6, 7, var(--bg-vignette-strength, 0.75)) 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* ===== Step 2: 3档 Preset ===== */

/* Preset 1: 清晰版（背景更可见） */
body.bg-preset-clear {
  --bg-image-opacity: 0.52;
  --bg-vignette-strength: 0.68;
}

/* Preset 2: 标准版（平衡） */
body.bg-preset-standard {
  --bg-image-opacity: 0.42;
  --bg-vignette-strength: 0.75;
}

/* Preset 3: 更狠版（背景更暗，更聚焦） */
body.bg-preset-brutal {
  --bg-image-opacity: 0.36;
  --bg-vignette-strength: 0.82;
}

/* ===== 响应式优化 ===== */

/* 移动端：降低图片强度，提升性能 */
@media (max-width: 767px) {
  .bg-stack .bg-image {
    filter: blur(var(--bg-image-blur, 0px)) brightness(var(--bg-image-brightness-mobile, 0.85)) contrast(var(--bg-image-contrast, 1.1));
  }
  
  /* 移动端vignette稍强，确保文字可读 */
  body.bg-preset-clear {
    --bg-vignette-strength: 0.72;
  }
  
  body.bg-preset-standard {
    --bg-vignette-strength: 0.78;
  }
  
  body.bg-preset-brutal {
    --bg-vignette-strength: 0.85;
  }
}

/* 超小屏：进一步优化 */
@media (max-width: 480px) {
  .bg-stack .bg-image {
    filter: blur(var(--bg-image-blur, 0px)) brightness(var(--bg-image-brightness-small, 0.8)) contrast(var(--bg-image-contrast, 1.1));
  }
}

/* ---- END bg-stack.css ---- */

/* ---- BEGIN mobile-menu.css ---- */
/**
 * K4电竞 - 移动端菜单样式
 * 职责：手机端导航菜单（替换"快速选择"按钮）
 * 作用域：仅移动端显示
 */

/* ===== 移动端菜单按钮（替换"快速选择"） ===== */
.mobile-menu-btn {
  display: none; /* 默认隐藏，桌面端不显示 */
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 50;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(229, 231, 235, 0.9);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu-btn:hover span {
  background: rgba(0, 229, 255, 0.8);
}

/* 菜单打开状态 */
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== 移动端菜单面板 ===== */
.mobile-menu {
  display: none; /* 默认隐藏 */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 6, 7, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 45;
  padding: 80px 20px 20px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

.mobile-menu__content {
  max-width: 100%;
}

.mobile-menu__header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(245, 248, 255, 0.95);
  margin-bottom: 0.5rem;
}

.mobile-menu__subtitle {
  font-size: 0.875rem;
  color: rgba(156, 163, 175, 0.8);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-menu__link {
  display: block;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  color: rgba(229, 231, 235, 0.9);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-menu__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.mobile-menu__link:hover,
.mobile-menu__link:active {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 229, 255, 0.3);
  color: rgba(0, 229, 255, 0.9);
  transform: translateX(4px);
}

.mobile-menu__link:hover::before,
.mobile-menu__link:active::before {
  left: 100%;
}

.mobile-menu__link .hot-badge {
  margin-left: 0.5rem;
}

.mobile-menu__footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.mobile-menu__footer-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(74, 245, 255, 0.05));
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 0.75rem;
  color: rgba(0, 229, 255, 0.9);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.mobile-menu__footer-link:hover {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(74, 245, 255, 0.1));
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

/* ===== 响应式：仅在移动端显示 ===== */
@media (max-width: 767px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  /* 隐藏桌面端的"快速选择"按钮 */
  .desktop-quick-select {
    display: none;
  }
}

/* ===== 桌面端：隐藏移动端菜单 ===== */
@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
  
  .mobile-menu-btn {
    display: none !important;
  }
}

/* ---- END mobile-menu.css ---- */
