:root {
  --bg: #140d08;
  --bg-top: #2b1c12;
  --surface: #2a1d14;
  --text: #ffffff;
  --muted: #cdbba8;
  --wood: #c4a574;
  --line: rgba(255, 255, 255, 0.12);
  --radius: 16px;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top), var(--bg) 70%);
}
a { color: var(--wood); }
.wrap { max-width: 960px; margin-inline: auto; padding-inline: 20px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 16px; }
.brand { color: var(--text); font-weight: 700; text-decoration: none; }
.top-nav { display: flex; align-items: center; gap: 16px; }
.top-nav a:not(.lang-switch) { color: var(--text); text-decoration: none; }
.top-nav a[aria-current="page"] { color: var(--wood); }
.lang-switch {
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
}
.hero { text-align: center; padding-block: 16px 40px; }
.icon { width: 112px; height: 112px; border-radius: 24px; }
.hero h1 { font-size: clamp(2rem, 7vw, 3rem); line-height: 1.2; margin: 16px 0 8px; }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 32em; margin: 0 auto 28px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.badges a { display: block; line-height: 0; }
.badge-apple { height: 54px; width: auto; }
/* Google's PNG has transparent padding baked in; negative margin trims it to match the Apple badge. */
.badge-play { height: 80px; width: auto; margin: -13px; }
.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: 8px 24px;
}
.shots img {
  flex: 0 0 auto;
  width: min(70vw, 260px);
  height: auto;
  border-radius: var(--radius);
  scroll-snap-align: center;
}
@media (min-width: 1000px) {
  .shots { justify-content: center; overflow: visible; }
  .shots img { width: 220px; }
}
.features {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-block: 24px 48px;
}
.feature { background: var(--surface); border-radius: var(--radius); padding: 20px; }
.feature h2 { font-size: 1.1rem; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding-block: 24px 40px; text-align: center; color: var(--muted); font-size: 0.9rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-bottom: 12px; }
.rules { background: var(--surface); border-radius: var(--radius); padding: 24px; margin-block-end: 48px; }
.rules h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.25; margin: 0 0 8px; }
.rules h2 { font-size: 1.4rem; margin: 0 0 8px; }
.cta { text-align: center; padding-block: 8px 48px; }
.cta h2 { font-size: 1.5rem; margin: 0 0 20px; }
.rules p { color: var(--muted); margin: 0 0 12px; }
.rules ul { margin: 0; padding-inline-start: 1.2em; }
.rules li { margin-block: 8px; }
footer .legal { font-size: 0.75rem; }
