﻿:root {
      --primary: rgb(255, 121, 198);
      --primary-hover: rgb(255, 80, 170);
      --dark-bg: #090615;
      --dark-card: #120e2e;
      --dark-border: rgba(255, 255, 255, 0.08);
      --text-main: #f1f5f9;
      --text-muted: #94a3b8;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, sans-serif;
      background-color: var(--dark-bg);
      color: var(--text-main);
      line-height: 1.6;
    }
    .site-header { position: sticky; top: 0; z-index: 900; background: rgba(9, 6, 21, 0.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--dark-border); }
    .header-inner { width: min(1200px, calc(100% - 32px)); margin: 0 auto; min-height: 72px; display: flex; align-items: center; justify-content: space-between; }
    .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
    .logo img { height: 40px; }
    .logo span { font-size: 18px; font-weight: 800; color: #ffffff; }
    .desktop-nav { display: flex; gap: 8px; }
    .desktop-nav a { min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-muted); text-decoration: none; display: inline-flex; align-items: center; }
    .desktop-nav a:hover { color: #ffffff; background: rgba(255, 255, 255, 0.05); }
    .mobile-menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.08); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
    .mobile-menu-btn span { display: block; width: 20px; height: 2px; background: #ffffff; }

    .mobile-nav-mask { position: fixed; inset: 0; z-index: 998; background: rgba(9, 6, 21, 0.8); opacity: 0; visibility: hidden; }
    .mobile-drawer { position: fixed; top: 0; left: 0; z-index: 999; width: min(86vw, 360px); height: 100vh; background: #0f0b24; transform: translateX(-105%); transition: transform .28s ease; display: flex; flex-direction: column; }
    .drawer-head { min-height: 76px; padding: 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--dark-border); }
    .drawer-logo img { height: 36px; }
    .drawer-logo span { font-size: 17px; color: #ffffff; }
    .drawer-close { width: 40px; height: 40px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.08); color: #ffffff; font-size: 26px; }
    .drawer-body { padding: 14px; }
    .drawer-nav { display: flex; flex-direction: column; gap: 8px; }
    .drawer-nav a { display: flex; align-items: center; min-height: 48px; padding: 13px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); color: var(--text-main); text-decoration: none; }
    body.drawer-open .mobile-nav-mask { opacity: 1; visibility: visible; pointer-events: auto; }
    body.drawer-open .mobile-drawer { transform: translateX(0); }

    
    .download-section {
      width: min(1200px, calc(100% - 32px));
      margin: 60px auto;
    }
    .download-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 36px;
      margin-top: 40px;
    }
    .download-card {
      background: var(--dark-card);
      border: 1px solid var(--dark-border);
      border-radius: 20px;
      padding: 40px;
    }
    .download-card h2 { font-size: 24px; color: #ffffff; margin-bottom: 12px; }
    .download-card p { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }
    .dl-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 52px;
      padding: 0 32px;
      border-radius: 12px;
      background: var(--primary);
      color: #090615;
      font-weight: 700;
      text-decoration: none;
      transition: background 0.3s;
    }
    .dl-btn:hover { background: var(--primary-hover); }

    
    .site-footer { width: 100%; background: #060410; color: var(--text-muted); border-top: 1px solid var(--dark-border); margin-top: 80px; }
    .footer-inner { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 54px 0 34px; display: grid; grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, .8fr)); gap: 28px; }
    .footer-logo span { color: #ffffff; }
    .footer-column h3 { color: #ffffff; font-size: 15px; margin-bottom: 14px; }
    .footer-column ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-column a { color: var(--text-muted); text-decoration: none; font-size: 14px; }
    .footer-bottom { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 18px 0 24px; border-top: 1px solid var(--dark-border); display: flex; justify-content: space-between; font-size: 13px; }

    @media (max-width: 900px) {
      .desktop-nav { display: none !important; }
      .mobile-menu-btn { display: inline-flex !important; }
      .download-grid { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr 1fr; }
      .footer-brand { grid-column: 1 / -1; }
    }