:root {
  --black: #000;
  --white: #fff;
  --acid: #adff8f;
  --blue: #3a04ff;
  --hero: #958584;
  --ink-muted: rgba(0, 0, 0, 0.58);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, "Noto Sans TC", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  padding: 24px 64px;
  overflow: hidden;
  background: var(--black);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(173, 255, 143, 0.28);
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-width: 261px;
  color: var(--white);
}

.brand img {
  display: block;
  width: 261px;
  height: auto;
}

.main-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 12px 43px;
  background: var(--acid);
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a {
  transition: opacity 160ms ease, transform 160ms ease;
}

.main-nav a:hover {
  opacity: 0.72;
  transform: translateY(-1px);
}

.top-rings,
.bottom-rings {
  position: absolute;
  width: 360px;
  height: 145px;
  background: center / contain no-repeat;
  opacity: 0.9;
}

.top-rings {
  top: -50px;
  right: -42px;
  background-image: url("/assets/header-rings.svg");
}

.bottom-rings {
  top: -76px;
  right: -42px;
  background-image: url("/assets/footer-rings.svg");
}

.marquee {
  display: flex;
  width: 100%;
  height: 48px;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 20px;
}

.marquee div {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  min-width: 100%;
  justify-content: center;
  flex-shrink: 0;
  animation: marquee-drift 16s linear infinite;
}

.marquee span {
  white-space: nowrap;
}

@keyframes marquee-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-12%);
  }
}

.hero {
  position: relative;
  min-height: 853px;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.16)),
    var(--hero);
}

.hero-copy {
  position: absolute;
  top: 78px;
  left: 64px;
}

.hero h1,
.hero-shadow {
  margin: 0;
  font-family: "SFMono-Regular", Consolas, "Noto Sans TC", monospace;
  font-size: clamp(58px, 8vw, 100px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.1em;
}

.hero h1 {
  position: relative;
  color: var(--white);
  text-shadow: 8px 8px 0 rgba(0, 0, 0, 0.58);
}

.hero-shadow {
  position: absolute;
  top: -22px;
  left: -22px;
  color: var(--blue);
  -webkit-text-stroke: 1px var(--acid);
  text-shadow: none;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 94px;
  height: 64px;
  border: 0;
  border-radius: 16px;
  background: #a40000;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.play-button::after {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  content: "";
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid rgba(255, 255, 255, 0.72);
  transform: translate(-50%, -50%);
}

.wire-orb {
  position: absolute;
  right: -200px;
  bottom: 86px;
  width: 635px;
  height: auto;
  pointer-events: none;
}

.signal-card {
  position: absolute;
  left: 86px;
  bottom: 43px;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 455px;
  min-height: 70px;
  padding: 10px 0;
  border-top: 1px dashed rgba(173, 255, 143, 0.5);
  border-bottom: 1px dashed rgba(173, 255, 143, 0.5);
}

.signal-card p {
  margin: 0;
  color: var(--white);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.23em;
  line-height: 1.34;
}

.barcode {
  width: 150px;
  flex: 0 0 150px;
  height: 70px;
  object-fit: cover;
  object-position: left center;
}

.listing-section,
.article-section {
  position: relative;
  overflow: hidden;
  padding: 64px 7vw 90px;
  background: var(--black);
}

.listing-section::before,
.article-section::before {
  position: absolute;
  left: -92px;
  bottom: -40px;
  width: 566px;
  height: 473px;
  content: "";
  border: 1.5px solid rgba(173, 255, 143, 0.36);
  border-radius: 48% 52% 46% 54%;
  transform: rotate(-16deg);
}

.section-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto 48px;
}

.section-title h2 {
  margin: 0;
  color: var(--white);
  font-size: 42px;
  line-height: 1;
}

.section-title span {
  height: 1px;
  flex: 1;
  background: var(--acid);
}

.card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 58px 45px;
  max-width: var(--max);
  margin: 0 auto;
}

.feature-card {
  min-width: 0;
}

.thumb {
  position: relative;
  height: 226px;
  overflow: hidden;
  background: #272727;
}

.thumb::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(125deg, transparent 46%, rgba(173, 255, 143, 0.8) 47% 48%, transparent 49%),
    radial-gradient(circle at 28% 26%, rgba(255, 255, 255, 0.18), transparent 30%);
}

