/* SocialAnime Translations — shared footer + public header refinements */
:root { --sat-grad: linear-gradient(90deg, #1668b0, #3591cc 38%, #8fb7c9 58%, #f0b25e 78%, #e8843a); }
/* ---- footer ------------------------------------------------------------------ */
.sat-foot { position: relative; margin-top: 56px; background: var(--s1); box-shadow: 0 -1px 0 var(--line); }
.sat-foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--sat-grad); }
.sat-foot-in { max-width: var(--foot-w, var(--wrap)); margin: 0 auto; padding: 46px var(--foot-pad, var(--gut)) 0; }
body.hb .sat-foot-in, body.pn .sat-foot-in { padding-left: var(--app-pad); padding-right: var(--app-pad); }
.sat-foot-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, .8fr)) minmax(0, 1.35fr); gap: 36px; padding-bottom: 36px; }
.sat-foot-logo { display: inline-flex; align-items: center; gap: 12px; }
.sat-foot-logo img { border-radius: 11px; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35); }
.sat-foot-logo b { display: block; font-size: 17px; color: var(--head); }
.sat-foot-logo small { display: block; font-size: 12.5px; color: var(--ink-3); letter-spacing: .6px; }
.sat-foot-brand p { margin: 16px 0 0; max-width: 36ch; font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }
.sat-foot-soc { display: flex; gap: 8px; margin-top: 18px; }
.sat-foot-soc a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); color: var(--ink-2); font-size: 14px; transition: background .2s, color .2s, transform .2s; }
.sat-foot-soc a:hover { background: var(--acc); color: #fff; }
.sat-foot-col { display: flex; flex-direction: column; gap: 11px; }
.sat-foot-col h4 { margin: 4px 0 4px; font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-2); }
.sat-foot-col a { position: relative; align-self: flex-start; font-size: 14px; color: var(--ink-3); transition: color .2s, transform .2s; }
.sat-foot-col a:hover { color: var(--acc); transform: translateX(3px); }
.sat-foot-cta { align-self: start; padding: 18px; border-radius: 14px; background: linear-gradient(140deg, #e8f3fb, #fdf3e6); box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .sat-foot-cta { background: linear-gradient(140deg, #1d3344, #3a2c1d); }
.sat-foot-cta b { display: block; font-size: 15px; color: var(--head); }
.sat-foot-cta p { margin: 6px 0 14px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.sat-foot-bar { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 18px 0 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.sat-foot-love i { color: #e25563; margin: 0 2px; }
.sat-foot-bar .sx-theme { margin-left: auto; }


@media (max-width: 1280px) {
  .sat-foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
  .sat-foot-cta { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
  .sat-foot-cta p { margin: 0; flex: 1; }
}
@media (max-width: 992px) { .sat-foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; } .sat-foot-brand, .sat-foot-cta { grid-column: 1 / -1; } }
@media (max-width: 560px) { .sat-foot-bar { gap: 10px 16px; } .sat-foot-bar .sx-theme { margin-left: 0; } }

/* public header: same height and brand proportions as the app bars */
.sx-hdr .sx-brand-m { width: 36px; height: 36px; border-radius: 9px; }
.sx-hdr .sx-brand { gap: 11px; }
.sx-nav a { font-weight: 500; position: relative; }
.sx-nav a::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--acc); transform: scaleX(0); transition: transform .25s var(--ease-out); }
.sx-nav a:hover::after, .sx-nav a.is-on::after { transform: scaleX(1); }

/* ==========================================================================
   Footer in the style of the hero: the SAT sky, a wave on top, glass cards
   ========================================================================== */
.sat-foot { margin-top: 90px; color: #fff; box-shadow: none;
  background:
    radial-gradient(40% 60% at 95% 100%, rgba(255, 186, 100, .55), transparent 70%),
    radial-gradient(50% 70% at 0% 0%, rgba(5, 25, 60, .6), transparent 70%),
    linear-gradient(170deg, #0a2e5c 0%, #0f4c8a 35%, #1f78c1 62%, #6e9ab8 82%, #c98a4b 100%); }
.sat-foot::before { top: -58px; height: 60px; background: var(--bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v20C1200 60 960 2 720 26 480 50 240 60 0 22z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v20C1200 60 960 2 720 26 480 50 240 60 0 22z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: translateY(58px); }
.sat-foot::after { content: 'あ  A  文  ñ  Ж  한  é'; position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); font-size: 120px; font-weight: 700; letter-spacing: 40px; white-space: nowrap; color: #fff; opacity: .05; pointer-events: none; }
.sat-foot-in { position: relative; z-index: 1; padding-top: 70px; }
.sat-foot-logo b { color: #fff; }
.sat-foot-logo small, .sat-foot-brand p { color: rgba(255, 255, 255, .78); }
.sat-foot-logo img { box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .5); }
.sat-foot-soc a { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.sat-foot-soc a:hover { background: #fff; color: #1668b0; }
.sat-foot-col h4 { color: #fff; }
.sat-foot-col a { color: rgba(255, 255, 255, .78); }
.sat-foot-col a:hover { color: #fff; }
.sat-foot-cta { background: rgba(255, 255, 255, .12) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sat-foot-cta b { color: #fff; }
.sat-foot-cta p { color: rgba(255, 255, 255, .85); }
.sat-foot-cta .sx-btn { background: #fff; color: #1668b0; }
.sat-foot-cta .sx-btn:hover { background: #eef6fc; }
.sat-foot-bar { border-top-color: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .75); }
.sat-foot-love i { color: #ffb3b3; }
.sat-foot .sx-theme { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.sat-foot .sx-theme button { color: rgba(255, 255, 255, .8); }
.sat-foot .sx-theme button[aria-pressed="true"] { background: #fff; color: #1668b0; }
:root[data-theme="dark"] .sat-foot { background: radial-gradient(40% 60% at 95% 100%, rgba(255, 186, 100, .3), transparent 70%), linear-gradient(170deg, #071d3a, #0c3563 60%, #3d4a5a); }
.sat-foot { overflow: hidden; overflow: clip; }
