/* =========================
   Bettilt landing — 2026 UI
   Mobile‑first, clean layout
   ========================= */

/* Base reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #050816;
  color: #f5f6ff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #ffd54a;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #ffe97f;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 1.6rem;
}

h2 {
  font-size: 1.35rem;
}

h3 {
  font-size: 1.1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
}

li {
  margin: 0.25rem 0;
}

@media (min-width: 768px) {
  body {
    font-size: 17px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }
}

/* Layout */

body > div:first-of-type {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(5, 8, 22, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

header img {
  height: 40px;
  width: auto;
}

header + main {
  padding-top: 80px;
}

@media (min-width: 768px) {
  header .container {
    height: 76px;
  }

  header + main {
    padding-top: 96px;
  }
}

.block_navigation {
  margin-left: auto;
}

.block_navigation > a > span {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffc700 0%, #ffea21 100%);
  color: #1d2130;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 0 20px rgba(255, 225, 0, 0.5);
  white-space: nowrap;
}

.block_navigation > a > span:hover {
  filter: brightness(1.05);
  box-shadow: 0 0 26px rgba(255, 235, 0, 0.7);
}

/* Hero */

.hero {
  padding: 32px 0 48px;
  background: radial-gradient(circle at top left, #27346b 0, #050816 55%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hero__text {
  max-width: 520px;
}

.hero__text h1 {
  margin-bottom: 0.75rem;
}

.hero__subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #ffea88;
  margin-bottom: 1rem;
}

.hero__cta {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  color: #1b2130;
  background: linear-gradient(90deg, #ffc700 0%, #ffea21 100%);
  box-shadow: 0 0 22px rgba(255, 220, 0, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.hero__cta:hover,
.hero__cta:focus {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 0 28px rgba(255, 230, 0, 0.9);
}

.hero__banner {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main__image {
  max-width: 560px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
}

/* Content */

.content {
  background: #0b1020;
  padding: 32px 0 56px;
}

.main_seo {
  max-width: 900px;
  margin: 0 auto;
}

.main_seo h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.main_seo h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.main_seo p {
  color: #d9deff;
}

.main_seo h2 + ul {
  /* чуть меньше зазора между заголовком и списком */
  margin-top: 0.25rem;
}

/* generic wrapper for first table */
.bl_ceo {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

/* Tables (cards style) */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  background: #121729;
  border-radius: 12px;
  overflow: hidden;
}

thead th {
  background: #1a2140;
  font-weight: 600;
}

th,
td {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

tbody tr:nth-child(odd) {
  background: #121729;
}

tbody tr:nth-child(even) {
  background: #161c30;
}

@media (max-width: 420px) {
  table {
    font-size: 0.8rem;
  }

  th,
  td {
    padding: 8px;
  }
}

/* Footer */

footer {
  background: #050814;
  padding: 20px 0;
}

footer > div {
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.85rem;
  color: #9ba1c1;
}

/* Scroll to top button */

.scroller {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.scroller__icon {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid #ffffff;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ===== Trust Strip (under hero) ===== */
.trust-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px) {
  .trust-strip { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 213, 74, 0.18);
  border-radius: 14px;
  transition: border-color .2s, background .2s;
}
.trust-chip:hover { border-color: rgba(255, 213, 74, 0.4); background: rgba(255, 213, 74, 0.06); }
.trust-chip svg {
  width: 22px; height: 22px;
  color: #ffd54a; flex-shrink: 0;
}
.trust-chip b { display: block; font-size: 13px; color: #fff; font-weight: 700; line-height: 1.25; }
.trust-chip span { font-size: 11px; color: #9ba1c1; letter-spacing: .3px; }

/* ===== Payment Methods Grid ===== */
.payments {
  margin: 24px 0 8px;
}
.payments h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffea88;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.payments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 640px) { .payments-grid { grid-template-columns: repeat(6, 1fr); } }
.pay-tile {
  background: #fff;
  border-radius: 10px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  transition: transform .15s ease;
}
.pay-tile:hover { transform: translateY(-2px); }
.pay-tile img { max-width: 100%; max-height: 28px; width: auto; height: auto; }

/* ===== FAQ accordion ===== */
.faq-list { margin: 16px 0 24px; }
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 213, 74, 0.14);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.faq-item[open] {
  border-color: rgba(255, 213, 74, 0.45);
  background: rgba(255, 213, 74, 0.06);
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 22px;
  font-size: 1rem;
  font-weight: 700;
  color: #f5f6ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  user-select: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  color: #ffd54a;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item[open] > summary::after { transform: rotate(45deg); }
.faq-item > .faq-body {
  padding: 0 22px 18px;
  color: #d9deff;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Mobile Sticky CTA ===== */
.mobile-fab {
  position: fixed;
  bottom: 14px;
  left: 50%;
  z-index: 60;
  transform: translateX(-50%) translateY(140%);
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffc700 0%, #ffea21 100%);
  color: #1b2130;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(255, 220, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s ease;
  display: none;
  white-space: nowrap;
  min-height: 48px;
  line-height: 20px;
}
.mobile-fab.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 768px) {
  .mobile-fab { display: inline-flex; align-items: center; }
  body { padding-bottom: env(safe-area-inset-bottom); }
}

/* ===== Section dividers ===== */
.main_seo h2 {
  position: relative;
  padding-top: 1.5rem;
}
.main_seo h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, #ffc700, transparent);
  border-radius: 2px;
}

/* Promo cards (figure with image) */
.promo-card {
  margin: 18px 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 213, 74, 0.15);
}
.promo-card img { width: 100%; height: auto; display: block; }

