
    /* ─── Reset & Base Variables ─── */
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    :root {
      --bg: #07070f;
      --bg2: #0d0d1a;
      --bg3: #131326;
      --border: rgba(255, 255, 255, 0.08);
      --purple: #7c3aed;
      --purple-l: #a855f7;
      --cyan: #06b6d4;
      --text: #e2e8f0;
      --muted: #64748b;
      --green: #10b981;
      --code-bg: #090a14;
    }

    /* ─── Scrollbar (matching ana ekran) ─── */
    ::-webkit-scrollbar { width: 6px; height: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--purple-l); }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      padding-top: 80px;
    }

    /* ─── Navbar ─── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      height: 72px; background: rgba(7, 7, 15, 0.88); backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      display: flex; align-items: center;
    }
    .nav-inner {
      max-width: 1440px; width: 100%; margin: 0 auto;
      padding: 0 32px; display: flex; align-items: center; justify-content: space-between;
    }
    .logo {
      font-family: 'Orbitron', 'Inter', sans-serif; font-size: 24px; font-weight: 900;
      text-decoration: none; letter-spacing: 2.2px; text-transform: uppercase;
      background: linear-gradient(135deg, #ffffff 65%, var(--purple-l));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      display: inline-flex; align-items: center; gap: 12px;
      transition: filter .2s ease;
      flex-shrink: 0;
      white-space: nowrap;
    }
    .logo:hover {
      filter: drop-shadow(0 0 12px rgba(168,85,247,.5));
    }
    .logo img {
      height: 48px; width: 48px; border-radius: 12px; object-fit: cover;
      border: 1.5px solid rgba(168, 85, 247, 0.55);
      box-shadow: 0 0 18px rgba(168, 85, 247, 0.45), 0 3px 10px rgba(0, 0, 0, 0.55);
      transition: all 0.25s ease;
      flex-shrink: 0;
    }
    .logo:hover img {
      transform: scale(1.08);
      border-color: rgba(168, 85, 247, 0.9);
      box-shadow: 0 0 26px rgba(168, 85, 247, 0.75);
    }
    .logo .brand-games {
      font-weight: 800;
      letter-spacing: 4.5px;
      margin-left: 2px;
      display: inline;
      background: linear-gradient(135deg, #ffffff 65%, var(--purple-l));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    .nav-right { display: flex; align-items: center; gap: 14px; }
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 600;
      text-decoration: none; transition: all .2s; cursor: pointer;
    }
    .btn-ghost {
      color: var(--text); background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border);
    }
    .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--purple-l); }
    .btn-primary {
      background: linear-gradient(135deg, var(--purple), var(--purple-l));
      color: #fff; border: 1px solid transparent;
      box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    }
    .btn-primary:hover { box-shadow: 0 0 30px rgba(124, 58, 237, 0.5); transform: translateY(-1px); }

    /* ─── Docs Layout ─── */
    .docs-layout {
      max-width: 1360px; margin: 0 auto; padding: 40px 24px 100px;
      display: grid; grid-template-columns: 280px 1fr; gap: 48px;
      align-items: start;
    }

    /* ─── Sidebar Navigation (matching ana ekran) ─── */
    .docs-sidebar {
      position: sticky; top: 110px;
      background: var(--bg2); border: 1px solid rgba(124, 58, 237, 0.2);
      border-radius: 14px; padding: 18px 16px;
      max-height: calc(100vh - 140px); overflow-y: auto;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(124, 58, 237, 0.05);
    }
    .docs-sidebar::-webkit-scrollbar { width: 5px; }
    .docs-sidebar::-webkit-scrollbar-track { background: transparent; }
    .docs-sidebar::-webkit-scrollbar-thumb { background: rgba(124, 58, 237, 0.4); border-radius: 3px; }
    .docs-sidebar::-webkit-scrollbar-thumb:hover { background: var(--purple-l); }

    .sidebar-title {
      font-size: 11px; font-weight: 700; text-transform: uppercase;
      letter-spacing: .08em; color: var(--muted); margin-bottom: 12px;
      padding-left: 8px;
    }
    .sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 4px; }
    .sidebar-nav a {
      display: flex; align-items: center; gap: 10px;
      padding: 9px 12px; border-radius: 8px;
      color: var(--muted); text-decoration: none;
      font-size: 13.5px; font-weight: 500; transition: all .2s ease;
      border: 1px solid transparent;
    }
    .sidebar-nav a:hover {
      color: #fff; background: rgba(124, 58, 237, 0.08);
      border-color: rgba(168, 85, 247, 0.2);
    }
    .sidebar-nav a.active {
      color: #fff;
      background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(168, 85, 247, 0.12));
      border: 1px solid rgba(168, 85, 247, 0.4);
      box-shadow: 0 0 16px rgba(124, 58, 237, 0.25);
      font-weight: 600;
    }

    /* ─── Main Content Area ─── */
    .docs-content {
      max-width: 920px; width: 100%;
    }

    .docs-header {
      margin-bottom: 40px; padding-bottom: 24px;
      border-bottom: 1px solid var(--border);
    }
    .docs-tag {
      display: inline-flex; align-items: center; gap: 6px;
      background: rgba(124, 58, 237, 0.15); border: 1px solid rgba(124, 58, 237, 0.4);
      color: var(--purple-l); font-size: 11px; font-weight: 700;
      letter-spacing: .06em; padding: 4px 10px; border-radius: 20px;
      text-transform: uppercase; margin-bottom: 12px;
    }
    .docs-title {
      font-size: 34px; font-weight: 800; color: #fff; margin-bottom: 12px;
      letter-spacing: -0.02em;
    }
    .docs-lead {
      font-size: 16px; color: var(--muted); line-height: 1.7;
    }

    /* Section Typography */
    .doc-section {
      margin-bottom: 56px; scroll-margin-top: 100px;
    }
    .doc-section h2 {
      font-size: 23px; font-weight: 800; color: #fff;
      margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 10px;
    }
    .doc-section h3 {
      font-size: 17px; font-weight: 700; color: #f1f5f9;
      margin: 22px 0 10px;
    }
    .doc-section p {
      color: #94a3b8; font-size: 14.5px; line-height: 1.75;
      margin-bottom: 14px;
    }
    .doc-list {
      margin-left: 20px; color: #94a3b8; font-size: 14.5px; line-height: 1.8; margin-bottom: 16px;
    }
    .doc-list li { margin-bottom: 6px; }

    /* Callout & Highlights */
    .callout {
      background: var(--bg2); border-left: 4px solid var(--purple-l);
      border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 18px 0;
      font-size: 14px; color: #cbd5e1;
    }
    .callout.info { border-left-color: var(--cyan); background: rgba(6, 182, 212, 0.06); }
    .callout.tip  { border-left-color: var(--green); background: rgba(16, 185, 129, 0.06); }
    .callout.warn { border-left-color: #f59e0b; background: rgba(245, 158, 11, 0.08); color: #fde68a; }

    /* Steps list */
    .doc-steps { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
    .doc-step-item {
      display: flex; gap: 14px; background: var(--bg2);
      border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px;
    }
    .doc-step-num {
      width: 28px; height: 28px; border-radius: 7px;
      background: rgba(124, 58, 237, 0.15); border: 1px solid var(--purple-l);
      color: var(--purple-l); font-size: 13px; font-weight: 700;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
      margin-top: 2px;
    }
    .doc-step-text h4 { font-size: 14.5px; font-weight: 700; color: #fff; margin-bottom: 4px; }
    .doc-step-text p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.6; }

    /* Cards grid */
    .feature-cards {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 14px; margin: 18px 0;
    }
    .feature-box {
      background: var(--bg2); border: 1px solid var(--border);
      border-radius: 10px; padding: 16px 18px;
      transition: border-color .2s;
    }
    .feature-box:hover { border-color: rgba(168, 85, 247, 0.4); }
    .feature-box h4 {
      font-size: 14.5px; font-weight: 700; color: #fff; margin-bottom: 6px;
      display: flex; align-items: center; gap: 8px;
    }
    .feature-box p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

    /* Table */
    .docs-table-wrap {
      width: 100%; overflow-x: auto; margin: 18px 0;
      border: 1px solid var(--border); border-radius: 10px;
    }
    .docs-table {
      width: 100%; border-collapse: collapse; text-align: left; font-size: 13.5px;
    }
    .docs-table th {
      background: rgba(255,255,255,0.03); color: var(--muted);
      padding: 12px 16px; font-weight: 700; text-transform: uppercase;
      font-size: 11px; letter-spacing: .06em; border-bottom: 1px solid var(--border);
    }
    .docs-table td {
      padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.04);
      color: var(--text);
    }
    .docs-table tr:last-child td { border-bottom: none; }
    .docs-table tr:hover td { background: rgba(255,255,255,0.02); }

    /* Code & Tree blocks */
    .code-block {
      background: var(--code-bg); border: 1px solid var(--border);
      border-radius: 10px; overflow: hidden; margin: 16px 0;
    }
    .code-header {
      background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--border);
      padding: 8px 16px; display: flex; justify-content: space-between; align-items: center;
      font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted);
    }
    pre code {
      display: block; padding: 14px 18px;
      font-family: 'JetBrains Mono', monospace; font-size: 13px;
      color: #e2e8f0; line-height: 1.6; overflow-x: auto;
    }
    .kwd { color: #c084fc; font-weight: 600; }
    .cls { color: #67e8f9; }

    @media (max-width: 900px) {
      .docs-layout { grid-template-columns: 1fr; gap: 24px; }
      .docs-sidebar { display: none; }
    }
  