/* ============================================================
   jetton-jaine.top — JetTon Casino
   Палитра: Void #0c0e0a / Panel #151812 / Lime #cdf545
   Типографика: системные шрифты, display — uppercase 800
   Сигнатура: диагональный jet-штрих (из логотипа)
   ============================================================ */

:root {
  --void: #0c0e0a;
  --panel: #151812;
  --panel-2: #1c2016;
  --line: #262b20;
  --lime: #cdf545;
  --lime-dark: #a8cc2e;
  --ink: #f2f5ec;
  --muted: #9aa38e;
  --radius: 14px;
  --wrap: 1240px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html, body {
  overflow-x: hidden;
  overflow-wrap: break-word;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 85% -100px, rgba(205, 245, 69, 0.05), transparent 65%),
    var(--void);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
  overflow-x: hidden;
}

:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--lime { background: var(--lime); color: #10130a; border-color: var(--lime); }
.btn--lime:hover { background: #d9fa6b; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--lg { padding: 14px 28px; font-size: 17px; }
/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 14, 10, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header__wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { width: 120px; height: auto; }
.main-nav { flex: 1 1 auto; min-width: 0; }
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 8px;
}
.main-nav a:hover { color: var(--ink); background: var(--panel); text-decoration: none; }
.header__actions { display: flex; gap: 10px; margin-left: auto; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs { padding: 14px 0 0; }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  color: var(--muted);
}
.breadcrumbs li:not(:first-child)::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--lime); }
/* ---------- Hero (сигнатурный jet-штрих) ---------- */
.hero { padding: 48px 0 24px; }
.hero__wrap { position: relative; }
.hero__badge {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  border-radius: 8px;
  color: var(--lime);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero__title {
  margin: 0 0 16px;
  font-size: clamp(30px, 6.5vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero__title::after {
  /* сигнатура: диагональный jet-штрих */
  content: "";
  display: block;
  width: 220px;
  height: 10px;
  margin-top: 18px;
  background: var(--lime);
  transform: skewX(-30deg) translateX(14px);
  transform-origin: left;
}
.hero__lead {
  max-width: 640px;
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: 17.5px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__shot { margin: 40px 0 0; }
.hero__shot img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* ---------- Заголовки секций ---------- */
.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.section-title::before {
  content: "";
  flex-shrink: 0;
  width: 26px;
  height: 8px;
  background: var(--lime);
  transform: skewX(-30deg);
}

/* ---------- Факты ---------- */
.facts { padding: 40px 0; }
.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts__grid > * { min-width: 0; }
.fact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.fact-card__label {
  margin: 0 0 8px;
  color: var(--lime);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fact-card__text { margin: 0; color: var(--muted); font-size: 14.5px; }
/* ---------- Промокод ---------- */
.promo { padding: 32px 0; }
.promo__card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #131609; /* сплошной тёмный фон: блок встречается и на странице статьи */
  border: 1px solid #3a421c;
  border-radius: var(--radius);
  padding: 26px 28px;
}
.promo__eyebrow {
  margin: 0 0 6px;
  color: var(--lime);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.promo__title { margin: 0 0 8px; font-size: 21px; font-weight: 800; }
.promo__text { margin: 0; color: var(--muted); font-size: 14.5px; }
.promo__action {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-shrink: 0;
}
.promo__code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 22px;
  background: var(--void);
  border: 2px dashed var(--lime);
  border-radius: 12px;
  color: var(--lime);
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.promo__code:hover { transform: translateY(-1px); }
.promo__code-value { font-size: 22px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.promo__code-hint { font-size: 11.5px; color: var(--muted); }
.promo__code.is-copied {
  background: var(--lime);
  animation: promo-pop 0.35s ease;
}
.promo__code.is-copied .promo__code-value { color: #10130a; }
.promo__code.is-copied .promo__code-hint { color: #2c3a10; }
@keyframes promo-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.07) rotate(-1.5deg); }
  100% { transform: scale(1); }
}

/* ---------- Преимущества ---------- */
.features { padding: 40px 0; }
.features__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.features__grid > * { min-width: 0; }
.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--lime);
  padding: 22px 24px;
}
.feature-card__title { margin: 0 0 10px; font-size: 18px; font-weight: 800; }
.feature-card__text { margin: 0; color: var(--muted); font-size: 15px; }
/* ---------- Лонгрид главной ---------- */
.home-article { padding: 24px 0 8px; }
.home-article .rt {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 36px;
}

/* ---------- Каталог карточек ---------- */
.catalog { padding: 40px 0 56px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards-grid > * { min-width: 0; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--lime); }
.card__link { display: flex; flex-direction: column; height: 100%; padding: 22px 24px; color: inherit; }
.card__link:hover { text-decoration: none; }
.card__title { margin: 0 0 10px; font-size: 17.5px; font-weight: 800; line-height: 1.35; color: var(--ink); }
.card__text {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__more { color: var(--lime); font-weight: 700; font-size: 14px; }

/* ---------- Rich-text (статья) ---------- */
.rt {
  overflow-x: hidden;
  overflow-wrap: break-word;
  font-size: 16.5px;
}
.rt__h1 {
  margin: 10px 0 18px;
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.rt h2 {
  margin: 34px 0 14px;
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 800;
  line-height: 1.25;
  padding-left: 14px;
  border-left: 4px solid var(--lime);
}
.rt h3 { margin: 26px 0 10px; font-size: 19px; font-weight: 700; }
.rt p { margin: 0 0 14px; color: #d6dcc8; }
.rt ul, .rt ol { margin: 0 0 14px; padding-left: 24px; }
.rt li { margin-bottom: 6px; color: #d6dcc8; }
.rt strong { color: var(--ink); }
.rt blockquote {
  margin: 18px 0;
  padding: 14px 20px;
  background: var(--panel);
  border-left: 4px solid var(--lime);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
}
.rt code {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.9em;
  color: var(--lime);
}
.rt hr {
  margin: 28px 0;
  border: 0;
  height: 1px;
  background: var(--line);
}
.rt a { text-decoration: underline; text-decoration-color: rgba(205, 245, 69, 0.4); }
.rt__figure { margin: 0 0 22px; }
.rt__figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.rt__figure--secondary { margin-top: 26px; }

/* Таблицы: скролл внутри контейнера, страница не расширяется */
.table-scroll {
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  -webkit-overflow-scrolling: touch;
}
.rt table, .home-article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.rt th, .rt td, .home-article th, .home-article td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.rt th, .home-article th { color: var(--lime); font-weight: 700; white-space: nowrap; }
.rt td, .home-article td { color: #d6dcc8; }
.rt tr:last-child td, .home-article tr:last-child td { border-bottom: 0; }

/* ---------- Layout статьи: контент + сайдбар ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  padding: 18px 0 56px;
}
.layout > * { min-width: 0; }
.layout__main { overflow-x: hidden; }
.layout__side { overflow-x: hidden; }
.side-title {
  margin: 26px 0 12px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.side-list { list-style: none; margin: 0 0 20px; padding: 0; }
.side-list li { border-bottom: 1px solid var(--line); }
.side-list a {
  display: block;
  padding: 11px 2px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}
.side-list a:hover { color: var(--lime); text-decoration: none; }
.side-cta { width: 100%; }
/* ---------- Футер ---------- */
.site-footer {
  background: #090b07;
  border-top: 1px solid var(--line);
  padding: 44px 0 96px; /* нижний отступ под фиксированную плашку */
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.footer__grid > * { min-width: 0; }
.footer__legal { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.footer__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lime);
}
.footer__nav ul, .footer__meta ul { list-style: none; margin: 0; padding: 0; }
.footer__nav li, .footer__meta li { margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.footer__nav a { color: var(--muted); }
.footer__nav a:hover { color: var(--lime); }
.footer__copy { margin: 18px 0 0; color: #6d7561; font-size: 12.5px; }

/* ---------- Фиксированная плашка CTA ---------- */
.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #10130a;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}
.cta-bar__wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.cta-bar__text { margin: 0; font-size: 15px; color: var(--ink); }
.cta-bar__btn { margin-left: auto; }

/* ============================================================
   Адаптив: 1440 / 1024 / 768 / 425 / 375 / 320
   ============================================================ */
@media (min-width: 1440px) {
  :root { --wrap: 1280px; }
}

@media (max-width: 1024px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
  .promo__card { flex-direction: column; align-items: flex-start; gap: 18px; }
  .promo__action { margin-left: 0; width: 100%; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .header__wrap { min-height: 58px; gap: 12px; }
  .header__actions { display: none; }

  /* Бургер-меню */
  .burger { display: flex; margin-left: auto; }
  .main-nav {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    z-index: 49;
    display: none;
    background: #0e100b;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px;
    max-height: calc(100vh - 58px);
    overflow-y: auto;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 10px; font-size: 16px; }
  /* Дублируем действия входа/регистрации внутри мобильного меню */
  .main-nav .nav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
  .main-nav .nav-actions .btn { width: 100%; }

  /* Флекс-контейнеры — в колонку */
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .promo__card { flex-direction: column; align-items: stretch; padding: 20px; }
  .promo__action { flex-direction: column; align-items: stretch; }
  .promo__code { justify-content: center; }
  .cta-bar__wrap { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-bar__btn { margin-left: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .layout { grid-template-columns: 1fr; gap: 8px; }
  .layout__side { border-top: 1px solid var(--line); padding-top: 8px; }
  .side-cta { display: none; }
  .home-article .rt { padding: 22px 18px; }
}

@media (min-width: 769px) {
  .main-nav .nav-actions { display: none; }
}

@media (max-width: 425px) {
  .facts__grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero__lead { font-size: 16px; }
  .promo__code-value { font-size: 19px; }
  .cta-bar__text { font-size: 13.5px; }
}

@media (max-width: 375px) {
  .wrap { padding: 0 12px; }
  .btn--lg { padding: 13px 20px; font-size: 16px; }
}

@media (max-width: 320px) {
  .hero__title { font-size: 26px; }
  .section-title { font-size: 20px; }
}

/* Уважение к reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}





