@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

/**
 * WOSC shared chrome — header, language, footer, typography & SEO-friendly defaults.
 * Load this stylesheet last in <head> (after page <style>) so body/#wosc-main text rules apply.
 */
:root {
  --wosc-font-sans: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wosc-font-display: "Outfit", var(--wosc-font-sans);
  --wosc-step--1: 0.9375rem;
  --wosc-step-0: 1.0625rem;
  --wosc-step-1: 1.2rem;
  --wosc-step-2: clamp(1.35rem, 2.8vw, 1.75rem);
  --wosc-step-3: clamp(1.55rem, 3.5vw, 2.1rem);
  --wosc-leading-tight: 1.22;
  --wosc-leading-body: 1.65;
  --wosc-chrome-text: #eaf2ff;
  --wosc-chrome-muted: #94a8c8;
  --wosc-chrome-ice: #7dd3fc;
  --wosc-chrome-glass: rgba(12, 18, 32, 0.78);
  --wosc-chrome-border: rgba(255, 255, 255, 0.08);
  --wosc-chrome-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --wosc-chrome-dur: 0.32s;
  /* Social brand accents (Simple Icons palette, hover) */
  --wosc-soc-discord: #5865f2;
  --wosc-soc-facebook: #1877f2;
  --wosc-soc-instagram: #e4405f;
  --wosc-soc-x: #ffffff;
  --wosc-soc-tiktok: #00f2ea;
  --wosc-soc-whatsapp: #25d366;
  --wosc-soc-telegram: #26a5e4;
}

html {
  background-color: #050810;
}

/* Ambient depth behind chrome pages (layers under .bg when present at z-index -2) */
body.wosc-chrome-body {
  background: transparent !important;
  min-height: 100vh;
  perspective: 1400px;
  font-family: var(--wosc-font-sans);
  font-size: var(--wosc-step-0);
  line-height: var(--wosc-leading-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
@keyframes woscAmbientShift {
  0%,
  100% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.94;
    transform: scale(1.025) translate3d(0.5%, -0.5%, 0);
  }
}
body.wosc-chrome-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background:
    radial-gradient(ellipse 130% 100% at 10% -15%, rgba(56, 189, 248, 0.26), transparent 55%),
    radial-gradient(ellipse 90% 70% at 95% 5%, rgba(99, 102, 241, 0.18), transparent 50%),
    radial-gradient(ellipse 80% 55% at 45% 105%, rgba(6, 182, 212, 0.12), transparent 58%),
    linear-gradient(165deg, #040814 0%, #070d1a 45%, #050810 100%);
  animation: woscAmbientShift 32s ease-in-out infinite;
}
body.wosc-chrome-body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

#wosc-main,
body.wosc-chrome-body > main {
  position: relative;
  z-index: 1;
}

.woscSkip {
  position: absolute;
  left: -9999px;
  z-index: 99999;
  padding: 12px 16px;
  background: var(--wosc-chrome-ice);
  color: #050810;
  font-weight: 800;
  border-radius: 10px;
}
.woscSkip:focus {
  left: 16px;
  top: 16px;
  outline: 2px solid #050810;
  outline-offset: 2px;
}

.woscTop {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.94), rgba(7, 11, 20, 0.55));
  border-bottom: 1px solid var(--wosc-chrome-border);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
  transform-style: preserve-3d;
  transition: box-shadow var(--wosc-chrome-dur) var(--wosc-chrome-ease), background var(--wosc-chrome-dur);
}
.woscTop.is-scrolled {
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(125, 211, 252, 0.08);
}

.woscTopInner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.woscBrand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.woscBrand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--wosc-chrome-border);
  background: var(--wosc-chrome-glass);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  object-fit: cover;
  transition: transform var(--wosc-chrome-dur) var(--wosc-chrome-ease);
}
.woscBrand:hover img {
  transform: scale(1.06) rotate(-2deg) translateZ(4px);
}
.woscBrand b {
  display: block;
  font-family: var(--wosc-font-display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--wosc-chrome-text);
}
.woscBrand small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--wosc-chrome-muted);
  font-weight: 600;
}

