:root {
  --bg: #05070b;
  --bg-2: #0a0e16;
  --surface: #10151f;
  --surface-2: #161d2a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f6fb;
  --muted: #8d97ab;
  --dim: #5c677c;
  --green: #3dff8a;
  --green-2: #22c55e;
  --green-soft: rgba(61, 255, 138, 0.12);
  --gold: #e8c547;
  --blue: #5b8cff;
  --red: #ff5d6c;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(61, 255, 138, 0.14), transparent 55%),
    radial-gradient(900px 500px at 90% 8%, rgba(91, 140, 255, 0.12), transparent 50%),
    radial-gradient(800px 500px at 70% 90%, rgba(232, 197, 71, 0.06), transparent 50%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { list-style: none; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.container-wide {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 11, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #3dff8a, #149a4d);
  display: grid;
  place-items: center;
  color: #05210f;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(61, 255, 138, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 14.5px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.28); }

.btn-primary {
  background: var(--green);
  color: #05210f;
  box-shadow: 0 8px 28px rgba(61, 255, 138, 0.22);
}

.btn-primary:hover {
  background: #62ff9e;
  box-shadow: 0 12px 32px rgba(61, 255, 138, 0.32);
}

.btn-lg {
  height: 54px;
  padding: 0 24px;
  font-size: 15.5px;
  border-radius: 14px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

/* Hero */
.hero {
  padding: 72px 0 40px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid rgba(61, 255, 138, 0.22);
  color: var(--green);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

h1 {
  font-family: var(--display);
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin-bottom: 18px;
}

h1 span {
  background: linear-gradient(90deg, var(--green), #b8ffd4 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-meta b {
  display: block;
  font-size: 20px;
  font-family: var(--display);
  letter-spacing: -0.03em;
}

.hero-meta span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 480px;
}

.glass-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.plastic-card {
  position: absolute;
  top: 28px;
  left: 18px;
  width: 340px;
  height: 210px;
  border-radius: 22px;
  padding: 22px 24px;
  background: linear-gradient(145deg, #163528 0%, #0c1a14 45%, #10263a 100%);
  border: 1px solid rgba(61, 255, 138, 0.25);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(-8deg);
  animation: float 6s ease-in-out infinite;
  overflow: hidden;
}

.plastic-card::after {
  content: "";
  position: absolute;
  inset: -40% 40% auto -20%;
  height: 180px;
  background: radial-gradient(circle, rgba(61, 255, 138, 0.35), transparent 70%);
}

.chip {
  width: 42px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f3e3a8, #c9a227);
  margin-bottom: 48px;
}

.card-num {
  font-family: var(--display);
  letter-spacing: 0.18em;
  font-size: 16px;
  margin-bottom: 18px;
}

.card-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 12px;
  color: #c9d6cc;
}

.card-row b { color: #fff; font-size: 14px; display: block; }

.offer-float {
  position: absolute;
  right: 0;
  top: 80px;
  width: 280px;
  padding: 16px;
  animation: float 7s ease-in-out infinite 0.6s;
}

.offer-float .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.payout {
  color: var(--green);
  font-weight: 800;
  font-size: 20px;
}

.dash-float {
  position: absolute;
  left: 40px;
  bottom: 10px;
  width: 360px;
  padding: 18px;
  animation: float 8s ease-in-out infinite 1s;
}

.dash-float h4 {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 72px;
}

.bars i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--green), rgba(61, 255, 138, 0.15));
}

.conv-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.conv-row b { color: var(--text); }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-10px) rotate(-8deg); }
}

.offer-float, .dash-float { animation-name: floatY; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Marquee */
.marquee-wrap {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  padding: 18px 0;
  margin-top: 40px;
}

.marquee {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 32s linear infinite;
  color: var(--muted);
  font-weight: 650;
  letter-spacing: 0.04em;
  font-size: 13px;
  text-transform: uppercase;
}

.marquee span { opacity: 0.85; }
.marquee em { color: var(--green); font-style: normal; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
section { padding: 88px 0; }

.section-kicker {
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
}

/* Tools */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tool-card {
  padding: 22px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 255, 138, 0.28);
}

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 18px;
}

.tool-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.tool-card p {
  color: var(--muted);
  font-size: 14px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat {
  padding: 28px 24px;
  text-align: left;
}

.stat b {
  font-family: var(--display);
  font-size: 36px;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 6px;
}

.stat span { color: var(--muted); font-size: 14px; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.about-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.about-item h3 { font-size: 16px; margin-bottom: 4px; }
.about-item p { color: var(--muted); font-size: 14px; }

.check {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
}

.about-panel {
  padding: 28px;
}

.payout-ways {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.way {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 14px;
}

.way b { color: var(--green); font-weight: 700; }

/* Offers */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.chip-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-weight: 600;
  font-size: 13.5px;
}

.chip-btn.active,
.chip-btn:hover {
  color: #05210f;
  background: var(--green);
  border-color: var(--green);
}

.offers-wrap { display: flex; flex-direction: column; gap: 4px; }
.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.offers-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offers-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.offer-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 228px;
  transition: transform 0.18s, border-color 0.18s;
}

.offer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(61, 255, 138, 0.3);
}

.offer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}

