*{box-sizing:border-box}
:root{
  --bg:#ebecf0;
  --text:#212145;
  --muted:#68687a;
  --tg:#5DA7D1;
  --fb:#1877F2;
  --white:#fff;
}
body{margin:0;background:var(--bg);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text)}

.page{max-width:900px;margin:0 auto;padding:18px}
.topbar{display:flex;align-items:center;justify-content:flex-start;margin-bottom:16px}
.brand{display:flex;align-items:center;gap:10px}
.brand-mark{width:28px;height:28px}
.brand-name{font-weight:700}
.card{background:transparent;margin-bottom:22px}
h1{font-size:35px;line-height:1.15;margin:50px 0 25px;text-align:center}
.lead{color:var(--muted);text-align:center;line-height:1.5;margin:0 auto;max-width:92%}
.cta-row{display:flex;gap:16px;justify-content:center;margin-top:18px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:150px;height:56px;padding:0 18px;border-radius:22px;color:var(--white);text-decoration:none;font-weight:600;box-shadow:0 10px 18px rgba(0,0,0,.12)}
.btn .icon{font-weight:700}
.btn-telegram{background:var(--tg)}
.btn-facebook{background:var(--fb)}
.video{position:relative}
.video-img{width:100%;display:block;border-radius:22px;box-shadow:0 10px 22px rgba(0,0,0,.12);border:2px solid rgba(255,255,255,.5)}
.video-title{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#fff;font-weight:700;font-size:18px;text-align:center;text-shadow:0 2px 6px rgba(0,0,0,.4)}
.footer{display:flex;flex-direction:column;align-items:center;gap:8px;margin:30px 0 10px}
.footer-logo{height:36px;opacity:.9}
@media (min-width:480px){
  h1{font-size:32px}
  .btn{min-width:180px}
}
.video-player {
  width: 100%;        /* растянется на ширину блока */
  max-width: 720px;   /* ограничение, чтобы на десктопе не был слишком большой */
  height: auto;       /* пропорции сохраняются */
  border-radius: 20px;/* скругления как у карточки */
  display: block;
  margin: 0 auto;     /* по центру */
}
.modal {
  display: none; /* Скрыто по умолчанию */
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.8);
}
.modal-content {
  position: relative;
  max-width: 900px;
  margin: 5% auto;
  padding: 0;
}
.modal-content video {
  width: 100%; height: auto;
  border-radius: 8px;
}
.close {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 28px;
  color: white;
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
  height: 56px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  font-size: 16px;

  /* soft-shadow стиль */
  box-shadow:
    4px 4px 10px rgba(0,0,0,0.25),
    -4px -4px 10px rgba(255,255,255,0.15);
  transition: all 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    6px 6px 14px rgba(0,0,0,0.3),
    -4px -4px 10px rgba(255,255,255,0.15);
}

.btn:active {
  transform: translateY(0);
  box-shadow:
    inset 4px 4px 8px rgba(0,0,0,0.25),
    inset -4px -4px 8px rgba(255,255,255,0.15);
}

/* Telegram */
.btn-telegram {
  background: linear-gradient(145deg, #64b9e5, #448fb8);
}

/* Facebook */
.btn-facebook {
  background: linear-gradient(145deg, #4c84f7, #2851a3);
}
/* Header */
.topbar {
  position: sticky;         /* опционально: зафиксировать шапку */
  top: 0;
  z-index: 100;
  background: rgba(243,245,249,0.85); /* под твой светлый фон */
  backdrop-filter: blur(6px);         /* мягкое стекло */
  -webkit-backdrop-filter: blur(6px);
  padding: 12px 0;
}

/* Центрирование бренда */
.topbar--centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Тонкий разделитель под шапкой */
.topbar--centered::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(28,39,76,0.12) 12%,
    rgba(28,39,76,0.12) 88%,
    transparent 100%
  );
}

/* Бренд */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-mark { width: 32px; height: 32px; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: .2px; }

/* На десктопе делаем чуть крупнее */
@media (min-width: 1024px) {
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 20px; }
}

