:root {
  --bg: #09090b;
  --surface: #121216;
  --surface-hover: #18181f;
  --border: #27272a;
  --accent: #f59e0b;
  --accent-sky: #38bdf8;
  --accent-emerald: #10b981;
  --text: #f4f4f5;
  --muted: #a1a1aa;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  margin: 0;
  padding-bottom: 64px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-sky);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--accent);
}

.vk-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(9, 9, 11, 0.88);
  border-bottom: 1px solid rgba(39, 39, 42, 0.85);
}

.vk-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vk-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.vk-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.brand-text-col {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-title-tld {
  color: #fbbf24;
}

.brand-sub {
  font-size: 10px;
  color: #a1a1aa;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}

.vk-desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 960px) {
  .vk-desktop-nav {
    display: flex;
  }
}

.vk-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: #d4d4d8;
  transition: background 0.15s, color 0.15s;
}

.vk-nav-link:hover,
.vk-nav-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.vk-nav-link--accent {
  color: #fbbf24;
  font-weight: 700;
}

.vk-nav-link--accent:hover {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
}

.vk-nav-link--sky {
  color: #38bdf8;
  font-weight: 700;
}

.vk-nav-link--sky:hover {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
}

.vk-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vk-header-cta {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

@media (min-width: 1080px) {
  .vk-header-cta {
    display: inline-flex;
  }
}

.vk-header-cta--amber {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fcd34d;
}

.vk-header-cta--amber:hover {
  background: rgba(245, 158, 11, 0.25);
  color: #fde68a;
}

.vk-header-cta--sky {
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #7dd3fc;
}

.vk-header-cta--sky:hover {
  background: rgba(14, 165, 233, 0.25);
  color: #bae6fd;
}

.vk-lang-switch {
  display: flex;
  align-items: center;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 8px;
  padding: 2px;
  font-size: 0.75rem;
  font-weight: 600;
}

.vk-lang-btn {
  padding: 4px 8px;
  border-radius: 6px;
  color: #a1a1aa;
  text-decoration: none;
  line-height: 1.1;
}

.vk-lang-btn:hover {
  color: #fff;
}

.vk-lang-btn.is-active {
  background: #f59e0b;
  color: #09090b;
  font-weight: 700;
}

.vk-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #27272a;
  background: #18181b;
  color: #e4e4e7;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.vk-menu-toggle:hover {
  background: #27272a;
}

@media (min-width: 960px) {
  .vk-menu-toggle {
    display: none;
  }
}

.vk-mobile-subbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  overflow-x: auto;
  border-top: 1px solid rgba(39, 39, 42, 0.7);
  background: rgba(15, 15, 18, 0.95);
  scrollbar-width: none;
}

.vk-mobile-subbar::-webkit-scrollbar {
  display: none;
}

@media (min-width: 960px) {
  .vk-mobile-subbar {
    display: none;
  }
}

.vk-mobile-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: #d4d4d8;
  background: #18181b;
  border: 1px solid #27272a;
}

.vk-mobile-pill--accent {
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.1);
}

.vk-mobile-pill--sky {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.1);
}

.vk-mobile-pill.is-active {
  border-color: #f59e0b;
  color: #fff;
}

.vk-mobile-drawer {
  display: none;
  border-top: 1px solid #27272a;
  background: #09090b;
  padding: 14px 16px 18px;
}

.vk-mobile-drawer.is-open {
  display: block;
}

@media (min-width: 960px) {
  .vk-mobile-drawer,
  .vk-mobile-drawer.is-open {
    display: none;
  }
}

.vk-drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.vk-drawer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: #e4e4e7;
  background: #18181b;
  border: 1px solid #27272a;
}

.vk-drawer-link:hover {
  border-color: #f59e0b;
  color: #fff;
}

.vk-drawer-ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vk-drawer-cta-primary {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  background: #f59e0b;
  color: #09090b;
  font-weight: 800;
  font-size: 0.8rem;
  text-align: center;
  text-decoration: none;
}

