/* help.css – extracted from help.html inline <style> */

@font-face {
    font-family: "mojangles";
    src: url("/css/mojangles.ttf");
}

:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --accent-color: #FFC107;
    --glass-bg: rgba(20, 20, 20, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-color: #e0e0e0;
}

body {
    margin: 0;
    padding: 0;
    background-color: #121212;
    background-image: url("/images/dirt_bg.png");
    /* Fallback */
    background-size: 64px;
    image-rendering: pixelated;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    backdrop-filter: blur(3px);
    /* Subtle blur on background */
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-family: "mojangles", monospace;
    text-align: center;
    color: #ffffff;
    font-size: 48px;
    margin-bottom: 40px;
    text-shadow: 4px 4px 0 #000;
    letter-spacing: 2px;
}

h2 {
    font-family: "mojangles", monospace;
    color: var(--accent-color);
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    text-shadow: 2px 2px 0 #000;
}

p,
li {
    font-size: 16px;
    line-height: 1.6;
    color: #d1d5db;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.key-group {
    display: inline-flex;
    gap: 4px;
    margin-right: 12px;
    min-width: 120px;
    justify-content: flex-end;
}

.key {
    display: inline-block;
    background: linear-gradient(180deg, #4b5563, #374151);
    border: 1px solid #6b7280;
    border-bottom: 3px solid #1f2937;
    border-radius: 6px;
    color: #fff;
    padding: 4px 10px;
    font-family: monospace;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.mode-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px;
    transition: transform 0.2s, background 0.2s;
}

.mode-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.mode-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 18px;
}

.back-btn {
    display: block;
    width: fit-content;
    margin: 50px auto 0;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), #2E7D32);
    border: none;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    font-family: "mojangles", sans-serif;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
    filter: brightness(1.1);
}

.back-btn:active {
    transform: translateY(1px);
}