/* ========================================================= BASE / RESET ========================================================= */ * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}
body {
  background: #0b1119;
  color: #f4f1ea;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #f3c977;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  display: block;
  max-width: 100%;
}
/* Общий контейнер */ .container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 0 16px;
}
/* Секции */ .section {
  margin: 20px 0;
}

/* FIX: mobile container drift */
@media (max-width: 980px){
  .container{
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* ========================================================= TYPOGRAPHY ========================================================= */ .h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  margin-bottom: 16px;
}
.h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 14px;
}
.h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}
.h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.muted {
  color: #b9b4aa;
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(243, 201, 119, 0.1);
  border: 1px solid rgba(243, 201, 119, 0.4);
  border-radius: 12px;
  color: #f3c977;
  font-weight: 600;
  margin-bottom: 12px;
}
h3.minor {
  margin-top: 36px;
  margin-bottom: 16px;
}
/* ========================================================= BUTTONS ========================================================= */ .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 16px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.btn-primary {
  background: #f3c977;
  color: #1f1407;
}
.btn-ghost {
  background: rgba(243,201,119,0.08);
  color: #f4f1ea;
  border-color: rgba(243,201,119,0.4);
}
.btn-gold {
  background: linear-gradient(180deg, #f5d588, #d49f4f);
  color: #1f1407;
}
.btn-xl {
  padding: 15px 26px;
  border-radius: 18px;
  font-size: 18px;
}
.btn-lg {
  padding: 12px 20px;
}
.btn-full {
  width: 100%;
}
/* ========================================================= GRID & CARDS ========================================================= */ .grid {
  display: grid;
  gap: 24px;
}
.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: #10151f;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 22px rgba(0,0,0,0.35);
}
/* чтобы карточки в гриде были одной высоты */ .grid .card {
  display: flex;
  flex-direction: column;
}
/* списки внутри карточек (партнёрка и т.д.) */ .card ul.list {
  margin: 0 0 18px;
  padding-left: 1.4em;
}
.card ul.list li + li {
  margin-top: 6px;
}
/* картинки-скриншоты */ .img-fluid {
  border-radius: 14px;
  margin-top: 8px;
}
/* ========================================================= HEADER / NAV ========================================================= */ .site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(7, 11, 19, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
/* Brand */ .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
}
.brand-ico {
  font-size: 20px;
}
.brand.small {
  font-size: 15px;
}
/* Desktop nav */ .nav-links {
  display: flex;
  gap: 22px;
}
.nav-link {
  font-size: 14px;
  color: #c9c3b8;
  font-weight: 600;
  padding: 4px 0;
}
.nav-link:hover {
  color: #ffffff;
}
/* CTA + burger */ .nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile menu — фикс сверху */ .mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  max-height: calc(100vh - 64px);
  background: #050913f2;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: none;
  flex-direction: column;
  padding: 10px 16px 14px;
  z-index: 98;
}
.mobile-menu{
  max-height: calc(100dvh - 64px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open {
  display: flex;
}
.m-link {
  padding: 10px 0;
  font-size: 15px;
  color: #e5ebff;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.m-link:last-child {
  border-bottom: none;
}
/* ========================================================= HERO SLIDER ========================================================= */ .hero {
  padding: 32px;
  text-align: center;
}
.hero.card {
  margin-top: 32px;
}
/* Внешняя карточка героя */ .hero.card.hero-slider {
  position: relative;
  overflow: hidden;
  padding: 24px;
  margin-top: 32px;
  margin-bottom: 28px;
}
/* контейнер слайдов */ .hero-slides {
  position: relative;
  height: auto;
  transition: height .25s ease;
}
/* отдельный слайд */ .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(16px);
  transition: opacity .35s ease, transform .35s ease;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
/* Баннер */ .hero-banner-wrap {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
}
.hero-banner {
  width: 100%;
  height: auto;
  display: block;
}
/* Градиент — но полегче, чтобы картинка жила */ .hero-banner-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient( to bottom, rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.06) 60%, rgba(0,0,0,0.22) 100% );
  pointer-events: none;
}
/* Оверлей (desktop) */ .hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  padding: 0 32px;
  display: flex;
  justify-content: center;
  text-align: center;
}
/* Коробка под текст — полупрозрачная */ .hero-overlay-box {
  max-width: 880px;
  padding: 18px 30px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
/* Заголовок и текст */ .hero-title-overlay {
  margin-bottom: 10px;
  font-size: 34px;
  line-height: 1.18;
}
.hero-text-overlay {
  max-width: 780px;
  margin: 0 auto 14px;
  font-size: 15px;
}
/* Цвета в оверлее — чисто белые, без серости */ .hero-overlay .hero-title-overlay, .hero-overlay .h1 {
  color: #ffffff !important;
  font-weight: 800;
  text-shadow: 0 2px 3px rgba(0,0,0,0.45);
}
.hero-overlay .hero-text-overlay, .hero-overlay .muted, .hero-overlay p {
  color: #ffffff !important;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
/* CTA внутри баннера */ .hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
/* CTA именно в оверлее */ .hero-cta-overlay {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
/* Кнопки — золотые */ .hero-overlay .btn-primary {
  background: linear-gradient(180deg, #ffe8b5, #f3c977);
  color: #2b1e0f;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.45);
}
/* Фичи */ .hero-features {
  margin-top: 16px;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hero-features li {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  min-height: 46px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* фичи именно в оверлее */ .hero-features-overlay {
  font-size: 14px;
}
.hero-features-overlay li {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  color: #ffffff !important;
  text-shadow: none;
}
/* точки слайдера */ .hero-dots {
  margin-top: 14px;
  margin-bottom: 4px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 0;
  cursor: pointer;
}
.hero-dot.is-active {
  background: #ffd275;
}
/* HERO: сделать CTA и фичи светлее/чище */ .hero-overlay-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 16px 44px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
}
.hero-overlay .btn-primary {
  background: linear-gradient(180deg, #ffeec2, #f3c977);
  box-shadow: 0 12px 30px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.55);
}
.hero-overlay .btn-primary:hover {
  filter: brightness(1.03);
  box-shadow: 0 14px 36px rgba(0,0,0,0.52);
}
.hero-features-overlay li {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
}
/* ========================================================= PRICING / PLANS ========================================================= */ .plan {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.plan-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.plan-ico {
  font-size: 22px;
}
.plan-title {
  font-weight: 800;
  letter-spacing: 0.06em;
}
.plan-list {
  padding: 0 18px 0 22px;
}
.plan > .btn-full {
  margin-top: 18px;
}
/* ========================================================= PARTNERS PAGE ========================================================= */ .partners-page {
  max-width: 960px;
  margin: 48px auto;
}
.partners-page .card + .card {
  margin-top: 24px;
}
.partners-page .card ul, .partners-page .card ol {
  margin-left: 1.4rem;
  padding-left: 1.4rem;
}
.partners-page .card li + li {
  margin-top: 4px;
}
.partners-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.partners-cta-main {
  max-width: 560px;
}
.partners-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* ========================================================= FOOTER ========================================================= */ .site-footer {
  margin-top: 60px;
  padding: 28px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #080d14;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.footer-col {
  display: flex;
  flex-direction: column;
}
.footer-links {
  align-items: flex-end;
}
.f-link {
  margin-top: 4px;
  color: #cdc7bc;
  font-size: 14px;
}
.f-link:hover {
  color: #ffffff;
}
/* Нижний CTA на лендинге */ .section.cta {
  margin-top: 48px;
  margin-bottom: 56px;
  text-align: center;
}
.section.cta .muted {
  max-width: 520px;
  margin: 0 auto 16px;
}
/* ========================================================= SCROLL TO TOP BUTTON ========================================================= */ .scroll-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(8,12,20,0.9);
  color: #f7f0de;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 26px rgba(0,0,0,0.6);
  transition: opacity .18s ease, transform .18s ease;
}
.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


/* =========================================================
   MEDIA QUERIES
========================================================= */

@media (max-width: 980px) {.nav-links {
  display: none;
}
/* на мобиле и кнопка, и бургер — как ты любил */ .nav-cta-btn {
  display: inline-flex;
}
.grid.cols-2, .grid.cols-3 {
  grid-template-columns: 1fr;
}
.hero-features {
  grid-template-columns: 1fr;
}
.footer-inner {
  flex-direction: column;
  align-items: flex-start;
}
.footer-links {
  align-items: flex-start;
}
.section {
  margin: 36px 0;
}
.site-footer {
  margin-top: 40px;
}
.partners-page {
  margin: 32px auto;
}

}

@media (max-width: 720px) {.nav {
  height: 56px;
}
.brand {
  font-size: 16px;
}
.hero.card.hero-slider {
  padding: 14px 10px 8px;
  margin-top: 16px;
  margin-bottom: 16px;
}
/* текст под баннером — как на скриншотах с телефона */ .hero-banner-wrap {
  border-radius: 18px;
  overflow: visible;
}
.hero-banner {
  border-radius: 18px;
}
.hero-banner-wrap::after {
  display: none;
}
.hero-overlay {
  position: static;
  padding: 10px 2px 0;
  text-align: left;
}
.hero-overlay-box {
  max-width: 100%;
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
}
.hero-title-overlay {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 6px;
}
.hero-text-overlay {
  font-size: 14px;
  margin-bottom: 10px;
}
.hero-cta-overlay {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: 10px 0 10px;
}
.hero-cta-overlay .btn {
  width: 100%;
  justify-content: center;
}
.hero-features-overlay {
  font-size: 13px;
  margin-top: 8px;
}
.hero-features-overlay li {
  white-space: normal;
  min-height: auto;
}
.scroll-top {
  right: 14px;
  bottom: 18px;
}

}/* когда открыто мобильное меню — блокируем скролл, чтобы не улетало вверх/вниз */ body.no-scroll {
  overflow: hidden;
}
/* table */ .tbl {
  width: 100%;
  border-collapse: collapse;
}
.tbl th, .tbl td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  vertical-align: top;
}
.tbl th {
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.02);
}
.tbl tr:hover td {
  background: rgba(255,255,255,.015);
}
/* pills */ .pill {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.pill-ok {
  border-color: rgba(80,200,120,.25);
  background: rgba(80,200,120,.08);
}
.pill-bad {
  border-color: rgba(255,80,80,.25);
  background: rgba(255,80,80,.08);
}
/* cards links */ .card-link {
  display: flex;
  flex-direction: column;
  min-height: 160px;
}
.card-link:hover {
  transform: translateY(-1px);
  transition: .12s ease;
}
/* clamp */ .clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card {
  position: relative;
  gap: 10px;
  min-height: 190px;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(243,201,119,0.22);
  box-shadow: 0 10px 34px rgba(0,0,0,0.45);
  text-decoration: none;
}
.blog-card .h3 {
  line-height: 1.15;
}
.blog-card .muted {
  color: rgba(255,255,255,0.70);
}
.blog-card .blog-date {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  background: radial-gradient(800px 240px at 20% 0%, rgba(243,201,119,0.10), transparent 55%);
  opacity: .9;
}
.content {
  max-width: 860px;
  margin: 10px auto 0;
  font-size: 16px;
  line-height: 1.75;
}
.content p {
  margin: 0 0 14px;
}
.content h2 {
  margin: 22px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}
.content h3 {
  margin: 18px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}
.content ul, .content ol {
  margin: 10px 0 14px 18px;
}
.content li + li {
  margin-top: 6px;
}
.content blockquote {
  margin: 14px 0;
  padding: 12px 14px;
  border-left: 3px solid rgba(243,201,119,0.55);
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
}
input, textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #f4f1ea;
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .12s ease, box-shadow .12s ease, background .12s ease;
}
input::placeholder, textarea::placeholder {
  color: rgba(255,255,255,0.45);
}
input:focus, textarea:focus {
  border-color: rgba(243,201,119,0.45);
  box-shadow: 0 0 0 4px rgba(243,201,119,0.10);
  background: rgba(255,255,255,0.075);
}
textarea {
  resize: vertical;
  min-height: 120px;
}
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 12px 0 18px;
}
.article-date {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}
/* row — базовая флекс-строка (у тебя её не было) */ .row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.row.between {
  justify-content: space-between;
}
.row.wrap {
  flex-wrap: wrap;
}
.row.end {
  align-items: flex-end;
}
/* лайк компактнее (сейчас btn жирноват для меты) */ .btn-like {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
}
.blog-grid {
  margin-top: 14px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: stretch;
}


@media (max-width: 980px){.blog-grid {
  grid-template-columns: 1fr;
}

}.tg-cta {
  margin-top: 18px;
  background: #0f1420;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.tg-cta-text {
  max-width: 620px;
}
.tg-cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}


@media (max-width: 720px){.tg-cta {
  flex-direction: column;
  align-items: stretch;
}
.tg-cta-actions .btn {
  width: 100%;
}

}.article-cta {
  margin-top: 18px;
  background: #0f1420;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.article-cta-text {
  max-width: 620px;
}
.article-cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}


