* { box-sizing: border-box; }

:root {
  --bg: #12141c;
  --bg-alt: #171a24;
  --surface: #1d2130;
  --line: #2b3145;
  --text: #e9ecf5;
  --muted: #9aa3bd;
  --red: #e5484d;
  --blue: #3b82f6;
  --lime: #c8ff00;
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'SN Pro', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { width: min(1120px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 20, 28, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; letter-spacing: .12em; font-size: 18px;
  color: var(--text); text-decoration: none;
}
.logo__mark {
  display: grid; place-items: center; width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--red), var(--blue));
  border-radius: 8px; font-size: 15px; color: #fff;
}
.logo__dot { color: var(--lime); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--lime); }
.header__cta { margin-left: 4px; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .25s; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(229, 72, 77, .35); }
.btn--primary:hover { box-shadow: 0 12px 30px rgba(229, 72, 77, .5); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--small { padding: 9px 18px; font-size: 14px; background: var(--lime); color: #10130a; }
.btn--wide { width: 100%; }

/* Hero */
.hero { position: relative; padding: 70px 0 0; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto;
  height: 520px; pointer-events: none;
  background:
    radial-gradient(45% 55% at 20% 30%, rgba(229, 72, 77, .28), transparent 70%),
    radial-gradient(45% 55% at 80% 25%, rgba(59, 130, 246, .26), transparent 70%);
}
.hero__row {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 30px; align-items: center; padding-bottom: 50px;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: 12px;
  color: var(--lime); font-weight: 700; margin: 0 0 14px;
}
.hero h1 {
  margin: 0; font-size: clamp(40px, 6vw, 74px); line-height: 1.02;
  font-weight: 800; text-transform: uppercase; letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--red); text-shadow: 0 0 30px rgba(229,72,77,.5); }
.hero__lead { max-width: 460px; color: var(--muted); font-size: 18px; margin: 20px 0 28px; }
.hero__hint { margin: 22px 0 0; color: var(--muted); font-size: 14px; letter-spacing: .04em; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.hero__stats { display: flex; gap: 34px; list-style: none; padding: 0; margin: 40px 0 0; flex-wrap: wrap; }
.hero__stats strong { display: block; font-size: 36px; font-weight: 800; color: var(--lime); line-height: 1; }
.hero__stats span { font-size: 13px; color: var(--muted); }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.fig--blue { animation: fly 3.4s ease-in-out infinite; transform-origin: 320px 250px; }
.fig--red { animation: push 3.4s ease-in-out infinite; transform-origin: 200px 240px; }
.spark { animation: sparkle 3.4s ease-in-out infinite; transform-origin: 245px 115px; }
@keyframes fly { 0%,100% { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(-14px); } }
@keyframes push { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(2.5deg); } }
@keyframes sparkle { 0%, 40% { transform: scale(.4); opacity: 0; } 55% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(.85); opacity: 0; } }