.gradient-a { background: linear-gradient(135deg, #202020, #5c411c); }
.gradient-b { background: linear-gradient(135deg, #172324, #823a30); }
.gradient-c { background: linear-gradient(135deg, #241d44, #425632); }
.gradient-d { background: linear-gradient(135deg, #3d1d26, #6b6f78); }
.gradient-e { background: linear-gradient(135deg, #103233, #734d18); }
.gradient-f { background: linear-gradient(135deg, #232323, #4b4f77); }

.feature-card h3 {
  margin: 18px 0 0;
  color: var(--white);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 26px;
  letter-spacing: 0;
}

.feature-card h3::before {
  margin-right: 10px;
  content: "▸";
  color: var(--acid);
}

.video-card .thumb::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 86px;
  height: 86px;
  content: "";
  border: 2px solid var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pager {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 58px;
  font-size: 24px;
  font-weight: 800;
}

.pager button,
.pager a {
  display: grid;
  min-width: 28px;
  min-height: 35px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.pager [aria-current="page"] {
  color: var(--acid);
  font-size: 32px;
}

.article-block {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  color: var(--white);
}

.article-block h3 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 48px 0 26px;
  font-size: 32px;
  line-height: 1.2;
}

.article-block h3:first-child {
  margin-top: 0;
}

.article-block h3::before {
  display: inline-block;
  width: 15px;
  height: 40px;
  content: "";
  background: var(--acid);
}

.article-block p {
  max-width: 991px;
  margin: 0 0 24px 33px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.75;
}

.long-form {
  padding-bottom: 140px;
}

.info-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 78px;
  padding: 46px max(64px, calc((100vw - var(--max)) / 2)) 68px;
  background: var(--acid);
  color: var(--black);
}

.brand.dark {
  min-width: 139px;
  width: 139px;
}

.brand.dark img {
  width: 139px;
}

.footer-brand p {
  margin: 14px 0 18px;
  color: var(--ink-muted);
  font-size: 12px;
}

.organizers {
  display: flex;
  gap: 24px;
}

.organizers div {
  min-width: 146px;
}

.organizers small,
address {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.45;
}

.organizers img {
  display: block;
  width: 160px;
  max-width: 100%;
  height: 32px;
  margin-top: 6px;
  object-fit: contain;
  object-position: left center;
}

address {
  font-style: normal;
}

address strong {
  display: block;
  margin-bottom: 28px;
  color: var(--black);
}

.bottom-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  padding: 22px 64px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--black);
}

.bottom-footer p {
  margin: 0;
  color: var(--acid);
  font-size: 24px;
  font-weight: 800;
}

.bottom-footer nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 20px;
  font-weight: 800;
}

.bottom-footer nav img {
  display: block;
  width: 24px;
  height: 24px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    min-height: auto;
    padding: 24px;
  }

  .main-nav {
    max-width: 56vw;
    gap: 18px;
    overflow-x: auto;
    padding: 11px 18px;
    font-size: 14px;
  }

  .hero {
    min-height: 720px;
  }

  .card-grid,
  .info-footer {
    grid-template-columns: 1fr;
  }

  .info-footer {
    gap: 36px;
    padding-inline: 28px;
  }
}

@media (max-width: 680px) {
  .site-header {
    display: block;
    padding: 18px;
  }

  .brand {
    min-width: 180px;
  }

  .brand img {
    width: 180px;
  }

  .main-nav {
    width: calc(100vw - 36px);
    max-width: none;
    margin-top: 18px;
  }

  .top-rings {
    right: -250px;
  }

  .marquee {
    font-size: 15px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-copy {
    top: 58px;
    left: 24px;
  }

  .hero h1,
  .hero-shadow {
    font-size: 48px;
    letter-spacing: 0.05em;
  }

  .hero-shadow {
    top: -12px;
    left: -12px;
  }

  .wire-orb {
    right: -340px;
    bottom: 120px;
  }

  .signal-card {
    left: 24px;
    right: 24px;
    width: auto;
  }

  .signal-card p {
    font-size: 10px;
  }

  .barcode {
    width: 112px;
    flex-basis: 112px;
  }

  .listing-section,
  .article-section {
    padding-inline: 24px;
  }

  .section-title h2 {
    font-size: 34px;
  }

  .thumb {
    height: 210px;
  }

  .article-block h3 {
    font-size: 24px;
  }

  .article-block p {
    margin-left: 0;
    font-size: 17px;
  }

  .bottom-footer {
    padding-inline: 24px;
  }
}