@media (max-width: 720px){.article-cta {
  flex-direction: column;
  align-items: stretch;
}
.article-cta-actions .btn {
  width: 100%;
}

}.blog-card {
  padding: 0;
  overflow: hidden;
}
.blog-cover {
  width: 100%;
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-date {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.shots {
  margin-top: 14px;
}
.shots-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 12px;
  padding: 0;
  list-style: none;
}
.shots-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #e5e7eb;
  font-weight: 700;
  font-size: 14px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.shots-tab:hover {
  transform: translateY(-1px);
}
.shots-tab.is-active {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}
.shots-pill {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(243,223,162,0.12);
  border: 1px solid rgba(243,223,162,0.22);
  color: #F3DFA2;
  font-weight: 800;
}
.shots-stage {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.18);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.shots-pane {
  display: none;
}
.shots-pane.is-active {
  display: block;
}
/* Горизонтальный альбом */ .shots-rail {
  display: flex;
  gap: 14px;
  padding: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shots-rail::-webkit-scrollbar {
  height: 10px;
}
.shots-rail::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
}
.shot-card {
  scroll-snap-align: start;
  flex: 0 0 320px;
  max-width: 320px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  overflow: hidden;
}
.shot-top {
  padding: 12px 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.shot-title {
  font-weight: 900;
  font-size: 14px;
  margin: 0 0 6px;
}
.shot-desc {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
}
.shot-img {
  display: block;
  width: 100%;
  height: auto;
}


    /* На широких экранах делаем карточки шире */
    @media (min-width: 900px) {.shot-card {
  flex-basis: 360px;
  max-width: 360px;
}

    }/* Навигация кнопками (опционально) */ .shots-nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.shots-btn {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.shots-btn:hover {
  background: rgba(0,0,0,0.5);
}
.shots-btn.prev {
  left: 10px;
}
.shots-btn.next {
  right: 10px;
}
/* ========================= BLOG CONTENT TYPOGRAPHY ========================= */ .content {
  font-size: 17px;
  line-height: 1.75;
  color: #e9e6df;
}
.content h2 {
  font-size: 26px;
  line-height: 1.25;
  margin: 28px 0 12px;
  font-weight: 900;
}
.content h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 22px 0 10px;
  font-weight: 800;
}
.content ul, .content ol {
  margin: 0 0 16px 18px;
  padding: 0;
}
.content li {
  margin: 8px 0;
}
.content hr {
  border: 0;
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 22px 0;
}
.content blockquote {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 3px solid rgba(215,176,106,0.6);
  background: rgba(215,176,106,0.06);
  border-radius: 14px;
  color: #e8e5de;
}
.content a:not(.btn) {
  color: #e7d1a0;
  text-decoration: none;
  border-bottom: 1px dashed rgba(231,209,160,.4);
}
.content a:hover {
  border-bottom-style: solid;
}
/* blocks for screenshots */ /* Screenshots inside articles */ .content figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 22px 0;
}
.content figure img {
  width: auto;
  max-width: 420px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0f1420;
}
.content figcaption {
  max-width: 420px;
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: #b9b5aa;
}
/* small callout card */ .content .callout {
  margin: 16px 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.screens-row {
  display: flex;
  gap: 16px;
  margin: 20px 0;
}
.screens-row img {
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
/* ========================= AUTH PAGES (login/register/forgot/reset/verify) ========================= */ .auth-layout {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 42px 16px;
}
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 32px;
  align-items: start;
}


@media (max-width: 980px){.auth-grid {
  grid-template-columns: 1fr;
}

}/* left column */ .auth-side {
  padding-top: 6px;
}
.auth-brand {
  margin-bottom: 14px;
}
.auth-badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(243,201,119,0.10);
  border: 1px solid rgba(243,201,119,0.35);
  color: #f3c977;
  font-weight: 800;
  margin-bottom: 12px;
}
.auth-h1 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 10px;
}
.auth-sub {
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  margin: 0 0 10px;
}
.auth-tips {
  margin: 14px 0 18px 18px;
  padding: 0;
}
.auth-tips li {
  margin: 10px 0;
  color: rgba(255,255,255,0.82);
}
.auth-help {
  margin-top: 14px;
  color: rgba(255,255,255,0.72);
}
/* right card */ .auth-card {
  background: radial-gradient(900px 220px at 30% 0%, rgba(243,201,119,0.10), transparent 55%), linear-gradient(180deg, #121824, #0c111b);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}
/* form bits */ .auth-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.86);
}
.auth-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.auth-links {
  display: flex;
  gap: 16px;
}
.auth-links a {
  color: rgba(243,201,119,0.95);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.auth-links a:hover {
  text-decoration: underline;
}
.gridf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}
.mgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}


