/* Color Sort — shared styles for bgsoft.com.br/colorsort */
:root {
  --bg-top: #1b2140;
  --bg-bottom: #0e1226;
  --card: #252c55;
  --text: #ffffff;
  --muted: #b9c0e6;
  --accent: #ffc107;
  --green: #2e7d32;
  --link: #8fb4ff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) fixed;
  background-color: var(--bg-bottom);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a { color: var(--link); }

.wrap { max-width: 860px; margin: 0 auto; padding: 24px 16px 48px; }

.lang {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.lang button {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--accent); color: #000; border-color: var(--accent); }

.hero { text-align: center; padding: 32px 0 8px; }
.hero img {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.hero h1 { font-size: clamp(34px, 8vw, 52px); margin: 18px 0 4px; letter-spacing: 1px; }
.hero p.tagline { color: var(--muted); font-size: 19px; margin: 0 auto; max-width: 560px; }

.stores {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 8px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 16px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.store small { display: block; font-weight: 400; font-size: 12px; opacity: 0.8; }
.store.soon { opacity: 0.55; pointer-events: none; }

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 20px 22px;
  margin-top: 24px;
}
.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature h3 { margin: 0 0 4px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); }

.policy h1 { font-size: clamp(28px, 6vw, 40px); margin-bottom: 4px; }
.policy h2 { font-size: 21px; margin-top: 28px; }
.policy p, .policy li { color: #e6e9fb; }
.updated { color: var(--muted); }

footer {
  margin-top: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
footer a { color: var(--muted); }

/* Only the active language is shown; elements keep their own display. */
html:not([lang="pt-BR"]) [data-lang="pt"],
html:not([lang="en"]) [data-lang="en"],
html:not([lang="es"]) [data-lang="es"] { display: none !important; }
