/* War of Pool website - design A "Royal Night" (Omar's pick, 24/11/2026): the game's own navy and gold. */
:root {
  --bg: #0B1330; --surface: #141F45; --field: #0E1838; --line: #24305C; --line2: #3A4778;
  --ink: #EEF1FA; --white: #FFFFFF; --soft: #A9B3CE; --soft2: #C9D0E4;
  --gold: #E3B655; --gold-hi: #F3D58C; --gold-line: #5A4A22; --on-gold: #1A1406;
  --ok: #7DD3A0; --bad: #FF9A8A;
  --display: Cinzel, Georgia, serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
:lang(ar), :lang(ur) { --display: "Noto Kufi Arabic", "Noto Sans Arabic", Inter, Tahoma, sans-serif; --body: "Noto Sans Arabic", Inter, Tahoma, sans-serif; }   /* (25/11) Latin words in Arabic pages: Inter, like the rest */
:lang(ja), :lang(ko), :lang(zh-Hans), :lang(zh-Hant), :lang(hi), :lang(ru) { --display: var(--body); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6;
  padding-bottom: env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); color: var(--white); margin: 0; line-height: 1.15; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }   /* (24/11) «Datenschutzerklärung» on a phone */
h1 { font-weight: 800; font-size: clamp(40px, 7vw, 64px); }
h2 { font-weight: 600; font-size: clamp(26px, 3.6vw, 34px); }
h3 { font-family: var(--body); font-size: 19px; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 900px; }
.block { padding-top: 24px; padding-bottom: 64px; }
.soft { color: var(--soft); }
.lead { font-size: 19px; color: var(--soft2); max-width: 32em; }

/* header */
.top { border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 52px; width: auto; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 15px; font-weight: 500; }
.menu a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.menu a[aria-current="page"] { color: var(--gold); }
.lang { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid #2E3B6C; color: var(--soft); }
.lang select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: var(--ink); font: inherit; font-size: 15px;
  padding: 10px 2px; cursor: pointer; }
.lang select option { background: var(--surface); color: var(--ink); }

/* home */
/* (24/11 Omar: «بالعرض مش بالطول») the first screen on a computer is one wide picture of the game, the words over it */
.hero { position: relative; }
.hero-art img { width: 100%; height: auto; }
.hero-in { padding-top: 28px; padding-bottom: 48px; }
.hero-text { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
@media (min-width: 900px) {
  .hero { display: flex; align-items: center; min-height: min(calc(100vh - 77px), 1000px); min-height: min(calc(100svh - 77px), 1000px); overflow: hidden; }
  .hero-art { position: absolute; inset: 0; }
  .hero-art picture, .hero-art img { width: 100%; height: 100%; }
  .hero-art img { object-fit: cover; object-position: 0% 50%; }      /* the table away from the words */
  [dir="rtl"] .hero-art img { object-position: 100% 50%; }
  .hero-art::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(11, 19, 48, .94) 0%, rgba(11, 19, 48, .82) 30%, rgba(11, 19, 48, .25) 58%, rgba(11, 19, 48, 0) 72%),
                linear-gradient(0deg, var(--bg) 0%, rgba(11, 19, 48, 0) 22%); }
  [dir="rtl"] .hero-art::after { background: linear-gradient(270deg, rgba(11, 19, 48, .94) 0%, rgba(11, 19, 48, .82) 30%, rgba(11, 19, 48, .25) 58%, rgba(11, 19, 48, 0) 72%),
                linear-gradient(0deg, var(--bg) 0%, rgba(11, 19, 48, 0) 22%); }
  .hero-in { position: relative; width: 100%; max-width: none; padding: 64px max(48px, 5vw) 96px; }   /* the words at the screen's edge, the table free */
  .hero-text { max-width: 470px; }
  .top .bar { max-width: none; padding-left: max(48px, 5vw); padding-right: max(48px, 5vw); }   /* the logo above the title */
  .hero h1 { font-size: clamp(56px, 6vw, 84px); text-shadow: 0 4px 24px rgba(0, 0, 0, .5); }
}
/* (24/11 check) the game's name is one word-mark in every language: its own letters, never broken over two lines */
.hero h1 { font-family: Cinzel, Georgia, serif; font-weight: 800; white-space: nowrap; }
@media (min-width: 900px) {
}
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--gold); }
:lang(ar) .eyebrow, :lang(ur) .eyebrow { letter-spacing: 0; font-size: 15px; }
/* (24/11) letters that join (Hindi, Arabic, Urdu) or have no capitals (Chinese, Japanese, Korean) are never spaced out */
:lang(hi) .eyebrow, :lang(ja) .eyebrow, :lang(ko) .eyebrow, :lang(zh-Hans) .eyebrow, :lang(zh-Hant) .eyebrow { letter-spacing: .02em; font-size: 15px; }
:lang(hi) .store small, :lang(ar) .store small, :lang(ur) .store small, :lang(ja) .store small, :lang(ko) .store small,
:lang(zh-Hans) .store small, :lang(zh-Hant) .store small { letter-spacing: 0; }
.soon { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 6px 22px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line2); }
.store small { font-size: 12px; color: var(--soft); letter-spacing: .06em; }
.store b { font-size: 18px; color: var(--white); }
.shot img { width: 100%; border-radius: 16px; border: 1px solid var(--line); }
.block > h2 { margin-bottom: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card.gold { border-color: var(--gold-line); }
.feat { display: flex; flex-direction: column; gap: 10px; }
.feat svg { color: var(--gold); }
.feat p { font-size: 15px; color: var(--soft); }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 32px; }
.strip > div { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.strip p { color: var(--soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--gold); color: var(--on-gold); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--gold-hi); color: var(--on-gold); }
.btn[disabled] { opacity: .6; cursor: default; }
.btn.ghost { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.follow { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.follow > h2 { margin-bottom: 0; }
.follow > p { color: var(--soft); }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line2); color: var(--white); font-weight: 600; text-decoration: none; }
.pill:hover { border-color: var(--gold); color: var(--white); }

