
    :root {
      --bg: #0a0a0f;
      --surface: #111118;
      --surface2: #18181f;
      --border: rgba(255,255,255,0.07);
      --accent: #6c63ff;
      --accent2: #ff6584;
      --accent3: #43e97b;
      --text: #e8e8f0;
      --muted: #7a7a99;
      --card-bg: #14141c;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Space Grotesk', sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      overflow-x: hidden;
      position: relative;
    }

    /* ФОНОВЫЕ ПЛАВАЮЩИЕ ЭЛЕМЕНТЫ (НОВОЕ) */
    .bg-shape {
      position: fixed;
      border-radius: 50%;
      filter: blur(100px);
      z-index: -1;
      opacity: 0.12;
      pointer-events: none;
    }
    .bg-shape-1 {
      width: 400px; height: 400px;
      background: var(--accent);
      top: 5%; right: -100px;
      animation: drift1 20s ease-in-out infinite alternate;
    }
    .bg-shape-2 {
      width: 350px; height: 350px;
      background: var(--accent2);
      bottom: 10%; left: -100px;
      animation: drift2 25s ease-in-out infinite alternate;
    }

    @keyframes drift1 {
      0% { transform: translate(0, 0) scale(1); }
      100% { transform: translate(-50px, 80px) scale(1.1); }
    }
    @keyframes drift2 {
      0% { transform: translate(0, 0) scale(1); }
      100% { transform: translate(60px, -60px) scale(1.15); }
    }

    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 1000;
      opacity: 0.4;
    }

    /* HEADER */
    header {
      position: sticky;
      top: 0;
      z-index: 900;
      background: rgba(10,10,15,0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

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

    .logo a {
      font-family: 'Syne', sans-serif;
      font-size: 24px;
      font-weight: 800;
      color: var(--text);
      text-decoration: none;
      letter-spacing: -0.5px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      display: inline-block;
      animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.4); opacity: 0.6; }
    }

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

    nav a {
      text-decoration: none;
      color: var(--muted);
      font-weight: 500;
      font-size: 14px;
      padding: 8px 14px;
      border-radius: 8px;
      transition: all 0.2s;
      letter-spacing: 0.02em;
    }

    nav a:hover {
      color: var(--text);
      background: var(--surface2);
    }

    /* HERO */
    .hero {
      padding: 72px 0 48px;
      position: relative;
    }

    .hero-glow {
      position: absolute;
      top: -60px;
      left: -100px;
      width: 600px;
      height: 400px;
      background: radial-gradient(ellipse, rgba(108,99,255,0.15) 0%, transparent 70%);
      pointer-events: none;
      /* НОВОЕ: Дыхание свечения */
      animation: glowBreathe 8s ease-in-out infinite alternate;
    }

    @keyframes glowBreathe {
      0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
      100% { transform: scale(1.1) translate(20px, 15px); opacity: 1; }
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(108,99,255,0.1);
      border: 1px solid rgba(108,99,255,0.3);
      color: var(--accent);
      font-size: 12px;
      font-weight: 600;
      padding: 5px 12px;
      border-radius: 999px;
      margin-bottom: 20px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-family: 'JetBrains Mono', monospace;
    }

    .hero h1 {
      font-family: 'Syne', sans-serif;
      font-size: clamp(36px, 5vw, 62px);
      font-weight: 800;
      letter-spacing: -2px;
      line-height: 1.05;
      margin-bottom: 18px;
      background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.6) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero p {
      color: var(--muted);
      font-size: 17px;
      max-width: 520px;
      line-height: 1.7;
    }

    /* SEARCH */
    .search-wrap {
      margin: 32px 0 40px;
      max-width: 440px;
      position: relative;
    }

    .search-icon {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--muted);
      font-size: 16px;
    }

    .search-wrap input {
      width: 100%;
      padding: 14px 18px 14px 44px;
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: 12px;
      font-size: 14px;
      font-family: 'Space Grotesk', sans-serif;
      color: var(--text);
      outline: none;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .search-wrap input::placeholder { color: var(--muted); }

    .search-wrap input:focus {
      border-color: rgba(108,99,255,0.5);
      background: var(--surface);
      box-shadow: 0 0 0 4px rgba(108,99,255,0.15);
      transform: translateY(-2px); /* НОВОЕ: Микро-подскок инпута */
    }

    /* LAYOUT */
    .main-layout {
      display: flex;
      gap: 32px;
      align-items: flex-start;
      margin-bottom: 80px;
    }

    /* SIDEBAR */
    .sidebar {
      flex: 0 0 230px;
      position: sticky;
      top: 88px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .ad-banner {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 24px 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .ad-banner::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      /* НОВОЕ: Анимированный градиент на карточке рекламы */
      background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3), var(--accent));
      background-size: 300% 100%;
      animation: gradientMove 4s linear infinite;
    }

    @keyframes gradientMove {
      0% { background-position: 0% 50%; }
      100% { background-position: 100% 50%; }
    }

    .ad-label {
      font-size: 10px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      font-family: 'JetBrains Mono', monospace;
      margin-bottom: 12px;
      display: block;
    }

    .ad-banner p {
      font-size: 14px;
      color: var(--text);
      line-height: 1.5;
      margin-bottom: 12px;
      font-weight: 500;
    }

    .ad-banner a {
      color: var(--accent);
      font-size: 12px;
      font-family: 'JetBrains Mono', monospace;
      text-decoration: none;
      word-break: break-all;
    }

    .ad-banner a:hover { text-decoration: underline; }

    .sidebar-stats {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 20px;
    }

    .sidebar-stats h4 {
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      font-family: 'JetBrains Mono', monospace;
      margin-bottom: 16px;
    }

    .stat-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 0;
      border-bottom: 1px solid var(--border);
      font-size: 13px;
    }

    .stat-item:last-child { border-bottom: none; }
    .stat-item span:first-child { color: var(--muted); }
    .stat-item span:last-child { color: var(--text); font-weight: 600; font-family: 'JetBrains Mono', monospace; font-size: 12px; }

    /* CONTENT AREA */
    .content-area { flex: 1; min-width: 0; }

    /* TAG FILTER */
    .tag-filter {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 32px;
    }

    .tag-filter button {
      padding: 7px 16px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: transparent;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      font-family: 'Space Grotesk', sans-serif;
      color: var(--muted);
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      letter-spacing: 0.02em;
    }

    .tag-filter button:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(108,99,255,0.05);
      transform: translateY(-2px); /* НОВОЕ: Микро-всплытие тегов при наведении */
    }

    .tag-filter button.active {
      background: var(--accent);
      color: #fff;
      border-color: var(--accent);
    }
    .tag-filter button.active:hover {
      background: #5b54e6;
      color: #fff;
    }

    /* NEWS GRID */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .news-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 22px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      text-decoration: none;
      color: inherit;
      transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
      position: relative;
      overflow: hidden;
      animation: fadeUp 0.4s ease both;
    }

    .news-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(108,99,255,0.05), transparent);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .news-card:hover::before { opacity: 1; }

    .news-card:hover {
      border-color: rgba(108,99,255,0.3);
      transform: translateY(-4px) scale(1.01); /* Улучшенное наведение карточек */
      box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(108,99,255,0.1);
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .news-card h3 {
      font-size: 16px;
      font-weight: 600;
      line-height: 1.4;
      margin-bottom: 10px;
      color: var(--text);
      letter-spacing: -0.02em;
      transition: color 0.2s;
    }
    
    .news-card:hover h3 {
      color: var(--accent);
    }

    .news-card p {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.6;
      margin-bottom: 16px;
      flex: 1;
    }

    .news-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 11px;
      font-family: 'JetBrains Mono', monospace;
      color: var(--muted);
    }

    .news-tag {
      background: rgba(108,99,255,0.1);
      color: var(--accent);
      padding: 3px 8px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    /* FOOTER */
    footer {
      background: var(--surface);
      border-top: 1px solid var(--border);
      padding: 36px 0;
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }

    .footer-logo {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 18px;
      color: var(--text);
    }

    .footer-links { display: flex; flex-wrap: wrap; gap: 4px; }

    .footer-links a {
      color: var(--muted);
      text-decoration: none;
      font-size: 13px;
      padding: 6px 12px;
      border-radius: 6px;
      transition: all 0.2s;
    }

    .footer-links a:hover { color: var(--text); background: var(--surface2); }

    .footer-copy {
      color: var(--muted);
      font-size: 13px;
      font-family: 'JetBrains Mono', monospace;
    }

    .site-age {
      display: inline-block;
      color: var(--accent);
    }

    /* RESPONSIVE */
    @media (max-width: 1100px) {
      .news-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 900px) {
      .main-layout { flex-direction: column; }
      .sidebar { flex: none; width: 100%; position: static; flex-direction: row; }
      .ad-banner, .sidebar-stats { flex: 1; }
    }

    @media (max-width: 640px) {
      .news-grid { grid-template-columns: 1fr; }
      .hero h1 { letter-spacing: -1px; }
      nav a { padding: 8px 10px; font-size: 13px; }
      .sidebar { flex-direction: column; }
    }