:root {
  --bg: #080b10;
  --bg2: #12161f;
  --ice: #00f5ff;
  --ice2: #7fe5ff;
  --warm: #f4a261;
  --paper: #fff5e6;
  --pink: #ff2a6d;
  --ink: #e8f3fb;
  --muted: #a8bac8;
  --line: rgba(127, 229, 255, .22);
  --shadow: 0 22px 70px rgba(0, 0, 0, .42);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(145deg, #080b10 0%, #0b1018 48%, #12161f 100%);
  color: var(--ink);
  font: 16px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}
body:before {
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .22;
  background-image: linear-gradient(125deg, transparent 0 47%, rgba(127,229,255,.14) 48%, transparent 49%), linear-gradient(35deg, transparent 0 60%, rgba(255,255,255,.08) 61%, transparent 62%), linear-gradient(155deg, transparent 0 72%, rgba(0,245,255,.07) 72.2%, transparent 72.5%);
  background-size: 240px 180px, 310px 240px, 100% 100%; mix-blend-mode: screen;
}
a { color: var(--ice2); text-decoration: none; }
a:hover { color: var(--paper); }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 30; background: var(--paper); color: #111; padding: 8px 12px; }
.top { position: sticky; z-index: 20; top: 0; background: rgba(8,11,16,.94); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.top:after { content: ""; display: block; height: 2px; opacity: .7; background: linear-gradient(90deg, transparent, var(--ice), transparent 76%); }
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-weight: 800; letter-spacing: .12em; color: var(--paper); white-space: nowrap; }
.brand i { color: var(--ice); font-style: normal; }
.navlinks { display: flex; gap: 18px; align-items: center; }
.navlinks a { color: #d8e8f2; font-size: .93rem; }
.navlinks a:hover { color: var(--ice); }
.menu { display: none; background: none; border: 1px solid var(--line); color: var(--ice); padding: 7px 9px; border-radius: 8px; }
.hero { min-height: 690px; display: grid; align-items: center; position: relative; padding: 76px 0; isolation: isolate; overflow: hidden; }
.hero:before { content: ""; position: absolute; z-index: -1; inset: 4% -10% 0 42%; opacity: .48; background: linear-gradient(128deg, transparent 0 27%, rgba(0,245,255,.055) 27.2% 27.4%, transparent 27.6% 61%, rgba(127,229,255,.07) 61.2% 61.5%, transparent 61.8%), linear-gradient(34deg, transparent 0 42%, rgba(127,229,255,.055) 42.2% 42.4%, transparent 42.7%); clip-path: polygon(18% 0, 100% 5%, 88% 80%, 44% 100%, 0 63%); }
.hero-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ice); }
.eyebrow:before { content: ""; width: 28px; height: 1px; background: var(--ice); }
h1, h2, h3 { line-height: 1.2; color: var(--paper); margin: 0 0 .7em; }
h1 { font-size: 5.1rem; letter-spacing: .035em; text-shadow: 3px 0 rgba(255,42,109,.16), -3px 0 rgba(0,245,255,.19); }
h2 { font-size: 2.35rem; }
h3 { font-size: 1.2rem; }
.lead { font-size: 1.12rem; color: #cbdde8; max-width: 640px; }
.hero-actions, .buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  border: 1px solid var(--ice); background: var(--ice);
  color: #041015; padding: 12px 22px; border-radius: 4px; font-weight: 800;
  letter-spacing: .04em; cursor: pointer; font-size: 1rem;
  box-shadow: 0 0 26px rgba(0,245,255,.16); transition: .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--paper); color: #16131a; border-color: var(--pink); box-shadow: 3px 0 var(--pink), -3px 0 var(--ice); }
