﻿:root {
      --primary: #1D7BFF;
      --primary-glow: rgba(29, 123, 255, 0.15);
      --accent: rgb(202,138,4);
      --accent-glow: rgba(202,138,4, 0.2);
      --bg-dark: #090D1A;
      --bg-deep: #050811;
      --bg-card: #111827;
      --border-color: rgba(255, 255, 255, 0.08);
      --text-main: #F8FAFC;
      --text-muted: #94A3B8;
      --max-width: 1200px;
      --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }

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

    body {
      background-color: var(--bg-dark);
      color: var(--text-main);
      font-family: var(--font-family);
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 24px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.3s ease;
      border: 1px solid transparent;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary) 0%, #0056b3 100%);
      color: #fff;
    }

    .btn-secondary {
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-main);
      border-color: var(--border-color);
    }

    
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(9, 13, 26, 0.8);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
    }

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

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
    }

    .logo img {
      display: block;
      height: 36px;
      width: auto;
      max-width: 160px;
      object-fit: contain;
    }

    .logo span {
      display: inline-block;
      font-size: 18px;
      font-weight: 800;
      color: var(--text-main);
    }

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

    .nav-menu a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-muted);
    }

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

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      color: var(--text-main);
      font-size: 24px;
      cursor: pointer;
    }

    
    .drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(4px);
      z-index: 1999;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .drawer-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    .drawer {
      position: fixed;
      top: 0;
      left: -300px;
      width: 300px;
      height: 100%;
      background: var(--bg-deep);
      border-right: 1px solid var(--border-color);
      z-index: 2000;
      display: flex;
      flex-direction: column;
      transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      padding: 24px;
    }

    .drawer.active {
      left: 0;
    }

    .drawer-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 40px;
    }

    .drawer-close {
      background: none;
      border: none;
      color: var(--text-muted);
      font-size: 24px;
      cursor: pointer;
    }

    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 24px;
      flex-grow: 1;
    }

    .drawer-nav a {
      font-size: 16px;
      font-weight: 500;
    }

    
    .breadcrumbs-bar {
      padding: 110px 0 20px;
      background: var(--bg-deep);
      border-bottom: 1px solid var(--border-color);
      font-size: 14px;
      color: var(--text-muted);
    }

    .breadcrumbs-bar a:hover {
      color: var(--primary);
    }

    
    .article-layout {
      display: grid;
      grid-template-columns: 2.4fr 1fr;
      gap: 40px;
      padding: 60px 0;
    }

    .article-main {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 40px;
    }

    .article-header {
      margin-bottom: 30px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      padding-bottom: 30px;
    }

    .article-header h1 {
      font-size: 32px;
      font-weight: 800;
      line-height: 1.3;
      margin-bottom: 20px;
      color: var(--text-main);
    }

    .article-meta-info {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      font-size: 13px;
      color: var(--text-muted);
    }

    .article-meta-info span {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .article-content {
      font-size: 16px;
      line-height: 1.8;
      color: #E2E8F0;
    }

    .article-content p {
      margin-bottom: 24px;
    }

    .article-content h2, .article-content h3 {
      color: var(--text-main);
      font-weight: 700;
      margin: 40px 0 20px;
    }

    .article-content img {
      border-radius: 8px;
      margin: 20px auto;
      display: block;
    }

    .article-tags-wrap {
      margin-top: 50px;
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,0.06);
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .article-tags-label {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-muted);
    }

    .tags-container {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .tag-link-item {
      font-size: 13px;
      background: rgba(29, 123, 255, 0.08);
      color: var(--primary);
      padding: 4px 12px;
      border-radius: 6px;
    }

    .tag-link-item:hover {
      background: var(--primary);
      color: #fff;
    }

    
    .prev-next-nav {
      margin-top: 40px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .pn-card {
      background: rgba(255,255,255,0.02);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      transition: all 0.3s ease;
    }

    .pn-card:hover {
      border-color: var(--primary);
    }

    .pn-label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .pn-title {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-main);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    
    .like-articles-wrapper {
      margin-top: 60px;
    }

    .like-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 24px;
    }

    .like-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    .widget {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 24px;
    }

    .widget-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--primary);
    }

    .widget-list {
      list-style: none;
    }

    .widget-list li {
      margin-bottom: 16px;
    }

    .widget-list a {
      font-size: 14px;
      color: var(--text-muted);
    }

    .widget-list a:hover {
      color: var(--primary);
    }

    
    footer {
      background: #03060c;
      padding: 80px 0 30px;
      border-top: 1px solid var(--border-color);
      color: var(--text-muted);
      font-size: 14px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 40px;
      margin-bottom: 50px;
    }

    .footer-brand p {
      margin-top: 16px;
      line-height: 1.6;
    }

    .footer-title {
      color: var(--text-main);
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 20px;
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 12px;
    }

    .footer-links a:hover {
      color: var(--primary);
    }

    .footer-bottom {
      padding-top: 30px;
      border-top: 1px solid rgba(255,255,255,0.05);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

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

    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .menu-toggle { display: block; }
      .prev-next-nav { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
    }