/*
  GearGumi unified theme layer.
  Mirrors the Hoyo Ops design language: light app canvas, calm cards,
  blue primary actions, compact radii, and the same Outfit + Thai font stack.
*/

:root {
  color-scheme: light;
  --bg: #f0f2f8;
  --bg-tint:
    radial-gradient(circle at 20% 12%, rgba(47, 95, 215, 0.1), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(104, 70, 183, 0.08), transparent 30%),
    linear-gradient(180deg, #f6f8ff 0%, #eef1f8 100%);
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-sunk: #f5f7fb;
  --surface-nested: #fbfcff;
  --ink: #1a1d2e;
  --muted: #5f6678;
  --subtle: #7c8497;
  --line: #e4e7ee;
  --line-strong: #cdd1dc;
  --line-soft: #eef0f5;
  --blue: #2f5fd7;
  --blue-dark: #2148ab;
  --blue-soft: #eef4ff;
  --green: #007a5f;
  --green-soft: #e6f7f1;
  --gold: #8a5a00;
  --gold-soft: #fff6da;
  --red: #b42318;
  --red-soft: #ffebe7;
  --violet: #6846b7;
  --violet-soft: #f0ecff;
  --pink: #c93f76;
  --pink-strong: var(--blue);
  --pink-soft: #fff0f6;
  --cyan: #2b8be8;
  --paper: var(--surface);
  --paper-2: var(--surface-sunk);
  --paper-ink: var(--ink);
  --paper-muted: var(--muted);
  --dark: var(--bg);
  --dark-2: var(--surface-sunk);
  --panel: var(--surface);
  --panel-2: var(--surface);
  --card-line: var(--line);
  --shadow: var(--shadow-md);
  --shadow-hot: var(--shadow-sm);
  --shadow-sm: 0 12px 30px rgba(25, 31, 56, 0.07);
  --shadow-md: 0 24px 70px rgba(25, 31, 56, 0.12);
  --ring: 0 0 0 4px rgba(47, 95, 215, 0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1160px;
}

html {
  background: var(--bg);
}

body,
.links-page {
  color: var(--ink);
  background: var(--bg-tint), var(--bg);
  font-family: "Outfit", "IBM Plex Sans Thai", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
}

body::selection,
.links-page::selection {
  color: #ffffff;
  background: var(--blue);
}

h1,
h2,
h3,
.brand-name,
.brand-symbol,
.hero h1,
.section-heading h2,
.link-group-heading h3,
.bio-group-heading h2,
.profile-panel h2,
.hero-signals dt,
.link-copy strong,
.campaign-title-row strong,
.profile-email,
.bio-email,
.hero-live-card strong,
.hero-signals dd,
.timeline-row strong,
.work-card h3,
.business-strip h2,
.contact-panel h2 {
  color: var(--ink);
  font-family: "Outfit", "IBM Plex Sans Thai", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: none;
}

p,
.hero-copy,
.section-heading p,
.profile-panel p,
.link-copy span,
.campaign-copy,
.business-strip p,
.contact-panel p,
.timeline-row p,
.work-card p,
.bio-lede {
  color: var(--muted);
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.skip-link {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.site-header,
.site-header.is-scrolled,
.bio-topbar,
.bio-profile,
.quick-action,
.campaign-tile,
.link-card,
.profile-panel,
.work-card,
.timeline-row,
.proof-list p,
.business-strip,
.contact-panel,
.hero-live-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header {
  top: 22px;
  width: min(calc(100% - 32px), var(--max));
  min-height: 64px;
  border-radius: 18px;
  backdrop-filter: blur(18px);
}

.brand-mark,
.bio-home-link,
.bio-live-pill,
.nav-links a,
.header-cta,
.button,
.business-actions a {
  min-height: 44px;
}

.brand-symbol,
.bio-avatar::after {
  background: linear-gradient(135deg, var(--blue), #67a4ff);
  color: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.brand-subtitle,
.profile-stats span,
.bio-tags span,
.quick-action small,
.campaign-kicker {
  color: var(--muted);
}

.nav-links a {
  color: var(--muted);
  border-radius: var(--radius-sm);
}

.nav-links a:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.header-cta,
.button-primary,
.campaign-cta,
.business-actions a:first-child {
  color: #ffffff;
  background: var(--blue);
  border: 1px solid var(--blue);
  box-shadow: 0 14px 28px rgba(47, 95, 215, 0.22);
}

.header-cta:hover,
.button-primary:hover,
.campaign-cta:hover,
.business-actions a:first-child:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button-ghost,
.business-actions a,
.bio-home-link,
.bio-live-pill {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-ghost:hover,
.business-actions a:hover,
.bio-home-link:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.button svg,
.header-cta svg,
.business-actions svg,
.bio-home-link svg,
.bio-live-pill svg {
  stroke: currentColor;
}

.eyebrow,
.hero-kicker,
.bio-group-heading .eyebrow,
.link-group-heading .eyebrow {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero {
  min-height: clamp(640px, 86vh, 860px);
  color: var(--ink);
  background: var(--bg-tint), var(--bg);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(240, 242, 248, 0.98) 0%, rgba(240, 242, 248, 0.9) 45%, rgba(240, 242, 248, 0.66) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(240,242,248,0.72));
}

.hero::after {
  background: linear-gradient(180deg, rgba(240, 242, 248, 0), var(--bg));
}

.game-backdrop {
  opacity: 0.22;
  filter: saturate(0.92) contrast(0.95);
}

.hero-backdrop {
  opacity: 0.16;
  mix-blend-mode: multiply;
}

.hero-copy-block {
  max-width: 640px;
}

.hero h1,
.bio-profile h1 {
  color: var(--ink);
  font-family: "Outfit", "IBM Plex Sans Thai", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  text-shadow: none;
}

.hero-kicker,
.status-dot {
  background: var(--green-soft);
  border-color: rgba(0, 122, 95, 0.16);
}

.status-dot {
  background: var(--green);
  box-shadow: none;
}

.platform-chip {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.platform-chip:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.hero-signals div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-signals dt {
  color: var(--blue);
  font-family: "Outfit", "IBM Plex Sans Thai", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
}

.hero-art {
  right: max(20px, calc((100vw - var(--max)) / 2 - 18px));
  bottom: 0;
  width: min(46vw, 570px);
  transform: translate3d(calc(var(--mx, 0) * -8px), calc(var(--my, 0) * -8px), 0);
}

.hero-art img {
  filter: drop-shadow(0 30px 40px rgba(25, 31, 56, 0.22));
}

.hero-live-card {
  color: var(--ink);
  border-radius: var(--radius-sm);
}

.hero-live-card span,
.hero-live-card strong {
  color: var(--ink);
}

.section {
  background: transparent;
}

.section-light,
.section-showcase {
  background: var(--bg);
}

.section-dark {
  color: var(--ink);
  background: var(--surface-sunk);
}

.section-dark .section-heading h2,
.section-dark .section-heading p,
.section-dark .timeline-row strong,
.section-dark .timeline-row p {
  color: var(--ink);
}

.section-heading,
.link-group-heading,
.bio-group-heading {
  color: var(--ink);
}

.links-section {
  background:
    linear-gradient(90deg, rgba(26, 29, 46, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(0deg, rgba(26, 29, 46, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--bg);
}

.profile-panel,
.work-card,
.timeline-row,
.proof-list p {
  border-radius: var(--radius);
}

.profile-avatar,
.bio-avatar {
  background-image: url("/assets/geargumi-avatar.webp");
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

.profile-panel::before {
  opacity: 0.72;
  background:
    linear-gradient(135deg, rgba(47, 95, 215, 0.38), rgba(255, 255, 255, 0.18)),
    url("/assets/official-genshin.webp") center 46% / cover;
}

.profile-stats span,
.bio-tags span {
  background: var(--surface-sunk);
  border: 1px solid var(--line-soft);
}

.link-card,
.campaign-tile {
  color: var(--ink);
  border-radius: var(--radius);
  transform: translate3d(0, 0, 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.link-card::before,
.campaign-tile::before {
  opacity: 1;
  width: 4px;
  background: var(--blue);
}

.link-card:hover,
.campaign-tile:hover,
.quick-action:hover {
  border-color: #bfd0ff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.link-thumb,
.quick-icon,
.icon-shell {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.link-thumb svg,
.quick-icon svg,
.icon-shell svg {
  width: 22px;
  height: 22px;
}

.thumb-genshin {
  color: var(--blue);
  background: var(--blue-soft);
}

.thumb-zzz {
  color: var(--gold);
  background: var(--gold-soft);
}

.thumb-hsr {
  color: var(--violet);
  background: var(--violet-soft);
}

.thumb-wuwa,
.thumb-line {
  color: var(--green);
  background: var(--green-soft);
}

.thumb-youtube {
  color: var(--red);
  background: var(--red-soft);
}

.thumb-discord,
.thumb-website,
.thumb-email {
  color: var(--blue);
  background: var(--blue-soft);
}

.thumb-tiktok {
  color: #0f172a;
  background: var(--surface-sunk);
}

.thumb-facebook {
  color: #1877f2;
  background: #edf4ff;
}

.thumb-tipme {
  color: #b46500;
  background: #fff3df;
}

.link-action,
.link-arrow {
  color: var(--ink);
  background: var(--surface-sunk);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}

.link-card:hover .link-action,
.campaign-tile:hover .campaign-cta {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.quick-action-grid,
.campaign-grid,
.link-grid {
  gap: 12px;
}

.campaign-featured {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(47, 95, 215, 0.1), rgba(255, 255, 255, 0.96)),
    var(--surface);
}

.campaign-featured .campaign-copy,
.campaign-featured .campaign-kicker {
  color: var(--muted);
}

.business-strip {
  border-radius: var(--radius);
}

.site-footer {
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--blue);
}

.links-page::before {
  background:
    linear-gradient(90deg, rgba(26, 29, 46, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(0deg, rgba(26, 29, 46, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(circle at 18% 12%, rgba(47, 95, 215, 0.12), transparent 28%),
    var(--bg);
  opacity: 1;
}

.links-page::after {
  display: none;
}

.bio-shell {
  width: min(100% - 28px, 780px);
  padding-block: 20px 42px;
}

.bio-profile {
  border-radius: 18px;
}

.bio-avatar-wrap {
  background: var(--surface-sunk);
  border: 1px solid var(--line);
  box-shadow: none;
}

.bio-email {
  color: var(--blue);
}

.quick-action {
  color: var(--ink);
  border-radius: var(--radius);
}

.quick-action strong {
  color: var(--ink);
}

.bio-link-stack {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .site-header {
    position: fixed;
    top: 12px;
    min-height: 58px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 108px 0 36px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(240, 242, 248, 0.98), rgba(240, 242, 248, 0.88)),
      var(--bg);
  }

  .hero-inner {
    min-height: 0;
  }

  .hero-copy-block {
    max-width: none;
  }

  .hero-art {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(86vw, 420px);
    margin: 18px auto 0;
    pointer-events: none;
  }

  .hero-art img {
    max-height: 430px;
    object-fit: contain;
  }

  .hero-live-card {
    right: 8%;
    bottom: 14%;
  }

  .hero-signals {
    grid-template-columns: 1fr;
  }

  .links-layout,
  .studio-layout,
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body,
  .links-page {
    font-size: 14px;
  }

  .site-header {
    width: calc(100% - 20px);
    padding: 8px;
    border-radius: var(--radius);
  }

  .brand-symbol {
    width: 40px;
    height: 40px;
  }

  .brand-subtitle {
    display: none;
  }

  .header-cta {
    min-width: 44px;
    padding-inline: 12px;
  }

  .section {
    padding-block: 42px;
  }

  .section-inner,
  .hero-inner {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    padding-top: 96px;
  }

  .hero h1 {
    font-size: clamp(44px, 16vw, 64px);
  }

  .hero-actions,
  .contact-actions,
  .business-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .header-cta,
  .business-actions a {
    justify-content: center;
  }

  .platform-dock {
    gap: 8px;
  }

  .platform-chip {
    min-height: 40px;
    border-radius: 999px;
  }

  .hero-art {
    width: min(92vw, 390px);
  }

  .hero-art img {
    max-height: 390px;
  }

  .bio-shell {
    width: min(100% - 20px, 780px);
    padding-block: 12px 28px;
  }

  .bio-topbar {
    border-radius: var(--radius);
  }

  .bio-profile,
  .profile-panel,
  .business-strip,
  .contact-panel {
    padding: 18px;
    border-radius: var(--radius);
  }

  .quick-action-grid,
  .campaign-grid,
  .link-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .link-card {
    grid-template-columns: 46px minmax(0, 1fr) 42px;
    min-height: 76px;
    padding: 12px;
    gap: 10px;
  }

  .link-copy strong,
  .campaign-title-row strong {
    font-size: 14px;
    line-height: 1.25;
  }

  .link-copy span,
  .campaign-copy {
    font-size: 12px;
  }

  .link-action,
  .link-arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 390px) {
  .hero-art {
    width: min(96vw, 350px);
  }

  .hero-art img {
    max-height: 344px;
  }

  .link-card {
    grid-template-columns: 42px minmax(0, 1fr) 38px;
    padding: 10px;
  }

  .link-thumb,
  .quick-icon {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .link-card:hover,
  .campaign-tile:hover,
  .quick-action:hover,
  .platform-chip:hover {
    transform: none;
  }
}

/* Link hub rebuild: Hoyo Ops-style, mobile-first, no clipped cards. */
.links-page {
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(47, 95, 215, 0.13), transparent 32%),
    radial-gradient(circle at 86% 10%, rgba(201, 63, 118, 0.1), transparent 28%),
    linear-gradient(180deg, #f7f9ff 0%, #eef2f9 100%);
}

.links-page::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(26, 29, 46, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(0deg, rgba(26, 29, 46, 0.04) 1px, transparent 1px) 0 0 / 32px 32px;
  opacity: 1;
}

.links-page::after {
  display: none;
}

.links-page a {
  color: inherit;
}

.links-page svg {
  flex: 0 0 auto;
}

.links-page .bio-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100% - 28px, 640px);
  min-height: auto;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 0 max(44px, env(safe-area-inset-bottom));
  gap: 16px;
}

.links-page .bio-shell > * {
  min-width: 0;
}

.links-page .bio-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 10px;
  padding: 7px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.links-page .bio-home-link,
.links-page .bio-live-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 0 13px;
  gap: 8px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.links-page .bio-home-link:hover,
.links-page .bio-live-pill:hover {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: rgba(47, 95, 215, 0.22);
}

.links-page .bio-home-link svg,
.links-page .bio-live-pill svg {
  width: 17px;
  height: 17px;
  margin: 0;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.links-page .bio-live-pill::before {
  width: 8px;
  height: 8px;
  content: "";
  background: #10b981;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}

.links-page .bio-live-pill svg {
  display: none;
}

.links-page .bio-profile {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
  overflow: hidden;
  text-align: left;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(47, 95, 215, 0.08), transparent 48%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 252, 0.94));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.links-page .bio-profile::before {
  position: absolute;
  inset: 0 0 auto 0;
  height: 92px;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(47, 95, 215, 0.12), rgba(201, 63, 118, 0.14)),
    url("/assets/official-genshin.webp") center 46% / cover;
  opacity: 0.5;
  mask-image: linear-gradient(180deg, #000, transparent);
}

.links-page .bio-avatar-wrap,
.links-page .bio-profile-copy,
.links-page .bio-tags {
  position: relative;
  z-index: 1;
}

.links-page .bio-avatar-wrap {
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(205, 209, 220, 0.8);
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(25, 31, 56, 0.13);
}

.links-page .bio-avatar-wrap::after {
  right: 10px;
  bottom: 10px;
  width: 18px;
  height: 18px;
  background: #10b981;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
}

.links-page .bio-avatar {
  width: 84px;
  height: 84px;
  background-color: #f7f9ff;
  background-image: url("/assets/geargumi-avatar.webp");
  background-position: center;
  background-size: cover;
  border: 0;
  border-radius: 16px;
  box-shadow: none;
}

.links-page .eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.links-page h1 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: clamp(44px, 12vw, 62px);
  line-height: 0.96;
}

.links-page .bio-lede {
  max-width: 560px;
  margin: 8px 0 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.links-page .bio-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(47, 95, 215, 0.34);
  text-underline-offset: 4px;
}

.links-page .bio-tags {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 8px;
}

.links-page .bio-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  color: var(--muted);
  background: rgba(245, 247, 251, 0.9);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.links-page .quick-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.links-page .quick-action {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  min-height: 84px;
  gap: 10px;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  touch-action: manipulation;
}

.links-page .quick-action:hover {
  background: #ffffff;
  border-color: rgba(47, 95, 215, 0.28);
  box-shadow: 0 18px 40px rgba(25, 31, 56, 0.1);
  transform: translateY(-2px);
}

.links-page .quick-icon,
.links-page .link-thumb {
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 12px;
  box-shadow: none;
}

.links-page .quick-icon {
  width: 42px;
  height: 42px;
}

.links-page .quick-icon svg,
.links-page .link-thumb svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.links-page .brand-icon {
  fill: currentColor;
  stroke: none;
}

.links-page .quick-action span:last-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.links-page .quick-action strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.links-page .quick-action small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.links-page .bio-link-stack {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.links-page .bio-link-stack + .bio-link-stack {
  margin-top: 4px;
}

.links-page .bio-group-heading {
  display: grid;
  gap: 3px;
}

.links-page .bio-group-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 5.6vw, 34px);
  line-height: 1.05;
}

.links-page .campaign-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.links-page .campaign-tile {
  position: relative;
  display: grid;
  min-height: 132px;
  align-content: space-between;
  gap: 12px;
  padding: 16px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  touch-action: manipulation;
}

.links-page .campaign-tile::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: var(--blue);
}

.links-page .campaign-tile:hover {
  border-color: rgba(47, 95, 215, 0.28);
  box-shadow: 0 18px 40px rgba(25, 31, 56, 0.1);
  transform: translateY(-2px);
}

.links-page .campaign-featured {
  min-height: 160px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(47, 95, 215, 0.1), rgba(201, 63, 118, 0.08)),
    #ffffff;
}

.links-page .campaign-kicker {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  opacity: 1;
  text-transform: uppercase;
}

.links-page .campaign-title-row {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.links-page .campaign-title-row .link-thumb {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.links-page .campaign-title-row strong {
  min-width: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.links-page .campaign-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  opacity: 1;
  overflow-wrap: anywhere;
}

.links-page .campaign-cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(47, 95, 215, 0.22);
}

.links-page .campaign-cta svg {
  width: 17px;
  height: 17px;
  margin-left: 7px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.links-page .link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.links-page .link-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 76px;
  gap: 12px;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  touch-action: manipulation;
}

.links-page .link-card:hover {
  background: #ffffff;
  border-color: rgba(47, 95, 215, 0.34);
  border-left-color: var(--blue);
  box-shadow: 0 18px 40px rgba(25, 31, 56, 0.1);
  transform: translateY(-2px);
}

.links-page .link-thumb {
  width: 46px;
  height: 46px;
}

.links-page .link-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.links-page .link-copy strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.links-page .link-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.links-page .link-action {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: var(--surface-sunk);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.links-page .link-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.links-page .link-card:hover .link-action,
.links-page .campaign-tile:hover .link-action {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.links-page .business-strip {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 18px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(47, 95, 215, 0.08), rgba(201, 63, 118, 0.07)),
    rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.links-page .business-strip h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 5.6vw, 34px);
  line-height: 1.08;
}

.links-page .business-strip p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.links-page .business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.links-page .business-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 48px;
  padding: 0 16px;
  gap: 8px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  touch-action: manipulation;
}

.links-page .business-actions a:first-child {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 12px 26px rgba(47, 95, 215, 0.2);
}

.links-page .business-actions a:hover {
  border-color: rgba(47, 95, 215, 0.28);
  transform: translateY(-2px);
}

.links-page .business-actions svg {
  width: 19px;
  height: 19px;
  margin: 0;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.links-page .thumb-youtube {
  color: #dc2626;
  background: #fff1f1;
}

.links-page .thumb-tiktok {
  color: #111827;
  background: #f4f7fb;
}

.links-page .thumb-discord {
  color: #5865f2;
  background: #eef1ff;
}

.links-page .thumb-facebook {
  color: #1877f2;
  background: #edf5ff;
}

.links-page .thumb-tipme {
  color: #c2410c;
  background: #fff6e8;
}

.links-page .thumb-email,
.links-page .thumb-website {
  color: var(--blue);
  background: var(--blue-soft);
}

.links-page .thumb-zzz {
  color: #8a5a00;
  background: var(--gold-soft);
}

.links-page .thumb-hsr {
  color: var(--violet);
  background: var(--violet-soft);
}

.links-page .thumb-wuwa {
  color: #007a5f;
  background: var(--green-soft);
}

.links-page .bio-home-link:focus-visible,
.links-page .bio-live-pill:focus-visible,
.links-page .quick-action:focus-visible,
.links-page .campaign-tile:focus-visible,
.links-page .link-card:focus-visible,
.links-page .business-actions a:focus-visible {
  outline: none;
  box-shadow: var(--ring), var(--shadow-sm);
}

.links-page .quick-action:active,
.links-page .campaign-tile:active,
.links-page .link-card:active,
.links-page .business-actions a:active {
  transform: scale(0.985);
}

@media (min-width: 720px) {
  .links-page .bio-shell {
    width: min(100% - 40px, 780px);
    padding-top: max(28px, env(safe-area-inset-top));
    gap: 18px;
  }

  .links-page .bio-profile {
    padding: 22px;
  }

  .links-page .quick-action-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .links-page .quick-action {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: start;
    min-height: 110px;
  }

  .links-page .campaign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .links-page .campaign-featured {
    grid-column: 1 / -1;
  }

  .links-page .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .links-page .bio-shell {
    width: min(100% - 56px, 1120px);
    grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
    align-items: start;
    padding-top: max(34px, env(safe-area-inset-top));
    gap: 22px;
  }

  .links-page .bio-topbar {
    grid-column: 1 / -1;
  }

  .links-page .bio-profile {
    position: sticky;
    top: 24px;
    grid-column: 1;
    grid-row: 2 / span 4;
    grid-template-columns: 1fr;
    align-content: start;
    justify-items: start;
    min-height: 430px;
    padding: 28px;
  }

  .links-page .bio-profile::before {
    height: 156px;
  }

  .links-page .bio-avatar-wrap {
    width: 118px;
    height: 118px;
  }

  .links-page .bio-avatar {
    width: 98px;
    height: 98px;
  }

  .links-page h1 {
    font-size: 58px;
  }

  .links-page .bio-lede {
    font-size: 16px;
  }

  .links-page .bio-tags {
    align-self: end;
    margin-top: auto;
  }

  .links-page .quick-action-grid,
  .links-page .bio-link-stack,
  .links-page .business-strip {
    grid-column: 2;
  }

  .links-page .quick-action-grid {
    margin-top: 0;
  }

  .links-page .campaign-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .links-page .campaign-featured {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 164px;
    align-items: center;
  }

  .links-page .campaign-featured .campaign-kicker,
  .links-page .campaign-featured .campaign-title-row,
  .links-page .campaign-featured .campaign-copy {
    grid-column: 1;
  }

  .links-page .campaign-featured .campaign-cta {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
  }

  .links-page .business-strip {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 24px;
  }

  .links-page .business-strip .eyebrow,
  .links-page .business-strip h2,
  .links-page .business-strip p {
    grid-column: 1;
  }

  .links-page .business-actions {
    grid-column: 2;
    grid-row: 1 / span 3;
    justify-content: flex-end;
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .links-page .bio-shell {
    width: min(100% - 22px, 430px);
    gap: 14px;
  }

  .links-page .bio-topbar {
    min-height: 54px;
    border-radius: 14px;
  }

  .links-page .bio-home-link,
  .links-page .bio-live-pill {
    min-height: 42px;
    padding: 0 11px;
    font-size: 12px;
  }

  .links-page .bio-profile {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 18px 14px;
    text-align: center;
  }

  .links-page .bio-avatar-wrap {
    width: 104px;
    height: 104px;
  }

  .links-page .bio-avatar {
    width: 88px;
    height: 88px;
  }

  .links-page .bio-tags {
    justify-content: center;
  }

  .links-page .quick-action {
    min-height: 82px;
    padding: 11px;
  }

  .links-page .quick-icon {
    width: 40px;
    height: 40px;
  }

  .links-page .campaign-tile {
    min-height: 128px;
    padding: 14px;
  }

  .links-page .link-card {
    grid-template-columns: 44px minmax(0, 1fr) 42px;
    min-height: 74px;
    gap: 10px;
    padding: 11px;
  }

  .links-page .link-thumb {
    width: 42px;
    height: 42px;
  }

  .links-page .link-action {
    width: 42px;
    height: 42px;
  }

  .links-page .business-strip {
    padding: 16px;
  }
}

@media (max-width: 360px) {
  .links-page .bio-shell {
    width: min(100% - 18px, 340px);
  }

  .links-page .quick-action-grid {
    grid-template-columns: 1fr;
  }

  .links-page .bio-home-link span {
    display: none;
  }

  .links-page h1 {
    font-size: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .links-page .quick-action,
  .links-page .campaign-tile,
  .links-page .link-card,
  .links-page .business-actions a {
    transition: none;
  }
}

/* Landing composition pass: keep Hoyo Ops tokens, but size this as a public brand page. */
.landing-page {
  font-size: 16px;
}

.landing-page .skip-link {
  position: absolute;
}

.landing-page .reveal {
  opacity: 1;
  transform: none;
}

.landing-page .site-header,
.landing-page .site-header.is-scrolled {
  position: absolute;
  top: 28px;
  left: 50%;
  z-index: 30;
  width: min(calc(100% - 48px), 1180px);
  min-height: 72px;
  padding: 12px 14px;
  transform: translateX(-50%);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(25, 31, 56, 0.11);
}

.landing-page .brand-symbol {
  width: 48px;
  height: 48px;
  font-size: 22px;
}

.landing-page .brand-name {
  font-size: 20px;
}

.landing-page .brand-subtitle {
  font-size: 12px;
}

.landing-page .nav-links {
  justify-content: center;
  gap: 18px;
}

.landing-page .nav-links a {
  padding: 0 12px;
  font-size: 14px;
  font-weight: 800;
}

.landing-page .header-cta {
  min-height: 50px;
  padding-inline: 20px;
  border-radius: 999px;
}

.landing-page .hero {
  min-height: clamp(760px, 92svh, 960px);
  padding: 136px 24px 96px;
}

.landing-page .hero::before {
  background:
    linear-gradient(90deg, rgba(240, 242, 248, 0.97) 0%, rgba(240, 242, 248, 0.84) 43%, rgba(240, 242, 248, 0.6) 72%, rgba(240, 242, 248, 0.76) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(240, 242, 248, 0.74));
}

.landing-page .hero-inner {
  width: min(100%, 1180px);
  margin: auto;
}

.landing-page .hero-copy-block {
  max-width: 680px;
}

.landing-page .hero-kicker {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 13px;
}

.landing-page .hero h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(72px, 8vw, 112px);
  line-height: 0.9;
}

.landing-page .hero-copy {
  max-width: 690px;
  margin-bottom: 30px;
  color: #4f5870;
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.65;
}

.landing-page .hero-actions {
  gap: 14px;
}

.landing-page .button {
  min-height: 52px;
  padding-inline: 24px;
  border-radius: 999px;
  font-size: 15px;
}

.landing-page .platform-dock {
  margin-top: 22px;
  gap: 10px;
}

.landing-page .platform-chip {
  min-height: 44px;
  padding-inline: 16px;
}

.landing-page .hero-signals {
  max-width: 740px;
  gap: 16px;
  margin-top: 48px;
}

.landing-page .hero-signals div {
  min-height: 118px;
  padding: 22px;
}

.landing-page .hero-signals dt {
  font-size: 22px;
}

.landing-page .hero-signals dd {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.35;
}

.landing-page .hero-art {
  right: max(30px, calc((100vw - 1180px) / 2 - 8px));
  bottom: -8px;
  width: clamp(560px, 43vw, 690px);
}

.landing-page .hero-art img {
  filter: drop-shadow(0 34px 46px rgba(25, 31, 56, 0.2));
}

.landing-page .hero-live-card {
  right: 10%;
  bottom: 17%;
  width: 172px;
  padding: 16px 18px;
}

.landing-page .section {
  padding: 104px 24px;
}

.landing-page .section-light,
.landing-page .section-dark,
.landing-page .section-showcase,
.landing-page .contact-section {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.landing-page .section-inner {
  width: min(100%, 1180px);
}

.landing-page .section-heading {
  max-width: 800px;
}

.landing-page .section-heading h2,
.landing-page .contact-panel h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
}

.landing-page .section-heading > p:not(.eyebrow),
.landing-page .contact-panel > p {
  max-width: 700px;
  font-size: 18px;
  line-height: 1.7;
}

.landing-page .links-section {
  padding-top: 108px;
  background:
    linear-gradient(90deg, rgba(26, 29, 46, 0.032) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, rgba(26, 29, 46, 0.032) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, #f7f9ff 0%, #eef2f9 100%);
}

.landing-page .links-layout {
  grid-template-columns: minmax(320px, 0.58fr) minmax(0, 1fr);
  gap: 34px;
}

.landing-page .profile-panel {
  top: 24px;
  padding: 32px;
  border-radius: 16px;
}

.landing-page .profile-panel::before {
  height: 148px;
}

.landing-page .profile-avatar {
  width: 116px;
  height: 116px;
}

.landing-page .profile-panel h2 {
  font-size: 34px;
  line-height: 1;
}

.landing-page .link-hub {
  gap: 28px;
}

.landing-page .link-group {
  gap: 14px;
}

.landing-page .link-group-heading h3 {
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.05;
}

.landing-page .link-card {
  grid-template-columns: 58px minmax(0, 1fr) 46px;
  min-height: 88px;
  padding: 16px 18px;
  gap: 16px;
}

.landing-page .link-thumb {
  width: 52px;
  height: 52px;
}

.landing-page .link-copy strong {
  font-size: 17px;
}

.landing-page .link-copy span {
  font-size: 13px;
}

.landing-page .work-grid {
  gap: 24px;
  margin-top: 46px;
}

.landing-page .work-card {
  min-height: 300px;
  padding: 30px;
  border-radius: 16px;
}

.landing-page .icon-shell {
  width: 54px;
  height: 54px;
}

.landing-page .work-card h3 {
  margin-top: 28px;
  font-size: 23px;
}

.landing-page .studio-layout,
.landing-page .showcase-grid {
  gap: 64px;
}

.landing-page .timeline {
  gap: 16px;
}

.landing-page .timeline-row {
  min-height: 96px;
  padding: 22px 24px;
  border-radius: 14px;
}

.landing-page .proof-list {
  gap: 16px;
}

.landing-page .proof-list p {
  min-height: 86px;
  padding: 22px 24px;
  border-radius: 14px;
}

.landing-page .contact-section {
  min-height: 520px;
  display: grid;
  align-items: center;
}

.landing-page .contact-panel {
  max-width: 820px;
  padding: 38px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
}

@media (max-width: 1080px) {
  .landing-page .hero-art {
    width: clamp(480px, 48vw, 600px);
    right: -38px;
  }

  .landing-page .hero-copy-block {
    max-width: 600px;
  }
}

@media (max-width: 900px) {
  .landing-page .site-header,
  .landing-page .site-header.is-scrolled {
    position: absolute;
    top: 12px;
    width: calc(100% - 24px);
    min-height: 62px;
  }

  .landing-page .hero {
    min-height: auto;
    padding: 98px 0 42px;
  }

  .landing-page .hero-inner {
    width: min(100% - 24px, 640px);
  }

  .landing-page .hero-art {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(84vw, 390px);
    margin: 8px auto 0;
  }

  .landing-page .hero-art img {
    max-height: 360px;
    object-fit: contain;
  }

  .landing-page .hero-live-card {
    display: none;
  }

  .landing-page .hero h1 {
    font-size: clamp(52px, 16vw, 74px);
  }

  .landing-page .links-layout,
  .landing-page .studio-layout,
  .landing-page .showcase-grid {
    grid-template-columns: 1fr;
  }

  .landing-page .profile-panel {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) {
  .landing-page {
    font-size: 15px;
  }

  .landing-page .hero {
    padding-top: 86px;
  }

  .landing-page .hero-copy {
    font-size: 17px;
  }

  .landing-page .hero-signals {
    gap: 10px;
    margin-top: 30px;
  }

  .landing-page .hero-signals div {
    min-height: 92px;
    padding: 16px;
  }

  .landing-page .section {
    padding-block: 56px;
  }

  .landing-page .link-card {
    grid-template-columns: 46px minmax(0, 1fr) 42px;
    min-height: 78px;
    padding: 12px;
    gap: 10px;
  }

  .landing-page .link-thumb {
    width: 42px;
    height: 42px;
  }
}

/* Landing link-card + footer polish: matches the GamuCosu tap-card language. */
.landing-page .links-layout {
  grid-template-columns: minmax(330px, 0.48fr) minmax(0, 1fr);
  gap: 40px;
}

.landing-page .link-hub {
  gap: 32px;
}

.landing-page .link-group {
  gap: 14px;
}

.landing-page .link-card {
  grid-template-columns: 64px minmax(0, 1fr) 56px;
  min-height: 98px;
  gap: 18px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(25, 31, 56, 0.08);
  transform: translateY(0);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.landing-page .link-card::before {
  display: none;
}

.landing-page .link-card::after {
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-80%);
}

.landing-page .link-card:hover {
  background: #ffffff;
  border-color: #bfd0ff;
  box-shadow: 0 22px 52px rgba(25, 31, 56, 0.13);
  transform: translateY(-3px);
}

.landing-page .link-card:hover::after {
  opacity: 1;
  transform: translateX(80%);
}

.landing-page .link-thumb {
  width: 56px;
  height: 56px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 12px;
  box-shadow: none;
}

.landing-page .link-thumb svg {
  width: 26px;
  height: 26px;
}

.landing-page .link-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.landing-page .link-copy strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.18;
}

.landing-page .link-copy span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.landing-page .link-action {
  width: 52px;
  height: 52px;
  color: var(--ink);
  background: var(--surface-sunk);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.landing-page .link-action svg {
  width: 20px;
  height: 20px;
}

.landing-page .link-card:hover .link-action {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.landing-page .thumb-genshin,
.landing-page .thumb-website,
.landing-page .thumb-email {
  color: var(--blue);
  background: var(--blue-soft);
}

.landing-page .thumb-zzz {
  color: var(--gold);
  background: var(--gold-soft);
}

.landing-page .thumb-hsr {
  color: var(--violet);
  background: var(--violet-soft);
}

.landing-page .thumb-wuwa,
.landing-page .thumb-line {
  color: var(--green);
  background: var(--green-soft);
}

.landing-page .thumb-youtube {
  color: var(--red);
  background: var(--red-soft);
}

.landing-page .thumb-discord {
  color: #5865f2;
  background: #eef1ff;
}

.landing-page .thumb-tiktok {
  color: #111827;
  background: #f4f7fb;
}

.landing-page .thumb-facebook {
  color: #1877f2;
  background: #edf4ff;
}

.landing-page .thumb-tipme {
  color: #c2410c;
  background: #fff6e8;
}

.landing-page .site-footer {
  display: block;
  padding: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(26, 29, 46, 0.028) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, rgba(26, 29, 46, 0.028) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, #ffffff 0%, #f0f2f8 100%);
  border-top: 1px solid var(--line);
}

.landing-page .footer-shell {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  padding: 56px 0 28px;
}

.landing-page .footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(4, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.landing-page .footer-brand {
  display: grid;
  gap: 18px;
}

.landing-page .footer-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.landing-page .footer-logo .brand-symbol {
  width: 48px;
  height: 48px;
}

.landing-page .footer-logo strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.landing-page .footer-logo small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.landing-page .footer-brand p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.landing-page .footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-page .footer-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  color: var(--muted);
  background: var(--surface-sunk);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.landing-page .footer-group {
  display: grid;
  gap: 10px;
}

.landing-page .footer-group h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.landing-page .footer-group a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  width: fit-content;
  padding: 0 10px;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.landing-page .footer-group a:hover {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: rgba(47, 95, 215, 0.12);
  transform: translateY(-1px);
}

.landing-page .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.landing-page .footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .landing-page .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-page .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .landing-page .links-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .landing-page .link-card {
    grid-template-columns: 52px minmax(0, 1fr) 48px;
    min-height: 86px;
    gap: 12px;
    padding: 13px;
  }

  .landing-page .link-thumb {
    width: 48px;
    height: 48px;
  }

  .landing-page .link-copy strong {
    font-size: 15px;
  }

  .landing-page .link-copy span {
    font-size: 12px;
  }

  .landing-page .link-action {
    width: 46px;
    height: 46px;
  }

  .landing-page .footer-shell {
    width: min(100% - 24px, 560px);
    padding: 42px 0 24px;
  }

  .landing-page .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .landing-page .footer-bottom {
    display: grid;
    gap: 8px;
    margin-top: 32px;
  }
}

@media (max-width: 360px) {
  .landing-page .link-card {
    grid-template-columns: 42px minmax(0, 1fr) 40px;
    min-height: 82px;
    gap: 8px;
    padding: 10px;
  }

  .landing-page .link-action {
    width: 40px;
    height: 40px;
  }

  .landing-page .link-thumb {
    width: 42px;
    height: 42px;
  }

  .landing-page .link-copy strong {
    font-size: 14px;
  }

  .landing-page .link-copy span {
    font-size: 11px;
  }
}

/* Link hub unification pass */
.links-page {
  min-height: 100dvh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 95, 215, 0.12), transparent 32rem),
    linear-gradient(180deg, #f7f9ff 0%, #eef2f9 100%);
}

.links-page::before {
  opacity: 0.42;
}

.links-page::after {
  opacity: 0.5;
}

.links-page .bio-shell {
  width: min(100% - 40px, 820px);
  max-width: 820px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0 22px;
}

.links-page .bio-shell > * {
  grid-column: 1;
}

.links-page .bio-topbar {
  position: static;
  min-height: 58px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(205, 211, 224, 0.86);
  box-shadow: 0 18px 42px rgba(25, 31, 56, 0.08);
  backdrop-filter: blur(16px);
}

.links-page .bio-home-link,
.links-page .bio-live-pill {
  min-height: 44px;
  border-radius: 12px;
  padding: 0 12px;
}

.links-page .bio-profile {
  position: relative;
  top: auto;
  min-height: 232px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 30px;
  border-radius: 18px;
  background:
    linear-gradient(115deg, rgba(47, 95, 215, 0.12) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 88% 0%, rgba(236, 72, 153, 0.2), transparent 18rem),
    var(--surface);
  border: 1px solid rgba(205, 211, 224, 0.95);
  box-shadow: 0 26px 70px rgba(25, 31, 56, 0.12);
}

.links-page .bio-profile::before {
  inset: 0;
  height: 78px;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(90deg, rgba(47, 95, 215, 0.16), rgba(236, 72, 153, 0.18)),
    url("/assets/official-genshin.webp") center 46% / cover;
  opacity: 0.9;
}

.links-page .bio-avatar-wrap,
.links-page .bio-profile-copy,
.links-page .bio-tags {
  position: relative;
  z-index: 1;
}

.links-page .bio-avatar-wrap {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(25, 31, 56, 0.16);
}

.links-page .bio-avatar {
  width: 88px;
  height: 88px;
  border-radius: 18px;
}

.links-page h1 {
  font-size: clamp(42px, 8vw, 66px);
  line-height: 0.95;
  margin: 2px 0 8px;
}

.links-page .bio-lede {
  max-width: 520px;
  font-size: 16px;
}

.links-page .bio-email {
  color: var(--blue);
  font-size: 15px;
}

.links-page .bio-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.links-page .bio-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f4f7fd;
  border: 1px solid rgba(228, 232, 242, 0.95);
  color: #5a6276;
  box-shadow: none;
}

.links-page .quick-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.links-page .quick-action {
  min-height: 88px;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(224, 229, 240, 0.95);
  box-shadow: 0 14px 32px rgba(25, 31, 56, 0.07);
}

.links-page .quick-action:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 95, 215, 0.28);
  box-shadow: 0 18px 42px rgba(25, 31, 56, 0.1);
}

.links-page .quick-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.links-page .quick-action strong {
  font-size: 14px;
  line-height: 1.1;
}

.links-page .quick-action small {
  margin-top: 4px;
  color: #6e7586;
}

.links-page .bio-link-stack {
  gap: 12px;
  margin-top: 6px;
}

.links-page .bio-link-stack + .bio-link-stack {
  margin-top: 18px;
}

.links-page .bio-group-heading {
  margin-bottom: 2px;
}

.links-page .bio-group-heading h2 {
  font-size: clamp(24px, 4.6vw, 34px);
}

.links-page .campaign-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.links-page .campaign-featured {
  grid-column: 1 / -1;
  min-height: 160px;
}

.links-page .campaign-tile,
.links-page .link-card,
.links-page .business-strip,
.links-page .bio-footer {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(224, 229, 240, 0.96);
  box-shadow: 0 18px 42px rgba(25, 31, 56, 0.08);
}

.links-page .campaign-tile::before,
.links-page .link-card::before {
  display: none;
}

.links-page .campaign-tile {
  min-height: 126px;
  padding: 18px;
}

.links-page .campaign-title-row {
  gap: 12px;
}

.links-page .campaign-title-row strong {
  font-size: 17px;
  line-height: 1.25;
}

.links-page .campaign-copy {
  font-size: 13px;
  line-height: 1.5;
}

.links-page .campaign-cta {
  min-height: 42px;
  border-radius: 12px;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(47, 95, 215, 0.18);
}

.links-page .link-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.links-page .link-card {
  min-height: 96px;
  grid-template-columns: 58px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-left: 1px solid rgba(224, 229, 240, 0.96);
  color: var(--ink);
}

.links-page .link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 95, 215, 0.3);
  box-shadow: 0 22px 52px rgba(25, 31, 56, 0.12);
}

.links-page .link-thumb {
  width: 56px;
  height: 56px;
  border-radius: 13px;
}

.links-page .link-copy {
  gap: 5px;
  min-width: 0;
}

.links-page .link-copy strong {
  font-size: 18px;
  line-height: 1.18;
}

.links-page .link-copy span {
  font-size: 14px;
  color: #596174;
  overflow-wrap: anywhere;
}

.links-page .link-action {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  color: #202538;
  background: #f4f7fd;
  border: 1px solid #e4e9f4;
  box-shadow: none;
}

.links-page .link-action svg {
  width: 21px;
  height: 21px;
}

.links-page .link-card:hover .link-action,
.links-page .campaign-tile:hover .link-action {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 12px 24px rgba(47, 95, 215, 0.18);
}

.links-page .business-strip {
  display: grid;
  gap: 14px;
  padding: 22px;
  margin-top: 18px;
}

.links-page .business-strip h2 {
  font-size: clamp(25px, 5vw, 36px);
}

.links-page .business-strip p:not(.eyebrow) {
  max-width: 620px;
}

.links-page .business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.links-page .business-actions a {
  min-height: 48px;
  border-radius: 13px;
}

.links-page .bio-footer {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 820px);
  max-width: 820px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0 auto 34px;
  padding: 22px;
}

.links-page .bio-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.links-page .bio-footer-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #7c3aed 55%, #ec4899);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(47, 95, 215, 0.18);
}

.links-page .bio-footer-brand strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.links-page .bio-footer-brand span:not(.bio-footer-mark) {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.links-page .bio-footer-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.links-page .bio-footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f5f7fb;
  border: 1px solid #e4e9f4;
  color: #273049;
  font-size: 13px;
  font-weight: 800;
}

.links-page .bio-footer-links a:hover {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.links-page .bio-footer p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .links-page .bio-shell,
  .links-page .bio-footer {
    width: min(100% - 28px, 620px);
  }

  .links-page .bio-profile {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 24px 18px 20px;
  }

  .links-page .bio-profile::before {
    height: 90px;
  }

  .links-page .bio-tags {
    justify-content: center;
  }

  .links-page .quick-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .links-page .campaign-grid {
    grid-template-columns: 1fr;
  }

  .links-page .campaign-featured {
    min-height: 150px;
  }

  .links-page .link-card {
    min-height: 92px;
    grid-template-columns: 54px minmax(0, 1fr) 50px;
    gap: 13px;
    padding: 14px;
  }

  .links-page .link-thumb {
    width: 52px;
    height: 52px;
  }

  .links-page .link-copy strong {
    font-size: 16px;
  }

  .links-page .link-copy span {
    font-size: 12px;
  }

  .links-page .link-action {
    width: 48px;
    height: 48px;
  }

  .links-page .bio-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .links-page .bio-shell,
  .links-page .bio-footer {
    width: min(100% - 18px, 360px);
  }

  .links-page .bio-topbar {
    min-height: 54px;
  }

  .links-page .bio-profile {
    padding: 22px 14px 18px;
  }

  .links-page h1 {
    font-size: 40px;
  }

  .links-page .bio-lede {
    font-size: 14px;
  }

  .links-page .quick-action-grid {
    grid-template-columns: 1fr;
  }

  .links-page .quick-action {
    min-height: 78px;
  }

  .links-page .link-card {
    min-height: 86px;
    grid-template-columns: 46px minmax(0, 1fr) 42px;
    gap: 10px;
    padding: 11px;
  }

  .links-page .link-thumb {
    width: 44px;
    height: 44px;
  }

  .links-page .link-action {
    width: 42px;
    height: 42px;
  }

  .links-page .link-copy strong {
    font-size: 15px;
  }

  .links-page .bio-footer {
    padding: 16px;
  }
}

/* Mobile profile frame correction */
.links-page .bio-profile {
  --profile-pad: 30px;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px 20px;
  align-items: center;
  min-height: 0;
  overflow: hidden;
  padding: 0 var(--profile-pad) 26px;
}

.links-page .bio-profile::before {
  display: none;
}

.links-page .bio-cover {
  grid-column: 1 / -1;
  width: calc(100% + var(--profile-pad) + var(--profile-pad));
  height: clamp(150px, 28vw, 230px);
  margin-right: calc(-1 * var(--profile-pad));
  margin-left: calc(-1 * var(--profile-pad));
  background:
    linear-gradient(180deg, rgba(16, 22, 40, 0.05), rgba(247, 249, 255, 0.12)),
    url("/assets/official-genshin.webp") center 46% / cover no-repeat;
  border-radius: 18px 18px 0 0;
}

.links-page .bio-avatar-wrap {
  margin-top: -58px;
}

.links-page .bio-profile-copy {
  margin-top: -42px;
}

@media (max-width: 760px) {
  .links-page .bio-shell {
    gap: 14px;
    padding-top: 18px;
  }

  .links-page .bio-profile {
    --profile-pad: 18px;
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: center;
    padding: 0 var(--profile-pad) 20px;
    text-align: center;
  }

  .links-page .bio-cover {
    width: calc(100% + var(--profile-pad) + var(--profile-pad));
    height: clamp(142px, 41vw, 168px);
    background-position: center 46%;
  }

  .links-page .bio-avatar-wrap {
    width: 96px;
    height: 96px;
    margin-top: -54px;
  }

  .links-page .bio-avatar {
    width: 80px;
    height: 80px;
  }

  .links-page .bio-profile-copy {
    margin-top: 0;
  }

  .links-page h1 {
    margin-bottom: 6px;
    font-size: clamp(38px, 11vw, 46px);
  }

  .links-page .bio-lede {
    max-width: 30rem;
    margin: 6px auto;
    font-size: 14px;
    line-height: 1.45;
  }

  .links-page .bio-email {
    min-height: 44px;
    font-size: 13px;
  }

  .links-page .bio-tags {
    justify-content: center;
    gap: 7px;
    margin-top: 4px;
  }

  .links-page .bio-tags span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  .links-page .quick-action-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(172px, 48%);
    overflow-x: auto;
    gap: 10px;
    margin-right: -14px;
    margin-left: -14px;
    padding: 2px 14px 8px;
    scroll-padding-inline: 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .links-page .quick-action-grid::-webkit-scrollbar {
    display: none;
  }

  .links-page .quick-action {
    min-height: 72px;
    scroll-snap-align: start;
  }

  .links-page .quick-action strong,
  .links-page .quick-action small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .links-page .quick-icon {
    width: 40px;
    height: 40px;
  }

  .links-page .bio-link-stack:first-of-type {
    margin-top: 2px;
  }
}

@media (max-width: 380px) {
  .links-page .bio-profile {
    --profile-pad: 14px;
    padding-bottom: 18px;
  }

  .links-page .bio-cover {
    height: 132px;
  }

  .links-page .bio-avatar-wrap {
    width: 90px;
    height: 90px;
    margin-top: -50px;
    border-radius: 20px;
  }

  .links-page .bio-avatar {
    width: 76px;
    height: 76px;
    border-radius: 16px;
  }

  .links-page h1 {
    font-size: 36px;
  }

  .links-page .quick-action-grid {
    grid-auto-columns: minmax(164px, 54%);
    margin-right: -9px;
    margin-left: -9px;
    padding-right: 9px;
    padding-left: 9px;
    scroll-padding-inline: 9px;
  }
}

/* Campaign cards: official game-art thumbnails + lightweight click polish */
.links-page .campaign-tile {
  --campaign-rgb: 47, 95, 215;
  --campaign-badge: #2f5fd7;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
  background:
    radial-gradient(circle at 88% 10%, rgba(var(--campaign-rgb), 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.94));
  border-color: rgba(var(--campaign-rgb), 0.2);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.links-page .campaign-zzz {
  --campaign-rgb: 215, 162, 22;
  --campaign-badge: #a87308;
}

.links-page .campaign-genshin {
  --campaign-rgb: 47, 95, 215;
  --campaign-badge: #2f5fd7;
}

.links-page .campaign-hsr {
  --campaign-rgb: 124, 91, 255;
  --campaign-badge: #6c4df0;
}

.links-page .campaign-wuwa {
  --campaign-rgb: 20, 173, 139;
  --campaign-badge: #0f8f73;
}

.links-page .campaign-tile > * {
  position: relative;
  z-index: 1;
}

.links-page .campaign-tile::after {
  content: "";
  position: absolute;
  top: -42%;
  bottom: -42%;
  left: -58%;
  z-index: 0;
  width: 42%;
  pointer-events: none;
  opacity: 0;
  transform: skewX(-18deg) translateX(-140%);
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 34%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(255, 255, 255, 0.1) 66%,
    transparent 100%
  );
}

.links-page .campaign-tile:hover,
.links-page .campaign-tile:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(var(--campaign-rgb), 0.46);
  box-shadow:
    0 24px 54px rgba(25, 31, 56, 0.13),
    0 0 0 1px rgba(var(--campaign-rgb), 0.08),
    0 0 32px rgba(var(--campaign-rgb), 0.14);
}

.links-page .campaign-tile:hover::after,
.links-page .campaign-tile:focus-visible::after {
  animation: campaign-card-shine 780ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.links-page .campaign-tile:active {
  transform: translateY(-1px) scale(0.992);
}

.links-page .campaign-title-row {
  position: relative;
  align-items: center;
  padding-right: 30px;
}

.links-page .campaign-title-row::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 24px;
  height: 24px;
  pointer-events: none;
  opacity: 0.64;
  transform: translateY(-50%) scale(0.92);
  background:
    radial-gradient(circle at 50% 2px, rgba(255, 255, 255, 0.98) 0 2px, transparent 3px),
    radial-gradient(circle at 7px 17px, rgba(var(--campaign-rgb), 0.72) 0 2px, transparent 3px),
    radial-gradient(circle at 19px 16px, rgba(255, 255, 255, 0.92) 0 1.5px, transparent 3px);
  filter: drop-shadow(0 0 8px rgba(var(--campaign-rgb), 0.46));
  animation: campaign-sparkle 2.8s ease-in-out infinite;
}

.links-page .campaign-title-row .link-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 16px;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.54),
    0 16px 30px rgba(var(--campaign-rgb), 0.22);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.links-page .campaign-tile:hover .campaign-title-row .link-thumb,
.links-page .campaign-tile:focus-visible .campaign-title-row .link-thumb {
  transform: translateY(-1px) scale(1.035);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.68),
    0 18px 34px rgba(var(--campaign-rgb), 0.3);
}

.links-page .campaign-title-row .thumb-genshin svg,
.links-page .campaign-title-row .thumb-hsr svg,
.links-page .campaign-title-row .thumb-zzz svg {
  display: none;
}

.links-page .campaign-title-row .thumb-zzz {
  background-image:
    linear-gradient(180deg, transparent 44%, rgba(15, 18, 28, 0.34) 100%),
    url("/assets/official-zzz.webp");
  background-position: center, left 12% top 12%;
  background-size: cover, auto 112%;
}

.links-page .campaign-title-row .thumb-genshin {
  background-image:
    linear-gradient(180deg, transparent 46%, rgba(22, 39, 78, 0.24) 100%),
    url("/assets/official-genshin.webp");
  background-position: center, center 52%;
  background-size: cover, auto 118%;
}

.links-page .campaign-title-row .thumb-hsr {
  background-image:
    linear-gradient(180deg, transparent 42%, rgba(18, 16, 42, 0.34) 100%),
    url("/assets/official-hsr.webp");
  background-position: center, 39% 44%;
  background-size: cover, auto 112%;
}

.links-page .campaign-title-row .thumb-wuwa {
  color: #0f8f73;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.96), transparent 30%),
    linear-gradient(135deg, rgba(215, 250, 241, 0.98), rgba(20, 173, 139, 0.18));
}

.links-page .campaign-title-row .thumb-wuwa svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 12px rgba(20, 173, 139, 0.22));
}

.links-page .campaign-title-row .thumb-genshin::after,
.links-page .campaign-title-row .thumb-hsr::after,
.links-page .campaign-title-row .thumb-zzz::after,
.links-page .campaign-title-row .thumb-wuwa::after {
  position: absolute;
  right: 5px;
  bottom: 5px;
  min-width: 24px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(12, 17, 31, 0.72);
  box-shadow: 0 6px 14px rgba(12, 17, 31, 0.18);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.links-page .campaign-title-row .thumb-zzz::after {
  content: "ZZZ";
}

.links-page .campaign-title-row .thumb-genshin::after {
  content: "GI";
}

.links-page .campaign-title-row .thumb-hsr::after {
  content: "HSR";
}

.links-page .campaign-title-row .thumb-wuwa::after {
  content: "WW";
}

@keyframes campaign-card-shine {
  0% {
    opacity: 0;
    transform: skewX(-18deg) translateX(-140%);
  }

  22% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: skewX(-18deg) translateX(650%);
  }
}

@keyframes campaign-sparkle {
  0%,
  100% {
    opacity: 0.42;
    transform: translateY(-50%) scale(0.88) rotate(0deg);
  }

  50% {
    opacity: 0.9;
    transform: translateY(-50%) scale(1.08) rotate(12deg);
  }
}

@media (max-width: 760px) {
  .links-page .campaign-title-row .link-thumb {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }

  .links-page .campaign-title-row {
    padding-right: 26px;
  }
}

@media (max-width: 380px) {
  .links-page .campaign-title-row .link-thumb {
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .links-page .campaign-tile,
  .links-page .campaign-title-row .link-thumb {
    transition: none;
  }

  .links-page .campaign-tile:hover,
  .links-page .campaign-tile:focus-visible,
  .links-page .campaign-tile:hover .campaign-title-row .link-thumb,
  .links-page .campaign-tile:focus-visible .campaign-title-row .link-thumb,
  .links-page .campaign-tile:active {
    transform: none;
  }

  .links-page .campaign-title-row::after,
  .links-page .campaign-tile:hover::after,
  .links-page .campaign-tile:focus-visible::after {
    animation: none;
  }
}

/* Landing links balance: keep the campaign/profile row tight, then let channels use the full desktop canvas. */
.landing-page .links-layout {
  grid-template-columns: minmax(330px, 0.48fr) minmax(0, 1fr);
  align-items: start;
  column-gap: 40px;
  row-gap: 34px;
}

.landing-page .link-hub {
  display: contents;
}

.landing-page .link-hub > .link-group:first-child {
  grid-column: 2;
}

.landing-page .link-hub > .link-group:nth-child(2) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  margin-top: 8px;
}

.landing-page .link-hub > .link-group:nth-child(2) .link-group-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  margin-bottom: 2px;
}

.landing-page .link-hub > .link-group:nth-child(2) .link-group-heading::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  content: "Social / Support / Business";
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid rgba(47, 95, 215, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.landing-page .link-hub > .link-group:nth-child(2) .link-card {
  min-height: 104px;
}

.landing-page .link-hub > .link-group:nth-child(2) .link-card:hover {
  box-shadow:
    0 22px 54px rgba(25, 31, 56, 0.12),
    0 0 0 1px rgba(47, 95, 215, 0.06);
}

@media (max-width: 900px) {
  .landing-page .links-layout {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 30px;
  }

  .landing-page .link-hub {
    display: grid;
    gap: 30px;
  }

  .landing-page .link-hub > .link-group:first-child,
  .landing-page .link-hub > .link-group:nth-child(2) {
    grid-column: auto;
  }

  .landing-page .link-hub > .link-group:nth-child(2) {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 0;
  }

  .landing-page .link-hub > .link-group:nth-child(2) .link-group-heading {
    display: grid;
    gap: 4px;
  }

  .landing-page .link-hub > .link-group:nth-child(2) .link-group-heading::after {
    display: none;
  }

  .landing-page .link-hub > .link-group:nth-child(2) .link-card {
    min-height: 92px;
  }
}

/* Landing density pass: tighter footer, richer texture, shorter mobile flow. */
.landing-page .site-footer {
  background:
    radial-gradient(circle at 84% 20%, rgba(47, 95, 215, 0.08), transparent 30%),
    linear-gradient(90deg, rgba(26, 29, 46, 0.03) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, rgba(26, 29, 46, 0.03) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, #ffffff 0%, #f1f4fa 100%);
}

.landing-page .footer-shell {
  position: relative;
  overflow: hidden;
  padding: 38px 0 20px;
}

.landing-page .footer-shell::before {
  position: absolute;
  top: 18px;
  right: 0;
  width: min(34vw, 380px);
  height: 170px;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.24)),
    url("/assets/hoyo-cafe-wide.webp") center / cover no-repeat;
  border-radius: 18px;
  opacity: 0.18;
  filter: saturate(0.9);
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 78%, transparent);
}

.landing-page .footer-main,
.landing-page .footer-bottom {
  position: relative;
  z-index: 1;
}

.landing-page .footer-main {
  grid-template-columns: minmax(250px, 1.12fr) repeat(4, minmax(128px, 0.88fr));
  gap: 22px;
}

.landing-page .footer-brand {
  gap: 12px;
}

.landing-page .footer-logo .brand-symbol {
  width: 44px;
  height: 44px;
}

.landing-page .footer-logo strong {
  font-size: 21px;
}

.landing-page .footer-brand p {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.58;
}

.landing-page .footer-badges {
  gap: 6px;
}

.landing-page .footer-badges span {
  min-height: 28px;
  padding: 0 10px;
  font-size: 11px;
}

.landing-page .footer-group {
  gap: 6px;
}

.landing-page .footer-group h3 {
  margin-bottom: 2px;
}

.landing-page .footer-group a {
  min-height: 38px;
  padding: 0 8px;
  border-radius: 9px;
  font-size: 13px;
}

.landing-page .footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
}

@media (max-width: 640px) {
  .landing-page .hero {
    padding-top: 76px;
    padding-bottom: 30px;
  }

  .landing-page .hero h1 {
    margin-bottom: 14px;
    font-size: clamp(44px, 14vw, 60px);
  }

  .landing-page .hero-copy {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.45;
  }

  .landing-page .platform-dock {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
    overflow: visible;
  }

  .landing-page .platform-chip {
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    gap: 5px;
    padding-inline: 7px;
    font-size: 12px;
  }

  .landing-page .hero-art {
    width: min(78vw, 320px);
    margin-top: 0;
  }

  .landing-page .hero-art img {
    max-height: 300px;
  }

  .landing-page .hero-signals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .landing-page .hero-signals div {
    min-height: 72px;
    padding: 12px 10px;
  }

  .landing-page .hero-signals dt {
    font-size: 15px;
  }

  .landing-page .hero-signals dd {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.22;
  }

  .landing-page .section {
    padding-block: 38px;
  }

  .landing-page .links-section {
    padding-top: 42px;
  }

  .landing-page .section-heading h2,
  .landing-page .contact-panel h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .landing-page .section-heading > p:not(.eyebrow),
  .landing-page .contact-panel > p {
    font-size: 14px;
    line-height: 1.5;
  }

  .landing-page .profile-panel {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px 14px;
    padding: 16px;
  }

  .landing-page .profile-panel::before {
    height: 84px;
    background-image:
      linear-gradient(90deg, rgba(47, 95, 215, 0.58), rgba(255, 255, 255, 0.16)),
      url("/assets/hoyo-festival-wide.webp");
    background-position: center;
  }

  .landing-page .profile-avatar {
    grid-row: 1 / span 4;
    width: 76px;
    height: 76px;
    margin: 22px 0 0;
  }

  .landing-page .profile-panel h2 {
    margin: 0;
    font-size: 26px;
  }

  .landing-page .profile-email {
    margin-bottom: 0;
    font-size: 13px;
  }

  .landing-page .profile-stats,
  .landing-page .profile-panel > p {
    grid-column: 1 / -1;
  }

  .landing-page .profile-stats {
    gap: 6px;
    margin: 6px 0 0;
  }

  .landing-page .profile-stats span {
    min-height: 28px;
    padding: 0 9px;
    font-size: 11px;
  }

  .landing-page .profile-panel > p {
    display: -webkit-box;
    margin: 2px 0 0;
    overflow: hidden;
    color: #596174;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .landing-page .work-grid {
    gap: 10px;
    margin-top: 20px;
  }

  .landing-page .work-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 0;
    gap: 7px 12px;
    padding: 14px;
  }

  .landing-page .work-card .icon-shell {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
  }

  .landing-page .work-card h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
  }

  .landing-page .work-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 12.5px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .landing-page .studio-layout,
  .landing-page .showcase-grid {
    gap: 20px;
  }

  .landing-page .timeline {
    gap: 8px;
  }

  .landing-page .timeline-row {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 0;
    gap: 5px 10px;
    padding: 14px;
  }

  .landing-page .timeline-row strong {
    font-size: 15px;
    line-height: 1.25;
  }

  .landing-page .timeline-row p {
    display: -webkit-box;
    grid-column: 2;
    margin: 0;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .landing-page .proof-list {
    gap: 8px;
  }

  .landing-page .proof-list p {
    min-height: 0;
    padding: 13px 14px;
    font-size: 13px;
    line-height: 1.45;
  }

  .landing-page .contact-section {
    min-height: 0;
  }

  .landing-page .contact-panel {
    padding: 22px;
  }

  .landing-page .footer-shell {
    width: min(100% - 24px, 560px);
    padding: 26px 0 18px;
  }

  .landing-page .footer-shell::before {
    display: none;
  }

  .landing-page .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .landing-page .footer-brand {
    grid-column: 1 / -1;
    gap: 10px;
  }

  .landing-page .footer-brand p {
    display: none;
  }

  .landing-page .footer-badges {
    gap: 6px;
  }

  .landing-page .footer-badges span:nth-child(n + 3) {
    display: none;
  }

  .landing-page .footer-group {
    gap: 4px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(25, 31, 56, 0.06);
  }

  .landing-page .footer-group a {
    width: 100%;
    min-height: 44px;
    padding: 0;
    font-size: 12.5px;
  }

  .landing-page .footer-bottom {
    display: grid;
    gap: 6px;
    margin-top: 18px;
    padding-top: 14px;
  }
}

@media (max-width: 380px) {
  .landing-page .hero-signals dd {
    display: none;
  }

  .landing-page .hero-signals div {
    min-height: 52px;
  }

  .landing-page .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) {
  .landing-page .hero-art {
    bottom: -32px;
  }
}

/* Continuous hero background crossfade: no idle gaps, opacity-only for mobile-safe performance. */
.landing-page .hero.backdrops-ready .game-backdrop {
  animation-duration: 21s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: 0s;
}

.landing-page .hero.backdrops-ready .backdrop-genshin {
  animation-name: geargumi-hero-fade-genshin;
}

.landing-page .hero.backdrops-ready .backdrop-hsr {
  animation-name: geargumi-hero-fade-hsr;
}

.landing-page .hero.backdrops-ready .backdrop-zzz {
  animation-name: geargumi-hero-fade-zzz;
}

@keyframes geargumi-hero-fade-genshin {
  0%,
  25% {
    opacity: 1;
  }

  34%,
  91% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes geargumi-hero-fade-hsr {
  0%,
  25% {
    opacity: 0;
  }

  34%,
  58% {
    opacity: 1;
  }

  67%,
  100% {
    opacity: 0;
  }
}

@keyframes geargumi-hero-fade-zzz {
  0%,
  58% {
    opacity: 0;
  }

  67%,
  91% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page .hero.backdrops-ready .game-backdrop {
    animation: none;
  }

  .landing-page .hero.backdrops-ready .backdrop-genshin {
    opacity: 1;
  }

  .landing-page .hero.backdrops-ready .backdrop-hsr,
  .landing-page .hero.backdrops-ready .backdrop-zzz {
    opacity: 0;
  }
}

/* Mobile hero spectacle: purpose-built layout instead of a compressed desktop hero. */
@media (max-width: 640px) {
  .landing-page {
    background: #eef2f9;
  }

  .landing-page .site-header,
  .landing-page .site-header.is-scrolled {
    top: max(14px, env(safe-area-inset-top));
    left: 14px;
    right: 14px;
    width: auto;
    min-height: 58px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    box-shadow:
      0 18px 46px rgba(25, 31, 56, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    transform: none;
  }

  .landing-page .brand-mark {
    min-height: 44px;
  }

  .landing-page .brand-symbol {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .landing-page .brand-name {
    font-size: 18px;
  }

  .landing-page .hero {
    min-height: clamp(760px, 100svh, 840px);
    display: block;
    padding: calc(86px + env(safe-area-inset-top)) 14px 24px;
    background:
      radial-gradient(circle at 74% 21%, rgba(255, 255, 255, 0.94), transparent 19%),
      radial-gradient(circle at 18% 6%, rgba(47, 95, 215, 0.28), transparent 31%),
      linear-gradient(180deg, #f8faff 0%, #eef2fa 84%);
  }

  .landing-page .hero::before {
    inset: 0;
    z-index: -3;
    background:
      linear-gradient(180deg, rgba(247, 249, 255, 0.5) 0%, rgba(247, 249, 255, 0.76) 44%, rgba(239, 243, 250, 0.98) 100%),
      radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.95), transparent 26%),
      radial-gradient(circle at 18% 18%, rgba(47, 95, 215, 0.2), transparent 32%);
    transform: none;
  }

  .landing-page .hero::after {
    z-index: 1;
    height: 46%;
    background:
      linear-gradient(180deg, rgba(242, 245, 251, 0), rgba(242, 245, 251, 0.98) 72%, #f2f5fb 100%),
      linear-gradient(90deg, rgba(26, 29, 46, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
      linear-gradient(0deg, rgba(26, 29, 46, 0.04) 1px, transparent 1px) 0 0 / 32px 32px;
  }

  .landing-page .game-backdrops {
    inset: 0;
    z-index: -4;
    border-radius: 0 0 24px 24px;
  }

  .landing-page .game-backdrop {
    background-position: center top;
    opacity: 0.5;
    transform: scale(1.08);
    filter: saturate(0.96) contrast(0.96);
  }

  .landing-page .hero-backdrop {
    z-index: -1;
    opacity: 1;
    background:
      radial-gradient(ellipse at 50% 26%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.18) 42%, transparent 64%),
      conic-gradient(from 214deg at 53% 34%, transparent 0 16%, rgba(47, 95, 215, 0.16) 20%, transparent 27%, rgba(201, 63, 118, 0.16) 35%, transparent 48%, rgba(255, 255, 255, 0.4) 54%, transparent 62% 100%),
      linear-gradient(115deg, transparent 0 38%, rgba(47, 95, 215, 0.08) 39% 41%, transparent 42% 100%);
    background-size: auto, 120% 120%, 190px 190px;
    mask-image: linear-gradient(180deg, #000 0%, #000 76%, transparent 100%);
    transform: rotate(-8deg) scale(1.1);
    transform-origin: 50% 28%;
    animation: none;
  }

  .landing-page .hero-art {
    position: absolute;
    z-index: 1;
    top: calc(82px + env(safe-area-inset-top));
    left: 50%;
    right: auto;
    bottom: auto;
    width: min(88vw, 368px);
    margin: 0;
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
    transform-origin: 54% 60%;
    transition: none;
  }

  .landing-page .hero-art::before {
    position: absolute;
    inset: 9% -20% 11%;
    z-index: -1;
    content: "";
    background:
      radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.86), transparent 30%),
      conic-gradient(from 140deg, rgba(47, 95, 215, 0), rgba(47, 95, 215, 0.3), rgba(201, 63, 118, 0.22), rgba(255, 255, 255, 0.4), rgba(47, 95, 215, 0));
    border-radius: 999px;
    opacity: 0.58;
    filter: blur(1px);
    transform: rotate(-12deg) scaleX(1.08);
  }

  .landing-page .hero-art img {
    width: 100%;
    max-height: 368px;
    object-fit: contain;
    filter:
      drop-shadow(0 22px 30px rgba(25, 31, 56, 0.18))
      drop-shadow(0 0 26px rgba(255, 255, 255, 0.76));
    transform: none;
  }

  .landing-page .hero-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    min-height: calc(clamp(760px, 100svh, 840px) - 110px);
    display: grid;
    align-items: end;
    margin: 0 auto;
  }

  .landing-page .hero-copy-block {
    max-width: none;
    padding-top: 336px;
  }

  .landing-page .hero-kicker {
    min-height: 36px;
    width: fit-content;
    margin-bottom: 12px;
    padding: 0 12px;
    border-color: rgba(0, 122, 95, 0.2);
    box-shadow: 0 12px 28px rgba(47, 95, 215, 0.12);
  }

  .landing-page .hero h1 {
    max-width: 100%;
    margin-bottom: 10px;
    font-size: clamp(50px, 14vw, 64px);
    line-height: 0.92;
  }

  .landing-page .hero-copy {
    max-width: 35rem;
    margin-bottom: 16px;
    color: #4d566e;
    font-size: 15px;
    line-height: 1.45;
  }

  .landing-page .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .landing-page .hero-actions .button {
    min-height: 50px;
    justify-content: center;
    border-radius: 18px;
  }

  .landing-page .platform-dock {
    margin-right: 0;
    margin-left: 0;
    padding: 2px 0 8px;
  }

  .landing-page .hero-signals {
    margin-top: 14px;
  }
}

@media (max-width: 380px) {
  .landing-page .hero {
    min-height: 720px;
  }

  .landing-page .hero-inner {
    min-height: 610px;
  }

  .landing-page .hero-art {
    top: calc(84px + env(safe-area-inset-top));
    width: min(86vw, 326px);
  }

  .landing-page .hero-art img {
    max-height: 326px;
  }

  .landing-page .hero-copy-block {
    padding-top: 302px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page .hero-backdrop {
    animation: none;
  }
}

/* Final mobile pass: static hero, larger mascot, compact tap cards. */
@media (max-width: 640px) {
  .landing-page .hero-signals {
    gap: 8px;
    margin-top: 12px;
  }

  .landing-page .hero-signals div {
    min-height: 66px;
    padding: 10px;
    border-radius: 13px;
  }

  .landing-page .hero-signals dt {
    font-size: 15px;
    line-height: 1;
  }

  .landing-page .hero-signals dd {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 10.5px;
    line-height: 1.18;
  }

  .landing-page .link-hub {
    gap: 24px;
  }

  .landing-page .link-group {
    gap: 10px;
  }

  .landing-page .link-group-heading {
    margin-bottom: 2px;
  }

  .landing-page .link-group-heading .eyebrow {
    font-size: 11px;
    line-height: 1.1;
  }

  .landing-page .link-group-heading h3 {
    font-size: clamp(24px, 7vw, 28px);
    line-height: 1.06;
  }

  .landing-page .link-card {
    grid-template-columns: 44px minmax(0, 1fr) 42px;
    min-height: 74px;
    gap: 10px;
    padding: 11px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(25, 31, 56, 0.08);
  }

  .landing-page .link-hub > .link-group:nth-child(2) .link-card {
    min-height: 74px;
  }

  .landing-page .link-thumb {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .landing-page .link-thumb svg {
    width: 21px;
    height: 21px;
  }

  .landing-page .link-copy {
    gap: 3px;
  }

  .landing-page .link-copy strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14.5px;
    line-height: 1.16;
  }

  .landing-page .link-copy span {
    display: block;
    overflow: hidden;
    font-size: 11.5px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .landing-page .link-action {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .landing-page .link-action svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 380px) {
  .landing-page .hero {
    min-height: 740px;
  }

  .landing-page .hero-inner {
    min-height: 630px;
  }

  .landing-page .hero-signals div {
    min-height: 48px;
    padding: 9px;
  }

  .landing-page .hero-signals dd {
    display: none;
  }

  .landing-page .link-card {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    min-height: 70px;
    gap: 9px;
    padding: 10px;
  }

  .landing-page .link-hub > .link-group:nth-child(2) .link-card {
    min-height: 70px;
  }

  .landing-page .link-thumb,
  .landing-page .link-action {
    width: 40px;
    height: 40px;
  }

  .landing-page .link-copy strong {
    font-size: 14px;
  }

  .landing-page .link-copy span {
    font-size: 11px;
  }
}

/* Mobile vertical-plane pass: one shell width for hero, links, sections, and footer. */
@media (max-width: 640px) {
  .landing-page {
    --mobile-shell-gutter: 24px;
    --mobile-shell-width: min(calc(100vw - (var(--mobile-shell-gutter) * 2)), 520px);
  }

  .landing-page .site-header,
  .landing-page .site-header.is-scrolled {
    left: 50%;
    right: auto;
    width: var(--mobile-shell-width);
    transform: translateX(-50%);
  }

  .landing-page .hero-inner,
  .landing-page .section-inner,
  .landing-page .footer-shell {
    width: var(--mobile-shell-width);
  }

  .landing-page .hero-copy-block {
    position: relative;
    z-index: 3;
    isolation: isolate;
    padding: 348px 18px 16px;
  }

  .landing-page .hero-copy-block::before {
    position: absolute;
    z-index: -1;
    top: 322px;
    right: 0;
    bottom: -16px;
    left: 0;
    display: block;
    content: "";
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(205, 211, 224, 0.76);
    border-radius: 22px;
    box-shadow:
      0 18px 42px rgba(25, 31, 56, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px);
  }

  .landing-page .hero-art {
    top: calc(76px + env(safe-area-inset-top));
    width: min(92vw, 382px);
  }

  .landing-page .hero-art img {
    max-height: 390px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .landing-page .hero-kicker {
    min-height: 34px;
    margin-bottom: 14px;
    padding: 0 12px;
    font-size: 12px;
  }

  .landing-page .hero h1 {
    margin-bottom: 12px;
    font-size: clamp(44px, 12.3vw, 52px);
    line-height: 0.95;
  }

  .landing-page .hero-copy {
    margin-bottom: 18px;
    font-size: 14.5px;
    line-height: 1.55;
  }

  .landing-page .hero-actions {
    gap: 10px;
  }

  .landing-page .hero-actions .button {
    min-height: 52px;
    border-radius: 16px;
  }
}

@media (max-width: 380px) {
  .landing-page .hero-copy-block {
    padding: 328px 14px 14px;
  }

  .landing-page .hero-copy-block::before {
    top: 304px;
    bottom: -14px;
    border-radius: 20px;
  }

  .landing-page .hero h1 {
    font-size: clamp(42px, 12vw, 48px);
  }

  .landing-page .hero-copy {
    font-size: 14px;
    line-height: 1.52;
  }

  .landing-page .hero-kicker {
    font-size: 11.5px;
  }
}

/* Final a11y guard: footer links stay finger-friendly on desktop and mobile. */
.landing-page .footer-group a {
  min-height: 44px;
}

/* Dynamic Link Hub cards controlled from Hoyo Ops */
.links-page .tone-blue {
  --campaign-rgb: 47, 95, 215;
  --tone-ink: #2f5fd7;
  --tone-soft: #eef4ff;
}

.links-page .tone-gold {
  --campaign-rgb: 180, 126, 12;
  --tone-ink: #9a6400;
  --tone-soft: #fff6da;
}

.links-page .tone-violet {
  --campaign-rgb: 124, 70, 183;
  --tone-ink: #6846b7;
  --tone-soft: #f0ecff;
}

.links-page .tone-green {
  --campaign-rgb: 0, 122, 95;
  --tone-ink: #007a5f;
  --tone-soft: #e6f7f1;
}

.links-page .tone-red {
  --campaign-rgb: 180, 35, 24;
  --tone-ink: #b42318;
  --tone-soft: #ffebe7;
}

.links-page .tone-pink {
  --campaign-rgb: 201, 63, 118;
  --tone-ink: #c93f76;
  --tone-soft: #fff0f6;
}

.links-page .tone-dark {
  --campaign-rgb: 26, 29, 46;
  --tone-ink: #1a1d2e;
  --tone-soft: #f5f7fb;
}

.links-page .link-thumb.logo-thumb {
  color: var(--tone-ink, var(--blue));
  background: var(--tone-soft, var(--blue-soft));
}

.links-page .link-thumb.logo-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.links-page .link-thumb:not(.logo-thumb).tone-blue,
.links-page .link-thumb:not(.logo-thumb).tone-gold,
.links-page .link-thumb:not(.logo-thumb).tone-violet,
.links-page .link-thumb:not(.logo-thumb).tone-green,
.links-page .link-thumb:not(.logo-thumb).tone-red,
.links-page .link-thumb:not(.logo-thumb).tone-pink,
.links-page .link-thumb:not(.logo-thumb).tone-dark {
  color: var(--tone-ink, var(--blue));
  background: var(--tone-soft, var(--blue-soft));
}

.links-page .campaign-tile.tone-blue,
.links-page .campaign-tile.tone-gold,
.links-page .campaign-tile.tone-violet,
.links-page .campaign-tile.tone-green,
.links-page .campaign-tile.tone-red,
.links-page .campaign-tile.tone-pink,
.links-page .campaign-tile.tone-dark {
  min-height: 156px;
  color: var(--ink);
  border-color: rgba(var(--campaign-rgb), 0.2);
  background:
    radial-gradient(circle at 92% 8%, rgba(var(--campaign-rgb), 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.94));
}

.links-page .campaign-tile.tone-blue::before,
.links-page .campaign-tile.tone-gold::before,
.links-page .campaign-tile.tone-violet::before,
.links-page .campaign-tile.tone-green::before,
.links-page .campaign-tile.tone-red::before,
.links-page .campaign-tile.tone-pink::before,
.links-page .campaign-tile.tone-dark::before {
  display: block;
  width: 4px;
  background: linear-gradient(180deg, rgba(var(--campaign-rgb), 0.92), rgba(var(--campaign-rgb), 0.42));
}

.links-page .campaign-card-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.1;
}

.links-page .campaign-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02);
}

.links-page .campaign-featured .campaign-card-art {
  inset: 0 0 0 auto;
  width: min(48%, 360px);
  opacity: 0.18;
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
}

.links-page .campaign-featured .campaign-cta {
  justify-self: start;
  margin-top: 2px;
}

.links-page .campaign-tile .campaign-logo {
  background-color: var(--tone-soft, var(--blue-soft));
}

.links-page .link-card.tone-blue,
.links-page .link-card.tone-gold,
.links-page .link-card.tone-violet,
.links-page .link-card.tone-green,
.links-page .link-card.tone-red,
.links-page .link-card.tone-pink,
.links-page .link-card.tone-dark {
  border-left: 4px solid rgba(var(--campaign-rgb), 0.72);
}

.links-page .link-card.tone-blue:hover,
.links-page .link-card.tone-gold:hover,
.links-page .link-card.tone-violet:hover,
.links-page .link-card.tone-green:hover,
.links-page .link-card.tone-red:hover,
.links-page .link-card.tone-pink:hover,
.links-page .link-card.tone-dark:hover {
  border-color: rgba(var(--campaign-rgb), 0.42);
  border-left-color: rgba(var(--campaign-rgb), 0.9);
}

.links-page .bio-footer {
  overflow: hidden;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(47, 95, 215, 0.07), rgba(255, 255, 255, 0) 42%),
    var(--surface);
}

.links-page .bio-footer::before {
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--blue), #7c3aed 55%, #ec4899);
}

.links-page .bio-footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.links-page .bio-footer-meta span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: var(--muted);
  background: rgba(245, 247, 251, 0.88);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.links-page .bio-footer-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.links-page .bio-footer-links a {
  min-height: 62px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 2px;
  padding: 11px 12px;
  text-align: left;
  text-decoration: none;
}

.links-page .bio-footer-links a strong {
  color: inherit;
  font-size: 13px;
  line-height: 1.2;
}

.links-page .bio-footer-links a span {
  max-width: 100%;
  color: var(--muted);
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.links-page .bio-footer-links a:hover span {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 760px) {
  .links-page .campaign-tile.tone-blue,
  .links-page .campaign-tile.tone-gold,
  .links-page .campaign-tile.tone-violet,
  .links-page .campaign-tile.tone-green,
  .links-page .campaign-tile.tone-red,
  .links-page .campaign-tile.tone-pink,
  .links-page .campaign-tile.tone-dark {
    min-height: 132px;
  }

  .links-page .campaign-featured .campaign-card-art {
    width: 60%;
    opacity: 0.12;
  }

  .links-page .bio-footer-links {
    grid-template-columns: 1fr;
  }

  .links-page .bio-footer-links a {
    min-height: 56px;
  }
}