.btn.ghost { background: transparent; color: var(--ice); box-shadow: none; }
.hero-art { position: relative; min-height: 470px; display: grid; place-items: center; perspective: 900px; }
.crystal {
  width: min(470px,90%); aspect-ratio: 1;
  clip-path: polygon(48% 0,74% 9%,100% 35%,91% 66%,73% 98%,40% 91%,9% 78%,0 45%,20% 15%);
  background: linear-gradient(138deg,rgba(127,229,255,.76) 0 11%,rgba(21,44,68,.78) 11.3% 39%,rgba(255,245,230,.28) 39.3% 40%,rgba(9,22,34,.91) 40.3% 66%,rgba(244,162,97,.3) 66.3% 67%,rgba(0,245,255,.42) 67.3%);
  border: 1px solid rgba(255,255,255,.6); box-shadow: inset 0 0 60px rgba(255,255,255,.2),0 0 55px rgba(0,245,255,.16);
  overflow: hidden; transform: rotate(-8deg) rotateY(-9deg); animation: float 7s ease-in-out infinite;
}
.crystal:after {
  content: ""; position: absolute; inset: -10%;
  background: linear-gradient(110deg,transparent 0 33%,rgba(255,255,255,.72) 35%,transparent 37%),linear-gradient(25deg,transparent 45%,rgba(0,0,0,.22) 46%,transparent 48%),linear-gradient(147deg,transparent 0 52%,rgba(0,245,255,.25) 52.2% 52.5%,transparent 52.8%);
  mix-blend-mode: overlay;
}
.crystal img { width: 100%; height: 100%; object-fit: cover; opacity: .63; filter: saturate(.72) contrast(1.1); mix-blend-mode: screen; }
.shard { position: absolute; border: 1px solid rgba(127,229,255,.38); background: rgba(127,229,255,.12); backdrop-filter: blur(6px); width: 72px; height: 72px; clip-path: polygon(50% 0,100% 35%,70% 100%,8% 74%,0 27%); animation: float 6s ease-in-out infinite; }
.s1 { top: 4%; left: 8%; } .s2 { right: 0; bottom: 12%; animation-delay: -2s; } .s3 { bottom: 0; left: 18%; width: 50px; height: 50px; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-16px) rotate(8deg); } }
.facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; border: 1px solid var(--line); background: rgba(127,229,255,.18); margin-top: -1px; position: relative; clip-path: polygon(0 0,99% 0,100% 18%,100% 100%,1% 100%,0 82%); }
.fact { background: rgba(8,11,16,.82); padding: 17px 20px; }
.fact strong { display: block; color: var(--ice); font-size: .8rem; letter-spacing: .1em; }
.fact span { color: #dbeaf4; font-size: .94rem; }
section { padding: 86px 0; }
.section-head { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 30px; }
.section-head p { margin: 0; max-width: 560px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card { background: rgba(9,15,23,.78); border: 1px solid var(--line); padding: 25px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.card:before { content: ""; position: absolute; top: 0; left: 0; width: 45px; height: 2px; background: var(--ice); }
.card:after { content: ""; position: absolute; right: 0; bottom: 0; width: 20px; height: 20px; background: linear-gradient(135deg, transparent 48%, rgba(127,229,255,.4) 49% 52%, transparent 53%); }
.card p { color: var(--muted); margin-bottom: 0; }
.media-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.media { min-height: 310px; position: relative; border: 1px solid var(--line); overflow: hidden; background: #101720; }
.media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; filter: brightness(.68) saturate(.8); transition: .5s; }
.media:hover img { transform: scale(1.04); filter: brightness(.86) saturate(1); }
.media figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; background: linear-gradient(transparent,rgba(4,8,13,.92)); font-weight: 700; }
.media.small { min-height: 146px; } .media-stack { display: grid; gap: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.steps { counter-reset: steps; }
.step { position: relative; padding: 19px 15px 19px 67px; border-bottom: 1px solid var(--line); color: #d7e4ec; }
.step:before { counter-increment: steps; content: counter(steps,decimal-leading-zero); position: absolute; left: 0; top: 18px; color: var(--warm); font-weight: 800; font-size: 1.05rem; }
.route { border-left: 2px solid var(--ice); padding-left: 20px; margin: 18px 0; } .route h3 { color: var(--ice2); }
.index { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.index a { display: block; min-height: 155px; background: rgba(9,15,23,.7); border: 1px solid var(--line); border-top: 2px solid rgba(0,245,255,.5); padding: 19px; transition: .2s; clip-path: polygon(0 0,94% 0,100% 10%,100% 100%,6% 100%,0 90%); }
.index a:hover { border-color: var(--pink); transform: translateY(-4px); background: rgba(13,31,42,.94); box-shadow: 2px 0 var(--pink); }
.index b { display: block; color: var(--paper); margin-bottom: 8px; } .index small { color: var(--muted); }
.timeline { border-left: 1px solid var(--line); margin-left: 8px; }
.event { position: relative; padding: 0 0 30px 32px; }
.event:before { content: ""; width: 11px; height: 11px; background: var(--ice); box-shadow: 0 0 14px var(--ice); position: absolute; left: -6px; top: 7px; transform: rotate(45deg); }
.event time { display: block; color: var(--warm); font-size: .86rem; }
.faq details { background: rgba(9,15,23,.76); border: 1px solid var(--line); border-left: 2px solid rgba(0,245,255,.55); padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 25px 16px 0; color: var(--paper); font-weight: 700; list-style: none; }
.faq summary:after { content: "＋"; float: right; color: var(--ice); } .faq details[open] summary:after { content: "－"; }
.faq p { color: var(--muted); margin-top: 0; }
.page-hero { padding: 80px 0 36px; border-bottom: 1px solid var(--line); background: linear-gradient(125deg,rgba(0,245,255,.045),transparent 36%); }
.page-hero .lead { max-width: 780px; } .crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.article { max-width: 900px; } .article h2 { margin-top: 1.7em; }
.article p, .article li { color: #c2d1dc; } .article ul { padding-left: 1.2em; }
.notice { border: 1px solid rgba(244,162,97,.45); border-left: 3px solid var(--warm); padding: 15px 18px; background: rgba(244,162,97,.06); color: #f6dac1; }
.updated { color: var(--muted); font-size: .9rem; }
.footer { border-top: 1px solid var(--line); padding: 46px 0; background: rgba(5,8,12,.65); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 25px; }
.footer p, .footer li { color: var(--muted); font-size: .92rem; } .footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.footer .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: #7e96a7; }
.toast { position: fixed; z-index: 50; right: 18px; bottom: 18px; max-width: 340px; padding: 14px 18px; background: var(--paper); color: #111; border-left: 4px solid var(--ice); box-shadow: var(--shadow); transform: translateY(120%); transition: .3s; }
.toast.show { transform: translateY(0); }
::selection { color: #080b10; background: var(--ice); }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 4px; }
@media (max-width: 850px) {
  .nav { height: 62px; } .menu { display: block; }
  .navlinks { display: none; position: absolute; top: 62px; left: 0; right: 0; padding: 14px 20px; background: #0c121b; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .navlinks.open { display: flex; }
  .hero { min-height: auto; padding: 60px 0; }
  h1 { font-size: 3.5rem; } h2 { font-size: 2.1rem; }
  .hero-grid, .media-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .hero-art { order: 0; min-height: 290px; } .crystal { width: 270px; }
  .grid { grid-template-columns: 1fr 1fr; } .index { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; } .section-head { display: block; }
  .section-head p { margin-top: 12px; } .media { min-height: 240px; }
}
@media (max-width: 520px) {
  .wrap { width: min(100% - 28px,1160px); }
  .brand { font-size: .78rem; letter-spacing: .04em; }
  .nav { gap: 8px; } .menu { flex: 0 0 auto; font-size: .8rem; padding: 6px 8px; }
  .navlinks { max-height: calc(100vh - 62px); overflow: auto; }
  h1 { font-size: 2.75rem; } h2 { font-size: 1.8rem; } .grid, .index { grid-template-columns: 1fr; }
  section { padding: 62px 0; } .card { padding: 20px; }
  .hero-actions .btn { width: 100%; text-align: center; } .fact { padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Backend-managed download confirmation. Static href remains in source for no-JS access. */
.download-guard-overlay{position:fixed;z-index:9999;inset:0;display:grid;place-items:center;padding:20px;background:rgba(2,6,11,.82);backdrop-filter:blur(5px)}
.download-guard-overlay[hidden]{display:none!important}.download-guard-dialog{width:min(440px,100%);padding:28px;border:1px solid #8edfff;background:#101b27;color:#f4f8fc;box-shadow:0 24px 70px rgba(0,0,0,.58)}
.download-guard-dialog h2{margin:0 0 10px;color:#fff;font-size:1.55rem}.download-guard-dialog p{margin:0;color:#d2deea}.download-guard-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.download-guard-actions button{min-height:42px;padding:0 16px;border:1px solid #86a2ba;background:#182a3a;color:#fff;cursor:pointer;font-weight:700}.download-guard-actions .download-guard-confirm{background:#72dff5;border-color:#72dff5;color:#061018}