/* help */
.head { padding-top: 56px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.faq { padding: 0; overflow: hidden; }
.qa + .qa { border-top: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px;
  padding: 16px 24px; font-size: 18px; font-weight: 600; color: var(--white); cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex: none; transition: transform .2s; }
.qa[open] summary { color: var(--gold); }
.qa[open] summary svg { transform: rotate(180deg); }
.qa p { padding: 0 24px 22px; font-size: 16px; color: var(--soft2); max-width: 46em; }
.form, #delete .card { display: flex; flex-direction: column; gap: 16px; padding: 32px; }
#report-form { position: relative; display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 18px; }
.row > .field { flex: 1 1 260px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field small { font-size: 13px; color: var(--soft); }
.req { color: var(--gold); }
input, select, textarea { font: inherit; color: var(--white); background: var(--field); border: 1px solid var(--line2); border-radius: 10px; }
input, #kind { min-height: 48px; padding: 0 14px; }
textarea { padding: 12px 14px; resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }   /* never left:-10000px: in Arabic that widens the page */
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.status { min-height: 1.6em; font-weight: 600; }
.status.ok { color: var(--ok); }
.status.bad { color: var(--bad); }
#delete .card p { color: var(--soft2); }
#del-form { display: flex; flex-direction: column; gap: 18px; position: relative; }
.step2 { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; border-top: 1px solid var(--line); }
.step2[hidden] { display: none; }
#del-code { max-width: 220px; font-size: 22px; letter-spacing: .2em; text-align: center; }
.btn.danger { background: #C8463A; color: #fff; }
.btn.danger:hover { background: #DE5A4D; color: #fff; }

/* legal */
.only-en { color: var(--gold); }
.legal { padding-bottom: 72px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; color: var(--soft2); }
.legal h2 { font-family: var(--body); font-size: 20px; margin-top: 18px; }

/* footer */
.foot { border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 28px; padding-top: 28px; padding-bottom: 36px; }
.cols nav, .soc { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.foot a, .soc > span { display: inline-flex; align-items: center; min-height: 44px; }   /* (25/11) only the row's own items: words inside a link stay words */   /* (24/11 check) a finger can hit each one */
.foot a { color: var(--soft2); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-in { padding-top: 24px; }
  .strip, .form, #delete .card { padding: 22px; }
  .qa summary { padding: 14px 18px; font-size: 17px; }
  .qa p { padding: 0 18px 18px; }
  .menu { gap: 2px 16px; }
}