.bank-logo {
  width: 72px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.offer-body { min-height: 58px; }
.offer-card h3 {
  font-size: 15.5px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.offer-card .sub {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
}

.offer-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  min-height: 58px;
}
.offer-pay { min-width: 0; }
.offer-bottom .payout { font-size: 20px; line-height: 1.15; }
.offer-bottom small { color: var(--dim); display: block; font-size: 12px; }
.offer-bottom .btn { flex-shrink: 0; white-space: nowrap; }
.payout-extra {
  color: var(--dim);
  font-size: 12px;
  min-height: 1.2em;
  margin-top: 2px;
}

/* How */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.how-card {
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.how-num {
  font-family: var(--display);
  font-size: 48px;
  color: rgba(61, 255, 138, 0.18);
  line-height: 1;
  margin-bottom: 16px;
}

.how-card h3 { margin-bottom: 8px; font-size: 20px; }
.how-card p { color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.step {
  padding: 22px;
}

.step-index {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--green);
  color: #05210f;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* Audience */
.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.aud {
  padding: 24px;
  min-height: 200px;
}

.aud h3 { margin: 14px 0 8px; font-size: 17px; }
.aud p { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 20px 18px;
  color: var(--muted);
}

/* CTA */
.cta-section { padding-top: 24px; }

.cta-finale {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 40px 48px;
  border-radius: 28px;
  border: 1px solid rgba(61, 255, 138, 0.18);
  background:
    radial-gradient(900px 280px at 50% -20%, rgba(61, 255, 138, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(16, 21, 31, 0.95), rgba(8, 12, 18, 0.98));
}

.cta-finale h2 {
  max-width: 640px;
  margin: 0 auto 14px;
}

.cta-finale-lead {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;
}

.cta-finale-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.cta-points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}

.cta-points li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.cta-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--dim);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.cta-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.ticker {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tick {
  min-width: 0;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: var(--muted);
}

.tick b { color: var(--green); font-size: 14px; }

/* Footer */
.footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer h4 {
  color: var(--text);
  margin-bottom: 14px;
  font-size: 14px;
}

.footer a { display: block; margin-bottom: 8px; color: var(--muted); }
.footer a:hover { color: var(--text); }

.legal {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 12.5px;
  color: var(--dim);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.62);
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.open { display: grid; }

.modal-card {
  width: min(440px, 100%);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.modal-card h2 { font-size: 26px; margin-bottom: 6px; }
.modal-card .lead { font-size: 14.5px; margin-bottom: 20px; }

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.field label { font-size: 13px; color: var(--muted); font-weight: 600; }

.field input:not([type="checkbox"]), .field select, .field textarea {
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.25);
  outline: none;
  width: 100%;
}

.modal-card #legal-field {
  display: block;
  width: 100%;
  margin: 12px 0 0;
  text-align: left;
}

.modal-card #legal-field .check-item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  border: 0;
  background: none;
  padding: 0;
  width: 100%;
  max-width: 100%;
  font-weight: 500;
  color: var(--muted);
  white-space: normal;
}

.modal-card #legal-field .check-item span {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
}

.modal-card #legal-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--green);
}

.field textarea { height: auto; padding: 12px 14px; }

.field input:focus { border-color: var(--green); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.switch-auth {
  text-align: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.switch-auth button { color: var(--green); font-weight: 700; }

/* Cabinet */
.cabinet {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 72px);
}
#cab-app.cabinet {
  grid-template-columns: 240px minmax(0, 1fr) 280px;
}

.side {
  border-right: 1px solid var(--line);
  padding: 22px 14px;
  background: rgba(255, 255, 255, 0.015);
}

.side a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.side a.active,
.side a:hover {
  background: var(--green-soft);
  color: var(--text);
}

.main {
  padding: 28px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.kpi {
  padding: 18px;
}

.kpi span { color: var(--muted); font-size: 13px; }
.kpi b {
  display: block;
  font-size: 26px;
  font-family: var(--display);
  margin-top: 6px;
  letter-spacing: -0.03em;
}

.table-wrap { overflow: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
}

th { color: var(--muted); font-weight: 600; font-size: 12.5px; }

.ok { color: var(--green); font-weight: 700; }
.wait { color: var(--gold); font-weight: 700; }

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  max-width: 920px;
  margin: 0 auto;
}

