/* =========================================================
   Информационные обзоры брендов — общий стиль
   Спокойная, нейтральная, справочная эстетика.
   Mobile-first. Без агрессивных цветов и иллюстраций.
   ========================================================= */

:root {
  --bg:            #f4f3ef;
  --bg-soft:       #ecebe5;
  --card:          #ffffff;
  --ink:           #23262b;
  --ink-soft:      #565b63;
  --ink-faint:     #8a909a;
  --line:          #e3e1d9;
  --line-strong:   #d4d1c6;

  /* нейтральный приглушённый акцент по умолчанию */
  --accent:        #4a6670;
  --accent-soft:   #e7eef0;
  --accent-ink:    #2f474f;

  --radius:        18px;
  --radius-sm:     12px;
  --maxw:          840px;

  --shadow:        0 1px 2px rgba(35, 38, 43, .04),
                   0 8px 24px rgba(35, 38, 43, .05);
  --shadow-soft:   0 1px 2px rgba(35, 38, 43, .04);

  --font-display:  "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:     "IBM Plex Sans", system-ui, -apple-system, "Segoe UI",
                   Roboto, Arial, sans-serif;
}

/* ---- акценты по брендам (приглушённые, без кричащих тонов) ---- */
.brand-fonbet      { --accent:#3f5a73; --accent-soft:#e6ecf2; --accent-ink:#2c4258; }
.brand-winline     { --accent:#3f7a72; --accent-soft:#e3efed; --accent-ink:#2c5a54; }
.brand-betboom     { --accent:#6b5878; --accent-soft:#ece7f1; --accent-ink:#4d3f59; }
.brand-leon        { --accent:#5a6b45; --accent-soft:#eaeee0; --accent-ink:#414e31; }
.brand-liga-stavok { --accent:#566273; --accent-soft:#e8eaef; --accent-ink:#3d4757; }
.brand-pari        { --accent:#3d6f86; --accent-soft:#e3eef2; --accent-ink:#2b5266; }
.brand-betcity     { --accent:#8a6a52; --accent-soft:#f1eae2; --accent-ink:#664d3a; }
.brand-olimpbet    { --accent:#3c6f5c; --accent-soft:#e3efe9; --accent-ink:#2a5142; }

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* мягкая абстрактная атмосфера фона, без изображений */
  background-image:
    radial-gradient(1200px 480px at 110% -10%, var(--accent-soft) 0%, transparent 55%),
    radial-gradient(900px 420px at -10% 4%, var(--bg-soft) 0%, transparent 60%);
  background-attachment: fixed;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 18px 56px;
}

/* ====================== HERO ====================== */
.hero {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}
.hero::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: .55;
  filter: blur(2px);
  pointer-events: none;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  padding: 5px 11px;
  border-radius: 999px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 16px 0 6px;
  position: relative;
  z-index: 1;
}

.hero .subtitle {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.hero .lead {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  position: relative;
  z-index: 1;
}

/* ====================== SECTIONS ====================== */
section { margin-top: 24px; }

.kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 12px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.01em;
  margin: 0 0 12px;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px;
  box-shadow: var(--shadow-soft);
}

.panel p { margin: 0; color: var(--ink-soft); }
.panel p + p { margin-top: 10px; }

/* акцентная панель с левой полосой */
.panel--accent {
  border-left: 4px solid var(--accent);
}

/* ====================== CARDS GRID ====================== */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 16px;
  box-shadow: var(--shadow-soft);
}

.card .dot {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.card .dot span {
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--accent);
  display: block;
}

.card h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 5px;
  color: var(--ink);
}
.card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ====================== NOTE / RESPONSIBLE ====================== */
.note {
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--ink-soft);
}

.responsible {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 20px;
  box-shadow: var(--shadow-soft);
}
.responsible p { margin: 0; color: var(--ink-soft); }

/* нижняя справочная плашка (неактивная) */
.tag-static {
  margin-top: 26px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-faint);
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(255,255,255,.5);
}

/* нижний дисклеймер */
.disclaimer {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-faint);
  padding: 0 4px;
}
.disclaimer strong { color: var(--ink-soft); font-weight: 600; }

/* ====================== INDEX (техническая страница) ====================== */
.tech {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech .panel { max-width: 520px; text-align: center; }
.tech h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  margin: 0 0 12px;
}

/* ====================== RESPONSIVE ====================== */
@media (min-width: 620px) {
  .wrap { padding: 32px 24px 64px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero { padding: 36px 32px 32px; }
  .panel, .responsible { padding: 24px 26px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero, section { animation: rise .5s ease both; }
  section:nth-of-type(1) { animation-delay: .05s; }
  section:nth-of-type(2) { animation-delay: .10s; }
  section:nth-of-type(3) { animation-delay: .15s; }
  section:nth-of-type(4) { animation-delay: .20s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
