﻿:root {
  --container: 1200px;
}

.container {
  padding-right: clamp(20px, 4vw, 64px);
  padding-left: clamp(20px, 4vw, 64px);
}

.doc-hero {
  padding: clamp(96px, 12vw, 150px) 0 clamp(64px, 8vw, 96px);
  text-align: center;
  background:
    radial-gradient(52% 60% at 50% 0%, rgba(26, 86, 219, 0.08), transparent 70%),
    var(--bg);
}

.doc-hero h1 {
  margin: 22px 0 20px;
  font-family: var(--font);
  font-size: clamp(36px, 4.3vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.doc-lead {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(44px, 6vw, 68px);
  text-align: left;
}

.product-entry {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-entry:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(26, 86, 219, 0.1);
}

.product-entry-visual {
  display: flex;
  align-items: flex-end;
  min-height: 168px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(26, 86, 219, 0.18), transparent 60%),
    #0f172a;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.product-entry-body {
  padding: 24px;
}

.entry-index {
  color: var(--accent);
  font-size: 14px;
}

.product-entry h2 {
  margin: 14px 0 10px;
  font-size: 24px;
  font-weight: 700;
}

.product-entry p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.entry-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 14px;
  color: var(--accent);
  font-size: 14px;
}

.doc-section {
  padding: clamp(60px, 8vw, 88px) 0;
  border-top: 1px solid var(--line);
}

.doc-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.doc-section-head h2 {
  margin-top: 16px;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.doc-count {
  flex: none;
  color: var(--dim);
  font-size: 14px;
}

.doc-news {
  border-top: 1px solid var(--line);
}

.doc-news-item {
  display: grid;
  grid-template-columns: 96px 64px minmax(0, 1fr) 24px;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.doc-news-item:hover {
  background: var(--panel);
}

.doc-news-item time {
  color: var(--dim);
  font-size: 14px;
}

.doc-tag {
  color: var(--accent);
  font-size: 14px;
}

.doc-news-item h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.doc-arrow {
  color: var(--dim);
  font-size: 18px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.doc-news-item:hover .doc-arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

.doc-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.doc-about-copy p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.doc-about-copy p + p {
  margin-top: 16px;
}

.doc-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.doc-stats div {
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.doc-stats dt {
  color: var(--dim);
  font-size: 14px;
}

.doc-stats dd {
  margin: 8px 0 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.doc-join-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 96px);
}

.doc-quote {
  margin-top: 22px;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
}

.doc-roles {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.doc-roles li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.doc-roles em {
  color: var(--dim);
  font-size: 14px;
  font-style: normal;
}

.doc-mail {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 24px;
  padding: 0 22px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  transition: background 0.2s ease;
}

.doc-mail:hover {
  background: #1e40af;
}

.doc-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 40px;
  align-items: end;
  padding: 40px 0;
}

.doc-footer-mark {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.doc-footer-line {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

.doc-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.doc-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--muted);
  font-size: 14px;
}

.doc-footer-links a:hover {
  color: var(--accent);
}

.doc-footer-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--dim);
  font-size: 14px;
  text-align: right;
}

@media (max-width: 900px) {
  .product-cards,
  .doc-about-grid,
  .doc-join-grid {
    grid-template-columns: 1fr;
  }

  .doc-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .doc-footer-legal {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 13px;
    padding: 4px 0;
  }

  .doc-hero {
    padding-top: 72px;
  }

  .doc-news-item {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "date tag"
      "title arrow";
    gap: 4px 14px;
  }

  .doc-news-item time { grid-area: date; }
  .doc-tag { grid-area: tag; text-align: right; }
  .doc-news-item h3 { grid-area: title; }
  .doc-arrow { grid-area: arrow; }

  .doc-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .doc-stats dd {
    font-size: 28px;
  }
}


/* Cinematic hero: one line, one visual subject */
.hero-cinema {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  background: #0f172a;
  color: #fff;
}

.hero-video,
.hero-fallback,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback {
  z-index: 0;
  background:
    radial-gradient(45% 55% at 28% 38%, rgba(59, 130, 246, 0.3), transparent 65%),
    radial-gradient(40% 50% at 76% 66%, rgba(26, 86, 219, 0.28), transparent 68%),
    #0f172a;
  animation: hero-drift 16s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}

.hero-fallback::before {
  content: ";
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(148, 197, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 197, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(500px) rotateX(58deg) translateY(12%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 68%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 68%);
  animation: hero-grid 12s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}

.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0.74)),
    radial-gradient(60% 60% at 50% 50%, transparent, rgba(15, 23, 42, 0.5));
}

.hero-center {
  position: relative;
  z-index: 3;
  max-width: 920px;
  padding: 0 24px;
  text-align: center;
}

.hero-center .eyebrow {
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.24em;
}