@media(max-width: 980px){.gridf {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mgrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

}
@media(max-width: 640px){.gridf {
  grid-template-columns: 1fr;
}
.mgrid {
  grid-template-columns: 1fr;
}

}.blog-intro {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
}
.rail {
  display: grid;
  gap: 10px;
}
.mini {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.mini:hover {
  transform: translateY(-1px);
  border-color: rgba(243,201,119,.22);
  background: rgba(255,255,255,.03);
}
.mini-img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  object-fit: cover;
}
.mini-kpi {
  font-size: 12px;
  color: rgba(255,255,255,.60);
  margin-bottom: 6px;
}
.mini-title {
  font-weight: 900;
  line-height: 1.2;
}
.mini-intro {
  font-size: 13px;
  color: rgba(255,255,255,.70);
  margin-top: 6px;
}
/* Универсальный контейнер обложки */ .cover16 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #0c111b;
  border: 1px solid rgba(255,255,255,.06);
}
/* Размытая подложка из самой картинки */ .cover16::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--cover-bg);
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.12);
  opacity: .55;
}
/* Сама картинка — всегда целиком */ .cover16 > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-banner-wrap{
  position: relative; /* важно для absolute бейджа */
}

/* Невзрачная метка раздела */
.hero-badge{
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 6px 10px;
  border-radius: 999px;

  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;

  color: rgba(244,241,234,0.88);
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  pointer-events: none; /* чтобы не мешал кликам */
}

