/* Public landing pages (/uk/, /ru/): a one-screen business card. Static, no framework: the point is
   that a crawler reads the text and a visitor reaches the Telegram group in one tap.
   Same "Matchday" palette and fonts as the Mini App (night pitch, lime action, Oswald headings). */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/inter-v20-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/inter-v20-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/inter-v20-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url('/fonts/oswald-v57-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url('/fonts/oswald-v57-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  color-scheme: dark light;
  --bg: #070d16;
  --panel: #0d1725;
  --panel-2: #101d2d;
  --line: rgba(102, 167, 226, 0.22);
  --ink: #f5f7fb;
  --lead: #dbe4f1;
  --muted: #aebbd0;
  --lime: #c6f432;          /* the action fill: a button is lime in both themes */
  --on-lime: #0b1405;
  --accent: #4db3ff;        /* accent text and lines: light blue by night, brand blue by day */
  --accent-soft: rgba(77, 179, 255, 0.12);
  --accent-line: rgba(77, 179, 255, 0.4);
  --glow: rgba(0, 104, 220, 0.22);
  --chip-bg: rgba(7, 13, 22, 0.55);
  --btn-shadow: rgba(198, 244, 50, 0.4);
  --bg-rgb: 7, 13, 22;
  --radius: 18px;
}

/* Light theme, picked from the system like the Mini App does: white and brand blue, lime kept
   for the action fill. */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f6fb;
    --panel: #ffffff;
    --panel-2: #ffffff;
    --line: rgba(14, 26, 48, 0.12);
    --ink: #0e1a30;
    --lead: #2b3a55;
    --muted: #54637d;
    --accent: #1f56d6;
    --accent-soft: rgba(31, 86, 214, 0.08);
    --accent-line: rgba(31, 86, 214, 0.3);
    --glow: rgba(31, 86, 214, 0.14);
    --chip-bg: rgba(255, 255, 255, 0.75);
    --btn-shadow: rgba(31, 86, 214, 0.3);
    --bg-rgb: 243, 246, 251;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3, p { margin-top: 0; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico.solid { fill: currentColor; stroke: none; }

/* the skewed bar that opens every heading */
.bar { display: block; width: 36px; height: 6px; flex: none; transform: skew(-28deg);
  background: linear-gradient(90deg, #087bff, #20b7ff); }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; display: block; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font: italic 700 24px/1 'Oswald', 'Inter', sans-serif; letter-spacing: 0.02em; text-transform: uppercase; }
.brand small { margin-top: 5px; font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.langs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--chip-bg); }
.langs a { min-width: 44px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14px; }
.langs a[aria-current='page'] { background: var(--lime); color: var(--on-lime); }

/* hero: the photo sits behind the text on a phone and on the right on a screen */
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(70% 60% at 85% 0%, var(--glow), transparent 70%), url('/img/landing/hero.jpg') 62% center / cover no-repeat, var(--panel); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0.6) 0%, rgba(var(--bg-rgb), 0.9) 60%, var(--bg) 100%); }
.hero .wrap { padding-top: 6px; padding-bottom: 30px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: var(--lead);
  font: 700 11px/1.3 'Inter', sans-serif; letter-spacing: 0.18em; text-transform: uppercase; }
h1 { margin: 0 0 14px; font: italic 700 clamp(37px, 10.4vw, 74px)/1.14 'Oswald', 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0; }
h1 span, h1 em { display: block; }
h1 em { font-style: italic; color: var(--accent); }
.lead { margin: 0 0 22px; max-width: 470px; font-size: clamp(16px, 2.4vw, 18px); line-height: 1.5; color: var(--lead); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 24px;
  border-radius: 15px; background: var(--lime); color: var(--on-lime); text-decoration: none; text-transform: uppercase; letter-spacing: 0.02em;
  font: 800 15px/1 'Inter', sans-serif; box-shadow: 0 10px 30px -8px var(--btn-shadow); transition: transform 0.2s, filter 0.2s; }
.btn .ico { font-size: 22px; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.hero .btn { width: 100%; }

.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--lead); font-size: 13px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.facts .ico { font-size: 20px; color: var(--accent); }

