/* most-apk.mobi — стили сайта о приложении Mostbet APK */
:root {
  --bg: #DCE4EC;
  --surface: #E8ECF1;
  --navy: #064E98;
  --navy-dark: #04396f;
  --orange: #FA5D00;
  --orange-dark: #d94f00;
  --blue: #4A95E4;
  --blue-dark: #3a7fc9;
  --text: #17233a;
  --muted: #55627a;
  --white: #ffffff;
  --line: #c9d3df;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(6, 78, 152, 0.10);
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(6,78,152,.35); text-underline-offset: 3px; }
a:hover { color: var(--orange); text-decoration-color: currentColor; }
h1, h2, h3, h4 { line-height: 1.22; color: var(--navy-dark); margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 1.9em; scroll-margin-top: 90px; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); margin-top: 1.5em; color: var(--navy); scroll-margin-top: 90px; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
li { margin-bottom: .45em; }
strong { color: var(--navy-dark); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 14px 26px; border-radius: 12px; font-weight: 800; font-size: 1rem;
  text-decoration: none; letter-spacing: .01em; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(250,93,0,.32); }
.btn-orange:hover { background: var(--orange-dark); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(74,149,228,.32); }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .92rem; border-radius: 10px; }
.btn-lg { padding: 17px 34px; font-size: 1.1rem; }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* Шапка */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 12px rgba(6,78,152,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.brand-tag { font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; border-left: 1px solid var(--line); padding-left: 10px; line-height: 1.2; }
.header-actions { display: flex; gap: 10px; align-items: center; }

/* Навигация */
.site-nav { background: var(--navy); }
.site-nav .container { min-width: 0; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-list a {
  display: block; padding: 13px 16px; color: #fff; font-weight: 600; font-size: .95rem;
  text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; transition: background .15s;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { background: rgba(255,255,255,.1); border-bottom-color: var(--orange); color: #fff; }

/* Хлебные крошки */
.breadcrumbs { font-size: .88rem; color: var(--muted); margin: 18px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }

/* Hero */
.hero {
  margin-top: 22px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1d6bc4 100%);
  color: #fff; border-radius: 24px; padding: 40px 36px; position: relative; overflow: hidden;
  box-shadow: 0 18px 44px rgba(6,78,152,.28);
}
.hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.06); }
.hero h1 { color: #fff; margin-bottom: .5em; overflow-wrap: anywhere; }
.hero p.lead { font-size: 1.12rem; color: #e3ecf7; max-width: 720px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 32px; align-items: center; position: relative; z-index: 1; }
.hero-grid > * { min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: .92rem; color: #cfe0f5; }
.hero-meta span::before { content: "✓"; color: #7fd1a1; font-weight: 800; margin-right: 6px; }
.hero-img img { border-radius: 18px; box-shadow: 0 16px 40px rgba(0,0,0,.35); }

/* Быстрые факты */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 26px 0 8px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.fact b { display: block; font-size: 1.3rem; color: var(--navy); }
.fact span { font-size: .88rem; color: var(--muted); }

/* Раскладка */
.layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 32px; margin-top: 30px; align-items: start; }
.content { min-width: 0; }
.article { background: var(--white); border-radius: var(--radius); padding: 34px 38px; box-shadow: var(--shadow); }
.article > h2:first-child { margin-top: 0; }

/* Оглавление */
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 28px; }
.toc summary { font-weight: 800; color: var(--navy-dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc summary::after { content: "▾"; transition: transform .2s; }
.toc[open] summary::after { transform: rotate(180deg); }
.toc ol { margin: 14px 0 0; padding-left: 1.3em; columns: 2; column-gap: 28px; font-size: .95rem; }
.toc li { break-inside: avoid; margin-bottom: .4em; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Картинки в тексте */
.figure { margin: 28px 0; }
.figure img { border-radius: 14px; box-shadow: var(--shadow); width: 100%; }
.figure.narrow img { max-width: 520px; margin: 0 auto; }
.figure.tall img { max-width: 340px; margin: 0 auto; }
.figure figcaption { font-size: .86rem; color: var(--muted); text-align: center; margin-top: 10px; }
.figure-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; align-items: start; }

/* Блоки */
.callout { border-left: 5px solid var(--orange); background: #fff7f1; padding: 16px 20px; border-radius: 10px; margin: 22px 0; }
.callout.blue { border-left-color: var(--blue); background: #eef5fd; }
.callout.green { border-left-color: #2fa866; background: #eefaf2; }
.callout p:last-child { margin-bottom: 0; }
.promo {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(120deg, var(--navy) 0%, #1d6bc4 100%); color: #fff;
  border-radius: 16px; padding: 22px 26px; margin: 30px 0;
}
.promo b { font-size: 1.15rem; display: block; }
.promo .code { display: inline-block; background: #fff; color: var(--navy-dark); font-weight: 900; padding: 8px 16px; border-radius: 10px; letter-spacing: .12em; font-size: 1.15rem; margin-left: 6px; border: 2px dashed var(--orange); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 18px 0 24px; }
.steps li { position: relative; padding-left: 54px; margin-bottom: 14px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.table-wrap { overflow-x: auto; margin: 18px 0 24px; border-radius: 12px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; background: #fff; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface); color: var(--navy-dark); font-weight: 800; }
tr:last-child td { border-bottom: 0; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 24px; }
.pros-cons div { background: var(--surface); border-radius: 12px; padding: 16px 20px; }
.pros-cons h3 { margin-top: 0; font-size: 1.05rem; }
.pros-cons ul { margin: 0; padding-left: 1.2em; }
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 26px; }
.card { background: var(--surface); border-radius: 14px; padding: 18px 20px; border: 1px solid var(--line); }
.card h3 { margin: 0 0 .4em; font-size: 1.05rem; }
.card p { margin: 0; font-size: .95rem; color: var(--muted); }
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 24px; }
.review { background: var(--surface); border-radius: 14px; padding: 18px 20px; font-size: .96rem; }
.review .stars { color: #f5a623; letter-spacing: 2px; }
.review .author { color: var(--muted); font-size: .86rem; margin-top: 8px; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy-dark); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--orange); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--text); }

/* Сайдбар */
.sidebar { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 18px; }
.widget { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.widget h3 { margin: 0 0 12px; font-size: 1.05rem; }
.widget .btn { width: 100%; }
.widget ul { margin: 0; padding-left: 1.2em; font-size: .93rem; }
.widget img { border-radius: 12px; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: .9rem; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 700; color: var(--navy-dark); }
.widget-dark { background: linear-gradient(160deg, var(--navy-dark), var(--navy)); color: #fff; }
.widget-dark h3 { color: #fff; }
.widget-dark .code { display: block; text-align: center; background: #fff; color: var(--navy-dark); font-weight: 900; padding: 10px; border-radius: 10px; letter-spacing: .14em; font-size: 1.25rem; border: 2px dashed var(--orange); margin: 10px 0 14px; }

/* CTA */
.cta {
  margin: 36px 0 0; background: linear-gradient(120deg, var(--orange) 0%, #ff8a3d 100%); color: #fff;
  border-radius: 20px; padding: 32px 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  box-shadow: 0 14px 36px rgba(250,93,0,.3);
}
.cta h2 { color: #fff; margin: 0 0 .3em; font-size: 1.5rem; }
.cta p { margin: 0; color: #fff4ec; }
.cta .btn-blue { box-shadow: 0 8px 20px rgba(0,0,0,.18); }

/* Футер */
.site-footer { margin-top: 48px; background: var(--navy-dark); color: #b9cbe3; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 40px 0 26px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.site-footer a { color: #dbe7f5; }
.site-footer a:hover { color: #ffb385; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-logo img { height: 34px; width: auto; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; }
.age { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid #ffb385; border-radius: 50%; color: #fff; font-weight: 800; font-size: .85rem; margin-right: 10px; }

/* Мобильная фиксированная панель */
.mobile-bar { display: none; }

/* Адаптив */
@media (max-width: 980px) {
  .layout { grid-template-columns: minmax(0,1fr); }
  .sidebar { position: static; }
  .hero-grid { grid-template-columns: minmax(0,1fr); }
  .hero-img img { max-width: min(560px, 100%); margin: 0 auto; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .grid-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 14px; }
  .header-inner { min-height: 62px; }
  .brand img { height: 30px; }
  .brand-tag { display: none; }
  .header-actions .btn { padding: 9px 13px; font-size: .84rem; }
  .hero { padding: 26px 18px; border-radius: 18px; }
  .hero-actions .btn { width: 100%; }
  .btn-lg { white-space: normal; max-width: 100%; text-align: center; padding: 15px 20px; font-size: 1rem; }
  .btn { white-space: normal; }
  .article { padding: 22px 16px; border-radius: 14px; }
  .toc ol { columns: 1; }
  .figure-row, .pros-cons, .reviews, .grid-cards, .facts, .footer-grid { grid-template-columns: minmax(0,1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .fact { padding: 12px 14px; }
  .fact b { font-size: 1.05rem; }
  .fact span { font-size: .8rem; }
  .cta { padding: 24px 18px; }
  .cta .btn { width: 100%; }
  .promo { padding: 18px; }
  .promo .btn { width: 100%; }
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(232,236,241,.96);
    border-top: 1px solid var(--line); backdrop-filter: blur(8px);
  }
  .mobile-bar .btn { flex: 1; padding: 13px 10px; font-size: .95rem; }
  body { padding-bottom: 76px; }
}

/* Рейтинг / E-E-A-T */
.rating-bar { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 18px 24px; margin: 22px 0 0; box-shadow: var(--shadow); }
.rating-score { display: flex; flex-direction: column; align-items: center; padding-right: 20px; border-right: 1px solid var(--line); }
.rating-score b { font-size: 2.2rem; line-height: 1; color: var(--navy-dark); }
.rating-score .stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; }
.rating-text { font-size: .93rem; color: var(--muted); }
.rating-text strong { color: var(--navy-dark); }
.rating-meta { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; color: var(--muted); white-space: nowrap; }
.rating-meta b { color: var(--navy-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.updated-note { font-size: .86rem; color: var(--muted); margin: -8px 0 18px; }
@media (max-width: 980px) { .rating-bar { grid-template-columns: auto 1fr; } .rating-meta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 6px 18px; } }
@media (max-width: 640px) { .rating-bar { grid-template-columns: 1fr; padding: 16px; } .rating-score { flex-direction: row; gap: 10px; border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 10px; } .rating-meta { white-space: normal; } }