.woscNav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.woscPill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--wosc-chrome-border);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--wosc-font-display);
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wosc-chrome-text);
  text-decoration: none;
  transition: transform var(--wosc-chrome-dur) var(--wosc-chrome-ease),
    border-color var(--wosc-chrome-dur), background var(--wosc-chrome-dur), box-shadow var(--wosc-chrome-dur);
  transform-style: preserve-3d;
}
.woscPill:hover {
  border-color: rgba(125, 211, 252, 0.45);
  background: rgba(125, 211, 252, 0.1);
  transform: translateY(-2px) translateZ(2px);
  box-shadow: 0 10px 28px rgba(125, 211, 252, 0.12);
}
.woscPill[aria-current="page"] {
  border-color: rgba(125, 211, 252, 0.55);
  background: rgba(125, 211, 252, 0.12);
}

.woscPillCta {
  border-color: rgba(125, 211, 252, 0.95);
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.45), rgba(96, 165, 250, 0.25));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 24px rgba(125, 211, 252, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.woscPillCta:hover {
  transform: translateY(-3px) scale(1.02) translateZ(4px);
  box-shadow: 0 0 40px rgba(125, 211, 252, 0.35), 0 12px 32px rgba(0, 0, 0, 0.25);
}

.woscPillIcon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.woscLangWrap {
  position: relative;
}
.woscLangBtn {
  cursor: pointer;
  user-select: none;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.95);
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.55), rgba(96, 165, 250, 0.22));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(125, 211, 252, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(234, 242, 255, 0.98);
  transition: 0.18s ease;
}
.woscLangBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(125, 211, 252, 0.2);
}
.woscLangBtnCode {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.woscLangMenu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 280px;
  max-height: min(360px, 70vh);
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 22, 0.97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.72);
  padding: 8px;
  display: none;
  z-index: 1001;
  backdrop-filter: blur(12px);
}
.woscLangMenu.open {
  display: block;
}
.woscLangItem {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: var(--wosc-chrome-text);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  transition: 0.14s ease;
}
.woscLangItem:hover {
  border-color: rgba(125, 211, 252, 0.35);
  background: rgba(125, 211, 252, 0.08);
}
.woscLangLeft {
  display: flex;
  align-items: center;
  gap: 10px;
}
.woscLangFlag {
  font-size: 16px;
  line-height: 1;
}
.woscLangCode {
  color: var(--wosc-chrome-muted);
  font-weight: 800;
  font-size: 12px;
}
.woscLangCheck {
  opacity: 0;
}
.woscLangItem[aria-selected="true"] .woscLangCheck {
  opacity: 1;
}

.woscFooter {
  margin-top: 48px;
  padding: 28px 18px 36px;
  border-top: 1px solid rgba(125, 211, 252, 0.18);
  text-align: center;
  font-size: 0.86rem;
  color: var(--wosc-chrome-muted);
  line-height: 1.55;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.12));
}
.woscFooter a {
  color: var(--wosc-chrome-ice);
  text-decoration: none;
  font-weight: 700;
}
.woscFooter a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.woscFooterStrong {
  font-weight: 800;
  color: var(--wosc-chrome-text);
}
.woscFooterSocial,
.woscSiteSocial {
  margin: 12px 0 0;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
  align-items: center;
}
.woscFooterSocial > span[data-wosc-i18n="chrome.footerFollow"] {
  flex-basis: 100%;
  text-align: center;
  margin-bottom: 2px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}
.woscFooterSocial a:not(.woscSocialChip),
.woscSiteSocial a:not(.woscSocialChip) {
  font-weight: 700;
}

