/* Auspo Apps — site styles (Nov 2026 redesign: utility apps first, games at /games).
   Used whole by index.html and games.html. Every other page keeps ds/organic.css for its body and
   loads this file only for the shared header and footer, so every class here starts with "x-". */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --x-ink: #0f172a;
  --x-sub: #475569;
  --x-mute: #64748b;
  --x-line: #e2e8f0;
  --x-bg: #ffffff;
  --x-soft: #f8fafc;
  --x-warm: #fff7ed;
  --x-accent: #ea6a1f;          /* brand orange (logo #F5A930, deepened for contrast) */
  --x-accent-ink: #c2410c;
  --x-blue: #2f5bea;
  --x-green: #15803d;
  --x-dark: #0b1220;
  --x-radius: 20px;
  --x-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --x-wrap: 1160px;
  --x-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
}

/* ---------- shared header ---------- */
.x-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--x-line); font-family: var(--x-font); }
.x-head-in { max-width: var(--x-wrap); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.x-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--x-ink) !important;
  text-decoration: none !important; letter-spacing: -.02em; white-space: nowrap; }
.x-brand svg { flex: none; }
.x-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.x-links a { color: var(--x-sub) !important; text-decoration: none !important; font-weight: 600; font-size: 15px; padding: 8px 12px;
  border-radius: 10px; white-space: nowrap; }
.x-links a:hover, .x-links a[aria-current="page"] { color: var(--x-ink) !important; background: var(--x-soft); }
.x-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--x-ink); color: #fff !important; text-decoration: none !important;
  font-weight: 700; font-size: 14.5px; padding: 11px 20px; border-radius: 999px; white-space: nowrap; }
.x-cta:hover { background: #1e293b; }
.x-menu { display: none; position: relative; margin-left: auto; }
.x-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--x-line);
  display: grid; place-items: center; background: #fff; }
.x-menu summary::-webkit-details-marker { display: none; }
.x-menu nav { position: absolute; right: 0; top: 54px; width: min(300px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--x-line);
  border-radius: 16px; box-shadow: var(--x-shadow); padding: 8px; display: flex; flex-direction: column; }
.x-menu nav a { padding: 12px 14px; border-radius: 10px; color: var(--x-ink) !important; text-decoration: none !important; font-weight: 600; }
.x-menu nav a:hover { background: var(--x-soft); }
@media (max-width: 900px) {
  .x-links, .x-head .x-cta { display: none; }
  .x-menu { display: block; }
}

