/* PUBG Tool website. Same colours as the app: dark navy, blue #1F7BFF, cyan #00D4FF. */
:root {
  --bg: #07090E;
  --bg-2: #0B1120;
  --panel: #111724;
  --panel-2: #0F1E3A;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(31, 123, 255, 0.45);
  --text: #E8EEF8;
  --muted: #9AA7BD;
  --faint: #6B7890;
  --blue: #1F7BFF;
  --blue-hi: #3D8FFF;
  --cyan: #00D4FF;
  --warn: #FFB547;
  --radius: 14px;
  --radius-sm: 10px;
  --display: Bahnschrift, "DIN Alternate", "Segoe UI", system-ui, sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color-scheme: dark;
}
[lang="ar"] { --display: Cairo, Tahoma, sans-serif; --body: Cairo, Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(31, 123, 255, 0.18), transparent 60%),
    radial-gradient(700px 400px at -10% 10%, rgba(0, 212, 255, 0.08), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 16px/1.6 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(38px, 6.4vw, 72px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 12px; }
b, strong { color: #fff; font-weight: 600; }
.accent { color: var(--cyan); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 820px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(7, 9, 14, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); font-weight: 700; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand small { font-family: var(--body); font-weight: 400; font-size: 12px; color: var(--muted); }
.menu { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.menu a:not(.btn) { color: var(--muted); font-size: 15px; }
.menu a:not(.btn):hover { color: var(--text); text-decoration: none; }
.lang { display: flex; gap: 2px; padding: 3px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; }
.lang a { padding: 4px 10px; border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 600; font-family: var(--body); }
[lang="ar"] .lang a { font-family: "Segoe UI", system-ui, sans-serif; }
.lang a:hover { color: var(--text); text-decoration: none; }
.lang a[aria-current] { background: var(--blue); color: #fff; }
@media (max-width: 760px) {
  .menu a:not(.btn) { display: none; }
  .top-in { gap: 10px; }
  .brand small { display: none; }
}
@media (max-width: 420px) {
  .menu .btn-small { display: none; }
  .lang a { padding: 4px 8px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 12px; font-weight: 600; font-size: 16px; border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease; text-align: center; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, var(--blue-hi), var(--blue)); color: #fff; box-shadow: 0 8px 24px -8px rgba(31, 123, 255, 0.7); }
.btn-primary:hover { box-shadow: 0 10px 30px -8px rgba(31, 123, 255, 0.9); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.18); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; background: var(--blue); color: #fff; }
.btn-whatsapp { background: #1FAF5A; color: #fff; }
.btn-discord { background: #5865F2; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.actions.center { justify-content: center; }

/* Sections */
.band { padding: 88px 0; }
.band + .band { border-top: 1px solid var(--line); }
@media (max-width: 600px) { .band { padding: 60px 0; } }
.eyebrow { color: var(--cyan); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 680px; margin-bottom: 36px; }
.card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); }
.fine { color: var(--faint); font-size: 14px; }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.kicker { display: inline-block; color: var(--cyan); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border: 1px solid rgba(0, 212, 255, 0.3); background: rgba(0, 212, 255, 0.06); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px; }
[lang="ar"] .kicker { letter-spacing: 0; font-size: 14px; }
.lead { color: var(--muted); font-size: 19px; max-width: 560px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--faint); font-size: 14px; }
.meta [data-version] { color: var(--muted); }
.hero-shot { margin: 0; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--panel); box-shadow: 0 30px 80px -30px rgba(31, 123, 255, 0.55), 0 0 0 6px rgba(31, 123, 255, 0.06); overflow: hidden; aspect-ratio: 1204 / 740; }
.hero-shot.noimg { background: radial-gradient(circle at 50% 40%, rgba(31, 123, 255, 0.35), transparent 60%), var(--panel); }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 900px) {
  .hero { padding: 48px 0 40px; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
}

/* Video */
.video-frame { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

/* By hand vs PUBG Tool */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare .card { padding: 28px; }
.compare-tool { border-color: var(--line-strong); background: linear-gradient(180deg, rgba(31, 123, 255, 0.12), var(--bg-2)); }
.compare-label { color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.compare-time { font-family: var(--display); font-size: 34px; font-weight: 700; margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 28px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.45em; width: 16px; height: 16px; border-radius: 50%; background: var(--cyan); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 5.1-5.1L12.7 5z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 5.1-5.1L12.7 5z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat; }
.ticks-muted li { color: var(--muted); }
.ticks-muted li::before { background: var(--faint); -webkit-mask: none; mask: none; width: 8px; height: 8px; top: 0.7em; inset-inline-start: 4px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* Features: one row each, a large crop of the app beside the text; rows alternate sides */
.features { display: grid; gap: 24px; }
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; overflow: hidden; transition: border-color .2s ease; }
.feature:hover { border-color: var(--line-strong); }
.feature:nth-child(even) .zoom { order: 2; }
.feature:nth-child(even) .zoom img { border-inline-end: 0; border-inline-start: 1px solid var(--line); }
.zoom { display: block; padding: 0; margin: 0; border: 0; background: #0B0F17; cursor: zoom-in; position: relative; }
.zoom img { width: 100%; height: auto; border-inline-end: 1px solid var(--line); }
.zoom::after { content: "⤢"; position: absolute; inset-inline-end: 12px; bottom: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(7, 9, 14, 0.8); border: 1px solid var(--line); color: var(--text); font-size: 18px; opacity: 0; transition: opacity .2s ease; }
.zoom:hover::after, .zoom:focus-visible::after { opacity: 1; }
.feature-body { padding: 32px 36px; }
.feature-body h3 { font-size: 24px; }
.feature-body p:last-child { color: var(--muted); margin: 0; font-size: 17px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--cyan); background: rgba(0, 212, 255, 0.08); border: 1px solid rgba(0, 212, 255, 0.2); padding: 2px 10px; border-radius: 999px; margin-bottom: 12px; }
.hero-shot img { cursor: zoom-in; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .zoom { order: 0; }
  .zoom img, .feature:nth-child(even) .zoom img { border: 0; border-bottom: 1px solid var(--line); }
  .zoom::after { opacity: 1; }
  .feature-body { padding: 22px; }
}

/* Full-size picture */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(3, 5, 9, 0.88); }
.lightbox img { max-width: 96vw; max-height: 94vh; width: auto; height: auto; border-radius: 10px; border: 1px solid var(--line-strong); cursor: zoom-out; }
.lightbox-close { position: fixed; top: 14px; inset-inline-end: 14px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 22px; cursor: pointer; }

/* Safety */
.safety { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.safety .section-lead { margin-bottom: 0; }
.risk { padding: 24px; border-color: rgba(255, 181, 71, 0.35); background: linear-gradient(180deg, rgba(255, 181, 71, 0.07), var(--bg-2)); }
.risk-title { color: var(--warn); font-weight: 700; margin-bottom: 8px; }
.risk p { color: var(--muted); }
@media (max-width: 820px) { .safety { grid-template-columns: 1fr; gap: 24px; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps > li { padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.steps p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(31, 123, 255, 0.15); color: var(--cyan); font-family: var(--display); font-weight: 700; margin-bottom: 14px; }
.steps-v { grid-template-columns: 1fr; }
.steps-v > li { display: flex; gap: 18px; align-items: flex-start; }
.steps-v .num { flex: none; margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Prices */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.price { padding: 28px; display: flex; flex-direction: column; }
.price h3 { font-size: 22px; margin-bottom: 18px; }
.price-rows { display: grid; gap: 10px; margin-bottom: 18px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.02); }
.price-row span { color: var(--muted); }
.price-row strong { font-family: var(--display); font-size: 26px; font-weight: 700; white-space: nowrap; }
[lang="ar"] .price-row strong { font-family: Bahnschrift, "Segoe UI", sans-serif; }
.price-row.best { border-color: var(--line-strong); background: rgba(31, 123, 255, 0.08); }
.price-row.best strong { color: var(--cyan); }
.pay { color: var(--muted); font-size: 14px; flex: 1; }
.price .btn { align-self: flex-start; }
.prices + .fine { margin-top: 18px; }
@media (max-width: 720px) { .prices { grid-template-columns: 1fr; } }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan); font-size: 22px; line-height: 1; flex: none; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Download */
.list { padding-inline-start: 22px; margin: 0 0 24px; display: grid; gap: 10px; color: var(--muted); }

/* Closer */
.closer { padding: 100px 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(600px 300px at 50% 100%, rgba(31, 123, 255, 0.2), transparent 70%); }
.closer .lead { margin-inline: auto; }

/* Inner pages */
.page-head { padding: 64px 0 8px; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); }
.page-head + .band { border-top: 0; padding-top: 40px; }
.contact { margin-top: 32px; padding: 28px; }
.contact .actions { margin: 16px 0 0; }
.contact .fine { margin: 12px 0 0; }
.notes { color: var(--muted); padding-inline-start: 20px; margin: 24px 0 0; display: grid; gap: 8px; }
.prose h2 { font-size: 24px; margin-top: 36px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-inline-start: 22px; margin: 0 0 12px; }

/* Changelog */
.releases { display: grid; gap: 20px; }
.release { padding: 24px 28px; }
.release header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 12px; }
.release h2 { font-size: 24px; margin: 0; }
.release time { color: var(--faint); font-size: 14px; }
.release h3 { font-size: 16px; margin-top: 18px; color: var(--cyan); }
.release p, .release li { color: var(--muted); }
.release ul { padding-inline-start: 22px; margin: 0 0 10px; }
.fallback { margin-top: 20px; color: var(--muted); }
.fallback[hidden] { display: none; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; background: var(--bg); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--text); }
.foot-note { grid-column: 1 / -1; color: var(--faint); font-size: 13px; margin: 8px 0 0; }
@media (max-width: 700px) {
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
