/* ── Buttons ── */
.btn-primary {
    padding: 12px 28px;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: background 0.15s, transform 0.1s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-1px); }

.btn-ghost {
    padding: 12px 28px;
    border: 1.5px solid var(--border2);
    color: var(--text2);
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: border-color 0.15s, color 0.15s;
    cursor: pointer;
    background: none;
    font-family: inherit;
}
.btn-ghost:hover { border-color: var(--text2); color: var(--text); }

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text3);
    cursor: pointer;
    transition: color 0.15s;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
    margin-bottom: 28px;
}
.btn-back:hover { color: var(--text2); }

/* ── Section labels ── */
.sec-lbl {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text3);
    margin-bottom: 12px;
}
.sec-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 500;
    color: var(--text);
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}
.sec-sub { font-size: 16px; color: var(--text2); font-weight: 300; max-width: 480px; }
.sec-head { margin-bottom: 40px; }

/* ── Eyebrow pill ── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-lt);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

/* ── Module badges (table) ── */
.mod-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid;
}

/* ── Module chips (home strip) ── */
.mod-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.mod-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
}
.mod-chip:hover { opacity: 0.8; transform: scale(0.98); }

/* ── Module colour classes ── */
.mod-Administration, .chip-Administration { background: #0e1828; color: #7eb4f0; border-color: #1e3050; }
.mod-Expressions,    .chip-Expressions    { background: #1a0e2e; color: #c084f0; border-color: #3a1e5a; }
.mod-Gambling,       .chip-Gambling       { background: #1e1600; color: #e0b040; border-color: #3a2e00; }
.mod-Games,          .chip-Games          { background: #0a1e10; color: #50d070; border-color: #1a4020; }
.mod-Help,           .chip-Help           { background: #0a1e24; color: #40c8d8; border-color: #1a3a40; }
.mod-Music,          .chip-Music          { background: #1e0a0a; color: #f07070; border-color: #4a1a1a; }
.mod-Owner,          .chip-Owner          { background: #1e1000; color: #f09050; border-color: #4a2800; }
.mod-Permissions,    .chip-Permissions    { background: #1e1a00; color: #e0c040; border-color: #3a3000; }
.mod-Searches,       .chip-Searches       { background: #0a1e16; color: #40c890; border-color: #1a3a28; }
.mod-Utility,        .chip-Utility        { background: #161820; color: #9098b8; border-color: #282c40; }
.mod-Waifus,         .chip-Waifus         { background: #1e0a24; color: #e060f0; border-color: #4a1a5a; }
.mod-Xp,             .chip-Xp             { background: #0a1e14; color: #50d080; border-color: #1a4028; }

/* ── Stat strip ── */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--rlg);
    overflow: hidden;
    margin: 64px 0;
}
.stat-cell { background: var(--surface); padding: 28px 32px; text-align: center; }
.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 500;
    color: var(--text);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-lbl {
    font-size: 13px;
    color: var(--text3);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Dev card ── */
.dev-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--rlg);
    padding: 28px 24px;
    transition: box-shadow 0.2s, transform 0.15s;
}
.dev-card:hover { box-shadow: var(--shmd); transform: translateY(-2px); }
.dev-av {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700;
    margin-bottom: 16px;
}
.dev-name { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.dev-role {
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 12px;
}
.dev-bio { font-size: 13px; color: var(--text2); line-height: 1.6; font-weight: 300; margin-bottom: 18px; }
.dev-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dev-tag {
    font-size: 11px;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text2);
    padding: 3px 10px;
    border-radius: 100px;
}

/* ── Contributor card ── */
.contrib-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.contrib-av {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--surface2);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
}
.contrib-name { font-size: 14px; font-weight: 500; }
.contrib-area { font-size: 12px; color: var(--text3); }

/* ── Blog card ── */
.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--rlg);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.15s;
    cursor: pointer;
}
.blog-card:hover { box-shadow: var(--shmd); transform: translateY(-2px); }
.blog-img { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.blog-body { padding: 22px 24px; }
.blog-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 10px; }
.blog-ttl {
    font-family: 'Playfair Display', serif;
    font-size: 19px; font-weight: 500;
    line-height: 1.35; color: var(--text);
    margin-bottom: 10px;
}
.blog-exc {
    font-size: 13px; color: var(--text2);
    line-height: 1.65; font-weight: 300;
    margin-bottom: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.blog-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text3); }
.meta-sep { color: var(--border2); }