/* ---------- shared footer ---------- */
.x-foot { background: var(--x-dark); color: #cbd5e1; font-family: var(--x-font); margin-top: 0; }
.x-foot-in { max-width: var(--x-wrap); margin: 0 auto; padding: 64px 24px 28px; }
.x-foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.x-foot .x-brand { color: #fff !important; }
.x-foot p { font-size: 14px; line-height: 1.65; color: #94a3b8; margin: 14px 0 0; max-width: 34ch; }
.x-foot h4 { font-family: var(--x-font); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  margin: 6px 0 16px; }
.x-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.x-foot a { color: #cbd5e1 !important; text-decoration: none !important; font-size: 14px; }
.x-foot a:hover { color: #fff !important; }
.x-foot-bar { border-top: 1px solid #1e293b; margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; font-size: 13px; color: #64748b; }
@media (max-width: 900px) { .x-foot-grid { grid-template-columns: 1fr 1fr; } .x-foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- full pages (home, games) ---------- */
.x-page { margin: 0; background: var(--x-bg); color: var(--x-ink); font-family: var(--x-font); -webkit-font-smoothing: antialiased; text-wrap: pretty; }
.x-page a { color: var(--x-accent-ink); }
.x-page h1, .x-page h2, .x-page h3 { font-family: var(--x-font); letter-spacing: -.025em; color: var(--x-ink); }
.x-wrap { max-width: var(--x-wrap); margin: 0 auto; padding: 0 24px; }
.x-section { padding: 88px 0; }
.x-section.alt { background: var(--x-soft); }
.x-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--x-accent-ink);
  background: var(--x-warm); border: 1px solid #fed7aa; border-radius: 999px; padding: 7px 16px; }
.x-h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; margin: 14px 0 12px; font-weight: 800; }
.x-lead { font-size: 18px; line-height: 1.6; color: var(--x-sub); max-width: 60ch; margin: 0; }
.x-center { text-align: center; }
.x-center .x-lead { margin: 0 auto; }

.x-hero { position: relative; overflow: hidden; padding: 84px 0 40px; text-align: center;
  background: radial-gradient(60% 60% at 50% 0%, #ffedd5 0%, rgba(255, 237, 213, 0) 70%), var(--x-bg); }
.x-hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.04; font-weight: 800; margin: 22px auto 20px; max-width: 16ch; }
.x-hero h1 em { font-style: normal; color: var(--x-accent); }
.x-hero .x-lead { margin: 0 auto 32px; font-size: 19px; }
.x-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.x-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; padding: 15px 26px; border-radius: 999px;
  text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease; }
.x-btn:hover { transform: translateY(-1px); }
.x-btn.primary { background: var(--x-accent); color: #fff !important; box-shadow: 0 8px 20px rgba(234, 106, 31, .28); }
.x-btn.ghost { background: #fff; color: var(--x-ink) !important; border: 1px solid var(--x-line); }
.x-trust { display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap; margin: 28px 0 0; padding: 0; list-style: none;
  color: var(--x-sub); font-weight: 600; font-size: 14.5px; }
.x-trust li { display: inline-flex; align-items: center; gap: 8px; }
.x-trust svg { color: var(--x-green); }

.x-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; max-width: 1280px; margin: 56px auto 0; padding: 0 24px; }
.x-strip figure { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; background: #e2e8f0; position: relative; box-shadow: var(--x-shadow); }
.x-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-strip figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .92); color: var(--x-ink);
  font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.x-strip figure:nth-child(even) { transform: translateY(22px); }
@media (max-width: 900px) {
  .x-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .x-strip figure { flex: 0 0 62%; scroll-snap-align: center; }
  .x-strip figure:nth-child(even) { transform: none; }
}

.x-group { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 48px 0 18px; flex-wrap: wrap; }
.x-group h3 { font-size: 22px; font-weight: 800; margin: 0; }
.x-group span { color: var(--x-mute); font-size: 15px; }
.x-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.x-grid.four { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.x-grid.four .x-shot .x-phone { width: 150px; }
.x-card { background: #fff; border: 1px solid var(--x-line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease; }
.x-card:hover { box-shadow: var(--x-shadow); transform: translateY(-2px); }
.x-shot { position: relative; height: 230px; overflow: hidden; display: flex; justify-content: center; align-items: flex-end;
  background: var(--tint, #fff7ed); }
.x-shot .x-phone { width: 168px; height: 206px; border-radius: 26px 26px 0 0; background: #0f172a; padding: 7px 7px 0;
  box-shadow: 0 -6px 30px rgba(15, 23, 42, .18); }
.x-shot .x-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 20px 20px 0 0; display: block; }
.x-shot .x-icon { position: absolute; left: 18px; top: 18px; width: 56px; height: 56px; border-radius: 15px; box-shadow: 0 6px 16px rgba(15, 23, 42, .18); background: #fff; }
.x-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.x-badge { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1px solid; }
.x-badge.hot { color: var(--x-accent-ink); background: var(--x-warm); border-color: #fed7aa; }
.x-badge.free { color: var(--x-green); background: #f0fdf4; border-color: #bbf7d0; }
.x-badge.new { color: var(--x-blue); background: #eff6ff; border-color: #bfdbfe; }
.x-badge.soon { color: var(--x-mute); background: var(--x-soft); border-color: var(--x-line); }
.x-card h4 { font-family: var(--x-font); font-size: 21px; font-weight: 800; margin: 2px 0 0; letter-spacing: -.02em; }
.x-card p { margin: 0; color: var(--x-sub); font-size: 15px; line-height: 1.6; flex: 1; }
.x-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.x-more { font-weight: 700; color: var(--x-accent-ink) !important; text-decoration: none !important; }
.x-more:hover { text-decoration: underline !important; }
.x-play { display: inline-flex; align-items: center; gap: 8px; background: var(--x-ink); color: #fff !important; text-decoration: none !important;
  border-radius: 10px; padding: 7px 12px 7px 10px; line-height: 1.05; }
.x-play small { display: block; font-size: 9px; letter-spacing: .06em; opacity: .8; }
.x-play b { display: block; font-size: 14px; }

.x-spot { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.x-spot-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--x-shadow); aspect-ratio: 4 / 5; }
.x-spot-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-checks { list-style: none; padding: 0; margin: 26px 0 30px; display: flex; flex-direction: column; gap: 14px; }
.x-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; line-height: 1.5; color: var(--x-ink); }
.x-checks svg { flex: none; margin-top: 2px; color: var(--x-green); }
@media (max-width: 900px) { .x-spot { grid-template-columns: 1fr; gap: 32px; } }

.x-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.x-feat { background: #fff; border: 1px solid var(--x-line); border-radius: 22px; padding: 26px; }
.x-feat i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--x-warm); color: var(--x-accent-ink); margin-bottom: 16px; }
.x-feat h4 { font-family: var(--x-font); font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.x-feat p { margin: 0; color: var(--x-sub); font-size: 15px; line-height: 1.6; }
@media (max-width: 900px) { .x-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .x-feats { grid-template-columns: 1fr; } }

.x-games { background: linear-gradient(135deg, #1e1b4b, #312e81 60%, #4338ca); color: #e0e7ff; border-radius: 32px; padding: 48px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.x-games h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 10px; font-weight: 800; }
.x-games p { margin: 0 0 22px; font-size: 16.5px; line-height: 1.6; color: #c7d2fe; max-width: 52ch; }
.x-games .x-icons { display: grid; grid-template-columns: repeat(4, 72px); gap: 14px; }
.x-games .x-icons img { width: 72px; height: 72px; border-radius: 18px; background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.x-games .x-btn.ghost { border: 0; }
@media (max-width: 900px) { .x-games { grid-template-columns: 1fr; padding: 32px; } .x-games .x-icons { grid-template-columns: repeat(4, 1fr); } .x-games .x-icons img { width: 100%; height: auto; } }

.x-faq { max-width: 820px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.x-faq details { background: #fff; border: 1px solid var(--x-line); border-radius: 16px; padding: 0 22px; }
.x-faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--x-accent); font-weight: 600; }
.x-faq details[open] summary::after { content: "–"; }
.x-faq details p { margin: 0 0 20px; color: var(--x-sub); font-size: 15.5px; line-height: 1.7; }

.x-contact { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; background: var(--x-warm);
  border: 1px solid #fed7aa; border-radius: 28px; padding: 36px 40px; }
.x-contact h2 { margin: 0 0 6px; font-size: 28px; font-weight: 800; }
.x-contact p { margin: 0; color: var(--x-sub); font-size: 16px; }

/* games page */
.x-game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; margin-top: 40px; }
.x-game { background: #fff; border: 1px solid var(--x-line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .2s ease, transform .2s ease; }
.x-game:hover { box-shadow: var(--x-shadow); transform: translateY(-2px); }
.x-game-top { display: flex; gap: 16px; align-items: center; }
.x-game-top img { width: 68px; height: 68px; border-radius: 18px; box-shadow: 0 6px 16px rgba(15, 23, 42, .12); }
.x-game h3 { font-size: 21px; font-weight: 800; margin: 0; }
.x-game p { margin: 0; color: var(--x-sub); font-size: 15px; line-height: 1.6; flex: 1; }