/* Ticker */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-alt); overflow: hidden; padding: 12px 0;
}
.ticker__track {
  display: flex; gap: 26px; white-space: nowrap; width: max-content;
  animation: scroll 22s linear infinite; font-weight: 800; letter-spacing: .15em; font-size: 14px;
}
.ticker__track span:nth-child(odd) { color: var(--text); }
.ticker__track span:nth-child(even) { color: var(--red); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800; text-transform: uppercase;
  margin: 0 0 36px; line-height: 1.1;
}
.accent { color: var(--blue); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-6px); border-color: var(--lime); }
.card__num { color: var(--red); font-weight: 800; font-size: 14px; letter-spacing: .2em; }
.card h3 { margin: 10px 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Tabs */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.tab {
  padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font-weight: 700; font-size: 15px;
  cursor: pointer; transition: .2s; font-family: inherit;
}
.tab:hover { color: var(--text); border-color: var(--muted); }
.tab.is-active { background: var(--lime); color: #10130a; border-color: var(--lime); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tab-panel__inner {
  display: grid; grid-template-columns: 1.6fr .8fr; gap: 22px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
}
.tab-panel h3 { margin: 0 0 10px; font-size: 24px; }
.tab-panel p { color: var(--muted); margin: 0 0 16px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li::before { content: '✓ '; color: var(--lime); font-weight: 800; }
.badge-fact {
  background: linear-gradient(140deg, rgba(229,72,77,.18), rgba(59,130,246,.18));
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.badge-fact strong { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--lime); }
.badge-fact span { font-size: 17px; font-weight: 700; }
.badge-fact__sub { opacity: .7; font-size: 13px !important; font-weight: 400 !important; }

/* Боевое самбо — подробный раздел */
.combat-intro {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--red); border-radius: var(--radius);
  padding: 24px 26px; margin-bottom: 26px;
}
.combat-intro p { margin: 0; color: var(--muted); font-size: 17px; }
.combat-intro strong { color: var(--text); }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 36px; }
.rule-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.rule-col h3 { margin: 0 0 14px; font-size: 19px; text-transform: uppercase; letter-spacing: .04em; }
.rule-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rule-col li { color: var(--muted); font-size: 15px; padding-left: 4px; }
.rule-col--yes { border-top: 4px solid var(--lime); }
.rule-col--yes li::before { content: '→ '; color: var(--lime); font-weight: 800; }
.rule-col--no { border-top: 4px solid var(--red); }
.rule-col--no li::before { content: '× '; color: var(--red); font-weight: 800; }
.sub-title { font-size: 22px; text-transform: uppercase; margin: 36px 0 18px; }
.rounds-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.round-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px; position: relative;
}
.round-card__num {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red), var(--blue));
  font-weight: 800; font-size: 17px; margin-bottom: 12px;
}
.round-card h4 { margin: 0 0 8px; font-size: 18px; text-transform: uppercase; }
.round-card p { margin: 0; color: var(--muted); font-size: 15px; }
.combat-split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 26px; align-items: start; }
.gear-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.gear-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 12px; text-align: center; display: grid; gap: 4px;
  transition: transform .2s, border-color .2s;
}
.gear-item:hover { transform: translateY(-4px); border-color: var(--red); }
.gear-item span { font-size: 26px; }
.gear-item strong { font-size: 14px; text-transform: uppercase; }
.gear-item small { color: var(--muted); font-size: 12px; }
.weights { display: flex; flex-wrap: wrap; gap: 10px; }
.weight-chip {
  padding: 9px 16px; border-radius: 999px; background: rgba(59, 130, 246, .12);
  border: 1px solid rgba(59, 130, 246, .4); color: var(--text);
  font-weight: 700; font-size: 14px;
}
.weight-chip--hot { background: rgba(229, 72, 77, .14); border-color: rgba(229, 72, 77, .5); }
.weights__note { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.combat-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.fact {
  background: var(--surface); border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 22px;
}
.fact strong {
  display: block; font-size: 34px; font-weight: 800; color: var(--lime);
  line-height: 1; margin-bottom: 10px;
}
.fact p { margin: 0; color: var(--muted); font-size: 15px; }

.combat-note {
  margin: 30px 0 0; padding: 20px 24px; border-left: 4px solid var(--blue);
  background: rgba(59, 130, 246, .08); border-radius: 0 14px 14px 0;
  color: var(--muted); font-size: 16px;
}

/* Об авторе */
.author {
  display: flex; gap: 30px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px;
}
.author__avatar {
  flex: 0 0 320px; width: 320px; height: 214px; object-fit: cover;
  border-radius: 18px; display: block;
  background: linear-gradient(135deg, rgba(229,72,77,.3), rgba(59,130,246,.3));
  border: 3px solid var(--lime);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.author__bio p { margin: 0 0 14px; color: var(--muted); font-size: 16px; }
.author__bio p:last-child { margin-bottom: 0; }
.author__sign { color: var(--lime) !important; font-weight: 700; }

/* Tech */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.tech-card {
  background: var(--surface); border-radius: var(--radius); padding: 28px 24px;
  border-top: 4px solid var(--red); border-left: 1px solid var(--line);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.tech-card:nth-child(2) { border-top-color: var(--blue); }
.tech-card:nth-child(3) { border-top-color: var(--lime); }
.tech-card__icon { font-size: 34px; }
.tech-card h3 { margin: 12px 0 8px; font-size: 21px; text-transform: uppercase; }
.tech-card p { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  font-size: 12px; padding: 5px 11px; border-radius: 999px;
  background: rgba(200, 255, 0, .1); color: var(--lime); border: 1px solid rgba(200,255,0,.3);
}

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--red), var(--blue));
}
.timeline li { position: relative; padding: 0 0 30px 40px; }
.timeline li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--bg-alt); border: 3px solid var(--lime);
}
.timeline__year { color: var(--lime); font-weight: 800; letter-spacing: .1em; font-size: 14px; }
.timeline h3 { margin: 4px 0 6px; font-size: 20px; }
.timeline p { margin: 0; color: var(--muted); max-width: 720px; }

/* Training */
.training { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.schedule { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.schedule th, .schedule td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.schedule th { background: var(--surface); text-transform: uppercase; font-size: 12px; letter-spacing: .14em; color: var(--lime); }
.schedule tr:last-child td { border-bottom: 0; }
.schedule tbody tr:hover td { background: rgba(200,255,0,.05); }
.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; display: grid; gap: 16px;
}
.form h3 { margin: 0; font-size: 22px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input {
  padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font-size: 15px; font-family: inherit;
  transition: border-color .2s;
}
.form input:focus { outline: none; border-color: var(--lime); }
.form__msg { margin: 0; min-height: 22px; font-size: 14px; font-weight: 700; color: var(--lime); }
.form__msg.is-error { color: var(--red); }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 26px 0; }
.footer__row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
.footer p { color: var(--muted); font-size: 14px; margin: 0; }
.footer__up { color: var(--lime); text-decoration: none; font-weight: 700; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero__row, .tab-panel__inner, .training, .combat-split { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 620px) {
  .author { flex-direction: column; align-items: center; text-align: center; padding: 26px 20px; }
  .author__avatar { width: 100%; max-width: 340px; height: auto; flex: none; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 64px 0 auto; flex-direction: column; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--line);
    padding: 10px 0; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 6%; border-bottom: 1px solid var(--line); }
  .burger { display: block; margin-left: auto; }
  .header__cta { display: none; }
  .section { padding: 60px 0; }
}
