/* min90.app: the public site. Colors, sizes and spacing follow the design
   ("موقع الدقيقة 90 – min90.app"). Fonts are self-hosted (OFL, see
   assets/fonts/OFL.txt): no request leaves min90.app. */

@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 400; font-display: swap; src: url(fonts/plex-arabic-400-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 400; font-display: swap; src: url(fonts/plex-arabic-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 500; font-display: swap; src: url(fonts/plex-arabic-500-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 500; font-display: swap; src: url(fonts/plex-arabic-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 600; font-display: swap; src: url(fonts/plex-arabic-600-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 600; font-display: swap; src: url(fonts/plex-arabic-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 700; font-display: swap; src: url(fonts/plex-arabic-700-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 700; font-display: swap; src: url(fonts/plex-arabic-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 700 800; font-display: swap; src: url(fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --bg: #050F0A;
  --bg-deep: #040C08;
  --panel: #0B1F17;
  --line: #1E3D2F;
  --dot: #173A2A;
  --text: #F2F7EE;
  --text-2: #C9D8CF;
  --muted: #9DB5A6;
  --lime: #C6F432;
  --lime-hover: #E2FF6B;
  --on-lime: #0B1F17;
  --green: #3DDC84;
  --blue: #5BC0FF;
  --gold: #F5C542;
  --bezel: #17241D;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Arabic', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--lime); }
a:hover { color: var(--lime-hover); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 10px; background: var(--lime); color: var(--on-lime); font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }
.dots { background-color: var(--panel); background-image: radial-gradient(var(--dot) 1.4px, transparent 1.7px); background-size: 8px 8px; }

/* ---------- Header & nav ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-deep); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,12,8,.55) 0%, rgba(4,12,8,.35) 40%, rgba(5,15,10,.92) 88%, var(--bg) 100%); }
.hero-shade.side { background: linear-gradient(270deg, rgba(4,12,8,.85) 0%, rgba(4,12,8,.2) 60%); }

.nav { position: relative; padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font-size: 20px; font-weight: 700; }
.brand-name span { font-size: 12px; color: var(--muted); font-family: var(--mono); text-align: right; }
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-links a { min-height: 44px; padding: 0 14px; display: flex; align-items: center; color: var(--text-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-links a.cta { padding: 0 18px; margin-inline-start: 8px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font-weight: 700; }
.nav-links a.cta:hover { background: var(--lime-hover); }

.hero-body { position: relative; padding-block: 48px 96px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 56px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.badge { align-self: flex-start; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(198,244,50,.35); display: flex; align-items: center; gap: 10px; }
.badge .mono { font-size: 15px; font-weight: 800; color: var(--lime); text-shadow: 0 0 10px rgba(198,244,50,.6); }
.badge span:last-child { font-size: 14px; font-weight: 600; color: var(--text-2); }
h1 { margin: 0; font-size: clamp(44px, 6.4vw, 84px); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
h1 em { font-style: normal; color: var(--lime); }
.lead { margin: 0; max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; color: var(--text-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { min-height: 58px; padding: 0 26px; border-radius: 16px; display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; text-decoration: none; }
.btn-store { background: var(--lime); color: var(--on-lime); box-shadow: 0 0 0 6px rgba(198,244,50,.14), 0 14px 40px rgba(198,244,50,.25); }
.btn-ghost { padding: 0 22px; border: 1px solid rgba(242,247,238,.25); background: rgba(5,15,10,.4); color: var(--text); font-size: 17px; font-weight: 600; }
.btn-ghost:hover { color: var(--text); border-color: rgba(242,247,238,.5); }
.soon { cursor: default; }
.hero-note { font-size: 14px; color: var(--muted); }

.hero-phone { flex: 0 1 auto; margin: 0 auto; position: relative; padding: 24px 40px; }
.hero-phone .glow { position: absolute; inset: 10% -10%; border-radius: 999px; background: radial-gradient(closest-side, rgba(198,244,50,.22), rgba(198,244,50,0)); }
.phone { position: relative; width: 300px; height: 650px; padding: 10px; border-radius: 52px; background: linear-gradient(160deg, #2A3A31, #0A120E 40%, #1C2A22); box-shadow: 0 40px 80px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.12); }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 42px; }
.score-chip { position: absolute; top: 120px; right: -8px; width: 210px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
.score-chip .side { display: flex; flex-direction: column; }
.score-chip .side b { font-size: 12px; font-weight: 700; }
.score-chip .side strong { font-size: 32px; font-weight: 700; line-height: 1; }
.score-chip .me { align-items: flex-start; color: var(--green); }
.score-chip .opp { align-items: flex-end; color: var(--blue); }
.score-chip .mono { justify-self: center; font-size: 13px; font-weight: 800; color: var(--lime); }
.buzz { position: absolute; bottom: 70px; left: 0; width: 116px; height: 116px; border-radius: 999px; background: var(--lime); color: var(--on-lime); box-shadow: 0 0 0 4px var(--on-lime), 0 0 0 12px rgba(198,244,50,.4), 0 20px 50px rgba(198,244,50,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 17px; font-weight: 700; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.05); } }

/* ---------- Ticker ---------- */
.ticker { background-color: var(--panel); background-image: radial-gradient(var(--dot) 1.5px, transparent 1.8px); background-size: 9px 9px; border-block: 1px solid var(--line); }
.ticker ul { margin: 0 auto; list-style: none; padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-size: 16px; font-weight: 600; color: var(--lime); text-shadow: 0 0 10px rgba(198,244,50,.45); }
.ticker li + li::before { content: '●'; color: #3E5C4C; text-shadow: none; margin-inline-end: 28px; }
.ticker .gold { color: var(--gold); text-shadow: 0 0 10px rgba(245,197,66,.45); }

/* ---------- Sections ---------- */
.section { padding-block: 96px 40px; display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--lime); }
.eyebrow.gold { color: var(--gold); }
h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1.15; }
h2.small { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.2; }
.section-head p, .league-copy > p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--muted); }
h3 { margin: 0; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

/* How to play */
#how { padding-top: 112px; gap: 56px; }
.step { border-radius: 28px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.step-text { padding: 28px 28px 0; display: flex; flex-direction: column; gap: 10px; }
.step-n { align-self: flex-end; width: 44px; height: 44px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: var(--lime); }
.step h3 { font-size: 26px; }
.step p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.step-shot { margin-top: 24px; height: 340px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 100%, rgba(198,244,50,.16), rgba(198,244,50,0) 70%); }
.step-shot .screen { position: absolute; left: 50%; top: 0; width: 240px; height: 420px; margin-left: -120px; border-radius: 30px 30px 0 0; border: 8px solid var(--bezel); border-bottom: none; box-shadow: 0 -10px 40px rgba(0,0,0,.4); object-fit: cover; object-position: top; }
/* Shown until the app screenshot is added: an empty phone with the app's dotted screen. */
.screen.placeholder { background-color: var(--bg); background-image: radial-gradient(var(--dot) 1.4px, transparent 1.7px); background-size: 8px 8px; display: flex; align-items: flex-start; justify-content: center; padding-top: 70px; }
.screen.placeholder svg { opacity: .9; }
.callout { border-radius: 20px; padding: 18px 22px; background: rgba(198,244,50,.08); border: 1px solid rgba(198,244,50,.3); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.callout span { flex: 1 1 300px; font-size: 17px; line-height: 1.6; }
.callout strong { color: var(--lime); }

/* Modes */
.modes-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.pill { height: 36px; padding: 0 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.pill i { width: 8px; height: 8px; border-radius: 999px; background: var(--lime); }
.pill b { color: var(--lime); unicode-bidi: isolate; }
.modes { gap: 20px; }
.mode { position: relative; height: 460px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.mode .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mode .art.placeholder { background-image: radial-gradient(var(--dot) 1.5px, transparent 1.8px), radial-gradient(ellipse at 50% 30%, rgba(198,244,50,.18), rgba(198,244,50,0) 60%); background-size: 10px 10px, auto; display: flex; justify-content: center; padding-top: 90px; }
.mode .fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,15,10,0) 35%, rgba(5,15,10,.92) 78%); }
.mode .tag { position: absolute; top: 18px; right: 18px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(5,15,10,.75); color: var(--lime); font-size: 13px; font-weight: 700; display: flex; align-items: center; }
.mode-text { position: absolute; inset-inline: 0; bottom: 0; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.mode h3 { font-size: 28px; }
.mode p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text-2); }

/* League */
.league { border-radius: 36px; background-color: var(--panel); background-image: radial-gradient(#132E21 1.5px, transparent 1.8px); background-size: 10px 10px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: 56px 48px 0; }
.league-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding-bottom: 56px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { height: 36px; padding: 0 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; font-size: 15px; font-weight: 600; }
.checks { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--text-2); }
.checks li { display: flex; gap: 10px; align-items: center; }
.league-shots { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; align-items: flex-end; gap: 18px; height: 520px; }
.league-shots img { border-radius: 32px 32px 0 0; border: 8px solid var(--bezel); border-bottom: none; box-shadow: 0 -10px 40px rgba(0,0,0,.45); object-fit: cover; object-position: top; }
.league-shots .a { width: 230px; height: 480px; margin-bottom: -40px; }
.league-shots .b { width: 250px; height: 520px; align-self: flex-start; }

/* Fair play */
#fair { gap: 40px; }
.fair { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fair > div { padding: 24px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.fair .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.fair h3 { font-size: 19px; }
.fair p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* FAQ */
#faq { max-width: 860px; gap: 32px; }
#faq h2 { text-align: center; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 18px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.faq details[open] { border-color: rgba(198,244,50,.45); }
.faq summary { cursor: pointer; list-style: none; min-height: 64px; padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 22px 20px; font-size: 16px; line-height: 1.75; color: var(--muted); }

/* Download */
#download { padding-block: 96px; }
.download { position: relative; overflow: hidden; border-radius: 36px; background: var(--lime); color: var(--on-lime); padding: 64px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.download::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(11,31,23,.1) 1.6px, transparent 1.9px); background-size: 12px 12px; }
.download-copy { position: relative; flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.download-copy .mono { align-self: flex-end; font-size: 16px; font-weight: 800; }
.download h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.1; }
.download p { margin: 0; font-size: 19px; line-height: 1.6; color: #2A4A1F; }
.btn-dark { position: relative; min-height: 64px; padding: 0 30px; border-radius: 18px; background: var(--on-lime); color: var(--lime); font-size: 19px; box-shadow: 0 16px 36px rgba(11,31,23,.3); }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer .wrap { padding-block: 32px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer .brand-small { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.footer .brand-small img { width: 36px; height: 36px; border-radius: 10px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px; }
.footer nav a { min-height: 44px; padding: 0 12px; display: flex; align-items: center; color: var(--text-2); font-size: 15px; text-decoration: none; }
.footer nav a:hover { color: var(--text); }

/* ---------- Text pages (privacy) ---------- */
.doc-head { background: var(--bg-deep); border-bottom: 1px solid var(--line); }
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; font-size: 17px; line-height: 1.8; color: var(--text-2); }
.doc h1 { font-size: clamp(34px, 5vw, 48px); color: var(--text); margin-bottom: 8px; }
.doc h2 { font-size: 24px; color: var(--text); margin: 40px 0 8px; }
.doc .updated { color: var(--muted); font-size: 15px; }
.doc ul { padding-inline-start: 22px; }
.doc li { margin-bottom: 6px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 64px 0; }
.doc [lang="en"] { font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1024px) {
  .nav-links a:not(.cta) { display: none; }
  .hero-body { padding-bottom: 72px; }
  .league { padding: 44px 32px 0; }
  .download { padding: 48px 32px; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .nav { padding-block: 16px; }
  .brand img { width: 40px; height: 40px; }
  .hero-body { padding-block: 24px 56px; gap: 40px; }
  .hero-copy { gap: 20px; }
  .btn { width: 100%; justify-content: center; }
  .hero-phone { padding: 16px 28px; }
  .phone { width: 240px; height: 520px; border-radius: 44px; padding: 8px; }
  .phone img { border-radius: 36px; }
  .score-chip { top: 90px; right: -12px; width: 180px; }
  .score-chip .side strong { font-size: 26px; }
  .buzz { width: 92px; height: 92px; bottom: 50px; left: -4px; font-size: 15px; }
  .buzz svg { width: 28px; height: 28px; }
  .ticker ul { justify-content: center; gap: 8px 20px; font-size: 15px; }
  .ticker li + li::before { display: none; }
  .section { padding-block: 72px 24px; gap: 32px; }
  #how { padding-top: 72px; gap: 36px; }
  .grid { grid-template-columns: 1fr; }
  .mode { height: 400px; }
  .league { border-radius: 28px; padding: 32px 20px 0; gap: 24px; }
  .league-copy { padding-bottom: 8px; }
  .league-shots { height: 400px; gap: 12px; }
  .league-shots .a { width: 44%; height: 360px; }
  .league-shots .b { width: 48%; height: 400px; }
  .download { border-radius: 28px; padding: 40px 20px; }
  #download { padding-block: 64px; }
  .faq summary { font-size: 17px; padding: 14px 18px; }
  .faq p { padding: 0 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .buzz { animation: none; }
  .faq summary svg { transition: none; }
}
