/* lang1000.100for1.com — app portal
   Visual identity mirrors the apps themselves: deep navy ground, gold rules,
   serif display type. Generated pages only reference this one stylesheet. */

:root {
  --navy: #0F2036;
  --navy-2: #1B3A5C;
  --gold: #C9A227;
  --gold-soft: #E6C766;
  --ink: #14181F;
  --sub: #5C6774;
  --line: #E5E9F0;
  --bg: #F6F7F9;
  --card: #FFFFFF;
  --radius: 16px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
           "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* ---------- top bar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  display: flex; align-items: center; gap: 18px;
  height: 58px;
}
.wordmark {
  font-family: var(--serif); font-size: 1.18rem; font-weight: 600;
  color: var(--navy); text-decoration: none; letter-spacing: .01em;
  display: inline-flex; align-items: center; gap: 8px;
}
.wordmark i {
  width: 7px; height: 7px; background: var(--gold);
  transform: rotate(45deg); display: inline-block;
}
.topnav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.topnav a {
  text-decoration: none; color: var(--sub); font-size: .88rem;
  padding: 7px 11px; border-radius: 999px; white-space: nowrap;
}
.topnav a:hover { color: var(--navy); background: #EDF1F7; }
.topnav a.switch {
  border: 1px solid var(--line); color: var(--navy); font-weight: 600;
}

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(900px 380px at 50% -10%, rgba(201, 162, 39, .20), transparent 65%),
    linear-gradient(165deg, var(--navy-2) 0%, var(--navy) 62%, #0A1725 100%);
  color: #fff; position: relative; overflow: hidden;
  padding: 74px 0 66px; text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, rgba(255,255,255,.75), transparent),
    radial-gradient(1.2px 1.2px at 78% 16%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.6px 1.6px at 33% 68%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.2px 1.2px at 88% 60%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.1px 1.1px at 58% 34%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.3px 1.3px at 22% 82%, rgba(255,255,255,.4), transparent);
}
.hero > * { position: relative; }
.hero h1 {
  font-family: var(--serif); font-size: clamp(2.1rem, 5.4vw, 3.3rem);
  font-weight: 600; letter-spacing: -.01em; line-height: 1.18;
}
.hero .kicker {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 14px;
}
.hero p.lede {
  margin: 16px auto 0; max-width: 620px; font-size: 1.06rem;
  color: rgba(255, 255, 255, .82);
}

.rule {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin: 26px auto; max-width: 320px;
}
.rule::before, .rule::after {
  content: ""; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.rule i {
  width: 8px; height: 8px; background: var(--gold);
  transform: rotate(45deg); flex: none;
}

.stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 34px; margin-top: 8px;
}
.stats div { min-width: 92px; }
.stats b {
  display: block; font-family: var(--serif); font-size: 1.5rem;
  font-weight: 600; color: var(--gold-soft);
}
.stats span { font-size: .8rem; color: rgba(255, 255, 255, .66); }

/* ---------- sections ---------- */

section { padding: 54px 0 6px; }
.shead { margin-bottom: 22px; }
.shead h2 {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600;
  color: var(--navy); display: flex; align-items: center; gap: 10px;
}
.shead h2::before {
  content: ""; width: 8px; height: 8px; background: var(--gold);
  transform: rotate(45deg); flex: none;
}
.shead p { color: var(--sub); font-size: .95rem; margin-top: 6px; }

.grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
}
a.acard {
  display: flex; gap: 13px; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px;
  text-decoration: none; color: var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
a.acard:hover {
  transform: translateY(-3px); border-color: #CBD6E4;
  box-shadow: 0 10px 26px rgba(15, 32, 54, .10);
}
a.acard img {
  width: 54px; height: 54px; border-radius: 13px; flex: none;
  background: #fff; box-shadow: 0 1px 4px rgba(15, 32, 54, .14);
}
.acard .nm {
  font-family: var(--serif); font-size: 1.02rem; font-weight: 600;
  line-height: 1.3;
}
.acard .mt { font-size: .78rem; color: var(--sub); margin-top: 2px; }
.plat { display: flex; gap: 5px; margin-top: 6px; }
.plat span {
  font-size: .68rem; letter-spacing: .02em;
  padding: 2px 7px; border-radius: 999px;
  background: #EEF2F8; color: #61708A; font-weight: 600;
}
.plat span.and { background: #E8F5EC; color: #2C7A46; }

/* ---------- CTA band ---------- */

.band {
  margin: 54px 0 0; border-radius: 20px; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-2), var(--navy));
  color: #fff; padding: 34px 30px; text-align: center;
}
.band h3 {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600;
}
.band p { color: rgba(255, 255, 255, .78); margin: 8px auto 0; max-width: 560px; }
.band a.go {
  display: inline-block; margin-top: 18px; text-decoration: none;
  background: var(--gold); color: #22190A; font-weight: 700;
  padding: 11px 24px; border-radius: 999px; font-size: .93rem;
}
.band a.go:hover { background: var(--gold-soft); }

/* ---------- detail page ---------- */

.crumb {
  font-size: .84rem; color: var(--sub); padding: 18px 0 0;
}
.crumb a { color: var(--sub); text-decoration: none; }
.crumb a:hover { color: var(--navy); }