/* Мобила: чуть компактнее + ниже, чтобы не конфликтовало с рамками */
@media (max-width: 720px){
  .hero-badge{
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    font-size: 10px;
  }
}


/* iOS: prevent focus-zoom on inputs */
@supports (-webkit-touch-callout: none) {
  input, textarea, select {
    font-size: 16px;
  }
  .search-input,
  .m-search-input {
    font-size: 16px;
  }
}
/* Dashboard/mobile overflow fixes */
.card, .panel, .dash-card { overflow: hidden; }

.table-wrap{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
}

.table-wrap table{
  min-width: 680px; /* чтобы не сжималось в кашу */
}

/* long links / ids */
.mono, pre, code, .link, .small, .muted{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ===== Mobile Drawer (single source of truth) ===== */

/* desktop: drawer and burger hidden */
.nav-burger { display: none !important; }
.nav-drawer { display: none !important; }

/* mobile */
@media (max-width: 980px){
  .nav-links{ display:none !important; }

  .nav-burger{
    display:inline-block !important;
    width:42px;
    height:38px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,0.12);
    background:rgba(255,255,255,0.06);
    position:relative;
    padding:0;
  }
  .nav-burger span{
    position:absolute;
    left:10px; right:10px;
    height:2px;
    background:rgba(255,255,255,0.9);
    border-radius:2px;
    transition: transform .18s ease, opacity .18s ease, top .18s ease;
  }
  .nav-burger span:nth-child(1){ top:11px; }
  .nav-burger span:nth-child(2){ top:18px; }
  .nav-burger span:nth-child(3){ top:25px; }

  .nav-burger.open span:nth-child(1){ top:18px; transform:rotate(45deg); }
  .nav-burger.open span:nth-child(2){ opacity:0; }
  .nav-burger.open span:nth-child(3){ top:18px; transform:rotate(-45deg); }

  .nav-drawer{
    display:block !important;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    opacity:0;
    pointer-events:none;
    transition:opacity .18s ease;
    z-index:9999;
  }
  .nav-drawer.open{
    opacity:1;
    pointer-events:auto;
  }
