@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #07080b;
  --surface: #101217;
  --line: #2a2e38;
  --text: #f2f4f8;
  --muted: #9ca4b2;
  --acid: #caff46;
  --acid-ink: #0b0c10;
  --blue: #2095d6;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, Arial, sans-serif; }
a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: #07080bf7; }
.nav, .page-wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.nav { min-height: 64px; display: flex; align-items: center; gap: 26px; }
.brand, h1, h2, h3 { font-family: "Chakra Petch", Arial, sans-serif; font-weight: 700; }
.brand { text-decoration: none; letter-spacing: -.5px; font-size: 20px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a, .breadcrumbs, .category, .meta, .contents p { font: 700 10px/1.2 "JetBrains Mono", monospace; letter-spacing: .08em; text-decoration: none; }
.nav nav a { color: var(--muted); }
.top-ad-wrap { display: flex; justify-content: center; padding: 28px 16px 16px; border-bottom: 1px solid #181b22; }
.banner-slot { position: relative; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); background: var(--surface); text-align: center; font: 700 11px/1.4 "JetBrains Mono", monospace; letter-spacing: .06em; }
.leaderboard-slot { width: 728px; height: 90px; }
.leaderboard-image-slot { display: block; overflow: hidden; }
.leaderboard-image-slot::before { z-index: 1; background: rgba(7,8,11,.46); }
.leaderboard-image-slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.breadcrumbs { margin: 34px 0 0; color: var(--muted); }
.breadcrumbs span { color: var(--acid); margin: 0 7px; }
.article-header { display: grid; grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 48px; align-items: start; padding: 30px 0 42px; border-bottom: 1px solid var(--line); }
.category { display: inline-block; padding: 7px 9px; color: #e0f2ff; background: var(--blue); }
h1 { max-width: 720px; margin: 18px 0 16px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.5px; }
.dek { max-width: 720px; color: #c5cbd5; font-size: 21px; line-height: 1.5; }
.meta { padding-top: 16px; color: var(--muted); border-top: 1px solid var(--line); }
.meta span { color: var(--acid); padding: 0 8px; }
.rectangle-slot { width: 300px; height: 250px; }
.rectangle-image-slot { display: block; overflow: hidden; }
.rectangle-image-slot::before { z-index: 1; background: rgba(7,8,11,.5); }
.rectangle-image-slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.skyscraper-slot { width: 160px; height: 600px; justify-self: center; }
.nte-skyscraper {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  border-color: #394230;
  color: #fff;
  background: #090b10;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0,0,0,.42), inset 0 0 0 1px rgba(202,255,70,.06);
  clip-path: polygon(0 0,calc(100% - 13px) 0,100% 13px,100% 100%,13px 100%,0 calc(100% - 13px));
}
.nte-skyscraper::before {
  content: "";
  position: absolute;
  z-index: 6;
  inset: 0;
  border: 1px solid rgba(202,255,70,.24);
  background:
    linear-gradient(90deg,rgba(202,255,70,.9),rgba(202,255,70,0)) 0 0 / 58px 2px no-repeat,
    linear-gradient(0deg,rgba(202,255,70,.9),rgba(202,255,70,0)) 0 0 / 2px 74px no-repeat,
    linear-gradient(270deg,rgba(202,255,70,.9),rgba(202,255,70,0)) 100% 100% / 58px 2px no-repeat;
  pointer-events: none;
}
.nte-skyscraper-ad {
  position: absolute;
  z-index: 8;
  top: 9px;
  right: 10px;
  color: rgba(255,255,255,.52);
  font: 500 7px/1 "JetBrains Mono", monospace;
  letter-spacing: .15em;
}
.nte-skyscraper-brand {
  position: absolute;
  z-index: 7;
  top: 27px;
  left: 13px;
  color: #fff;
  font: 700 29px/.85 "Chakra Petch", Arial, sans-serif;
  letter-spacing: -.08em;
  text-shadow: 0 2px 18px rgba(0,0,0,.72);
}
.nte-skyscraper-brand::after {
  content: "//";
  margin-left: 8px;
  color: var(--acid);
  font-size: 10px;
  letter-spacing: -.1em;
}
.nte-skyscraper-kicker {
  position: absolute;
  z-index: 7;
  top: 64px;
  left: 13px;
  color: var(--acid);
  font: 700 7px/1.2 "JetBrains Mono", monospace;
  letter-spacing: .11em;
}
.nte-skyscraper-title {
  position: absolute;
  z-index: 7;
  top: 82px;
  left: 13px;
  color: #fff;
  font: 700 23px/.9 "Chakra Petch", Arial, sans-serif;
  letter-spacing: -.04em;
  text-shadow: 0 3px 16px #000;
}
.nte-skyscraper-stage {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
}
.nte-skyscraper-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(34px);
  transition: opacity .58s ease, transform .72s cubic-bezier(.22,.8,.2,1);
}
.nte-skyscraper-slide.is-active { opacity: 1; transform: translateX(0); }
.nte-skyscraper-slide.is-leaving { opacity: 0; transform: translateX(-30px); }
.nte-skyscraper-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1) brightness(.72) contrast(1.05);
  transform: scale(1.08);
  transition: transform 4s ease;
}
.nte-skyscraper-slide.is-active .nte-skyscraper-scene { transform: scale(1.17); }
.nte-skyscraper-stage::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(180deg,rgba(4,5,8,.62) 0,rgba(4,5,8,.3) 20%,rgba(4,5,8,.01) 37%,rgba(4,5,8,.06) 63%,rgba(4,5,8,.78) 83%,#07080b 100%),
    linear-gradient(90deg,rgba(7,8,11,.26),transparent 50%,rgba(7,8,11,.15));
  pointer-events: none;
}
.nte-skyscraper-stage::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 275px;
  background: linear-gradient(to bottom, transparent 0%, rgba(7,8,11,.18) 30%, rgba(7,8,11,.72) 68%, #07080b 100%);
  pointer-events: none;
}
.nte-skyscraper-character {
  position: absolute;
  z-index: 1;
  top: 148px;
  left: 50%;
  width: 270px;
  height: 390px;
  object-fit: contain;
  object-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0,0,0,.72) 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0,0,0,.72) 84%, transparent 100%);
  filter: drop-shadow(0 12px 16px rgba(0,0,0,.7));
  transform: translateX(-50%) scale(.96);
  transform-origin: 50% 14%;
  transition: transform 3.8s cubic-bezier(.2,.8,.2,1);
}
.nte-skyscraper-slide.is-active .nte-skyscraper-character { transform: translateX(-50%) scale(1.06); }
.nte-skyscraper-character--bohe { width: 282px; left: 48%; }
.nte-skyscraper-character--canhong { width: 270px; }
.nte-skyscraper-character--hero { width: 265px; left: 53%; }
.nte-skyscraper-character--yiluoyi { width: 270px; }
.nte-skyscraper-character--zhenhong { width: 280px; left: 51%; }
.nte-skyscraper-benefit {
  position: absolute;
  z-index: 7;
  left: 12px;
  bottom: 78px;
  padding: 9px 11px 8px;
  border-left: 3px solid var(--acid);
  color: #d8dde5;
  background: rgba(7,8,11,.74);
  backdrop-filter: blur(5px);
  font: 600 10px/1.25 "JetBrains Mono", monospace;
  letter-spacing: .08em;
}
.nte-skyscraper-benefit b { color: var(--acid); font-weight: 700; }
.nte-skyscraper-progress {
  position: absolute;
  z-index: 8;
  right: 11px;
  bottom: 84px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nte-skyscraper-progress i {
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,.34);
  transition: height .25s ease, background .25s ease;
}
.nte-skyscraper-progress i.is-active { height: 18px; background: var(--acid); }
.nte-skyscraper-cta {
  position: absolute;
  z-index: 8;
  right: 11px;
  bottom: 21px;
  left: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 13px;
  color: var(--acid-ink);
  overflow: hidden;
  background: linear-gradient(105deg, var(--acid) 0%, var(--acid) 42%, #f0ffc0 50%, var(--acid) 58%, var(--acid) 100%);
  background-size: 240% 100%;
  font: 700 15px/1 "Chakra Petch", Arial, sans-serif;
  letter-spacing: .02em;
  clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);
  transition: background .16s ease, transform .16s ease;
  animation: nte-cta-sweep 2.4s ease-in-out infinite;
}
.nte-skyscraper-cta b { font-size: 19px; transition: transform .16s ease; animation: nte-cta-arrow 1.2s ease-in-out infinite; }
@keyframes nte-cta-sweep {
  0%, 32% { background-position: 100% 0; box-shadow: 0 0 0 rgba(202,255,70,0); }
  56% { background-position: 0 0; box-shadow: 0 0 17px rgba(202,255,70,.52); }
  100% { background-position: 0 0; box-shadow: 0 0 0 rgba(202,255,70,0); }
}
@keyframes nte-cta-arrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}
.nte-skyscraper:hover .nte-skyscraper-cta,
.nte-skyscraper:focus-visible .nte-skyscraper-cta { background: #e4ff9b; transform: translateY(-2px); animation-play-state: paused; }
.nte-skyscraper:hover .nte-skyscraper-cta b,
.nte-skyscraper:focus-visible .nte-skyscraper-cta b { transform: translateX(3px); }
.nte-skyscraper:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.square-slot { width: 300px; aspect-ratio: 1 / 1; }
.square-image-slot { margin: 0; overflow: hidden; }
.square-image-slot::before { z-index: 1; background: rgba(7,8,11,.56); }
.square-image-slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.image-slot { margin: 0; min-height: 0; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.image-slot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-image-link { display: block; }
.hero-slot { max-width: 720px; margin-bottom: 24px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 48px; padding: 46px 0 132px; }
.lead { color: #e3e6eb; font-size: 18px; }
section { scroll-margin-top: 90px; }
article h2 { margin: 48px 0 18px; font-size: 33px; line-height: 1.08; text-transform: uppercase; }
article h2::before { content: "// "; color: var(--acid); font: 14px monospace; }
article p { color: #c6ccd6; font-size: 18px; }
article a:not(.offer-card-button) { color: var(--acid); font-weight: 600; text-decoration: none; }
article a:not(.offer-card-button):hover, article a:not(.offer-card-button):focus-visible { color: #e2ff99; }
.early-link, .standalone-link { margin: 18px 0 0; }
.early-link a, .standalone-link a { font-family: "Chakra Petch", Arial, sans-serif; font-weight: 700; }
.article-image-slot { margin: 28px 0; }
.inline-slot { width: 100%; min-height: 130px; margin: 28px 0; }
.inline-image-slot { display: block; width: min(640px, 100%); min-height: 0; height: auto; aspect-ratio: 640 / 130; margin-right: auto; margin-left: auto; overflow: hidden; }
.inline-image-slot::before { z-index: 1; background: rgba(7,8,11,.32); }
.inline-image-slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.offer-card { position: relative; isolation: isolate; overflow: hidden; margin-top: 34px; padding: 28px 26px 26px; border: 1px solid var(--line); border-left: 4px solid var(--acid); background: #161923; }
.offer-card-art { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.offer-card::before { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(7,8,11,.97) 0%, rgba(7,8,11,.91) 42%, rgba(7,8,11,.52) 72%, rgba(7,8,11,.2) 100%); pointer-events: none; }
.offer-card > :not(.offer-card-art) { position: relative; z-index: 2; }
.offer-card .offer-kicker { margin: 0 0 8px; color: var(--acid); font: 700 11px/1.2 "JetBrains Mono", monospace; letter-spacing: .16em; }
.offer-card h3 { margin: 0 0 8px; color: #fff; font-size: 26px; line-height: 1.15; }
.offer-card > p:not(.offer-kicker) { max-width: 650px; margin: 0; color: #aeb5c2; font-size: 18px; }
.offer-card-button { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 13px 28px; color: var(--acid-ink); background: var(--acid); font-family: "Chakra Petch", Arial, sans-serif; font-size: 16px; font-weight: 600; text-decoration: none; clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px); }
.offer-card-button:hover, .offer-card-button:focus-visible { background: #ddff89; }
ol { padding-left: 24px; color: #c6ccd6; }
li { padding: 7px 0; }
.table-wrap { overflow-x: auto; margin: 25px 0; border: 1px solid var(--line); }
table { width: 100%; min-width: 600px; border-collapse: collapse; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--acid); background: #141820; font: 700 10px monospace; text-transform: uppercase; }
td { color: #c6ccd6; font-size: 14px; }
.sidebar { position: sticky; top: 90px; align-self: start; display: grid; gap: 22px; }
.contents { border: 1px solid var(--line); background: var(--surface); }
.contents p { margin: 0; padding: 15px; color: var(--acid); border-bottom: 1px solid var(--line); }
.contents a { display: block; padding: 12px 15px; color: #c0c6d0; border-bottom: 1px solid var(--line); font-size: 13px; text-decoration: none; }
.contents a:last-child { border: 0; }
.contents a.active { color: var(--acid); background: #171b22; }
.bottom-anchor { position: fixed; right: 0; bottom: 0; left: 0; z-index: 9; display: none; flex-direction: column; align-items: center; padding: 7px 12px 8px; background: #07080bf7; border-top: 1px solid var(--line); }
.bottom-anchor.is-visible { display: flex; }
.bottom-anchor .leaderboard-slot { width: 728px; height: 90px; }
#close-anchor { position: absolute; top: 2px; right: max(12px, calc((100vw - 728px) / 2 + 2px)); z-index: 2; display: grid; width: 22px; height: 22px; place-items: center; margin: 0; padding: 0; border: 1px solid #3b424e; color: #d7dce5; background: #10131ad9; border-radius: 50%; font: 20px/1 Arial, sans-serif; cursor: pointer; }
#close-anchor:hover { color: var(--acid); border-color: var(--acid); }

@media (max-width: 860px) {
  .article-header, .article-layout { grid-template-columns: 1fr; }
  .article-header { gap: 28px; }
  .article-header .square-slot { display: none; }
  .sidebar { display: none; }
}
@media (max-width: 760px) {
  .nav, .page-wrap { width: min(100% - 30px, var(--max)); }
  .nav nav { display: none; }
  .top-ad-wrap { height: auto; padding: 12px 15px; overflow: hidden; }
  .top-ad-wrap .leaderboard-slot { width: 100%; height: 72px; margin: 0; transform: none; }
  .bottom-anchor { display: none; }
  h1 { font-size: 34px; }
  .dek, article p { font-size: 16px; }
  .offer-card { padding: 24px 20px 22px; }
  .offer-card h3 { font-size: 23px; }
  .article-layout { padding-bottom: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .nte-skyscraper-slide,
  .nte-skyscraper-scene,
  .nte-skyscraper-character,
  .nte-skyscraper-cta,
  .nte-skyscraper-cta b { transition: none; animation: none; }
}