.dhero {
  margin: 16px 0 0; border-radius: 22px; color: #fff; overflow: hidden;
  background:
    radial-gradient(700px 300px at 82% -30%, rgba(201, 162, 39, .22), transparent 65%),
    linear-gradient(155deg, var(--navy-2), var(--navy) 70%, #0A1725);
  padding: 30px 30px 32px;
  display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap;
}
.dhero img.icon {
  width: 104px; height: 104px; border-radius: 24px; flex: none;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .34);
}
.dhero .info { flex: 1 1 340px; min-width: 260px; }
.dhero h1 {
  font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.05rem);
  font-weight: 600; line-height: 1.25;
}
.dhero .sub { color: rgba(255, 255, 255, .78); margin-top: 8px; font-size: .98rem; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.chips span {
  font-size: .74rem; padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .11); color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .13);
}

.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
a.store {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; padding: 10px 18px 10px 15px;
  border-radius: 12px; background: #fff; color: #12181F;
  font-weight: 600; font-size: .93rem;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
}
a.store:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, .28); }
a.store svg { width: 22px; height: 22px; flex: none; }
a.store small {
  display: block; font-size: .66rem; font-weight: 500;
  color: #6A7683; letter-spacing: .02em; line-height: 1.2;
}
a.store.play { background: var(--gold); color: #22190A; }
a.store.play small { color: #5C4A18; }
.nostore {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px; font-size: .84rem;
  background: rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .64);
  border: 1px dashed rgba(255, 255, 255, .22);
}

/* ---------- word-list pages ---------- */

.tile {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 13px 15px;
}
.tile b {
  display: block; font-family: var(--serif); font-size: 1rem;
  font-weight: 600; color: var(--navy); line-height: 1.35;
}
.tile span { font-size: .8rem; color: var(--sub); }

/* the store buttons again, but on a light page instead of the navy hero */
.storebar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.storebar a.store { background: var(--navy); color: #fff; box-shadow: none; }
.storebar a.store:hover { box-shadow: 0 8px 22px rgba(15, 32, 54, .22); }
.storebar a.store small { color: #A9B8CC; }
.storebar a.store.play { background: var(--gold); color: #22190A; }
.storebar a.store.play small { color: #5C4A18; }
a.store.apk { background: #2C7A46; color: #fff; }
a.store.apk small { color: #BFE2CB; }
a.store.apk svg { width: 20px; height: 22px; }

.shots {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px 20px 18px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots img {
  height: 430px; width: auto; border-radius: 16px; flex: none;
  border: 1px solid var(--line); background: #fff;
  box-shadow: 0 6px 20px rgba(15, 32, 54, .10);
  scroll-snap-align: center;
}
.shotwrap { margin: 0 -20px; }

/* store descriptions end with bare EULA / privacy URLs — they must not
   stretch the page on a phone */
.prose { font-size: 1rem; color: #232A34; overflow-wrap: anywhere; }
.prose a { color: var(--navy-2); }
.prose p { margin: 0 0 13px; }
.prose h3 {
  font-family: var(--serif); font-size: 1.08rem; color: var(--navy);
  margin: 26px 0 9px; display: flex; align-items: center; gap: 9px;
}
.prose h3::before {
  content: ""; width: 6px; height: 6px; background: var(--gold);
  transform: rotate(45deg); flex: none;
}
.prose ul { margin: 0 0 14px; padding-left: 4px; list-style: none; }
.prose li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.prose li::before {
  content: ""; position: absolute; left: 4px; top: .66em;
  width: 5px; height: 5px; background: var(--gold);
  transform: rotate(45deg);
}

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
}

.facts {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.facts div { background: #fff; padding: 14px 16px; }
.facts dt {
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: #8A94A3; margin-bottom: 3px;
}
.facts dd { font-size: .95rem; font-weight: 600; }

.wordcta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: #FFF9E8; border: 1px solid #F0E2B4;
  border-radius: var(--radius); padding: 18px 22px;
}
.wordcta .t { flex: 1 1 300px; }
.wordcta b { font-family: var(--serif); font-size: 1.05rem; color: var(--navy); }
.wordcta p { font-size: .89rem; color: #6B6142; margin-top: 3px; }
.wordcta a {
  text-decoration: none; background: var(--navy); color: #fff;
  padding: 9px 18px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  white-space: nowrap;
}
.wordcta a:hover { background: var(--navy-2); }

/* ---------- footer ---------- */

footer.site {
  margin-top: 64px; background: var(--navy); color: rgba(255, 255, 255, .7);
  padding: 38px 0 44px; font-size: .87rem;
}
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: center; }
footer.site a { color: rgba(255, 255, 255, .82); text-decoration: none; }
footer.site a:hover { color: var(--gold-soft); }
footer.site .cr { margin-left: auto; color: rgba(255, 255, 255, .45); font-size: .8rem; }

@media (max-width: 620px) {
  /* the two section anchors only make sense on the home page — drop them
     before they push the language switch off the bar */
  .topnav a.sect { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 54px 0 48px; }
  .dhero { padding: 24px 20px 26px; gap: 18px; }
  .dhero img.icon { width: 78px; height: 78px; border-radius: 18px; }
  .shots img { height: 330px; }
  section { padding: 40px 0 4px; }
  .topnav a { padding: 6px 8px; font-size: .82rem; }
}

.apknote {
  margin-top: 12px; font-size: .78rem; line-height: 1.55;
  color: rgba(255, 255, 255, .58); max-width: 620px;
}