/* Branded social chips (icons: Simple Icons, /assets/icons/social/) */
a.woscSocialChip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-decoration: none !important;
  color: var(--wosc-chrome-text) !important;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  transform-style: preserve-3d;
  transition:
    transform var(--wosc-chrome-dur) var(--wosc-chrome-ease),
    box-shadow var(--wosc-chrome-dur),
    border-color var(--wosc-chrome-dur),
    background var(--wosc-chrome-dur);
}
a.woscSocialChip:hover {
  transform: translateY(-3px) translateZ(6px) scale(1.02);
  border-color: rgba(125, 211, 252, 0.5);
  background: linear-gradient(155deg, rgba(125, 211, 252, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.5),
    0 0 36px rgba(125, 211, 252, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
a.woscSocialChip:focus-visible {
  outline: 2px solid var(--wosc-chrome-ice);
  outline-offset: 3px;
}
.woscSocialIcon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #f0f7ff, #b8d4f0);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
a.woscSocialChip--discord:hover .woscSocialIcon {
  background: var(--wosc-soc-discord);
}
a.woscSocialChip--facebook:hover .woscSocialIcon {
  background: var(--wosc-soc-facebook);
}
a.woscSocialChip--instagram:hover .woscSocialIcon {
  background: var(--wosc-soc-instagram);
}
a.woscSocialChip--x:hover .woscSocialIcon {
  background: var(--wosc-soc-x);
}
a.woscSocialChip--tiktok:hover .woscSocialIcon {
  background: var(--wosc-soc-tiktok);
}
a.woscSocialChip--whatsapp:hover .woscSocialIcon {
  background: var(--wosc-soc-whatsapp);
}
a.woscSocialChip--telegram:hover .woscSocialIcon {
  background: var(--wosc-soc-telegram);
}
.woscSocialLabel {
  line-height: 1.2;
}

/* —— Main content: hierarchy, scanability, Google-friendly structure —— */
#wosc-main h1,
#wosc-main h2 {
  font-family: var(--wosc-font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: var(--wosc-leading-tight);
  color: var(--wosc-chrome-text);
}
#wosc-main h1 {
  font-size: var(--wosc-step-3);
  margin: 0.35em 0 0.5em;
}
#wosc-main h2 {
  font-size: var(--wosc-step-2);
  margin: 0.75em 0 0.45em;
}
#wosc-main h3 {
  font-family: var(--wosc-font-display);
  font-size: var(--wosc-step-1);
  font-weight: 700;
  line-height: var(--wosc-leading-tight);
  margin: 1em 0 0.4em;
  color: #dbeafe;
}
#wosc-main p,
#wosc-main li,
#wosc-main .lede {
  font-size: var(--wosc-step-0);
  line-height: var(--wosc-leading-body);
}
#wosc-main .lede,
#wosc-main .toolsPrivacy {
  max-width: 68ch;
}
#wosc-main .lede {
  color: #b8c9e8;
}
#wosc-main p {
  margin: 0.65em 0;
  color: #d4dff5;
}
#wosc-main ul,
#wosc-main ol {
  padding-left: 1.25rem;
  margin: 0.5em 0 0.85em;
}
#wosc-main li {
  margin: 0.35em 0;
  color: #c9d7ee;
}
#wosc-main a:not(.woscPill):not(.woscSocialChip):not(.woscBrand):not(.card) {
  color: var(--wosc-chrome-ice);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
#wosc-main a:not(.woscPill):not(.woscSocialChip):not(.woscBrand):not(.card):hover {
  color: #fff;
}
#wosc-main .card,
#wosc-main a.card {
  font-size: var(--wosc-step--1);
  line-height: 1.55;
}
#wosc-main .card strong,
#wosc-main a.card b {
  font-family: var(--wosc-font-display);
  font-size: 1.05rem;
}
#wosc-main .sec,
#wosc-main .card,
#wosc-main .toolsCta,
#wosc-main .toolsPrivacy {
  font-size: var(--wosc-step--1);
}
#wosc-main .sec h2 {
  font-size: var(--wosc-step-2);
}
#wosc-main .sec h3 {
  font-size: var(--wosc-step-1);
}
#wosc-main table {
  font-size: var(--wosc-step--1);
  line-height: 1.5;
}
#wosc-main label,
#wosc-main .muted {
  font-size: var(--wosc-step--1);
}

@media (prefers-reduced-motion: reduce) {
  .woscPill,
  .woscPillCta,
  .woscBrand img,
  .woscLangBtn {
    transition: none;
  }
  .woscPill:hover,
  .woscPillCta:hover {
    transform: none;
  }
  a.woscSocialChip {
    transition: none;
  }
  a.woscSocialChip:hover {
    transform: none;
  }
  body.wosc-chrome-body::before,
  body.wosc-chrome-body::after {
    animation: none !important;
  }
}