.cookie.open { display: flex; }
.cookie p { color: var(--muted); font-size: 13.5px; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  background: rgba(5, 7, 11, 0.96);
  z-index: 45;
  padding: 20px;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav.open { display: flex; }

@media (max-width: 1020px) {
  .nav, .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .hero-grid, .about-grid, .footer-grid { grid-template-columns: 1fr; }
  .tools-grid,
  .offers-grid,
  .offers-grid.cols-2,
  .offers-grid.cols-3,
  .how-grid,
  .audience,
  .stats,
  .kpi-row,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-visual { min-height: 420px; }
  .cabinet { grid-template-columns: 1fr; }
  .side { display: flex; gap: 8px; overflow: auto; border-right: 0; border-bottom: 1px solid var(--line); flex-shrink: 0; }
  .side .group { display: none; }
  .side a { white-space: nowrap; margin-bottom: 0; flex-shrink: 0; }
  .promo { border-left: 0; border-top: 1px solid var(--line); }
  .cta-finale { padding: 40px 20px 32px; }
  .main { padding: 20px 16px; }
}

.danger { color: var(--red); font-weight: 700; }
.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--line);
  color: var(--muted);
}
.badge-ok { color: #05210f; background: var(--green); border-color: var(--green); }
.badge-wait { color: #3a2a00; background: var(--gold); border-color: var(--gold); }
.badge-new { color: #dbe7ff; background: rgba(91, 140, 255, 0.2); border-color: rgba(91, 140, 255, 0.35); }
.badge-no { color: var(--red); background: rgba(255, 93, 108, 0.12); border-color: rgba(255, 93, 108, 0.3); }

.side a small { color: var(--dim); font-size: 11px; display: block; font-weight: 500; }
.side .group { color: var(--dim); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 16px 12px 6px; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.toolbar input, .toolbar select {
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.25);
  outline: none;
  min-width: 180px;
}

.panel { padding: 18px; margin-bottom: 14px; }
.muted { color: var(--muted); font-size: 14px; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
}
.check-item input { margin-top: 3px; }
.design-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.design-card {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  cursor: pointer;
  min-height: 96px;
}
.design-card.active { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }

.wizard-steps { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.wizard-steps span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.wizard-steps span.on { background: var(--green); color: #05210f; border-color: var(--green); font-weight: 700; }

.doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 0 80px;
}
.doc h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 28px 0 10px; }
.doc h3 { font-size: 16px; margin: 18px 0 8px; }
.doc p, .doc li { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.doc ol, .doc ul { padding-left: 18px; margin-bottom: 12px; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc .reqs { width: 100%; margin: 16px 0 24px; }
.doc .reqs td:first-child { color: var(--muted); width: 42%; }
.req-card { padding: 18px; margin: 18px 0 28px; }

.admin-login {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 40px 16px;
}

.theme-light {
  background: #f4f6f8;
  color: #12161c;
}
.theme-light .header { background: rgba(255,255,255,0.9); border-bottom-color: #e6e8ee; }
.theme-light .header a, .theme-light .logo { color: #12161c; }
.theme-light .v-wrap { width: min(980px, calc(100% - 32px)); margin: 24px auto 64px; }
.theme-light .v-hero { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid #e6e8ee; margin-bottom: 16px; }
.theme-light h1 { color: #12161c; }
.theme-light .lead, .theme-light .muted { color: #5c6573; }
.v-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 14px; }
.v-form { padding: 22px; border-radius: 24px; }
.theme-dark-page { background: #070b12; color: #f3f6fb; }
.theme-dark-page .v-hero, .theme-dark-page .v-form, .theme-dark-page .offer-card {
  background: #10151f;
  border: 1px solid rgba(255,255,255,0.08);
}
.theme-emerald { background: #07140e; }
.theme-emerald .v-hero { background: linear-gradient(160deg, #0d2a1c, #0a1612); border: 1px solid rgba(61,255,138,0.2); }

.chat {
  width: min(420px, 100%);
  margin: 24px auto 48px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c1210;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}
.chat-head {
  padding: 14px 16px;
  background: #17251e;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}
.chat-body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow: auto; }
.bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
}
.bubble.bot { background: #1b2a22; align-self: flex-start; }
.bubble.me { background: var(--green); color: #05210f; align-self: flex-end; }
.chat-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 16px; }
.chat-actions .btn { height: 38px; font-size: 13px; }

.notice {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--green-soft);
  border: 1px solid rgba(61,255,138,0.2);
  color: var(--text);
  font-size: 14px;
  margin-bottom: 14px;
}

.offer-thumb {
  width: 72px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  flex-shrink: 0;
}

.high-payout {
  border: 1px solid rgba(61, 255, 138, 0.7) !important;
  animation: payout-blink 1.6s ease-in-out infinite;
}
@keyframes payout-blink {
  0%, 100% { box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.35), 0 0 14px rgba(61, 255, 138, 0.12); }
  50% { box-shadow: 0 0 0 2px rgba(61, 255, 138, 0.9), 0 0 28px rgba(61, 255, 138, 0.4); }
}

.badge-hot {
  color: #3a2a00;
  background: var(--gold);
  border-color: var(--gold);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  vertical-align: middle;
  margin-left: 8px;
  border: 1px solid var(--line);
}
.rank-newbie { color: var(--muted); background: rgba(255,255,255,.06); }
.rank-starter { color: #dbe7ff; background: rgba(91,140,255,.2); border-color: rgba(91,140,255,.35); }
.rank-active { color: #05210f; background: var(--green); border-color: var(--green); }
.rank-advanced { color: #3a2a00; background: var(--gold); border-color: var(--gold); }
.rank-pro { color: #fff; background: #7c3aed; border-color: #7c3aed; }

.cab-head { margin-bottom: 18px; }
.cab-cat { margin: 22px 0 12px; }
.cab-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cab-offer { padding: 16px; display: grid; gap: 12px; }
.payout-stack { display: grid; gap: 6px; }
.payout-line small { color: var(--dim); display: block; font-size: 11.5px; }
.payout-line b { font-size: 18px; letter-spacing: -0.03em; }
.cab-offer-top { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.cab-offer-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.cab-offer-title h3 { font-size: 16px; letter-spacing: -0.02em; }
.cab-offer-pay { text-align: left; grid-column: 1 / -1; }
.cab-offer-pay small { color: var(--dim); display: block; font-size: 12px; }
.cab-offer-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: rgba(255,255,255,.03);
  border-radius: 12px;
  padding: 10px 12px;
}
.cab-offer-stats span { color: var(--muted); font-size: 12.5px; }
.cab-offer-stats b { color: var(--text); display: block; font-size: 16px; margin-top: 2px; }
.cab-offer-more { color: var(--muted); font-size: 13.5px; }
.cab-offer-more summary { cursor: pointer; font-weight: 700; color: var(--text); margin-bottom: 6px; }

.promo {
  border-left: 1px solid var(--line);
  padding: 22px 16px;
  background: rgba(255,255,255,.015);
}
.promo-card { padding: 16px; position: sticky; top: 88px; }
.promo-card h3 { font-size: 18px; margin: 6px 0 8px; }
.promo-offer {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.15);
}
.promo-offer b { display: block; font-size: 13px; }
.promo-offer small { color: var(--green); font-weight: 800; }

@media (max-width: 1180px) {
  #cab-app.cabinet { grid-template-columns: 220px minmax(0, 1fr); }
  #cab-app .promo { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .cab-offer-grid,
  .cab-offer-top,
  .cab-offer-stats {
    grid-template-columns: 1fr;
  }
  .cab-offer-pay { text-align: left; }
  .cab-offer-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mini-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-sm { height: 34px; padding: 0 10px; font-size: 12.5px; border-radius: 10px; }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 1020px) {
  .check-grid, .design-grid, .v-grid, .split-2 { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container,
  .container-wide {
    width: min(1180px, calc(100% - 24px));
  }

  .tools-grid,
  .offers-grid,
  .offers-grid.cols-2,
  .offers-grid.cols-3,
  .cab-offer-grid,
  .how-grid,
  .audience,
  .stats,
  .kpi-row,
  .steps,
  .section-head {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: 0;
    padding: 14px;
  }

  .offer-top {
    align-items: flex-start;
  }

  .offer-top .tag {
    max-width: 52%;
    white-space: normal;
    text-align: right;
    line-height: 1.25;
  }

  .offer-card h3 {
    height: auto;
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
  }

  .offer-card .sub {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .offer-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-height: 0;
  }

  .offer-bottom .btn {
    width: 100%;
    white-space: normal;
    flex-shrink: 1;
    padding: 0 12px;
  }

  .offer-bottom .payout {
    font-size: 22px;
  }

  .payout-stack {
    gap: 8px;
  }

  .payout-line b {
    font-size: 16px;
  }

  .cab-offer .mini-actions {
    flex-direction: column;
  }

  .cab-offer .mini-actions .btn {
    width: 100%;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin-right: -4px;
  }

  .chip-btn {
    flex-shrink: 0;
  }

  .plastic-card { width: 280px; left: 0; }
  .offer-float, .dash-float { width: min(280px, 100%); left: 0; right: auto; }
  .hero { padding-top: 40px; }
  .cookie { flex-direction: column; }
  .main { padding: 16px 12px; }
  .kpi b { font-size: 22px; }
}