.hero-center h1 {
  margin: 24px 0 0;
  font-size: clamp(48px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.hero-scroll:hover {
  color: #fff;
}

.doc-products {
  padding: clamp(60px, 8vw, 88px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.doc-products .product-cards {
  margin-top: 0;
}

.product-entry {
  display: block;
  padding: 24px;
  border-top: 2px solid var(--line);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
}

.product-entry:hover {
  border-top-color: var(--accent);
  background: var(--panel);
  box-shadow: none;
}

.product-entry .entry-index {
  font-size: 14px;
}

.product-entry h2 {
  margin: 18px 0 8px;
  font-size: 24px;
}

.product-entry p {
  min-height: 26px;
  margin: 0;
  font-size: 15px;
}

.product-entry .entry-link {
  margin-top: 20px;
}

@keyframes hero-drift {
  from { transform: scale(1) translate3d(-1.5%, -1%, 0); }
  to { transform: scale(1.08) translate3d(1.5%, 1%, 0); }
}

@keyframes hero-grid {
  from { transform: perspective(500px) rotateX(58deg) translateY(16%); opacity: 0.5; }
  to { transform: perspective(500px) rotateX(58deg) translateY(4%); opacity: 1; }
}

@media (max-width: 760px) {
  .hero-cinema {
    min-height: calc(100svh - 64px);
  }

  .hero-center h1 {
    font-size: clamp(40px, 10vw, 48px);
  }

  .product-entry {
    padding: 20px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fallback,
  .hero-fallback::before {
    animation: none;
  }
}


.hero-center .eyebrow,
.hero-center h1 {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-center h1 {
  animation-delay: 0.08s;
}


.product-visual {
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  margin: -24px -24px 24px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), transparent 62%), #0f172a;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.entry-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  transition: background 0.25s ease, color 0.25s ease;
}

.product-entry:hover .entry-btn {
  background: var(--accent);
  color: #fff;
}

.doc-news-item {
  grid-template-columns: 120px 96px 64px minmax(0, 1fr) 24px;
}

.news-thumb-mini {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 16 / 10;
  padding: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), transparent 60%), #0f172a;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  font-size: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--dim);
}

.social-links a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .doc-news-item {
    grid-template-columns: 1fr auto;
    grid-template-areas: "thumb thumb" "date tag" "title arrow";
  }
  .news-thumb-mini { grid-area: thumb; width: 100%; }
  .doc-news-item time { grid-area: date; }
  .doc-tag { grid-area: tag; }
  .doc-news-item h3 { grid-area: title; }
  .doc-arrow { grid-area: arrow; }
}


.product-entry { border: 1px solid #e5e7eb !important; border-radius: 12px !important; background: #ffffff !important; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05); }
.product-entry:hover { box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12); }
.entry-btn, .doc-mail { border-radius: 8px !important; }

/* Global content width: 1200px max, 24/48px padding */
.container {
  width: 90% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 48px !important;
  padding-right: 48px !important;
}
@media (max-width: 760px) {
  .container { padding-left: 24px !important; padding-right: 24px !important; }
}

/* Full light hero */
.hero-cinema { background: #f8f9fa !important; color: #1a1a1a !important; }
.hero-overlay { background: linear-gradient(180deg, rgba(248,249,250,.25), rgba(248,249,250,.94)) !important; }
.hero-fallback { background: radial-gradient(45% 55% at 28% 38%, rgba(37,99,235,.16), transparent 65%), radial-gradient(40% 50% at 76% 66%, rgba(96,165,250,.18), transparent 68%), #f8f9fa !important; }
.hero-center h1 { color: #1a1a1a !important; }
.hero-center .eyebrow, .hero-scroll { color: #666 !important; }
.hero-center { max-width: 1000px; width: 100%; }
.page-head { max-width: none !important; }
.page-lead { max-width: none !important; }

.doc-lead, .doc-about-copy p, .page-lead, .article, .article-body { max-width: none !important; }
.game-hero-full .btn { border-color: #d1d5db !important; color: #1a1a1a !important; }
.game-hero-full .btn-primary { background: #2563eb !important; border-color: #2563eb !important; color: #fff !important; }
.hero-full .btn { border-color: #d1d5db !important; color: #1a1a1a !important; }
.hero-full .btn-primary { background: #2563eb !important; border-color: #2563eb !important; color: #fff !important; }

/* Full-bleed visual layout */
.site-header { background: #ffffff !important; border-bottom: 1px solid #e5e7eb !important; }
.site-header .container { width: 100% !important; max-width: none !important; padding-left: 32px !important; padding-right: 32px !important; }
.nav-links a { color: #1a1a1a !important; }
.nav-links a:hover, .nav-links a.is-active { color: #2563eb !important; }
html, body, main, .doc-section, .doc-products, .site-footer, .page { background: #ffffff !important; }
.hero-cinema { background: #0f172a !important; color: #fff !important; }
.hero-overlay { background: linear-gradient(180deg, rgba(15,23,42,.2), rgba(15,23,42,.78)) !important; }
.hero-fallback { background: radial-gradient(45% 55% at 28% 38%, rgba(37,99,235,.38), transparent 65%), radial-gradient(40% 50% at 76% 66%, rgba(96,165,250,.28), transparent 68%), #0f172a !important; }
.hero-center h1 { color: #fff !important; }
.hero-center .eyebrow, .hero-scroll { color: rgba(255,255,255,.72) !important; }

.product-cards { display: grid !important; grid-template-columns: 1fr !important; gap: 24px !important; }
.product-entry {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-height: 62vh !important;
  padding: 40px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: #0f172a !important;
  background-size: cover !important;
  background-position: center !important;
  color: #fff !important;
}
.product-entry::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.1), rgba(15,23,42,.82)); }
.product-entry > * { position: relative; z-index: 1; }
.product-entry .product-visual { position: absolute; top: 24px; left: 40px; min-height: 0; margin: 0; padding: 0; background: none !important; }
.product-entry .entry-index { color: #93c5fd !important; }
.product-entry h2 { color: #fff !important; font-size: clamp(32px, 4vw, 48px) !important; }
.product-entry p { color: rgba(255,255,255,.75) !important; font-size: 17px !important; }
.product-entry .entry-btn { align-self: flex-start; border-color: #fff !important; color: #fff !important; background: transparent !important; }
.product-entry:hover .entry-btn { background: #fff !important; color: #1a1a1a !important; }

.doc-news { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 20px !important; border: 0 !important; }
.doc-news-item {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-height: 42vh !important;
  padding: 28px !important;
  overflow: hidden !important;
  border: 0 !important;
  background-color: #0f172a !important;
  background-size: cover !important;
  background-position: center !important;
  color: #fff !important;
}
.doc-news-item:first-child { grid-column: 1 / -1; min-height: 56vh !important; }
.doc-news-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.08), rgba(15,23,42,.8)); }
.doc-news-item > * { position: relative; z-index: 1; }
.doc-news-item time, .doc-news-item .doc-tag { color: rgba(255,255,255,.72) !important; }
.doc-news-item h3 { color: #fff !important; font-size: clamp(22px, 2.4vw, 32px) !important; }
.doc-news-item .doc-arrow { color: #fff !important; }
.doc-news-item .news-thumb-mini { display: none !important; }

@media (max-width: 760px) {
  .site-header .container { padding-left: 20px !important; padding-right: 20px !important; }
  .product-entry { min-height: 52vh !important; padding: 24px !important; }
  .doc-news { grid-template-columns: 1fr !important; }
  .doc-news-item:first-child { grid-column: auto; min-height: 48vh !important; }
}


/* Light-only text contrast */
html { color-scheme: light !important; }
.brand img { filter: none !important; }
body { background: #ffffff !important; color: #1a1a1a !important; }
.doc-section, .doc-products, .page, .doc-footer, .site-footer,
.subpage, .section, .home-overview, .game-tech, .reading, .archive-home {
  color: #1a1a1a !important;
}
.doc-section h1, .doc-section h2, .doc-section h3, .doc-section p,
.doc-products h1, .doc-products h2, .doc-products h3,
.page h1, .page h2, .page h3, .page p,
.doc-footer, .doc-footer a,
.subpage h1, .subpage h2, .subpage h3, .subpage p,
.section h1, .section h2, .section h3, .section p,
.home-overview h1, .home-overview h2, .home-overview h3, .home-overview p,
.game-tech h1, .game-tech h2, .game-tech h3, .game-tech p,
.reading h1, .reading h2, .reading h3, .reading p,
.archive-home h1, .archive-home h2, .archive-home h3, .archive-home p {
  color: #1a1a1a !important;
}
.doc-section p, .page p, .doc-footer, .site-footer,
.subpage p, .section p, .home-overview p, .game-tech p,
.reading p, .archive-home p {
  color: #666666 !important;
}
.hero-cinema h1, .hero-center h1, .hero-full h1, .hero-full p.lead,
.game-hero-full h1, .game-hero-full .game-lead,
.art-hero-full h1, .art-hero-full .art-lead,
.hero-full .hero-sub { color: #ffffff !important; }
.hero-center .eyebrow, .hero-scroll, .hero-full-meta,
.game-entries a, .art-hero-meta { color: rgba(255,255,255,.72) !important; }
.product-entry h2, .product-entry p, .product-entry .entry-index,
.doc-news-item h3, .doc-news-item time, .doc-news-item .doc-tag,
.doc-news-item .doc-arrow { color: #ffffff !important; }
.site-header { background: #ffffff !important; border-bottom: 1px solid #e5e7eb !important; }
.site-header .container { width: 100% !important; max-width: none !important; padding-left: 32px !important; padding-right: 32px !important; }
.nav-links a { color: #1a1a1a !important; }
.nav-links a:hover, .nav-links a.is-active { color: #2563eb !important; }
@media (max-width: 760px) {
  .site-header .container { padding-left: 20px !important; padding-right: 20px !important; }
}

/* White space gets a subtle grid + blue glow, content stays readable */
body {
  background-color: #ffffff !important;
  background-image:
    radial-gradient(circle, rgba(229, 231, 235, 0.9) 1px, transparent 1.2px),
    radial-gradient(60% 45% at 100% 0%, rgba(37, 99, 235, 0.07), transparent 65%),
    radial-gradient(50% 45% at 0% 100%, rgba(96, 165, 250, 0.06), transparent 65%) !important;
  background-size: 28px 28px, 100% 100%, 100% 100% !important;
  background-attachment: fixed !important;
}
.doc-section, .doc-products, .page, .subpage, .section, .reading, .archive-home { background: transparent !important; }

/* Ambient motion, slower non-linear feedback */
body { position: relative; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(32% 40% at 16% 24%, rgba(37, 99, 235, 0.09), transparent 70%),
    radial-gradient(28% 38% at 84% 68%, rgba(96, 165, 250, 0.08), transparent 70%);
  animation: ambient-drift 22s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}
.site-header, main, .site-footer { position: relative; z-index: 1; }
a, button, .product-entry, .feature, .team-card, .work, .job-card, .archive-card {
  transition-duration: 0.45s !important;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.reveal { transition-duration: 1.05s !important; }
.hero-scroll, .tech-label, .doc-count, .hero-meta { animation: soft-float 3.4s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate; }
.hero-center h1, .hero-full h1, .game-hero-full h1, .art-hero-full h1 { animation-duration: 1.15s !important; }
@keyframes ambient-drift { from { transform: translate3d(-2%, 0, 0) scale(1); } to { transform: translate3d(2%, -1%, 0) scale(1.06); } }
@keyframes soft-float { from { transform: translateY(0); opacity: .78; } to { transform: translateY(7px); opacity: 1; } }

/* Persistent top bar */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
}
body:has(.site-header) { padding-top: 72px; }
@media (max-width: 760px) { body:has(.site-header) { padding-top: 64px; } }

/* Visible decoration on otherwise empty white sections */
.doc-section, .doc-products, .page, .subpage, .section, .reading, .archive-home, .game-tech, .join-roles {
  position: relative;
  overflow: hidden;
}
.doc-section::before, .doc-products::before, .page::before, .subpage::before,
.section::before, .reading::before, .archive-home::before, .game-tech::before, .join-roles::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(37, 99, 235, 0.14) 1px, transparent 1.25px),
    linear-gradient(90deg, transparent 49.8%, rgba(37, 99, 235, 0.06) 50%, transparent 50.2%);
  background-size: 28px 28px, 100% 100%;
  opacity: 0.55;
}
.doc-section::after, .page::after, .subpage::after, .section::after,
.reading::after, .archive-home::after, .game-tech::after {
  content: "ZCOX";
  position: absolute;
  right: 3%;
  bottom: 4%;
  z-index: 0;
  font-size: clamp(96px, 14vw, 220px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: rgba(37, 99, 235, 0.055);
  pointer-events: none;
}
.doc-section > .container, .doc-products > .container, .page > .container,
.subpage > .container, .section > .container, .reading, .archive-home > .container,
.game-tech > .container, .join-roles > .container { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .doc-section::after, .page::after, .subpage::after, .section::after,
  .reading::after, .archive-home::after, .game-tech::after { font-size: 96px; opacity: .65; }
}

/* Content is 1200px wide; 48px padding sits outside that width */
.container {
  width: 90% !important;
  max-width: 1296px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 48px !important;
  padding-right: 48px !important;
}
@media (max-width: 760px) {
  .container { padding-left: 24px !important; padding-right: 24px !important; }
}

/* One page-level pattern is enough; stop repeating per-section art */
.doc-section::before, .doc-products::before, .page::before, .subpage::before,
.section::before, .reading::before, .archive-home::before, .game-tech::before,
.join-roles::before,
.doc-section::after, .doc-products::after, .page::after, .subpage::after,
.section::after, .reading::after, .archive-home::after, .game-tech::after,
.join-roles::after {
  display: none !important;
}

/* Wider content area and stronger ambient background */
.container {
  width: 92% !important;
  max-width: 1680px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 48px !important;
  padding-right: 48px !important;
}
@media (max-width: 760px) {
  .container { padding-left: 24px !important; padding-right: 24px !important; }
}

body {
  background-color: #ffffff !important;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px),
    radial-gradient(45% 55% at 12% 18%, rgba(37, 99, 235, 0.12), transparent 68%),
    radial-gradient(40% 50% at 88% 76%, rgba(96, 165, 250, 0.12), transparent 68%) !important;
  background-size: 72px 72px, 72px 72px, 100% 100%, 100% 100% !important;
  background-attachment: fixed !important;
}
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(24% 32% at 22% 28%, rgba(37, 99, 235, 0.16), transparent 70%),
    radial-gradient(26% 34% at 78% 62%, rgba(96, 165, 250, 0.14), transparent 70%);
  filter: blur(18px);
  animation: bg-drift 24s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}
body::after {
  content: "ZCOX";
  position: fixed;
  right: -2vw;
  bottom: -5vw;
  z-index: 0;
  pointer-events: none;
  font-size: clamp(180px, 26vw, 520px);
  font-weight: 700;
  line-height: 0.75;
  letter-spacing: -0.07em;
  color: rgba(37, 99, 235, 0.035);
  animation: bg-mark 18s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}
.site-header, main, .site-footer { position: relative; z-index: 1; }
@keyframes bg-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.08); }
}
@keyframes bg-mark {
  from { transform: translate3d(0, 10px, 0); }
  to { transform: translate3d(-8px, -10px, 0); }
}

/* Animated fallback inside image panels */
.product-entry::after, .doc-news-item::after, .image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 60% at 20% 30%, rgba(96, 165, 250, 0.24), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 24px, rgba(255,255,255,0.045) 25px 26px, transparent 27px 48px);
  animation: panel-drift 14s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}
.product-entry > *, .doc-news-item > *, .image-band > * { position: relative; z-index: 1; }
@keyframes panel-drift {
  from { transform: translate3d(-2%, 0, 0); opacity: .55; }
  to { transform: translate3d(2%, -1%, 0); opacity: .9; }
}

/* Light background: soft blue glow + dotted edges, lightweight */
body {
  background: #ffffff !important;
  background-image: none !important;
  background-attachment: scroll !important;
}
body::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background-image:
    radial-gradient(circle, rgba(37, 99, 235, 0.16) 1px, transparent 1.3px),
    radial-gradient(circle, rgba(37, 99, 235, 0.16) 1px, transparent 1.3px) !important;
  background-size: 26px 26px, 26px 26px !important;
  background-position: 0 0, 0 0 !important;
  -webkit-mask-image: linear-gradient(90deg, #000 0 19%, transparent 34% 66%, #000 81% 100%) !important;
  mask-image: linear-gradient(90deg, #000 0 19%, transparent 34% 66%, #000 81% 100%) !important;
  filter: none !important;
  animation: edge-dots 30s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate !important;
}
body::after {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(34% 48% at 16% 24%, rgba(37, 99, 235, 0.12), transparent 70%),
    radial-gradient(32% 44% at 84% 70%, rgba(96, 165, 250, 0.11), transparent 70%) !important;
  filter: none !important;
  animation: glow-drift 28s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate !important;
}
.product-entry::after, .doc-news-item::after, .image-band::after {
  animation: none !important;
  opacity: 0.35 !important;
}
@keyframes edge-dots {
  from { transform: translateY(-8px); }
  to { transform: translateY(8px); }
}
@keyframes glow-drift {
  from { transform: translate3d(-1%, 0, 0) scale(1); }
  to { transform: translate3d(1%, -1%, 0) scale(1.04); }
}

/* Let the page-level glow and edge dots show through */
main, .doc-section, .doc-products, .page, .subpage, .section,
.reading, .archive-home, .game-tech, .join-roles, .home-overview {
  background: transparent !important;
}
body::before {
  background-image:
    radial-gradient(circle, rgba(37, 99, 235, 0.26) 1.1px, transparent 1.4px),
    radial-gradient(circle, rgba(37, 99, 235, 0.26) 1.1px, transparent 1.4px) !important;
  background-size: 24px 24px, 24px 24px !important;
  opacity: 1 !important;
}
body::after {
  background:
    radial-gradient(36% 50% at 12% 20%, rgba(37, 99, 235, 0.22), transparent 70%),
    radial-gradient(34% 46% at 88% 72%, rgba(96, 165, 250, 0.2), transparent 70%) !important;
  opacity: 1 !important;
}

/* Narrow edge dots + large soft glow */
body::before {
  background-image:
    radial-gradient(circle, rgba(37, 99, 235, 0.22) 1px, transparent 1.35px),
    radial-gradient(circle, rgba(37, 99, 235, 0.16) 0.8px, transparent 1.1px) !important;
  background-size: 26px 26px, 18px 18px !important;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.12) 0, #000 9%, #000 13%, transparent 15%, transparent 85%, #000 87%, #000 91%, rgba(0,0,0,.12) 100%) !important;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.12) 0, #000 9%, #000 13%, transparent 15%, transparent 85%, #000 87%, #000 91%, rgba(0,0,0,.12) 100%) !important;
}
body::after {
  background:
    radial-gradient(78% 92% at 16% 16%, rgba(37, 99, 235, 0.16), transparent 82%),
    radial-gradient(82% 96% at 84% 84%, rgba(96, 165, 250, 0.13), transparent 84%) !important;
}

/* Floating glass header */
.site-header {
  position: fixed !important;
  top: 12px !important;
  left: 20px !important;
  right: 20px !important;
  width: auto !important;
  height: 64px !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08) !important;
}
.site-header .container { height: 64px !important; padding-left: 22px !important; padding-right: 22px !important; }
body:has(.site-header) { padding-top: 88px !important; }
@media (max-width: 760px) {
  .site-header { top: 8px !important; left: 12px !important; right: 12px !important; height: 56px !important; }
  .site-header .container { height: 56px !important; padding-left: 16px !important; padding-right: 16px !important; }
  body:has(.site-header) { padding-top: 76px !important; }
}

/* Text-only side rails, every page */
.page-side { position: fixed; inset: 0; z-index: 9000; pointer-events: none; }
.side-en {
  position: absolute;
  top: 118px;
  right: 18px;
  width: 46px;
  height: calc(100vh - 400px);
  overflow: hidden;
  color: rgba(37, 99, 235, 0.09);
}
.side-en-track {
  display: flex;
  flex-direction: column;
  gap: 48px;
  height: 200%;
  writing-mode: vertical-rl;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.08em;
  white-space: nowrap;
  animation: side-en-scroll 28s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.side-en-track span { display: block; }
.side-cn {
  position: absolute;
  right: 18px;
  bottom: 36px;
  writing-mode: vertical-rl;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(37, 99, 235, 0.08);
  animation: side-blink 0.2s step-end 2;
}
.side-left {
  position: absolute;
  left: 22px;
  top: 50%;
  height: 170px;
  border-left: 1px solid rgba(37, 99, 235, 0.2);
}
.side-left span {
  position: absolute;
  left: 10px;
  top: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #9ca3af;
  white-space: nowrap;
}
@keyframes side-en-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@keyframes side-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.18; }
}
.product-side { display: none !important; }
@media (max-width: 1360px) {
  .side-en, .side-cn, .side-left { display: none; }
}

/* Header logo aligns with page content */
.site-header .container {
  width: 92% !important;
  max-width: 1680px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 48px !important;
  padding-right: 48px !important;
}
@media (max-width: 760px) {
  .site-header .container { width: 100% !important; padding-left: 20px !important; padding-right: 20px !important; }
}
/* Hero always has a visible animated visual, even before video/image loads */
.hero-cinema, .hero-full, .game-hero-full, .art-hero-full {
  background-color: #0f172a !important;
  background-image:
    radial-gradient(55% 70% at 24% 30%, rgba(37, 99, 235, 0.35), transparent 72%),
    radial-gradient(45% 60% at 78% 70%, rgba(96, 165, 250, 0.25), transparent 72%) !important;
}
.hero-cinema { min-height: calc(100svh - 88px) !important; }

/* Align logo and right nav text vertically in the floating bar */
.site-header .nav,
.site-header .nav-links {
  height: 64px !important;
  min-height: 64px !important;
  align-items: center !important;
}
.site-header .brand {
  display: flex !important;
  align-items: center !important;
  height: 64px !important;
}
.site-header .brand img {
  height: 22px !important;
  width: auto !important;
}
.site-header .nav-links a {
  display: inline-flex !important;
  align-items: center !important;
  height: 64px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
@media (max-width: 760px) {
  .site-header .nav,
  .site-header .nav-links,
  .site-header .brand,
  .site-header .nav-links a { height: 56px !important; min-height: 56px !important; }
  .site-header .brand img { height: 19px !important; }
}
.side-en { top: 96px !important; }

/* Right-side capsule rail */
.side-en {
  top: 88px !important;
  right: 20px !important;
  bottom: 20px !important;
  width: 64px !important;
  height: auto !important;
  padding-top: 52px !important;
  overflow: hidden !important;
  border: 1px solid rgba(37, 99, 235, 0.18) !important;
  border-radius: 32px !important;
  background: rgba(255, 255, 255, 0.55) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06) !important;
}
.side-en::before {
  content: "ZCOX";
  position: absolute;
  top: 16px;
  left: 24px;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #2563eb;
}
.side-en-track {
  gap: 0 !important;
  height: auto !important;
  padding: 0 !important;
  font-size: 28px !important;
  line-height: 1.15 !important;
  letter-spacing: 0.06em !important;
  color: rgba(37, 99, 235, 0.12) !important;
  animation: side-en-scroll 48s linear infinite !important;
}
.side-en-track span { padding: 0 0 24px; }
.side-cn {
  right: 20px !important;
  bottom: 36px !important;
  z-index: 3;
  width: 64px;
  font-size: 34px !important;
  line-height: 1;
  text-align: center;
  color: rgba(37, 99, 235, 0.13) !important;
}
@media (max-width: 1360px) {
  .side-en, .side-cn { display: none !important; }
}

/* Right rail: thin solid English, horizontal translucent Chinese below */
.side-en {
  top: 96px !important;
  right: 20px !important;
  bottom: auto !important;
  width: 48px !important;
  height: calc(100vh - 250px) !important;
  padding-top: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
  z-index: 2 !important;
}
.side-en::before { display: none !important; }
.side-en-track {
  gap: 0 !important;
  height: auto !important;
  padding: 0 !important;
  font-size: 30px !important;
  font-weight: 300 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.06em !important;
  color: #2563eb !important;
  opacity: 0.9 !important;
  animation: side-en-scroll 48s linear infinite !important;
}
.side-en-track span { padding: 0 !important; }
.side-cn {
  right: 20px !important;
  bottom: 48px !important;
  z-index: 1 !important;
  width: auto !important;
  writing-mode: horizontal-tb !important;
  transform: none !important;
  font-size: clamp(36px, 4vw, 56px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  color: rgba(37, 99, 235, 0.18) !important;
  text-align: right !important;
}
@media (max-width: 1360px) {
  .side-en, .side-cn { display: none !important; }
}

/* Right rail: one horizontal English line over one large translucent Chinese title */
.side-en {
  top: auto !important;
  right: 20px !important;
  bottom: 118px !important;
  width: min(42vw, 520px) !important;
  height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
  z-index: 2 !important;
}
.side-en::before { display: none !important; }
.side-en-track {
  display: flex !important;
  flex-direction: row !important;
  gap: 0 !important;
  width: max-content !important;
  height: 34px !important;
  writing-mode: horizontal-tb !important;
  font-size: 22px !important;
  font-weight: 300 !important;
  line-height: 34px !important;
  letter-spacing: 0.08em !important;
  white-space: nowrap !important;
  color: #2563eb !important;
  opacity: 0.9 !important;
  animation: side-horizontal 36s linear infinite !important;
}
.side-en-track span { display: inline-block !important; padding: 0 56px 0 0 !important; }
.side-cn {
  right: 20px !important;
  bottom: 32px !important;
  z-index: 1 !important;
  width: auto !important;
  writing-mode: horizontal-tb !important;
  transform: none !important;
  font-size: clamp(64px, 7vw, 112px) !important;
  font-weight: 700 !important;
  line-height: 0.9 !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
  text-align: right !important;
  color: rgba(37, 99, 235, 0.1) !important;
}
@keyframes side-horizontal {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 1360px) {
  .side-en, .side-cn { display: none !important; }
}

/* Final right rail: both texts vertical, one column */
.side-en {
  top: 96px !important;
  right: 20px !important;
  bottom: 96px !important;
  width: 48px !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
  z-index: 2 !important;
}
.side-en::before { display: none !important; }
.side-en-track {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 48px !important;
  height: auto !important;
  writing-mode: horizontal-tb !important;
  animation: side-vertical 50s linear infinite !important;
}
.side-en-track span {
  display: block !important;
  writing-mode: vertical-rl !important;
  text-orientation: mixed !important;
  white-space: nowrap !important;
  padding: 0 !important;
  font-size: 30px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  letter-spacing: 0.06em !important;
  color: #2563eb !important;
  opacity: 0.92 !important;
}
.side-cn {
  right: 20px !important;
  bottom: 40px !important;
  z-index: 1 !important;
  width: 72px !important;
  writing-mode: vertical-rl !important;
  text-orientation: mixed !important;
  transform: none !important;
  white-space: nowrap !important;
  font-size: 64px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  color: rgba(37, 99, 235, 0.1) !important;
  text-align: right !important;
}
@keyframes side-vertical {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@media (max-width: 1360px) {
  .side-en, .side-cn { display: none !important; }
}

/* Top-right small text area: both vertical, both faint, Chinese behind English */
.side-en {
  top: 96px !important;
  right: 20px !important;
  bottom: auto !important;
  width: 48px !important;
  height: 200px !important;
  padding: 0 !important;
  overflow: hidden !important;
  z-index: 2 !important;
}
.side-en-track {
  width: 48px !important;
  animation: side-vertical 50s linear infinite !important;
}
.side-en-track span {
  writing-mode: vertical-rl !important;
  text-orientation: sideways !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  color: rgba(37, 99, 235, 0.13) !important;
  opacity: 1 !important;
  font-variant-ligatures: none !important;
  font-feature-settings: "liga" 0 !important;
}
.side-cn {
  top: 96px !important;
  right: 20px !important;
  bottom: auto !important;
  width: 96px !important;
  height: 200px !important;
  z-index: 1 !important;
  writing-mode: vertical-rl !important;
  text-orientation: sideways !important;
  font-size: 56px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  color: rgba(37, 99, 235, 0.06) !important;
  font-family: "HarmonyOS Sans SC", sans-serif !important;
  font-variant-ligatures: none !important;
  font-feature-settings: "liga" 0 !important;
}
@media (max-width: 1360px) {
  .side-en, .side-cn { display: none !important; }
}

/* Hero sits behind the floating header; no white strip at the top */
body:has(.site-header) { padding-top: 0 !important; }
body:has(.site-header) main { padding-top: 88px !important; }
body:has(.hero-cinema) main,
body:has(.hero-full) main,
body:has(.game-hero-full) main,
body:has(.art-hero-full) main,
body:has(.join-cinema) main { padding-top: 0 !important; }
.hero-cinema, .hero-full, .game-hero-full, .art-hero-full { min-height: 100svh !important; }

/* Right top text: readable but still faint */
.side-en-track span { color: rgba(37, 99, 235, 0.32) !important; }
.side-cn { color: rgba(37, 99, 235, 0.11) !important; }

/* Top-right labels: English above, Chinese below, both left-aligned */
.page-side { z-index: 9000 !important; }
.side-en {
  top: 96px !important;
  right: 32px !important;
  left: auto !important;
  bottom: auto !important;
  width: 280px !important;
  height: auto !important;
  padding: 0 !important;
  overflow: visible !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  z-index: 2 !important;
}
.side-en::before { display: none !important; }
.side-en span {
  display: block !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: nowrap !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.08em !important;
  color: rgba(37, 99, 235, 0.55) !important;
}
.side-cn {
  top: 124px !important;
  right: 32px !important;
  left: auto !important;
  bottom: auto !important;
  width: 280px !important;
  height: auto !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: nowrap !important;
  text-align: left !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
  color: rgba(37, 99, 235, 0.18) !important;
  z-index: 1 !important;
}
@media (max-width: 1360px) {
  .side-en, .side-cn { display: none !important; }
}

/* Right top: vertical scrolling English above vertical Chinese */
.side-en {
  top: 96px !important;
  right: 32px !important;
  left: auto !important;
  bottom: auto !important;
  width: 80px !important;
  height: 170px !important;
  overflow: hidden !important;
  z-index: 2 !important;
  background: none !important;
  border: 0 !important;
}
.side-en-track {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 80px !important;
  height: auto !important;
  writing-mode: horizontal-tb !important;
  animation: side-vertical 50s linear infinite !important;
}
.side-en-track span {
  display: block !important;
  writing-mode: vertical-rl !important;
  text-orientation: sideways !important;
  white-space: nowrap !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  color: rgba(37, 99, 235, 0.3) !important;
}
.side-cn {
  top: 286px !important;
  right: 32px !important;
  left: auto !important;
  bottom: auto !important;
  width: 80px !important;
  height: auto !important;
  z-index: 1 !important;
  writing-mode: vertical-rl !important;
  text-orientation: sideways !important;
  white-space: nowrap !important;
  text-align: left !important;
  font-size: 56px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  color: rgba(37, 99, 235, 0.12) !important;
  animation: side-blink 0.2s step-end 2 !important;
}
@keyframes side-vertical {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@keyframes side-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
@media (max-width: 1360px) {
  .side-en, .side-cn { display: none !important; }
}

/* Small top-right labels: English above, Chinese below, left aligned */
.side-en {
  top: 96px !important;
  right: 32px !important;
  left: auto !important;
  bottom: auto !important;
  width: 190px !important;
  height: 18px !important;
  overflow: hidden !important;
  z-index: 2 !important;
}
.side-en-track {
  display: flex !important;
  flex-direction: row !important;
  gap: 0 !important;
  width: max-content !important;
  height: 18px !important;
  writing-mode: horizontal-tb !important;
  animation: side-horizontal 40s linear infinite !important;
}
.side-en-track span {
  display: inline-block !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: nowrap !important;
  padding: 0 28px 0 0 !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  line-height: 18px !important;
  letter-spacing: 0.08em !important;
  color: rgba(37, 99, 235, 0.5) !important;
}
.side-cn {
  top: 120px !important;
  right: 32px !important;
  left: auto !important;
  bottom: auto !important;
  width: 190px !important;
  height: auto !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: nowrap !important;
  text-align: left !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.04em !important;
  color: rgba(37, 99, 235, 0.25) !important;
  z-index: 1 !important;
  animation: side-blink 0.2s step-end 2 !important;
}
@keyframes side-horizontal {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes side-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
@media (max-width: 1360px) {
  .side-en, .side-cn { display: none !important; }
}

/* Final: vertical columns along the Y axis, English above Chinese */
.side-en {
  top: 96px !important;
  right: 32px !important;
  left: auto !important;
  bottom: auto !important;
  width: 40px !important;
  height: 120px !important;
  overflow: hidden !important;
  z-index: 2 !important;
}
.side-en-track {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 40px !important;
  height: auto !important;
  writing-mode: horizontal-tb !important;
  animation: side-vertical 50s linear infinite !important;
}
.side-en-track span {
  display: block !important;
  writing-mode: vertical-rl !important;
  text-orientation: sideways !important;
  white-space: nowrap !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  color: rgba(37, 99, 235, 0.5) !important;
}
.side-cn {
  top: 228px !important;
  right: 32px !important;
  left: auto !important;
  bottom: auto !important;
  width: 40px !important;
  height: auto !important;
  writing-mode: vertical-rl !important;
  text-orientation: sideways !important;
  white-space: nowrap !important;
  text-align: left !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  color: rgba(37, 99, 235, 0.25) !important;
  z-index: 1 !important;
  animation: side-blink 0.2s step-end 2 !important;
}
@keyframes side-vertical {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@keyframes side-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
@media (max-width: 1360px) {
  .side-en, .side-cn { display: none !important; }
}

/* Right top: thin line + three sequential arrows + static slash */
.side-arrows {
  position: fixed;
  top: 72px;
  right: 32px;
  width: 160px;
  height: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: rgba(37, 99, 235, 0.5);
  pointer-events: none;
}
.side-arrows::before {
  content: "";
  position: absolute;
  left: 0;
  right: 26px;
  top: 50%;
  height: 1px;
  background: rgba(37, 99, 235, 0.22);
}
.side-arrows span {
  position: relative;
  z-index: 1;
  font-size: 17px;
  line-height: 1;
  opacity: 0.2;
  animation: arrow-pulse 1.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.side-arrows span:nth-child(2) { animation-delay: 0.25s; }
.side-arrows span:nth-child(3) { animation-delay: 0.5s; }
.side-slash {
  position: fixed;
  top: 118px;
  right: 82px;
  z-index: 2;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(37, 99, 235, 0.3);
  pointer-events: none;
}
.side-en { top: 118px !important; height: 120px !important; }
.side-cn { top: 258px !important; }
@keyframes arrow-pulse {
  0%, 100% { opacity: 0.2; }
  35% { opacity: 1; }
  60% { opacity: 0.2; }
}
@media (max-width: 1360px) {
  .side-arrows, .side-slash { display: none !important; }
}

/* Vertical guide line parallel to the text columns */
.side-arrows {
  top: 96px !important;
  right: 104px !important;
  width: 18px !important;
  height: 250px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
}
.side-arrows::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  bottom: 0 !important;
  right: auto !important;
  width: 1px !important;
  height: auto !important;
  background: rgba(37, 99, 235, 0.2) !important;
}
.side-arrows span {
  transform: rotate(90deg) !important;
  font-size: 15px !important;
  line-height: 1 !important;
  color: rgba(37, 99, 235, 0.45) !important;
}
.side-slash {
  top: 118px !important;
  right: 82px !important;
  font-size: 14px !important;
  color: rgba(37, 99, 235, 0.3) !important;
}

/* Final right rail: long English scrolls, Chinese below, both upright vertical */
.side-en {
  top: 118px !important;
  right: 40px !important;
  width: 44px !important;
  height: 122px !important;
  overflow: hidden !important;
}
.side-en-track {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 44px !important;
  height: auto !important;
  writing-mode: horizontal-tb !important;
  animation: side-vertical 55s linear infinite !important;
}
.side-en-track span {
  writing-mode: vertical-rl !important;
  text-orientation: upright !important;
  white-space: nowrap !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  color: rgba(37, 99, 235, 0.5) !important;
}
.side-cn {
  top: 258px !important;
  right: 40px !important;
  width: 44px !important;
  writing-mode: vertical-rl !important;
  text-orientation: upright !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: rgba(37, 99, 235, 0.25) !important;
  animation: side-blink 0.2s step-end 2 !important;
}
.side-slash { top: 118px !important; right: 90px !important; }
.side-arrows { top: 96px !important; right: 116px !important; height: 200px !important; }
@keyframes side-vertical {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

/* Reverted to the diagram: horizontal line + arrows above; vertical text columns below */
.side-arrows {
  top: 96px !important;
  right: 40px !important;
  width: 200px !important;
  height: 18px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 4px !important;
}
.side-arrows::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 24px !important;
  top: 50% !important;
  bottom: auto !important;
  width: auto !important;
  height: 1px !important;
  background: rgba(37, 99, 235, 0.2) !important;
}
.side-arrows span {
  transform: none !important;
  font-size: 15px !important;
  color: rgba(37, 99, 235, 0.45) !important;
}
.side-slash {
  top: 118px !important;
  right: 92px !important;
}
.side-en {
  top: 118px !important;
  right: 40px !important;
}
.side-cn {
  top: 258px !important;
  right: 40px !important;
}

/* Sketch layout: text column left, vertical line right, arrows at bottom */
.side-en { top: 118px !important; right: 100px !important; width: 44px !important; height: 120px !important; }
.side-cn { top: 258px !important; right: 100px !important; width: 44px !important; }
.side-slash { top: 96px !important; right: 104px !important; left: auto !important; font-size: 14px !important; color: rgba(37, 99, 235, 0.3) !important; }
.side-arrows {
  top: 96px !important;
  right: 60px !important;
  width: 18px !important;
  height: 220px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 4px !important;
}
.side-arrows::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 1px !important;
  height: auto !important;
  background: rgba(37, 99, 235, 0.2) !important;
}
.side-arrows span {
  transform: rotate(90deg) !important;
  font-size: 15px !important;
  line-height: 1 !important;
  color: rgba(37, 99, 235, 0.45) !important;
}

/* One vertical column: // then English then Chinese; guide line separate on the right */
.side-slash {
  top: 96px !important;
  right: 40px !important;
  width: 44px !important;
  text-align: left !important;
  font-size: 14px !important;
  color: rgba(37, 99, 235, 0.3) !important;
}
.side-en {
  top: 122px !important;
  right: 40px !important;
  width: 44px !important;
  height: 120px !important;
}
.side-cn {
  top: 258px !important;
  right: 40px !important;
  width: 44px !important;
}
.side-arrows {
  top: 96px !important;
  right: 12px !important;
  width: 18px !important;
  height: 230px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
}
.side-arrows::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  bottom: 60px !important;
  width: 1px !important;
  height: auto !important;
  background: rgba(37, 99, 235, 0.2) !important;
}
.side-arrows span {
  transform: rotate(90deg) !important;
  font-size: 15px !important;
  line-height: 1 !important;
  color: rgba(37, 99, 235, 0.45) !important;
}

/* Each glyph rotated 90 degrees, whole column reads top-to-bottom */
.side-en-track span {
  writing-mode: vertical-rl !important;
  text-orientation: sideways !important;
  -webkit-text-orientation: sideways !important;
}
.side-cn {
  writing-mode: vertical-rl !important;
  text-orientation: sideways !important;
  -webkit-text-orientation: sideways !important;
}

/* The two slashes are part of the rotated vertical column too */
.side-slash {
  writing-mode: vertical-rl !important;
  text-orientation: sideways !important;
  -webkit-text-orientation: sideways !important;
  width: 44px !important;
  height: auto !important;
  line-height: 1 !important;
  text-align: left !important;
}

/* Rounded cards and light placeholders */
.feature, .download-panel, .log-row, .team-card, .game-facts, .beta,
.job-card, .product-entry, .work, .right, .character, .archive-card,
.stat-card, .tool-index-card, .placeholder {
  border-radius: 16px !important;
}
.btn, .entry-btn, .doc-mail, .band-link, .job-card a {
  border-radius: 10px !important;
}
.placeholder {
  background: #f3f4f6 !important;
  border: 1px solid #e5e7eb !important;
  color: #6b7280 !important;
}

/* Keep right labels inside the edge */
.side-en { right: 56px !important; }
.side-cn { right: 56px !important; }
.side-slash { right: 112px !important; }
.side-arrows { right: 28px !important; }
