html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #061c2a;
  /* 你页脚用的深色 */
}

/* ===============================
   Navy Mega Footer (Bandai-like)
   只给 CSS：结构假定如下 class
   .site-footer
     .footer-inner
       .footer-top   (社媒/徽章区)
       .footer-mid   (多列链接区)
       .footer-bottom(logo+copyright)
   =============================== */

:root {
  --ft-bg: #061f33;
  /* 主背景深蓝 */
  --ft-bg2: #041a2b;
  /* 更深一点用于层次 */
  --ft-text: rgba(255, 255, 255, .92);
  --ft-muted: rgba(255, 255, 255, .72);
  --ft-line: rgba(255, 255, 255, .14);
  --ft-chip-bg: rgba(255, 255, 255, .10);
  --ft-chip-border: rgba(255, 255, 255, .18);
  --ft-chip-hover: rgba(255, 255, 255, .16);
  --ft-focus: rgba(255, 255, 255, .26);
  --ft-radius: 999px;
  --ft-max: 1240px;
}

/* footer base + diagonal accents */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--ft-bg) 0%, var(--ft-bg2) 100%);
  color: var(--ft-text);
  overflow: hidden;
}

/* 右侧斜纹装饰：大屏也能铺满，不会“显示不全” */
.site-footer::after {
  content: "";
  position: absolute;

  /* 关键：固定贴右侧，并确保上下超出一点，避免露底 */
  top: -160px;
  bottom: -160px;
  right: -180px;

  /* 关键：宽度用 clamp，随屏幕变宽，但有上下限 */
  width: clamp(520px, 38vw, 980px);

  transform: skewX(-18deg);
  transform-origin: right center;

  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 70%),
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, .08) 0 22px,
      rgba(255, 255, 255, 0) 22px 72px);

  opacity: .55;
  pointer-events: none;
  mix-blend-mode: screen;
}


.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--ft-max);
  margin: 0 auto;
  padding: 56px 24px 28px;
}

/* ===== TOP: 社媒/徽章区 ===== */
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ft-line);
}

.footer-top-block {
  min-width: 0;
}

.footer-top-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: none;
}

.footer-top-sub {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--ft-muted);
  line-height: 1.7;
}

/* pills container */
.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* generic chip */
.footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--ft-radius);
  background: var(--ft-chip-bg);
  border: 1px solid var(--ft-chip-border);
  color: var(--ft-text);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}

.footer-chip:hover {
  background: var(--ft-chip-hover);
  border-color: var(--ft-focus);
  transform: translateY(-1px);
}

/* icon circle (optional) */
.footer-chip .chip-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 12px;
  line-height: 1;
}

/* brand colored chips (可按需加 class) */
.footer-chip.is-x {
  background: rgba(255, 255, 255, .92);
  color: #111;
  border-color: transparent;
}

.footer-chip.is-x .chip-ico {
  background: rgba(0, 0, 0, .08);
  border-color: rgba(0, 0, 0, .12);
}

.footer-chip.is-fb {
  background: #1877f2;
  border-color: transparent;
}

.footer-chip.is-yt {
  background: #ff0000;
  border-color: transparent;
}

.footer-chip.is-ig {
  background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4);
  border-color: transparent;
}

/* 右侧大按钮（类似 “LINKL PLANET 公式X” 那种） */
.footer-cta {
  margin-top: 18px;
  display: flex;
}

.footer-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4a757, #f5b46e);
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  transition: transform .15s ease;
}

.footer-cta a:hover {
  transform: translateY(-1px);
}

/* ===== MID: 多列链接区 ===== */
.footer-mid {
  display: grid;
  grid-template-columns: repeat(6, minmax(160px, 1fr));
  gap: 0;
  padding: 30px 0 10px;
}

/* each column */
.footer-col {
  padding: 0 18px;
  min-width: 0;
  position: relative;
}

/* vertical dividers */
.footer-col:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: var(--ft-line);
}

.footer-col-h {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .03em;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ft-text);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .01em;
}

.footer-links a span {
  color: var(--ft-muted);
  font-weight: 700;
}

/* right chevron */
.footer-links a::after {
  content: "›";
  color: rgba(255, 255, 255, .80);
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
  opacity: .9;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* center single link row e.g. クッキー設定 */
.footer-center-link {
  display: flex;
  justify-content: center;
  padding: 22px 0 0;
}

.footer-center-link a {
  color: var(--ft-text);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .03em;
}

.footer-center-link a::after {
  content: "›";
  margin-left: 10px;
  font-size: 18px;
  opacity: .9;
}

.footer-center-link a:hover {
  text-decoration: underline;
}

/* ===== BOTTOM ===== */
.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--ft-line);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px 24px;
  align-items: center;
}

.footer-legal {
  color: var(--ft-muted);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .01em;
}

