/* 1xbetmobilaze.com — style.css
   Dark "mobile app" theme. No JS, system fonts, mobile-first,
   cross-browser fallbacks throughout. */

:root {
  --night: #0d1320;
  --panel: #151d2d;
  --panel-2: #1b2537;
  --ink: #edf1f8;
  --muted: #97a3b9;
  --gold: #f0b429;
  --gold-deep: #c98d0a;
  --azure: #43b9f0;
  --mint: #3fce9a;
  --danger: #ff8f6b;
  --hair: rgba(255, 255, 255, 0.09);
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --fs-0: clamp(0.98rem, 0.93rem + 0.25vw, 1.06rem);
  --fs-1: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --fs-2: clamp(1.45rem, 1.25rem + 1vw, 1.9rem);
  --fs-3: clamp(1.9rem, 1.5rem + 2.2vw, 2.9rem);
  --w: 68rem;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  background: var(--night);
  background-image:
    radial-gradient(60rem 30rem at 85% -5%, rgba(67, 185, 240, 0.10), transparent 60%),
    radial-gradient(50rem 26rem at -10% 25%, rgba(240, 180, 41, 0.07), transparent 55%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-0);
  line-height: 1.7;
  padding-bottom: 4.6rem; /* room for the bottom tab bar on mobile */
}

.shell { width: min(100% - 2.2rem, var(--w)); margin-inline: auto; }

a { color: var(--azure); text-underline-offset: 3px; }
a:hover { color: #7fd2fa; }

a:focus, button:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
a:focus:not(:focus-visible) { outline: none; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: #221a02; font-weight: 700;
  padding: 0.7rem 1.2rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* ---------- Header (desktop nav) ---------- */
.masthead {
  border-bottom: 1px solid var(--hair);
  background: rgba(13, 19, 32, 0.85);
  position: sticky; top: 0; z-index: 40;
}
@supports (backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px)) {
  .masthead { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}
.masthead .shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 3.6rem;
}
.logo {
  text-decoration: none; color: var(--ink);
  font-weight: 800; letter-spacing: 0.01em; font-size: 1.02rem;
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px;
}
.logo .spark {
  width: 0.9rem; height: 0.9rem; border-radius: 3px;
  background: linear-gradient(135deg, var(--gold), var(--azure));
  display: inline-block; flex: none;
}
.logo small { color: var(--muted); font-weight: 500; }

.topnav ul { display: none; list-style: none; padding: 0; gap: 0.2rem; }
.topnav a {
  text-decoration: none; color: var(--muted); font-size: 0.92rem; font-weight: 600;
  padding: 0.5rem 0.85rem; border-radius: 999px; display: inline-block;
}
.topnav a:hover { color: var(--ink); background: var(--panel-2); }

.agepill {
  border: 1.5px solid var(--gold); color: var(--gold);
  border-radius: 999px; padding: 0.1rem 0.6rem;
  font-weight: 800; font-size: 0.82rem; white-space: nowrap;
}

/* ---------- Bottom tab bar (mobile signature) ---------- */
.tabbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
  background: rgba(21, 29, 45, 0.97);
  border-top: 1px solid var(--hair);
  padding: 0.35rem max(0.4rem, env(safe-area-inset-left)) max(0.4rem, env(safe-area-inset-bottom));
}
.tabbar ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; justify-content: space-around;
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  text-decoration: none; color: var(--muted);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em;
  min-width: 56px; min-height: 44px; justify-content: center; border-radius: var(--r-sm);
}
.tabbar a:hover { color: var(--gold); }
.tabbar .glyph { font-size: 1.05rem; line-height: 1; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.2rem, 6vw, 4.5rem) 0 clamp(1.8rem, 4vw, 3rem); }
.hero .shell { display: grid; gap: 2rem; align-items: center; }
.kicker {
  color: var(--gold); font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.8rem;
}
h1 {
  font-size: var(--fs-3); line-height: 1.12; letter-spacing: -0.02em;
  font-weight: 800; max-width: 22ch; margin-bottom: 1rem;
}
h1 em { font-style: normal; color: var(--azure); }
.sub { color: var(--muted); font-size: var(--fs-1); max-width: 56ch; margin-bottom: 1.4rem; }
.sub strong { color: var(--ink); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.3rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 50px; padding: 0.7rem 1.5rem; border-radius: var(--r-md);
  font-weight: 800; font-size: 1rem; text-decoration: none;
}
.btn-gold { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #241b02; }
.btn-gold:hover { filter: brightness(1.07); color: #241b02; }
.btn-line { border: 1.5px solid var(--hair); color: var(--ink); background: var(--panel); }
.btn-line:hover { border-color: var(--azure); color: var(--azure); }

.hero-notes { font-size: 0.86rem; color: var(--muted); display: grid; gap: 0.35rem; }
.hero-notes a { color: var(--muted); }
.hero-notes b { color: var(--ink); font-weight: 600; }

.phone-wrap { text-align: center; }
.phone-wrap img { width: min(100%, 21rem); height: auto; }

/* ---------- Sections ---------- */
main section { padding: clamp(1.6rem, 4vw, 2.8rem) 0; scroll-margin-top: 4.6rem; }
main section + section { border-top: 1px solid var(--hair); }

.numline {
  display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 1.1rem;
}
.numline .n {
  font-size: 0.8rem; font-weight: 800; color: var(--night);
  background: var(--azure); border-radius: 7px; padding: 0.1rem 0.5rem; flex: none;
}
h2 { font-size: var(--fs-2); line-height: 1.22; letter-spacing: -0.015em; font-weight: 800; }
h3 { font-size: var(--fs-1); font-weight: 700; margin: 1.3rem 0 0.5rem; }
p { margin-bottom: 1rem; max-width: 68ch; }
ul, ol { padding-left: 1.25rem; margin-bottom: 1rem; }
li { margin-bottom: 0.5rem; }
li::marker { color: var(--gold); }

/* Path chooser cards */
.paths { display: grid; gap: 0.9rem; margin-top: 1.2rem; }
.path {
  display: block; text-decoration: none; color: var(--ink);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--hair); border-radius: var(--r-lg);
  padding: 1.1rem 1.2rem;
}
.path:hover { border-color: var(--azure); color: var(--ink); }
.path .tag {
  display: inline-block; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 0.4rem;
}
.path h3 { margin: 0 0 0.3rem; }
.path p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.path .go { color: var(--azure); font-weight: 700; font-size: 0.9rem; }

/* Decision list (dl) */
.decide { border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden; margin: 1.2rem 0; }
.decide > div { padding: 1rem 1.2rem; background: var(--panel); }
.decide > div:nth-child(even) { background: var(--panel-2); }
.decide dt { font-weight: 800; color: var(--gold); margin-bottom: 0.25rem; }
.decide dd { margin: 0; color: var(--muted); max-width: none; }
.decide dd b { color: var(--ink); }

/* Timeline steps */
.timeline { list-style: none; padding: 0; margin: 1.3rem 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 0.85rem; top: 0.4rem; bottom: 0.4rem;
  width: 2px; background: linear-gradient(180deg, var(--azure), var(--mint));
}
.timeline li { position: relative; padding: 0 0 1.2rem 2.6rem; margin: 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0.35rem; top: 0.35rem;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--night); border: 3px solid var(--azure);
}
.timeline b { color: var(--azure); }
.timeline .t-note { color: var(--muted); font-size: 0.92rem; }

