/* Pink Lady — shared site styles (footer + information/document pages) */

/* ---------- Footer ---------- */
.site-footer{
  padding:28px 20px calc(16px + env(safe-area-inset-bottom));
  text-align:center;
  border-top:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(255,45,120,.03),rgba(8,5,12,0));
}
.footer-links{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:2px 4px;max-width:820px;margin:0 auto;
}
.footer-sep{color:rgba(255,255,255,.18);font-size:12px;user-select:none}
.footer-link{
  border:0;background:none;cursor:pointer;
  padding:6px 9px;border-radius:8px;
  font-size:12.5px;font-weight:600;letter-spacing:.02em;
  color:rgba(255,255,255,.62);
  transition:color .18s ease,background .18s ease;
}
.footer-link:hover{color:#ff8cc0;background:rgba(255,45,120,.12)}
.footer-link:focus-visible{outline:2px solid #ff78b4;outline-offset:2px}
.footer-copy{margin:14px 0 0;font-size:11.5px;letter-spacing:.14em;color:rgba(255,255,255,.4)}

/* gate variant: pinned to the bottom of the fixed splash */
.gate-footer{position:absolute;left:0;right:0;bottom:calc(10px + env(safe-area-inset-bottom));z-index:3;border-top:0;background:none;padding:0 16px}

/* ---------- Document (info) pages ---------- */
.doc-page{
  margin:0;background:#08050c;color:#fff;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  padding-bottom:8px;
}
.doc-page::before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(70% 50% at 12% 0%, rgba(185,29,255,.16), transparent 60%),
    radial-gradient(70% 50% at 92% 4%, rgba(255,45,120,.14), transparent 62%);
}
.doc-header{
  position:sticky;top:0;z-index:20;
  background:rgba(8,5,12,.8);border-bottom:1px solid rgba(255,255,255,.1);
  backdrop-filter:blur(16px) saturate(1.4);-webkit-backdrop-filter:blur(16px) saturate(1.4);
}
.doc-header-inner{
  max-width:900px;margin:0 auto;padding:12px 20px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.doc-brand{display:inline-flex;align-items:center;gap:9px;font-size:17px;font-weight:800;letter-spacing:-.02em}
.doc-brand svg{width:30px;height:30px;filter:drop-shadow(0 0 12px rgba(255,45,120,.5))}
.doc-brand em{font-style:normal;color:#ff78b4}
.doc-back{
  padding:8px 16px;border-radius:100px;cursor:pointer;
  border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.05);
  color:#fff;font-size:13px;font-weight:700;
  transition:border-color .18s ease,color .18s ease;
}
.doc-back:hover{border-color:rgba(255,45,120,.5);color:#ff8cc0}

.doc-wrap{max-width:820px;margin:0 auto;padding:clamp(28px,5vw,54px) 20px 8px}
.doc-kicker{
  display:inline-flex;align-items:center;gap:7px;padding:4px 11px;border-radius:100px;
  background:rgba(255,45,120,.16);border:1px solid rgba(255,45,120,.36);
  font-size:10.5px;font-weight:800;letter-spacing:.14em;color:#ff8cc0;margin-bottom:14px;
}
.doc-title{font-size:clamp(26px,4.6vw,40px);font-weight:800;letter-spacing:-.02em;line-height:1.18;margin:0 0 8px}
.doc-updated{color:rgba(255,255,255,.5);font-size:13px;margin:0 0 26px}
.doc-lead{font-size:16.5px;line-height:1.7;color:rgba(255,255,255,.82);margin:0 0 22px}
.doc-wrap h2{font-size:clamp(18px,2.7vw,23px);font-weight:800;letter-spacing:-.01em;margin:36px 0 10px}
.doc-wrap h3{font-size:15.5px;font-weight:700;color:#ffc9de;margin:22px 0 8px}
.doc-wrap p{line-height:1.75;color:rgba(255,255,255,.78);margin:0 0 14px;font-size:15px}
.doc-wrap ul,.doc-wrap ol{line-height:1.75;color:rgba(255,255,255,.78);margin:0 0 16px;padding-left:22px;font-size:15px}
.doc-wrap li{margin:0 0 8px}
.doc-wrap strong{color:#fff;font-weight:700}
.doc-wrap .muted{color:rgba(255,255,255,.55);font-size:13.5px}
.doc-note{
  background:rgba(255,45,120,.08);border:1px solid rgba(255,45,120,.24);
  border-radius:12px;padding:14px 16px;font-size:14px;line-height:1.7;
  color:rgba(255,255,255,.82);margin:0 0 22px;
}
.doc-grid{display:grid;gap:14px;grid-template-columns:1fr;margin:0 0 22px}
@media (min-width:620px){.doc-grid{grid-template-columns:repeat(2,1fr)}}
.doc-card{
  border:1px solid rgba(255,255,255,.1);border-radius:14px;
  padding:16px 18px;background:rgba(255,255,255,.03);
}
.doc-card h3{margin-top:0}
.doc-card p{margin-bottom:0}
.doc-card ul{margin-bottom:0}

/* contact form */
.doc-form{display:flex;flex-direction:column;gap:14px;max-width:580px;margin:6px 0 20px}
.doc-field{display:flex;flex-direction:column;gap:6px}
.doc-field label{font-size:13px;font-weight:700;color:rgba(255,255,255,.82)}
.doc-field input,.doc-field select,.doc-field textarea{
  padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);color:#fff;font:inherit;font-size:14px;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.doc-field textarea{min-height:140px;resize:vertical}
.doc-field input::placeholder,.doc-field textarea::placeholder{color:rgba(255,255,255,.42)}
.doc-field input:focus,.doc-field select:focus,.doc-field textarea:focus{
  outline:none;border-color:rgba(255,45,120,.6);box-shadow:0 0 0 3px rgba(255,45,120,.18);
}
.doc-submit{
  align-self:flex-start;padding:12px 28px;border:0;border-radius:100px;cursor:pointer;
  font-size:15px;font-weight:800;color:#fff;
  background:linear-gradient(92deg,#ff2d78,#b91dff);
  box-shadow:0 10px 30px rgba(255,45,120,.42);transition:transform .14s ease;
}
.doc-submit:hover{transform:translateY(-2px)}
.doc-submit:active{transform:scale(.96)}
.doc-msg{margin:0;min-height:20px;font-size:14px;color:#ffc9de}
.doc-msg.err{color:#ff9aa2}

/* ---------- Language switcher ---------- */
.doc-header-right{display:flex;align-items:center;gap:10px}

.lang-switch{position:relative;display:inline-block;text-align:start}
.lang-toggle{
  display:inline-flex;align-items:center;gap:7px;padding:8px 13px;cursor:pointer;
  border-radius:100px;border:1px solid rgba(255,255,255,.14);
  background:rgba(28,8,22,.55);color:#ffd6e8;font-size:13px;font-weight:700;letter-spacing:.01em;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 6px 22px rgba(0,0,0,.35);
  transition:border-color .18s ease,background .18s ease;
}
.lang-toggle:hover{border-color:rgba(255,255,255,.26);background:rgba(40,12,30,.7)}
.lang-toggle svg{width:15px;height:15px;flex:none}
.lang-chev{width:10px;height:10px;transition:transform .18s ease}
.lang-switch.open .lang-chev{transform:rotate(180deg)}
.lang-cur{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lang-menu{
  display:none;position:absolute;top:calc(100% + 8px);right:0;z-index:80;
  width:230px;max-height:64vh;overflow-y:auto;margin:0;padding:6px;list-style:none;
  border-radius:16px;border:1px solid rgba(255,255,255,.12);
  background:rgba(20,6,16,.97);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  box-shadow:0 18px 50px rgba(0,0,0,.6);
}
.lang-switch.open .lang-menu{display:block}
.lang-item{
  display:block;width:100%;text-align:start;padding:9px 12px;border:0;border-radius:10px;
  background:transparent;color:rgba(255,255,255,.85);font:inherit;font-size:13px;cursor:pointer;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.lang-item:hover{background:rgba(255,45,120,.14)}
.lang-item.sel{color:#ff8cc0;font-weight:700;background:rgba(255,45,120,.12)}
.lang-status{margin:8px 0 0;font-size:11px;line-height:1.4;color:rgba(255,255,255,.5)}
.lang-status.err{color:#ff9aa2}
[dir="rtl"] .lang-menu{right:auto;left:0}
[dir="rtl"] .lang-item{text-align:right}

/* keep Google Translate's own UI out of the way */
#google_translate_element{position:absolute !important;left:-9999px !important;top:auto !important;
  width:1px !important;height:1px !important;overflow:hidden !important;opacity:0 !important;pointer-events:none !important}
body > .skiptranslate,
.goog-te-banner-frame.skiptranslate{display:none !important}
body{top:0 !important}
.goog-te-gadget{font-size:0 !important;color:transparent !important}
.goog-te-gadget .goog-te-combo{color:#000 !important}
.goog-logo-link{display:none !important}