.vk-drawer-cta-secondary {
  display: block;
  width: 100%;
  padding: 9px 16px;
  border-radius: 12px;
  background: #27272a;
  border: 1px solid #3f3f46;
  color: #7dd3fc;
  font-weight: 600;
  font-size: 0.78rem;
  text-align: center;
  text-decoration: none;
}

.vip-strip {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 0 20px;
}

.vip-strip-inner {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.14), rgba(56, 189, 248, 0.12));
  border: 1px solid rgba(245, 158, 11, 0.38);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.vip-strip-text strong {
  color: #fbbf24;
}

.vip-strip-sep {
  color: #71717a;
  margin: 0 6px;
}

.vip-btn {
  background: #f59e0b;
  color: #09090b;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

.vip-btn:hover {
  background: #fbbf24;
  color: #09090b;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 20px 60px;
}

.hero-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-header h1 {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: #fff;
  line-height: 1.2;
}

.hero-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 680px;
}

.grid-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.post-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.5);
  background: var(--surface-hover);
}

.post-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(145deg, #14141b, #0f131d);
  border-color: rgba(56, 189, 248, 0.35);
  padding: 32px;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.cat-badge {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}

.post-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.32;
}

.post-card.featured h2 {
  font-size: 1.85rem;
}

.post-card h2 a {
  color: #fff;
}

.post-card h2 a:hover {
  color: var(--accent);
}

.excerpt {
  color: #d4d4d8;
  font-size: 0.96rem;
  margin: 0 0 20px;
  line-height: 1.6;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  font-weight: 600;
}

.read-link {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.source-muted {
  color: var(--muted);
}

.empty-state {
  grid-column: 1 / -1;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}

.article-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 38px 42px;
}

@media (max-width: 640px) {
  .article-main {
    padding: 24px 20px;
  }
  .hero-header h1 {
    font-size: 1.75rem;
  }
}

.breadcrumb {
  margin-bottom: 18px;
  font-size: 0.84rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-sep {
  color: #52525b;
}

.breadcrumb-current {
  color: #e4e4e7;
  font-weight: 600;
}

.article-main h1 {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.24;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.article-lead {
  font-size: 1.12rem;
  color: #e4e4e7;
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 28px;
}

.article-body {
  font-size: 1.06rem;
  color: #e4e4e7;
  line-height: 1.78;
}

.article-body p {
  margin: 0 0 1.25em;
}

.article-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin: 1.8em 0 0.7em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 1.4em 0 0.5em;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.3em;
  padding-left: 1.4em;
}

.article-body li {
  margin-bottom: 0.5em;
}

.article-body blockquote {
  margin: 1.4em 0;
  padding: 14px 20px;
  background: rgba(56, 189, 248, 0.08);
  border-left: 4px solid var(--accent-sky);
  border-radius: 0 12px 12px 0;
  color: #f4f4f5;
  font-style: italic;
}

.article-body a {
  color: var(--accent-sky);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.action-callout {
  margin-top: 28px;
  padding: 18px 22px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
}

.action-callout-title {
  font-weight: 800;
  color: #34d399;
  margin-bottom: 6px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 84px;
}

.side-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.side-box.promo {
  background: linear-gradient(155deg, rgba(245, 158, 11, 0.14), rgba(18, 18, 22, 0.96));
  border-color: rgba(245, 158, 11, 0.45);
}

.side-box h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: #fff;
}

.side-box p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: #d4d4d8;
}

.btn-full {
  display: block;
  text-align: center;
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.btn-amber {
  background: var(--accent);
  color: #09090b;
}

.btn-amber:hover {
  background: #fbbf24;
  color: #09090b;
}

.btn-outline {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.22);
  color: #fff;
}

.side-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  line-height: 1.4;
}

.side-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.side-list a {
  color: #e4e4e7;
  font-weight: 600;
}

.side-list a:hover {
  color: var(--accent);
}

.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(245, 158, 11, 0.45);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
}

.sticky-mobile-bar a {
  color: #fbbf24;
  text-decoration: underline;
}