/* logo placeholders (你可把 img 放在这些容器里) */
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 48px;
}

.footer-logo img {
  max-height: 48px;
  width: auto;
  display: block;
}

/* ===== Responsive ===== */
@media (max-width:1200px) {
  .footer-mid {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 18px 0;
  }

  .footer-col {
    padding: 0 16px;
  }

  .footer-col:not(:first-child)::before {
    display: none;
  }
}

@media (max-width:980px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-top--gumode {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-cta {
    margin-top: 10px;
  }
}

@media (max-width:640px) {
  .footer-inner {
    padding: 36px 16px 20px;
  }

  .footer-top {
    gap: 16px;
    padding-bottom: 18px;
  }

  .footer-mid {
    grid-template-columns: 1fr;
    padding: 20px 0 4px;
  }

  .footer-col {
    padding: 0;
  }

  .footer-col--empty {
    display: none;
  }

  .footer-top-title {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .footer-top-sub {
    display: none;
  }

  .footer-chips {
    gap: 6px;
  }

  .footer-chip {
    min-height: 38px;
    height: auto;
    padding: 8px 10px;
    font-size: 11px;
  }

  .footer-chip .chip-ico {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .footer-chips--stores .footer-chip:nth-child(3),
  .footer-chips--stores .footer-chip:nth-child(6) {
    display: none;
  }

  .footer-brand-mini {
    display: none;
  }

  .footer-links {
    gap: 6px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    margin-top: 20px;
    gap: 10px;
  }

  .footer-logo {
    justify-content: flex-start;
  }
}

/* small sub label inside pill */
.footer-chip-sub {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 800;
  opacity: .85;
}

/* allow empty cols to keep spacing */
.footer-col--empty {
  min-height: 1px;
}

.footer-col--brand .footer-brand-mini {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .72);
}

/* sub label inside store pills */
.footer-chip-sub {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 800;
  opacity: .85;
}

/* top 3 blocks layout: Store | Social | CTA */
.footer-top--gumode {
  grid-template-columns: 1.5fr 1.2fr minmax(260px, .9fr);
  gap: 28px;
  align-items: start;
}


/* allow empty cols */
.footer-col--empty {
  min-height: 1px;
}

.footer-col--brand .footer-brand-mini {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .72);
}

/* bottom social */
.footer-social-inline {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-social-inline a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
}

.footer-social-inline a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== Brand-colored store buttons ===== */
.footer-chips--stores .footer-chip {
  border-color: transparent;
  color: #fff;
}

.footer-chips--stores .footer-chip .chip-ico {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .22);
}

/* Rakuten (crimson-ish) */
.footer-chip.is-rakuten {
  background: linear-gradient(135deg, #bf0000, #9a0000);
}

/* Amazon — keep clean pill style (no smile) */
.footer-chip.is-amazon {
  background: #ffffff;
  color: #111111;
  border-color: rgba(0, 0, 0, .10);
  /* 轻微描边，让白底在深蓝上更干净 */
}

.footer-chip.is-amazon:hover {
  background: #f6f7f8;
  /* hover 轻微变灰 */
  border-color: rgba(0, 0, 0, .14);
}

/* icon circle matches current style */
.footer-chip.is-amazon .chip-ico {
  background: rgba(0, 0, 0, .06);
  border-color: rgba(0, 0, 0, .10);
  color: #111111;
  font-weight: 900;
}

/* Own store */
.footer-chip.is-gumode-store {
  background: linear-gradient(135deg, #f4a757, #f5b46e);
}

/* ===== Social buttons colors (keep) ===== */
.footer-chip.is-x {
  background: rgba(255, 255, 255, .92);
  color: #111;
  border-color: transparent;
}

.footer-chip.is-x .chip-ico {
  background: rgba(0, 0, 0, .08);
  border-color: rgba(0, 0, 0, .12);
}

.footer-chip.is-tk {
  background: #000000;
  border-color: #ff2653;
  color: #fff;
}


.footer-chip.is-fb {
  background: #1877f2;
  border-color: transparent;
  color: #fff;
}

.footer-chip.is-yt {
  background: #ff0000;
  border-color: transparent;
  color: #fff;
}

.footer-chip.is-ig {
  background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4);
  border-color: transparent;
  color: #fff;
}

/* Responsive: stack top blocks */
@media (max-width: 980px) {
  .footer-top--gumode {
    grid-template-columns: 1fr;
  }

  .footer-top-block--cta .footer-cta--right {
    justify-content: flex-start;
  }
}

/* Yahoo! Shopping (official red) */
.footer-chip.is-yahoo {
  background: linear-gradient(135deg, #ff0033, #cc0029);
  border-color: transparent;
  color: #fff;
}

.footer-chip.is-yahoo .chip-ico {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .22);
}
