/* ===== BASE ===== */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    box-sizing: border-box;
    padding: 20px;
    padding-top: 40px;
    background: #f5f7fa;
    color: #222;
}

/* ===== PIXEL CANVAS ===== */
#pixelTrail {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

/* ===== MAIN CONTAINER ===== */
.container {
    text-align: center;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== LINKS ===== */
.links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.link-button {
    display: block;
    padding: 14px 20px;
    background: #ffffff;
    color: #222;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.link-button:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* ===== REMOVED LINKS ===== */
.link-button.removed {
    pointer-events: none;
    opacity: 0.6;
    text-decoration: line-through;
    cursor: not-allowed;
}

/* ===== SIDE BUTTON ===== */
.experimental-button {
    position: fixed;
    right: 20px;
    top: 20px;
    width: 180px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    background: #ff9800;
    color: white;
    text-align: center;
    z-index: 2;
}

.experimental-button:hover {
    opacity: 0.9;
}

/* ===== WARNING BANNER ===== */
#managedWarning {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: #111;
    color: white;
    padding: 16px;
    text-align: center;
    font-size: 14px;
    transition: bottom 0.4s ease;
    z-index: 9999;
}

#managedWarning.show {
    bottom: 0;
}

#managedWarning button {
    margin-left: 15px;
    padding: 6px 12px;
    background: #444;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

/* ===== FOOTER ===== */
footer {
    margin-top: 30px;
    font-size: 12px;
    color: #666;
}

/* ===== PRONUNCIATION ===== */
.pronunciation {
    font-size: 0.8em;
    color: #555;
    margin-top: 5px;
}

.ipa {
    font-family: monospace;
}

/* ===== MOBILE ===== */
@media (max-width: 850px) {
    .experimental-button {
        position: static;
        margin: 10px auto;
        width: 90%;
        max-width: 300px;
    }

    body {
        padding-top: 20px;
    }
}