
:root { --bg: #0f172a; --panel: #1e293b; --text: #e2e8f0; --accent: #3b82f6; --acc-hover: #2563eb; --red: #ef4444; --green: #10b981; --warn: #f59e0b; }
body { margin: 0; padding: 20px; font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); display: flex; flex-direction: column; align-items: center; }
.container { max-width: 900px; width: 100%; }
header { text-align: center; margin-bottom: 2rem; }
textarea { width: 100%; height: 150px; background: #0f172a; color: #fff; border: 1px solid #334155; padding: 15px; border-radius: 8px; font-family: monospace; font-size: 14px; box-sizing: border-box; margin-bottom: 15px; resize: vertical; outline:none; }
textarea:focus { border-color: var(--accent); }
button { background: var(--accent); color: #fff; border: none; padding: 12px 24px; font-size: 16px; border-radius: 6px; cursor: pointer; transition: 0.2s; font-weight: bold; width: 100%; }
button:hover { background: var(--acc-hover); }
.hidden { display: none !important; }
.header-item { background: var(--panel); border: 1px solid #334155; border-radius: 8px; padding: 15px; margin-bottom: 12px; }
.h-key { font-weight: bold; color: var(--accent); font-size: 1.1rem; }
.h-val { font-family: monospace; background: #0f172a; padding: 8px; border-radius: 4px; word-break: break-all; margin: 10px 0; color: #a5b4fc; }
.h-desc { font-size: 0.95rem; line-height: 1.5; color: #94a3b8; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; margin-left: 10px; }
.badge.sec-green { background: rgba(16, 185, 129, 0.2); color: var(--green); border: 1px solid var(--green); }
.badge.sec-red { background: rgba(239, 68, 68, 0.2); color: var(--red); border: 1px solid var(--red); }
.security-score { padding: 20px; border-radius: 8px; margin-bottom: 20px; font-weight: bold; text-align: center; font-size: 1.2rem; }
.score-good { background: rgba(16, 185, 129, 0.1); border: 1px solid var(--green); color: var(--green); }
.score-warn { background: rgba(245, 158, 11, 0.1); border: 1px solid var(--warn); color: var(--warn); }
.score-bad { background: rgba(239, 68, 68, 0.1); border: 1px solid var(--red); color: var(--red); }
.missing-headers { background: rgba(239, 68, 68, 0.05); border: 1px dashed var(--red); padding: 15px; border-radius: 8px; margin-top: 20px; }

.tool-matrix { margin-top: 40px; padding-top: 30px; border-top: 1px solid #334155; text-align: center; }
.matrix-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 20px; }
.matrix-grid a { background: var(--panel); color: var(--text); padding: 10px; border-radius: 6px; text-decoration: none; border: 1px solid #334155; transition: 0.2s; font-size: 0.9rem; }
.matrix-grid a:hover { background: #334155; border-color: var(--accent); }
.donate-text { color: #94a3b8; font-size: 0.9rem; }
.support-text a { color: var(--accent); text-decoration: none; font-weight: bold; }
