:root {
  --bg: #07111c;
  --bg-soft: #0d1828;
  --card: rgba(18, 29, 48, 0.95);
  --card-2: rgba(12, 23, 39, 0.95);
  --line: rgba(143, 173, 214, 0.22);
  --line-strong: rgba(143, 173, 214, 0.38);
  --text: #edf4ff;
  --muted: #9fb0c8;
  --accent: #62d0ff;
  --accent-2: #7b8cff;
  --radius: 18px;
  --shadow: 0 18px 42px rgba(0,0,0,.34);
  --max: 1240px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at top, rgba(88,164,255,.18), transparent 34%),
    linear-gradient(180deg, #08111c 0%, #09131f 50%, #06101a 100%);
  color: var(--text);
}

body.nav-open { overflow: hidden; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 13, 23, 0.78);
  border-bottom: 1px solid rgba(143, 173, 214, 0.12);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 0 4px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  white-space: nowrap;
}

.brand,
.brand:hover,
.brand:focus,
.brand:active {
  text-decoration: none;
}

.logo {
  height: 36px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
  border-color: rgba(98,208,255,.28);
  background: rgba(98,208,255,.08);
  text-decoration: none;
}

.burger {
  display: none;
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  z-index: 41;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(143,173,214,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .22s ease, border-color .22s ease;
}

.burger:hover {
  background: rgba(98,208,255,.08);
  border-color: rgba(98,208,255,.4);
}

.burger span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform-origin: center;
  transition: transform .24s ease, opacity .2s ease;
}

.burger span:nth-child(1) { transform: translate(-50%, -7px); }
.burger span:nth-child(2) { transform: translate(-50%, 0); }
.burger span:nth-child(3) { transform: translate(-50%, 7px); }
.burger.is-open span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translate(-50%, 0) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: absolute;
  top: 68px;
  left: 10px;
  right: 10px;
  z-index: 40;
  padding: 10px;
  border: 1px solid rgba(143,173,214,.16);
  border-radius: 18px;
  background: rgba(6,13,23,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(0,0,0,.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px) scale(.985);
  transform-origin: top center;
  transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--text);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.mobile-nav a:hover,
.mobile-nav a.is-active {
  background: rgba(98,208,255,.08);
  border-color: rgba(98,208,255,.22);
  color: #fff;
  text-decoration: none;
}

.page-shell {
  padding: 34px 0 34px;
}

.hero-card {
  background: linear-gradient(135deg, rgba(14, 27, 43, .92), rgba(8, 17, 29, .96));
  border: 1px solid rgba(143, 173, 214, .16);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  margin-bottom: 22px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(98,208,255,.16), transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(123,140,255,.14), transparent 28%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap:30px;
  padding: 30px 0 0 30px;
  position: relative;
  z-index: 1;
  align-items:end;
}
.hero-side{
  justify-self:end;
}
.hero-side img{
	max-width:320px;
  width:100%;
  height:auto;
  display:block;
  
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #c8e5ff;
  background: rgba(98,208,255,.08);
  border: 1px solid rgba(98,208,255,.2);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.pageHeader {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  margin: 0;
}

.pageHeader h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
}

.sub {
  color: #c7d5ea;
  font-size: 16px;
  line-height: 1.65;
  max-width: 760px;
}

.hero-side {
  display: grid;
  gap: 14px;
  align-content: end;
}

.info-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(143, 173, 214, .16);
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.info-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 22px;
}

.input,
select {
  min-height: 28px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(143, 173, 214, .22);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.input {
  min-width: 280px;
  flex: 1 1 320px;
}

select {
  min-width: 190px;
  cursor: pointer;
}

.input:focus,
select:focus {
  border-color: rgba(98,208,255,.42);
  box-shadow: 0 0 0 3px rgba(98,208,255,.10);
}

#cat option,
#sort option {
  background-color: #101b2c;
  color: var(--text);
}

.count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(143, 173, 214, .22);
  background: rgba(255,255,255,.02);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.panel {
  background: linear-gradient(180deg, rgba(15, 26, 42, .95), rgba(10, 18, 29, .96));
  border: 1px solid rgba(143, 173, 214, .16);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panelHead {
  padding: 22px;
  border-bottom: 1px solid rgba(143, 173, 214, .12);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
}

.panelHead-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.panelTitle {
  display: flex;
  align-items: center;
  font-size: 21px;
  font-weight: 800;
}

.panelTitle::before {
  min-width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(98,208,255,.12);
  border: 1px solid rgba(98,208,255,.22);
  color: #dff5ff;
  font-weight: 800;
  margin-right: 12px;
}

.small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.toolbar--panel {
  margin-top: 0;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.toolbar--panel .input {
  flex: 1 1 280px;
  max-width: 320px;
}

.table {
  display: flex;
  flex-direction: column;
}

#rows {
  min-height: 160px;
}

.row {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid rgba(143, 173, 214, .10);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.row:nth-child(even) {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.012));
}

.row:hover {
  background: rgba(98,208,255,.06);
  box-shadow: inset 0 0 0 1px rgba(98,208,255,.14);
}

.row:focus {
  outline: 2px solid rgba(98,208,255,.42);
  outline-offset: -2px;
}

.cell {
  padding: 16px 22px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 88px;
}

.meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.titleline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.name:hover {
  color: #fff;
  text-decoration: none;
}

.badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  font-size: 12px;
  color: #d7e5f7;
  background: rgba(98,208,255,.08);
  border: 1px solid rgba(98,208,255,.18);
  padding: 4px 9px;
  border-radius: 999px;
}

.badge--clickable {
  cursor: pointer;
  transition: all .15s ease;
}

.badge--clickable:hover {
  border-color: rgba(98,208,255,.45);
  color: #fff;
  background: rgba(98,208,255,.12);
}

.badge--active {
  border-color: rgba(98,208,255,.55);
  color: #fff;
  background: rgba(98,208,255,.16);
  box-shadow: inset 0 0 0 1px rgba(98,208,255,.14);
}

.desc {
  color: #d7e1ef;
  line-height: 1.6;
}

.emptyState {
  padding: 28px 14px;
  color: var(--muted);
  text-align: center;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seoBlock {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(143, 173, 214, .16);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 26, 42, .95), rgba(10, 18, 29, .96));
  box-shadow: var(--shadow);
}

.seoBlock h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.linkGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.linkGrid a {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(143, 173, 214, .16);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,.03);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.linkGrid a:hover {
  border-color: rgba(98,208,255,.35);
  background: rgba(98,208,255,.08);
  transform: translateY(-1px);
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .wrap {
    width: min(calc(100% - 20px), var(--max));
  }

  .page-shell {
    padding: 18px 0 28px;
  }

  .hero-grid,
  .cell,
  .seoBlock {
    padding-left: 18px;
    padding-right: 18px;
  }

  .panelHead {
    padding: 18px;
  }

  .hero-grid {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .pageHeader {
    grid-template-columns: 1fr;
  }

  .toolbar {
    margin-top: 18px;
  }

  .panelHead {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar--panel {
    justify-content: stretch;
  }

  .input,
  select,
  .count {
    width: 100%;
    min-width: 0;
  }

  .topbar-inner {
    padding-right: 52px;
  }

  .nav {
    display: none;
  }

  .burger {
    display: block;
  }
}

@media (min-width: 821px) {
  .mobile-nav,
  .mobile-overlay {
    display: none !important;
  }
}

#count {
  display: none;
}