<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>OnlyScavs</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <style>
    :root {
      --bg: #0e0e0e;
      --panel: #161616;
      --panel2: #1c1c1c;
      --text: #e8e8e8;
      --muted: #777;
      --muted2: #555;
      --border: #262626;
      --accent: #9ccfff;
      --accent2: #ffd580;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
    }

    /* ── NAV ─────────────────────────────────────────────────── */
    .site-nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 32px;
      height: 52px;
      background: rgba(14,14,14,0.88);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav-brand {
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      text-decoration: none;
    }
    .nav-links {
      display: flex;
      gap: 4px;
    }
    .nav-links a {
      color: var(--muted);
      text-decoration: none;
      font-size: 0.82rem;
      padding: 6px 12px;
      border-radius: 6px;
      transition: color 0.15s, background 0.15s;
    }
    .nav-links a:hover {
      color: var(--text);
      background: rgba(255,255,255,0.06);
    }

    /* ── HERO ─────────────────────────────────────────────────── */
    .hero {
      position: relative;
      height: 580px;
      overflow: hidden;
      display: flex;
      align-items: flex-end;
    }
    .hero-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 65%;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(14,14,14,0.05) 0%,
        rgba(14,14,14,0.1) 35%,
        rgba(14,14,14,0.7) 68%,
        rgba(14,14,14,1) 92%
      );
    }
    .hero-content {
      position: relative;
      z-index: 1;
      padding: 0 48px 48px;
      max-width: 860px;
    }
    .hero-content h1 {
      font-size: 3rem;
      font-weight: 800;
      letter-spacing: -0.01em;
      line-height: 1;
      color: #fff;
      margin-bottom: 12px;
    }
    .hero-content h1 span {
      color: var(--accent);
    }
    .hero-content p {
      font-size: 1.05rem;
      color: rgba(255,255,255,0.55);
      max-width: 420px;
      line-height: 1.55;
    }

    /* ── TOOLS GRID ───────────────────────────────────────────── */
    .tools-section {
      max-width: 920px;
      margin: 0 auto;
      padding: 48px 32px 80px;
    }
    .section-label {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted2);
      margin-bottom: 20px;
    }
    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 12px;
    }
    .card {
      background: var(--panel);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 22px 20px;
      text-decoration: none;
      color: var(--text);
      display: flex;
      flex-direction: column;
      gap: 6px;
      transition: border-color 0.15s, background 0.15s, transform 0.1s;
      position: relative;
      overflow: hidden;
    }
    .card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: var(--accent);
      opacity: 0;
      transition: opacity 0.15s;
    }
    .card:hover {
      border-color: #333;
      background: var(--panel2);
      transform: translateY(-2px);
    }
    .card:hover::before {
      opacity: 1;
    }
    .card-icon {
      font-size: 1.4rem;
      line-height: 1;
      margin-bottom: 4px;
    }
    .card-title {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text);
      letter-spacing: 0.01em;
    }
    .card-desc {
      font-size: 0.8rem;
      color: var(--muted);
      line-height: 1.5;
    }
    .card-arrow {
      margin-top: auto;
      padding-top: 14px;
      font-size: 0.75rem;
      color: var(--muted2);
      display: flex;
      align-items: center;
      gap: 4px;
      transition: color 0.15s;
    }
    .card:hover .card-arrow {
      color: var(--accent);
    }

    /* ── FOOTER ───────────────────────────────────────────────── */
    footer {
      border-top: 1px solid var(--border);
      padding: 20px 32px;
      text-align: center;
      font-size: 0.75rem;
      color: var(--muted2);
    }

    /* ── RESPONSIVE ───────────────────────────────────────────── */
    @media (max-width: 640px) {
      .site-nav { padding: 0 16px; }
      .nav-links { display: none; }
      .hero { height: 420px; }
      .hero-content { padding: 0 20px 40px; }
      .hero-content h1 { font-size: 2rem; }
      .tools-section { padding: 32px 16px 60px; }
      .cards { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 400px) {
      .cards { grid-template-columns: 1fr; }
    }
  </style>
</head>
<body>

  <nav class="site-nav">
    <a class="nav-brand" href="/">OnlyScavs</a>
    <div class="nav-links">
      <a href="/keys">Keys</a>
      <a href="/collector">Collector</a>
      <a href="/quests">Quests</a>
      <a href="/loadout">Loadout</a>
      <a href="/meds">Injectors</a>
      <a href="/barters">Barters</a>
    </div>
  </nav>

  <section class="hero">
    <img class="hero-img" src="/assets/onlyscavs.png" alt="OnlyScavs">
    <div class="hero-overlay"></div>
    <div class="hero-content">
      <h1>Only<span>Scavs</span></h1>
      <p>Escape from Tarkov reference tools. Keys, quests, loadouts — all local, all yours.</p>
    </div>
  </section>

  <div class="tools-section">
    <div class="section-label">Tools</div>
    <div class="cards">
      <a class="card" href="/keys">
        <div class="card-icon">🗝</div>
        <div class="card-title">Key Ratings</div>
        <div class="card-desc">Rate and filter keys by map, priority, and quest use.</div>
        <div class="card-arrow">Open →</div>
      </a>
      <a class="card" href="/collector">
        <div class="card-icon">★</div>
        <div class="card-title">Collector</div>
        <div class="card-desc">Track your Kappa container progress across all 255 quests.</div>
        <div class="card-arrow">Open →</div>
      </a>
      <a class="card" href="/quests">
        <div class="card-icon">📋</div>
        <div class="card-title">Quest Trees</div>
        <div class="card-desc">Visualize quest chains and trader dependencies.</div>
        <div class="card-arrow">Open →</div>
      </a>
      <a class="card" href="/loadout">
        <div class="card-icon">🎽</div>
        <div class="card-title">Loadout Planner</div>
        <div class="card-desc">Browse and compare guns, armor, rigs, and more.</div>
        <div class="card-arrow">Open →</div>
      </a>
      <a class="card" href="/meds">
        <div class="card-icon">💉</div>
        <div class="card-title">Injectors</div>
        <div class="card-desc">Compare stim effects, skills, and side effects.</div>
        <div class="card-arrow">Open →</div>
      </a>
      <a class="card" href="/barters">
        <div class="card-icon">🔄</div>
        <div class="card-title">Barter Calculator</div>
        <div class="card-desc">Calculate the true rouble cost of any barter deal.</div>
        <div class="card-arrow">Open →</div>
      </a>
    </div>
  </div>

  <footer>
    OnlyScavs — personal Tarkov toolkit
  </footer>

</body>
</html>