/* Spec strip (system requirements) */
.specs { display: grid; gap: 0.9rem; margin: 1.2rem 0; }
.spec {
  background: var(--panel); border: 1px solid var(--hair);
  border-radius: var(--r-md); padding: 0.95rem 1.1rem;
}
.spec .k {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem;
}
.spec .v { font-weight: 800; font-size: 1.1rem; }
.spec .d { color: var(--muted); font-size: 0.88rem; margin: 0.2rem 0 0; }

/* Feature rows */
.feat { display: grid; gap: 1rem; margin-top: 1.2rem; }
.feat article {
  border-left: 3px solid var(--gold);
  padding: 0.2rem 0 0.2rem 1rem;
}
.feat h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.feat p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Callouts */
.callout {
  border: 1px solid var(--hair); border-radius: var(--r-md);
  background: var(--panel-2); padding: 1rem 1.2rem; margin: 1.1rem 0; max-width: 68ch;
}
.callout.amber { border-color: rgba(240, 180, 41, 0.45); background: rgba(240, 180, 41, 0.08); }
.callout.red { border-color: rgba(255, 143, 107, 0.45); background: rgba(255, 143, 107, 0.07); }
.callout p:last-child { margin-bottom: 0; }
.callout .cap { font-weight: 800; color: var(--gold); display: block; margin-bottom: 0.3rem; }
.callout.red .cap { color: var(--danger); }

/* Table (troubleshooting) */
.tblwrap { overflow-x: auto; margin: 1.1rem 0; border: 1px solid var(--hair); border-radius: var(--r-md); }
table { border-collapse: collapse; width: 100%; min-width: 36rem; font-size: 0.93rem; }
caption {
  caption-side: top; text-align: left; color: var(--muted);
  font-size: 0.82rem; font-weight: 700; padding: 0.7rem 1rem 0.4rem;
}
th, td { padding: 0.65rem 0.9rem; text-align: left; vertical-align: top; border-top: 1px solid var(--hair); }
thead th { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; border-top: 0; }
tbody tr:hover { background: var(--panel-2); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  cursor: pointer; font-weight: 700; padding: 0.95rem 0.2rem;
  min-height: 44px; list-style-position: inside; color: var(--ink);
}
.faq summary::marker { color: var(--gold); }
.faq summary:hover { color: var(--gold); }
.faq .a { padding: 0 0.2rem 1rem; color: var(--muted); }
.faq .a p { max-width: 66ch; }

/* Transparency trio */
.trio { display: grid; gap: 1rem; margin-top: 1.2rem; }
.trio > div {
  background: var(--panel); border: 1px solid var(--hair);
  border-radius: var(--r-lg); padding: 1.2rem 1.3rem;
}
.trio h3 { margin-top: 0; }
.trio p, .trio li { color: var(--muted); font-size: 0.94rem; }
.trio p b { color: var(--ink); }

.security-visual { text-align: center; margin: 1.4rem 0; }
.security-visual img { width: min(100%, 17rem); height: auto; }

/* Footer */
.foot {
  border-top: 1px solid var(--hair);
  padding: 2rem 0 2.5rem; color: var(--muted); font-size: 0.9rem;
}
.foot .shell { display: grid; gap: 1.2rem; }
.foot a { color: var(--ink); }
.foot ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.3rem; }
.foot li { margin: 0; }
.foot p { max-width: none; }
.foot .stamp { font-size: 0.82rem; border-top: 1px solid var(--hair); padding-top: 1rem; }

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .paths { grid-template-columns: repeat(3, 1fr); }
  .specs { grid-template-columns: repeat(3, 1fr); }
  .feat { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .topnav ul { display: flex; }
  .hero .shell { grid-template-columns: 1.15fr 0.85fr; }
  .decide { display: grid; grid-template-columns: 1fr 1fr; }
  .decide > div:nth-child(even) { background: var(--panel); border-left: 1px solid var(--hair); }
  .decide > div:nth-child(n+3) { border-top: 1px solid var(--hair); }
}