/* sections */
section { padding: 34px 0 0; }
.heading { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
h2 { margin: 0; font: italic 700 clamp(25px, 6.6vw, 34px)/1.15 'Oswald', 'Inter', sans-serif; text-transform: uppercase; }
.sub { margin: 0 0 18px; color: var(--muted); font-size: 14px; }

/* formats: swipe on a phone, three across on a screen */
.formats { display: flex; gap: 11px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.formats::-webkit-scrollbar { display: none; }
.format { position: relative; flex: 0 0 78%; height: 190px; scroll-snap-align: start; overflow: hidden; isolation: isolate;
  border: 1px solid var(--accent-line); border-radius: 16px; background: var(--panel); color: #f5f7fb; }
.format img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.format::after { content: ''; position: absolute; inset: 30% 0 0; z-index: 1; background: linear-gradient(0deg, rgba(3, 10, 18, 0.96), transparent); }
.format div { position: absolute; z-index: 2; left: 16px; right: 14px; bottom: 14px; }
.format h3 { margin: 0 0 3px; font: italic 700 21px/1.15 'Oswald', 'Inter', sans-serif; text-transform: uppercase; }
.format p { margin: 0; font-size: 13px; color: #d8e2ed; }

/* why us */
.why { margin-top: 34px; padding: 30px 0 4px; border-top: 1px solid var(--line); }
.why .heading { margin-bottom: 14px; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.benefits li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 12px 8px;
  text-align: center; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; line-height: 1.3; }
.benefits li:nth-child(odd) { border-right: 1px solid var(--line); }
.benefits li:last-child { grid-column: 1 / -1; border-right: 0; }
.benefits .ico { font-size: 28px; color: var(--accent); }

/* community */
.community { padding-top: 30px; }
.community figure { margin: 0; height: 210px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.community img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.community .copy { padding: 18px 2px 0; }
.community h2 { margin: 12px 0 10px; font-size: clamp(30px, 8.4vw, 42px); line-height: 1.1; }
.community p { margin: 0; color: var(--lead); max-width: 440px; }

/* closing call */
.final { position: relative; overflow: hidden; margin: 34px 16px 0; padding: 26px 20px; border-radius: 18px; color: #fff;
  background: linear-gradient(110deg, #0055dc, #087dff 58%, #063b8b); }
.final::after { content: ''; position: absolute; width: 280px; height: 280px; right: -60px; top: -150px; border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%; box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.04), 0 0 0 60px rgba(255, 255, 255, 0.03); }
.final > * { position: relative; z-index: 1; }
.final h2 { margin: 0 0 18px; font-size: clamp(25px, 7vw, 30px); }
.final .btn { width: 100%; padding: 0 12px; font-size: 14px; letter-spacing: 0; }

footer { padding: 22px 0 100px; color: var(--muted); font-size: 13px; text-align: center; }
footer a { color: var(--muted); }

/* a thumb-reach call to action while the visitor reads on a phone */
.dock { position: fixed; inset: auto 0 0 0; z-index: 10; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(var(--bg-rgb), 0.95) 40%);
  opacity: 0; transform: translateY(100%); pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.dock.on { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .dock, .btn, .format img { transition: none; } html { scroll-behavior: auto; } }
.dock .btn { width: 100%; }

@media (min-width: 720px) {
  .wrap { padding: 0 28px; }
  body { font-size: 17px; }
  .top { padding: 20px 0; }
  .brand img { width: 46px; height: 46px; }
  .brand strong { font-size: 28px; }
  .brand small { font-size: 10px; }
  .hero { min-height: 540px; display: flex; align-items: center; }
  .hero .wrap { padding-top: 0; padding-bottom: 56px; }
  .hero > .wrap { display: block; }
  .hero::before { inset: 0 0 0 34%; background-position: center 43%; }
  .hero::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(var(--bg-rgb), 0.97) 24%, rgba(var(--bg-rgb), 0.72) 42%, rgba(var(--bg-rgb), 0.05) 75%),
    linear-gradient(0deg, rgba(var(--bg-rgb), 0.5), transparent 35%); }
  .eyebrow { margin-top: 36px; font-size: 12px; letter-spacing: 0.24em; }
  h1 { font-size: clamp(54px, 6vw, 76px); line-height: 1.04; max-width: 650px; margin-bottom: 18px; }
  .lead { margin-bottom: 26px; }
  .btn { min-height: 58px; padding: 0 30px; font-size: 16px; }
  .hero .btn { width: auto; }
  .facts { gap: 12px 28px; font-size: 14px; margin-top: 26px; }
  section { padding-top: 56px; }
  .heading { margin-bottom: 14px; }
  .sub { font-size: 15px; margin-bottom: 22px; }
  .formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; overflow: visible; margin: 0; padding: 0; }
  .format { flex: none; height: 230px; border-radius: 20px; }
  .format:hover img { transform: scale(1.04); }
  .format h3 { font-size: 23px; }
  .format p { font-size: 14px; }
  .why { margin-top: 56px; padding-top: 30px; display: grid; grid-template-columns: 1.1fr 5fr; align-items: center; gap: 10px; }
  .why .heading { margin: 0; }
  .benefits { grid-template-columns: repeat(5, 1fr); }
  .benefits li { border-top: 0; border-left: 1px solid var(--line); border-right: 0 !important; min-height: 84px; font-size: 14px; }
  .benefits li:last-child { grid-column: auto; }
  .community { padding-top: 56px; }
  .cgrid { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 40px; }
  .community figure { height: 300px; border-radius: 20px; }
  .community .copy { padding: 0; }
  .final { width: calc(100% - 56px); max-width: 1124px; margin: 56px auto 0; padding: 34px 40px; border-radius: 24px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
  .final h2 { margin: 0; font-size: 32px; max-width: 460px; }
  .final .btn { width: auto; flex: none; padding: 0 30px; font-size: 16px; letter-spacing: 0.02em; }
  footer { padding-bottom: 40px; }
  .dock { display: none; }
}
