:root {
    --bg:        #1e1e1e;
    --surface:   #252525;
    --card:      #2a2a2a;
    --hover:     #303030;
    --border:    #383838;
    --border2:   #444444;
    --accent:    #d4a843;
    --accent-dim:#d4a84322;
    --text:      #e8e8e8;
    --muted:     #888888;
    --faint:     #555555;
    --white:     #f5f5f5;
    --radius:    10px;
    --radius-sm: 6px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* ── Top nav ── */
  nav {
    width: 100%;
    max-width: 680px;
    padding: 28px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeIn .4s ease both;
  }

  .nav-left {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .nav-logo {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 15px;
    color: var(--white);
    letter-spacing: .5px;
  }

  .nav-logo span { color: var(--accent); }

  .lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .lang-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: var(--surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all .2s;
    padding: 0;
    line-height: 1;
    overflow: hidden;
    position: relative;
  }

  .lang-btn:hover { border-color: var(--border2); transform: scale(1.1); }
  .lang-btn.active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
  .lang-btn .flag { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nav-discord {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all .2s;
  }

  .nav-discord:hover { color: var(--white); border-color: var(--border2); background: var(--surface); }
  .nav-discord svg { width: 15px; height: 15px; }

  .nav-donate {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all .2s;
  }

  .nav-donate:hover { color: #009cde; border-color: #009cde55; background: #009cde11; }
  .nav-donate svg { width: 15px; height: 15px; }

  main {
    width: 100%;
    max-width: 680px;
    padding: 64px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* ── Hero ── */
  .hero {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 40px;
    animation: fadeIn .4s .05s ease both;
  }

  .hero-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    object-fit: cover;
    background: var(--surface);
  }

  .hero-text h1 {
    font-size: 26px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -.3px;
    margin-bottom: 6px;
  }

  .hero-text h1 span { color: var(--accent); }

  .hero-text p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 480px;
  }

  .hero-badges {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
  }

  .badge {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: var(--surface);
    letter-spacing: .3px;
  }

  .badge.accent { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

  /* ── Section label ── */
  .section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 10px;
    animation: fadeIn .4s .1s ease both;
  }

  /* ── Tool cards ── */
  .tools-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: fadeIn .4s .15s ease both;
  }

  .tool-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: all .2s;
    position: relative;
    overflow: hidden;
  }

  .tool-card:hover {
    border-color: var(--border2);
    background: var(--hover);
    transform: translateY(-1px);
  }

  .tool-card:hover .tool-arrow { color: var(--accent); transform: translateX(3px); }

  .tool-card.locked { cursor: not-allowed; opacity: .5; }
  .tool-card.locked:hover { transform: none; border-color: var(--border); background: var(--card); }

  .tool-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
  }

  .tool-info { flex: 1; min-width: 0; }

  .tool-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 3px;
  }

  .tool-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
  }

  .tool-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .tool-tag.free { border-color: #4ade8044; color: #4ade80; background: #4ade8011; }
  .tool-tag.boost { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

  .tool-arrow {
    color: var(--faint);
    font-size: 16px;
    flex-shrink: 0;
    transition: all .2s;
    margin-left: 4px;
  }

  /* ── Discord CTA ── */
  .discord-cta {
    margin-top: 8px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
    animation: fadeIn .4s .25s ease both;
  }

  .discord-cta:hover { border-color: #5865f244; background: #5865f211; }
  .discord-cta:hover .cta-arrow { color: #5865f2; transform: translateX(3px); }

  .cta-icon {
    width: 36px;
    height: 36px;
    background: #5865f222;
    border: 1px solid #5865f244;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .cta-icon svg { width: 18px; height: 18px; color: #5865f2; }

  .cta-text { flex: 1; }
  .cta-text strong { font-size: 14px; font-weight: 600; color: var(--white); display: block; margin-bottom: 2px; }
  .cta-text span { font-size: 12px; color: var(--muted); }

  .cta-arrow { color: var(--faint); transition: all .2s; }

  footer {
    margin-top: 32px;
    font-size: 12px;
    color: var(--faint);
    text-align: center;
    animation: fadeIn .4s .3s ease both;
    padding-bottom: 32px;
  }

  footer a { color: var(--faint); text-decoration: none; }
  footer a:hover { color: var(--muted); }

  @keyframes fadeIn  { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

  @media(max-width:720px) { nav, main { padding-left: 18px; padding-right: 18px; } }
  @media(max-width:480px) {
    .hero { gap: 18px; }
    .hero-avatar { width: 64px; height: 64px; }
    .hero-text h1 { font-size: 21px; }
  }