* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    :root {
        --bg: #0a0e14;
        --surface: #121820;
        --surface2: #1a2632;
        --terminal-bg: #0d1117;
        --green: #7ecb5e;
        --bright-green: #a3e080;
        --red: #f14c4c;
        --orange: #ffa657;
        --yellow: #e6c446;
        --cyan: #5bc0de;
        --purple: #b388ff;
        --text: #c9d1d9;
        --dim: #6e7681;
        --border: #2d3748;
    }

    body {
        font-family: 'Inter', sans-serif;
        background: var(--bg);
        color: var(--text);
        line-height: 1.5;
        min-height: 100vh;
    }

    body::after {
        content: '';
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: repeating-linear-gradient(
            0deg,
            rgba(0,0,0,0.05) 0px,
            rgba(0,0,0,0.05) 1px,
            transparent 1px,
            transparent 3px
        );
        pointer-events: none;
        z-index: 9999;
    }

    .terminal-top {
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 0.75rem 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-family: 'Fira Code', monospace;
        font-size: 0.8rem;
        color: var(--dim);
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .terminal-dots {
        display: flex;
        gap: 6px;
    }

    .terminal-dots span {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        display: block;
    }

    .dot-red { background: #ff5f56; }
    .dot-yellow { background: #ffbd2e; }
    .dot-green { background: #27c93f; }

    .terminal-title {
        color: var(--text);
        font-weight: 700;
    }

    .terminal-status {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .status-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--green);
        animation: pulse-dot 2s infinite;
    }

    @keyframes pulse-dot {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.3; }
    }

    .container {
        max-width: 960px;
        margin: 0 auto;
        padding: 2rem 1.5rem 4rem;
    }

    .hero {
        margin-bottom: 3rem;
        border-bottom: 1px solid var(--border);
        padding-bottom: 2rem;
    }

    .hero-badge {
        display: inline-block;
        background: var(--surface2);
        border: 1px solid var(--border);
        padding: 0.25rem 0.75rem;
        border-radius: 4px;
        font-family: 'Fira Code', monospace;
        font-size: 0.7rem;
        color: var(--dim);
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .hero h1 {
        font-size: 3rem;
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }

    .hero h1 span.le-larp { color: var(--red); }
    .hero h1 span.detected { color: var(--green); }

    .hero .subtitle {
        font-size: 1.1rem;
        color: var(--dim);
        font-family: 'Fira Code', monospace;
    }

    .hero .subtitle .cursor {
        display: inline-block;
        width: 10px;
        height: 1.2rem;
        background: var(--green);
        animation: blink 1s step-end infinite;
        vertical-align: text-bottom;
        margin-left: 4px;
    }

    @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0; }
    }

    .meter-section {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .meter-section .label {
        font-family: 'Fira Code', monospace;
        font-size: 0.75rem;
        color: var(--dim);
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 0.75rem;
    }

    .meter-bar {
        height: 24px;
        background: var(--surface2);
        border-radius: 4px;
        overflow: hidden;
        position: relative;
        margin-bottom: 0.5rem;
    }

    .meter-fill {
        height: 100%;
        width: 0%;
        background: linear-gradient(90deg, var(--green), var(--yellow), var(--orange), var(--red));
        transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
        border-radius: 4px;
    }

    .meter-value {
        font-family: 'Fira Code', monospace;
        font-size: 0.8rem;
        color: var(--dim);
        text-align: right;
    }

    .detector-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .detector-card h2 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .detector-card h2 .icon {
        font-family: 'Fira Code', monospace;
        color: var(--purple);
    }

    .input-group {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .input-group input {
        flex: 1;
        background: var(--terminal-bg);
        border: 1px solid var(--border);
        border-radius: 4px;
        padding: 0.75rem 1rem;
        color: var(--text);
        font-family: 'Fira Code', monospace;
        font-size: 0.9rem;
        outline: none;
        transition: border-color 0.2s;
    }

    .input-group input:focus {
        border-color: var(--cyan);
    }

    .input-group input::placeholder {
        color: var(--dim);
    }

    .btn {
        background: var(--surface2);
        border: 1px solid var(--border);
        color: var(--text);
        padding: 0.75rem 1.25rem;
        border-radius: 4px;
        font-family: 'Fira Code', monospace;
        font-size: 0.8rem;
        cursor: pointer;
        transition: all 0.2s;
        white-space: nowrap;
    }

    .btn:hover {
        border-color: var(--cyan);
        color: var(--cyan);
    }

    .btn-primary {
        background: var(--green);
        color: var(--bg);
        border-color: var(--green);
        font-weight: 700;
    }

    .btn-primary:hover {
        background: var(--bright-green);
        border-color: var(--bright-green);
        color: var(--bg);
    }

    .btn-danger {
        border-color: var(--red);
        color: var(--red);
    }

    .btn-danger:hover {
        background: var(--red);
        color: var(--bg);
    }

    .result-box {
        margin-top: 1rem;
        background: var(--terminal-bg);
        border: 1px solid var(--border);
        border-radius: 4px;
        padding: 1rem;
        font-family: 'Fira Code', monospace;
        font-size: 0.85rem;
        min-height: 60px;
        display: none;
    }

    .result-box.visible {
        display: block;
    }

    .result-box .line {
        margin-bottom: 0.25rem;
    }

    .result-box .line .prompt {
        color: var(--green);
    }

    .result-box .line .prompt-root {
        color: var(--red);
    }

    .result-box .output {
        color: var(--text);
        margin-top: 0.5rem;
        padding-left: 1rem;
        border-left: 2px solid var(--border);
    }

    .result-box .output .larp-alert {
        color: var(--red);
        font-weight: 700;
    }

    .result-box .output .larp-clean {
        color: var(--green);
    }

    .result-box .output .larp-warn {
        color: var(--yellow);
    }

    .hof {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .hof h2 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .hof-list {
        display: grid;
        gap: 0.75rem;
    }

    .hof-item {
        background: var(--surface2);
        border-left: 3px solid var(--yellow);
        padding: 0.75rem 1rem;
        border-radius: 0 4px 4px 0;
        font-size: 0.9rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hof-item .quote {
        font-style: italic;
        color: var(--dim);
    }

    .hof-item .tag {
        font-family: 'Fira Code', monospace;
        font-size: 0.7rem;
        background: var(--bg);
        padding: 0.2rem 0.5rem;
        border-radius: 3px;
        color: var(--orange);
    }

    .hof-item .tag.skiddie { color: var(--red); }
    .hof-item .tag.script-kiddie { color: var(--orange); }
    .hof-item .tag.larp { color: var(--purple); }

    .glossary {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .glossary h2 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .glossary-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 0.75rem;
    }

    .glossary-term {
        background: var(--surface2);
        padding: 0.75rem 1rem;
        border-radius: 4px;
    }

    .glossary-term .term {
        font-family: 'Fira Code', monospace;
        color: var(--cyan);
        font-weight: 700;
        font-size: 0.9rem;
    }

    .glossary-term .def {
        font-size: 0.85rem;
        color: var(--dim);
        margin-top: 0.25rem;
    }

    footer {
        text-align: center;
        padding: 2rem 1.5rem;
        border-top: 1px solid var(--border);
        font-family: 'Fira Code', monospace;
        font-size: 0.75rem;
        color: var(--dim);
    }

    footer a {
        color: var(--cyan);
        text-decoration: none;
    }

    footer a:hover {
        text-decoration: underline;
    }

    @media (max-width: 640px) {
        .hero h1 { font-size: 2rem; }
        .input-group { flex-direction: column; }
        .input-group .btn { width: 100%; }
        .glossary-grid { grid-template-columns: 1fr; }
        .hof-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    }

    .screenshots {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 1.5rem;
        margin-bottom: 2rem;

        min-height: 40vh;
        max-height: 80vh;
        display: flex;
        flex-direction: column;
    }

    .screenshots h2 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .screenshots-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
        overflow-y: auto;
        flex: 1;
    }

    .screenshots-grid::-webkit-scrollbar {
        width: 6px;
    }
    .screenshots-grid::-webkit-scrollbar-thumb {
        background: var(--border);
        border-radius: 4px;
    }

    .screenshot-item {
        width: 100%;
        display: flex;
        flex-direction: column;

        background: var(--surface2);
        border: 1px solid var(--border);
        border-radius: 8px;

        overflow: visible;  
    }

    .screenshot-item img {
        width: 100%;
        height: auto;   
        display: block;

        object-fit: initial;
    }

    .screenshot-item .caption {
        padding: 0.75rem 1rem;
        font-family: 'Fira Code', monospace;
        font-size: 1rem;
        color: var(--text);

        height: auto;
    }